|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.antbeans.AntBeanProperty
public class AntBeanProperty
A property of an Ant Bean
| Constructor Summary | |
|---|---|
AntBeanProperty()
Constructs a new property |
|
| Method Summary | |
|---|---|
void |
addAnswer(String answer)
Adds a potential question answer to this property |
void |
addPath(String path)
Adds an XPath address to an attribute that needs to be set to value |
boolean |
equals(Object obj)
|
List |
getAnswers()
Gets the potential answers to the question |
List |
getPaths()
Gets the XPath addresses this property refers to |
String |
getQuestion()
Gets the question for this property |
String |
getValue()
Gets the value of this property |
void |
setAnswers(List answers)
Sets the potential answers to the question |
void |
setPaths(List paths)
Sets the XPath addresses to the attributes that need to be set to value |
void |
setQuestion(String question)
Sets the question for this property |
void |
setValue(String value)
Sets the value of this property |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AntBeanProperty()
| Method Detail |
|---|
public String getValue()
public void setValue(String value)
value - the new valuepublic String getQuestion()
public void setQuestion(String question)
question - the new questionpublic List getAnswers()
public void setAnswers(List answers)
answers - the potential answerspublic void addAnswer(String answer)
answer - a potential answer to the questionpublic List getPaths()
public void setPaths(List paths)
paths - the pathspublic void addPath(String path)
path - the path to addpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||