Package ro.sync.ecss.conditions
Class ProfileConditionGroupPO
java.lang.Object
ro.sync.ecss.conditions.ProfileConditionValuePO
ro.sync.ecss.conditions.ProfileConditionGroupPO
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ProfileConditionValuePO>
,PersistentObject
@API(type=EXTENDABLE,
src=PRIVATE)
public class ProfileConditionGroupPO
extends ProfileConditionValuePO
Profile condition group representation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ProfileConditionGroupPO
(String groupAttribute, String value, String description) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ProfileConditionValuePO other) Gets the composed value.void
setGroupAttribute
(String groupAttribute) toString()
Methods inherited from class ro.sync.ecss.conditions.ProfileConditionValuePO
checkValid, clone, getDescription, getLevel, getNotPersistentFieldNames, getRenderName, getValue, getValueDisplayLabel, setDescription, setLevel, setRenderName
-
Constructor Details
-
ProfileConditionGroupPO
public ProfileConditionGroupPO()Default constructor. -
ProfileConditionGroupPO
Constructor.- Parameters:
groupAttribute
- The group attribute.value
- The group value.description
- Condition group description.
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ProfileConditionValuePO>
- Overrides:
compareTo
in classProfileConditionValuePO
- See Also:
-
getGroupAttribute
- Returns:
- The group attribute.
-
setGroupAttribute
- Parameters:
groupAttribute
- The group attribute to be set.
-
getComposeValue
Description copied from class:ProfileConditionValuePO
Gets the composed value. If this value is part of a group, for example the value 'db1' from 'database(db1 db2)' then the composed value is 'database(db1)'.- Overrides:
getComposeValue
in classProfileConditionValuePO
- Returns:
- The composed value.
- See Also:
-
toString
- Overrides:
toString
in classProfileConditionValuePO
- See Also:
-