Class Entity<A extends step.core.accessors.AbstractIdentifiableObject,​T extends step.core.accessors.Accessor<A>>

    • Constructor Detail

      • Entity

        public Entity​(String name,
                      T accessor,
                      Class<A> entityClass)
    • Method Detail

      • getName

        public String getName()
      • getAccessor

        public T getAccessor()
      • getEntityClass

        public Class<A> getEntityClass()
      • isByPassObjectPredicate

        public boolean isByPassObjectPredicate()
      • setByPassObjectPredicate

        public void setByPassObjectPredicate​(boolean byPassObjectPredicate)
      • resolveAtomicReference

        public String resolveAtomicReference​(Object atomicReference,
                                             EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
        This method is responsible for the resolution of atomic references to entity id
        Parameters:
        atomicReference - the atomic reference to be resolved
        visitorContext - the context object
        Returns:
        the resolved entity id or null
      • updateAtomicReference

        public Object updateAtomicReference​(Object atomicReference,
                                            String newEntityId,
                                            EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext)
        This method is responsible for the update of atomic references with a new entity id
        Parameters:
        atomicReference - the atomic reference to be updated
        newEntityId - the new entity if
        visitorContext - the context object
        Returns:
        the updated atomic reference