edu.wisc.trace.urcsdk.client.uisocket.types
Class DurationConstant

java.lang.Object
  extended by edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
      extended by edu.wisc.trace.urcsdk.client.uisocket.types.UISocketConstant
          extended by edu.wisc.trace.urcsdk.client.uisocket.types.DurationConstant
All Implemented Interfaces:
IUISocketElement, java.lang.Cloneable

public class DurationConstant
extends UISocketConstant

DurationConstant is a variant of UISocketConstant that deals specifically with the duration. It has special handling to parse strings determined to be time strings. It serves as the SDK implementation of the xsd:duartion type. Created on: May 25 2006

Version:
$Revision: 1.7 $
Author:
Hemanth Vijayan, Trace R&D Center

Field Summary
 
Fields inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
dependents, id, interactor, listeners, logger, parent, ref, secret, sensitive, session, sessionId, simpleType, socket, socketDependency, supports, timeout, type, value
 
Constructor Summary
DurationConstant()
          Creates a new instance of DurationConstant
DurationConstant(UISocketDocument parent, UISocketMirror socket, org.w3c.dom.Element rootElement)
          Creates a new instance of DurationConstant
DurationConstant(UISocketMirror socket)
          Creates a new instance of DurationConstant
 
Method Summary
 DurationConstant clone()
          Describe clone method here.
 java.lang.Object validate(java.lang.String value)
           
 
Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.UISocketConstant
hasSelection, isExecutable, isReadable, isWritable, parse, setValue, setValueRequest, updateValue
 
Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
checkDependencies, checkDependents, getAccessKey, getDependents, getHelp, getId, getInteractor, getKeywords, getLabel, getParent, getRef, getResource, getSecret, getSession, getSocket, getSocketDependency, getSupports, getType, getValue, getXSDSimpleType, registerDependent, registerSupport, setInteractor, setListener, setParent, setSession, setSessionId, setSocket, setXSDSimpleType, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DurationConstant

public DurationConstant()
Creates a new instance of DurationConstant


DurationConstant

public DurationConstant(UISocketMirror socket)
Creates a new instance of DurationConstant

Parameters:
socket -

DurationConstant

public DurationConstant(UISocketDocument parent,
                        UISocketMirror socket,
                        org.w3c.dom.Element rootElement)
                 throws UrcException
Creates a new instance of DurationConstant

Parameters:
parent -
socket -
rootElement -
Throws:
UrcException
Method Detail

clone

public DurationConstant clone()
Describe clone method here.

Specified by:
clone in interface IUISocketElement
Overrides:
clone in class UISocketConstant
Returns:
a DurationConstant value

validate

public java.lang.Object validate(java.lang.String value)
Overrides:
validate in class UISocketConstant


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.