|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.query.validate.ImmutableColumn
@Immutable public class ImmutableColumn
Field Summary | |
---|---|
static Set<Operator> |
ALL_OPERATORS
|
static boolean |
DEFAULT_FULL_TEXT_SEARCHABLE
|
static boolean |
DEFAULT_ORDERABLE
|
static Set<Operator> |
NO_OPERATORS
|
Constructor Summary | |
---|---|
protected |
ImmutableColumn(String name,
String type)
|
protected |
ImmutableColumn(String name,
String type,
boolean fullTextSearchable)
|
protected |
ImmutableColumn(String name,
String type,
boolean fullTextSearchable,
boolean orderable,
Operator... operators)
|
protected |
ImmutableColumn(String name,
String type,
boolean fullTextSearchable,
boolean orderable,
Set<Operator> operators)
|
Method Summary | |
---|---|
String |
getName()
Get the name for this column. |
Set<Operator> |
getOperators()
Get the set of operators that can be used in a comparison involving this column. |
String |
getPropertyType()
Get the property type for this column. |
boolean |
isFullTextSearchable()
Get whether the column can be used in a full-text search. |
boolean |
isOrderable()
Get whether this column can be used within an ORDER BY clause . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Set<Operator> ALL_OPERATORS
public static final Set<Operator> NO_OPERATORS
public static final boolean DEFAULT_FULL_TEXT_SEARCHABLE
public static final boolean DEFAULT_ORDERABLE
Constructor Detail |
---|
protected ImmutableColumn(String name, String type)
protected ImmutableColumn(String name, String type, boolean fullTextSearchable)
protected ImmutableColumn(String name, String type, boolean fullTextSearchable, boolean orderable, Operator... operators)
protected ImmutableColumn(String name, String type, boolean fullTextSearchable, boolean orderable, Set<Operator> operators)
Method Detail |
---|
public String getName()
getName
in interface Schemata.Column
Schemata.Column.getName()
public String getPropertyType()
getPropertyType
in interface Schemata.Column
Schemata.Column.getPropertyType()
public boolean isFullTextSearchable()
isFullTextSearchable
in interface Schemata.Column
Schemata.Column.isFullTextSearchable()
public boolean isOrderable()
ORDER BY clause
.
isOrderable
in interface Schemata.Column
Schemata.Column.isOrderable()
public Set<Operator> getOperators()
getOperators
in interface Schemata.Column
Schemata.Column.getOperators()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |