|
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.SDODataType
public class SDODataType
| 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 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 java.lang.Object getPseudoDefault()
SDOType
getPseudoDefault in class SDOTypeprotected void addOpenMappings()
public void setOpen(boolean bOpen)
SDOTypeSDOType.isOpen().
setOpen in class SDOTypebOpen - boolean value implying if this Type is open
|
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 | |||||||||