//------------------------------------------------------------------------------- // 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 Offset_Type extends step.core.StepCoreObject { private static String EntityName = "OFFSET_TYPE"; private Integer offset_value_; private Integer activation_; 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(); offset_value_ = 0; activation_ = 0; } public Offset_Type () { initializeExplicitAttributes(); } public Offset_Type (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setOffsetValue ( Integer _v ) { offset_value_ = _v; } public Integer getOffsetValue() { return offset_value_; } public void setActivation ( Integer _v ) { activation_ = _v; } public Integer getActivation() { return activation_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Offset_Type) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Offset_TypeStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }