org.lexevs.registry.model
Class RegistryEntry

java.lang.Object
  extended by org.lexevs.registry.model.RegistryEntry

public class RegistryEntry
extends java.lang.Object

The Class RegistryEntry.

Author:
Kevin Peterson

Field Summary
 java.lang.String id
          The id.
 
Constructor Summary
RegistryEntry()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.sql.Timestamp getActivationDate()
          Gets the activation date.
 java.lang.String getBaseRevision()
          Gets the base revision.
 java.lang.String getDbName()
          Gets the db name.
 java.lang.String getDbSchemaDescription()
          Gets the db schema description.
 java.lang.String getDbSchemaVersion()
          Gets the db schema version.
 java.lang.String getDbUri()
          Gets the db uri.
 java.sql.Timestamp getDeactivationDate()
          Gets the deactivation date.
 java.lang.String getFixedAtRevision()
          Gets the fixed at revision.
 java.lang.String getId()
          Gets the id.
 java.lang.Boolean getIsLocked()
           
 java.sql.Timestamp getLastUpdateDate()
          Gets the last update date.
 java.lang.String getPrefix()
          Gets the prefix.
 Registry.ResourceType getResourceType()
          Gets the resource type.
 java.lang.String getResourceUri()
          Gets the resource uri.
 java.lang.String getResourceVersion()
          Gets the resource version.
 java.lang.String getStagingPrefix()
           
 java.lang.String getStatus()
          Gets the status.
 java.lang.String getSupplementsUri()
           
 java.lang.String getSupplementsVersion()
           
 java.lang.String getTag()
          Gets the tag.
 int hashCode()
           
 void setActivationDate(java.sql.Timestamp activationDate)
          Sets the activation date.
 void setBaseRevision(java.lang.String baseRevision)
          Sets the base revision.
 void setDbName(java.lang.String dbName)
          Sets the db name.
 void setDbSchemaDescription(java.lang.String dbSchemaDescription)
          Sets the db schema description.
 void setDbSchemaVersion(java.lang.String dbSchemaVersion)
          Sets the db schema version.
 void setDbUri(java.lang.String dbUri)
          Sets the db uri.
 void setDeactivationDate(java.sql.Timestamp deactivationDate)
          Sets the deactivation date.
 void setFixedAtRevision(java.lang.String fixedAtRevision)
          Sets the fixed at revision.
 void setId(java.lang.String id)
          Sets the id.
 void setIsLocked(java.lang.Boolean isLocked)
           
 void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
          Sets the last update date.
 void setPrefix(java.lang.String prefix)
          Sets the prefix.
 void setResourceType(Registry.ResourceType resourceType)
          Sets the resource type.
 void setResourceUri(java.lang.String resourceUri)
          Sets the resource uri.
 void setResourceVersion(java.lang.String resourceVersion)
          Sets the resource version.
 void setStagingPrefix(java.lang.String stagingPrefix)
           
 void setStatus(java.lang.String status)
          Sets the status.
 void setSupplementsUri(java.lang.String supplementsUri)
           
 void setSupplementsVersion(java.lang.String supplementsVersion)
           
 void setTag(java.lang.String tag)
          Sets the tag.
static XmlRegistry.DBEntry toDbEntry(RegistryEntry registryEntry)
          To db entry.
static RegistryEntry toRegistryEntry(XmlRegistry.DBEntry dbEntry)
          To registry entry.
static RegistryEntry toRegistryEntry(XmlRegistry.HistoryEntry historyEntry)
          To registry entry.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id
The id.

Constructor Detail

RegistryEntry

public RegistryEntry()
Method Detail

getStatus

public java.lang.String getStatus()
Gets the status.

Returns:
the status

setStatus

public void setStatus(java.lang.String status)
Sets the status.

Parameters:
status - the new status

getTag

public java.lang.String getTag()
Gets the tag.

Returns:
the tag

setTag

public void setTag(java.lang.String tag)
Sets the tag.

Parameters:
tag - the new tag

getId

public java.lang.String getId()
Gets the id.

Returns:
the id

setId

public void setId(java.lang.String id)
Sets the id.

Parameters:
id - the new id

getActivationDate

public java.sql.Timestamp getActivationDate()
Gets the activation date.

Returns:
the activation date

setActivationDate

public void setActivationDate(java.sql.Timestamp activationDate)
Sets the activation date.

Parameters:
activationDate - the new activation date

