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