Skip to content

Commit

Permalink
RealizationProposalProcessor -> EntityRealizationProposalProcessor
Browse files Browse the repository at this point in the history
renamed because there is a lot of realization that doesn't involve
Entities - so I need room for a RealizationProposalProcessor that
handles the non Entity related Realization Proposals
  • Loading branch information
steve-hickman-epistimis committed Jan 22, 2024
1 parent 4e883f1 commit f790782
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
*
*/
public class CLRealizationProposalProcessor extends
RealizationProposalProcessor<ConceptualComposableElement, LogicalComposableElement, ConceptualEntity, LogicalEntity, ConceptualCharacteristic, LogicalCharacteristic, ConceptualComposition, LogicalComposition, ConceptualParticipant, LogicalParticipant, ConceptualAssociation, LogicalAssociation, CLRealizationProcessor, ConceptualEntityProcessor, LogicalEntityProcessor> {
EntityRealizationProposalProcessor<ConceptualComposableElement, LogicalComposableElement, ConceptualEntity, LogicalEntity, ConceptualCharacteristic, LogicalCharacteristic, ConceptualComposition, LogicalComposition, ConceptualParticipant, LogicalParticipant, ConceptualAssociation, LogicalAssociation, CLRealizationProcessor, ConceptualEntityProcessor, LogicalEntityProcessor> {

final public static String OBSERVABLE_REALIZATION_ERR = "Observable {0} is not realized by any AbstractMeasurment";
final public static String OBSERVABLE_REALIZATION_MANY = "Observable {0} is realized by multiple AbstractMeasurments - picking one";
final public static String OBSERVABLE_REALIZATION_ERR = "Observable {0} is not realized by any AbstractMeasurment or LogicalEntity";
final public static String OBSERVABLE_REALIZATION_MANY = "Observable {0} is realized by multiple AbstractMeasurments / LogicalEntities - picking one";
final public static String ENTITY_REALIZATION_ERR = "ConceptualEntity {0} is not realized by any LogicalEntity";
final public static String ENTITY_REALIZATION_MANY = "ConceptualEntity {0} is realized by multiple LogicalEntity - picking one";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
*
*/
abstract class RealizationProposalProcessor<BaseComposableElement extends UddlElement, RealizingComposableElement extends UddlElement,
abstract class EntityRealizationProposalProcessor<BaseComposableElement extends UddlElement, RealizingComposableElement extends UddlElement,
BaseEntity extends BaseComposableElement, RealizingEntity extends RealizingComposableElement,
BaseCharacteristic extends EObject, RealizingCharacteristic extends EObject,
BaseComposition extends BaseCharacteristic, RealizingComposition extends RealizingCharacteristic,
Expand Down Expand Up @@ -268,7 +268,6 @@ public void completeComposition_Type(UddlProposalProvider pp, RealizingEntity r
if (realizingTypes.isEmpty()) {
String msg = MessageFormat.format("No realizing types found for any composition elements of {0}",qnp.getFullyQualifiedName(rentity));
logger.info(msg);
System.out.println(msg);
}
for (EObject rce: realizingTypes) {
String insertionString = pu.minimalReferenceString( rce, rentity);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*
*/
public class LPRealizationProposalProcessor extends
RealizationProposalProcessor<LogicalComposableElement, PlatformComposableElement, LogicalEntity, PlatformEntity, LogicalCharacteristic, PlatformCharacteristic,
EntityRealizationProposalProcessor<LogicalComposableElement, PlatformComposableElement, LogicalEntity, PlatformEntity, LogicalCharacteristic, PlatformCharacteristic,
LogicalComposition, PlatformComposition, LogicalParticipant, PlatformParticipant,
LogicalAssociation, PlatformAssociation, LPRealizationProcessor, LogicalEntityProcessor, PlatformEntityProcessor> {

Expand Down

0 comments on commit f790782

Please sign in to comment.