Class MetaMember

java.lang.Object
org.openxava.util.meta.MetaElement
org.openxava.model.meta.MetaMember
All Implemented Interfaces:
Serializable, Comparable<MetaMember>
Direct Known Subclasses:
MetaCollection, MetaGroup, MetaProperty, MetaReference

public abstract class MetaMember extends MetaElement implements Comparable<MetaMember>
Author:
Javier Paniza
See Also:
  • Constructor Details

    • MetaMember

      public MetaMember()
  • Method Details

    • getLabel

      public String getLabel(Locale locale)
      Description copied from class: MetaElement
      For refine the label calculation
      Overrides:
      getLabel in class MetaElement
    • setLabel

      public void setLabel(String newLabel)
      Overrides:
      setLabel in class MetaElement
    • toQualifiedNames

      public static <T extends MetaMember> List<String> toQualifiedNames(Collection<T> metaMembers)
      Since:
      5.6
    • compareTo

      public int compareTo(MetaMember o)
      Specified by:
      compareTo in interface Comparable<MetaMember>
    • hasCalculator

      public boolean hasCalculator()
      Since:
      6.1.2
    • hasDefaultValueCalculator

      public boolean hasDefaultValueCalculator()
      Since:
      6.1.2
    • getMetaCalculator

      public MetaCalculator getMetaCalculator()
      Since:
      6.1.2
    • getMetaCalculatorDefaultValue

      public MetaCalculator getMetaCalculatorDefaultValue()
      Since:
      6.1.2
    • getPropertyNamesThatIDepend

      public Collection<String> getPropertyNamesThatIDepend()
      Since:
      6.1.2 Moved from MetaProperty
    • getMetaModel

      public MetaModel getMetaModel()
    • setMetaModel

      public void setMetaModel(MetaModel newContainer)
    • getQualifiedName

      public String getQualifiedName()
    • setQualifiedName

      public void setQualifiedName(String newQualifiedName)
      For can set a qualified name manually.
    • isHidden

      public boolean isHidden()
    • getId

      public String getId()
      Description copied from class: MetaElement
      Unique id of element, normally used to search the label in the resources files.
      Specified by:
      getId in class MetaElement
    • getSimpleName

      public String getSimpleName()
      Since:
      7.3.3 Moved from MetaProperty
    • getAnnotations

      public Annotation[] getAnnotations()
      Since:
      7.3.3 Moved from MetaProperty
    • getLabelId

      public String getLabelId()
      Id used to look up label in resource files.

    • setLabelId

      public void setLabelId(String id)
    • isTransient

      public boolean isTransient()
      Since:
      6.5.2
    • setTransient

      public void setTransient(boolean _transient)
      Since:
      6.5.2