Class ResourceEntity


  • public class ResourceEntity
    extends Entity<step.resources.Resource,​step.core.accessors.Accessor<step.resources.Resource>>
    • Constructor Detail

    • Method Detail

      • resolveAtomicReference

        public String resolveAtomicReference​(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 class Entity<step.resources.Resource,​step.core.accessors.Accessor<step.resources.Resource>>
        Parameters:
        atomicReferene - the atomic reference to be resolved
        visitorContext - the context object
        Returns:
        the resolved entity id or null
      • updateAtomicReference

        public Object updateAtomicReference​(Object atomicReference,
                                            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 class Entity<step.resources.Resource,​step.core.accessors.Accessor<step.resources.Resource>>
        Parameters:
        atomicReference - the atomic reference to be updated
        resolvedEntityId - the new entity if
        visitorContext - the context object
        Returns:
        the updated atomic reference