public class Instance
extends BasePOJO
Constructor and Description |
---|
Instance(java.lang.Long pID,
java.lang.String pCode,
java.lang.String pName)
Creates an Instance with the given id, code, and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject)
Returns whether the given instance is equal to this one.
|
java.lang.String |
getCode()
Returns this instance's code name
|
java.lang.Long |
getInstanceID()
Returns this instance's internal id
|
java.lang.String |
getName()
Returns this instance's display name
|
int |
hashCode()
Returns a hash code value for this instance.
|
java.lang.String |
toString() |
public Instance(java.lang.Long pID, java.lang.String pCode, java.lang.String pName)
pID
- the generated primary key for the instancepCode
- the code for the instancepName
- the display name for the instancepublic final java.lang.Long getInstanceID()
public final java.lang.String getCode()
public final java.lang.String getName()
public boolean equals(java.lang.Object pObject)
pObject
- the instance to compare to this instancepublic int hashCode()
public java.lang.String toString()