commgrids.schema
Class HWID
java.lang.Object
|
+--commgrids.schema.HWID
- All Implemented Interfaces:
- java.io.Serializable
- public class HWID
- extends java.lang.Object
- implements java.io.Serializable
number attribute has to be set a number or label
- See Also:
- Serialized Form
Constructor Summary |
HWID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HWID
public HWID()
getHWType
public HWTypeType getHWType()
getNumber
public java.lang.String getNumber()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
setHWType
public void setHWType(HWTypeType HWType)
- Parameters:
HWType
-
setNumber
public void setNumber(java.lang.String number)
- Parameters:
number
-
unmarshal
public static HWID unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException