public class TblProperty extends AbstractSQLFragment
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LIST_PROPERTY
This is also the property name for a TblProperty[] that define the
TBLPROPERTIES for a given DBObject.
|
static java.lang.String |
TYPE
Type String for this object.
|
AS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description |
|---|
TblProperty()
Creates a new property with no name/value set.
|
TblProperty(java.lang.String name,
java.lang.String propValue)
Creates a new property with a given name and value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of this table property.
|
java.lang.String |
getSQLText()
Return the SQL for this fragment.
|
java.lang.String |
getTablePropertyValue()
Gets the value of this table property.
|
java.lang.String |
getType()
Returns the type of this object.
|
void |
setTablePropertyValue(java.lang.String propValue)
Sets the value of this table property.
|
static void |
setTblProperty(AbstractDBObject obj,
java.lang.String name,
java.lang.String value)
Utility method to add/change/remove a new TblProperty to the
TBLPROPERTIES for an object.
|
appendToBuffer, appendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, copyToImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String LIST_PROPERTY
public static final java.lang.String TYPE
public TblProperty()
public TblProperty(java.lang.String name,
java.lang.String propValue)
name - the name of the propertypropValue - the value of the propertypublic java.lang.String getType()
DBObjectgetType in interface DBObjectgetType in class AbstractSQLFragmentpublic java.lang.String getName()
getName in interface DBObjectgetName in class AbstractSQLFragmentpublic java.lang.String getTablePropertyValue()
public void setTablePropertyValue(java.lang.String propValue)
propValue - the valuepublic java.lang.String getSQLText()
SQLFragmentpublic static final void setTblProperty(AbstractDBObject obj, java.lang.String name, java.lang.String value)
obj - the object to change the TBLPROPERTIES forname - the name of the TblProperty to add/change/removevalue - the new value for the named property, or null to remove
the property.