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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic classstatic enumEnumeration for types of application form items. - 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionApplicationFormItem(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 TypeMethodDescriptionbooleanReturn bean name as PerunBean does.getI18n()intgetId()static LocaleReturn code of native language defined in config file.getRegex()getType()inthashCode()booleanbooleanbooleanvoidsetApplicationTypes(List<Application.AppType> applicationTypes) voidsetDisabled(ApplicationFormItem.Disabled disabled) voidsetDisabledDependencyItemId(Integer disabledDependencyItemId) voidsetFederationAttribute(String federationAttribute) voidsetForDelete(boolean forDelete) voidsetHidden(ApplicationFormItem.Hidden hidden) voidsetHiddenDependencyItemId(Integer hiddenDependencyItemId) voidvoidsetId(int id) voidvoidsetPerunDestinationAttribute(String perunDestinationAttribute) voidsetPerunSourceAttribute(String perunSourceAttribute) voidvoidsetRequired(boolean required) voidsetShortname(String shortname) voidvoidsetUpdatable(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
 
 -