@Entity public final class PublicReferenceImplementation extends PublicReference implements java.io.Serializable
PublicReference class with
HIBERNATE.| Modifier | Constructor and Description |
|---|---|
protected |
PublicReferenceImplementation()
Default constructor for
PublicReferenceImplementation is
necessary for PojoInstantiator of HIBERNATE. |
protected |
PublicReferenceImplementation(PublicReference pub)
Constructor for a
PublicReferenceImplementation from the given
PublicReference object. |
| Modifier and Type | Method and Description |
|---|---|
void |
changeReleaseDate(java.util.Calendar releaseDate) |
java.util.Calendar |
getAcceptedDate()
Getter for the accepted Date of this
PublicReference |
java.lang.String |
getAssignedID() |
java.util.Calendar |
getCreationDate()
Getter for the creation Date of this
PublicReference |
int |
getId()
Getter for the
id field of this
PublicReferenceImplementation to persist with HIBERNATE. |
PersistentIdentifier |
getIdentifierType()
Getter for the
PersistentIdentifier of this
PublicReference. |
java.lang.String |
getInternalID() |
java.lang.String |
getLandingPage() |
protected PrincipalImplementation |
getPrivateRequestedPrincipal() |
PublicationStatus |
getPublicationStatus()
Function to check the publication status of this
PublicReference. |
Referenceable |
getReferencable()
Getter for the
Referenceable type of this
PublicReference: |
java.util.Calendar |
getRejectedDate()
Getter for the rejected Date of this
PublicReference |
java.util.Calendar |
getReleaseDate() |
java.util.Calendar |
getRequestedDate()
Getter for the requested Date of this
PublicReference |
java.security.Principal |
getRequestedPrincipal()
Get the
Principal of the person, who requested this
PublicReference. |
java.util.Set<ReviewStatusImplementation> |
getReviewStatusSet() |
PrimaryDataEntityVersionImplementation |
getVersion()
Getter for the
PrimaryDataEntityVersion of this
PublicReference. |
boolean |
isPublic()
Getter for the
isPublic field. |
protected void |
setAcceptedDate(java.util.Calendar acceptedDate)
Setter for the accepted date of this
PublicReference. |
protected void |
setAssignedID(java.lang.String assignedID) |
protected void |
setCreationDate(java.util.Calendar creationDate)
Setter for the creation date of this
PublicReference. |
void |
setId(int id)
Setter for the
id field of this
PublicReferenceImplementation to persist with HIBERNATE. |
void |
setIdentifierType(PersistentIdentifier identifierType)
Setter for the
PersistentIdentifier of this
PublicReferenceImplementation. |
protected void |
setInternalID(java.lang.String internalID) |
void |
setLandingPage(java.lang.String landingPage) |
protected void |
setPrivateRequestedPrincipal(PrincipalImplementation requestedPrincipal) |
protected void |
setPublic(boolean isPublic)
Setter for the
isPublic field of this
PublicReferenceImplementation. |
protected void |
setPublicationStatus(PublicationStatus publicationStatus)
Internal setter for the
PublicationStatus of this
PublicReference. |
protected void |
setRejectedDate(java.util.Calendar rejectedDate)
Setter for the rejected date of this
PublicReference. |
protected void |
setReleaseDate(java.util.Calendar releaseDate) |
protected void |
setRequestedDate(java.util.Calendar requestedDate)
Setter for the requested date of this
PublicReference. |
void |
setReviewStatusSet(java.util.Set<ReviewStatusImplementation> reviewStatusSet) |
protected void |
setVersion(PrimaryDataEntityVersionImplementation version)
Setter for the
PrimaryDataEntityVersionImplementation of this
PublicReferenceImplementation. |
java.lang.String |
toString() |
equals, hashCode, setPublic, setPublic, setRequestedPrincipal, setVersionprotected PublicReferenceImplementation()
PublicReferenceImplementation is
necessary for PojoInstantiator of HIBERNATE.protected PublicReferenceImplementation(PublicReference pub)
PublicReferenceImplementation from the given
PublicReference object. The considering
PrimaryDataEntityVersionImplementation will be set in the
PrimaryDataDirectoryImplementation.storeVersion(de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntityVersion)
function.pub - the initial PublicReference object.public java.util.Calendar getAcceptedDate()
PublicReferencePublicReferencegetAcceptedDate in class PublicReferencePublicReference was not
yet accepted.public java.lang.String getAssignedID()
throws PublicReferenceException
getAssignedID in class PublicReferencePublicReferenceException - if no ID setpublic java.util.Calendar getCreationDate()
PublicReferencePublicReferencegetCreationDate in class PublicReferencepublic int getId()
id field of this
PublicReferenceImplementation to persist with HIBERNATE.PublicReferenceImplementation.public PersistentIdentifier getIdentifierType()
PersistentIdentifier of this
PublicReference.getIdentifierType in class PublicReferencePersistentIdentifier to this PublicReference.protected PrincipalImplementation getPrivateRequestedPrincipal()
public PublicationStatus getPublicationStatus()
PublicReferencePublicReference.getPublicationStatus in class PublicReferencePublicReference.public Referenceable getReferencable() throws EdalException
PublicReferenceReferenceable type of this
PublicReference:getReferencable in class PublicReferenceReferenceable object.EdalException - if unable to load the Referenceable class.public java.util.Calendar getReleaseDate()
getReleaseDate in class PublicReferencepublic java.util.Calendar getRejectedDate()
PublicReferencePublicReferencegetRejectedDate in class PublicReferencePublicReference was not
yet rejected.public java.util.Calendar getRequestedDate()
PublicReferencePublicReferencegetRequestedDate in class PublicReferencePublicReference was not
yet requested.public java.security.Principal getRequestedPrincipal()
PublicReferencePrincipal of the person, who requested this
PublicReference.getRequestedPrincipal in class PublicReferencePrincipal that requested this PublicReference
.public PrimaryDataEntityVersionImplementation getVersion()
PrimaryDataEntityVersion of this
PublicReference.getVersion in class PublicReferencePrimaryDataEntityVersion to this
PublicReference.public boolean isPublic()
isPublic field. Convenience function for
external use.isPublic in class PublicReferenceisPublic field.protected void setAcceptedDate(java.util.Calendar acceptedDate)
PublicReferencePublicReference.setAcceptedDate in class PublicReferenceacceptedDate - the date to set.protected void setAssignedID(java.lang.String assignedID)
setAssignedID in class PublicReferenceassignedID - the assignedID to setprotected void setCreationDate(java.util.Calendar creationDate)
PublicReferencePublicReference.setCreationDate in class PublicReferencecreationDate - the Date to set as creation date.public void setId(int id)
id field of this
PublicReferenceImplementation to persist with HIBERNATE.id - the id to set.public void setIdentifierType(PersistentIdentifier identifierType)
PersistentIdentifier of this
PublicReferenceImplementation.identifierType - the PersistentIdentifier to set.protected void setPrivateRequestedPrincipal(PrincipalImplementation requestedPrincipal)
protected void setPublic(boolean isPublic)
isPublic field of this
PublicReferenceImplementation.isPublic - the Boolean to set.protected void setPublicationStatus(PublicationStatus publicationStatus)
PublicReferencePublicationStatus of this
PublicReference.setPublicationStatus in class PublicReferencepublicationStatus - the publicationStatus to setprotected void setRejectedDate(java.util.Calendar rejectedDate)
PublicReferencePublicReference.setRejectedDate in class PublicReferencerejectedDate - the date to set.protected void setRequestedDate(java.util.Calendar requestedDate)
PublicReferencePublicReference.setRequestedDate in class PublicReferencerequestedDate - the Date to set as requested Date.protected void setReleaseDate(java.util.Calendar releaseDate)
setReleaseDate in class PublicReferencereleaseDate - the releaseDate to setpublic void changeReleaseDate(java.util.Calendar releaseDate)
changeReleaseDate in class PublicReferenceprotected void setVersion(PrimaryDataEntityVersionImplementation version)
PrimaryDataEntityVersionImplementation of this
PublicReferenceImplementation.version - the PrimaryDataEntityVersionImplementation object to
set.public java.lang.String toString()
toString in class PublicReferencepublic java.util.Set<ReviewStatusImplementation> getReviewStatusSet()
public void setReviewStatusSet(java.util.Set<ReviewStatusImplementation> reviewStatusSet)
reviewStatusSet - the reviewStatusSet to setpublic java.lang.String getLandingPage()
public void setLandingPage(java.lang.String landingPage)
landingPage - the landingPage to setpublic java.lang.String getInternalID()
getInternalID in class PublicReferenceprotected void setInternalID(java.lang.String internalID)
setInternalID in class PublicReferenceinternalID - the internalID to set