public class Category extends Object implements Cloneable, Serializable
Constructor and Description |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getLabel()
Get label for category.
|
String |
getScheme()
Get Scheme URI for category.
|
String |
getSchemeResolved() |
String |
getTerm()
Return term for category.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setLabel(String label)
Set label for category.
|
void |
setScheme(String scheme)
Set scheme URI for category.
|
void |
setSchemeResolved(String schemeResolved) |
void |
setTerm(String term)
Set term for category.
|
String |
toString()
Returns the String representation for the object.
|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(Object other)
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public String toString()
public String getLabel()
public void setLabel(String label)
label
- Label for category.public String getScheme()
public void setScheme(String scheme)
scheme
- Scheme URI for category.public void setSchemeResolved(String schemeResolved)
public String getSchemeResolved()
public String getTerm()
public void setTerm(String term)
term
- Term for category.Copyright © 2020. All rights reserved.