|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.common.config.VersionProperty
public class VersionProperty
Defines a version.
Field Summary | |
---|---|
static String |
PROP_NAME
Property String for version name. |
static String |
PROP_NUMBER
Property String for version number. |
Constructor Summary | |
---|---|
VersionProperty(String name,
String number)
Creates a new VersionPropety with the given name and number. |
Method Summary | |
---|---|
Object |
clone()
|
String |
display()
Returns a string representing the version which is formatted for displaying. |
boolean |
equals(Object obj)
|
String |
getName()
Returns the version name. |
String |
getNumber()
Returns the version number. |
int |
hashCode()
|
void |
setName(String name)
Set the version name |
void |
setNumber(String num)
Set the version number |
String |
toString()
|
Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
---|
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROP_NAME
public static final String PROP_NUMBER
Constructor Detail |
---|
public VersionProperty(String name, String number)
name
- name for the new VersionPropertynumber
- number for the new VersionPropertyMethod Detail |
---|
public String getName()
public void setName(String name)
name
- new version namepublic String getNumber()
public void setNumber(String num)
num
- new version numberpublic boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String display()
public Object clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |