//------------------------------------------------------------------------------- // 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 Mono_Core_Processor extends Generic_Processor { private static String EntityName = "MONO_CORE_PROCESSOR"; private Core_Unit core_; 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(); core_ = null; } public Mono_Core_Processor () { initializeExplicitAttributes(); } public Mono_Core_Processor (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setCore ( Core_Unit _v ) { core_ = _v; } public Core_Unit getCore() { return core_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Mono_Core_Processor) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Mono_Core_ProcessorStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (getCore() == oldObj ) { setCore((Core_Unit) newObj); done = true; } if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }