Package step.core.entities
Class Entity<A extends step.core.accessors.AbstractIdentifiableObject,T extends step.core.accessors.Accessor<A>>
java.lang.Object
step.core.entities.Entity<A,T>
- Direct Known Subclasses:
FunctionEntity,FunctionPackageEntity,PlanEntity,ResourceEntity
public class Entity<A extends step.core.accessors.AbstractIdentifiableObject,T extends step.core.accessors.Accessor<A>>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanresolveAtomicReference(Object atomicReference, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext) This method is responsible for the resolution of atomic references to entity idvoidsetByPassObjectPredicate(boolean byPassObjectPredicate) updateAtomicReference(Object atomicReference, String newEntityId, EntityDependencyTreeVisitor.EntityTreeVisitorContext visitorContext) This method is responsible for the update of atomic references with a new entity id
-
Constructor Details
-
Entity
-
-
Method Details
-
getName
-
getAccessor
-
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 resolvedvisitorContext- 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 updatednewEntityId- the new entity ifvisitorContext- the context object- Returns:
- the updated atomic reference
-