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 Summary
Nested 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 Summary
Modifier 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.IConnectorParentContextSupport
getParentContextMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
getName
String getName()Gets the system name of the property.- Returns:
- A java.lang.String value.
-
setName
Sets the system name of the property.- Parameters:
name- The new name of the property.
-
getLabel
String getLabel()Gets the localized label of the property.- Returns:
- A java.lang.String value.
-
setLabel
Sets the label of the property in the current language.- Parameters:
label- The new label of the property.
-
getDescription
String getDescription()Gets the description of the property.- Returns:
- A java.lang.String value.
-
getType
int getType()Retrieves the type of the property.- Returns:
- A
IProperty.IType.
-
setType
void setType(int type) Sets the type of the property.- Parameters:
type- A value of theIProperty.IType.
-
getAdditionalType
int getAdditionalType()Retrieves the additional type of the property.- Returns:
- A
IProperty.IAdditionalType.
-
isCollection
boolean isCollection()Checks if the stored value has multiple values.- Returns:
- true if the property accepts several values, false otherwise.
-
getDefaultValue
Object getDefaultValue()Retrieves the default value.- Returns:
- An
Objectobject.
-
setDefaultValue
Sets teh default value of the property.- Parameters:
defaultValue- The default value.
-
hasList
boolean hasList()Checks if the property is associated with a list.- Returns:
- true if the property is associated with a list, false otherwise.
-
getList
IList getList()Retrieves the associated list.- Returns:
- A
IListobject.
-
setList
Associates a list to the property.- Parameters:
list- The list to associate the property.
-
getList
Deprecated.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.
-
isIndexed
boolean isIndexed()Checks if the property will be indexed.- Returns:
- true if the property is indexed, false otherwise.
-
getIndexType
int getIndexType()Gets the index type.- Returns:
- A value of the
IProperty.IIndexType.
-
setIndexType
void setIndexType(int indexType) Sets the index type of the property.- Parameters:
indexType- A value of theIProperty.IIndexType
-
getDefinition
IResourceDefinition getDefinition()Retrieves theIResourceDefinitionof the property.- Returns:
- A
IResourceDefinitionobject.
-
getDisplaySettings
IProperty.IDisplaySettings getDisplaySettings()Retrieves the display settings of the property.- Returns:
- A
IProperty.IDisplaySettingsobject.
-
getElementType
int getElementType()Gets the element type.- Returns:
- A value of the
IProperty.IElementType.
-
getForeignResourceDefinition
IResourceDefinition getForeignResourceDefinition()Gets the foreign resource definition. Used for data stockroom.- Returns:
- A
IResourceDefinitionobject.
-
IBaseLibraryModule.