Package org.opennms.web.rest.support
Class SearchProperty
- java.lang.Object
-
- org.opennms.web.rest.support.SearchProperty
-
- All Implemented Interfaces:
java.lang.Comparable<SearchProperty>
public class SearchProperty extends java.lang.Object implements java.lang.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
java.lang.Class<?>
entityClass
java.lang.String
id
boolean
iplike
java.lang.String
name
boolean
orderBy
static java.util.Map<java.lang.String,java.lang.String>
TRUE_OR_FALSE_VALUES
SearchProperty.SearchPropertyType
type
java.util.Map<java.lang.String,java.lang.String>
values
-
Constructor Summary
Constructors Constructor Description SearchProperty()
SearchProperty(java.lang.Class<?> entityClass, java.lang.String idPrefix, java.lang.String id, java.lang.String namePrefix, java.lang.String name, SearchProperty.SearchPropertyType type, boolean orderBy, boolean iplike, java.util.Map<java.lang.String,java.lang.String> values)
SearchProperty(java.lang.Class<?> entityClass, java.lang.String id, java.lang.String name, SearchProperty.SearchPropertyType type)
SearchProperty(java.lang.Class<?> entityClass, java.lang.String id, java.lang.String name, SearchProperty.SearchPropertyType type, java.util.Map<java.lang.String,java.lang.String> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(SearchProperty o)
java.lang.String
getId()
java.lang.String
getName()
java.lang.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
-
TRUE_OR_FALSE_VALUES
public static final java.util.Map<java.lang.String,java.lang.String> TRUE_OR_FALSE_VALUES
-
entityClass
public java.lang.Class<?> entityClass
-
id
public java.lang.String id
-
name
public java.lang.String name
-
type
public SearchProperty.SearchPropertyType type
-
orderBy
public boolean orderBy
-
iplike
public boolean iplike
-
values
public java.util.Map<java.lang.String,java.lang.String> values
-
-
Constructor Detail
-
SearchProperty
public SearchProperty()
-
SearchProperty
public SearchProperty(java.lang.Class<?> entityClass, java.lang.String id, java.lang.String name, SearchProperty.SearchPropertyType type)
-
SearchProperty
public SearchProperty(java.lang.Class<?> entityClass, java.lang.String id, java.lang.String name, SearchProperty.SearchPropertyType type, java.util.Map<java.lang.String,java.lang.String> values)
-
SearchProperty
public SearchProperty(java.lang.Class<?> entityClass, java.lang.String idPrefix, java.lang.String id, java.lang.String namePrefix, java.lang.String name, SearchProperty.SearchPropertyType type, boolean orderBy, boolean iplike, java.util.Map<java.lang.String,java.lang.String> values)
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getName
public java.lang.String getName()
-
compareTo
public int compareTo(SearchProperty o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<SearchProperty>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-