Class ApplicationFormItem

java.lang.Object
cz.metacentrum.perun.registrar.model.ApplicationFormItem

public class ApplicationFormItem extends Object
Item of a form for an application to a VO.
Author:
Martin Kuba makub@ics.muni.cz
  • Field Details

    • EN

      public static final Locale EN
    • CS

      public static final Locale CS
  • Constructor Details

  • Method Details

    • getNativeLanguage

      public static Locale getNativeLanguage()
      Return code of native language defined in config file. Return NULL if no native language set.
      Returns:
      String representation of native language
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getApplicationTypes

      public List<Application.AppType> getApplicationTypes()
    • setApplicationTypes

      public void setApplicationTypes(List<Application.AppType> applicationTypes)
    • getBeanName

      public String getBeanName()
      Return bean name as PerunBean does.
      Returns:
      Class simple name (beanName)
    • getDisabled

      public ApplicationFormItem.Disabled getDisabled()
    • setDisabled

      public void setDisabled(ApplicationFormItem.Disabled disabled)
    • getDisabledDependencyItemId

      public Integer getDisabledDependencyItemId()
    • setDisabledDependencyItemId

      public void setDisabledDependencyItemId(Integer disabledDependencyItemId)
    • getFederationAttribute

      public String getFederationAttribute()
    • setFederationAttribute

      public void setFederationAttribute(String federationAttribute)
    • getHidden

      public ApplicationFormItem.Hidden getHidden()
    • setHidden

      public void setHidden(ApplicationFormItem.Hidden hidden)
    • getHiddenDependencyItemId

      public Integer getHiddenDependencyItemId()
    • setHiddenDependencyItemId

      public void setHiddenDependencyItemId(Integer hiddenDependencyItemId)
    • getI18n

    • setI18n

      public void setI18n(Map<Locale,ApplicationFormItem.ItemTexts> i18n)
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getOrdnum

      public Integer getOrdnum()
    • setOrdnum

      public void setOrdnum(Integer ordnum)
    • getPerunDestinationAttribute

      public String getPerunDestinationAttribute()
    • setPerunDestinationAttribute

      public void setPerunDestinationAttribute(String perunDestinationAttribute)
    • getPerunSourceAttribute

      public String getPerunSourceAttribute()
    • setPerunSourceAttribute

      public void setPerunSourceAttribute(String perunSourceAttribute)
    • getRegex

      public String getRegex()
    • setRegex

      public void setRegex(String regex)
    • getShortname

      public String getShortname()
    • setShortname

      public void setShortname(String shortname)
    • getTexts

      public ApplicationFormItem.ItemTexts getTexts(Locale locale)
    • getType

      public ApplicationFormItem.Type getType()
    • setType

      public void setType(ApplicationFormItem.Type type)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isForDelete

      public boolean isForDelete()
    • setForDelete

      public void setForDelete(boolean forDelete)
    • isRequired

      public boolean isRequired()
    • setRequired

      public void setRequired(boolean required)
    • isUpdatable

      public boolean isUpdatable()
    • setUpdatable

      public void setUpdatable(boolean updatable)
    • toString

      public String toString()
      Overrides:
      toString in class Object