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 TypeMethodDescriptionbooleanisValid()Method isValid.voidvoidmarshal(ContentHandler handler) static PrimaryKeyMethod 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
-
Constructor Details
-
PrimaryKey
public PrimaryKey()
-
-
Method Details
-
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.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:
validatein classPkType- Throws:
ValidationException- if this object is an invalid instance according to the schema
-