@Entity public class PropertyDefinition extends FCORoot implements IPropertyDefinition, IPropertyDefinitionOwner
| Type | Property and Description |
|---|---|
boolean |
isPersistent
Gets the value of the property persistentProperty.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyDefinition.PropertyType
The types of properties that are defined.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDefinition |
findPropertyDefinition(java.lang.String ownerClass,
java.lang.String name)
Finds the property definition with the specified name, or null if not found.
|
PropertyDefinition |
getChildDef(int index)
Gets the child property definition at the specified index.
|
java.util.List |
getChildDefs()
Gets a list of all child property definitions owned by this property definition.
|
java.lang.String |
getDefaultValue()
Gets the default value for the property.
|
java.lang.String |
getDisplayName()
Gets the display name for the property.
|
java.util.List |
getDomainValues(PropertyOwner owner)
Returns a list of the raw property domain values.
|
java.lang.String |
getFullName() |
java.lang.Integer |
getMaxLength()
Gets maximum allowed length of values of this property.
|
java.lang.String |
getName()
Gets the name of the property definition owner, to be used when creating the
NLS key for each property definition.
|
IRoot |
getOwner()
Gets the mapping owner (or parent) of this object.
|
java.lang.String |
getOwnerClassName()
Gets the owner class name of the property to be created.
|
IPropertyDefinitionOwner |
getPropertyDefinitionOwner()
Gets the owner of this property definition.
|
java.lang.String |
getPropertyDisplayNameKey()
Gets the property NLS display name key for the property.
|
java.lang.String |
getPropertyName()
Gets the property name for the property.
|
PropertyDefinition.PropertyType |
getPropertyType()
Gets the property type of the property.
|
static PropertyDefinition.PropertyType |
getPropertyType(java.lang.String type)
Gets the
PropertyType enum value corresponding to a property type string. |
static java.lang.String |
getPropertyTypeString(PropertyDefinition.PropertyType type)
Gets the String representation for
PropertyType enum value. |
java.lang.String |
getTranslatedDomainValue(java.lang.String value)
Gets the NLS translated domain value for a domain value key.
|
java.lang.String |
getValueDisplayType()
Gets the value type for display.
|
boolean |
isDynamicDomainValue()
Checks if the domain values of this property are dynamically calculated.
|
boolean |
isPersistentProperty()
Gets the value of the property persistentProperty.
|
boolean |
isReadOnly()
Checks if this property definition is read-only
|
boolean |
valueIsCollection()
Returns true if the expected value for the property is a Collection object.
|
boolean |
valueIsList()
Returns true if the expected value for the property is a List object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate, validategetRootContainergetGlobalId, getInternalId, getParentpublic boolean isPersistentProperty
public IPropertyDefinitionOwner getPropertyDefinitionOwner()
getPropertyDefinitionOwner in interface IMappingObjectpublic static PropertyDefinition.PropertyType getPropertyType(java.lang.String type) throws MapComponentException
PropertyType enum value corresponding to a property type string.type - the string property type name.MapComponentExceptionpublic static java.lang.String getPropertyTypeString(PropertyDefinition.PropertyType type)
PropertyType enum value.type - the PropertyType enum value.public java.lang.String getPropertyName()
public java.lang.String getName()
IPropertyDefinitionOwnergetName in interface IPropertyDefinitionOwnergetName in interface IRootpublic java.lang.String getFullName()
public java.lang.String getPropertyDisplayNameKey()
public java.lang.String getDisplayName()
public boolean valueIsList()
public boolean valueIsCollection()
public java.lang.String getDefaultValue()
public PropertyDefinition.PropertyType getPropertyType()
public java.lang.String getOwnerClassName()
public boolean isPersistentProperty()
public PropertyDefinition getChildDef(int index) throws PropertyException
index - the index at which the child property defintion is to be returned.PropertyExceptionpublic java.util.List getChildDefs()
PropertyExceptionpublic java.util.List getDomainValues(PropertyOwner owner)
owner - the owner of this property.PropertyExceptionpublic java.lang.String getTranslatedDomainValue(java.lang.String value)
value - the domain value key for which the NLS translation is to be calculated.public java.lang.String getValueDisplayType()
public boolean isReadOnly()
public IRoot getOwner()
IRootpublic PropertyDefinition findPropertyDefinition(java.lang.String ownerClass, java.lang.String name)
IPropertyDefinitionOwnerfindPropertyDefinition in interface IPropertyDefinitionOwnerownerClass - the owner class name.name - the name of the property the property definition defines.public java.lang.Integer getMaxLength()
public boolean isDynamicDomainValue()