Package com.axemble.vdoc.sdk.impl
Class PortalProperty
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.PortalProperty
- All Implemented Interfaces:
IElement
,IProperty
,IConnectorParentContextSupport
,IProtocolSupport
,Serializable
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.IProperty
IProperty.Dynamic, IProperty.IAdditionalType, IProperty.IDisplaySettings, IProperty.IElementType, IProperty.IIndexType, IProperty.IType, IProperty.Special, IProperty.System
-
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKey
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
ConstructorsConstructorDescriptionPortalProperty
(IModule module, com.axemble.webdrive.om.PropertyDefinition property) -
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.Retrieves the associated list.getName()
Gets the system name of the property.Gets the native object underneath.Gets the container for the parent object of the serviceint
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 class com.axemble.vdoc.sdk.impl.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setId
Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Field Details
-
property
protected com.axemble.webdrive.om.PropertyDefinition property
-
-
Constructor Details
-
PortalProperty
-
-
Method Details
-
getNativeObject
Description copied from interface:IElement
Gets the native object underneath.- Specified by:
getNativeObject
in interfaceIElement
- Returns:
- an object.
-
getName
Description copied from interface:IProperty
Gets the system name of the property. -
setName
Description copied from interface:IProperty
Sets the system name of the property. -
getLabel
Description copied from interface:IProperty
Gets the localized label of the property. -
setLabel
Description copied from interface:IProperty
Sets the label of the property in the current language. -
getDescription
Description copied from interface:IProperty
Gets the description of the property.- Specified by:
getDescription
in interfaceIProperty
- Returns:
- A java.lang.String value.
-
isCollection
public boolean isCollection()Description copied from interface:IProperty
Checks if the stored value has multiple values.- Specified by:
isCollection
in interfaceIProperty
- Returns:
- true if the property accepts several values, false otherwise.
-
getDefaultValue
Description copied from interface:IProperty
Retrieves the default value.- Specified by:
getDefaultValue
in interfaceIProperty
- Returns:
- An
Object
object.
-
setDefaultValue
Description copied from interface:IProperty
Sets teh default value of the property.- Specified by:
setDefaultValue
in interfaceIProperty
- Parameters:
defaultValue
- The default value.
-
getDefinition
Description copied from interface:IProperty
Retrieves theIResourceDefinition
of the property.- Specified by:
getDefinition
in interfaceIProperty
- Returns:
- A
IResourceDefinition
object.
-
isIndexed
public boolean isIndexed()Description copied from interface:IProperty
Checks if the property will be indexed. -
getIndexType
public int getIndexType()Description copied from interface:IProperty
Gets the index type.- Specified by:
getIndexType
in interfaceIProperty
- Returns:
- A value of the
IProperty.IIndexType
.
-
setIndexType
public void setIndexType(int indexType) Description copied from interface:IProperty
Sets the index type of the property.- Specified by:
setIndexType
in interfaceIProperty
- Parameters:
indexType
- A value of theIProperty.IIndexType
-
getType
public int getType()Description copied from interface:IProperty
Retrieves the type of the property.- Specified by:
getType
in interfaceIProperty
- Returns:
- A
IProperty.IType
.
-
setType
public void setType(int type) Description copied from interface:IProperty
Sets the type of the property.- Specified by:
setType
in interfaceIProperty
- Parameters:
type
- A value of theIProperty.IType
.
-
hasList
public boolean hasList()Description copied from interface:IProperty
Checks if the property is associated with a list. -
getAdditionalType
public int getAdditionalType()Description copied from interface:IProperty
Retrieves the additional type of the property.- Specified by:
getAdditionalType
in interfaceIProperty
- Returns:
- A
IProperty.IAdditionalType
.
-
setList
Description copied from interface:IProperty
Associates a list to the property. -
getList
Description copied from interface:IProperty
Retrieves the associated list. Only available for the -
getList
Description copied from interface:IProperty
Retrieves the associated list. -
getDisplaySettings
Description copied from interface:IProperty
Retrieves the display settings of the property.- Specified by:
getDisplaySettings
in interfaceIProperty
- Returns:
- A
IProperty.IDisplaySettings
object.
-
getElementType
public int getElementType()Description copied from interface:IProperty
Gets the element type.- Specified by:
getElementType
in interfaceIProperty
- Returns:
- A value of the
IProperty.IElementType
.
-
getForeignResourceDefinition
Description copied from interface:IProperty
Gets the foreign resource definition. Used for data stockroom.- Specified by:
getForeignResourceDefinition
in interfaceIProperty
- Returns:
- A
IResourceDefinition
object.
-
getParentContext
Description copied from interface:IConnectorParentContextSupport
Gets the container for the parent object of the service- Specified by:
getParentContext
in interfaceIConnectorParentContextSupport
- Returns:
- a
IProtocolSupport
object.
-