Class SubjectPreferencesConfig.Settings.Setting.SourceSetting
java.lang.Object
de.businesscode.bcdui.subjectsettings.config.SubjectPreferencesConfig.Settings.Setting.SourceSetting
- Enclosing class:
- SubjectPreferencesConfig.Settings.Setting
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="ref" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="isMulti" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
<attribute name="defaults" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
<attribute name="preventEmpty" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSpace separated list of values used as the default (no cookie or last value removed and emptyAllowed=false).protected StringIf true, it is allowed to select multiple values for the SubjectPreference introduced here.protected StringIf true, the defaults are set not only at the beginning at the session when no cookie is given but also when the user deselects all values.protected StringThe right_type in bcd_sec_user_settings from which the allowed values are derived. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpace separated list of values used as the default (no cookie or last value removed and emptyAllowed=false).If true, it is allowed to select multiple values for the SubjectPreference introduced here.If true, the defaults are set not only at the beginning at the session when no cookie is given but also when the user deselects all values.getRef()The right_type in bcd_sec_user_settings from which the allowed values are derived.voidsetDefaults(String value) Sets the value of the defaults property.voidsetIsMulti(String value) Sets the value of the isMulti property.voidsetPreventEmpty(String value) Sets the value of the preventEmpty property.voidSets the value of the ref property.
-
Field Details
-
ref
The right_type in bcd_sec_user_settings from which the allowed values are derived. -
isMulti
If true, it is allowed to select multiple values for the SubjectPreference introduced here. -
defaults
Space separated list of values used as the default (no cookie or last value removed and emptyAllowed=false). Special value #bcdAllAllowed# means default to all values the user has been assigned in bcd_sec_user_settings for the right_type referenced by @name -
preventEmpty
If true, the defaults are set not only at the beginning at the session when no cookie is given but also when the user deselects all values.
-
-
Constructor Details
-
SourceSetting
public SourceSetting()
-
-
Method Details
-
getRef
The right_type in bcd_sec_user_settings from which the allowed values are derived.- Returns:
- possible object is
String
-
setRef
Sets the value of the ref property. -
getIsMulti
If true, it is allowed to select multiple values for the SubjectPreference introduced here.- Returns:
- possible object is
String
-
setIsMulti
Sets the value of the isMulti property.- Parameters:
value- allowed object isString- See Also:
-
getDefaults
Space separated list of values used as the default (no cookie or last value removed and emptyAllowed=false). Special value #bcdAllAllowed# means default to all values the user has been assigned in bcd_sec_user_settings for the right_type referenced by @name- Returns:
- possible object is
String
-
setDefaults
Sets the value of the defaults property.- Parameters:
value- allowed object isString- See Also:
-
getPreventEmpty
If true, the defaults are set not only at the beginning at the session when no cookie is given but also when the user deselects all values.- Returns:
- possible object is
String
-
setPreventEmpty
Sets the value of the preventEmpty property.- Parameters:
value- allowed object isString- See Also:
-