cb.petal
Class Attribute

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.Attribute
All Implemented Interfaces:
java.lang.Cloneable, PetalNode, java.io.Serializable

public class Attribute
extends PetalObject

Represents Attribute object

Version:
$Id: Attribute.java,v 1.8 2001/06/22 09:10:36 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
Attribute()
           
Attribute(PetalNode parent, java.util.Collection params)
           
 
Method Summary
 void accept(Visitor v)
           
 java.lang.String getAttributeName()
           
 java.lang.String getTool()
           
 PetalNode getValue()
           
 void setAttributeName(java.lang.String o)
           
 void setTool(java.lang.String o)
           
 void setValue(PetalNode o)
           
 
Methods inherited from class cb.petal.PetalObject
addProperty, addToList, clone, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, equals, getChildCount, getKind, getLongestName, getName, getNames, getNoProperties, getParameterList, getParent, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInteger, getPropertyAsString, getPropertyList, getPropertyName, getPropertyTuples, getQualifiedName, getRoot, indexOf, init, moveProperty, removeFromList, removeProperty, removeProperty, setName, setParameterList, setParent, setProperty, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(PetalNode parent,
                 java.util.Collection params)

Attribute

public Attribute()
Method Detail

getTool

public java.lang.String getTool()

setTool

public void setTool(java.lang.String o)

getAttributeName

public java.lang.String getAttributeName()

setAttributeName

public void setAttributeName(java.lang.String o)

getValue

public PetalNode getValue()

setValue

public void setValue(PetalNode o)

accept

public void accept(Visitor v)
Overrides:
accept in class PetalObject