public final class TLcdXMLSchemaType extends Object
Constructor and Description |
---|
TLcdXMLSchemaType(TLcdXMLSchemaTypeIdentifier aIdentifier,
TLcdXMLSchemaType aBaseType)
Creates a new
TLcdXMLSchemaType object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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. |
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.