public static final class Schema.Type
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Schema.Type(java.lang.String name,
java.lang.String language)
Type constructor, private on purpose.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Tests for type equality.
|
java.lang.String |
getLanguage()
Returns the URI that uniquemy identifies this schema type.
|
java.lang.String |
getName()
Returns the printable name of this schema type.
|
int |
hashCode()
Returns a unique identifier for this type.
|
java.lang.String |
toString()
Returns a string representation of this type suitable for
debugging and diagnosis.
|
protected Schema.Type(java.lang.String name,
java.lang.String language)
name - the schema type printable name.language - the unique identifier for the schema
type (URI).public java.lang.String getName()
public java.lang.String getLanguage()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object o)
Type objects are loaded by
different class loaders.equals in class java.lang.Objecto - the object compared for equality to this type.true if and only if o
represents the same type as this object.Object.equals(Object)