| Modifier and Type | Method and Description |
|---|---|
PrimaryDataEntityVersion |
PrimaryDataEntity.getCurrentVersion()
Getter for the current
PrimaryDataEntityVersion. |
PrimaryDataEntityVersion |
PublicReference.getVersion()
Getter for the
PrimaryDataEntityVersion of this
PublicReference. |
PrimaryDataEntityVersion |
PrimaryDataEntity.getVersionByDate(Calendar date)
Convenience function to get a
PrimaryDataEntityVersion of this
PrimaryDataEntity by the revision date. |
PrimaryDataEntityVersion |
PrimaryDataEntity.getVersionByRevisionNumber(long revisionNumber)
Convenience function to get a
PrimaryDataEntityVersion of this
PrimaryDataEntity by the revision number. |
| Modifier and Type | Method and Description |
|---|---|
SortedSet<PrimaryDataEntityVersion> |
PrimaryDataEntity.getVersions()
|
protected abstract SortedSet<PrimaryDataEntityVersion> |
PrimaryDataEntity.getVersionsImpl()
Abstract function for implementation of
PrimaryDataEntity.getVersions(). |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrimaryDataEntity.commitVersion(PrimaryDataEntityVersion version)
Internal function to commit a
PrimaryDataEntityVersion to the
storage back-end. |
int |
PrimaryDataEntityVersion.compareTo(PrimaryDataEntityVersion o)
Compares by
revision |
protected void |
PrimaryDataEntity.setCurrentVersion(PrimaryDataEntityVersion version)
Setter for the current
PrimaryDataEntityVersion. |
void |
PublicReference.setVersion(PrimaryDataEntityVersion version)
Setter for the
PrimaryDataEntityVersion of this
PublicReference. |
protected abstract void |
PrimaryDataFile.storeImpl(InputStream dataInputStream,
PrimaryDataEntityVersion newFileVersion)
Abstract function for implementation the
PrimaryDataFile.store(InputStream) function. |
protected abstract void |
PrimaryDataEntity.storeVersion(PrimaryDataEntityVersion newVersion)
Abstract function for storing a new
PrimaryDataEntityVersion for
an PrimaryDataEntity object. |
void |
PrimaryDataEntity.switchCurrentVersion(PrimaryDataEntityVersion version)
Switch the current
PrimaryDataEntityVersion with this
PrimaryDataEntityVersion. |
| Constructor and Description |
|---|
PublicReference(PrimaryDataEntityVersion entityVersion,
PersistentIdentifier identifierType)
Constructor generate a new
PublicReference object and use the
class that belongs to the PersistentIdentifier. |
| Modifier and Type | Method and Description |
|---|---|
void |
URNReference.validate(PrimaryDataEntityVersion entityVersion) |
void |
URLReference.validate(PrimaryDataEntityVersion entityVersion) |
void |
EdalReferenceable.validate(PrimaryDataEntityVersion entityVersion)
Semantic validation of
MetaData
elements. |
void |
DataCiteReference.validate(PrimaryDataEntityVersion entityVersion) |
void |
URNReference.validateMetaData(PrimaryDataEntityVersion entityVersion) |
void |
URLReference.validateMetaData(PrimaryDataEntityVersion entityVersion) |
void |
EdalReferenceable.validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate the
MetaData
schema of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type. |
void |
DataCiteReference.validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate the
MetaData
schema of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type. |
| Modifier and Type | Method and Description |
|---|---|
protected PrimaryDataEntityVersion |
DataCiteXmlMapper.getVersion()
Getter for the
PrimaryDataEntityVersion of this
DataCiteXmlMapper. |
| Constructor and Description |
|---|
DataCiteXmlMapper(PrimaryDataEntityVersion version)
Constructor to set the
MetaData for this
DataCiteXmlMapper. |
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.