//------------------------------------------------------------------------------- // 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 Error_ID_Level_Type extends Error_ID_Type { private static String EntityName = "ERROR_ID_LEVEL_TYPE"; private ErrorLevelType ErrorLevel_; private ErrorCodeType ErrorCode_; 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(); ErrorLevel_ = ErrorLevelType.MODULE; ErrorCode_ = null; } public Error_ID_Level_Type () { initializeExplicitAttributes(); } public Error_ID_Level_Type (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setErrorLevel ( ErrorLevelType _v ) { ErrorLevel_ = _v; } public ErrorLevelType getErrorLevel() { return ErrorLevel_; } public void setErrorCode ( ErrorCodeType _v ) { ErrorCode_ = _v; } public ErrorCodeType getErrorCode() { return ErrorCode_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Error_ID_Level_Type) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Error_ID_Level_TypeStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }