//------------------------------------------------------------------------------- // 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 Buffer_Size_Item extends step.core.StepCoreObject { private static String EntityName = "BUFFER_SIZE_ITEM"; private Integer time_; private Integer size_; 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(); time_ = 0; size_ = 0; } public Buffer_Size_Item () { initializeExplicitAttributes(); } public Buffer_Size_Item (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setTime ( Integer _v ) { time_ = _v; } public Integer getTime() { return time_; } public void setSize ( Integer _v ) { size_ = _v; } public Integer getSize() { return size_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Buffer_Size_Item) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Buffer_Size_ItemStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }