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

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

public class DayVariable
extends UISocketVariable

DayVariable is a variant of UISocketVariable that deals specifically with day. It has special handling to parse strings determined to be time strings. It serves as the SDK implementation of the xsd:gDay 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.UISocketVariable
dynamicValues, socketSelection
 
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
DayVariable()
          Creates a new instance of DayVariable
DayVariable(UISocketDocument parent, UISocketMirror socket, org.w3c.dom.Element rootElement)
          Creates a new instance of DayVariable
DayVariable(UISocketMirror socket)
          Creates a new instance of DayVariable
 
Method Summary
 DayVariable clone()
          Describe clone method here.
 java.lang.Object validate(java.lang.String value)
          checkValue determines whether a value is allowable for a given xsd type.
 
Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.UISocketVariable
addDynamicValues, getDynamicRefVars, getStaticMap, hasSelection, isClosed, isExecutable, isReadable, isWritable, parse
 
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, setValue, setValueRequest, setXSDSimpleType, toString, updateValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DayVariable

public DayVariable()
Creates a new instance of DayVariable


DayVariable

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

Parameters:
socket -

DayVariable

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

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

clone

public DayVariable clone()
Describe clone method here.

Specified by:
clone in interface IUISocketElement
Overrides:
clone in class UISocketVariable
Returns:
a DayVariable value

validate

public java.lang.Object validate(java.lang.String value)
Description copied from class: UISocketVariable
checkValue determines whether a value is allowable for a given xsd type. This should be overridden for every class extending UISocketVariable.

Overrides:
validate in class UISocketVariable
Returns:
a boolean value


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