public class ContactType extends Object implements Serializable
| Constructor and Description |
|---|
ContactType() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
Returns the value of field 'address'.
|
String |
getContactInstructions()
Returns the value of field 'contactInstructions'.
|
String |
getHoursOfService()
Returns the value of field 'hoursOfService'.
|
OnlineResource |
getOnlineResource()
Returns the value of field 'onlineResource'.
|
Phone |
getPhone()
Returns the value of field 'phone'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
void |
setAddress(Address address)
Sets the value of field 'address'.
|
void |
setContactInstructions(String contactInstructions)
Sets the value of field 'contactInstructions'.
|
void |
setHoursOfService(String hoursOfService)
Sets the value of field 'hoursOfService'.
|
void |
setOnlineResource(OnlineResource onlineResource)
Sets the value of field 'onlineResource'.
|
void |
setPhone(Phone phone)
Sets the value of field 'phone'.
|
static ContactType |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public Address getAddress()
public String getContactInstructions()
public String getHoursOfService()
public OnlineResource getOnlineResource()
public Phone getPhone()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void setAddress(Address address)
address - the value of field 'address'.public void setContactInstructions(String contactInstructions)
contactInstructions - the value of field
'contactInstructions'.public void setHoursOfService(String hoursOfService)
hoursOfService - the value of field 'hoursOfService'.public void setOnlineResource(OnlineResource onlineResource)
onlineResource - the value of field 'onlineResource'.public void setPhone(Phone phone)
phone - the value of field 'phone'.public static ContactType unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionCopyright © 2021 B3Partners B.V.. All rights reserved.