edu.wisc.trace.urcsdk.target.uisocket
Class BooleanConstant

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

public class BooleanConstant
extends UISocketConstant

BooleanConstant is a specialized form of UISocketConstant that deals specifically with boolean values.

Version:
$Revision: 1.7 $
Author:
Hemanth Vijayan, Trace R&D Center Created on: Sep 30, 2006

Field Summary
 
Fields inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
id, logger, ref, secret, sensitive, session, socket, socketDocument, timeout, type, value
 
Constructor Summary
BooleanConstant()
          Creates a new BooleanConstant instance.
BooleanConstant(UISocket socket)
          Creates a new BooleanConstant instance.
BooleanConstant(UISocketDocument parent, UISocket socket, org.w3c.dom.Element rootElement)
          Creates a new BooleanConstant instance.
 
Method Summary
 BooleanConstant clone()
          Returnes a copy of the object
 
Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.UISocketConstant
hasSelection, internalSetValue, isWritable, parse, setValue, validate
 
Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
getId, getRef, getSession, getSocket, getSocketDocument, getType, getValue, setSession, setSocket, setSocketDocument, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanConstant

public BooleanConstant()
Creates a new BooleanConstant instance.


BooleanConstant

public BooleanConstant(UISocket socket)
Creates a new BooleanConstant instance.

Parameters:
socket - an UISocket value

BooleanConstant

public BooleanConstant(UISocketDocument parent,
                       UISocket socket,
                       org.w3c.dom.Element rootElement)
                throws UrcException
Creates a new BooleanConstant instance.

Parameters:
parent - an UISocketDocument value
socket - an UISocket value
rootElement - an Element value
Throws:
UrcException - if an error occurs
Method Detail

clone

public BooleanConstant clone()
Description copied from class: AbstractUISocketElement
Returnes a copy of the object

Specified by:
clone in interface IUISocketElement
Overrides:
clone in class UISocketConstant
Returns:
an Object value


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