@Override MatchRule reparent(final MatchRule newParent) { return new MatchSchemeSpecificPartRule(newParent, name); }
@Override StringBuilder asString(final StringBuilder b) { return parentAsString(b).append("urn=").append(name).append(','); } }
@Override boolean halfEqual(final MatchRule other) { return name.equals(other.getMatchUrnName()) && parentHalfEqual(other); }
@Override public int hashCode() { return multiHashUnordered(parentHashCode(), 2143, name.hashCode()); }
@Override public int hashCode() { return multiHashUnordered(parentHashCode(), 2143, name.hashCode()); }
/** * Create a new rule which is the same as this rule, but also matches the given URN name. * * @param name the URN name to match * @return the new rule */ public final MatchRule matchUrnName(String name) { return name == null ? without(MatchSchemeSpecificPartRule.class) : new MatchSchemeSpecificPartRule(this, name); }
@Override StringBuilder asString(final StringBuilder b) { return parentAsString(b).append("urn=").append(name).append(','); } }
@Override public int hashCode() { return multiHashUnordered(parentHashCode(), 2143, name.hashCode()); }
@Override boolean halfEqual(final MatchRule other) { return name.equals(other.getMatchUrnName()) && parentHalfEqual(other); }
@Override MatchRule reparent(final MatchRule newParent) { return new MatchSchemeSpecificPartRule(newParent, name); }
@Override StringBuilder asString(final StringBuilder b) { return parentAsString(b).append("urn=").append(name).append(','); } }
@Override public int hashCode() { return multiHashUnordered(parentHashCode(), 2143, name.hashCode()); }
@Override boolean halfEqual(final MatchRule other) { return name.equals(other.getMatchUrnName()) && parentHalfEqual(other); }
@Override MatchRule reparent(final MatchRule newParent) { return new MatchSchemeSpecificPartRule(newParent, name); }
@Override StringBuilder asString(final StringBuilder b) { return parentAsString(b).append("urn=").append(name).append(','); } }
@Override boolean halfEqual(final MatchRule other) { return name.equals(other.getMatchUrnName()) && parentHalfEqual(other); }
@Override MatchRule reparent(final MatchRule newParent) { return new MatchSchemeSpecificPartRule(newParent, name); }
/** * Create a new rule which is the same as this rule, but also matches the given URN name. * * @param name the URN name to match * @return the new rule */ public final MatchRule matchUrnName(String name) { return name == null ? without(MatchSchemeSpecificPartRule.class) : new MatchSchemeSpecificPartRule(this, name); }
/** * Create a new rule which is the same as this rule, but also matches the given URN name. * * @param name the URN name to match * @return the new rule */ public final MatchRule matchUrnName(String name) { return name == null ? without(MatchSchemeSpecificPartRule.class) : new MatchSchemeSpecificPartRule(this, name); }
/** * Create a new rule which is the same as this rule, but also matches the given URN name. * * @param name the URN name to match * @return the new rule */ public final MatchRule matchUrnName(String name) { return name == null ? without(MatchSchemeSpecificPartRule.class) : new MatchSchemeSpecificPartRule(this, name); }