Class ApplicationFormItem
java.lang.Object
cz.metacentrum.perun.registrar.model.ApplicationFormItem
Item of a form for an application to a VO.
- Author:
- Martin Kuba makub@ics.muni.cz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static class
static enum
Enumeration for types of application form items. -
Field Summary
-
Constructor Summary
ConstructorDescriptionApplicationFormItem
(int id, String shortname, boolean required, ApplicationFormItem.Type type, String federationAttribute, String perunSourceAttribute, String perunDestinationAttribute, String regex) ApplicationFormItem
(int id, String shortname, boolean required, ApplicationFormItem.Type type, String federationAttribute, String perunSourceAttribute, String perunDestinationAttribute, String regex, List<Application.AppType> applicationTypes, Integer ordnum, boolean forDelete, Map<Locale, ApplicationFormItem.ItemTexts> i18n) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return bean name as PerunBean does.getI18n()
int
getId()
static Locale
Return code of native language defined in config file.getRegex()
getType()
int
hashCode()
boolean
boolean
boolean
void
setApplicationTypes
(List<Application.AppType> applicationTypes) void
setDisabled
(ApplicationFormItem.Disabled disabled) void
setDisabledDependencyItemId
(Integer disabledDependencyItemId) void
setFederationAttribute
(String federationAttribute) void
setForDelete
(boolean forDelete) void
setHidden
(ApplicationFormItem.Hidden hidden) void
setHiddenDependencyItemId
(Integer hiddenDependencyItemId) void
void
setId
(int id) void
void
setPerunDestinationAttribute
(String perunDestinationAttribute) void
setPerunSourceAttribute
(String perunSourceAttribute) void
void
setRequired
(boolean required) void
setShortname
(String shortname) void
void
setUpdatable
(boolean updatable) toString()
-
Field Details
-
EN
-
CS
-
-
Constructor Details
-
ApplicationFormItem
-
ApplicationFormItem
public ApplicationFormItem(int id, String shortname, boolean required, ApplicationFormItem.Type type, String federationAttribute, String perunSourceAttribute, String perunDestinationAttribute, String regex, List<Application.AppType> applicationTypes, Integer ordnum, boolean forDelete, Map<Locale, ApplicationFormItem.ItemTexts> i18n) -
ApplicationFormItem
public ApplicationFormItem()
-
-
Method Details
-
getNativeLanguage
Return code of native language defined in config file. Return NULL if no native language set.- Returns:
- String representation of native language
-
equals
-
getApplicationTypes
-
setApplicationTypes
-
getBeanName
Return bean name as PerunBean does.- Returns:
- Class simple name (beanName)
-
getDisabled
-
setDisabled
-
getDisabledDependencyItemId
-
setDisabledDependencyItemId
-
getFederationAttribute
-
setFederationAttribute
-
getHidden
-
setHidden
-
getHiddenDependencyItemId
-
setHiddenDependencyItemId
-
getI18n
-
setI18n
-
getId
public int getId() -
setId
public void setId(int id) -
getOrdnum
-
setOrdnum
-
getPerunDestinationAttribute
-
setPerunDestinationAttribute
-
getPerunSourceAttribute
-
setPerunSourceAttribute
-
getRegex
-
setRegex
-
getShortname
-
setShortname
-
getTexts
-
getType
-
setType
-
hashCode
public int hashCode() -
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
-