public class SDOChangeSummaryType extends SDOType implements Type
SDOType.TypeInstantiationPolicyaHelperContext, isDataType, javaImplClass, xmlDescriptor| Constructor and Description |
|---|
SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(Property property)
Returns the value of the specified instance property of this Type.
|
java.util.List |
getAliasNames()
Return a list of alias names for this Type.
|
java.util.List |
getBaseTypes()
Returns the List of base Types for this Type.
|
java.util.List |
getDeclaredProperties()
Returns the Properties declared in this Type as opposed to
those declared in base Types.
|
java.util.List |
getInstanceProperties()
Returns a read-only List of instance Properties available on this Type.
|
java.lang.String |
getName()
Returns the name of the type.
|
java.util.List |
getProperties()
Returns the List of the
Properties of this type. |
SDOProperty |
getProperty(java.lang.String propertyName)
Returns from
all the Properties of this type, the one with the specified name. |
java.lang.String |
getURI()
Returns the namespace URI of the type or
null if the type has no URI
(for example it was generated from a Schema with no target namespace). |
boolean |
isAbstract()
Indicates if this Type is abstract.
|
boolean |
isChangeSummaryType() |
boolean |
isDataType()
Indicates if this Type specifies DataTypes (true) or DataObjects (false).
|
boolean |
isInstance(java.lang.Object object)
Returns whether the specified object is an instance of this type.
|
boolean |
isOpen()
Indicates if this Type allows any form of open content.
|
boolean |
isSequenced()
Indicates if this Type specifies Sequenced DataObjects.
|
addAliasName, addBaseType, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, addDeclaredProperty, getAppInfoElements, getAppInfoMap, getChangeSummaryProperty, getDeclaredPropertiesMap, getHelperContext, getImplClass, getImplClassName, getInstanceClass, getInstanceClassName, getNonFinalizedMappingURIs, getNonFinalizedReferencingProps, getPropertiesArray, getPropertyValues, getPseudoDefault, getQName, getSubTypes, getXmlDescriptor, getXsdLocalName, getXsdType, initializeNamespaces, isBaseType, isDataObjectType, isFinalized, isOpenSequencedType, isSubType, isTypeType, isWrapperType, isXsd, isXsdList, postInitialize, preInitialize, removeDeclaredProperties, setAbstract, setAliasNames, setAppInfoElements, setBaseTypes, setDataType, setFinalized, setImplClassName, setInstanceClass, setInstanceClassName, setInstanceProperty, setMixed, setNonFinalizedMappingURIs, setNonFinalizedReferencingProps, setOpen, setPropertyValues, setPseudoDefault, setQName, setSequenced, setSubTypes, setupInheritance, setXmlDescriptor, setXsd, setXsdList, setXsdLocalName, setXsdTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceClasspublic SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper)
public java.lang.Object get(Property property)
Typeget in interface Typeget in class SDOTypeproperty - one of the properties returned by Type.getInstanceProperties().DataObject.get(Property)public java.util.List getAliasNames()
TypegetAliasNames in interface TypegetAliasNames in class SDOTypepublic java.util.List getBaseTypes()
TypegetBaseTypes in interface TypegetBaseTypes in class SDOTypepublic java.util.List getDeclaredProperties()
TypegetDeclaredProperties in interface TypegetDeclaredProperties in class SDOTypepublic java.util.List getInstanceProperties()
Type
This list includes, at a minimum, any open content properties (extensions) added to
the object before defining
the Type's Type. Implementations may, but are not required to in the 2.1 version
of SDO, provide additional instance properties.
getInstanceProperties in interface TypegetInstanceProperties in class SDOTypepublic java.lang.String getName()
Typepublic java.util.List getProperties()
TypeProperties of this type.
The expression
type.getProperties().indexOf(property)yields the property's index relative to this type. As such, these expressions are equivalent:
dataObject.get(i)
dataObject.get((Property)dataObject.getType().getProperties().get(i));
getProperties in interface TypegetProperties in class SDOTypeProperty.getContainingType()public SDOProperty getProperty(java.lang.String propertyName)
Typeall the Properties of this type, the one with the specified name.
As such, these expressions are equivalent:
dataObject.get("name")
dataObject.get(dataObject.getType().getProperty("name"))
getProperty in interface TypegetProperty in class SDOTypeType.getProperties()public java.lang.String getURI()
Typenull if the type has no URI
(for example it was generated from a Schema with no target namespace).public boolean isAbstract()
TypeisAbstract in interface TypeisAbstract in class SDOTypepublic boolean isDataType()
TypeisInstance(object) && !isDataType() implies DataObject.class.isInstance(object) returns true.
isDataType in interface TypeisDataType in class SDOTypepublic boolean isInstance(java.lang.Object object)
TypeisInstance in interface TypeisInstance in class SDOTypeobject - the object in question.true if the object is an instance.Class.isInstance(java.lang.Object)public boolean isOpen()
Typepublic boolean isSequenced()
Type
Sequence elements = dataObject.getSequence();
isSequenced in interface TypeisSequenced in class SDOTypepublic boolean isChangeSummaryType()
isChangeSummaryType in class SDOType