|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
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. |
Method Summary | |
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 |
Field Detail |
public static final int STATUS_SUBMITTED
public static final int STATUS_APPROVED
public static final int STATUS_DEPRECATED
public static final int STATUS_WITHDRAWN
public static final int STABILITY_DYNAMIC
public static final int STABILITY_DYNAMIC_COMPATIBLE
public static final int STABILITY_STATIC
Method Detail |
public int getStatus() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic int getStability() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorSTABILITY_DYNAMIC
public void setStability(int stability) throws JAXRException
stability
- the stability indicator
JAXRException
- If the JAXR provider encounters an internal errorpublic Date getExpiration() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setExpiration(Date expiration) throws JAXRException
expiration
- the expiration Date for the stability indicator
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.