|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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.datatypes.PredefinedDataType oracle.javatools.db.datatypes.BinaryDataType
public class BinaryDataType
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary |
---|
Fields inherited from interface oracle.javatools.db.datatypes.DataType |
---|
PCTROWTYPE, PCTTYPE, REF, TYPE |
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
BinaryDataType()
|
|
BinaryDataType(int domain,
java.lang.String name)
Use this constructor when the data type is a simple name with no declarable attributes. |
|
BinaryDataType(int domain,
java.lang.String name,
long minSize,
long maxSize)
Use this constructor when the data type has a maximum size that is used in default value validation, but isn't declarable, e.g. |
|
BinaryDataType(int domain,
java.lang.String name,
java.lang.String definition,
DataTypeAttribute[] attributes)
Use this constructor when the datatype has declarable attributes. |
|
BinaryDataType(int domain,
java.lang.String name,
java.lang.String definition,
long minSize,
long maxSize,
long defaultSize,
boolean isSizeMandatory,
DataTypeAttribute[] attributes)
Use this constructor when the data type has a declarable maximum size, e.g. |
Method Summary | |
---|---|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(BinaryDataType target,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object obj)
|
protected boolean |
equalsImpl(BinaryDataType other)
|
void |
validateDefaultValue(java.lang.Object defaultValue,
DataTypeUsage dataTypeUsage,
DBObject dbObject)
Validates defaultValue for dataTypeUsage against the declared size of this binary type. |
Methods inherited from class oracle.javatools.db.datatypes.PredefinedDataType |
---|
addAttribute, addAttribute, copyToImpl, createDefaultUsage, createUsage, createUsage, equalsImpl, getDataTypeAttribute, getDataTypeAttributes, getDDL, getParent, getType, hasDataTypeAttribute, matches, parseDefaultValue, removeAttribute, tokenize, validateDefinition, validateUsage |
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 |
Constructor Detail |
---|
public BinaryDataType()
public BinaryDataType(int domain, java.lang.String name)
domain
- : Context of data type definition, e.g. column, variable.
Domains are specific to each database and are defined in their interface.name
- public BinaryDataType(int domain, java.lang.String name, java.lang.String definition, DataTypeAttribute[] attributes)
domain
- : Context of data type definition, e.g. column, variable.
Domains are specific to each database and are defined in their interface.name
- definition
- attributes
- : Definitions of the data type's attributespublic BinaryDataType(int domain, java.lang.String name, long minSize, long maxSize)
domain
- : Context of data type definition, e.g. column, variable.
Domains are specific to each database and are defined in their interface.name
- : data type nameminSize
- : the minimum size of the data type (usually 1 but may be 0)maxSize
- : the maximum size of the data typepublic BinaryDataType(int domain, java.lang.String name, java.lang.String definition, long minSize, long maxSize, long defaultSize, boolean isSizeMandatory, DataTypeAttribute[] attributes)
domain
- : Context of data type definition, e.g. column, variable.
Domains are specific to each database and are defined in their interface.name
- : data type namedefinition
- minSize
- : the minimum size of the data typemaxSize
- : the maximum size of the data typedefaultSize
- : size of data type when size is optional and not declared,
default size for UI when size is mandatory.isSizeMandatory
- : TRUE when size has to be declaredattributes
- : Definitions of additional attributesMethod Detail |
---|
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 PredefinedDataType
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(BinaryDataType target, DBObject copyParent, IDPolicy idPolicy)
public boolean equals(java.lang.Object obj)
equals
in class PredefinedDataType
protected boolean equalsImpl(BinaryDataType other)
public void validateDefaultValue(java.lang.Object defaultValue, DataTypeUsage dataTypeUsage, DBObject dbObject) throws DefaultValueValidationException
validateDefaultValue
in interface DataType
validateDefaultValue
in class PredefinedDataType
dataTypeUsage
- : the usage to be validateddefaultValue
- : the default valuedbObject
- : the context of the data type usage
DefaultValueValidationException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |