Class ObjectVarrayDefinition
- java.lang.Object
-
- org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
-
- org.eclipse.persistence.tools.schemaframework.VarrayDefinition
-
- org.eclipse.persistence.tools.schemaframework.ObjectVarrayDefinition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class ObjectVarrayDefinition extends VarrayDefinition
Purpose: Allow for creation of object varray type.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isNullAllowed
-
Fields inherited from class org.eclipse.persistence.tools.schemaframework.VarrayDefinition
size, type, typeName, typeSize
-
Fields inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
name, qualifier
-
-
Constructor Summary
Constructors Constructor Description ObjectVarrayDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTypeString(java.io.Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Append the type.boolean
isNullAllowed()
PUBLIC: Return if the varray collection is allowed NULL or notvoid
setIsNullAllowed(boolean isNullAllowed)
PUBLIC: Set if the varray collection is allowed NULL or not-
Methods inherited from class org.eclipse.persistence.tools.schemaframework.VarrayDefinition
buildCreationWriter, buildDeletionWriter, getSize, getType, getTypeName, getTypeSize, setSize, setType, setTypeName, setTypeSize
-
Methods inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
buildVPDCreationFunctionWriter, buildVPDCreationPolicyWriter, buildVPDDeletionWriter, clone, createDatabaseSchema, createDatabaseSchemaOnDatabase, createObject, createOnDatabase, dropDatabaseSchema, dropDatabaseSchemaOnDatabase, dropFromDatabase, dropObject, getDatabaseSchema, getFieldTypeDefinition, getFieldTypeDefinition, getFullName, getName, getQualifier, hasDatabaseSchema, postCreateObject, preDropObject, setName, setQualifier, shouldCreateDatabaseSchema, shouldCreateVPDCalls, toString
-
-
-
-
Method Detail
-
appendTypeString
public void appendTypeString(java.io.Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) throws ValidationException
INTERNAL: Append the type.- Overrides:
appendTypeString
in classVarrayDefinition
- Parameters:
writer
- Target writer where to write type string.session
- Current session context.- Throws:
ValidationException
- When invalid or inconsistent data were found.
-
isNullAllowed
public boolean isNullAllowed()
PUBLIC: Return if the varray collection is allowed NULL or not
-
setIsNullAllowed
public void setIsNullAllowed(boolean isNullAllowed)
PUBLIC: Set if the varray collection is allowed NULL or not
-
-