org.apache.derby.impl.sql.execute
Class TriggerInfo
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.TriggerInfo
-
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat
public final class TriggerInfo extends java.lang.Object implements Formatable
This is a simple class used to store the run time information about a foreign key. Used by DML to figure out what to check.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TriggerInfo()Niladic constructor for FormattableTriggerInfo(TriggerDescriptorList triggers)Constructor for TriggerInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetTypeFormatId()Get the formatID which corresponds to this class.voidreadExternal(java.io.ObjectInput in)Read this object from a stream of stored objects.java.lang.StringtoString()voidwriteExternal(java.io.ObjectOutput out)Write this object out
-
-
-
Constructor Detail
-
TriggerInfo
public TriggerInfo()
Niladic constructor for Formattable
-
TriggerInfo
public TriggerInfo(TriggerDescriptorList triggers)
Constructor for TriggerInfo- Parameters:
triggers- the list of trigger descriptors
-
-
Method Detail
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOExceptionWrite this object out- Specified by:
writeExternalin interfacejava.io.Externalizable- Parameters:
out- write bytes here- Throws:
java.io.IOException- thrown on error
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionRead this object from a stream of stored objects.- Specified by:
readExternalin interfacejava.io.Externalizable- Parameters:
in- read this.- Throws:
java.io.IOException- thrown on errorjava.lang.ClassNotFoundException- thrown on error
-
getTypeFormatId
public int getTypeFormatId()
Get the formatID which corresponds to this class.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- the formatID of this class
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG