com.taggercat.metadata
Class MetaEntity

java.lang.Object
  extended by com.taggercat.model.AbstractTCEntity
      extended by com.taggercat.metadata.MetaEntity
All Implemented Interfaces:
com.taggercat.model.TCEntity, java.io.Serializable

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

MetaEntity generated by hbm2java

See Also:
Serialized Form
 

Constructor Summary
MetaEntity()
          default constructor
MetaEntity(long id, MetaEntityCategoryType metaEntityCategoryType, java.lang.String name, java.lang.String pluralCaption, java.lang.String singularCaption, java.lang.Boolean isCodeTable, java.lang.String ctDisplayProperty, java.lang.String ctCodeProperty, java.lang.String description, java.lang.String defaultSearchPage, java.lang.String defaultEditPage)
          full constructor
MetaEntity(long id, java.lang.String name, java.lang.Boolean isCodeTable)
          minimal constructor
 
Method Summary
 void addMetaEntityConstraint(MetaEntityConstraint entityConstraint)
           
 void addMetaEntityExtProperty(MetaEntityExtProperty extProp)
           
 void addMetaEntityPermission(MetaEntityPermission entityPermission)
           
 void addMetaProperty(MetaProperty mp)
           
 java.util.List<MetaProperty> getCollectionPropertiesList()
           
 java.util.List getConstraints()
           
 java.lang.String getCtCodeProperty()
           
 java.lang.String getCtDisplayProperty()
           
 MetaProperty getDeepProperty(java.lang.String propName)
           
 java.util.List<MetaProperty> getDeepPropertyList()
          Recursively get the properties for this entity, where this will include all properties on associations.
 java.lang.String getDefaultEditPage()
           
 java.lang.String getDefaultSearchPage()
           
 java.lang.String getDescription()
           
 java.util.List getExtendedProperties()
           
 java.util.Map<java.lang.String,java.lang.String> getExtProperties()
           
 long getId()
           
 java.lang.Boolean getIsCodeTable()
           
 java.util.Map getMetaData()
           
 MetaEntityCategoryType getMetaEntityCategoryType()
           
 java.lang.String getMtTenantName()
           
 java.lang.String getName()
           
 java.util.List getPermissions()
           
 java.lang.String getPluralCaption()
           
 java.util.List getProperties()
           
 java.util.List<MetaProperty> getPropertiesList()
           
 java.util.Map<java.lang.String,MetaProperty> getPropertiesMap()
           
 MetaProperty getProperty(java.lang.String propName)
           
 java.lang.String getShortName()
           
 java.lang.String getSingularCaption()
           
 java.lang.Boolean isAuditEnabled()
           
 void setAuditEnabled(java.lang.Boolean auditEnabled)
           
 void setConstraints(java.util.List constraints)
           
 void setCtCodeProperty(java.lang.String ctCodeProperty)
           
 void setCtDisplayProperty(java.lang.String ctDisplayColumn)
           
 void setDefaultEditPage(java.lang.String defaultEditPage)
           
 void setDefaultSearchPage(java.lang.String defaultSearchPage)
           
 void setDescription(java.lang.String description)
           
 void setExtendedProperties(java.util.List extendedProperties)
           
 void setId(long id)
           
 void setIsCodeTable(java.lang.Boolean isCodeTable)
           
 void setMetaData(java.util.Map metaData)
           
 void setMetaEntityCategoryType(MetaEntityCategoryType metaEntityCategoryType)
           
 void setMtTenantName(java.lang.String mtTenantName)
           
 void setName(java.lang.String name)
           
 void setPermissions(java.util.List permissions)
           
 void setPluralCaption(java.lang.String pluralCaption)
           
 void setProperties(java.util.List properties)
           
 void setShortName(java.lang.String componentName)
           
 void setSingularCaption(java.lang.String singularCaption)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

MetaEntity

public MetaEntity()
default constructor


MetaEntity

public MetaEntity(long id,
                  java.lang.String name,
                  java.lang.Boolean isCodeTable)
minimal constructor


MetaEntity

