Package com.github.erosb.jsonsKema
Class ReferenceSchema
-
- All Implemented Interfaces:
public final class ReferenceSchema extends Schema
-
-
Field Summary
Fields Modifier and Type Field Description private SchemareferredSchemaprivate final Stringrefprivate final SourceLocationlocation
-
Constructor Summary
Constructors Constructor Description ReferenceSchema(Schema referredSchema, String ref, SourceLocation location)
-
Method Summary
Modifier and Type Method Description final SchemagetReferredSchema()final UnitsetReferredSchema(Schema referredSchema)final StringgetRef()SourceLocationgetLocation()<P extends Any> Paccept(SchemaVisitor<P> visitor)List<Schema>subschemas()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Constructor Detail
-
ReferenceSchema
ReferenceSchema(Schema referredSchema, String ref, SourceLocation location)
-
-
Method Detail
-
getReferredSchema
final Schema getReferredSchema()
-
setReferredSchema
final Unit setReferredSchema(Schema referredSchema)
-
getLocation
SourceLocation getLocation()
-
accept
<P extends Any> P accept(SchemaVisitor<P> visitor)
-
subschemas
List<Schema> subschemas()
-
-
-
-