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
Modifier and TypeInterfaceDescriptionstatic interface
Dynamic propertiesstatic interface
Additional typesstatic interface
Display settingsstatic interface
The type of the java.util.Collection items.static interface
Index search typesstatic interface
All supported typesstatic interface
Special properties.static interface
System properties -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the additional type of the property.Retrieves the default value.Retrieves theIResourceDefinition
of the property.Gets the description of the property.Retrieves the display settings of the property.int
Gets the element type.Gets the foreign resource definition.int
Gets 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.int
getType()
Retrieves the type of the property.boolean
hasList()
Checks if the property is associated with a list.boolean
Checks if the stored value has multiple values.boolean
Checks if the property will be indexed.void
setDefaultValue
(Object defaultValue) Sets teh default value of the property.void
setIndexType
(int indexType) Sets the index type of the property.void
Sets the label of the property in the current language.void
Associates a list to the property.void
Sets the system name of the property.void
setType
(int type) Sets the type of the property.Methods inherited from interface com.axemble.vdoc.sdk.supports.IConnectorParentContextSupport
getParentContext
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, save
Methods 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
Object
object.
-
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
IList
object.
-
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
IList
object.
-
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 theIResourceDefinition
of the property.- Returns:
- A
IResourceDefinition
object.
-
getDisplaySettings
IProperty.IDisplaySettings getDisplaySettings()Retrieves the display settings of the property.- Returns:
- A
IProperty.IDisplaySettings
object.
-
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
IResourceDefinition
object.
-
IBaseLibraryModule
.