eu.etaxonomy.cdm.model.occurrence
Class Collection

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<S>
                  extended by eu.etaxonomy.cdm.model.media.IdentifiableMediaEntity<IIdentifiableEntityCacheStrategy<Collection>>
                      extended by eu.etaxonomy.cdm.model.occurrence.Collection
All Implemented Interfaces:
IAnnotatableEntity, ICdmBase, IIdentifiableEntity, ISourceable<IdentifiableSource>, IVersionableEntity, IMediaDocumented, IMediaEntity, Serializable, Cloneable

@Indexed(index="eu.etaxonomy.cdm.model.occurrence.Collection")
@Configurable
public class Collection
extends IdentifiableMediaEntity<IIdentifiableEntityCacheStrategy<Collection>>
implements Cloneable

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

Field Summary
 
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
protected Collection()
          Constructor
 
Method Summary
 Collection clone()
          Clones this collection.
 String getCode()
           
 String getCodeStandard()
           
 Institution getInstitute()
           
 String getName()
           
 Collection getSuperCollection()
           
 String getTownOrLocation()
           
static Collection NewInstance()
          Factory method
 void setCode(String code)
           
 void setCodeStandard(String codeStandard)
           
 void setInstitute(Institution institute)
           
 void setName(String name)
           
 void setSuperCollection(Collection superCollection)
           
 void setTownOrLocation(String townOrLocation)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.media.IdentifiableMediaEntity
addMedia, getMedia, removeMedia
 
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, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString
 
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
equals, 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, 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.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
 

Constructor Detail

Collection

protected Collection()
Constructor

Method Detail

NewInstance

public static Collection NewInstance()
Factory method

Returns:

getInstitute

public Institution getInstitute()

setInstitute

public void setInstitute(Institution institute)
Parameters:
institute - institute

getCode

public String getCode()

setCode

public void setCode(String code)
Parameters:
code - code

getCodeStandard

public String getCodeStandard()

setCodeStandard

public void setCodeStandard(String codeStandard)
Parameters:
codeStandard - codeStandard

getName

public String getName()

setName

public void setName(String name)
Parameters:
name - name

getTownOrLocation

public String getTownOrLocation()

setTownOrLocation

public void setTownOrLocation(String townOrLocation)
Parameters:
townOrLocation - townOrLocation

getSuperCollection

public Collection getSuperCollection()

setSuperCollection

public void setSuperCollection(Collection superCollection)

clone

public Collection clone()
Clones this collection. This is a shortcut that enables to create a new instance that differs only slightly from this collection by modifying only some of the attributes.
This method overrides the clone method from IdentifiableMediaEntity.

Overrides:
clone in class IdentifiableMediaEntity<IIdentifiableEntityCacheStrategy<Collection>>
See Also:
IdentifiableMediaEntity.clone(), Object.clone()


Copyright © 2007-2012 EDIT. All Rights Reserved.