eu.etaxonomy.cdm.model.common
Interface ICdmBase

All Known Subinterfaces:
IAnnotatableEntity, IArticle, IBook, IBookSection, ICdDvd, IDatabase, IGeneric, IIdentifiableEntity, IInProceedings, IJournal, IMap, IMatchable, IMergable, IModifiable, INomenclaturalReference, IPatent, IPersonalCommunication, IPrintedUnitBase, IPrintSeries, IProceedings, IPublicationBase, IReference, IReport, ISectionBase, IThesis, ITreeNode, IVersionableEntity, IVolumeReference, IWebPage
All Known Implementing Classes:
AbsenceTerm, Address, AgentBase, AlternativeTreeRoot, AnnotatableEntity, Annotation, AnnotationType, AudioFile, BacterialName, BotanicalName, CategoricalData, CdmBase, CdmMetaData, Classification, Collection, CommonTaxonName, Continent, Credit, CultivarPlantName, DefinedTermBase, DerivationEvent, DerivationEventType, DerivedUnit, DerivedUnitBase, DescriptionBase, DescriptionElementBase, DescriptionElementSource, DeterminationEvent, DeterminationModifier, Distribution, DnaSample, EventBase, Extension, ExtensionType, Feature, FeatureNode, FeatureTree, FieldObservation, Figure, Fossil, GatheringEvent, GenBankAccession, GrantedAuthorityImpl, Group, HomotypicalGroup, HybridRelationship, HybridRelationshipType, IdentifiableEntity, IdentifiableMediaEntity, IdentifiableSource, ImageFile, IndividualsAssociation, Institution, InstitutionalMembership, InstitutionType, KeyStatement, Language, LanguageString, LanguageStringBase, LivingBeing, Locus, LSIDAuthority, Marker, MarkerType, MeasurementUnit, Media, MediaKey, MediaRepresentation, MediaRepresentationPart, Modifier, MovieFile, MultiAccessKey, NamedArea, NamedAreaLevel, NamedAreaType, NameRelationship, NameRelationshipType, NameTypeDesignation, NameTypeDesignationStatus, NaturalLanguageTerm, NomenclaturalStatus, NomenclaturalStatusType, NonViralName, Observation, OpenUrlReference, OrderedTermBase, OrderedTermVocabulary, OriginalSourceBase, Person, PhylogeneticTree, PolytomousKey, PolytomousKeyNode, PresenceAbsenceTermBase, PresenceTerm, PreservationMethod, QuantitativeData, Rank, Reference, ReferencedEntityBase, ReferencedMediaBase, ReferenceIdentity, ReferenceSystem, RelationshipBase, RelationshipTermBase, Representation, Rights, RightsTerm, Scope, Sequence, Sex, Specimen, SpecimenDescription, SpecimenOrObservationBase, SpecimenTypeDesignation, SpecimenTypeDesignationStatus, Stage, State, StateData, StatisticalMeasure, StatisticalMeasurementValue, Synonym, SynonymRelationship, SynonymRelationshipType, Taxon, TaxonBase, TaxonDescription, TaxonInteraction, TaxonNameBase, TaxonNameDescription, TaxonNode, TaxonRelationship, TaxonRelationshipType, TdwgArea, Team, TeamOrPersonBase, TermBase, TermVocabulary, TextData, TextFormat, TypeDesignationBase, TypeDesignationStatusBase, User, VersionableEntity, View, ViralName, WaterbodyOrCountry, WorkingSet, ZoologicalName

public interface ICdmBase


Method Summary
 org.joda.time.DateTime getCreated()
           
 User getCreatedBy()
           
 int getId()
          Returns local unique identifier for the concrete subclass
 UUID getUuid()
           
 void setCreated(org.joda.time.DateTime created)
          Sets the timestamp this object was created.
 void setCreatedBy(User createdBy)
           
 void setId(int id)
          Assigns a unique local ID to this object.
 void setUuid(UUID uuid)
           
 

Method Detail

getId

int getId()
Returns local unique identifier for the concrete subclass

Returns:

setId

void setId(int id)
Assigns a unique local ID to this object. Because of the EJB3 @Id and @GeneratedValue annotation this id will be set automatically by the persistence framework when object is saved.

Parameters:
id -

getUuid

UUID getUuid()

setUuid

void setUuid(UUID uuid)

getCreated

org.joda.time.DateTime getCreated()

setCreated

void setCreated(org.joda.time.DateTime created)
Sets the timestamp this object was created. Most databases cannot store milliseconds, so they are removed by this method. Caution: We are planning to replace the Calendar class with a different datetime representation which is more suitable for hibernate see TRAC ticket

Parameters:
created -

getCreatedBy

User getCreatedBy()

setCreatedBy

void setCreatedBy(User createdBy)


Copyright © 2007-2013 EDIT. All Rights Reserved.