Class PLSQLPackageType
java.lang.Object
org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeTestableBase
org.eclipse.persistence.tools.oracleddl.metadata.PLSQLPackageType
- All Implemented Interfaces:
CompositeDatabaseType
,DatabaseType
,DatabaseTypeCompositeTestable
,DatabaseTypeScalarTestable
,DatabaseTypeVisitable
public class PLSQLPackageType
extends DatabaseTypeTestableBase
implements CompositeDatabaseType, DatabaseTypeVisitable
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<PLSQLCursorType> protected String
protected List
<ProcedureType> protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(DatabaseTypeVisitor visitor) void
addCursor
(PLSQLCursorType cursorType) void
void
addProcedure
(ProcedureType procedureType) void
Return the schema name for this package.getTypes()
boolean
boolean
void
setEnclosedType
(DatabaseType enclosedType) void
setPackageName
(String packageName) void
Set the schema name for this package.void
setTypeName
(String typeName) toString()
Methods inherited from class org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeTestableBase
isArgumentType, isBinaryType, isBlobType, isCharType, isClobType, isDbTableType, isDecimalType, isDoubleType, isFieldType, isFloatType, isFunctionType, isIntervalDayToSecond, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isObjectTableType, isObjectType, isPLSQLCollectionType, isPLSQLCursorType, isPLSQLRecordType, isPLSQLSubType, isPLSQLType, isPrecisionType, isProcedureType, isRawType, isRealType, isROWTYPEType, isScalar, isSizedType, isTableType, isTimeStampType, isTYPEType, isURowIdType, isVarChar2Type, isVarCharType, isVArrayType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeCompositeTestable
isArgumentType, isDbTableType, isFieldType, isFunctionType, isObjectTableType, isObjectType, isPLSQLCollectionType, isPLSQLCursorType, isPLSQLRecordType, isPLSQLSubType, isPLSQLType, isProcedureType, isROWTYPEType, isTableType, isTYPEType, isVArrayType
Methods inherited from interface org.eclipse.persistence.tools.oracleddl.metadata.DatabaseTypeScalarTestable
isBinaryType, isBlobType, isCharType, isClobType, isDecimalType, isDoubleType, isFloatType, isIntervalDayToSecond, isIntervalYearToMonth, isLongRawType, isLongType, isNCharType, isNClobType, isNumericType, isNVarChar2Type, isPrecisionType, isRawType, isRealType, isScalar, isSizedType, isTimeStampType, isURowIdType, isVarChar2Type, isVarCharType
-
Field Details
-
packageName
-
schema
-
types
-
cursors
-
procedures
-
localVariables
-
-
Constructor Details
-
PLSQLPackageType
public PLSQLPackageType() -
PLSQLPackageType
-
-
Method Details
-
getTypeName
- Specified by:
getTypeName
in interfaceDatabaseType
-
getPackageName
-
setPackageName
-
setTypeName
- Specified by:
setTypeName
in interfaceDatabaseType
-
getSchema
Return the schema name for this package.- Returns:
- the schema name for this package
-
setSchema
Set the schema name for this package.- Parameters:
schema
- the schema name for this package
-
getTypes
-
addType
-
getCursors
-
getProcedures
-
getLocalVariables
-
addCursor
-
addProcedure
-
addLocalVariable
-
getEnclosedType
- Specified by:
getEnclosedType
in interfaceCompositeDatabaseType
-
setEnclosedType
- Specified by:
setEnclosedType
in interfaceCompositeDatabaseType
-
isComposite
public boolean isComposite()- Specified by:
isComposite
in interfaceDatabaseTypeCompositeTestable
- Overrides:
isComposite
in classDatabaseTypeTestableBase
-
isResolved
public boolean isResolved()- Specified by:
isResolved
in interfaceDatabaseType
-
accept
- Specified by:
accept
in interfaceDatabaseType
- Specified by:
accept
in interfaceDatabaseTypeVisitable
-
shortName
- Specified by:
shortName
in interfaceDatabaseType
-
toString
-