public class Generator extends Object implements Cloneable, Serializable
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getUrl()
Returns the generator URL.
|
String |
getValue()
Returns the generator value.
|
String |
getVersion()
Returns the generator version.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setUrl(String url)
Sets the generator URL.
|
void |
setValue(String value)
Sets the generator value.
|
void |
setVersion(String version)
Sets the generator version.
|
String |
toString()
Returns the String representation for the object.
|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getUrl()
public void setUrl(String url)
url
- the generator URL, null if none.public String getVersion()
public void setVersion(String version)
version
- the generator version, null if none.public String getValue()
public void setValue(String value)
value
- the generator value, null if none.Copyright © 2018. All rights reserved.