Lines Matching defs:Relation
35 public final class Relation {
43 private Relation(String kind, String detail) {
65 * Creates a new Relation object for the specified {@code kind} and {@code detail}.
69 public static Relation create(@NonNull String kind, @NonNull String detail)
72 throw new AssociationServiceException("Relation not well formatted.");
74 return new Relation(kind, detail);
78 * Creates a new Relation object from its string representation.
82 public static Relation create(@NonNull String relation) throws AssociationServiceException {
85 throw new AssociationServiceException("Relation not well formatted.");
93 public boolean matches(Relation relation) {
119 Relation relation = (Relation) o;