Skip to content

Commit

Permalink
Merge branch 'release/2019-11-p2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-gomes committed Jan 7, 2020
2 parents fa51a14 + 8af5be5 commit 29eeead
Show file tree
Hide file tree
Showing 96 changed files with 5,920 additions and 5,799 deletions.
2 changes: 1 addition & 1 deletion app/org/omg/sysml/metamodel/MultiplicityRange.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public interface MultiplicityRange extends Multiplicity, MofObject {

Expression getUpperBound();

Expression getBound();
List<? extends Expression> getBound();
}
181 changes: 91 additions & 90 deletions app/org/omg/sysml/metamodel/impl/AcceptActionUsageImpl.java

Large diffs are not rendered by default.

181 changes: 91 additions & 90 deletions app/org/omg/sysml/metamodel/impl/ActionUsageImpl.java

Large diffs are not rendered by default.

163 changes: 82 additions & 81 deletions app/org/omg/sysml/metamodel/impl/ActivityImpl.java

Large diffs are not rendered by default.

37 changes: 19 additions & 18 deletions app/org/omg/sysml/metamodel/impl/AnnotationImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public void setAnnotatedElement(Element annotatedElement) {
@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
// @javax.persistence.Transient
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "relatedElementType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_relatedElement",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "relatedElementId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Element> getRelatedElement() {
if (relatedElement == null) {
relatedElement = new ArrayList<>();
Expand All @@ -117,10 +117,10 @@ public void setRelatedElement(Collection<Element> relatedElement) {

@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "targetType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_target",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "targetId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Element> getTarget() {
if (target == null) {
target = new ArrayList<>();
Expand All @@ -141,10 +141,10 @@ public void setTarget(Collection<Element> target) {

@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "sourceType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_source",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "sourceId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Element> getSource() {
if (source == null) {
source = new ArrayList<>();
Expand Down Expand Up @@ -184,10 +184,10 @@ public void setOwningRelatedElement(Element owningRelatedElement) {

@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownedRelatedElementType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_ownedRelatedElement",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "ownedRelatedElementId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Element> getOwnedRelatedElement() {
if (ownedRelatedElement == null) {
ownedRelatedElement = new ArrayList<>();
Expand Down Expand Up @@ -245,6 +245,7 @@ public void setOwningRelationship(Relationship owningRelationship) {
private java.util.UUID identifier;

@JsonGetter
@javax.persistence.Column(name = "identifier", table = "Annotation")
public java.util.UUID getIdentifier() {
return identifier;
}
Expand Down Expand Up @@ -302,10 +303,10 @@ public void setName(String name) {

@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
@ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "ownedRelationshipType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "RelationshipMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_ownedRelationship",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "ownedRelationshipId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Relationship> getOwnedRelationship() {
if (ownedRelationship == null) {
ownedRelationship = new ArrayList<>();
Expand Down Expand Up @@ -349,10 +350,10 @@ public void setOwner(Element owner) {
@JsonGetter
@JsonSerialize(contentUsing = MofObjectSerializer.class)
// @javax.persistence.Transient
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "ownedElementType"), fetch = FetchType.LAZY)
@ManyToAny(metaDef = "ElementMetaDef", metaColumn = @javax.persistence.Column(name = "attributeType"), fetch = FetchType.LAZY)
@JoinTable(name = "Annotation_ownedElement",
joinColumns = @JoinColumn(name = "AnnotationId"),
inverseJoinColumns = @JoinColumn(name = "ownedElementId"))
joinColumns = @JoinColumn(name = "classId"),
inverseJoinColumns = @JoinColumn(name = "attributeId"))
public Collection<Element> getOwnedElement() {
if (ownedElement == null) {
ownedElement = new ArrayList<>();
Expand Down
Loading

0 comments on commit 29eeead

Please sign in to comment.