Package org.opennms.web.rest.support
Class SearchProperty
- java.lang.Object
-
- org.opennms.web.rest.support.SearchProperty
-
- All Implemented Interfaces:
Comparable<SearchProperty>
public class SearchProperty extends Object implements Comparable<SearchProperty>
- Author:
- Seth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchProperty.SearchPropertyType
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_IPLIKE
static boolean
DEFAULT_ORDER_BY
Class<?>
entityClass
String
id
boolean
iplike
String
name
boolean
orderBy
static Map<String,String>
TRUE_OR_FALSE_VALUES
SearchProperty.SearchPropertyType
type
Map<String,String>
values
-
Constructor Summary
Constructors Constructor Description SearchProperty()
SearchProperty(Class<?> entityClass, String idPrefix, String id, String namePrefix, String name, SearchProperty.SearchPropertyType type, boolean orderBy, boolean iplike, Map<String,String> values)
SearchProperty(Class<?> entityClass, String id, String name, SearchProperty.SearchPropertyType type)
SearchProperty(Class<?> entityClass, String id, String name, SearchProperty.SearchPropertyType type, Map<String,String> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SearchProperty o)
String
getId()
String
getName()
String
toString()
-
-
-
Field Detail
-
DEFAULT_ORDER_BY
public static final boolean DEFAULT_ORDER_BY
- See Also:
- Constant Field Values
-
DEFAULT_IPLIKE
public static final boolean DEFAULT_IPLIKE
- See Also:
- Constant Field Values
-
entityClass
public Class<?> entityClass
-
id
public String id
-
name
public String name
-
type
public SearchProperty.SearchPropertyType type
-
orderBy
public boolean orderBy
-
iplike
public boolean iplike
-
-
Constructor Detail
-
SearchProperty
public SearchProperty()
-
SearchProperty
public SearchProperty(Class<?> entityClass, String id, String name, SearchProperty.SearchPropertyType type)
-
SearchProperty
public SearchProperty(Class<?> entityClass, String id, String name, SearchProperty.SearchPropertyType type, Map<String,String> values)
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
compareTo
public int compareTo(SearchProperty o)
- Specified by:
compareTo
in interfaceComparable<SearchProperty>
-
-