wt.query
Class AttributeRange

java.lang.Object
  extended bywt.query.AttributeRange
All Implemented Interfaces:
AttributeValueCriteria, BinaryValue, Serializable

public class AttributeRange
extends Object
implements BinaryValue, Serializable

This class specifies start and end points of a range.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static DateFormat df
           
private  Object end
           
private  String javaType
           
private static String RESOURCE
           
private  Object start
           
 
Fields inherited from interface wt.query.specification.BinaryValue
END, START
 
Constructor Summary
AttributeRange()
          

Supported API: false
AttributeRange(float start, float end)
          

Supported API: true
AttributeRange(Float start, Float end)
          

Supported API: true
AttributeRange(Integer start, Integer end)
          

Supported API: true
AttributeRange(int start, int end)
          

Supported API: true
AttributeRange(long start, long end)
          

Supported API: true
AttributeRange(Long start, Long end)
          

Supported API: true
AttributeRange(String start, String end)
          

Supported API: true
AttributeRange(Timestamp start, Timestamp end)
          

Supported API: true
 
Method Summary
 Object getEnd()
          Gets the value of the attribute: end.
 String getJavaType()
          Gets the value of the attribute: javaType.
 Object getStart()
          Gets the value of the attribute: start.
 void initialize(Object start, Object end, String javaType)
          

Supported API: false
 void setEnd(Object a_End)
          Sets the value of the attribute: end.
 void setJavaType(String a_JavaType)
          Sets the value of the attribute: javaType.
 void setStart(Object a_Start)
          Sets the value of the attribute: start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

start

private Object start

end

private Object end

javaType

private String javaType

df

private static final DateFormat df
Constructor Detail

AttributeRange

public AttributeRange(long start,
                      long end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(Long start,
                      Long end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(int start,
                      int end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(Integer start,
                      Integer end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(float start,
                      float end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(Float start,
                      Float end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(Timestamp start,
                      Timestamp end)


Supported API: true

Parameters:
start -
end -

AttributeRange

public AttributeRange(String start,
                      String end)
               throws ParseException


Supported API: true

Parameters:
start -
end -
Throws:
ParseException

AttributeRange

public AttributeRange()


Supported API: false

Method Detail

getStart

public Object getStart()
Gets the value of the attribute: start.

Supported API: true

Specified by:
getStart in interface BinaryValue
Returns:
Object

setStart

public void setStart(Object a_Start)
              throws WTPropertyVetoException
Sets the value of the attribute: start.

Supported API: true

Specified by:
setStart in interface BinaryValue
Parameters:
a_Start -
Throws:
WTPropertyVetoException

getEnd

public Object getEnd()
Gets the value of the attribute: end.

Supported API: true

Specified by:
getEnd in interface BinaryValue
Returns:
Object

setEnd

public void setEnd(Object a_End)
            throws WTPropertyVetoException
Sets the value of the attribute: end.

Supported API: true

Specified by:
setEnd in interface BinaryValue
Parameters:
a_End -
Throws:
WTPropertyVetoException

getJavaType

public String getJavaType()
Gets the value of the attribute: javaType.

Supported API: false

Returns:
String

setJavaType

public void setJavaType(String a_JavaType)
Sets the value of the attribute: javaType.

Supported API: false

Parameters:
a_JavaType -

initialize

public void initialize(Object start,
                       Object end,
                       String javaType)


Supported API: false

Parameters:
start -
end -
javaType -