oracle.javatools.db.sql
Class FunctionUsage
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractChildDBObject
oracle.javatools.db.sql.AbstractSQLFragment
oracle.javatools.db.sql.Operation
oracle.javatools.db.sql.FunctionUsage
- All Implemented Interfaces:
- ChildDBObject, DBObject, ProviderUsage, DBObjectUsage, SQLFragment, Copyable, DynamicPropertySet
public class FunctionUsage
- extends Operation
- implements DBObjectUsage
Methods inherited from class oracle.javatools.db.sql.Operation |
addArgument, addArgument, addArguments, checkArgument, checkNewSize, copyToImpl, equalsImpl, getArgumentCount, getArguments, getDistinctText, getSeparator, getSQLText, removeArgument, setArguments, setCommutative, setFunctionFormat, setSeparator |
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, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, setProperties, setProperty |
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, getType, setID, setName |
FunctionUsage
public FunctionUsage()
getOperatorText
protected java.lang.String getOperatorText()
- Specified by:
getOperatorText
in class Operation
getFunction
public java.lang.String getFunction()
- Gets the function (text).
setObjectID
public void setObjectID(DBObjectID id)
- Description copied from interface:
DBObjectUsage
- Sets the ID for the object being used by this fragment.
- Specified by:
setObjectID
in interface DBObjectUsage
getObjectID
public DBObjectID getObjectID()
- Description copied from interface:
DBObjectUsage
- Gets the ID for the object being used by this fragment.
- Specified by:
getObjectID
in interface DBObjectUsage
setProvider
public void setProvider(DBObjectProvider pro)
- Description copied from interface:
ProviderUsage
- Sets the provider this usage exists within. The provider is used to convert
names to external versions when creating the SQL for the fragment. Without
this set names will not be quoted when appropriate.
- Specified by:
setProvider
in interface ProviderUsage
copyTo
public DBObject copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
- Description copied from class:
AbstractDBObject
- Internal copy method used by the API to perform copy operations. All
objects must implement this method if they are instantiable objects.
Abstract objects (e.g. Relation) must NOT implement this method. The
implementation should delegate to the copyToImpl method to copy
the actual properties.
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
- Specified by:
copyTo
in class AbstractDBObject
- See Also:
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
copyToImpl
protected void copyToImpl(FunctionUsage target,
DBObject copyParent,
IDPolicy idPolicy)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
equalsImpl
protected boolean equalsImpl(FunctionUsage obj)
getReferenceIDsImpl
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
- Description copied from class:
AbstractDBObject
- Used by the final getReferenceID() implementation. The list should not
contain null values, or be null. Subclasses should start with
super.getReferenceIDsImpl() and then add to the passed list as appopriate.
- Overrides:
getReferenceIDsImpl
in class AbstractDBObject
- Parameters:
refs
- the collection of ids this object references
replaceReferenceIDs
public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
- Description copied from class:
AbstractDBObject
- Override in subclasses to replace reference IDs as appropriate. Always
call super in the overridden implementation to make sure the default
implementation (which checks the property map) is called.
- Specified by:
replaceReferenceIDs
in interface DBObject
- Overrides:
replaceReferenceIDs
in class AbstractDBObject
- Parameters:
idMap
- key = old DBObjectID, value = new DBObjectID
- Returns:
- true if any ids were replaced.
Copyright © 1997, 2009, Oracle. All rights reserved.