//------------------------------------------------------------------------------- // 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 Data_Instruction_Cache extends Generic_Cache { private static String EntityName = "DATA_INSTRUCTION_CACHE"; private Write_Policy_Type write_policy_; 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(); write_policy_ = Write_Policy_Type.Copy_Back; } public Data_Instruction_Cache () { initializeExplicitAttributes(); } public Data_Instruction_Cache (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setWritePolicy ( Write_Policy_Type _v ) { write_policy_ = _v; } public Write_Policy_Type getWritePolicy() { return write_policy_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Data_Instruction_Cache) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Data_Instruction_CacheStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }