FileDocCategorySizeDatePackage
Address.javaAPI DocExample4429Thu Mar 07 09:58:26 GMT 2002javajaxb.generated.hr

Address

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

Fields Summary
private String
_street1
private String
_street2
private String
_city
private String
_state
private String
_zipCode
Constructors Summary
public Address()

        super();
    
Methods Summary
public java.lang.StringgetCity()

        return this._city;
    
public java.lang.StringgetState()

        return this._state;
    
public java.lang.StringgetStreet1()

        return this._street1;
    
public java.lang.StringgetStreet2()

        return this._street2;
    
public java.lang.StringgetZipCode()

        return this._zipCode;
    
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 voidsetCity(java.lang.String city)

param
city

        this._city = city;
    
public voidsetState(java.lang.String state)

param
state

        this._state = state;
    
public voidsetStreet1(java.lang.String street1)

param
street1

        this._street1 = street1;
    
public voidsetStreet2(java.lang.String street2)

param
street2

        this._street2 = street2;
    
public voidsetZipCode(java.lang.String zipCode)

param
zipCode

        this._zipCode = zipCode;
    
public static javajaxb.generated.hr.Addressunmarshal(java.io.Reader reader)

param
reader

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

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