eu.etaxonomy.cdm.model.common
Class Figure

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.media.Media
                      extended by eu.etaxonomy.cdm.model.media.ReferencedMediaBase
                          extended by eu.etaxonomy.cdm.model.common.Figure
All Implemented Interfaces:
IAnnotatableEntity, ICdmBase, IIdentifiableEntity, IMultiLanguageTextHolder, IReferencedEntity, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable

@Entity
public class Figure
extends ReferencedMediaBase

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 Figure()
          Constructor
 
Method Summary
static Figure NewInstance()
          Factory method
static Media NewInstance(URI uri, Integer size, String mimeType, String suffix)
          Factory method which creates a new figure, adds a reprsentation including mime type and suffix information and adds to the later a representation part for a given uri and size Returns null if uri is empty
 
Methods inherited from class eu.etaxonomy.cdm.model.media.ReferencedMediaBase
getCitation, getCitationMicroReference, setCitation, setCitationMicroReference
 
Methods inherited from class eu.etaxonomy.cdm.model.media.Media
addDescription, addDescription, addRepresentation, addTitle, addTitle, clone, compareTo, getAllDescriptions, getAllTitles, getArtist, getDescription, getMediaCreated, getRepresentations, getTitle, getTitle, getTitleCache, getTitleCacheByLanguage, putTitle, putTitle, removeDescription, removeRepresentation, removeTitle, setArtist, setMediaCreated, setTitleCache
 
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, getTruncatedCache, initListener, isProtectedTitleCache, regenerateTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, 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, 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.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

Figure

protected Figure()
Constructor

Method Detail

NewInstance

public static Figure NewInstance()
Factory method

Returns:

NewInstance

public static Media NewInstance(URI uri,
                                Integer size,
                                String mimeType,
                                String suffix)
Factory method which creates a new figure, adds a reprsentation including mime type and suffix information and adds to the later a representation part for a given uri and size Returns null if uri is empty

Returns:
Media


Copyright © 2007-2013 EDIT. All Rights Reserved.