|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.chaosserver.bilbo.data.Name
Hold a single name element that describes a file with a given style.
Field Summary | |
protected String |
style
The style of this name. |
protected String |
value
The value of this name. |
Constructor Summary | |
Name()
Default constructor. |
|
Name(String style,
String value)
Constructor to create a valid Name. |
Method Summary | |
String |
getStyle()
Getter for the style property. |
String |
getValue()
Getter for the value property. |
void |
setStyle(String style)
Setter for the style property. |
void |
setValue(String value)
Setter for the value property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String style
protected String value
Constructor Detail |
public Name()
public Name(String style, String value)
style
- the style of this namevalue
- the value of this nameMethod Detail |
public void setStyle(String style)
style
- the value of stylepublic String getStyle()
public void setValue(String value)
value
- the value of valuepublic String getValue()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |