|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface RegistryEntry
- 所有父接口:
- ExtensibleObject, RegistryObject, Versionable
- 所有已知子接口:
- ClassificationScheme, ExtrinsicObject, RegistryPackage, Service
public interface RegistryEntry
- extends RegistryObject, Versionable
The RegistryEntry interface is a base interface for interfaces in the model that require additional metadata beyond what is provided by the RegistryObject interface. A few interfaces in the model represent high level (coarse grain) objects in the registry that require additional metadata such as version information and indication of the stability or volatility of the information.
- 作者:
- Farrukh S. Najmi
字段摘要 | |
---|---|
static int |
STABILITY_DYNAMIC
RegistryEntry may change at any time. |
static int |
STABILITY_DYNAMIC_COMPATIBLE
RegistryEntry may change at any time, however the changes will be backward compatible. |
static int |
STABILITY_STATIC
RegistryEntry will not change. |
static int |
STATUS_APPROVED
RegistryEntry has been submitted and approved. |
static int |
STATUS_DEPRECATED
RegistryEntry has been deprecated. |
static int |
STATUS_SUBMITTED
RegistryEntry has been submitted. |
static int |
STATUS_WITHDRAWN
RegistryEntry has been withdrawn by the submitter. |
方法摘要 | |
---|---|
Date |
getExpiration()
Gets expirationDate attribute of the RegistryEntry within the Registry. |
int |
getStability()
Gets the stability indicator for the RegistryEntry within the Registry. |
int |
getStatus()
Gets the life cycle status of the RegistryEntry within the registry. |
void |
setExpiration(Date expiration)
Sets the expirationDate. |
void |
setStability(int stability)
Sets the stability indicator for the RegistryEntry. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.Versionable |
---|
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion |
字段详细信息 |
---|
STATUS_SUBMITTED
static final int STATUS_SUBMITTED
- RegistryEntry has been submitted.
- 另请参见:
- 常量字段
STATUS_APPROVED
static final int STATUS_APPROVED
- RegistryEntry has been submitted and approved.
- 另请参见:
- 常量字段
STATUS_DEPRECATED
static final int STATUS_DEPRECATED
- RegistryEntry has been deprecated.
- 另请参见:
- 常量字段
STATUS_WITHDRAWN
static final int STATUS_WITHDRAWN
- RegistryEntry has been withdrawn by the submitter.
- 另请参见:
- 常量字段
STABILITY_DYNAMIC
static final int STABILITY_DYNAMIC
- RegistryEntry may change at any time.
- 另请参见:
- 常量字段
STABILITY_DYNAMIC_COMPATIBLE
static final int STABILITY_DYNAMIC_COMPATIBLE
- RegistryEntry may change at any time, however the changes will be backward compatible.
- 另请参见:
- 常量字段
STABILITY_STATIC
static final int STABILITY_STATIC
- RegistryEntry will not change.
- 另请参见:
- 常量字段
方法详细信息 |
---|
getStatus
int getStatus() throws JAXRException
- Gets the life cycle status of the RegistryEntry within the registry.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- 返回:
- the life cycle status as an integer enumeration
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getStability
int getStability() throws JAXRException
- Gets the stability indicator for the RegistryEntry within the Registry.
The stability indicator is provided by the submitter as an indication
of the level of stability for the content.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- 返回:
- the stability indicator as an integer enumeration
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error- 另请参见:
STABILITY_DYNAMIC
setStability
void setStability(int stability) throws JAXRException
- Sets the stability indicator for the RegistryEntry.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- 参数:
stability
- the stability indicator- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getExpiration
Date getExpiration() throws JAXRException
- Gets expirationDate attribute of the RegistryEntry within the Registry.
This attribute defines a time limit upon the stability indication
provided by the stability attribute. Once the expirationDate has been
reached the stability attribute in effect becomes STABILITY_DYNAMIC
implying that content can change at any time and in any manner.
A null value implies that there is no expiration on stability attribute.
- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- 返回:
- the expiration Date for the stability indicator
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
setExpiration
void setExpiration(Date expiration) throws JAXRException
- Sets the expirationDate.
- Capability Level: 1
- 参数:
expiration
- the expiration Date for the stability indicator- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.