Exemplo n.º 1
0
  static boolean equals(final IdentityrefTypeDefinition type, final Object obj) {
    if (type == obj) {
      return true;
    }

    final IdentityrefTypeDefinition other =
        castIfEquals(IdentityrefTypeDefinition.class, type, obj);
    return other != null && type.getIdentity().equals(other.getIdentity());
  }
Exemplo n.º 2
0
 static int hashCode(final IdentityrefTypeDefinition type) {
   return Objects.hash(
       type.getPath(),
       type.getUnknownSchemaNodes(),
       type.getBaseType(),
       type.getUnits(),
       type.getDefaultValue(),
       type.getIdentity());
 }
Exemplo n.º 3
0
 static String toString(final IdentityrefTypeDefinition type) {
   return toStringHelper(type).add("identity", type.getIdentity()).toString();
 }