public class ConditionValue extends Object implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
ConditionValue.CallbackProcessor<RESULT> |
static interface |
ConditionValue.QueryModeProvider |
protected class |
ConditionValue.StandardValueHandler |
protected static interface |
ConditionValue.ValueHandler |
protected class |
ConditionValue.VaryingValueHandler |
| コンストラクタと説明 |
|---|
ConditionValue() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equalEqual(Object value)
Does the value equal the value of equal?
|
boolean |
equalGreaterEqual(Object value)
Does the value equal the value of greaterEqual?
|
boolean |
equalGreaterThan(Object value)
Does the value equal the value of greaterThan?
|
boolean |
equalLessEqual(Object value)
Does the value equal the value of lessEqual?
|
boolean |
equalLessThan(Object value)
Does the value equal the value of lessThan?
|
boolean |
equalNotEqual(Object value)
Does the value equal the value of notEqual?
|
String |
getEqualLatestLocation()
Get the latest location of equal.
|
protected ConditionValue.ValueHandler |
getEqualValueHandler() |
Map<String,Map<String,Object>> |
getFixed()
Get the map of fixed values.
|
Map<String,Object> |
getFixedInline()
Get the map of fixed values for in-line.
|
Map<String,Object> |
getFixedOnClause()
Get the map of fixed values for on-clause.
|
Map<String,Object> |
getFixedQuery()
Get the map of fixed values for query.
|
protected Object |
getFixedValue(ConditionKey conditionKey) |
protected String |
getFixedValueKey() |
String |
getGreaterEqualLatestLocation()
Get the latest location of greaterEqual.
|
protected ConditionValue.ValueHandler |
getGreaterEqualValueHandler() |
String |
getGreaterThanLatestLocation()
Get the latest location of greaterThan.
|
protected ConditionValue.ValueHandler |
getGreaterThanValueHandler() |
String |
getInScopeLatestLocation()
Get the latest location of inScope.
|
protected ConditionValue.ValueHandler |
getInScopeValueHandler() |
protected ConditionValue.ValueHandler |
getIsNotNullValueHandler() |
protected ConditionValue.ValueHandler |
getIsNullValueHandler() |
String |
getLessEqualLatestLocation()
Get the latest location of lessEqual.
|
protected ConditionValue.ValueHandler |
getLessEqualValueHandler() |
String |
getLessThanLatestLocation()
Get the latest location of lessThan.
|
protected ConditionValue.ValueHandler |
getLessThanValueHandler() |
String |
getLikeSearchLatestLocation()
Get the latest location of likeSearch.
|
protected ConditionValue.VaryingValueHandler |
getLikeSearchValueHandler() |
String |
getNotEqualLatestLocation()
Get the latest location of notEqual.
|
protected ConditionValue.ValueHandler |
getNotEqualValueHandler() |
String |
getNotInScopeLatestLocation()
Get the latest location of notInScope.
|
protected ConditionValue.ValueHandler |
getNotInScopeValueHandler() |
String |
getNotLikeSearchLatestLocation()
Get the latest location of notLikeSearch.
|
protected ConditionValue.VaryingValueHandler |
getNotLikeSearchValueHandler() |
Map<String,Map<String,Object>> |
getVarying()
Get the map of varying values.
|
protected Object |
getVaryingValue(ConditionKey conditionKey) |
boolean |
hasEqual()
Does it has the value of equal?
|
protected boolean |
hasFixedValue(ConditionKey conditionKey) |
boolean |
hasGreaterEqual()
Does it has the value of greaterEqual?
|
boolean |
hasGreaterThan()
Does it has the value of greaterThan?
|
boolean |
hasIsNotNull()
Does it has the value of isNotNull?
|
boolean |
hasIsNull()
Does it has the value of isNull?
|
boolean |
hasLessEqual()
Does it has the value of lessEqual?
|
boolean |
hasLessThan()
Does it has the value of lessThan?
|
boolean |
hasNotEqual()
Does it has the value of notEqual?
|
protected boolean |
hasVaryingValue(ConditionKey conditionKey) |
boolean |
isFixedQuery() |
void |
overrideEqual(Object value)
Override the value of equal.
|
void |
overrideGreaterEqual(Object value)
Override the value of greaterEqual.
|
void |
overrideGreaterThan(Object value)
Override the value of greaterThan.
|
void |
overrideLessEqual(Object value)
Override the value of lessEqual.
|
void |
overrideLessThan(Object value)
Override the value of lessThan.
|
void |
overrideNotEqual(Object value)
Override the value of notEqual.
|
<RESULT> RESULT |
process(ConditionValue.CallbackProcessor<RESULT> processor) |
String |
setIsNotNull(Object value)
Set the value of isNotNull.
|
String |
setIsNull(Object value)
Set the value of isNull.
|
void |
setupEqual(Object value,
String location)
Set up the value of equal.
|
protected String |
setupFixedValue(ConditionKey conditionKey,
Object value) |
void |
setupGreaterEqual(Object value,
String location)
Set up the value of greaterEqual.
|
void |
setupGreaterThan(Object value,
String location)
Set up the value of greaterThan.
|
void |
setupInScope(Object value,
String location)
Set up the value of inScope.
|
void |
setupLessEqual(Object value,
String location)
Set up the value of lessEqual.
|
void |
setupLessThan(Object value,
String location)
Set up the value of lessThan.
|
void |
setupLikeSearch(String value,
LikeSearchOption option,
String location)
Set up the value of likeSearch.
|
void |
setupNotEqual(Object value,
String location)
Set up the value of notEqual.
|
void |
setupNotInScope(Object value,
String location)
Set up the value of notInScope.
|
void |
setupNotLikeSearch(String value,
LikeSearchOption option,
String location)
Set up the value of notLikeSearch.
|
protected String |
setupVaryingValue(ConditionKey conditionKey,
Object value) |
String |
toString() |
protected Map<String,Map<String,Object>> _fixedValueMap
protected Map<String,Map<String,Object>> _varyingValueMap
protected boolean _orScopeQuery
protected boolean _inline
protected boolean _onClause
protected String _equalLatestLocation
protected transient ConditionValue.ValueHandler _equalValueHandler
protected String _notEqualLatestLocation
protected transient ConditionValue.ValueHandler _notEqualValueHandler
protected String _greaterThanLatestLocation
protected transient ConditionValue.ValueHandler _greaterThanValueHandler
protected String _lessThanLatestLocation
protected transient ConditionValue.ValueHandler _lessThanValueHandler
protected String _greaterEqualLatestLocation
protected transient ConditionValue.ValueHandler _greaterEqualValueHandler
protected String _lessEqualLatestLocation
protected transient ConditionValue.ValueHandler _lessEqualValueHandler
protected String _inScopeLatestLocation
protected transient ConditionValue.ValueHandler _inScopeValueHandler
protected String _notInScopeLatestLocation
protected transient ConditionValue.ValueHandler _notInScopeValueHandler
protected String _likeSearchLatestLocation
protected transient ConditionValue.VaryingValueHandler _likeSearchValueHandler
protected String _notLikeSearchLatestLocation
protected transient ConditionValue.VaryingValueHandler _notLikeSearchValueHandler
protected transient ConditionValue.ValueHandler _isNotNullValueHandler
protected transient ConditionValue.ValueHandler _isNullValueHandler
protected ConditionValue.ValueHandler getEqualValueHandler()
public boolean hasEqual()
public boolean equalEqual(Object value)
value - The value of equal. (NullAllowed)public void overrideEqual(Object value)
value - The value of equal. (NullAllowed)public void setupEqual(Object value, String location)
value - The value of equal. (NullAllowed)location - The base location of equal. (NotNull)public String getEqualLatestLocation()
protected ConditionValue.ValueHandler getNotEqualValueHandler()
public boolean hasNotEqual()
public boolean equalNotEqual(Object value)
value - The value of notEqual. (NullAllowed)public void overrideNotEqual(Object value)
value - The value of notEqual. (NullAllowed)public void setupNotEqual(Object value, String location)
value - The value of notEqual. (NullAllowed)location - The base location of notEqual. (NotNull)public String getNotEqualLatestLocation()
protected ConditionValue.ValueHandler getGreaterThanValueHandler()
public boolean hasGreaterThan()
public boolean equalGreaterThan(Object value)
value - The value of greaterThan. (NullAllowed)public void overrideGreaterThan(Object value)
value - The value of greaterThan. (NullAllowed)public void setupGreaterThan(Object value, String location)
value - The value of greaterThan. (NullAllowed)location - The base location of greaterThan. (NotNull)public String getGreaterThanLatestLocation()
protected ConditionValue.ValueHandler getLessThanValueHandler()
public boolean hasLessThan()
public boolean equalLessThan(Object value)
value - The value of lessThan. (NullAllowed)public void overrideLessThan(Object value)
value - The value of lessThan. (NullAllowed)public void setupLessThan(Object value, String location)
value - The value of lessThan. (NullAllowed)location - The base location of lessThan. (NotNull)public String getLessThanLatestLocation()
protected ConditionValue.ValueHandler getGreaterEqualValueHandler()
public boolean hasGreaterEqual()
public boolean equalGreaterEqual(Object value)
value - The value of greaterEqual. (NullAllowed)public void overrideGreaterEqual(Object value)
value - The value of greaterEqual. (NullAllowed)public void setupGreaterEqual(Object value, String location)
value - The value of greaterEqual. (NullAllowed)location - The base location of greaterEqual. (NotNull)public String getGreaterEqualLatestLocation()
protected ConditionValue.ValueHandler getLessEqualValueHandler()
public boolean hasLessEqual()
public boolean equalLessEqual(Object value)
value - The value of lessEqual. (NullAllowed)public void overrideLessEqual(Object value)
value - The value of lessEqual. (NullAllowed)public void setupLessEqual(Object value, String location)
value - The value of lessEqual. (NullAllowed)location - The base location of lessEqual. (NotNull)public String getLessEqualLatestLocation()
protected ConditionValue.ValueHandler getInScopeValueHandler()
public void setupInScope(Object value, String location)
value - The value of inScope. (NullAllowed)location - The base location of inScope. (NotNull)public String getInScopeLatestLocation()
protected ConditionValue.ValueHandler getNotInScopeValueHandler()
public void setupNotInScope(Object value, String location)
value - The value of notInScope. (NullAllowed)location - The base location of notInScope. (NotNull)public String getNotInScopeLatestLocation()
protected ConditionValue.VaryingValueHandler getLikeSearchValueHandler()
public void setupLikeSearch(String value, LikeSearchOption option, String location)
value - The value of likeSearch. (NullAllowed)option - The option of likeSearch. (NotNull)location - The base location of likeSearch. (NotNull)public String getLikeSearchLatestLocation()
protected ConditionValue.VaryingValueHandler getNotLikeSearchValueHandler()
public void setupNotLikeSearch(String value, LikeSearchOption option, String location)
value - The value of notLikeSearch. (NullAllowed)option - The option of notLikeSearch. (NotNull)location - The base location of notLikeSearch. (NotNull)public String getNotLikeSearchLatestLocation()
protected ConditionValue.ValueHandler getIsNotNullValueHandler()
public String setIsNotNull(Object value)
value - The value of isNotNull. (NullAllowed)public boolean hasIsNotNull()
protected ConditionValue.ValueHandler getIsNullValueHandler()
public String setIsNull(Object value)
value - The value of isNull. (NullAllowed)public boolean hasIsNull()
protected Object getFixedValue(ConditionKey conditionKey)
protected String setupFixedValue(ConditionKey conditionKey, Object value)
protected String getFixedValueKey()
protected boolean hasFixedValue(ConditionKey conditionKey)
protected Object getVaryingValue(ConditionKey conditionKey)
protected String setupVaryingValue(ConditionKey conditionKey, Object value)
protected boolean hasVaryingValue(ConditionKey conditionKey)
public <RESULT> RESULT process(ConditionValue.CallbackProcessor<RESULT> processor)
public boolean isFixedQuery()
public Map<String,Map<String,Object>> getFixed()
public Map<String,Object> getFixedQuery()
public Map<String,Object> getFixedInline()
public Map<String,Object> getFixedOnClause()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.