IndexedObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { this.fullConjunctionMatch_ = value; this.conjunctionPrefixLength_ = value.getClassExpressions().size(); }
IndexedClassExpression D = d.accept(converter); IndexedClassExpression I = objectFactory.getObjectIntersectionOf(b, c) .accept(converter);
IndexedObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { this.fullConjunctionMatch_ = value; this.conjunctionPrefixLength_ = value.getClassExpressions().size(); }
IndexedObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { this.fullConjunctionMatch_ = value; this.conjunctionPrefixLength_ = value.getClassExpressions().size(); }
@Override public ElkObjectIntersectionOf visit(ElkObjectIntersectionOf expression) { if (object_ == expression) return expression; if (object_ instanceof ElkObjectIntersectionOf) { ElkObjectIntersectionOf result = (ElkObjectIntersectionOf) object_; if (equals(result.getClassExpressions(), expression.getClassExpressions())) return result; } return null; }
protected static void checkConjunctionMatch( ElkObjectIntersectionOf conjunction, int prefixLength) { if (prefixLength < 1 || prefixLength >= conjunction.getClassExpressions().size()) { throw new IllegalArgumentException( conjunction + ", " + prefixLength); } }
SubsumerEmptyObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (!value.getClassExpressions().isEmpty()) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be empty: " + value); } }
SubsumerSingletonObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (value.getClassExpressions().size() != 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be singleton: " + value); } }
@Override public ElkObjectIntersectionOf visit(ElkObjectIntersectionOf expression) { if (object_ == expression) return expression; if (object_ instanceof ElkObjectIntersectionOf) { ElkObjectIntersectionOf result = (ElkObjectIntersectionOf) object_; if (equals(result.getClassExpressions(), expression.getClassExpressions())) return result; } return null; }
SubsumerSingletonObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (value.getClassExpressions().size() != 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be singleton: " + value); } }
protected static void checkConjunctionMatch( ElkObjectIntersectionOf conjunction, int prefixLength) { if (prefixLength < 1 || prefixLength >= conjunction.getClassExpressions().size()) { throw new IllegalArgumentException( conjunction + ", " + prefixLength); } }
@Override public ElkObjectIntersectionOf visit(ElkObjectIntersectionOf expression) { if (object_ == expression) return expression; if (object_ instanceof ElkObjectIntersectionOf) { ElkObjectIntersectionOf result = (ElkObjectIntersectionOf) object_; if (equals(result.getClassExpressions(), expression.getClassExpressions())) return result; } return null; }
SubsumerSingletonObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (value.getClassExpressions().size() != 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be singleton: " + value); } }
SubsumerEmptyObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (!value.getClassExpressions().isEmpty()) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be empty: " + value); } }
SubsumerEmptyObjectIntersectionOfMatch(ElkObjectIntersectionOf value) { super(value); if (!value.getClassExpressions().isEmpty()) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must be empty: " + value); } }
protected static void checkConjunctionMatch( ElkObjectIntersectionOf conjunction, int prefixLength) { if (prefixLength < 1 || prefixLength >= conjunction.getClassExpressions().size()) { throw new IllegalArgumentException( conjunction + ", " + prefixLength); } }
IndexedObjectIntersectionOfMatch( ElkObjectIntersectionOf fullConjunctionMatch, int conjunctionPrefixLength) { int conjunctsCount = fullConjunctionMatch.getClassExpressions().size(); if (conjunctsCount <= 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must have at least 2 conjuncts: " + fullConjunctionMatch); } if (conjunctionPrefixLength <= 1 || conjunctionPrefixLength > conjunctsCount) { throw new IllegalArgumentException( "Prefix length should be > 1 and <= " + conjunctsCount + ": " + +conjunctionPrefixLength); } this.fullConjunctionMatch_ = fullConjunctionMatch; this.conjunctionPrefixLength_ = conjunctionPrefixLength; }
IndexedObjectIntersectionOfMatch( ElkObjectIntersectionOf fullConjunctionMatch, int conjunctionPrefixLength) { int conjunctsCount = fullConjunctionMatch.getClassExpressions().size(); if (conjunctsCount <= 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must have at least 2 conjuncts: " + fullConjunctionMatch); } if (conjunctionPrefixLength <= 1 || conjunctionPrefixLength > conjunctsCount) { throw new IllegalArgumentException( "Prefix length should be > 1 and <= " + conjunctsCount + ": " + +conjunctionPrefixLength); } this.fullConjunctionMatch_ = fullConjunctionMatch; this.conjunctionPrefixLength_ = conjunctionPrefixLength; }
IndexedObjectIntersectionOfMatch( ElkObjectIntersectionOf fullConjunctionMatch, int conjunctionPrefixLength) { int conjunctsCount = fullConjunctionMatch.getClassExpressions().size(); if (conjunctsCount <= 1) { throw new IllegalArgumentException( "ElkObjectIntersectionOf must have at least 2 conjuncts: " + fullConjunctionMatch); } if (conjunctionPrefixLength <= 1 || conjunctionPrefixLength > conjunctsCount) { throw new IllegalArgumentException( "Prefix length should be > 1 and <= " + conjunctsCount + ": " + +conjunctionPrefixLength); } this.fullConjunctionMatch_ = fullConjunctionMatch; this.conjunctionPrefixLength_ = conjunctionPrefixLength; }
public ElkClassExpression getMember() { return getValue().getClassExpressions().get(0); }