Package org.teiid.metadata
Class Trigger
- java.lang.Object
-
- org.teiid.metadata.AbstractMetadataRecord
-
- org.teiid.metadata.Trigger
-
- All Implemented Interfaces:
Serializable
public class Trigger extends AbstractMetadataRecord
Represents a trigger on a physical table- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.metadata.AbstractMetadataRecord
AbstractMetadataRecord.DataModifiable, AbstractMetadataRecord.Modifiable
-
-
Field Summary
-
Fields inherited from class org.teiid.metadata.AbstractMetadataRecord
NAME_DELIM_CHAR, RELATIONAL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Trigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Table.TriggerEvent
getEvent()
String
getName()
String
getPlan()
boolean
isAfter()
void
setAfter(boolean after)
void
setEvent(Table.TriggerEvent event)
void
setName(String name)
void
setPlan(String plan)
-
Methods inherited from class org.teiid.metadata.AbstractMetadataRecord
equals, getAnnotation, getCanonicalName, getFullName, getIdentifier, getIncomingObjects, getNameInSource, getParent, getProperties, getProperty, getProperty, getSourceName, getSQLString, getSQLString, getUUID, hashCode, isUUIDSet, setAnnotation, setIncomingObjects, setNameInSource, setProperties, setProperty, setUUID, toString
-
-
-
-
Method Detail
-
getEvent
public Table.TriggerEvent getEvent()
-
setEvent
public void setEvent(Table.TriggerEvent event)
-
getPlan
public String getPlan()
-
setPlan
public void setPlan(String plan)
-
isAfter
public boolean isAfter()
-
setAfter
public void setAfter(boolean after)
-
getName
public String getName()
- Overrides:
getName
in classAbstractMetadataRecord
-
setName
public void setName(String name)
- Overrides:
setName
in classAbstractMetadataRecord
-
-