|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlasmaProperty
A representation of a Property in the type of a
data object.
| Method Summary | |
|---|---|
Alias |
getAlias()
Returns the alias for this property if exists, or null if not exists |
Concurrent |
getConcurrent()
Returns the concurrent information for this property if exists, or null if not exists |
DataFlavor |
getDataFlavor()
For data type properties, returns the data flavor associated with the property data type. |
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()
|
EnumerationConstraint |
getEnumerationConstraint()
Returns the enumeration constraint information for this property if exists, or null if not exists |
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. |
byte[] |
getNameBytes()
Returns the logical name of this Property as a byte array which may be cached or lazily cached on demand. |
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()
|
Sort |
getSort()
Returns the sorting information for this property if exists, or null if not exists |
Temporal |
getTemporal()
Returns the temporal information for this property if exists, or null if not exists |
UniqueConstraint |
getUniqueConstraint()
Returns the unique constraint information for this property if exists, or null if not exists |
ValueConstraint |
getValueConstraint()
Returns the value constraint information for this property if exists, or null if not exists |
ValueSetConstraint |
getValueSetConstraint()
Returns the value-set constraint information for this property if exists, or null if not exists |
XmlProperty |
getXmlProperty()
Returns the XML property information for this property if exists, or null if not exists |
boolean |
isConcurrent()
Returns true if this property is tagged as concurrent. |
boolean |
isConcurrent(ConcurrencyType type,
ConcurrentDataFlavor dataFlavor)
Returns true if this property is tagged as concurrent for the given concurrency type and data flavor. |
boolean |
isKey()
Returns true if the key information for this property if exists. |
boolean |
isKey(KeyType keyType)
Returns true if the key information for this property if exists and the key type is set to the given type. |
boolean |
isXMLAttribute()
Returns true if this property is rendered within an XML document as an XML attribute. |
| Methods inherited from interface commonj.sdo.Property |
|---|
get, getAliasNames, getContainingType, getDefault, getInstanceProperties, getName, getOpposite, getType, isContainment, isMany, isNullable, isOpenContent, isReadOnly |
| Field Detail |
|---|
static final PlasmaProperty INSTANCE_PROPERTY_STRING_UUID
static final PlasmaProperty INSTANCE_PROPERTY_LONG_SNAPSHOT_TIMESTAMP
static final PlasmaProperty INSTANCE_PROPERTY_BOOLEAN_ISOPERATIONAL
static final PlasmaProperty INSTANCE_PROPERTY_INT_MAXLENGTH
static final PlasmaProperty INSTANCE_PROPERTY_BOOLEAN_ISUNIQUE
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_PRIKEY_PROPERTIES
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_CONCURRENCY_USER
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_CONCURRENCY_VERSION
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_LOCKING_USER
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_LOCKING_TIMESTAMP
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_ORIGINATION_USER
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_ORIGINATION_TIMESTAMP
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_DESCRIPTION
static final PlasmaProperty INSTANCE_PROPERTY_STRING_NAMESPACE_URI
static final PlasmaProperty INSTANCE_PROPERTY_STRING_NAMESPACE_PHYSICAL_NAME
static final PlasmaProperty INSTANCE_PROPERTY_STRING_PHYSICAL_NAME
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_VISIBILITY
static final PlasmaProperty INSTANCE_PROPERTY_STRING_LOCAL_NAME
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_NAME_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_URI_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_PHYSICAL_NAME_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_LOCAL_NAME_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_QUALIFIED_NAME
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_QUALIFIED_NAME_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_BYTES_QUALIFIED_PHYSICAL_NAME_BYTES
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_SNAPSHOT_DATE_PROPERTY
static final PlasmaProperty INSTANCE_PROPERTY_OBJECT_IS_LOCKED_PROPERTY
| Method Detail |
|---|
DataFlavor getDataFlavor()
UnsupportedOperationException - when the property is not a data type property
i.e. when property.getType().isDataType() returns false.List<Comment> getDescription()
String getDescriptionText()
Enumeration getRestriction()
boolean isXMLAttribute()
nodeType is 'attribute'
and then 2.) on a simple algorithm based on the data type
and data flavor.
XmlProperty,
XmlNodeTypeAlias getAlias()
Aliasbyte[] 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.
String getPhysicalName()
Aliasbyte[] 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.
String getLocalName()
Aliasbyte[] 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.
Key getKey()
Keyboolean isKey()
keyType - the key type
Keyboolean isKey(KeyType keyType)
keyType - the key type
KeyTypePlasmaProperty getKeySupplier()
Concurrent getConcurrent()
Concurrentboolean isConcurrent()
boolean isConcurrent(ConcurrencyType type,
ConcurrentDataFlavor dataFlavor)
type - the concurrency typedataFlavor - concurrency data flavor
Temporal getTemporal()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.TemporalEnumerationConstraint getEnumerationConstraint()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.TemporalValueSetConstraint getValueSetConstraint()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.ValueSetConstraintSort getSort()
Sequencelong getMaxLength()
ValueConstraint getValueConstraint()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.ValueConstraintUniqueConstraint getUniqueConstraint()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.ValueConstraintXmlProperty getXmlProperty()
IllegalArgumentException - if the property's type is
not a data type, e.g. if property.getType().isDataType() returns false.XmlPropertyDerivation getDerivation()
PlasmaProperty getDerivationSupplier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||