Class ProfileAttributeCondition
- java.lang.Object
-
- de.xima.fc.mdl.auth.authorization.ProfileAttributeCondition
-
- All Implemented Interfaces:
Serializable
@NotEmptyIf(field="value", dependants="matchCondition", target=ProfileAttributeCondition.class) public class ProfileAttributeCondition extends Object implements Serializable
A single condition forProfileAttributeConditionProperties.getConditions()
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileAttributeCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileAttributeDescriptor
getAttribute()
EMatchCondition
getMatchCondition()
String
getValue()
String
getVariableName()
boolean
isShowValue()
void
setAttribute(ProfileAttributeDescriptor attribute)
void
setMatchCondition(EMatchCondition matchCondition)
void
setValue(String value)
void
setVariableName(String variableName)
String
toString()
-
-
-
Method Detail
-
getAttribute
public ProfileAttributeDescriptor getAttribute()
- Returns:
- the model describing the attribute of a profile.
-
setAttribute
public void setAttribute(ProfileAttributeDescriptor attribute)
- Parameters:
attribute
- the model describing the attribute of the profile.
-
getMatchCondition
public EMatchCondition getMatchCondition()
- Returns:
- The operator for comparing the
profile attribute
against theexpected value
.
-
setMatchCondition
public void setMatchCondition(EMatchCondition matchCondition)
- Parameters:
matchCondition
- The operator for comparing theprofile attribute
against theexpected value
.
-
getValue
public String getValue()
- Returns:
- The right hand side with the value to test against
getAttribute()
, if required by thegetMatchCondition()
.
-
setValue
public void setValue(String value)
- Parameters:
value
- The right hand side with the value to test againstgetAttribute()
, if required by thegetMatchCondition()
.
-
isShowValue
public boolean isShowValue()
- Returns:
- Whether the right hand side match operand (value) should be shown in the UI.
-
getVariableName
public String getVariableName()
- Returns:
- The name of this condition when used in a
ProfileAttributeConditionProperties.getCustomExpression()
.
-
setVariableName
public void setVariableName(String variableName)
- Parameters:
variableName
- The name of this condition when used in aProfileAttributeConditionProperties.getCustomExpression()
.
-
-