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 for 
ProfileAttributeConditionProperties.getConditions().- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetValue()booleanvoidsetAttribute(ProfileAttributeDescriptor attribute) voidsetMatchCondition(EMatchCondition matchCondition) voidvoidsetVariableName(String variableName) toString() 
- 
Constructor Details
- 
ProfileAttributeCondition
public ProfileAttributeCondition() 
 - 
 - 
Method Details
- 
getAttribute
- Returns:
 - the model describing the attribute of a profile.
 
 - 
setAttribute
- Parameters:
 attribute- the model describing the attribute of the profile.
 - 
getMatchCondition
- Returns:
 - The operator for comparing the 
profile attributeagainst theexpected value. 
 - 
setMatchCondition
- Parameters:
 matchCondition- The operator for comparing theprofile attributeagainst theexpected value.
 - 
getValue
- Returns:
 - The right hand side with the value to test against 
getAttribute(), if required by thegetMatchCondition(). 
 - 
setValue
- 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
- Returns:
 - The name of this condition when used in a
     
ProfileAttributeConditionProperties.getCustomExpression(). 
 - 
setVariableName
- Parameters:
 variableName- The name of this condition when used in aProfileAttributeConditionProperties.getCustomExpression().
 - 
toString
 
 -