org.exolab.castor.mapping.xml

Class Container

Implemented Interfaces:
java.io.Serializable

public class Container
extends java.lang.Object
implements java.io.Serializable

Class Container.
Version:
$Revision: 6104 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $
See Also:
Serialized Form

Constructor Summary

Container()

Method Summary

void
deleteDirect()
Method deleteDirect
void
deleteRequired()
Method deleteRequired
java.lang.String
getCreateMethod()
Returns the value of field 'createMethod'.
java.lang.String
getDescription()
Returns the value of field 'description'.
boolean
getDirect()
Returns the value of field 'direct'.
FieldMapping
getFieldMapping()
Returns the value of field 'fieldMapping'.
java.lang.String
getGetMethod()
Returns the value of field 'getMethod'.
java.lang.String
getName()
Returns the value of field 'name'.
boolean
getRequired()
Returns the value of field 'required'.
java.lang.String
getSetMethod()
Returns the value of field 'setMethod'.
java.lang.String
getType()
Returns the value of field 'type'.
boolean
hasDirect()
Method hasDirect
boolean
hasRequired()
Method hasRequired
boolean
isValid()
Method isValid
void
marshal(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
void
setCreateMethod(java.lang.String createMethod)
Sets the value of field 'createMethod'.
void
setDescription(java.lang.String description)
Sets the value of field 'description'.
void
setDirect(boolean direct)
Sets the value of field 'direct'.
void
setFieldMapping(FieldMapping fieldMapping)
Sets the value of field 'fieldMapping'.
void
setGetMethod(java.lang.String getMethod)
Sets the value of field 'getMethod'.
void
setName(java.lang.String name)
Sets the value of field 'name'.
void
setRequired(boolean required)
Sets the value of field 'required'.
void
setSetMethod(java.lang.String setMethod)
Sets the value of field 'setMethod'.
void
setType(java.lang.String type)
Sets the value of field 'type'.
static Container
unmarshal(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

Container

public Container()

Method Details

deleteDirect

public void deleteDirect()
Method deleteDirect

deleteRequired

public void deleteRequired()
Method deleteRequired

getCreateMethod

public java.lang.String getCreateMethod()
Returns the value of field 'createMethod'.
Returns:
String

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.
Returns:
String

getDirect

public boolean getDirect()
Returns the value of field 'direct'.
Returns:
boolean

getFieldMapping

public FieldMapping getFieldMapping()
Returns the value of field 'fieldMapping'.
Returns:
FieldMapping

getGetMethod

public java.lang.String getGetMethod()
Returns the value of field 'getMethod'.
Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.
Returns:
String

getRequired

public boolean getRequired()
Returns the value of field 'required'.
Returns:
boolean

getSetMethod

public java.lang.String getSetMethod()
Returns the value of field 'setMethod'.
Returns:
String

getType

public java.lang.String getType()
Returns the value of field 'type'.
Returns:
String

hasDirect

public boolean hasDirect()
Method hasDirect
Returns:
boolean

hasRequired

public boolean hasRequired()
Method hasRequired
Returns:
boolean

isValid

public boolean isValid()
Method isValid
Returns:
boolean

marshal

public void marshal(java.io.Writer out)
            throws MarshalException,
                   ValidationException
Method marshal
Parameters:
out -

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
Method marshal
Parameters:
handler -

setCreateMethod

public void setCreateMethod(java.lang.String createMethod)
Sets the value of field 'createMethod'.
Parameters:
createMethod - the value of field 'createMethod'.

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.
Parameters:
description - the value of field 'description'.

setDirect

public void setDirect(boolean direct)
Sets the value of field 'direct'.
Parameters:
direct - the value of field 'direct'.

setFieldMapping

public void setFieldMapping(FieldMapping fieldMapping)
Sets the value of field 'fieldMapping'.
Parameters:
fieldMapping - the value of field 'fieldMapping'.

setGetMethod

public void setGetMethod(java.lang.String getMethod)
Sets the value of field 'getMethod'.
Parameters:
getMethod - the value of field 'getMethod'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.
Parameters:
name - the value of field 'name'.

setRequired

public void setRequired(boolean required)
Sets the value of field 'required'.
Parameters:
required - the value of field 'required'.

setSetMethod

public void setSetMethod(java.lang.String setMethod)
Sets the value of field 'setMethod'.
Parameters:
setMethod - the value of field 'setMethod'.

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.
Parameters:
type - the value of field 'type'.

unmarshal

public static Container unmarshal(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshal
Parameters:
reader -
Returns:
Container

validate

public void validate()
            throws ValidationException
Method validate

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com