org.apache.commons.betwixt.schema
Class SimpleType

java.lang.Object
  extended by org.apache.commons.betwixt.schema.SimpleType

public class SimpleType
extends java.lang.Object

Models a simpleType tag in an XML schema. A simple type is an element that cannot have element content and which has no attributes.

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Constructor Summary
SimpleType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the name
 int hashCode()
           
 void setName(java.lang.String name)
          Sets the name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleType

public SimpleType()
Method Detail

getName

public java.lang.String getName()
Gets the name

Returns:
the name of this type

setName

public void setName(java.lang.String name)
Sets the name

Parameters:
name -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.