public abstract class ModelCriterion
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ModelCriterion() |
Modifier and Type | Method and Description |
---|---|
abstract ModelCriterion |
clone()
Clone
|
abstract PrivacyCriterion |
getCriterion(Model model)
Implement this to return the criterion.
|
abstract java.lang.String |
getLabel()
Implement this to return a string representation.
|
boolean |
isEnabled()
Is this criterion active.
|
abstract void |
parse(ModelCriterion other,
boolean _default)
Parse
|
void |
setEnabled(boolean enabled)
Sets the criterion active/inactive.
|
abstract java.lang.String |
toString()
Implement this to return a string representation.
|
public abstract ModelCriterion clone()
clone
in class java.lang.Object
public abstract PrivacyCriterion getCriterion(Model model)
model
- public abstract java.lang.String getLabel()
public boolean isEnabled()
public abstract void parse(ModelCriterion other, boolean _default)
other
- _default
- Defines whether the model represents a typical parameter configuration for the criterionpublic void setEnabled(boolean enabled)
active
- public abstract java.lang.String toString()
toString
in class java.lang.Object