//------------------------------------------------------------------------------- // 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 Dependency_Union extends step.core.StepCoreObject { private static String EntityName = "DEPENDENCY_UNION"; private Precedence_Dependency_type precedence_dependency_; private Buffer_Dependency_type buffer_dependency_; private Communication_Dependency_type communication_dependency_; private Synchronous_Data_Flow_Dependency_type synchronous_data_flow_dependency_; private Resource_Dependency_Type resource_dependency_; 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(); precedence_dependency_ = null; buffer_dependency_ = null; communication_dependency_ = null; synchronous_data_flow_dependency_ = null; resource_dependency_ = null; } public Dependency_Union () { initializeExplicitAttributes(); } public Dependency_Union (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setPrecedenceDependency ( Precedence_Dependency_type _v ) { precedence_dependency_ = _v; } public Precedence_Dependency_type getPrecedenceDependency() { return precedence_dependency_; } public void setBufferDependency ( Buffer_Dependency_type _v ) { buffer_dependency_ = _v; } public Buffer_Dependency_type getBufferDependency() { return buffer_dependency_; } public void setCommunicationDependency ( Communication_Dependency_type _v ) { communication_dependency_ = _v; } public Communication_Dependency_type getCommunicationDependency() { return communication_dependency_; } public void setSynchronousDataFlowDependency ( Synchronous_Data_Flow_Dependency_type _v ) { synchronous_data_flow_dependency_ = _v; } public Synchronous_Data_Flow_Dependency_type getSynchronousDataFlowDependency() { return synchronous_data_flow_dependency_; } public void setResourceDependency ( Resource_Dependency_Type _v ) { resource_dependency_ = _v; } public Resource_Dependency_Type getResourceDependency() { return resource_dependency_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Dependency_Union) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Dependency_UnionStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (getPrecedenceDependency() == oldObj ) { setPrecedenceDependency((Precedence_Dependency_type) newObj); done = true; } if (getBufferDependency() == oldObj ) { setBufferDependency((Buffer_Dependency_type) newObj); done = true; } if (getCommunicationDependency() == oldObj ) { setCommunicationDependency((Communication_Dependency_type) newObj); done = true; } if (getSynchronousDataFlowDependency() == oldObj ) { setSynchronousDataFlowDependency((Synchronous_Data_Flow_Dependency_type) newObj); done = true; } if (getResourceDependency() == oldObj ) { setResourceDependency((Resource_Dependency_Type) newObj); done = true; } if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }