Style Intelligence v12.0

inetsoft.uql.schema
Class TimeValue

java.lang.Object
  extended by inetsoft.uql.XNode
      extended by inetsoft.uql.schema.XValueNode
          extended by inetsoft.uql.schema.TimeValue
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class TimeValue
extends XValueNode

Time value node.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.uql.XNode
value
 
Constructor Summary
TimeValue()
          Create a time value node.
TimeValue(String name)
          Create a time value node.
TimeValue(String name, Object val)
          Create a time value node.
 
Method Summary
 String format()
          Convert the value to a string.
 String getType()
          Get the type of this node.
 void parse(String str)
          Parse the string to the value.
 void setFormat(Format fmt)
          Set the format for formatting and parsing string values.
 void setValue(Object value)
          Set value.
 Object toSQLValue()
          from java Object to SQL type
 
Methods inherited from class inetsoft.uql.schema.XValueNode
createValueNode, createValueNode, createValueNode, equals, getVariable, hashCode, setVariable, toString, writeXML
 
Methods inherited from class inetsoft.uql.XNode
addChild, addChild, addChild, addr, checkDuplicate, clone, cloneValue, compareTo, eq, getAttribute, getAttributeNames, getChild, getChild, getChildCount, getChildIndex, getDefaultFormat, getName, getNode, getParent, getPath, getPath, getValue, getValue, insertChild, isAncestor, removeAllChildren, removeChild, removeChild, removeChild, removeChild, setAttribute, setChild, setDefaultFormat, setName, sort, sort
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeValue

public TimeValue()
Create a time value node.


TimeValue

public TimeValue(String name)
Create a time value node.


TimeValue

public TimeValue(String name,
                 Object val)
Create a time value node.

Method Detail

getType

public String getType()
Get the type of this node. The types are defined in XSchema class.

Overrides:
getType in class XValueNode

format

public String format()
Convert the value to a string.

Overrides:
format in class XValueNode

parse

public void parse(String str)
           throws ParseException
Parse the string to the value.

Overrides:
parse in class XValueNode
Throws:
ParseException

setFormat

public void setFormat(Format fmt)
Set the format for formatting and parsing string values.

Overrides:
setFormat in class XValueNode

setValue

public void setValue(Object value)
Set value.

Overrides:
setValue in class XNode

toSQLValue

public Object toSQLValue()
from java Object to SQL type

Overrides:
toSQLValue in class XValueNode

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.