@Override public String toString() { return "TCapabilityAssignment{" + "properties=" + getProperties() + ", attributes=" + getAttributes() + '}'; }
public TCapabilityAssignment build() { return new TCapabilityAssignment(this); } }
public TCapabilityAssignment(Builder builder) { this.setProperties(builder.properties); this.setAttributes(builder.attributes); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof TCapabilityAssignment)) return false; TCapabilityAssignment that = (TCapabilityAssignment) o; return Objects.equals(getProperties(), that.getProperties()) && Objects.equals(getAttributes(), that.getAttributes()); }
@Override public int hashCode() { return Objects.hash(getProperties(), getAttributes()); }
@Override public R visit(TCapabilityAssignment node, P parameter) { return reduce(Stream.of( visitElement(node.getProperties(), parameter, "properties"), visitElement(node.getAttributes(), parameter, "attributes") )); }
public Printer visit(TCapabilityAssignment node, Parameter parameter) { return new Printer(parameter.getIndent()) .print(printMap("properties", node.getProperties(), parameter)) .print(printMap("attributes", node.getAttributes(), parameter)); }