|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.datastructure.DefaultAntAttribute
public class DefaultAntAttribute
Implementation of AntAttribute
AntAttribute,
ChangeListener,
Serialized Form| Constructor Summary | |
|---|---|
DefaultAntAttribute()
Constructs a new attribute |
|
DefaultAntAttribute(AttributeDefinition definition)
Constructs a new attribute from a definition |
|
| Method Summary | |
|---|---|
AntAttribute |
cloneAttribute()
Clones this attribute |
boolean |
equals(Object obj)
Tests whether two attributes are equal |
String |
getName()
Get the name of this attribute |
String |
getValue()
Get the value of this attribute |
boolean |
isRequired()
Whether this attribute is currently required |
void |
nodeChanged(ChangeEvent event)
Called when a node is changed |
void |
setConditionList(ConditionList list)
Sets the condition list used by this attribute |
void |
setName(String name)
Set the name of this attribute |
void |
setRequired(boolean required)
Set whether this attribute is required |
void |
setValue(String value)
Set the value of this attribute |
String |
toString()
Converts this attribute into a string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAntAttribute()
public DefaultAntAttribute(AttributeDefinition definition)
definition - a definition of an attribute| Method Detail |
|---|
public String getName()
getName in interface AntAttributepublic void setName(String name)
setName in interface AntAttributename - the new namepublic String getValue()
getValue in interface AntAttributepublic void setValue(String value)
setValue in interface AntAttributevalue - the new valuepublic boolean isRequired()
isRequired in interface AntAttributepublic void setRequired(boolean required)
setRequired in interface AntAttributerequired - whether it's requiredpublic boolean equals(Object obj)
equals in class Objectobj - the object to compare against
public void nodeChanged(ChangeEvent event)
nodeChanged in interface ChangeListenerevent - the event that encapsulates information about the changepublic String toString()
toString in class Objectpublic void setConditionList(ConditionList list)
list - the condition listpublic AntAttribute cloneAttribute()
cloneAttribute in interface AntAttribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||