public class SyndCategoryImpl extends Object implements Serializable, SyndCategory
| Constructor and Description |
|---|
SyndCategoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
Class<? extends CopyFrom> |
getInterface()
Returns the interface the copyFrom works on.
|
String |
getLabel()
Returns the category label, null if none
|
String |
getName()
Returns the category name.
|
String |
getTaxonomyUri()
Returns the category taxonomy URI.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setLabel(String label)
Sets the category Label.
|
void |
setName(String name)
Sets the category name.
|
void |
setTaxonomyUri(String taxonomyUri)
Sets the category taxonomy URI.
|
String |
toString()
Returns the String representation for the object.
|
public Object clone() throws CloneNotSupportedException
clone in interface SyndCategoryclone in class ObjectCloneNotSupportedException - 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 getName()
getName in interface SyndCategorypublic void setName(String name)
setName in interface SyndCategoryname - the category name to set, null if none.public void setLabel(String label)
setLabel in interface SyndCategorylabel - the category label to set, null if nonepublic String getLabel()
SyndCategorygetLabel in interface SyndCategorypublic String getTaxonomyUri()
getTaxonomyUri in interface SyndCategorypublic void setTaxonomyUri(String taxonomyUri)
setTaxonomyUri in interface SyndCategorytaxonomyUri - the category taxonomy URI to set, null if none.public Class<? extends CopyFrom> getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void copyFrom(CopyFrom obj)
CopyFromAny existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
Copyright © 2023. All rights reserved.