fr.etai.xat2v2.obj
Class Place

java.lang.Object
  extended by fr.etai.xat2v2.obj.Place
All Implemented Interfaces:
Serializable

public class Place
extends Object
implements Serializable

Place permits to describe either a full address or simply a location

Java class for PlaceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PlaceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
        <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="address" type="{http://xat2.etai.fr}AddressType" minOccurs="0 maxOccurs="5"/>
         <element name="zip-code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="POBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="city" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="region" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="country" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="classification-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
       </sequence>
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="internal-id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Place()
           
 
Method Summary
 void addAddress(Address value)
           
 void addClassification(Classification cl)
           
 void addCountry(Classification c)
           
 void addRegion(Classification r)
           
 List<Address> getAddress()
          Gets the value of the address property.
 String getCity()
          Gets the value of the city property.
 List<Classification> getClassificationList()
          Gets the value of the classificationList property.
 List<Classification> getCountry()
          Gets the value of the country property.
 String getInternalId()
          Gets the value of the internalId property.
 String getName()
          Gets the value of the name property.
 String getPOBox()
          Gets the value of the poBox property.
 List<Classification> getRegion()
          Gets the value of the region property.
 String getSource()
          Gets the value of the source property.
 String getZipCode()
          Gets the value of the zipCode property.
 void setAddress(List<Address> value)
          Sets the value of the address property.
 void setCity(String value)
          Sets the value of the city property.
 void setClassificationList(List<Classification> value)
          Sets the value of the classificationList property.
 void setCountry(List<Classification> value)
          Sets the value of the country property.
 void setInternalId(String value)
          Sets the value of the internalId property.
 void setName(String value)
          Sets the value of the name property.
 void setPOBox(String value)
          Sets the value of the poBox property.
 void setRegion(List<Classification> value)
          Sets the value of the region property.
 void setSource(String value)
          Sets the value of the source property.
 void setZipCode(String value)
          Sets the value of the zipCode property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Place

public Place()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getClassificationList

public List<Classification> getClassificationList()
Gets the value of the classificationList property.

Returns:
possible object is ClassificationListType

setClassificationList

public void setClassificationList(List<Classification> value)
Sets the value of the classificationList property.

Parameters:
value - allowed object is ClassificationListType

addClassification

public void addClassification(Classification cl)

getAddress

public List<Address> getAddress()
Gets the value of the address property.

Returns:
possible object is Address

setAddress

public void setAddress(List<Address> value)
Sets the value of the address property.

Parameters:
value - allowed object is Address

addAddress

public void addAddress(Address value)

getZipCode

public String getZipCode()
Gets the value of the zipCode property.

Returns:
possible object is String

setZipCode

public void setZipCode(String value)
Sets the value of the zipCode property.

Parameters:
value - allowed object is String

getPOBox

public String getPOBox()
Gets the value of the poBox property.

Returns:
possible object is String

setPOBox

public void setPOBox(String value)
Sets the value of the poBox property.

Parameters:
value - allowed object is String

getCity

public String getCity()
Gets the value of the city property.

Returns:
possible object is String

setCity

public void setCity(String value)
Sets the value of the city property.

Parameters:
value - allowed object is String

getRegion

public List<Classification> getRegion()
Gets the value of the region property.

Returns:
possible object is ClassificationListType

setRegion

public void setRegion(List<Classification> value)
Sets the value of the region property.

Parameters:
value - allowed object is ClassificationListType

addRegion

public void addRegion(Classification r)

getCountry

public List<Classification> getCountry()
Gets the value of the country property.

Returns:
possible object is ClassificationListType

setCountry

public void setCountry(List<Classification> value)
Sets the value of the country property.

Parameters:
value - allowed object is ClassificationListType

addCountry

public void addCountry(Classification c)

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

getInternalId

public String getInternalId()
Gets the value of the internalId property.

Returns:
possible object is String

setInternalId

public void setInternalId(String value)
Sets the value of the internalId property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.