@Entity public class PropertyDefinition extends oracle.odi.domain.root.FCORoot implements IPropertyDefinition, IPropertyDefinitionOwner
Type | Property and Description |
---|---|
boolean |
isPersistent
Checks if this property is persistable.
|
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(oracle.odi.domain.root.PropertyOwner owner)
Returns a list of the raw property domain values.
|
java.lang.Integer |
getMaxLength()
Gets maximum allowed length of values of this property.
|
java.lang.String |
getName()
Get the name for this object.
|
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()
Checks if this property is persistable.
|
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.
|
getAdapter, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, isInstanceLevelSecurityNeeded
addCachedIssue, addCachedIssues, clearIssueCache, delete, displayIssues, displayIssues, displayIssues, dump, dump, dump, dump, dumpToString, equals, getCachedErrors, getCachedIssues, getCachedSyncState, getCachedValidationErrorMessage, getChildNamespaceId, getDisplayableObjectName, getFCOContainer, getFullName, getGUID, getInternalId, getRootContainer, getSecurityContainer, getStrongTypeClassName, getSyncState, handleMapChangeEvent, hasAdapter, hashCode, isNew, setCachedSyncState, toString, validate, validate
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
dump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate
getRootContainer
getGlobalId, getInternalId, getSecurityContainer
public PropertyDefinition(IPropertyDefinitionOwner owner, java.lang.String name, java.lang.String displayNameKey, PropertyDefinition.PropertyType type, java.lang.String ownerClassName) throws PropertyException
owner
- The owner of the property definition (not necessarily the property created by the definition).name
- The name of the property that will be created.displayNameKey
- The NLS display name key for the property that will be created.type
- The type of the property that will be created.ownerClassName
- The owner class name for the property that will be created.PropertyException
public IPropertyDefinitionOwner getPropertyDefinitionOwner()
getPropertyDefinitionOwner
in interface IMappingObject
getPropertyDefinitionOwner
in class oracle.odi.domain.root.Root
public static PropertyDefinition.PropertyType getPropertyType(java.lang.String type) throws oracle.odi.domain.mapping.exception.MapComponentException
PropertyType
enum value corresponding to a property type string.type
- the string property type name.oracle.odi.domain.mapping.exception.MapComponentException
public 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()
IRoot
getName
in interface IOdiEntity
getName
in interface IPropertyDefinitionOwner
getName
in interface IRoot
getName
in class oracle.odi.domain.root.Root
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.PropertyException
public java.util.List getChildDefs()
PropertyException
public java.util.List getDomainValues(oracle.odi.domain.root.PropertyOwner owner)
owner
- the owner of this property.PropertyException
public 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()
IRoot
public PropertyDefinition findPropertyDefinition(java.lang.String ownerClass, java.lang.String name)
IPropertyDefinitionOwner
findPropertyDefinition
in interface IPropertyDefinitionOwner
ownerClass
- the owner class name.name
- the name of the property the property definition defines.public java.lang.Integer getMaxLength()
public boolean isDynamicDomainValue()