cb.petal
Class ClassAttribute

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.QuidObject
              |
              +--cb.petal.AccessObject
                    |
                    +--cb.petal.ClassAttribute
All Implemented Interfaces:
AccessQualified, java.lang.Cloneable, Documented, Named, PetalNode, java.io.Serializable, StereoTyped

public class ClassAttribute
extends AccessObject

Represents class attribute (aka field) of class object.

Version:
$Id: ClassAttribute.java,v 1.12 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
ClassAttribute()
           
ClassAttribute(PetalNode parent, java.util.Collection params)
           
 
Method Summary
 void accept(Visitor v)
           
 java.lang.String getContainment()
           
 boolean getDerived()
           
 java.lang.String getInitialValue()
           
 boolean getStatic()
           
 java.lang.String getType()
           
 void setContainment(java.lang.String o)
           
 void setDerived(boolean s)
           
 void setInitialValue(java.lang.String o)
           
 void setStatic(boolean s)
           
 void setType(java.lang.String o)
           
 
Methods inherited from class cb.petal.AccessObject
getDocumentation, getExportControl, getNameParameter, getStereotype, isPrivate, isProtected, isPublic, setDocumentation, setExportControl, setNameParameter, setStereotype
 
Methods inherited from class cb.petal.QuidObject
getQuid, getQuidAsLong, init, setQuid, setQuidAsLong
 
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, 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

ClassAttribute

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

ClassAttribute

public ClassAttribute()
Method Detail

getType

public java.lang.String getType()

setType

public void setType(java.lang.String o)

getInitialValue

public java.lang.String getInitialValue()

setInitialValue

public void setInitialValue(java.lang.String o)

getStatic

public boolean getStatic()

setStatic

public void setStatic(boolean s)

getDerived

public boolean getDerived()

setDerived

public void setDerived(boolean s)

getContainment

public java.lang.String getContainment()

setContainment

public void setContainment(java.lang.String o)

accept

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