public class CoreProperty extends Object implements PlasmaProperty
type of a
data object.INSTANCE_PROPERTY_BOOLEAN_ISCONCURRENT, INSTANCE_PROPERTY_BOOLEAN_ISOPERATIONAL, INSTANCE_PROPERTY_BOOLEAN_ISUNIQUE, INSTANCE_PROPERTY_BYTES_LOCAL_NAME_BYTES, INSTANCE_PROPERTY_BYTES_NAME_BYTES, INSTANCE_PROPERTY_BYTES_PACKAGE_PHYSICAL_NAME_BYTES, INSTANCE_PROPERTY_BYTES_PHYSICAL_NAME_BYTES, INSTANCE_PROPERTY_BYTES_QUALIFIED_NAME_BYTES, INSTANCE_PROPERTY_BYTES_QUALIFIED_PHYSICAL_NAME_BYTES, INSTANCE_PROPERTY_BYTES_URI_BYTES, INSTANCE_PROPERTY_INT_MAXLENGTH, INSTANCE_PROPERTY_LONG_SNAPSHOT_TIMESTAMP, INSTANCE_PROPERTY_OBJECT_CONCURRENT_PROP, INSTANCE_PROPERTY_OBJECT_CONCURRENT_TIMESTAMP, INSTANCE_PROPERTY_OBJECT_CONCURRENT_USER, INSTANCE_PROPERTY_OBJECT_CONCURRENT_VERSION, INSTANCE_PROPERTY_OBJECT_DESCRIPTION, INSTANCE_PROPERTY_OBJECT_IS_LOCKED_PROPERTY, INSTANCE_PROPERTY_OBJECT_LOCKING_TIMESTAMP, INSTANCE_PROPERTY_OBJECT_LOCKING_USER, INSTANCE_PROPERTY_OBJECT_ORIGINATION_TIMESTAMP, INSTANCE_PROPERTY_OBJECT_ORIGINATION_USER, INSTANCE_PROPERTY_OBJECT_PRIKEY_PROPERTIES, INSTANCE_PROPERTY_OBJECT_QUALIFIED_NAME, INSTANCE_PROPERTY_OBJECT_SNAPSHOT_DATE_PROPERTY, INSTANCE_PROPERTY_OBJECT_VISIBILITY, INSTANCE_PROPERTY_STRING_BUSINESS_NAME, INSTANCE_PROPERTY_STRING_LOCAL_NAME, INSTANCE_PROPERTY_STRING_NAMESPACE_PHYSICAL_NAME, INSTANCE_PROPERTY_STRING_NAMESPACE_URI, INSTANCE_PROPERTY_STRING_PHYSICAL_NAME, INSTANCE_PROPERTY_STRING_UUID| Constructor and Description |
|---|
CoreProperty(CoreType type,
Property property,
CoreType containingType) |
| Modifier and Type | Method and Description |
|---|---|
static PlasmaProperty |
createInstanceProperty(String name,
org.plasma.sdo.DataType dataType) |
boolean |
equals(Object other) |
Object |
get(commonj.sdo.Property property)
Returns the value of the specified instance property of this Property.
|
org.plasma.sdo.Alias |
getAlias()
Returns the alias for this property if exists, or null if not exists
|
List<String> |
getAliasNames()
Returns a list of alias names for this Property.
|
org.plasma.sdo.Compression |
getCompression()
Returns the compression information for this property if exists, or null if
not exists
|
org.plasma.sdo.Concurrent |
getConcurrent()
Returns the concurrent information for this property if exists, or null if
not exists
|
commonj.sdo.Type |
getContainingType()
Returns the containing type of this Property.
|
org.plasma.sdo.DataFlavor |
getDataFlavor()
For data type properties, returns the data flavor associated with the
property data type.
|
Object |
getDefault()
Returns the default value this Property will have in a
data object where the Property hasn't been set. |
org.plasma.sdo.Derivation |
getDerivation()
Returns the derivation information for this property if exists, or null if
not exists
|
PlasmaProperty |
getDerivationSupplier()
Returns the derivation supplier property for this property or null if not
exists.
|
List<Comment> |
getDescription() |
String |
getDescriptionText() |
org.plasma.sdo.EnumerationConstraint |
getEnumerationConstraint()
Returns the enumeration constraint information for this property if exists,
or null if not exists
|
String |
getId()
Returns the unique id for the element within its meta data repository.
|
org.plasma.sdo.Increment |
getIncrement()
Returns the increment information for this property if exists, or null if
not exists
|
List |
getInstanceProperties() |
org.plasma.sdo.Key |
getKey()
Returns the key information for this property if exists, or null if not
exists
|
PlasmaProperty |
getKeySupplier()
Returns the key supplier property for this property or null if not exists.
|
String |
getLocalName()
Returns the local name alias for this Property if exists, or otherwise the
property name
|
byte[] |
getLocalNameBytes()
Returns the local name of this Property as a byte array which may be cached
or lazily cached on demand.
|
long |
getMaxLength()
Returns the maximum length allowed this property, or -1 if no maximum
length is defined.
|
String |
getName()
Returns the name of the Property.
|
byte[] |
getNameBytes()
Returns the logical name of this Property as a byte array which may be
cached or lazily cached on demand.
|
commonj.sdo.Property |
getOpposite() |
String |
getPhysicalName()
Returns the physical name alias for this property if exists, or null if not
exists
|
byte[] |
getPhysicalNameBytes()
Returns the physical name alias of this Property as a byte array which may
be cached or lazily cached on demand, or null if no physical alias name
exists.
|
Enumeration |
getRestriction() |
org.plasma.sdo.Sort |
getSort()
Returns the sorting information for this property if exists, or null if not
exists
|
org.plasma.sdo.Temporal |
getTemporal()
Returns the temporal information for this property if exists, or null if
not exists
|
commonj.sdo.Type |
getType()
Returns the type of the Property.
|
org.plasma.sdo.UniqueConstraint |
getUniqueConstraint()
Returns the unique constraint information for this property if exists, or
null if not exists
|
org.plasma.sdo.ValueConstraint |
getValueConstraint()
Returns the value constraint information for this property if exists, or
null if not exists
|
org.plasma.sdo.ValueSetConstraint |
getValueSetConstraint()
Returns the value-set constraint information for this property if exists,
or null if not exists
|
org.plasma.sdo.XmlProperty |
getXmlProperty()
Returns the XML property information for this property if exists, or null
if not exists
|
int |
hashCode() |
boolean |
isConcurrent()
Returns true if this property is tagged as concurrent.
|
boolean |
isConcurrent(org.plasma.sdo.profile.ConcurrencyType type) |
boolean |
isConcurrent(org.plasma.sdo.profile.ConcurrencyType type,
org.plasma.sdo.profile.ConcurrentDataFlavor dataFlavor)
Returns true if this property is tagged as concurrent for the given
concurrency type and data flavor.
|
boolean |
isContainment()
Returns whether the Property is containment, i.e., whether it represents
by-value composition.
|
boolean |
isIncrement()
Returns true if the increment information for this property exists.
|
boolean |
isKey()
Returns true if the key information for this property if exists.
|
boolean |
isKey(org.plasma.sdo.profile.KeyType keyType)
Returns true if the key information for this property if exists and the key
type is set to the given type.
|
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.
|
boolean |
isXMLAttribute()
Returns true if this property is rendered within an XML document as an XML
attribute.
|
String |
toString() |
public static PlasmaProperty createInstanceProperty(String name, org.plasma.sdo.DataType dataType)
public String getName()
getName in interface commonj.sdo.Propertypublic org.plasma.sdo.DataFlavor getDataFlavor()
PlasmaPropertygetDataFlavor in interface PlasmaPropertypublic List<Comment> getDescription()
getDescription in interface PlasmaPropertypublic String getDescriptionText()
getDescriptionText in interface PlasmaPropertypublic String getPhysicalName()
PlasmaPropertygetPhysicalName in interface PlasmaPropertyAliaspublic byte[] getNameBytes()
Helps support Data Access
Services for sparse, distributed "cloud" data stores typically storing
lexicographically ordered row and column keys as uninterpreted arrays of
bytes. Fast dynamic construction of such keys is important as such services
may necessarily construct unique composite keys based in part on qualified
or unqualified logical or physical type names.
getNameBytes in interface PlasmaPropertypublic byte[] getPhysicalNameBytes()
Helps support Data Access
Services for sparse, distributed "cloud" data stores typically storing
lexicographically ordered row and column keys as uninterpreted arrays of
bytes. Fast dynamic construction of such keys is important as such services
may necessarily construct unique composite keys based in part on qualified
or unqualified logical or physical type names.
getPhysicalNameBytes in interface PlasmaPropertypublic String getLocalName()
PlasmaPropertygetLocalName in interface PlasmaPropertyAliaspublic byte[] getLocalNameBytes()
Helps support Data Access
Services for sparse, distributed "cloud" data stores typically storing
lexicographically ordered row and column keys as uninterpreted arrays of
bytes. Fast dynamic construction of such keys is important as such services
may necessarily construct unique composite keys based in part on qualified
or unqualified logical or physical type names.
getLocalNameBytes in interface PlasmaPropertypublic org.plasma.sdo.Alias getAlias()
PlasmaPropertygetAlias in interface PlasmaPropertyAliaspublic org.plasma.sdo.Key getKey()
PlasmaPropertygetKey in interface PlasmaPropertyKeypublic boolean isKey()
PlasmaPropertyisKey in interface PlasmaPropertyKeypublic boolean isKey(org.plasma.sdo.profile.KeyType keyType)
PlasmaPropertyisKey in interface PlasmaPropertykeyType - the key typeKeyTypepublic PlasmaProperty getKeySupplier()
PlasmaPropertygetKeySupplier in interface PlasmaPropertypublic org.plasma.sdo.Concurrent getConcurrent()
PlasmaPropertygetConcurrent in interface PlasmaPropertyConcurrentpublic boolean isConcurrent()
PlasmaPropertyisConcurrent in interface PlasmaPropertypublic boolean isConcurrent(org.plasma.sdo.profile.ConcurrencyType type)
isConcurrent in interface PlasmaPropertypublic boolean isConcurrent(org.plasma.sdo.profile.ConcurrencyType type,
org.plasma.sdo.profile.ConcurrentDataFlavor dataFlavor)
PlasmaPropertyisConcurrent in interface PlasmaPropertytype - the concurrency typedataFlavor - concurrency data flavorpublic org.plasma.sdo.Temporal getTemporal()
PlasmaPropertygetTemporal in interface PlasmaPropertyTemporalpublic org.plasma.sdo.EnumerationConstraint getEnumerationConstraint()
PlasmaPropertygetEnumerationConstraint in interface PlasmaPropertyTemporalpublic org.plasma.sdo.ValueSetConstraint getValueSetConstraint()
PlasmaPropertygetValueSetConstraint in interface PlasmaPropertyValueSetConstraintpublic org.plasma.sdo.ValueConstraint getValueConstraint()
PlasmaPropertygetValueConstraint in interface PlasmaPropertyValueConstraintpublic org.plasma.sdo.Sort getSort()
PlasmaPropertygetSort in interface PlasmaPropertySequencepublic org.plasma.sdo.UniqueConstraint getUniqueConstraint()
PlasmaPropertygetUniqueConstraint in interface PlasmaPropertyValueConstraintpublic org.plasma.sdo.Compression getCompression()
PlasmaPropertygetCompression in interface PlasmaPropertyCompressionpublic org.plasma.sdo.Increment getIncrement()
PlasmaPropertygetIncrement in interface PlasmaPropertyIncrementpublic boolean isIncrement()
PlasmaPropertyisIncrement in interface PlasmaPropertyIncrementpublic org.plasma.sdo.XmlProperty getXmlProperty()
PlasmaPropertygetXmlProperty in interface PlasmaPropertyXmlPropertypublic Enumeration getRestriction()
getRestriction in interface PlasmaPropertypublic long getMaxLength()
getMaxLength in interface PlasmaPropertypublic boolean isXMLAttribute()
PlasmaPropertynodeType
is 'attribute' and then 2.) on a simple algorithm based on the data type
and data flavor.isXMLAttribute in interface PlasmaPropertyXmlProperty,
XmlNodeTypepublic Object get(commonj.sdo.Property property)
get in interface commonj.sdo.Propertyproperty - one of the properties returned by getInstanceProperties()
.3.6.7 Property Instance Properties Property instances can themselves
include open content, that is, extended metadata in the form of
instance properties. The list of such extensions is available by
calling Property.getInstanceProperties(). The values of these
properties are available by calling Property.get(Property). For more
details, see Section 3.5.6.public List getInstanceProperties()
getInstanceProperties in interface commonj.sdo.Propertypublic List<String> getAliasNames()
getAliasNames in interface commonj.sdo.Propertypublic Object getDefault()
data object where the Property hasn't been set.getDefault in interface commonj.sdo.Propertypublic commonj.sdo.Property getOpposite()
getOpposite in interface commonj.sdo.Propertypublic commonj.sdo.Type getType()
getType in interface commonj.sdo.Propertypublic boolean isContainment()
isContainment in interface commonj.sdo.Propertytrue if the Property is containment.public commonj.sdo.Type getContainingType()
getContainingType in interface commonj.sdo.PropertyType.getProperties()public boolean isMany()
isMany in interface commonj.sdo.Propertytrue if the Property is many-valued.public boolean isNullable()
isNullable in interface commonj.sdo.Propertypublic boolean isOpenContent()
isOpenContent in interface commonj.sdo.Propertypublic boolean isReadOnly()
isReadOnly in interface commonj.sdo.Propertypublic org.plasma.sdo.Derivation getDerivation()
PlasmaPropertygetDerivation in interface PlasmaPropertypublic PlasmaProperty getDerivationSupplier()
PlasmaPropertygetDerivationSupplier in interface PlasmaPropertypublic String getId()
PlasmaPropertygetId in interface PlasmaPropertyCopyright © 2021. All rights reserved.