Class PrimaryKey
- java.lang.Object
-
- org.exolab.castor.xml.schema.annotations.jdo.PkType
-
- org.exolab.castor.xml.schema.annotations.jdo.PrimaryKey
-
- All Implemented Interfaces:
java.io.Serializable
public class PrimaryKey extends PkType implements java.io.Serializable
Class PrimaryKey.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrimaryKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid()Method isValid.voidmarshal(java.io.Writer out)voidmarshal(org.xml.sax.ContentHandler handler)static PkTypeunmarshal(java.io.Reader reader)Method unmarshal.voidvalidate()-
Methods inherited from class org.exolab.castor.xml.schema.annotations.jdo.PkType
addKey, addKey, enumerateKey, getKey, getKey, getKeyCount, iterateKey, removeAllKey, removeKey, removeKeyAt, setKey, setKey
-
-
-
-
Method Detail
-
isValid
public boolean isValid()
Method isValid.
-
marshal
public void marshal(java.io.Writer out) throws MarshalException, ValidationException- Overrides:
marshalin classPkType- Parameters:
out-- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
-
marshal
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException- Overrides:
marshalin classPkType- Parameters:
handler-- Throws:
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 marshaling
-
unmarshal
public static PkType unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshal.- Parameters:
reader-- Returns:
- the unmarshaled org.exolab.castor.xml.schema.annotations.jdo.PkType
- Throws:
MarshalException- if object is null or if any SAXException is thrown during marshalingValidationException- if this object is an invalid instance according to the schema
-
validate
public void validate() throws ValidationException- Overrides:
validatein classPkType- Throws:
ValidationException- if this object is an invalid instance according to the schema
-
-