|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.VersionedParameter
public class VersionedParameter
The key to a plugin configuration parameter. The parameters are versioned because we need to remember exactly which parameters that was passed to a job.
Field Summary | |
---|---|
private String |
name
The name of the parameter. |
private static long |
serialVersionUID
|
private int |
version
The version of the parameter. |
Constructor Summary | |
---|---|
VersionedParameter()
Used by Hibernate to create an instance. |
|
VersionedParameter(String name,
int version)
Create a new instance. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another VersionedParameter
object. |
String |
getName()
Get the parameter name. |
int |
getVersion()
Get the parameter version. |
int |
hashCode()
Calculate the hash code for the object. |
(package private) void |
setName(String name)
|
(package private) void |
setVersion(int version)
|
String |
toString()
Convert the value to a string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private String name
private int version
Constructor Detail |
---|
VersionedParameter()
public VersionedParameter(String name, int version)
Method Detail |
---|
public String getName()
void setName(String name)
public int getVersion()
void setVersion(int version)
public boolean equals(Object o)
VersionedParameter
object. They are considered to be the same if the have the same
name and version.
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |