Package step.resources
Class ResourceEntity
- java.lang.Object
-
- step.core.entities.Entity<Resource,step.core.accessors.Accessor<Resource>>
-
- step.resources.ResourceEntity
-
-
Constructor Summary
Constructors Constructor Description ResourceEntity(step.core.accessors.Accessor<Resource> accessor, ResourceManager resourceManager, FileResolver fileResolver, EntityManager entityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
resolveAtomicReference(java.lang.Object atomicReferene, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
This method is responsible for the resolution of atomic references to entity idjava.lang.Object
updateAtomicReference(java.lang.Object atomicReference, java.lang.String resolvedEntityId, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
This method is responsible for the update of atomic references with a new entity id-
Methods inherited from class step.core.entities.Entity
getAccessor, getEntityClass, getName, isByPassObjectPredicate, setByPassObjectPredicate
-
-
-
-
Constructor Detail
-
ResourceEntity
public ResourceEntity(step.core.accessors.Accessor<Resource> accessor, ResourceManager resourceManager, FileResolver fileResolver, EntityManager entityManager)
-
-
Method Detail
-
resolveAtomicReference
public java.lang.String resolveAtomicReference(java.lang.Object atomicReferene, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
Description copied from class:Entity
This method is responsible for the resolution of atomic references to entity id- Overrides:
resolveAtomicReference
in classEntity<Resource,step.core.accessors.Accessor<Resource>>
- Parameters:
atomicReferene
- the atomic reference to be resolvedvisitorContext
- the context object- Returns:
- the resolved entity id or null
-
updateAtomicReference
public java.lang.Object updateAtomicReference(java.lang.Object atomicReference, java.lang.String resolvedEntityId, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
Description copied from class:Entity
This method is responsible for the update of atomic references with a new entity id- Overrides:
updateAtomicReference
in classEntity<Resource,step.core.accessors.Accessor<Resource>>
- Parameters:
atomicReference
- the atomic reference to be updatedresolvedEntityId
- the new entity ifvisitorContext
- the context object- Returns:
- the updated atomic reference
-
-