Class PrimaryKey
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.PkType
org.exolab.castor.xml.schema.annotations.jdo.PrimaryKey
- All Implemented Interfaces:
Serializable
Class PrimaryKey.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exolab.castor.xml.schema.annotations.jdo.PkType
addKey, addKey, enumerateKey, getKey, getKey, getKeyCount, iterateKey, removeAllKey, removeKey, removeKeyAt, setKey, setKey
-
Constructor Details
-
PrimaryKey
public PrimaryKey()
-
-
Method Details
-
isValid
public boolean isValid()Method isValid. -
marshal
- 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(ContentHandler handler) throws IOException, MarshalException, ValidationException - Overrides:
marshalin classPkType- Parameters:
handler-- Throws:
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
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
- Overrides:
validatein classPkType- Throws:
ValidationException- if this object is an invalid instance according to the schema
-