Package com.axemble.vdoc.sdk.interfaces
Interface IProperty
- All Superinterfaces:
- IConnectorParentContextSupport,- IElement,- IProtocolSupport,- Serializable
- All Known Subinterfaces:
- IPropertyCompatibility
- All Known Implementing Classes:
- PortalProperty
A property
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDynamic propertiesstatic interfaceAdditional typesstatic interfaceDisplay settingsstatic interfaceThe type of the java.util.Collection items.static interfaceIndex search typesstatic interfaceAll supported typesstatic interfaceSpecial properties.static interfaceSystem properties
- 
Method SummaryModifier and TypeMethodDescriptionintRetrieves the additional type of the property.Retrieves the default value.Retrieves theIResourceDefinitionof the property.Gets the description of the property.Retrieves the display settings of the property.intGets the element type.Gets the foreign resource definition.intGets the index type.getLabel()Gets the localized label of the property.getList()Retrieves the associated list.Deprecated.getName()Gets the system name of the property.intgetType()Retrieves the type of the property.booleanhasList()Checks if the property is associated with a list.booleanChecks if the stored value has multiple values.booleanChecks if the property will be indexed.voidsetDefaultValue(Object defaultValue) Sets teh default value of the property.voidsetIndexType(int indexType) Sets the index type of the property.voidSets the label of the property in the current language.voidAssociates a list to the property.voidSets the system name of the property.voidsetType(int type) Sets the type of the property.Methods inherited from interface com.axemble.vdoc.sdk.supports.IConnectorParentContextSupportgetParentContextMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Method Details- 
getNameString getName()Gets the system name of the property.- Returns:
- A java.lang.String value.
 
- 
setNameSets the system name of the property.- Parameters:
- name- The new name of the property.
 
- 
getLabelString getLabel()Gets the localized label of the property.- Returns:
- A java.lang.String value.
 
- 
setLabelSets the label of the property in the current language.- Parameters:
- label- The new label of the property.
 
- 
getDescriptionString getDescription()Gets the description of the property.- Returns:
- A java.lang.String value.
 
- 
getTypeint getType()Retrieves the type of the property.- Returns:
- A IProperty.IType.
 
- 
setTypevoid setType(int type) Sets the type of the property.- Parameters:
- type- A value of the- IProperty.IType.
 
- 
getAdditionalTypeint getAdditionalType()Retrieves the additional type of the property.- Returns:
- A IProperty.IAdditionalType.
 
- 
isCollectionboolean isCollection()Checks if the stored value has multiple values.- Returns:
- true if the property accepts several values, false otherwise.
 
- 
getDefaultValueObject getDefaultValue()Retrieves the default value.- Returns:
- An Objectobject.
 
- 
setDefaultValueSets teh default value of the property.- Parameters:
- defaultValue- The default value.
 
- 
hasListboolean hasList()Checks if the property is associated with a list.- Returns:
- true if the property is associated with a list, false otherwise.
 
- 
getListIList getList()Retrieves the associated list.- Returns:
- A IListobject.
 
- 
setListAssociates a list to the property.- Parameters:
- list- The list to associate the property.
 
- 
getListDeprecated.Use getList( IContext context, ILibrary library, String name ) method instead from theIBaseLibraryModule.Retrieves the associated list. Only available for the- Parameters:
- library- The library where the list is defined.
- Returns:
- A IListobject.
 
- 
isIndexedboolean isIndexed()Checks if the property will be indexed.- Returns:
- true if the property is indexed, false otherwise.
 
- 
getIndexTypeint getIndexType()Gets the index type.- Returns:
- A value of the IProperty.IIndexType.
 
- 
setIndexTypevoid setIndexType(int indexType) Sets the index type of the property.- Parameters:
- indexType- A value of the- IProperty.IIndexType
 
- 
getDefinitionIResourceDefinition getDefinition()Retrieves theIResourceDefinitionof the property.- Returns:
- A IResourceDefinitionobject.
 
- 
getDisplaySettingsIProperty.IDisplaySettings getDisplaySettings()Retrieves the display settings of the property.- Returns:
- A IProperty.IDisplaySettingsobject.
 
- 
getElementTypeint getElementType()Gets the element type.- Returns:
- A value of the IProperty.IElementType.
 
- 
getForeignResourceDefinitionIResourceDefinition getForeignResourceDefinition()Gets the foreign resource definition. Used for data stockroom.- Returns:
- A IResourceDefinitionobject.
 
 
- 
IBaseLibraryModule.