Package org.fcrepo.kernel.impl.models
Class TimeMapImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.models.FedoraResourceImpl
-
- org.fcrepo.kernel.impl.models.TimeMapImpl
-
- All Implemented Interfaces:
org.fcrepo.kernel.api.models.FedoraResource,org.fcrepo.kernel.api.models.TimeMap
public class TimeMapImpl extends FedoraResourceImpl implements org.fcrepo.kernel.api.models.TimeMap
FedoraResource implementation that represents a Memento TimeMap of the base resource.- Author:
- pwinckles
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
fedoraId, resourceFactory, transaction
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeMapImpl(org.fcrepo.kernel.api.models.FedoraResource originalResource, org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.persistence.api.PersistentStorageSessionManager pSessionManager, org.fcrepo.kernel.api.models.ResourceFactory resourceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<org.fcrepo.kernel.api.models.FedoraResource>getChildren(Boolean recursive)StringgetInteractionModel()org.fcrepo.kernel.api.models.FedoraResourcegetOriginalResource()List<URI>getSystemTypes(boolean forRdf)org.fcrepo.kernel.api.models.TimeMapgetTimeMap()org.fcrepo.kernel.api.RdfStreamgetTriples()List<URI>getUserTypes()booleanisOriginalResource()List<Instant>listMementoDatetimes()-
Methods inherited from class org.fcrepo.kernel.impl.models.FedoraResourceImpl
findMementoByDatetime, getAcl, getArchivalGroupId, getContainer, getCreatedBy, getCreatedDate, getDescribedResource, getDescription, getEtagValue, getFedoraId, getId, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getParent, getParentId, getSession, getStateToken, getStorageRelativePath, getTypes, hasProperty, hasType, isAcl, isMemento, resolveSystemTypes, setArchivalGroupId, setCreatedBy, setCreatedDate, setEtag, setInteractionModel, setIsArchivalGroup, setIsMemento, setLastModifiedBy, setLastModifiedDate, setMementoDatetime, setParentId, setStateToken, setStorageRelativePath, setTypes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.models.FedoraResource
findMementoByDatetime, getAcl, getArchivalGroupId, getChildren, getContainer, getCreatedBy, getCreatedDate, getDescribedResource, getDescription, getEtagValue, getFedoraId, getId, getLastModifiedBy, getLastModifiedDate, getMementoDatetime, getParent, getParentId, getStateToken, getStorageRelativePath, getTypes, hasProperty, hasType, isAcl, isMemento
-
-
-
-
Constructor Detail
-
TimeMapImpl
protected TimeMapImpl(org.fcrepo.kernel.api.models.FedoraResource originalResource, org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.persistence.api.PersistentStorageSessionManager pSessionManager, org.fcrepo.kernel.api.models.ResourceFactory resourceFactory)
-
-
Method Detail
-
getTriples
public org.fcrepo.kernel.api.RdfStream getTriples()
- Specified by:
getTriplesin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getTriplesin classFedoraResourceImpl
-
getSystemTypes
public List<URI> getSystemTypes(boolean forRdf)
- Specified by:
getSystemTypesin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getSystemTypesin classFedoraResourceImpl
-
getUserTypes
public List<URI> getUserTypes()
- Specified by:
getUserTypesin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getUserTypesin classFedoraResourceImpl
-
getChildren
public Stream<org.fcrepo.kernel.api.models.FedoraResource> getChildren(Boolean recursive)
- Specified by:
getChildrenin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getChildrenin classFedoraResourceImpl
-
getOriginalResource
public org.fcrepo.kernel.api.models.FedoraResource getOriginalResource()
- Specified by:
getOriginalResourcein interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getOriginalResourcein classFedoraResourceImpl
-
isOriginalResource
public boolean isOriginalResource()
- Specified by:
isOriginalResourcein interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
isOriginalResourcein classFedoraResourceImpl
-
getTimeMap
public org.fcrepo.kernel.api.models.TimeMap getTimeMap()
- Specified by:
getTimeMapin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getTimeMapin classFedoraResourceImpl
-
listMementoDatetimes
public List<Instant> listMementoDatetimes()
- Specified by:
listMementoDatetimesin interfaceorg.fcrepo.kernel.api.models.TimeMap
-
getInteractionModel
public String getInteractionModel()
- Specified by:
getInteractionModelin interfaceorg.fcrepo.kernel.api.models.FedoraResource- Overrides:
getInteractionModelin classFedoraResourceImpl
-
-