public MetaEntity(long id,
                  MetaEntityCategoryType metaEntityCategoryType,
                  java.lang.String name,
                  java.lang.String pluralCaption,
                  java.lang.String singularCaption,
                  java.lang.Boolean isCodeTable,
                  java.lang.String ctDisplayProperty,
                  java.lang.String ctCodeProperty,
                  java.lang.String description,
                  java.lang.String defaultSearchPage,
                  java.lang.String defaultEditPage)
full constructor

Method Detail

getMetaData

public java.util.Map getMetaData()

setMetaData

public void setMetaData(java.util.Map metaData)

getId

public long getId()

setId

public void setId(long id)

getMtTenantName

public java.lang.String getMtTenantName()
Returns:
the mtTenantName

setMtTenantName

public void setMtTenantName(java.lang.String mtTenantName)
Parameters:
mtTenantName - the mtTenantName to set

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getPluralCaption

public java.lang.String getPluralCaption()

setPluralCaption

public void setPluralCaption(java.lang.String pluralCaption)

getSingularCaption

public java.lang.String getSingularCaption()

setSingularCaption

public void setSingularCaption(java.lang.String singularCaption)

getIsCodeTable

public java.lang.Boolean getIsCodeTable()

setIsCodeTable

public void setIsCodeTable(java.lang.Boolean isCodeTable)

getCtDisplayProperty

public java.lang.String getCtDisplayProperty()

setCtDisplayProperty

public void setCtDisplayProperty(java.lang.String ctDisplayColumn)

getCtCodeProperty

public java.lang.String getCtCodeProperty()

setCtCodeProperty

public void setCtCodeProperty(java.lang.String ctCodeProperty)

getConstraints

public java.util.List getConstraints()

setConstraints

public void setConstraints(java.util.List constraints)

getProperties

public java.util.List getProperties()

getCollectionPropertiesList

public java.util.List<MetaProperty> getCollectionPropertiesList()

getPropertiesList

public java.util.List<MetaProperty> getPropertiesList()

getProperty

public MetaProperty getProperty(java.lang.String propName)

getDeepProperty

public MetaProperty getDeepProperty(java.lang.String propName)

setProperties

public void setProperties(java.util.List properties)

getPermissions

public java.util.List getPermissions()

setPermissions

public void setPermissions(java.util.List permissions)

getExtendedProperties

public java.util.List getExtendedProperties()

setExtendedProperties

public void setExtendedProperties(java.util.List extendedProperties)

addMetaProperty

public void addMetaProperty(MetaProperty mp)

addMetaEntityPermission

public void addMetaEntityPermission(MetaEntityPermission entityPermission)

addMetaEntityExtProperty

public void addMetaEntityExtProperty(MetaEntityExtProperty extProp)

addMetaEntityConstraint

public void addMetaEntityConstraint(MetaEntityConstraint entityConstraint)

getMetaEntityCategoryType

public MetaEntityCategoryType getMetaEntityCategoryType()

setMetaEntityCategoryType

public void setMetaEntityCategoryType(MetaEntityCategoryType metaEntityCategoryType)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getDefaultSearchPage

public java.lang.String getDefaultSearchPage()

setDefaultSearchPage

public void setDefaultSearchPage(java.lang.String defaultSearchPage)

getDefaultEditPage

public java.lang.String getDefaultEditPage()

setDefaultEditPage

public void setDefaultEditPage(java.lang.String defaultEditPage)

isAuditEnabled

public java.lang.Boolean isAuditEnabled()

setAuditEnabled

public void setAuditEnabled(java.lang.Boolean auditEnabled)

getDeepPropertyList

public java.util.List<MetaProperty> getDeepPropertyList()
Recursively get the properties for this entity, where this will include all properties on associations.

Returns:
the deep property list

getShortName

public java.lang.String getShortName()
Returns:
the the simple name for this entity; with no package prefix

setShortName

public void setShortName(java.lang.String componentName)
Parameters:
componentName - the componentName to set

getPropertiesMap

public java.util.Map<java.lang.String,MetaProperty> getPropertiesMap()
Returns:
the meta properties as a Map

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getExtProperties

public java.util.Map<java.lang.String,java.lang.String> getExtProperties()
Returns:
the extProperties ( a map of the extended properties )