FileDocCategorySizeDatePackage
Organization.javaAPI DocExample3584Thu Mar 07 09:58:26 GMT 2002javajaxb.generated.hr

Organization

public class Organization extends Object implements Serializable
version
$Revision$ $Date$

Fields Summary
private int
_id
private boolean
_has_id
keeps track of state for field: _id
private String
_name
Constructors Summary
public Organization()

        super();
    
Methods Summary
public voiddeleteId()

        this._has_id= false;
    
public intgetId()

        return this._id;
    
public java.lang.StringgetName()

        return this._name;
    
public booleanhasId()

        return this._has_id;
    
public booleanisValid()

        try {
            validate();
        }
        catch (org.exolab.castor.xml.ValidationException vex) {
            return false;
        }
        return true;
    
public voidmarshal(java.io.Writer out)

param
out

        
        Marshaller.marshal(this, out);
    
public voidmarshal(org.xml.sax.DocumentHandler handler)

param
handler

        
        Marshaller.marshal(this, handler);
    
public voidsetId(int id)

param
id

        this._id = id;
        this._has_id = true;
    
public voidsetName(java.lang.String name)

param
name

        this._name = name;
    
public static javajaxb.generated.hr.Organizationunmarshal(java.io.Reader reader)

param
reader

        return (javajaxb.generated.hr.Organization) Unmarshaller.unmarshal(javajaxb.generated.hr.Organization.class, reader);
    
public voidvalidate()

        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
        validator.validate(this);