com.github.fge.jsonschema.core.tree.key
Class AnonymousSchemaKey
java.lang.Object
com.github.fge.jsonschema.core.tree.key.SchemaKey
com.github.fge.jsonschema.core.tree.key.AnonymousSchemaKey
public final class AnonymousSchemaKey
- extends SchemaKey
A unique schem key for schemas loaded anonymously
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