Package org.xwiki.livedata
Class LiveDataPropertyDescriptor.OperatorDescriptor
- java.lang.Object
-
- org.xwiki.livedata.WithParameters
-
- org.xwiki.livedata.BaseDescriptor
-
- org.xwiki.livedata.LiveDataPropertyDescriptor.OperatorDescriptor
-
- Enclosing class:
- LiveDataPropertyDescriptor
public static class LiveDataPropertyDescriptor.OperatorDescriptor extends BaseDescriptor
An operator to use when filtering the live data.
-
-
Constructor Summary
Constructors Constructor Description OperatorDescriptor()Default constructor.OperatorDescriptor(String id, String name)Creates a new operator with the specified id and name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()inthashCode()voidsetName(String name)Sets the operator pretty name.StringtoString()-
Methods inherited from class org.xwiki.livedata.BaseDescriptor
getId, setId
-
Methods inherited from class org.xwiki.livedata.WithParameters
getParameters, setParameter
-
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the operator pretty name
-
setName
public void setName(String name)
Sets the operator pretty name.- Parameters:
name- the new operator pretty name
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseDescriptor
-
toString
public String toString()
- Overrides:
toStringin classBaseDescriptor
-
-