From cd911a1ce5bb8abf2a6c796e32fcf61ef0c91fbc Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:41:39 +0000 Subject: Moving site branches git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882843 13f79535-47bb-0310-9956-ffa450edef68 --- .../javadoc/sdo-api/commonj/sdo/Type.html | 515 +++++++++++++++++++++ 1 file changed, 515 insertions(+) create mode 100644 site/branches/site-20060730-mvnbased/src/site/resources/javadoc/sdo-api/commonj/sdo/Type.html (limited to 'site/branches/site-20060730-mvnbased/src/site/resources/javadoc/sdo-api/commonj/sdo/Type.html') diff --git a/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/sdo-api/commonj/sdo/Type.html b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/sdo-api/commonj/sdo/Type.html new file mode 100644 index 0000000000..74087ed467 --- /dev/null +++ b/site/branches/site-20060730-mvnbased/src/site/resources/javadoc/sdo-api/commonj/sdo/Type.html @@ -0,0 +1,515 @@ + + + + + + + +Type (SDO API incubating-M1 API) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+SDO API +
+ + + +
+ +

+ +commonj.sdo +
+Interface Type

+
+
+
public interface Type
+ + +

+A representation of the type of a property of a data object. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.ListgetAliasNames() + +
+          Return a list of alias names for this Type.
+ java.util.ListgetBaseTypes() + +
+          Returns the List of base Types for this Type.
+ java.util.ListgetDeclaredProperties() + +
+          Returns the Properties declared in this Type as opposed to + those declared in base Types.
+ java.lang.ClassgetInstanceClass() + +
+          Returns the Java class that this type represents.
+ java.lang.StringgetName() + +
+          Returns the name of the type.
+ java.util.ListgetProperties() + +
+          Returns the List of the Properties of this type.
+ PropertygetProperty(java.lang.String propertyName) + +
+          Returns from all the Properties of this type, the one with the specified name.
+ java.lang.StringgetURI() + +
+          Returns the namespace URI of the type.
+ booleanisAbstract() + +
+          Indicates if this Type is abstract.
+ booleanisDataType() + +
+          Indicates if this Type specifies DataTypes (true) or DataObjects (false).
+ booleanisInstance(java.lang.Object object) + +
+          Returns whether the specified object is an instance of this type.
+ booleanisOpen() + +
+          Indicates if this Type allows any form of open content.
+ booleanisSequenced() + +
+          Indicates if this Type specifies Sequenced DataObjects.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getName

+
+java.lang.String getName()
+
+
Returns the name of the type. +

+

+ +
Returns:
the type name.
+
+
+
+ +

+getURI

+
+java.lang.String getURI()
+
+
Returns the namespace URI of the type. +

+

+ +
Returns:
the namespace URI.
+
+
+
+ +

+getInstanceClass

+
+java.lang.Class getInstanceClass()
+
+
Returns the Java class that this type represents. +

+

+ +
Returns:
the Java class.
+
+
+
+ +

+isInstance

+
+boolean isInstance(java.lang.Object object)
+
+
Returns whether the specified object is an instance of this type. +

+

+
Parameters:
object - the object in question. +
Returns:
true if the object is an instance.
See Also:
Class.isInstance(java.lang.Object)
+
+
+
+ +

+getProperties

+
+java.util.List getProperties()
+
+
Returns the List of the 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));
+
+

+

+

+ +
Returns:
the Properties of the type.
See Also:
Property.getContainingType()
+
+
+
+ +

+getProperty

+
+Property getProperty(java.lang.String propertyName)
+
+
Returns from 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"))
+
+

+

+

+ +
Returns:
the Property with the specified name.
See Also:
getProperties()
+
+
+
+ +

+isDataType

+
+boolean isDataType()
+
+
Indicates if this Type specifies DataTypes (true) or DataObjects (false). + When false, any object that is an instance of this type + also implements the DataObject interface. + True for simple types such as Strings and numbers. + For any object: +
+   isInstance(object) && !isDataType() implies
+   DataObject.class.isInstance(object) returns true. 
+ 
+

+

+ +
Returns:
true if Type specifies DataTypes, false for DataObjects.
+
+
+
+ +

+isOpen

+
+boolean isOpen()
+
+
Indicates if this Type allows any form of open content. If false, + dataObject.getInstanceProperties() must be the same as + dataObject.getType().getProperties() for any DataObject dataObject of this Type. +

+

+ +
Returns:
true if this Type allows open content.
+
+
+
+ +

+isSequenced

+
+boolean isSequenced()
+
+
Indicates if this Type specifies Sequenced DataObjects. + Sequenced DataObjects are used when the order of values + between Properties must be preserved. + When true, a DataObject will return a Sequence. For example, +
+  Sequence elements = dataObject.getSequence();
+ 
+

+

+ +
Returns:
true if this Type specifies Sequenced DataObjects.
+
+
+
+ +

+isAbstract

+
+boolean isAbstract()
+
+
Indicates if this Type is abstract. If true, this Type cannot be + instantiated. Abstract types cannot be used in DataObject or + DataFactory create methods. +

+

+ +
Returns:
true if this Type is abstract.
+
+
+
+ +

+getBaseTypes

+
+java.util.List getBaseTypes()
+
+
Returns the List of base Types for this Type. The List is empty + if there are no base Types. XSD , , and + Java extends keyword are mapped to this list. +

+

+ +
Returns:
the List of base Types for this Type.
+
+
+
+ +

+getDeclaredProperties

+
+java.util.List getDeclaredProperties()
+
+
Returns the Properties declared in this Type as opposed to + those declared in base Types. +

+

+ +
Returns:
the Properties declared in this Type.
+
+
+
+ +

+getAliasNames

+
+java.util.List getAliasNames()
+
+
Return a list of alias names for this Type. +

+

+ +
Returns:
a list of alias names for this Type.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+SDO API +
+ + + +
+- + + -- cgit v1.2.3