|
ModeShape Distribution 3.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.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 PropertyType |
DEFAULT_REQUIRED_TYPE
|
static Set<Operator> |
NO_OPERATORS
|
| Constructor Summary | |
|---|---|
protected |
ImmutableColumn(String name,
String type)
|
protected |
ImmutableColumn(String name,
String type,
PropertyType requiredType)
|
protected |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable)
|
protected |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
boolean canContainReferences,
Object minimum,
Object maximum,
Operator... operators)
|
protected |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operators)
|
| Method Summary | |
|---|---|
Object |
getMaximum()
|
Object |
getMinimum()
|
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 |
getPropertyTypeName()
Get the property type for this column. |
PropertyType |
getRequiredType()
|
boolean |
isComparable()
Get whether this column can be used within a comparison using operators other than
Operator.EQUAL_TO or Operator.NOT_EQUAL_TO. |
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 PropertyType DEFAULT_REQUIRED_TYPE
public static final boolean DEFAULT_FULL_TEXT_SEARCHABLE
public static final boolean DEFAULT_ORDERABLE
| Constructor Detail |
|---|
protected ImmutableColumn(String name,
String type,
PropertyType requiredType)
protected ImmutableColumn(String name,
String type)
protected ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable)
protected ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
boolean canContainReferences,
Object minimum,
Object maximum,
Operator... operators)
protected ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operators)
| Method Detail |
|---|
public String getName()
Schemata.Column
getName in interface Schemata.Columnpublic String getPropertyTypeName()
Schemata.Column
getPropertyTypeName in interface Schemata.Columnpublic boolean isFullTextSearchable()
Schemata.Column
isFullTextSearchable in interface Schemata.Columnpublic boolean isOrderable()
Schemata.ColumnORDER BY clause.
isOrderable in interface Schemata.Columnpublic boolean isComparable()
Schemata.Columnoperators other than
Operator.EQUAL_TO or Operator.NOT_EQUAL_TO.
isComparable in interface Schemata.Columnpublic Object getMinimum()
getMinimum in interface Schemata.Columnpublic Object getMaximum()
getMaximum in interface Schemata.Columnpublic PropertyType getRequiredType()
getRequiredType in interface Schemata.Columnpublic Set<Operator> getOperators()
Schemata.Column
getOperators in interface Schemata.Columnpublic String toString()
toString in class Object
|
ModeShape Distribution 3.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||