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 boolean
equals(Object o)
String
getName()
int
hashCode()
void
setName(String name)
Sets the operator pretty name.String
toString()
-
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:
equals
in classBaseDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseDescriptor
-
toString
public String toString()
- Overrides:
toString
in classBaseDescriptor
-
-