eu.etaxonomy.cdm.model.reference
Class WebPage

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.PublicationBase
                                  extended by eu.etaxonomy.cdm.model.reference.WebPage
All Implemented Interfaces:
ICdmBase, IIdentifiableEntitiy, IParsable, ISourceable, IMediaDocumented, IMediaEntity, Serializable, Cloneable

public class WebPage
extends PublicationBase
implements Cloneable

This class represents electronic publications available on the world wide web.

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

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
protected WebPage()
          Class constructor: creates a new empty web page instance.
 
Method Summary
 WebPage clone()
          Clones this web page instance.
 String generateTitle()
          Generates, according to the cache strategy assigned to this web page, a string that identifies this web page and returns it.
static WebPage NewInstance()
          Creates a new empty web page instance.
 
Methods inherited from class eu.etaxonomy.cdm.model.reference.PublicationBase
getPlacePublished, getPublisher, setPlacePublished, setPublisher
 
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
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

WebPage

protected WebPage()
Class constructor: creates a new empty web page instance.

Method Detail

NewInstance

public static WebPage NewInstance()
Creates a new empty web page instance.


generateTitle

public String generateTitle()
Generates, according to the cache strategy assigned to this web page, a string that identifies this web page and returns it. This string may be stored in the inherited titleCache attribute.
This method overrides the generic and inherited generateTitle method from ReferenceBase.

Specified by:
generateTitle in interface IIdentifiableEntitiy
Overrides:
generateTitle in class ReferenceBase
Returns:
the string identifying this web page
See Also:
ReferenceBase.generateTitle(), IdentifiableEntity.getTitleCache(), IdentifiableEntity.generateTitle(), eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy#getTitleCache()

clone

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

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


Copyright © 2008. All Rights Reserved.