net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee
Class XsdNMTOKENType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.XsdNMTOKENType
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
EjbNameType, TldCanonicalNameType

public class XsdNMTOKENType
extends Object
implements Serializable, Cloneable

This type adds an "id" attribute to xsd:NMTOKEN.

Java class for xsdNMTOKENType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="xsdNMTOKENType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>NMTOKEN">
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </extension>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  String value
           
 
Constructor Summary
XsdNMTOKENType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.XsdNMTOKENType instance.
XsdNMTOKENType(XsdNMTOKENType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.XsdNMTOKENType instance by copying a given instance.
 
Method Summary
 XsdNMTOKENType clone()
          Creates and returns a copy of this object.
 String getId()
          Gets the value of the id property.
 String getValue()
          Gets the value of the value property.
 void setId(String value)
          Sets the value of the id property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

id

protected String id
Constructor Detail

XsdNMTOKENType

public XsdNMTOKENType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.XsdNMTOKENType instance.


XsdNMTOKENType

public XsdNMTOKENType(XsdNMTOKENType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.XsdNMTOKENType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

clone

public XsdNMTOKENType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.