|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.query.QueryBuilder.CastAs<ReturnType>
public abstract class QueryBuilder.CastAs<ReturnType>

| Field Summary | |
|---|---|
protected Object |
value
|
| Constructor Summary | |
|---|---|
protected |
QueryBuilder.CastAs(Object value)
|
| Method Summary | |
|---|---|
abstract ReturnType |
as(String type)
Define the right-hand side literal value cast as the specified type. |
ReturnType |
asBoolean()
Define the right-hand side literal value cast as a PropertyType.BOOLEAN. |
ReturnType |
asDate()
Define the right-hand side literal value cast as a PropertyType.DATE. |
ReturnType |
asDouble()
Define the right-hand side literal value cast as a PropertyType.DOUBLE. |
ReturnType |
asLong()
Define the right-hand side literal value cast as a PropertyType.LONG. |
ReturnType |
asPath()
Define the right-hand side literal value cast as a PropertyType.PATH. |
ReturnType |
asString()
Define the right-hand side literal value cast as a PropertyType.STRING. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Object value
| Constructor Detail |
|---|
protected QueryBuilder.CastAs(Object value)
| Method Detail |
|---|
public abstract ReturnType as(String type)
type - the property type; may not be null
public ReturnType asString()
PropertyType.STRING.
public ReturnType asBoolean()
PropertyType.BOOLEAN.
public ReturnType asLong()
PropertyType.LONG.
public ReturnType asDouble()
PropertyType.DOUBLE.
public ReturnType asDate()
PropertyType.DATE.
public ReturnType asPath()
PropertyType.PATH.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||