public class Category
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Constructor and Description |
|---|
Category() |
| 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 |
getDomain()
Returns the category domain.
|
java.lang.String |
getValue()
Returns the category value.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setDomain(java.lang.String domain)
Sets the category domain.
|
void |
setValue(java.lang.String value)
Sets the category value.
|
java.lang.String |
toString()
Returns the String representation for the object.
|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - 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.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - the category domain to set, null if none.public java.lang.String getValue()
public void setValue(java.lang.String value)
value - the category value to set, null if none.Copyright © 2025. All rights reserved.