public interface IProperty extends IElement, IConnectorParentContextSupport, IProtocolSupport
IResource
,
IWorkflowInstance
,
ILinkedResource
Modifier and Type | Interface and Description |
---|---|
static interface |
IProperty.Dynamic
Dynamic properties
|
static interface |
IProperty.IAdditionalType
Additional types
|
static interface |
IProperty.IDisplaySettings
Display settings
|
static interface |
IProperty.IElementType
The type of the java.util.Collection items.
|
static interface |
IProperty.IIndexType
Index search types
|
static interface |
IProperty.IType
All supported types
|
static interface |
IProperty.Special
Special properties.
|
static interface |
IProperty.System
System properties
|
Modifier and Type | Method and Description |
---|---|
int |
getAdditionalType()
Retrieves the additional type of the property.
|
Object |
getDefaultValue()
Retrieves the default value.
|
IResourceDefinition |
getDefinition()
Retrieves the
IResourceDefinition of the property. |
String |
getDescription()
Gets the description of the property.
|
IProperty.IDisplaySettings |
getDisplaySettings()
Retrieves the display settings of the property.
|
int |
getElementType()
Gets the element type.
|
IResourceDefinition |
getForeignResourceDefinition()
Gets the foreign resource definition.
|
int |
getIndexType()
Gets the index type.
|
String |
getLabel()
Gets the localized label of the property.
|
IList |
getList()
Retrieves the associated list.
|
IList |
getList(ILibrary library)
Deprecated.
Use getList( IContext context, ILibrary library, String name ) method instead from the
IBaseLibraryModule . |
String |
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 |
isCollection()
Checks if the stored value has multiple values.
|
boolean |
isIndexed()
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 |
setLabel(String label)
Sets the label of the property in the current language.
|
void |
setList(IList list)
Associates a list to the property.
|
void |
setName(String name)
Sets the system name of the property.
|
void |
setType(int type)
Sets the type of the property.
|
getId, getModule, getNativeObject, getPath, save
getParentContext
getProtocolURI, getProtocolURI
String getName()
void setName(String name)
name
- The new name of the property.String getLabel()
void setLabel(String label)
label
- The new label of the property.String getDescription()
int getType()
IProperty.IType
.void setType(int type)
type
- A value of the IProperty.IType
.int getAdditionalType()
IProperty.IAdditionalType
.boolean isCollection()
void setDefaultValue(Object defaultValue)
defaultValue
- The default value.boolean hasList()
void setList(IList list)
list
- The list to associate the property.@Deprecated IList getList(ILibrary library)
IBaseLibraryModule
.library
- The library where the list is defined.IList
object.boolean isIndexed()
int getIndexType()
IProperty.IIndexType
.void setIndexType(int indexType)
indexType
- A value of the IProperty.IIndexType
IResourceDefinition getDefinition()
IResourceDefinition
of the property.IResourceDefinition
object.IProperty.IDisplaySettings getDisplaySettings()
IProperty.IDisplaySettings
object.int getElementType()
IProperty.IElementType
.IResourceDefinition getForeignResourceDefinition()
IResourceDefinition
object.Copyright © 2022 Visiativ. All rights reserved.