Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.module
Class DCSubjectImpl  view DCSubjectImpl download DCSubjectImpl.java

java.lang.Object
  extended bycom.sun.syndication.feed.module.DCSubjectImpl
All Implemented Interfaces:
java.lang.Cloneable, com.sun.syndication.feed.CopyFrom, DCSubject, java.io.Serializable

public class DCSubjectImpl
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, DCSubject

Subject of the Dublin Core ModuleImpl, default implementation.


Field Summary
private  com.sun.syndication.feed.impl.ObjectBean _objBean
           
private  java.lang.String _taxonomyUri
           
private  java.lang.String _value
           
private static com.sun.syndication.feed.impl.CopyFromHelper COPY_FROM_HELPER
           
 
Constructor Summary
DCSubjectImpl()
          Default constructor.
 
Method Summary
 java.lang.Object clone()
          Creates a deep 'bean' clone of the object.
 void copyFrom(java.lang.Object obj)
          Copies all the properties of the given bean into this one.
 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.Class getInterface()
          Returns the interface the copyFrom works on.
 java.lang.String getTaxonomyUri()
          Returns the DublinCore subject taxonomy URI.
 java.lang.String getValue()
          Returns the DublinCore subject value.
 int hashCode()
          Returns a hashcode value for the object.
 void setTaxonomyUri(java.lang.String taxonomyUri)
          Sets the DublinCore subject taxonomy URI.
 void setValue(java.lang.String value)
          Sets the DublinCore subject value.
 java.lang.String toString()
          Returns the String representation for the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_objBean

private com.sun.syndication.feed.impl.ObjectBean _objBean

_taxonomyUri

private java.lang.String _taxonomyUri

_value

private java.lang.String _value

COPY_FROM_HELPER

private static final com.sun.syndication.feed.impl.CopyFromHelper COPY_FROM_HELPER
Constructor Detail

DCSubjectImpl

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

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

Specified by:
clone in interface DCSubject

equals

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


hashCode

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

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


toString

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


getTaxonomyUri

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

Specified by:
getTaxonomyUri in interface DCSubject

setTaxonomyUri

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

Specified by:
setTaxonomyUri in interface DCSubject

getValue

public java.lang.String getValue()
Returns the DublinCore subject value.

Specified by:
getValue in interface DCSubject

setValue

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

Specified by:
setValue in interface DCSubject

getInterface

public java.lang.Class getInterface()
Description copied from interface: com.sun.syndication.feed.CopyFrom
Returns the interface the copyFrom works on.

This is useful when dealing with properties that may have multiple implementations. For example, Module.

Specified by:
getInterface in interface com.sun.syndication.feed.CopyFrom

copyFrom

public void copyFrom(java.lang.Object obj)
Description copied from interface: com.sun.syndication.feed.CopyFrom
Copies all the properties of the given bean into this one.

Any 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.

Specified by:
copyFrom in interface com.sun.syndication.feed.CopyFrom