public class CreativeCommonsImpl extends java.lang.Object implements CreativeCommons
Modifier and Type | Field and Description |
---|---|
private License[] |
allLicenses |
private License[] |
licenses |
static java.lang.String |
RDF_URI |
static java.lang.String |
RSS1_URI |
static java.lang.String |
RSS2_URI |
private static long |
serialVersionUID |
URI
Constructor and Description |
---|
CreativeCommonsImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
arrayCopy(java.lang.Object[] source) |
java.lang.Object |
clone()
Creates a deep clone of the object.
|
void |
copyFrom(CopyFrom object)
Copies all the properties of the given bean into this one.
|
boolean |
equals(java.lang.Object obj) |
License[] |
getAllLicenses() |
java.lang.Class<CreativeCommons> |
getInterface()
Returns the interface the copyFrom works on.
|
License[] |
getLicenses() |
java.lang.String |
getUri()
Returns the URI of the module.
|
void |
setAllLicenses(License[] allLicenses) |
void |
setLicenses(License[] licenses) |
java.lang.String |
toString() |
private static final long serialVersionUID
public static final java.lang.String RDF_URI
public static final java.lang.String RSS2_URI
public static final java.lang.String RSS1_URI
private License[] allLicenses
private License[] licenses
protected java.lang.Object arrayCopy(java.lang.Object[] source)
public License[] getAllLicenses()
getAllLicenses
in interface CreativeCommons
public void setAllLicenses(License[] allLicenses)
setAllLicenses
in interface CreativeCommons
public java.lang.Class<CreativeCommons> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public java.lang.String getUri()
Module
public java.lang.Object clone()
Module
public void copyFrom(CopyFrom object)
CopyFrom
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.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public License[] getLicenses()
getLicenses
in interface CreativeCommons
public void setLicenses(License[] licenses)
setLicenses
in interface CreativeCommons
public java.lang.String toString()
toString
in class java.lang.Object