|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.persistence.sdo.SDOType
org.eclipse.persistence.sdo.types.SDOChangeSummaryType
public class SDOChangeSummaryType
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.sdo.SDOType |
|---|
aHelperContext, isDataType, xmlDescriptor |
| Constructor Summary | |
|---|---|
SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper)
|
|
| Method Summary | |
|---|---|
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.lang.Class |
getInstanceClass()
Returns the Java class that this type represents. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper)
| Method Detail |
|---|
public java.lang.Object get(Property property)
Type
get in interface Typeget in class SDOTypeproperty - one of the properties returned by Type.getInstanceProperties().
DataObject.get(Property)public java.util.List getAliasNames()
Type
getAliasNames in interface TypegetAliasNames in class SDOTypepublic java.util.List getBaseTypes()
Type
getBaseTypes in interface TypegetBaseTypes in class SDOTypepublic java.util.List getDeclaredProperties()
Type
getDeclaredProperties in interface TypegetDeclaredProperties in class SDOTypepublic java.lang.Class getInstanceClass()
Type
getInstanceClass in interface TypegetInstanceClass 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()
Type
getName in interface TypegetName in class SDOTypepublic 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).
getURI in interface TypegetURI in class SDOTypepublic boolean isAbstract()
Type
isAbstract 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)
Type
isInstance 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()
Type
isOpen in interface TypeisOpen in class SDOTypepublic boolean isSequenced()
Type
Sequence elements = dataObject.getSequence();
isSequenced in interface TypeisSequenced in class SDOTypepublic boolean isChangeSummaryType()
isChangeSummaryType in class SDOType
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||