PostalAddress (Java EE 5)

Java EE API


javax.xml.registry.infomodel Interface PostalAddress

All Superinterfaces:
ExtensibleObject

public interface PostalAddress
extends ExtensibleObject

Implements: ExtensibleObject

PostalAddress 是一个简单的可重用实体类,它定义邮政 Address 的属性。
英文文档:

PostalAddress is a simple re-usable entity class that defines attributes of a postal Address.

Author:
Farrukh S. Najmi

Method Summary
 String
 String
 String
 ClassificationScheme
 String
 String
 String
 String
 void
 void
 void
 void
 void
 void
 void
 void
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
 

Method Detail

public String getStreet() throws JAXRException
返回街道名称。默认值为空字符串。

功能级别:0
return 街道名称
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getStreet

String getStreet()
                 throws JAXRException
Returns the street name. Default is an empty String.

Capability Level: 0

Returns:
the street name
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setStreet(String street) throws JAXRException
设置街道名称。

功能级别:0
street 街道名称
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setStreet

void setStreet(String street)
               throws JAXRException
Sets the street name.

Capability Level: 0

Parameters:
street - the street name
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getStreetNumber() throws JAXRException
返回街道编号。默认值为空字符串。

功能级别:0
return 街道编号
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getStreetNumber

String getStreetNumber()
                       throws JAXRException
Returns the street number. Default is an empty String.

Capability Level: 0

Returns:
the street number
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setStreetNumber(String streetNumber) throws JAXRException
设置街道编号。

功能级别:0
streetNumber 街道编号
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setStreetNumber

void setStreetNumber(String streetNumber)
                     throws JAXRException
Sets the street number.

Capability Level: 0

Parameters:
streetNumber - the street number
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getCity() throws JAXRException
返回城市。默认值为空字符串。

功能级别:0
return 城市
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getCity

String getCity()
               throws JAXRException
Returns the city. Default is an empty String.

Capability Level: 0

Returns:
the city
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setCity(String city) throws JAXRException
设置城市。

功能级别:0
city 城市
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setCity

void setCity(String city)
             throws JAXRException
Sets the city.

Capability Level: 0

Parameters:
city - the city
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getStateOrProvince() throws JAXRException
返回州或省。默认值为空字符串。

功能级别:0
return 州或省
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getStateOrProvince

String getStateOrProvince()
                          throws JAXRException
Returns the state or province. Default is an empty String.

Capability Level: 0

Returns:
the state or province
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setStateOrProvince(String stateOrProvince) throws JAXRException
设置州或省。

功能级别:0
stateOrProvince 州或省
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setStateOrProvince

void setStateOrProvince(String stateOrProvince)
                        throws JAXRException
Sets the state or province.

Capability Level: 0

Parameters:
stateOrProvince - the state or province
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getPostalCode() throws JAXRException
返回邮政编码。默认值为空字符串。

功能级别:0
return 邮政编码(例如,US 邮编)
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getPostalCode

String getPostalCode()
                     throws JAXRException
Returns the postal or zip code. Default is an empty String.

Capability Level: 0

Returns:
the postal code (e.g. US zip code)
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setPostalCode(String postalCode) throws JAXRException
设置邮政编码。

功能级别:0
postalCode 邮政编码(例如,US 邮编)
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setPostalCode

void setPostalCode(String postalCode)
                   throws JAXRException
Sets the postal or zip code.

Capability Level: 0

Parameters:
postalCode - the postal code (e.g. US zip code)
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getCountry() throws JAXRException
返回国家。默认值为空字符串。

功能级别:0
return 国家
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getCountry

String getCountry()
                  throws JAXRException
Returns the country. Default is an empty String.

Capability Level: 0

Returns:
the country
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setCountry(String country) throws JAXRException
设置国家。

功能级别:0
country 国家
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setCountry

void setCountry(String country)
                throws JAXRException
Sets the country.

Capability Level: 0

Parameters:
country - the country
Throws:
JAXRException - If the JAXR provider encounters an internal error

public String getType() throws JAXRException
以 String 形式返回地址类型(例如,"headquarters")。

功能级别:0
return 此 PostalAddress 的类型。这是一个任意字符串(例如 "Home"、"Office")
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

getType

String getType()
               throws JAXRException
Returns the type of address (for example, "headquarters") as a String.

Capability Level: 0

Returns:
the type for this PostalAddress. This is an arbitrary String (e.g. "Home", "Office")
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setType(String type) throws JAXRException
以 String 形式设置地址类型(例如,"headquarters")。

功能级别:0
type 此 PostalAddress 的类型。这是一个任意字符串(例如 "Home"、"Office")
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setType

void setType(String type)
             throws JAXRException
Sets the type of address (for example, "headquarters") as a String.

Capability Level: 0

Parameters:
type - the type for this PostalAddress. This is an arbitrary String (e.g. "Home", "Office")
Throws:
JAXRException - If the JAXR provider encounters an internal error

public void setPostalScheme(ClassificationScheme scheme) throws JAXRException
设置用于对 PostalAddress 的属性进行编码的用户定义的邮政方案。

功能级别:0
scheme 用户定义的邮政方案。
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
英文文档:

setPostalScheme

void setPostalScheme(ClassificationScheme scheme)
                     throws JAXRException
Sets a user-defined postal scheme for codifying the attributes of PostalAddress.

Capability Level: 0

Parameters:
scheme - the user defined postal scheme.
Throws:
JAXRException - If the JAXR provider encounters an internal error

public ClassificationScheme getPostalScheme() throws JAXRException
返回用于对 PostalAddress 属性进行编码的用户定义的邮政方案。如果没有为此对象定义邮政方案,则必须返回 RegistryService#getDefaultPostalScheme() 所返回的默认值

功能级别:0
return 用户定义的邮政方案。
ThrowsJAXRException: 如果 JAXR 提供者遇到内部错误
See also getDefaultPostalScheme()
英文文档:

getPostalScheme

ClassificationScheme getPostalScheme()
                                     throws JAXRException
Returns a user-defined postal scheme for codifying the attributes of PostalAddress. If none is defined for this object, then must return the default value returned by RegistryService#getDefaultPostalScheme()

Capability Level: 0

Returns:
the user defined postal scheme.
Throws:
JAXRException - If the JAXR provider encounters an internal error
See Also:
RegistryService.getDefaultPostalScheme()


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!