eu.etaxonomy.cdm.model.common
Class Credit
java.lang.Object
eu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity
eu.etaxonomy.cdm.model.common.AnnotatableEntity
eu.etaxonomy.cdm.model.common.LanguageStringBase
eu.etaxonomy.cdm.model.common.Credit
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IVersionableEntity, Serializable, Cloneable
public class Credit
- extends LanguageStringBase
- implements Cloneable
- Version:
- 1.0
- Author:
- a.mueller
- See Also:
- Serialized Form
| Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
| Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
addPropertyChangeListener, addPropertyChangeListener, clone, deproxy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid, toString |
Credit
protected Credit()
Credit
protected Credit(String text,
Language language)
NewInstance
public static Credit NewInstance(AgentBase agent,
String text)
NewInstance
public static Credit NewInstance(AgentBase agent,
String text,
String abbreviatedText,
Language language)
getAgent
public AgentBase getAgent()
- Returns:
- the agent
setAgent
public void setAgent(AgentBase agent)
- Parameters:
agent - the agent to set
getAbbreviatedText
public String getAbbreviatedText()
- Returns:
- the abbreviatedText
setAbbreviatedText
public void setAbbreviatedText(String abbreviatedText)
- Parameters:
abbreviatedText - the abbreviatedText to set
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
VersionableEntity
- Clones this versionable entity.
Set fields for nextVersion, previousVersion, updated, updatedBy and createdBy are set to null
The id is set to 0.
The uuid is created new.
The createdWhen is set to the current date.
- Overrides:
clone in class LanguageStringBase
- Throws:
CloneNotSupportedException- See Also:
Object.clone()
Copyright © 2007-2012 EDIT. All Rights Reserved.