Class MetaElement

java.lang.Object
org.openxava.util.meta.MetaElement
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MetaApplication, MetaController, MetaControllerElement, MetaMember, MetaModel, MetaModule, MetaView

public abstract class MetaElement extends Object implements Serializable
Author:
Javier Paniza
See Also:
  • Constructor Details

    • MetaElement

      public MetaElement()
  • Method Details

    • has18nLabel

      protected boolean has18nLabel()
    • hasName

      protected boolean hasName()
    • getLabel

      public String getLabel()
    • getLabel

      public String getLabel(javax.servlet.ServletRequest request)
    • getLocale

      protected Locale getLocale(javax.servlet.ServletRequest request)
    • getLabel

      public String getLabel(Locale locale)
      For refine the label calculation
    • getLabel

      protected String getLabel(Locale locale, String id)
      Implementation of label obtaining.

    • getId

      public abstract String getId()
      Unique id of element, normally used to search the label in the resources files.
    • getName

      public String getName()
      Returns:
      java.lang.String Not null
    • setLabel

      public void setLabel(String newLabel)
    • setName

      public void setName(String newName)
    • getDescription

      public String getDescription()
    • getDescription

      public String getDescription(Locale locale)
    • getDescription

      protected String getDescription(Locale locale, String id)
    • getDescription

      public String getDescription(javax.servlet.ServletRequest request)
    • setDescription

      public void setDescription(String newDescription)
    • getPlaceholder

      public String getPlaceholder()
    • getPlaceholder

      public String getPlaceholder(Locale locale)
    • getPlaceholder

      protected String getPlaceholder(Locale locale, String id)
    • setPlaceholder

      public void setPlaceholder(String placeholder)