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:
Serializable
,Cloneable
Purpose: Allow for creation of object varray type.
- See Also:
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTypeString
(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) INTERNAL: Append the type.boolean
PUBLIC: Return if the varray collection is allowed NULL or notvoid
setIsNullAllowed
(boolean isNullAllowed) PUBLIC: Set if the varray collection is allowed NULL or notMethods 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
-
Field Details
-
isNullAllowed
protected boolean isNullAllowed
-
-
Constructor Details
-
ObjectVarrayDefinition
public ObjectVarrayDefinition()
-
-
Method Details
-
appendTypeString
public void appendTypeString(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
-