public class DCSubjectImpl extends Object implements Cloneable, Serializable, DCSubject
| Constructor and Description |
|---|
DCSubjectImpl()
Default constructor.
|
| 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<DCSubject> |
getInterface()
Returns the interface the copyFrom works on.
|
String |
getTaxonomyUri()
Returns the DublinCore subject taxonomy URI.
|
String |
getValue()
Returns the DublinCore subject value.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setTaxonomyUri(String taxonomyUri)
Sets the DublinCore subject taxonomy URI.
|
void |
setValue(String value)
Sets the DublinCore subject value.
|
String |
toString()
Returns the String representation for the object.
|
public DCSubjectImpl()
public Object clone() throws CloneNotSupportedException
clone in interface DCSubjectclone 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 getTaxonomyUri()
getTaxonomyUri in interface DCSubjectpublic void setTaxonomyUri(String taxonomyUri)
setTaxonomyUri in interface DCSubjecttaxonomyUri - the DublinCore subject taxonomy URI to set, null if none.public String getValue()
public void setValue(String value)
public Class<DCSubject> 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 © 2015. All Rights Reserved.