com.ibm.dse.base
Class TraceRequesterField

java.lang.Object
  |
  +--com.ibm.dse.base.DataElement
        |
        +--com.ibm.dse.base.DataField
              |
              +--com.ibm.dse.base.TraceRequesterField

public class TraceRequesterField
extends DataField

This class is an extension of DataField to manage new attributes named trace, traceTypes and traceLevels. TraceRequesterField is used in dse.ini file to configure trace components.

See Also:
Serialized Form

Field Summary
protected  java.lang.String enable
          The value of trace attribute
 java.lang.String traceLevel
          The value of traceLevels attribute
protected  java.lang.String traceType
          The value of traceTypes attribute
 
Fields inherited from class com.ibm.dse.base.DataField
value
 
Fields inherited from class com.ibm.dse.base.DataElement
description, name, state
 
Constructor Summary
TraceRequesterField()
          This constructor creates a TraceRequesterField object.
TraceRequesterField(java.lang.String aName)
          This constructor creates a TraceRequesterField object.
 
Method Summary
 java.lang.String getEnable()
          Returns the value of the enable property.
 java.lang.String getTraceLevel()
          Returns the value of the traceLevel property.
 java.lang.String getTraceType()
          Returns the value of the traceType property.
 java.lang.Object initializeFrom(Tag aTag)
          Initializes a TraceRequesterField object with the aTag attributes.
 void setEnable(java.lang.String newValue)
          Sets the value of the enable property.
 void setTraceLevel(java.lang.String newValue)
          Sets the value of the traceLevel property.
 void setTraceType(java.lang.String newValue)
          Sets the value of the traceType property.
 java.lang.String toString()
          Returns a visual representation of this object.
 
Methods inherited from class com.ibm.dse.base.DataField
clone, getValue, nestedElements, nestedElements, nestedFields, readExternal, setValidValue, setValidValue, setValidValue, setValidValue, setValidValue, setValidValue, setValidValue, setValidValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, validate, validateState, writeExternal
 
Methods inherited from class com.ibm.dse.base.DataElement
externalizer, getDescription, getDescriptor, getElementAt, getErrorInfo, getExternalizer, getKey, getName, getState, getTagName, readExternal, readObject, removeElementAt, removeExternal, setDescription, setDescriptor, setErrorInfo, setExternalizer, setName, setState, toStrings, toTags, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

enable

protected java.lang.String enable
The value of trace attribute

traceType

protected java.lang.String traceType
The value of traceTypes attribute

traceLevel

public java.lang.String traceLevel
The value of traceLevels attribute
Constructor Detail

TraceRequesterField

public TraceRequesterField()
This constructor creates a TraceRequesterField object.

TraceRequesterField

public TraceRequesterField(java.lang.String aName)
                    throws java.io.IOException
This constructor creates a TraceRequesterField object.
Parameters:
aName - java.lang.String The value for the name attribute of DataElement.
Throws:
java.io.IOException -  
Method Detail

getEnable

public java.lang.String getEnable()
Returns the value of the enable property.
Returns:
java.lang.String - The current value of enable.

getTraceLevel

public java.lang.String getTraceLevel()
Returns the value of the traceLevel property.
Returns:
java.lang.String - The current value of traceLevel.

getTraceType

public java.lang.String getTraceType()
Returns the value of the traceType property.
Returns:
java.lang.String - The current value of traceType.

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException
Initializes a TraceRequesterField object with the aTag attributes.
Overrides:
initializeFrom in class DataField
Parameters:
aTag - com.ibm.dse.base.Tag Contains the name and attributes of the object to be created.
Returns:
Object - An instance of TraceRequesterField.
Throws:
java.io.IOException - The object can not be created.

setEnable

public void setEnable(java.lang.String newValue)
Sets the value of the enable property.
Parameters:
newValue - java.lang.String The new value of the property.

setTraceLevel

public void setTraceLevel(java.lang.String newValue)
Sets the value of the traceLevel property.
Parameters:
newValue - java.lang.String The new value of the property.

setTraceType

public void setTraceType(java.lang.String newValue)
Sets the value of the traceType property.
Parameters:
newValue - java.lang.String The new value of the property.

toString

public java.lang.String toString()
Returns a visual representation of this object.
Overrides:
toString in class DataField
Returns:
java.lang.String - The object visual representation.