Class RoleSelectionSpecEntry
- java.lang.Object
 - 
- com.evolveum.midpoint.model.impl.controller.RoleSelectionSpecEntry
 
 
- 
- All Implemented Interfaces:
 DisplayableValue<String>
public class RoleSelectionSpecEntry extends Object implements DisplayableValue<String>
- Author:
 - semancik
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RoleSelectionSpecEntry(String value, String label, String description) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns longer description that can be used as a help text, tooltip or for similar purpose.StringgetLabel()Returns short user-friendly label.static Collection<RoleSelectionSpecEntry>getPositive(Collection<RoleSelectionSpecEntry> col)StringgetValue()Retuns actual value.static booleanhasNegative(Collection<RoleSelectionSpecEntry> col)static booleanhasNegativeValue(Collection<RoleSelectionSpecEntry> col, String value)booleanisNegative()voidnegate()static voidnegate(Collection<RoleSelectionSpecEntry> col)voidsetNegative(boolean negative)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getValue
public String getValue()
Description copied from interface:DisplayableValueRetuns actual value. This may not be user-friendly.- Specified by:
 getValuein interfaceDisplayableValue<String>
 
- 
getLabel
public String getLabel()
Description copied from interface:DisplayableValueReturns short user-friendly label. Catalog key may be returned instead of actual text.- Specified by:
 getLabelin interfaceDisplayableValue<String>
 
- 
getDescription
public String getDescription()
Description copied from interface:DisplayableValueReturns longer description that can be used as a help text, tooltip or for similar purpose. Catalog key may be returned instead of actual text.- Specified by:
 getDescriptionin interfaceDisplayableValue<String>
 
- 
isNegative
public boolean isNegative()
 
- 
setNegative
public void setNegative(boolean negative)
 
- 
negate
public void negate()
 
- 
negate
public static void negate(Collection<RoleSelectionSpecEntry> col)
 
- 
hasNegative
public static boolean hasNegative(Collection<RoleSelectionSpecEntry> col)
 
- 
hasNegativeValue
public static boolean hasNegativeValue(Collection<RoleSelectionSpecEntry> col, String value)
 
- 
getPositive
public static Collection<RoleSelectionSpecEntry> getPositive(Collection<RoleSelectionSpecEntry> col)
 
 - 
 
 -