com.github.fge.jsonschema.core.tree.key
Class JsonRefSchemaKey
java.lang.Object
com.github.fge.jsonschema.core.tree.key.SchemaKey
com.github.fge.jsonschema.core.tree.key.JsonRefSchemaKey
public final class JsonRefSchemaKey
- extends SchemaKey
A unique schema key for JSON Schemas loaded via URIs
getId
public long getId()
- Description copied from class:
SchemaKey
- Get the identifier, as a long, for this schema -- DO NOT USE DIRECTLY
Important: this method is here only for backwards
compatibility reasons (see SchemaTree.getId()); you should not
be using it as a reliable identifier, since for all non anonymous
schema keys (ie, instances of JsonRefSchemaKey), this will return
0L.
- Specified by:
getId in class SchemaKey
- Returns:
- see description
hashCode
public int hashCode()
- Specified by:
hashCode in class SchemaKey
equals
public boolean equals(@Nullable
Object obj)
- Specified by:
equals in class SchemaKey
toString
@Nonnull
public String toString()
- Specified by:
toString in class SchemaKey