//------------------------------------------------------------------------------- // 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 Synchronous_Data_Flow_Dependency_type extends step.core.StepCoreObject { private static String EntityName = "SYNCHRONOUS_DATA_FLOW_DEPENDENCY_TYPE"; private Generic_Task synchronous_data_flow_sink_; private Generic_Task synchronous_data_flow_source_; private Synchronous_Data_Flow_Timing_Property_Type timing_property_; 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(); synchronous_data_flow_sink_ = null; synchronous_data_flow_source_ = null; timing_property_ = Synchronous_Data_Flow_Timing_Property_Type.Sampled_Timing; } public Synchronous_Data_Flow_Dependency_type () { initializeExplicitAttributes(); } public Synchronous_Data_Flow_Dependency_type (step.core.StepCoreRepository _repo) { super(_repo); initializeExplicitAttributes(); } public void setSynchronousDataFlowSink ( Generic_Task _v ) { synchronous_data_flow_sink_ = _v; } public Generic_Task getSynchronousDataFlowSink() { return synchronous_data_flow_sink_; } public void setSynchronousDataFlowSource ( Generic_Task _v ) { synchronous_data_flow_source_ = _v; } public Generic_Task getSynchronousDataFlowSource() { return synchronous_data_flow_source_; } public void setTimingProperty ( Synchronous_Data_Flow_Timing_Property_Type _v ) { timing_property_ = _v; } public Synchronous_Data_Flow_Timing_Property_Type getTimingProperty() { return timing_property_; } public void accept(CheddarBridge_AbstractVisitor visitor ) { visitor.accept((Synchronous_Data_Flow_Dependency_type) this); } public step.core.StepCoreObjectReaderWriter readerWriter() { return new Synchronous_Data_Flow_Dependency_typeStepRW(); } public boolean replaceReferenceWith(StepCoreObject oldObj, StepCoreObject newObj) { boolean done = false; if (getSynchronousDataFlowSink() == oldObj ) { setSynchronousDataFlowSink((Generic_Task) newObj); done = true; } if (getSynchronousDataFlowSource() == oldObj ) { setSynchronousDataFlowSource((Generic_Task) newObj); done = true; } if (super.replaceReferenceWith(oldObj, newObj)) { done = true; } return done; } }