From cd911a1ce5bb8abf2a6c796e32fcf61ef0c91fbc Mon Sep 17 00:00:00 2001
From: lresende
+A representation of the type of a
+
+
+
+
+
+
+
+ The expression
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Overview
+ Package
+ Class
+ Use
+ Tree
+ Deprecated
+ Index
+ Help
+
+SDO API
+
+
+
+
+ PREV CLASS
+ NEXT CLASS
+
+ FRAMES
+ NO FRAMES
+
+
+
+
+
+
+
+
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD
+
+DETAIL: FIELD | CONSTR | METHOD
+
+
+
+
+commonj.sdo
+
+
+Interface Type
+
+
+
+
+public interface Type
property
of a data object
.
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+ 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.lang.String
+getName()
+
+
+ Returns the name of the type.
+
+
+
+ java.util.List
+getProperties()
+
+
+ Returns the List of the Properties
of this type.
+
+
+
+ Property
+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.
+
+
+
+ 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.
+
+
+
+
+
+Method Detail
+
+getName
+
+java.lang.String getName()
+
+
+
+
+
+
+
+
+getURI
+
+java.lang.String getURI()
+
+
+
+
+
+
+
+
+getInstanceClass
+
+java.lang.Class getInstanceClass()
+
+
+
+
+
+
+
+
+isInstance
+
+boolean isInstance(java.lang.Object object)
+
+
+
+
+object
- the object in question.
+true
if the object is an instance.Class.isInstance(java.lang.Object)
+
+
+getProperties
+
+java.util.List getProperties()
+
+
Properties
of this type.
+
+ 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));
+
+
Property.getContainingType()
+Property getProperty(java.lang.String propertyName)+
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")) +
+
getProperties()
+boolean isDataType()+
+ isInstance(object) && !isDataType() implies + DataObject.class.isInstance(object) returns true. ++
+
+boolean isOpen()+
+
+boolean isSequenced()+
+ Sequence elements = dataObject.getSequence
();
+
++
+boolean isAbstract()+
+
+java.util.List getBaseTypes()+
+
+java.util.List getDeclaredProperties()+
+
+java.util.List getAliasNames()+
+
+
+
|
++SDO API + | +|||||||||
+ PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||||
+ SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +