public class MetaEntity extends MetaModel
Constructor and Description |
---|
MetaEntity() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Unique id of element, normally used to search the label in the resources files.
|
java.util.Collection |
getKeyFields() |
ModelMapping |
getMapping() |
java.lang.Class |
getPropertiesClass()
Class that contains the properties defined in this model.
|
boolean |
hasHiddenKeys()
If has key fields that aren't properties hence does not math with key properties.
|
boolean |
isKey(java.lang.String propertyName) |
addInterfaceName, addMetaCalculatorPostCreate, addMetaCalculatorPostLoad, addMetaCalculatorPostModify, addMetaCalculatorPreRemove, addMetaCollection, addMetaFinder, addMetaMethod, addMetaProperty, addMetaReference, addMetaValidator, addMetaValidatorRemove, addMetaView, containsMetaCollection, containsMetaProperty, containsMetaPropertyView, containsMetaReference, containsMetaReferenceWithModel, containsValidadors, existsForPOJOClass, extractKeyValues, extractKeyValuesFlattenEmbeddedIds, extractSearchKeyValues, fillPOJO, get, getAggregateReferencesNames, getAllKeyPropertiesNames, getAllMetaPropertiesKey, getAllPersistent, getAllPojoGenerated, getCalculatedPropertiesNames, getColectionsNames, getContainerModelName, getContainerReference, getEntityReferencesNames, getForPOJO, getForPOJOClass, getImplements, getInterfaceName, getInterfacesNames, getKeyPropertiesNames, getKeyReferencesNames, getMembersNames, getMembersNamesNestingAggregates, getMetaAggregateReferences, getMetaCalculatorPostCreate, getMetaCalculatorPostLoad, getMetaCalculatorPostModify, getMetaCalculatorPreRemove, getMetaCalculatorsPostCreate, getMetaCalculatorsPostLoad, getMetaCalculatorsPostModify, getMetaCalculatorsPreRemove, getMetaColectionsWithConditionReferenceTo, getMetaCollection, getMetaCollections, getMetaCollectionsAgregate, getMetaCollectionsWithConditionInOthersModels, getMetaComponent, getMetaEntityReferences, getMetaFinders, getMetaMember, getMetaMembersKey, getMetaMethod, getMetaMethods, getMetaModelContainer, getMetaProperties, getMetaPropertiesCalculated, getMetaPropertiesKey, getMetaPropertiesPersistents, getMetaPropertiesPersistentsFromReference, getMetaPropertiesView, getMetaPropertiesViewWithDefaultCalculator, getMetaPropertiesWithDefaultValueCalculator, getMetaPropertiesWithDefaultValueOnCreate, getMetaProperty, getMetaPropertyView, getMetaReference, getMetaReferences, getMetaReferencesKey, getMetaReferencesKeyAndSearchKey, getMetaReferencesToEntity, getMetaReferencesWithDefaultValueCalculator, getMetaReferencesWithMapping, getMetaValidators, getMetaValidatorsRemove, getMetaView, getMetaViewByDefault, getMetaViews, getOnlyReadPropertiesNames, getOnlyReadWithFormulaPropertiesNames, getPersistentPropertiesNames, getPOJOClass, getPOJOClassName, getPOJOKeyClass, getPropertiesNames, getPropertiesNamesWithoutHiddenNorTransient, getQualifiedName, getRecursiveQualifiedPropertiesNames, getRecursiveQualifiedPropertiesNamesIncludingCollections, getRecursiveQualifiedPropertiesNamesUntilSecondLevel, getRecursiveQualifiedPropertiesNamesUntilSecondLevelIncludingCollections, getReferencesNames, getRequiredMemberNames, getRequiredPropertiesNames, getVersionPropertyName, getViewPropertiesNames, hasDefaultCalculatorOnCreate, hasHiddenKey, hasVersionProperty, isAnnotatedEJB3, isCalculated, isHiddenKey, isKeyOrSearchKey, isPOJOAvailable, isPojoGenerated, isVersion, isXmlComponent, setAnnotatedEJB3, setContainerModelName, setContainerReference, setMetaComponent, setPOJOClassName, setPojoGenerated, setPOJOKeyClass, setQualifiedName, setXmlComponent, someModelHasDefaultCalculatorOnCreate, someModelHasPostCreateCalculator, someModelHasPostLoadCalculator, someModelHasPostModifyCalculator, someModelHasPreRemoveCalculator, toKeyMap, toMap, toPOJO, toString, toString, toString
getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLocale, getName, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setLabel, setName, setPlaceholder
public java.util.Collection getKeyFields() throws XavaException
XavaException
public boolean isKey(java.lang.String propertyName) throws XavaException
isKey
in class MetaModel
XavaException
public java.lang.Class getPropertiesClass() throws XavaException
MetaModel
getPropertiesClass
in class MetaModel
XavaException
public boolean hasHiddenKeys() throws XavaException
XavaException
public java.lang.String getId()
MetaElement
getId
in class MetaElement
public ModelMapping getMapping() throws XavaException
getMapping
in class MetaModel
XavaException