org.exolab.castor.xml.schema.annotations.jdo
public class PrimaryKey extends PkType implements java.io.Serializable
Constructor and Description |
---|
PrimaryKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
static PkType |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
addKey, addKey, enumerateKey, getKey, getKey, getKeyCount, iterateKey, removeAllKey, removeKey, removeKeyAt, setKey, setKey
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
marshal
in class PkType
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
marshal
in class PkType
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic static PkType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
validate
in class PkType
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com