eu.etaxonomy.cdm.model.reference
Class SectionBase

java.lang.Object
  extended by eu.etaxonomy.cdm.model.common.CdmBase
      extended by eu.etaxonomy.cdm.model.common.VersionableEntity<T>
          extended by eu.etaxonomy.cdm.model.common.AnnotatableEntity<T>
              extended by eu.etaxonomy.cdm.model.common.IdentifiableEntity
                  extended by eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity
                      extended by eu.etaxonomy.cdm.model.reference.ReferenceBase
                          extended by eu.etaxonomy.cdm.model.reference.StrictReferenceBase
                              extended by eu.etaxonomy.cdm.model.reference.SectionBase
All Implemented Interfaces:
ICdmBase, IIdentifiableEntitiy, IParsable, ISourceable, IMediaDocumented, IMediaEntity, Serializable
Direct Known Subclasses:
BookSection, InProceedings

public abstract class SectionBase
extends StrictReferenceBase

This (abstract) class represents isolated sections (parts, chapters or papers) within a printed unit.

This class corresponds, according to the TDWG ontology, to the publication type term (from PublicationTypeTerm): "SubReference".

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

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.model.reference.ReferenceBase
cacheStrategy
 
Fields inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity
NOT_PROTECTED, PROTECTED
 
Fields inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity
annotations, markers
 
Constructor Summary
SectionBase()
           
 
Method Summary
 Object clone()
          Clones this section.
 String getPages()
          Returns the string representing the page(s) where the content of this section is located within the printed unit.
 PrintedUnitBase getPrintedUnit()
          Returns the printed unit to which this section belongs.
 void setPages(String pages)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.reference.StrictReferenceBase
getCitation, getDatePublished, getTitle, getYear, setDatePublished, setTitle
 
Methods inherited from class eu.etaxonomy.cdm.model.reference.ReferenceBase
generateTitle, getAuthorTeam, getHasProblem, getUri, isNomenclaturallyRelevant, setAuthorTeam, setHasProblem, setNomenclaturallyRelevant, setUri
 
Methods inherited from class eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity
addMedia, getMedia, removeMedia, setMedia
 
Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity
addExtension, addRights, addSource, getExtensions, getLsid, getPersistentTitleCache, getRights, getSources, getTitleCache, isProtectedTitleCache, removeExtension, removeRights, removeSource, setExtensions, setLsid, setPersistentTitleCache, setProtectedTitleCache, setRights, setSources, setTitleCache, setTitleCache, toString
 
Methods inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity
addAnnotation, addMarker, getAnnotations, getMarkers, removeAnnotation, removeMarker, setAnnotations, setMarkers
 
Methods inherited from class eu.etaxonomy.cdm.model.common.VersionableEntity
equals, getNextVersion, getPreviousVersion, getUpdated, getUpdatedBy, getValidFrom, getValidTo, hashCode, setNextVersion, setPreviousVersion, setUpdated, setUpdatedBy
 
Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase
addPropertyChangeListener, addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hasListeners, invokeSetMethod, invokeSetMethodWithNull, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SectionBase

public SectionBase()
Method Detail

getPages

public String getPages()
Returns the string representing the page(s) where the content of this section is located within the printed unit.

Returns:
the string with the pages corresponding to this section

setPages

public void setPages(String pages)
See Also:
getPages()

getPrintedUnit

public PrintedUnitBase getPrintedUnit()
Returns the printed unit to which this section belongs.

Returns:
the printed unit containing this section

clone

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

Overrides:
clone in class StrictReferenceBase
See Also:
StrictReferenceBase.clone(), IdentifyableMediaEntity.clone(), Object.clone()


Copyright © 2008. All Rights Reserved.