Package org.openxava.model.meta
Class MetaReference
java.lang.Object
org.openxava.util.meta.MetaElement
org.openxava.model.meta.MetaMember
org.openxava.model.meta.MetaReference
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MetaMember>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilterInDescriptionsList(MetaView metaView) getKeyProperty(String propertyKey) getLabel()getName()getParameterValuesPropertiesInDescriptionsList(MetaView metaView, MetaView rootMetaView) getRole()booleanbooleanbooleanbooleanisKey()booleanbooleanbooleanvoidsetAggregate(boolean aggregate) voidsetKey(boolean b) voidsetMetaCalculatorDefaultValue(MetaCalculator metaCalculatorDefaultValue) voidsetReferencedModelContainerReference(String referencedModelContainerReference) voidsetReferencedModelCorrespondingCollection(String referencedModelCorrespondingCollection) voidsetReferencedModelName(String referencedModelName) voidsetRequired(boolean required) voidvoidsetSearchKey(boolean searchKey) voidsetUsedForCollection(boolean usedForCollection) toString()Methods inherited from class org.openxava.model.meta.MetaMember
compareTo, getAnnotations, getId, getLabel, getLabelId, getMetaCalculator, getMetaModel, getPropertyNamesThatIDepend, getQualifiedName, getSimpleName, hasCalculator, isHidden, isTransient, setLabel, setLabelId, setMetaModel, setQualifiedName, setTransient, toQualifiedNamesMethods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLocale, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setName, setPlaceholder
-
Constructor Details
-
MetaReference
public MetaReference()
-
-
Method Details
-
getMetaCollectionFromReferencedModel
- Throws:
XavaException
-
getOrderFromReferencedModel
- Throws:
XavaException
-
getMetaModelReferenced
- Throws:
XavaException
-
isAggregate
- Throws:
XavaException
-
setAggregate
public void setAggregate(boolean aggregate) -
getLabel
- Overrides:
getLabelin classMetaElement
-
getReferencedModelName
-
setReferencedModelName
-
isRequired
public boolean isRequired() -
setRequired
public void setRequired(boolean required) -
getName
- Overrides:
getNamein classMetaElement- Returns:
- java.lang.String Not null
-
getRole
-
setRole
-
isKey
public boolean isKey() -
setKey
public void setKey(boolean b) -
cloneMetaReference
- Throws:
XavaException
-
getMetaCalculatorDefaultValue
- Overrides:
getMetaCalculatorDefaultValuein classMetaMember
-
setMetaCalculatorDefaultValue
public void setMetaCalculatorDefaultValue(MetaCalculator metaCalculatorDefaultValue) throws XavaException - Throws:
XavaException
-
getDefaultValueCalculator
- Returns:
- null if this does not have default value calculator
- Throws:
XavaException
-
hasDefaultValueCalculator
public boolean hasDefaultValueCalculator()- Overrides:
hasDefaultValueCalculatorin classMetaMember
-
createDefaultValueCalculator
- Returns:
- null if this does not have calculator for default value
- Throws:
XavaException
-
hasNotDependentDefaultValueCalculator
public boolean hasNotDependentDefaultValueCalculator()- Since:
- 5.1
-
toString
-
isSearchKey
public boolean isSearchKey() -
setSearchKey
public void setSearchKey(boolean searchKey) -
getParameterValuesPropertiesInDescriptionsList
public String getParameterValuesPropertiesInDescriptionsList(MetaView metaView) throws XavaException - Throws:
XavaException
-
getParameterValuesPropertiesInDescriptionsList
public String getParameterValuesPropertiesInDescriptionsList(MetaView metaView, MetaView rootMetaView) throws XavaException - Throws:
XavaException- Since:
- 7.0.3
-
getFilterInDescriptionsList
- Throws:
XavaException- Since:
- 6.4
-
getKeyProperty
-
getKeyProperties
-
setReferencedModelContainerReference
-
getReferencedModelContainerReference
-
getReferencedModelCorrespondingCollection
-
setReferencedModelCorrespondingCollection
public void setReferencedModelCorrespondingCollection(String referencedModelCorrespondingCollection) -
isUsedForCollection
public boolean isUsedForCollection() -
setUsedForCollection
public void setUsedForCollection(boolean usedForCollection)
-