public static class GenericData.EnumSymbol extends Object implements GenericEnumSymbol, Comparable<GenericEnumSymbol>
GenericEnumSymbol
.Constructor and Description |
---|
EnumSymbol(Schema schema,
String symbol) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GenericEnumSymbol that) |
boolean |
equals(Object o) |
Schema |
getSchema()
The schema of this instance.
|
int |
hashCode() |
String |
toString()
Return the symbol.
|
public Schema getSchema()
GenericContainer
getSchema
in interface GenericContainer
public String toString()
GenericEnumSymbol
toString
in interface GenericEnumSymbol
toString
in class Object
public int compareTo(GenericEnumSymbol that)
compareTo
in interface Comparable<GenericEnumSymbol>
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.