//------------------------------------------------------------------------------- // 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 Generic_Processor extends Named_Object { private static String EntityName = "GENERIC_PROCESSOR"; private String network_name_; private Processors_type processor_type_; private migrations_type migration_type_; 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(); network_name_ = ""; processor_type_ = Processors_type.Monocore_type; migration_type_ = migrations_type.No_Migration_Type; } public Generic_Processor () { initializeExplicitAttributes(); } public Generic_Processor (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setNetworkName ( String _v ) { network_name_ = _v; } public String getNetworkName() { return network_name_; } public void setProcessorType ( Processors_type _v ) { processor_type_ = _v; } public Processors_type getProcessorType() { return processor_type_; } public void setMigrationType ( migrations_type _v ) { migration_type_ = _v; } public migrations_type getMigrationType() { return migration_type_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Generic_Processor) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Generic_ProcessorStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }