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:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<MetaMember>
public class MetaReference extends MetaMember implements java.lang.Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaReference()
-
Method Summary
-
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, toQualifiedNames
-
Methods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getDescription, getLabel, getLabel, getLocale, getPlaceholder, getPlaceholder, getPlaceholder, has18nLabel, hasName, setDescription, setName, setPlaceholder
-
-
-
-
Method Detail
-
getMetaCollectionFromReferencedModel
public MetaCollection getMetaCollectionFromReferencedModel() throws XavaException
- Throws:
XavaException
-
getOrderFromReferencedModel
public java.lang.String getOrderFromReferencedModel() throws XavaException
- Throws:
XavaException
-
getMetaModelReferenced
public MetaModel getMetaModelReferenced() throws XavaException
- Throws:
XavaException
-
isAggregate
public boolean isAggregate() throws XavaException
- Throws:
XavaException
-
setAggregate
public void setAggregate(boolean aggregate)
-
getLabel
public java.lang.String getLabel()
- Overrides:
getLabel
in classMetaElement
-
getReferencedModelName
public java.lang.String getReferencedModelName()
-
setReferencedModelName
public void setReferencedModelName(java.lang.String referencedModelName)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
getName
public java.lang.String getName()
- Overrides:
getName
in classMetaElement
- Returns:
- java.lang.String Not null
-
getRole
public java.lang.String getRole()
-
setRole
public void setRole(java.lang.String role)
-
isKey
public boolean isKey()
-
setKey
public void setKey(boolean b)
-
cloneMetaReference
public MetaReference cloneMetaReference() throws XavaException
- Throws:
XavaException
-
getMetaCalculatorDefaultValue
public MetaCalculator getMetaCalculatorDefaultValue()
- Overrides:
getMetaCalculatorDefaultValue
in classMetaMember
-
setMetaCalculatorDefaultValue
public void setMetaCalculatorDefaultValue(MetaCalculator metaCalculatorDefaultValue) throws XavaException
- Throws:
XavaException
-
getDefaultValueCalculator
public ICalculator getDefaultValueCalculator() throws XavaException
- Returns:
- null if this does not have default value calculator
- Throws:
XavaException
-
hasDefaultValueCalculator
public boolean hasDefaultValueCalculator()
- Overrides:
hasDefaultValueCalculator
in classMetaMember
-
createDefaultValueCalculator
public ICalculator createDefaultValueCalculator() throws XavaException
- Returns:
- null if this does not have calculator for default value
- Throws:
XavaException
-
hasNotDependentDefaultValueCalculator
public boolean hasNotDependentDefaultValueCalculator()
- Since:
- 5.1
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isSearchKey
public boolean isSearchKey()
-
setSearchKey
public void setSearchKey(boolean searchKey)
-
getParameterValuesPropertiesInDescriptionsList
public java.lang.String getParameterValuesPropertiesInDescriptionsList(MetaView metaView) throws XavaException
- Throws:
XavaException
-
getParameterValuesPropertiesInDescriptionsList
public java.lang.String getParameterValuesPropertiesInDescriptionsList(MetaView metaView, MetaView rootMetaView) throws XavaException
- Throws:
XavaException
- Since:
- 7.0.3
-
getFilterInDescriptionsList
public java.lang.String getFilterInDescriptionsList(MetaView metaView) throws XavaException
- Throws:
XavaException
- Since:
- 6.4
-
getKeyProperty
public java.lang.String getKeyProperty(java.lang.String propertyKey)
-
getKeyProperties
public java.lang.String getKeyProperties()
-
setReferencedModelContainerReference
public void setReferencedModelContainerReference(java.lang.String referencedModelContainerReference)
-
getReferencedModelContainerReference
public java.lang.String getReferencedModelContainerReference()
-
getReferencedModelCorrespondingCollection
public java.lang.String getReferencedModelCorrespondingCollection()
-
setReferencedModelCorrespondingCollection
public void setReferencedModelCorrespondingCollection(java.lang.String referencedModelCorrespondingCollection)
-
isUsedForCollection
public boolean isUsedForCollection()
-
setUsedForCollection
public void setUsedForCollection(boolean usedForCollection)
-
-