org.apache.commons.betwixt.schema
Class SimpleType

java.lang.Object
  extended byorg.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: 438373 $
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)

hashCode

public int hashCode()

toString

public java.lang.String toString()


Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.