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 target group is equal to this one.
|
java.lang.String |
getCode()
Returns this target group's code name
|
java.lang.Long |
getInstanceID()
Returns this instance's internal id
|
java.lang.String |
getName()
Returns this target group's display name
|
java.lang.Long |
getTargetGroupId()
Returns this target group's internal id
|
int |
hashCode()
Returns a hash code value for this target group.
|
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
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.Long getTargetGroupId()
public final java.lang.String getCode()
public final java.lang.String getName()
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
pObject
- the target group to compare to this target grouppublic int hashCode()
hashCode
in class java.lang.Object