public final class TLcdXMLSchemaType
extends java.lang.Object
Constructor and Description |
---|
TLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier,
TLcdXMLSchemaType aBaseType)
Creates a new
TLcdXMLSchemaType object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
TLcdXMLSchemaType |
getBaseType()
Returns the base type this type extends from, or
null if this type does not extend from another type. |
TLcdXMLSchemaTypeIdentifier |
getIdentifier()
Returns the unique identifier of this schema type.
|
int |
hashCode() |
boolean |
isOfType(TLcdXMLSchemaType aType)
Returns
true if this type is a subtype of the specified type, false otherwise. |
java.lang.String |
toString() |
public TLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier, TLcdXMLSchemaType aBaseType)
TLcdXMLSchemaType
object.aIdentifier
- the type identifier uniquely identifying this schema type.aBaseType
- the XML base type of this type.public TLcdXMLSchemaTypeIdentifier getIdentifier()
public TLcdXMLSchemaType getBaseType()
null
if this type does not extend from another type.null
if this type does not extend from another type.public boolean isOfType(TLcdXMLSchemaType aType)
true
if this type is a subtype of the specified type, false
otherwise.aType
- the type to be tested.true
if this type is a subtype of the specified type, false
otherwise.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object