|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--oracle.jbo.common.ws.WSAttributeDefImpl
| Field Summary |
| Fields inherited from interface oracle.jbo.AttributeDef |
ATTR_ASSOCIATED_ROW, ATTR_ASSOCIATED_ROWITERATOR, ATTR_DYNAMIC, ATTR_ENTITY_DERIVED, ATTR_PERSISTENT, ATTR_SQL_DERIVED, ATTR_TRANSIENT, READONLY, UPDATEABLE, UPDATEABLE_WHILE_NEW |
| Constructor Summary | |
WSAttributeDefImpl(java.lang.String name) | |
| Method Summary | |
byte |
getAttributeKind()Gets the attribute value. |
java.lang.String |
getColumnName()Gets the name of the database column the attribute represents. |
java.lang.String |
getColumnNameForQuery()Gets the column name to be used in query statement. |
int |
getElemSQLType()Returns the jdbc type of the elements of this attribute. |
java.lang.Class |
getElemType()Returns the element type of the attribute. |
int |
getIndex()Gets the index of the attribute in the context of a StoreInfo instance. |
java.lang.Class |
getJavaType()Gets the Java class of the object stored for this attribute definition. |
java.lang.String |
getName()Gets the name of the attribute. |
int |
getPrecision()Gets the precision of a numeric or string attribute. |
java.util.Hashtable |
getProperties()Gets the table of properties. |
java.lang.Object |
getProperty(java.lang.String hintName)Retrieves the specified property, if it exists. |
int |
getScale()Get the scale value of a numeric attribute. |
int |
getSQLType()Gets the JDBC type of the attribute. |
AttributeHints |
getUIHelper()Returns the user interface hints interface for retrieving hint information such as labels, prompts,... |
byte |
getUpdateableFlag()Tests if an attribute can be modified. |
boolean |
isMandatory()Tests if an attribute does not allow null values. |
boolean |
isPrimaryKey()Tests if an attribute is a Primary Key. |
boolean |
isQueriable()Tests if an attribute is queriable. |
java.lang.Object |
refreshProperty(java.lang.String hintName)Retrieves the specified property, if it exists. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSAttributeDefImpl(java.lang.String name)
| Method Detail |
public byte getAttributeKind()
AttributeDefgetAttributeKind in interface AttributeDefATTR constants defined for this class.public java.lang.String getName()
AttributeDefgetName in interface AttributeDefpublic java.lang.String getColumnName()
AttributeDefgetColumnName in interface AttributeDefpublic java.lang.String getColumnNameForQuery()
AttributeDefgetColumnNameForQuery in interface AttributeDefpublic int getIndex()
AttributeDefStoreInfo instance.getIndex in interface AttributeDefpublic java.lang.Class getJavaType()
AttributeDefgetJavaType in interface AttributeDefpublic int getSQLType()
AttributeDefgetSQLType in interface AttributeDefTypespublic int getScale()
AttributeDefgetScale in interface AttributeDefpublic int getPrecision()
AttributeDef'Precision' for a string is the maximum length.
getPrecision in interface AttributeDefpublic boolean isQueriable()
AttributeDefQueriable is a UI/Control-Hint that the JSP and other form-generation utilities use to generate the find form. In JClient this flag is consulted at runtime to decide if an attribute-bound control should participate in find mode to build where-clause-fragments for a ViewObject.
isQueriable in interface AttributeDeftrue if this attribute is queriable.public byte getUpdateableFlag()
AttributeDefgetUpdateableFlag in interface AttributeDefREADONLY, UPDATEABLE, or UPDATEABLE_WHILE_NEW.public boolean isPrimaryKey()
AttributeDefisPrimaryKey in interface AttributeDeftrue if this is either a Primary Key attribute or part of the attributes that constitute the Primary Key for a given row.public boolean isMandatory()
AttributeDefisMandatory in interface AttributeDeftrue if this attribute cannot store a null valuepublic AttributeHints getUIHelper()
AttributeDefgetUIHelper in interface AttributeDefAttributeHintspublic java.lang.Class getElemType()
AttributeDefFor VARRAYs, this method returns the class name of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
getElemType in interface AttributeDefpublic int getElemSQLType()
AttributeDefFor VARRAYs, this method returns the jdbc type of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
getElemSQLType in interface AttributeDefpublic java.lang.Object getProperty(java.lang.String hintName)
PropertiesgetProperty in interface PropertieshintName - Property name.null.public java.lang.Object refreshProperty(java.lang.String hintName)
PropertiesgetProperty.refreshProperty in interface PropertieshintName - Property name.null.public java.util.Hashtable getProperties()
PropertiesgetProperties in interface Properties
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.