Package hydra.ext.pegasus.pdl
Class Schema.Union
- java.lang.Object
-
- hydra.ext.pegasus.pdl.Schema
-
- hydra.ext.pegasus.pdl.Schema.Union
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Schema
public static final class Schema.Union extends Schema implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.ext.pegasus.pdl.Schema
Schema.Array, Schema.Fixed, Schema.Inline, Schema.Map, Schema.Named, Schema.Null, Schema.PartialVisitor<R>, Schema.Primitive, Schema.Union, Schema.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description UnionSchema
value
-
Fields inherited from class hydra.ext.pegasus.pdl.Schema
FIELD_NAME_ARRAY, FIELD_NAME_FIXED, FIELD_NAME_INLINE, FIELD_NAME_MAP, FIELD_NAME_NAMED, FIELD_NAME_NULL, FIELD_NAME_PRIMITIVE, FIELD_NAME_UNION, TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description Union(UnionSchema value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(Schema.Visitor<R> visitor)
boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Field Detail
-
value
public final UnionSchema value
-
-
Constructor Detail
-
Union
public Union(UnionSchema value)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public <R> R accept(Schema.Visitor<R> visitor)
-
-