com.sun.syndication.feed.module
Class DCSubjectImpl

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

public class DCSubjectImpl
extends ObjectBean
implements DCSubject

Subject of the Dublin Core ModuleImpl, default implementation.

Author:
Alejandro Abdelnur
See Also:
Dublin Core module., Serialized Form

Constructor Summary
DCSubjectImpl()
          Default constructor.
 
Method Summary
 void copyFrom(java.lang.Object obj)
          Copies all the properties of the given bean into this one.
 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.
 void setTaxonomyUri(java.lang.String taxonomyUri)
          Sets the DublinCore subject taxonomy URI.
 void setValue(java.lang.String value)
          Sets the DublinCore subject value.
 
Methods inherited from class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.feed.module.DCSubject
clone
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 

Constructor Detail

DCSubjectImpl

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

Method Detail

getTaxonomyUri

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

Specified by:
getTaxonomyUri in interface DCSubject
Returns:
the DublinCore subject taxonomy URI, null if none.

setTaxonomyUri

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

Specified by:
setTaxonomyUri in interface DCSubject
Parameters:
taxonomyUri - the DublinCore subject taxonomy URI to set, null if none.

getValue

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

Specified by:
getValue in interface DCSubject
Returns:
the DublinCore subject value, null if none.

setValue

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

Specified by:
setValue in interface DCSubject
Parameters:
value - the DublinCore subject value to set, null if none.

getInterface

public java.lang.Class getInterface()
Description copied from interface: 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 CopyFrom
Returns:
the interface the copyFrom works on.

copyFrom

public void copyFrom(java.lang.Object obj)
Description copied from interface: 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 CopyFrom
Parameters:
obj - the instance to copy properties from.


Copyright © 2004 Sun Microsystems. All Rights Reserved.