public class CreativeCommonsImpl extends Object implements CreativeCommons
Modifier and Type | Field and Description |
---|---|
static String |
RDF_URI |
static String |
RSS1_URI |
static String |
RSS2_URI |
URI
Constructor and Description |
---|
CreativeCommonsImpl() |
Modifier and Type | Method and Description |
---|---|
protected Object |
arrayCopy(Object[] source) |
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(Object obj) |
License[] |
getAllLicenses() |
Class<CreativeCommons> |
getInterface()
Returns the interface the copyFrom works on.
|
License[] |
getLicenses() |
String |
getUri()
Returns the URI of the module.
|
void |
setAllLicenses(License[] allLicenses) |
void |
setLicenses(License[] licenses) |
String |
toString() |
public static final String RDF_URI
public static final String RSS2_URI
public static final String RSS1_URI
public License[] getAllLicenses()
getAllLicenses
in interface CreativeCommons
public void setAllLicenses(License[] allLicenses)
setAllLicenses
in interface CreativeCommons
public Class<CreativeCommons> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public String getUri()
Module
public 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 License[] getLicenses()
getLicenses
in interface CreativeCommons
public void setLicenses(License[] licenses)
setLicenses
in interface CreativeCommons
Copyright © 2019. All rights reserved.