SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }
SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }
SubClassInclusionObjectHasSelfPropertyRangeMatch3( SubClassInclusionObjectHasSelfPropertyRangeMatch2 parent, PropertyRangeMatch2 secondPremiseMatch) { super(parent); this.rangeMatch_ = secondPremiseMatch.getRangeMatch(); ElkObjectProperty propertyMatch = secondPremiseMatch.getPropertyMatch(); if (!parent.getPropertyMatch().equals(propertyMatch)) { throw new ElkMatchException(parent.getParent().getParent() .getPremiseSubsumer().getProperty(), propertyMatch); } checkEquals(secondPremiseMatch, getSecondPremiseMatch(DEBUG_FACTORY)); }