//------------------------------------------------------------------------------- // 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_Role extends step.core.StepCoreObject { private static String EntityName = "BUFFER_ROLE"; private Buffer_Role_Type the_role_; private Integer size_; private Integer time_; private Integer timeout_; 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(); the_role_ = Buffer_Role_Type.No_Role; size_ = 0; time_ = 0; timeout_ = 0; } public Buffer_Role () { initializeExplicitAttributes(); } public Buffer_Role (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setTheRole ( Buffer_Role_Type _v ) { the_role_ = _v; } public Buffer_Role_Type getTheRole() { return the_role_; } public void setSize ( Integer _v ) { size_ = _v; } public Integer getSize() { return size_; } public void setTime ( Integer _v ) { time_ = _v; } public Integer getTime() { return time_; } public void setTimeout ( Integer _v ) { timeout_ = _v; } public Integer getTimeout() { return timeout_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Buffer_Role) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Buffer_RoleStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }