//------------------------------------------------------------------------------- // 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 Core_Unit extends Generic_Object { private static String EntityName = "CORE_UNIT"; private Scheduling_Parameters scheduling_; private Double speed_; private String l1_cache_system_name_; 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(); scheduling_ = null; speed_ = 0.0; l1_cache_system_name_ = ""; } public Core_Unit () { initializeExplicitAttributes(); } public Core_Unit (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setScheduling ( Scheduling_Parameters _v ) { scheduling_ = _v; } public Scheduling_Parameters getScheduling() { return scheduling_; } public void setSpeed ( Double _v ) { speed_ = _v; } public Double getSpeed() { return speed_; } public void setL1CacheSystemName ( String _v ) { l1_cache_system_name_ = _v; } public String getL1CacheSystemName() { return l1_cache_system_name_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Core_Unit) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Core_UnitStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (getScheduling() == oldObj ) { setScheduling((Scheduling_Parameters) newObj); done = true; } if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }