public class RegistryEntryImpl extends RegistryObjectImpl implements RegistryEntry
RegistryEntry
.STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
Constructor and Description |
---|
RegistryEntryImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.util.Date |
getExpiration()
Gets expirationDate attribute of the RegistryEntry within the Registry.
|
int |
getMajorVersion()
Gets the major revision number for this version of the Versionable
object.
|
int |
getMinorVersion()
Gets the minor revision number for this version of the Versionable
object.
|
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.
|
java.lang.String |
getUserVersion()
Gets the user-specified revision number for this version of the
Versionable object.
|
int |
hashCode() |
void |
setExpiration(java.util.Date expiration)
Sets the expirationDate.
|
void |
setMajorVersion(int majorVersion)
Sets the major revision number for this version of the Versionable
object.
|
void |
setMinorVersion(int minorVersion)
Sets the minor revision number for this version of the Versionable
object.
|
void |
setStability(int stability)
Sets the stability indicator for the RegistryEntry.
|
void |
setStatus(int status)
Sets the status for this RegistryEntry.
|
void |
setUserVersion(java.lang.String userVersion)
Sets the user specified revision number for this version of the
Versionable object.
|
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
public java.util.Date getExpiration()
getExpiration
in interface RegistryEntry
public int getStability()
getStability
in interface RegistryEntry
public int getStatus()
getStatus
in interface RegistryEntry
public void setExpiration(java.util.Date expiration)
setExpiration
in interface RegistryEntry
expiration
- the expiration date.public void setStability(int stability)
setStability
in interface RegistryEntry
stability
- the stability indicator for the RegistryEntry.public int getMajorVersion()
getMajorVersion
in interface Versionable
public int getMinorVersion()
getMinorVersion
in interface Versionable
public java.lang.String getUserVersion()
getUserVersion
in interface Versionable
public void setMajorVersion(int majorVersion)
setMajorVersion
in interface Versionable
majorVersion
- the major revision number.public void setMinorVersion(int minorVersion)
setMinorVersion
in interface Versionable
minorVersion
- the minor revision number.public void setUserVersion(java.lang.String userVersion)
setUserVersion
in interface Versionable
userVersion
- the user specified revision number.public boolean equals(java.lang.Object other)
equals
in class RegistryObjectImpl
public int hashCode()
hashCode
in class RegistryObjectImpl
public void setStatus(int status)
status
- the status for this RegistryEntry.