com.sun.syndication.feed.module

Class DCSubjectImpl

public class DCSubjectImpl extends Object implements Cloneable, Serializable, DCSubject

Subject of the Dublin Core ModuleImpl, default implementation.

Author: Alejandro Abdelnur

UNKNOWN: Dublin Core module.

Field Summary
static CopyFromHelperCOPY_FROM_HELPER
ObjectBean_objBean
String_taxonomyUri
String_value
Constructor Summary
DCSubjectImpl()
Default constructor.
Method Summary
Objectclone()
Creates a deep 'bean' clone of the object.
voidcopyFrom(Object obj)
booleanequals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
ClassgetInterface()
StringgetTaxonomyUri()
Returns the DublinCore subject taxonomy URI.
StringgetValue()
Returns the DublinCore subject value.
inthashCode()
Returns a hashcode value for the object.
voidsetTaxonomyUri(String taxonomyUri)
Sets the DublinCore subject taxonomy URI.
voidsetValue(String value)
Sets the DublinCore subject value.
StringtoString()
Returns the String representation for the object.

Field Detail

COPY_FROM_HELPER

private static final CopyFromHelper COPY_FROM_HELPER

_objBean

private ObjectBean _objBean

_taxonomyUri

private String _taxonomyUri

_value

private String _value

Constructor Detail

DCSubjectImpl

public DCSubjectImpl()
Default constructor. All properties are set to null.

Method Detail

clone

public Object clone()
Creates a deep 'bean' clone of the object.

Returns: a clone of the object.

Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.

copyFrom

public void copyFrom(Object obj)

equals

public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

Parameters: other he reference object with which to compare.

Returns: true if 'this' object is equal to the 'other' object.

getInterface

public Class getInterface()

getTaxonomyUri

public String getTaxonomyUri()
Returns the DublinCore subject taxonomy URI.

Returns: the DublinCore subject taxonomy URI, null if none.

getValue

public String getValue()
Returns the DublinCore subject value.

Returns: the DublinCore subject value, null if none.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

Returns: the hashcode of the bean object.

setTaxonomyUri

public void setTaxonomyUri(String taxonomyUri)
Sets the DublinCore subject taxonomy URI.

Parameters: taxonomyUri the DublinCore subject taxonomy URI to set, null if none.

setValue

public void setValue(String value)
Sets the DublinCore subject value.

Parameters: value the DublinCore subject value to set, null if none.

toString

public String toString()
Returns the String representation for the object.

Returns: String representation for the object.

Copyright © Sun Microsystems. All Rights Reserved.