com.taggercat.metadata
Class AbstractMetaProperty

java.lang.Object
  extended by com.taggercat.model.AbstractTCEntity
      extended by com.taggercat.metadata.AbstractMetaProperty
All Implemented Interfaces:
com.taggercat.model.TCEntity, java.io.Serializable
Direct Known Subclasses:
MetaProperty

public abstract class AbstractMetaProperty
extends com.taggercat.model.AbstractTCEntity
implements java.io.Serializable

This is the base class for the MetaProperty. It includes information from the Hibernate meta data. This information is not duplicated into our runtime meta data maintained in SQL. Instances of MetaProperty include the information from the Hibernate meta data, as well as the information from the runtime meta data. The runtime meta data is maintained in SQL tables.

See Also:
Serialized Form
 

Constructor Summary
AbstractMetaProperty()
           
 
Method Summary
 java.lang.String getAssociationClass()
           
 java.lang.String getDatatype()
           
 int getMaxLength()
           
 int getSqlType()
           
 boolean isAssociation()
           
 boolean isManyToOneAssociation()
           
 boolean isRequired()
           
 boolean isUpdateable()
           
 void setAssociation(boolean association)
           
 void setAssociationClass(java.lang.String associationClass)
           
 void setDatatype(java.lang.String datatype)
           
 void setManyToOneAssociation(boolean manyToOneAssociation)
           
 void setMaxLength(int maxLength)
           
 void setRequired(boolean required)
           
 void setSqlType(int sqlType)
           
 void setUpdateable(boolean updateable)
           
 
Methods inherited from class com.taggercat.model.AbstractTCEntity
afterDelete, afterInsert, afterSave, afterUpdate, beforeSave, beforeUpdate, equals, getEntityClassName, getEntityName, getIdentifier, getIdentifierPropertyName, getNewlyInserted, getOldValue, getOriginalValue, getPKHexCode, getPropertyStringValue, getPropertyValue, getRowID, getUserValue, getUserValues, hashCode, hasUndoValues, isFullyMaterialized, isModified, isNewlyInserted, isPropertyNull, pushOldValue, setFullyMaterialized, setFullyMaterialized, setIdentifierPropertyName, setModified, setModified, setNewlyInserted, setNewlyInserted, setPKHexCode, setUserValue, undo
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMetaProperty

public AbstractMetaProperty()
Method Detail

isManyToOneAssociation

public boolean isManyToOneAssociation()

setManyToOneAssociation

public void setManyToOneAssociation(boolean manyToOneAssociation)

getDatatype

public java.lang.String getDatatype()

setDatatype

public void setDatatype(java.lang.String datatype)

getMaxLength

public int getMaxLength()

setMaxLength

public void setMaxLength(int maxLength)

getSqlType

public int getSqlType()

setSqlType

public void setSqlType(int sqlType)

isUpdateable

public boolean isUpdateable()

setUpdateable

public void setUpdateable(boolean updateable)

isAssociation

public boolean isAssociation()

setAssociation

public void setAssociation(boolean association)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean required)

getAssociationClass

public java.lang.String getAssociationClass()

setAssociationClass

public void setAssociationClass(java.lang.String associationClass)