eu.etaxonomy.cdm.model.reference
Class WebPage
java.lang.Object
eu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity<T>
eu.etaxonomy.cdm.model.common.AnnotatableEntity<T>
eu.etaxonomy.cdm.model.common.IdentifiableEntity
eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity
eu.etaxonomy.cdm.model.reference.ReferenceBase
eu.etaxonomy.cdm.model.reference.StrictReferenceBase
eu.etaxonomy.cdm.model.reference.PublicationBase
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
Constructor Summary |
protected |
WebPage()
Class constructor: creates a new empty web page instance. |
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.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 |
WebPage
protected WebPage()
- Class constructor: creates a new empty web page instance.
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.