|
EclipseLink 1.2.0, build 'v20091016-r5565' 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
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.persistence.sdo.SDOType |
---|
SDOType.TypeInstantiationPolicy |
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.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 |
Methods inherited from interface commonj.sdo.Type |
---|
getInstanceClass |
Constructor Detail |
---|
public SDOChangeSummaryType(SDOTypeHelper sdoTypeHelper)
Method Detail |
---|
public java.lang.Object get(Property property)
Type
get
in interface Type
get
in class SDOType
property
- one of the properties returned by Type.getInstanceProperties()
.
DataObject.get(Property)
public java.util.List getAliasNames()
Type
getAliasNames
in interface Type
getAliasNames
in class SDOType
public java.util.List getBaseTypes()
Type
getBaseTypes
in interface Type
getBaseTypes
in class SDOType
public java.util.List getDeclaredProperties()
Type
getDeclaredProperties
in interface Type
getDeclaredProperties
in class SDOType
public 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 Type
getInstanceProperties
in class SDOType
public java.lang.String getName()
Type
getName
in interface Type
getName
in class SDOType
public java.util.List getProperties()
Type
Properties
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 Type
getProperties
in class SDOType
Property.getContainingType()
public SDOProperty getProperty(java.lang.String propertyName)
Type
all 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 Type
getProperty
in class SDOType
Type.getProperties()
public java.lang.String getURI()
Type
null
if the type has no URI
(for example it was generated from a Schema with no target namespace).
getURI
in interface Type
getURI
in class SDOType
public boolean isAbstract()
Type
isAbstract
in interface Type
isAbstract
in class SDOType
public boolean isDataType()
Type
isInstance(object) && !isDataType() implies DataObject.class.isInstance(object) returns true.
isDataType
in interface Type
isDataType
in class SDOType
public boolean isInstance(java.lang.Object object)
Type
isInstance
in interface Type
isInstance
in class SDOType
object
- the object in question.
true
if the object is an instance.Class.isInstance(java.lang.Object)
public boolean isOpen()
Type
isOpen
in interface Type
isOpen
in class SDOType
public boolean isSequenced()
Type
Sequence elements = dataObject.getSequence
();
isSequenced
in interface Type
isSequenced
in class SDOType
public boolean isChangeSummaryType()
isChangeSummaryType
in class SDOType
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |