|
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.Object org.eclipse.persistence.sdo.SDOType org.eclipse.persistence.sdo.types.SDODataType
public class SDODataType
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 | |
---|---|
SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper)
|
|
SDODataType(java.lang.String aUri,
java.lang.String aName,
java.lang.Class aClass,
SDOTypeHelper sdoTypeHelper,
java.lang.Object aPseudoDefault)
|
|
SDODataType(java.lang.String aUri,
java.lang.String aName,
SDOTypeHelper sdoTypeHelper)
|
Method Summary | |
---|---|
protected void |
addOpenMappings()
|
java.lang.Object |
getPseudoDefault()
INTERNAL: Return the wrapped initial value for the primitive numeric (when not defined) See p.45 of Java Spec 4th edition. |
boolean |
isAbstract()
Indicates if this Type is abstract. |
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. |
void |
setOpen(boolean bOpen)
INTERNAL: Make this Type an opened Type to allow open content by assigning true value or a Type not to accept any additional properties by assigning false value, SDOType.isOpen() . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface commonj.sdo.Type |
---|
get, getAliasNames, getBaseTypes, getDeclaredProperties, getInstanceClass, getInstanceProperties, getName, getProperties, getProperty, getURI |
Constructor Detail |
---|
public SDODataType(java.lang.String aUri, java.lang.String aName, SDOTypeHelper sdoTypeHelper)
public SDODataType(java.lang.String aUri, java.lang.String aName, java.lang.Class aClass, SDOTypeHelper sdoTypeHelper)
public SDODataType(java.lang.String aUri, java.lang.String aName, java.lang.Class aClass, SDOTypeHelper sdoTypeHelper, java.lang.Object aPseudoDefault)
Method Detail |
---|
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 java.lang.Object getPseudoDefault()
SDOType
getPseudoDefault
in class SDOType
protected void addOpenMappings()
public void setOpen(boolean bOpen)
SDOType
SDOType.isOpen()
.
setOpen
in class SDOType
bOpen
- boolean value implying if this Type is open
|
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 |