|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.expression.language.OwExprValue
com.wewebu.expression.language.OwExprDateValue
public class OwExprDateValue
A date value built around the Calendar
Java implementation.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwExprDateValue(Calendar calendar_p)
Constructor |
|
OwExprDateValue(Calendar calendar_p,
Class<?> javaType_p)
Constructor |
Method Summary | |
---|---|
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprDateValue v1_p)
Stage 2 binary operator visitor acceptance method |
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprStringValue v1_p)
Stage 2 binary operator visitor acceptance method |
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprTimeValue v1_p)
Stage 2 binary operator visitor acceptance method |
OwExprValue |
accept(OwExprBinaryOperator binaryOperator_p,
OwExprValue v2_p)
Stage 1 binary operator visitor acceptance method |
int |
compareTo(Object o_p)
|
boolean |
equals(Object obj_p)
|
Calendar |
getCalendar()
|
protected Map |
getValuePropeties()
Overridable default value properties factory method |
int |
hashCode()
|
Object |
toJavaObject(Class javaSuperType_p)
Java class conversion method. |
String |
toString()
|
Methods inherited from class com.wewebu.expression.language.OwExprValue |
---|
accept, accept, accept, accept, at, fromJavaValue, fromJavaValue, function, getJavaType, hasProperty, length, property |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwExprDateValue(Calendar calendar_p)
calendar_p
- inner calendar valuepublic OwExprDateValue(Calendar calendar_p, Class<?> javaType_p)
calendar_p
- inner calendar valuejavaType_p
- original java typeMethod Detail |
---|
public Object toJavaObject(Class javaSuperType_p) throws OwExprEvaluationException
OwExprValue
toJavaObject
in class OwExprValue
javaSuperType_p
-
m_calendar
OwExprEvaluationException
protected final Map getValuePropeties()
OwExprValue
getValuePropeties
in class OwExprValue
Map
of OwExprProperty
for this valuepublic final OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprValue v2_p) throws OwExprEvaluationException
OwExprValue
accept
in class OwExprValue
binaryOperator_p
- binary operator visitorv2_p
- right side operator value
OwExprValue
OwExprEvaluationException
- if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public final OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprDateValue v1_p) throws OwExprEvaluationException
OwExprValue
accept
in class OwExprValue
binaryOperator_p
- binary operator visitorv1_p
- lef side operator value
OwExprValue
OwExprEvaluationException
- if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprStringValue v1_p) throws OwExprEvaluationException
OwExprValue
accept
in class OwExprValue
binaryOperator_p
- binary operator visitorv1_p
- lef side operator value
OwExprValue
OwExprEvaluationException
- if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public OwExprValue accept(OwExprBinaryOperator binaryOperator_p, OwExprTimeValue v1_p) throws OwExprEvaluationException
OwExprValue
accept
in class OwExprValue
binaryOperator_p
- binary operator visitorv1_p
- lef side operator value
OwExprValue
OwExprEvaluationException
- if the operation fails for any reason (unsupported operand types ,
incompatible operands, unimplemented operation or operation failure at evaluation time)public final Calendar getCalendar()
public int compareTo(Object o_p)
compareTo
in interface Comparable
public boolean equals(Object obj_p)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |