|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractChildDBObject oracle.javatools.db.datatypes.DataTypeAttribute
public class DataTypeAttribute
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static int |
DATATYPE_CHAR
|
static int |
DATATYPE_LONG
|
static java.lang.String |
DATATYPE_NAME
|
static java.lang.String |
DATATYPE_PRECISION
|
static java.lang.String |
DATATYPE_SCALE
|
static java.lang.String |
DATATYPE_SIZE
|
static java.lang.String |
DATATYPE_UNSIGNED
|
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
DataTypeAttribute()
|
|
DataTypeAttribute(java.lang.String name)
Use this constructor for non declarable attributes. |
|
DataTypeAttribute(java.lang.String name,
int labelIndex,
long minValue,
java.lang.Long maxValue,
java.lang.Long defaultValue,
boolean isMandatory)
Use this constructor for declarable numeric attributes, e.g. |
|
DataTypeAttribute(java.lang.String name,
int labelIndex,
java.lang.String[] values,
java.lang.String defaultValue,
boolean isExtensible,
boolean isMandatory)
Use this constructor for String attributes where there are one or more fixed values, e.g. |
|
DataTypeAttribute(java.lang.String name,
int labelIndex,
java.lang.String defaultValue,
boolean isMandatory)
Use this constructor for String attributes where the user enters the value e.g. |
|
DataTypeAttribute(java.lang.String name,
long minValue,
long maxValue)
Use this constructor for numeric attributes which are not declared but are used in default value validation, e.g Oracle LONG, CLOB. |
Method Summary | |
---|---|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(DataTypeAttribute target,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
protected boolean |
equalsImpl(DataTypeAttribute target)
|
java.lang.Object |
getDefaultValue()
|
java.lang.String |
getLabel()
|
java.lang.Long |
getMaxValue()
|
java.lang.Long |
getMinValue()
|
java.lang.String |
getType()
Returns the type of this object. |
java.lang.String[] |
getValues()
|
int |
getValueType()
|
boolean |
isDeclarable()
|
boolean |
isExtensible()
|
boolean |
isMandatory()
|
Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
---|
copyToImpl, findParent, getParent, setParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Field Detail |
---|
public static final java.lang.String TYPE
public static final java.lang.String DATATYPE_NAME
public static final java.lang.String DATATYPE_SIZE
public static final java.lang.String DATATYPE_PRECISION
public static final java.lang.String DATATYPE_SCALE
public static final java.lang.String DATATYPE_UNSIGNED
public static final int DATATYPE_CHAR
public static final int DATATYPE_LONG
Constructor Detail |
---|
public DataTypeAttribute()
public DataTypeAttribute(java.lang.String name, long minValue, long maxValue)
name
- : attribute name - must match an @name in the data type definitionminValue
- maxValue
- public DataTypeAttribute(java.lang.String name, int labelIndex, long minValue, java.lang.Long maxValue, java.lang.Long defaultValue, boolean isMandatory)
name
- : attribute name - must match an @name in the data type definitionlabelIndex
- : index of display label for attributeminValue
- maxValue
- defaultValue
- : value of attribute when it's optional and not declared,
value for UI when attribute is mandatory.isMandatory
- : TRUE if attribute must be declaredpublic DataTypeAttribute(java.lang.String name, int labelIndex, java.lang.String defaultValue, boolean isMandatory)
name
- : attribute name - must match an <attribute> in the data type definitionlabelIndex
- : index of display label for attributedefaultValue
- : value of attribute when it's optional and not declared,
value for UI when attribute is mandatory.isMandatory
- : TRUE if attribute must be declaredpublic DataTypeAttribute(java.lang.String name, int labelIndex, java.lang.String[] values, java.lang.String defaultValue, boolean isExtensible, boolean isMandatory)
name
- : attribute name - must match an <attribute> in the data type definitionlabelIndex
- : index of display label for attributevalues
- : array of string values to populate pick listdefaultValue
- : value of attribute when it's optional and not declared,
value for UI when attribute is mandatory.isExtensible
- : TRUE if user entered values can be addedisMandatory
- : TRUE if attribute must be declaredpublic DataTypeAttribute(java.lang.String name)
name
- : attribute name - must match an @name in the data type definitionMethod Detail |
---|
public int getValueType()
public java.lang.String getLabel()
public java.lang.Long getMinValue()
public java.lang.Long getMaxValue()
public java.lang.String[] getValues()
public java.lang.Object getDefaultValue()
public boolean isDeclarable()
public boolean isMandatory()
public boolean isExtensible()
public final java.lang.String getType()
DBObject
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
protected boolean equalsImpl(DataTypeAttribute target)
public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class AbstractDBObject
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
protected void copyToImpl(DataTypeAttribute target, DBObject copyParent, IDPolicy idPolicy)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |