//------------------------------------------------------------------------------- // This package was automatically generated from EXPRESS (ISO STEP 10303 part11) // by a java generator build with the meta CASE tool Platypus // (alain.plantec@univ-brest.fr) // // Please, be aware that any hand-made updating of this file can be lost!!. //------------------------------------------------------------------------------- package CheddarBridge; import java.util.*; import step.core.*; public class Wait_For_Resource_Type extends step.core.StepCoreObject { private static String EntityName = "WAIT_FOR_RESOURCE_TYPE"; private Generic_Task wait_for_resource_task_; private Generic_Resource wait_for_resource_; public static String EntityName() { return EntityName; } public String entityName() { return EntityName(); } public boolean isInstanceOf(String entName) { return entName.equals(EntityName); } public boolean isKindOf(String entName) { return entName.equals(EntityName) ? true : super.isKindOf(entName); } public void initializeExplicitAttributes() { super.initializeExplicitAttributes(); wait_for_resource_task_ = null; wait_for_resource_ = null; } public Wait_For_Resource_Type () { initializeExplicitAttributes(); } public Wait_For_Resource_Type (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setWaitForResourceTask ( Generic_Task _v ) { wait_for_resource_task_ = _v; } public Generic_Task getWaitForResourceTask() { return wait_for_resource_task_; } public void setWaitForResource ( Generic_Resource _v ) { wait_for_resource_ = _v; } public Generic_Resource getWaitForResource() { return wait_for_resource_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Wait_For_Resource_Type) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Wait_For_Resource_TypeStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (getWaitForResourceTask() == oldObj ) { setWaitForResourceTask((Generic_Task) newObj); done = true; } if (getWaitForResource() == oldObj ) { setWaitForResource((Generic_Resource) newObj); done = true; } if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }