|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlasmaType
A representation of the type of a type of
a data object.
| Method Summary | |
|---|---|
List<Property> |
findProperties(KeyType keyType)
Returns the declared property from this type and its base types tagged with the given key type. |
Property |
findProperty(ConcurrencyType concurrencyType,
ConcurrentDataFlavor dataFlavor)
Returns the declared property from this type and its base types tagged with the given concurrency type and data flavor. |
Property |
findProperty(KeyType keyType)
Returns the declared property from this type and its base types tagged with the given key type. |
Property |
findProperty(String name)
Returns the declared property from this type and its base types with the given property name, or null if not exists |
Alias |
getAlias()
Returns the alias for this type |
Classifier |
getClassifier()
|
List<Property> |
getDeclaredPropertiesSorted()
Returns an alphabetically sorted list of the Properties declared in this Type as opposed to those declared in base Types. |
Derivation |
getDerivation()
Returns the derivation information for this type if exists, or null if not exists |
PlasmaType |
getDerivationSupplier()
Returns the derivation supplier type for this type or null if not exists. |
List<Comment> |
getDescription()
|
String |
getDescriptionText()
|
String |
getLocalName()
Returns the local name alias of this Type as a string. |
byte[] |
getLocalNameBytes()
Returns the local name of this Type as a byte array which may be cached or lazily cached on demand. |
byte[] |
getNameBytes()
Returns the name of this Type as a byte array which may be cached or lazily cached on demand. |
String |
getPackageName()
Returns the logical name of the model package (if any) associated with this Type as a string, or null if no package exists. |
String |
getPackagePhysicalName()
Returns the physical name alias of the model package (if any) associated with this Type as a string, or null if no physical name alias exists. |
String |
getPhysicalName()
Returns the physical name alias of this Type as a string, or null if no physical alias name exists. |
byte[] |
getPhysicalNameBytes()
Returns the physical name alias of this Type as a byte array which may be cached or lazily cached on demand, or null if no physical alias name exists. |
QName |
getQualifiedName()
Return the namespace qualified logical name for this type. |
byte[] |
getQualifiedNameBytes()
Returns the namespace qualified logical name of this Type as a byte array which may be cached or lazily cached on demand. |
int |
getQualifiedNameHashCode()
Returns a qualified logical-name hash code for this type. |
QName |
getQualifiedPhysicalName()
Return the namespace qualified physical name for this type or null if no physical alias name exists. |
byte[] |
getQualifiedPhysicalNameBytes()
Returns the namespace qualified physical name of this Type as a byte array which may be cached or lazily cached on demand. |
List<Type> |
getSubTypes()
Returns a list of types which specialize or inherit from this type. |
byte[] |
getURIBytes()
Returns the URI of this Type as a byte array which may be cached or lazily cached on demand. |
boolean |
isBaseType(PlasmaType other)
Returns true if the given type is a base type for this type. |
boolean |
isRelation(PlasmaType other,
AssociationPath relationPath)
Returns true if the given type is linked or related to this type across any number of traversals or hops as qualified by the given relation path type. |
boolean |
isSubType(PlasmaType other)
Returns true if the given type is a specialization or inherits from this type. |
List<Object> |
search(Property property)
Collects and returns all values from this type and its base types mapped to the given instance property. |
Class<?> |
toDataTypeInstanceClass(DataType dataType)
Returns a Java class for the given SDO data-type (as per the SDO Specification 2.10 Section 8.1). |
| Methods inherited from interface commonj.sdo.Type |
|---|
get, getAliasNames, getBaseTypes, getDeclaredProperties, getInstanceClass, getInstanceProperties, getName, getProperties, getProperty, getURI, isAbstract, isDataType, isInstance, isOpen, isSequenced |
| Method Detail |
|---|
List<Comment> getDescription()
Classifier getClassifier()
String getDescriptionText()
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.
byte[] getURIBytes()
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()
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.
String getLocalName()
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.
QName getQualifiedName()
byte[] getQualifiedNameBytes()
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.
int getQualifiedNameHashCode()
QName getQualifiedPhysicalName()
byte[] getQualifiedPhysicalNameBytes()
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.
Alias getAlias()
Derivation getDerivation()
PlasmaType getDerivationSupplier()
String getPackageName()
String getPackagePhysicalName()
List<Property> getDeclaredPropertiesSorted()
List<Object> search(Property property)
property - one of the properties returned by
Type.getInstanceProperties().
Property findProperty(String name)
name - the property name
Property findProperty(ConcurrencyType concurrencyType,
ConcurrentDataFlavor dataFlavor)
concurrencyType - the concurrency typedataFlavor - the concurrency data flavor
Property findProperty(KeyType keyType)
keyType - the key type
List<Property> findProperties(KeyType keyType)
keyType - the key type
Class<?> toDataTypeInstanceClass(DataType dataType)
dataType -
boolean isBaseType(PlasmaType other)
other - the base type candidate
List<Type> getSubTypes()
boolean isSubType(PlasmaType other)
other - the sub type candidate
boolean isRelation(PlasmaType other,
AssociationPath relationPath)
other - the other typerelationPath - the relation path type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||