public interface Property
type
of a data object
.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(Property property)
Returns the value of the specified instance property of this Property.
|
java.util.List |
getAliasNames()
Returns a list of alias names for this Property.
|
Type |
getContainingType()
Returns the containing type of this Property.
|
java.lang.Object |
getDefault()
Returns the default value this Property will have in a
data object where the Property hasn't been set. |
java.util.List |
getInstanceProperties()
Returns a read-only List of instance Properties available on this Property.
|
java.lang.String |
getName()
Returns the name of the Property.
|
Property |
getOpposite()
Returns the opposite Property if the Property is bi-directional or null otherwise.
|
Type |
getType()
Returns the type of the Property.
|
boolean |
isContainment()
Returns whether the Property is containment, i.e., whether it represents by-value composition.
|
boolean |
isMany()
Returns whether the Property is many-valued.
|
boolean |
isNullable()
Returns whether or not instances of this property can be set to null.
|
boolean |
isOpenContent()
Returns whether or not this is an open content Property.
|
boolean |
isReadOnly()
Returns true if values for this Property cannot be modified using the SDO APIs.
|
java.lang.String getName()
Type getType()
boolean isMany()
true
if the Property is many-valued.boolean isContainment()
true
if the Property is containment.Type getContainingType()
Type.getProperties()
java.lang.Object getDefault()
data object
where the Property hasn't been set.boolean isReadOnly()
Property getOpposite()
java.util.List getAliasNames()
boolean isNullable()
boolean isOpenContent()
java.util.List getInstanceProperties()
This list includes, at a minimum, any open content properties (extensions) added to
the object before defining
the Property's Type
. Implementations may, but are not required to in the 2.1 version
of SDO, provide additional instance properties.
java.lang.Object get(Property property)
property
- one of the properties returned by getInstanceProperties()
.DataObject.get(Property)