Class PrimaryKey
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.PkType
org.exolab.castor.xml.schema.annotations.jdo.PrimaryKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) static PrimaryKey
Method unmarshal.void
validate()
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
-
marshal
- Overrides:
marshal
in 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:
marshal
in 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.PrimaryKey
- 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:
validate
in classPkType
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-