org.teiid.query.sql.lang
Class AlterTrigger
java.lang.Object
org.teiid.query.sql.lang.Command
org.teiid.query.sql.lang.Alter<TriggerAction>
org.teiid.query.sql.lang.AlterTrigger
- All Implemented Interfaces:
- java.lang.Cloneable, LanguageObject
public class AlterTrigger
- extends Alter<TriggerAction>
| Fields inherited from class org.teiid.query.sql.lang.Command |
tempGroupIDs, TYPE_ALTER_PROC, TYPE_ALTER_TRIGGER, TYPE_ALTER_VIEW, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_INSERT, TYPE_QUERY, TYPE_SQL, TYPE_STORED_PROCEDURE, TYPE_TRIGGER_ACTION, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE |
| Methods inherited from class org.teiid.query.sql.lang.Command |
addExternalGroupsToContext, addExternalGroupToContext, copyMetadataState, getAllExternalGroups, getCacheHint, getCorrelatedReferences, getExternalGroupContexts, getOption, getProcessorPlan, getTemporaryMetadata, getUpdateCommandSymbol, isResolved, printCommandTree, printCommandTree, pushNewResolvingContext, returnsResultSet, sameOptionAndHint, setCacheHint, setCorrelatedReferences, setExternalGroupContexts, setIsResolved, setOption, setProcessorPlan, setTemporaryMetadata, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
AlterTrigger
public AlterTrigger()
getEvent
public Table.TriggerEvent getEvent()
setEvent
public void setEvent(Table.TriggerEvent operation)
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
- Description copied from interface:
LanguageObject
- Method for accepting a visitor. It is the responsibility of the
language object to call back on the visitor.
- Parameters:
visitor - Visitor being used
clone
public AlterTrigger clone()
- Description copied from interface:
LanguageObject
- Implement clone to make objects cloneable.
- Specified by:
clone in interface LanguageObject- Specified by:
clone in class Command
- Returns:
- Deep clone of this object
getType
public int getType()
- Description copied from class:
Command
- Return type of command to make it easier to build switch statements by command type.
- Specified by:
getType in class Command
- Returns:
- Type from TYPE constants
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class Alter<TriggerAction>
setEnabled
public void setEnabled(java.lang.Boolean enabled)
getEnabled
public java.lang.Boolean getEnabled()
isCreate
public boolean isCreate()
setCreate
public void setCreate(boolean create)
Copyright © 2011. All Rights Reserved.