Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package oasis.names.tc.ebxml_regrep.xsd.rim._3;
  
Mapping of the same named interface in ebRIM.

Java class for PostalAddressType complex type.

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

 <complexType name="PostalAddressType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="city" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="country" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="postalCode" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="stateOrProvince" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="street" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ShortName" />
       <attribute name="streetNumber" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}String32" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "PostalAddressType")
 public class PostalAddressType {
 
     @XmlAttribute
     protected String city;
     @XmlAttribute
     protected String country;
     @XmlAttribute
     protected String postalCode;
     @XmlAttribute
     protected String stateOrProvince;
     @XmlAttribute
     protected String street;
     @XmlAttribute
     protected String streetNumber;

    
Gets the value of the city property.

Returns:
possible object is
 
     public String getCity() {
         return ;
     }

    
Sets the value of the city property.

Parameters:
value allowed object is
 
     public void setCity(String value) {
         this. = value;
     }

    
Gets the value of the country property.

Returns:
possible object is
 
     public String getCountry() {
         return ;
     }

    
Sets the value of the country property.

Parameters:
value allowed object is
 
     public void setCountry(String value) {
         this. = value;
     }

    
Gets the value of the postalCode property.

Returns:
possible object is
    public String getPostalCode() {
        return ;
    }

    
Sets the value of the postalCode property.

Parameters:
value allowed object is
    public void setPostalCode(String value) {
        this. = value;
    }

    
Gets the value of the stateOrProvince property.

Returns:
possible object is
    public String getStateOrProvince() {
        return ;
    }

    
Sets the value of the stateOrProvince property.

Parameters:
value allowed object is
    public void setStateOrProvince(String value) {
        this. = value;
    }

    
Gets the value of the street property.

Returns:
possible object is
    public String getStreet() {
        return ;
    }

    
Sets the value of the street property.

Parameters:
value allowed object is
    public void setStreet(String value) {
        this. = value;
    }

    
Gets the value of the streetNumber property.

Returns:
possible object is
    public String getStreetNumber() {
        return ;
    }

    
Sets the value of the streetNumber property.

Parameters:
value allowed object is
    public void setStreetNumber(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X