public class Guid
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private ObjectBean |
objBean |
private boolean |
permaLink |
private static long |
serialVersionUID |
private java.lang.String |
value |
Constructor and Description |
---|
Guid() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
java.lang.String |
getValue()
Returns the guid value.
|
int |
hashCode()
Returns a hashcode value for the object.
|
boolean |
isPermaLink()
Returns the guid perma link.
|
void |
setPermaLink(boolean permaLink)
Sets the guid perma link.
|
void |
setValue(java.lang.String value)
Sets the guid value.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
private static final long serialVersionUID
private final ObjectBean objBean
private boolean permaLink
private java.lang.String value
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- he reference object with which to compare.public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isPermaLink()
public void setPermaLink(boolean permaLink)
permaLink
- the guid perma link to set, null if none.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the guid value to set, null if none.