Class PrimaryDataEntityVersionImplementation
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntityVersion
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.file.implementation.PrimaryDataEntityVersionImplementation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PrimaryDataEntityVersion>
@Entity public class PrimaryDataEntityVersionImplementation extends PrimaryDataEntityVersion implements java.io.Serializable
Implementation ofPrimaryDataEntityVersion.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrimaryDataEntityVersionImplementation()Default constructor forPrimaryDataEntityVersionImplementationis necessary for PojoInstantiator of HIBERNATE.
-
Method Summary
Modifier and Type Method Description voidaddPublicReference(PublicReferenceImplementation publicReference)java.util.CalendargetCreationDate()Getter for the fieldcreationDate.booleangetDeleted()Getter forisDeletedflag.PrimaryDataEntitygetEntity()Getter for the fieldentity.intgetId()Getter for the fieldid.java.util.List<PublicReferenceImplementation>getInternReferences()Getter for the fieldinternReferences.MetaDataImplementationgetMetaData()Getter for theMetaDataof thisPrimaryDataEntityVersion.PrincipalImplementationgetOwner()java.lang.StringgetPrimaryEntityId()Getter for the fieldprimaryEntityId.java.util.List<PublicReference>getPublicReferences()longgetRevision()Getter for the fieldrevision.java.util.CalendargetRevisionDate()Getter for the fieldrevisionDate.voidsetAllReferencesPublic(javax.mail.internet.InternetAddress emailNotificationAddress, java.util.Calendar releaseDate)Set allPublicReferences of thisPrimaryDataEntityVersionof thisPrimaryDataEntitywill be requested to set public.protected voidsetCreationDate(java.util.Calendar creationDate)Setter for the fieldcreationDate.protected voidsetDeleted(boolean isDeleted)Setter for theisDeletedflag.protected voidsetId(int id)Setter for the fieldid.protected voidsetInternReferences(java.util.List<PublicReferenceImplementation> internReferences)Setter for the fieldinternReferences.protected voidsetMetaData(MetaDataImplementation metaData)Setter for the fieldmetaData.protected voidsetOwner(PrincipalImplementation owner)protected voidsetPrimaryEntityId(java.lang.String primaryEntityId)Setter for the fieldprimaryEntityId.protected voidsetRevision(long revision)Setter for the fieldrevision.protected voidsetRevisionDate(java.util.Calendar revisionDate)Setter for the fieldrevisionDate.-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntityVersion
addPublicReference, compareTo, getName, getPublicReference, getURL, isDeleted, setAllReferencesPublic, setEntity, setMetaData, setOwner, setPublicReferences, toString
-
-
-
-
Constructor Detail
-
PrimaryDataEntityVersionImplementation
public PrimaryDataEntityVersionImplementation()
Default constructor forPrimaryDataEntityVersionImplementationis necessary for PojoInstantiator of HIBERNATE.
-
-
Method Detail
-
addPublicReference
public void addPublicReference(PublicReferenceImplementation publicReference)
-
getCreationDate
public java.util.Calendar getCreationDate()
Getter for the fieldcreationDate.- Overrides:
getCreationDatein classPrimaryDataEntityVersion- Returns:
- the creationDate.
-
getDeleted
public boolean getDeleted()
Getter forisDeletedflag.- Returns:
- a boolean.
-
getEntity
public PrimaryDataEntity getEntity()
Getter for the fieldentity.- Overrides:
getEntityin classPrimaryDataEntityVersion- Returns:
- entity.
-
getId
public int getId()
Getter for the fieldid.- Returns:
- a int.
-
getInternReferences
public java.util.List<PublicReferenceImplementation> getInternReferences()
Getter for the fieldinternReferences.- Returns:
- a
ListofPublicReferenceImplementationobjects.
-
getMetaData
public MetaDataImplementation getMetaData()
Getter for theMetaDataof thisPrimaryDataEntityVersion.- Overrides:
getMetaDatain classPrimaryDataEntityVersion- Returns:
- the
MetaDataof thisPrimaryDataEntityVersion.
-
getPrimaryEntityId
public java.lang.String getPrimaryEntityId()
Getter for the fieldprimaryEntityId.- Returns:
- a
Stringobject.
-
getPublicReferences
public java.util.List<PublicReference> getPublicReferences()
- Overrides:
getPublicReferencesin classPrimaryDataEntityVersion- Returns:
- read only
ListofPublicReference
-
getRevision
public long getRevision()
Getter for the fieldrevision.- Overrides:
getRevisionin classPrimaryDataEntityVersion- Returns:
- the revision.
-
getRevisionDate
public java.util.Calendar getRevisionDate()
Getter for the fieldrevisionDate.- Overrides:
getRevisionDatein classPrimaryDataEntityVersion- Returns:
- revisionDate.
-
setAllReferencesPublic
public void setAllReferencesPublic(javax.mail.internet.InternetAddress emailNotificationAddress, java.util.Calendar releaseDate) throws PublicReferenceExceptionSet allPublicReferences of thisPrimaryDataEntityVersionof thisPrimaryDataEntitywill be requested to set public.- Overrides:
setAllReferencesPublicin classPrimaryDataEntityVersion- Parameters:
emailNotificationAddress- the eMail address of the requesting user.releaseDate- the release date for thePublicReferences.- Throws:
PublicReferenceException- if unable to request thePublicReferenceto set public.
-
setCreationDate
protected void setCreationDate(java.util.Calendar creationDate)
Setter for the fieldcreationDate.- Overrides:
setCreationDatein classPrimaryDataEntityVersion- Parameters:
creationDate- the creationDate to set.
-
setDeleted
protected void setDeleted(boolean isDeleted)
Setter for theisDeletedflag.- Overrides:
setDeletedin classPrimaryDataEntityVersion- Parameters:
isDeleted- the isDeleted to set.
-
setId
protected void setId(int id)
Setter for the fieldid.- Parameters:
id- a int.
-
setInternReferences
protected void setInternReferences(java.util.List<PublicReferenceImplementation> internReferences)
Setter for the fieldinternReferences.- Parameters:
internReferences- aListofPublicReferenceImplementationobjects.
-
setMetaData
protected void setMetaData(MetaDataImplementation metaData)
Setter for the fieldmetaData.- Parameters:
metaData- aMetaDataImplementationobject.
-
setPrimaryEntityId
protected void setPrimaryEntityId(java.lang.String primaryEntityId)
Setter for the fieldprimaryEntityId.- Parameters:
primaryEntityId- aStringobject.
-
setRevision
protected void setRevision(long revision)
Setter for the fieldrevision.- Overrides:
setRevisionin classPrimaryDataEntityVersion- Parameters:
revision- the revision to set
-
setRevisionDate
protected void setRevisionDate(java.util.Calendar revisionDate)
Setter for the fieldrevisionDate.- Overrides:
setRevisionDatein classPrimaryDataEntityVersion- Parameters:
revisionDate- the revisionDate to set.
-
getOwner
public PrincipalImplementation getOwner()
- Overrides:
getOwnerin classPrimaryDataEntityVersion- Returns:
- the owner
-
setOwner
protected void setOwner(PrincipalImplementation owner)
- Parameters:
owner- the owner to set
-
-