eu.etaxonomy.cdm.model.media
Class RightsTerm

java.lang.Object
  extended by eu.etaxonomy.cdm.model.common.CdmBase
      extended by eu.etaxonomy.cdm.model.common.VersionableEntity
          extended by eu.etaxonomy.cdm.model.common.AnnotatableEntity
              extended by eu.etaxonomy.cdm.model.common.IdentifiableEntity<IIdentifiableEntityCacheStrategy>
                  extended by eu.etaxonomy.cdm.model.common.TermBase
                      extended by eu.etaxonomy.cdm.model.common.DefinedTermBase<RightsTerm>
                          extended by eu.etaxonomy.cdm.model.media.RightsTerm
All Implemented Interfaces:
IAnnotatableEntity, ICdmBase, IDefinedTerm<RightsTerm>, IIdentifiableEntity, ILoadableTerm<RightsTerm>, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable

@Entity
@Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase")
public class RightsTerm
extends DefinedTermBase<RightsTerm>

Version:
1.0
Author:
m.doering
See Also:
Serialized Form

Field Summary
protected static Map<UUID,RightsTerm> termMap
           
 
Fields inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase
partOf, vocabulary
 
Fields inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
 
Fields inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity
annotations, markers
 
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase
uuid
 
Constructor Summary
RightsTerm()
          Default Constructor
RightsTerm(String term, String label, String labelAbbrev)
          Constructor
 
Method Summary
static RightsTerm ACCESS_RIGHTS()
          http://purl.org/dc/terms/accessRights
static RightsTerm COPYRIGHT()
           
protected static RightsTerm getTermByUuid(UUID uuid)
           
static RightsTerm LICENSE()
           
static RightsTerm NewInstance()
          Factory method
static RightsTerm NewInstance(String text, String label, String labelAbbrev)
          Factory method
 void resetTerms()
           
protected  void setDefaultTerms(TermVocabulary<RightsTerm> termVocabulary)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase
addGeneralizationOf, addIncludes, addMedia, clone, getByUuid, getGeneralizationOf, getIncludes, getKindOf, getMedia, getPartOf, getVocabulary, readCsvLine, readCsvLine, removeGeneralization, removeIncludes, removeMedia, setGeneralizationOf, setIncludes, setKindOf, setPartOf, setVocabulary, writeCsvLine
 
Methods inherited from class eu.etaxonomy.cdm.model.common.TermBase
addRepresentation, equals, getDescription, getDescription, getLabel, getLabel, getPreferredRepresentation, getPreferredRepresentation, getRepresentation, getRepresentations, getUri, removeRepresentation, setLabel, setLabel, setUri, toString
 
Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity
addCredit, addCredit, addExtension, addExtension, addRights, addSource, addSource, compareTo, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getLsid, getRights, getSources, getTitleCache, getTruncatedCache, initListener, isProtectedTitleCache, regenerateTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache
 
Methods inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker
 
Methods inherited from class eu.etaxonomy.cdm.model.common.VersionableEntity
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
 
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, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IDefinedTerm
getUuid
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IAnnotatableEntity
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IVersionableEntity
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.ICdmBase
getCreated, getCreatedBy, getId, getUuid, setCreated, setCreatedBy, setId, setUuid
 

Field Detail

termMap

protected static Map<UUID,RightsTerm> termMap
Constructor Detail

RightsTerm

public RightsTerm()
Default Constructor


RightsTerm

public RightsTerm(String term,
                  String label,
                  String labelAbbrev)
Constructor

Method Detail

NewInstance

public static RightsTerm NewInstance()
Factory method

Returns:

NewInstance

public static RightsTerm NewInstance(String text,
                                     String label,
                                     String labelAbbrev)
Factory method

Returns:

resetTerms

public void resetTerms()
Specified by:
resetTerms in class DefinedTermBase<RightsTerm>

getTermByUuid

protected static RightsTerm getTermByUuid(UUID uuid)

ACCESS_RIGHTS

public static final RightsTerm ACCESS_RIGHTS()
http://purl.org/dc/terms/accessRights


COPYRIGHT

public static final RightsTerm COPYRIGHT()

LICENSE

public static final RightsTerm LICENSE()

setDefaultTerms

protected void setDefaultTerms(TermVocabulary<RightsTerm> termVocabulary)
Specified by:
setDefaultTerms in class DefinedTermBase<RightsTerm>


Copyright © 2007-2013 EDIT. All Rights Reserved.