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 SerializableA 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 ProfileAttributeDescriptorgetAttribute()EMatchConditiongetMatchCondition()StringgetValue()StringgetVariableName()booleanisShowValue()voidsetAttribute(ProfileAttributeDescriptor attribute)voidsetMatchCondition(EMatchCondition matchCondition)voidsetValue(String value)voidsetVariableName(String variableName)StringtoString() 
 - 
 
- 
- 
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 attributeagainst theexpected value. 
 
- 
setMatchCondition
public void setMatchCondition(EMatchCondition matchCondition)
- Parameters:
 matchCondition- The operator for comparing theprofile attributeagainst 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().
 
 - 
 
 -