getDbName

public java.lang.String getDbName()
Gets the db name.

Returns:
the db name

setDbName

public void setDbName(java.lang.String dbName)
Sets the db name.

Parameters:
dbName - the new db name

getDbSchemaDescription

public java.lang.String getDbSchemaDescription()
Gets the db schema description.

Returns:
the db schema description

setDbSchemaDescription

public void setDbSchemaDescription(java.lang.String dbSchemaDescription)
Sets the db schema description.

Parameters:
dbSchemaDescription - the new db schema description

getDbUri

public java.lang.String getDbUri()
Gets the db uri.

Returns:
the db uri

setDbUri

public void setDbUri(java.lang.String dbUri)
Sets the db uri.

Parameters:
dbUri - the new db uri

getDeactivationDate

public java.sql.Timestamp getDeactivationDate()
Gets the deactivation date.

Returns:
the deactivation date

setDeactivationDate

public void setDeactivationDate(java.sql.Timestamp deactivationDate)
Sets the deactivation date.

Parameters:
deactivationDate - the new deactivation date

getFixedAtRevision

public java.lang.String getFixedAtRevision()
Gets the fixed at revision.

Returns:
the fixed at revision

setFixedAtRevision

public void setFixedAtRevision(java.lang.String fixedAtRevision)
Sets the fixed at revision.

Parameters:
fixedAtRevision - the new fixed at revision

getIsLocked

public java.lang.Boolean getIsLocked()

setIsLocked

public void setIsLocked(java.lang.Boolean isLocked)

getLastUpdateDate

public java.sql.Timestamp getLastUpdateDate()
Gets the last update date.

Returns:
the last update date

setLastUpdateDate

public void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
Sets the last update date.

Parameters:
lastUpdateDate - the new last update date

getPrefix

public java.lang.String getPrefix()
Gets the prefix.

Returns:
the prefix

setPrefix

public void setPrefix(java.lang.String prefix)
Sets the prefix.

Parameters:
prefix - the new prefix

getResourceType

public Registry.ResourceType getResourceType()
Gets the resource type.

Returns:
the resource type

setResourceType

public void setResourceType(Registry.ResourceType resourceType)
Sets the resource type.

Parameters:
resourceType - the new resource type

getResourceUri

public java.lang.String getResourceUri()
Gets the resource uri.

Returns:
the resource uri

setResourceUri

public void setResourceUri(java.lang.String resourceUri)
Sets the resource uri.

Parameters:
resourceUri - the new resource uri

setDbSchemaVersion

public void setDbSchemaVersion(java.lang.String dbSchemaVersion)
Sets the db schema version.

Parameters:
dbSchemaVersion - the new db schema version

getDbSchemaVersion

public java.lang.String getDbSchemaVersion()
Gets the db schema version.

Returns:
the db schema version

setResourceVersion

public void setResourceVersion(java.lang.String resourceVersion)
Sets the resource version.

Parameters:
resourceVersion - the new resource version

getResourceVersion

public java.lang.String getResourceVersion()
Gets the resource version.

Returns:
the resource version

setBaseRevision

public void setBaseRevision(java.lang.String baseRevision)
Sets the base revision.

Parameters:
baseRevision - the new base revision

getBaseRevision

public java.lang.String getBaseRevision()
Gets the base revision.

Returns:
the base revision

toDbEntry

public static XmlRegistry.DBEntry toDbEntry(RegistryEntry registryEntry)
To db entry.

Parameters:
registryEntry - the registry entry
Returns:
the dB entry

toRegistryEntry

public static RegistryEntry toRegistryEntry(XmlRegistry.DBEntry dbEntry)
To registry entry.

Parameters:
dbEntry - the db entry
Returns:
the registry entry

toRegistryEntry

public static RegistryEntry toRegistryEntry(XmlRegistry.HistoryEntry historyEntry)
To registry entry.

Parameters:
historyEntry - the history entry
Returns:
the registry entry

setStagingPrefix

public void setStagingPrefix(java.lang.String stagingPrefix)

getStagingPrefix

public java.lang.String getStagingPrefix()

getSupplementsUri

public java.lang.String getSupplementsUri()

setSupplementsUri

public void setSupplementsUri(java.lang.String supplementsUri)

getSupplementsVersion

public java.lang.String getSupplementsVersion()

setSupplementsVersion

public void setSupplementsVersion(java.lang.String supplementsVersion)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.