Package ro.sync.ecss.conditions
Class ProfileConditionGroupPO
- java.lang.Object
-
- ro.sync.ecss.conditions.ProfileConditionValuePO
-
- ro.sync.ecss.conditions.ProfileConditionGroupPO
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<ProfileConditionValuePO>
,PersistentObject
@API(type=EXTENDABLE, src=PRIVATE) public class ProfileConditionGroupPO extends ProfileConditionValuePO
Profile condition group representation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileConditionGroupPO()
Default constructor.ProfileConditionGroupPO(java.lang.String groupAttribute, java.lang.String value, java.lang.String description)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ProfileConditionValuePO other)
java.lang.String
getComposeValue()
Gets the composed value.java.lang.String
getGroupAttribute()
void
setGroupAttribute(java.lang.String groupAttribute)
java.lang.String
toString()
-
Methods inherited from class ro.sync.ecss.conditions.ProfileConditionValuePO
checkValid, clone, getDescription, getLevel, getNotPersistentFieldNames, getRenderName, getValue, getValueDisplayLabel, setDescription, setLevel, setRenderName
-
-
-
-
Constructor Detail
-
ProfileConditionGroupPO
public ProfileConditionGroupPO()
Default constructor.
-
ProfileConditionGroupPO
public ProfileConditionGroupPO(java.lang.String groupAttribute, java.lang.String value, java.lang.String description)
Constructor.- Parameters:
groupAttribute
- The group attribute.value
- The group value.description
- Condition group description.
-
-
Method Detail
-
compareTo
public int compareTo(ProfileConditionValuePO other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ProfileConditionValuePO>
- Overrides:
compareTo
in classProfileConditionValuePO
- See Also:
ProfileConditionValuePO.compareTo(ro.sync.ecss.conditions.ProfileConditionValuePO)
-
getGroupAttribute
public java.lang.String getGroupAttribute()
- Returns:
- The group attribute.
-
setGroupAttribute
public void setGroupAttribute(java.lang.String groupAttribute)
- Parameters:
groupAttribute
- The group attribute to be set.
-
getComposeValue
public java.lang.String 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:
ProfileConditionValuePO.getComposeValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classProfileConditionValuePO
- See Also:
ProfileConditionValuePO.toString()
-
-