com.metamatrix.connector.metadata
Class RuntimeVdbRecord

java.lang.Object
  extended by com.metamatrix.connector.metadata.RuntimeVdbRecord
All Implemented Interfaces:
MetadataRecord, VdbRecord, java.io.Serializable

public class RuntimeVdbRecord
extends java.lang.Object
implements VdbRecord

Extends a VdbRecord object with additional runtime data. This allows the System model to obtain the VDB name and VDB version of the deployed VDB.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
Constructor Summary
RuntimeVdbRecord(VdbRecord vdbRecord, java.lang.String vdbRuntimeName, java.lang.String vdbRuntimeVersion)
           
 
Method Summary
 java.lang.String getDescription()
          Return the description for the VDB archive
 java.lang.Object getEObject()
          Return the EObject for the entity this record represents.
 java.lang.String getFullName()
          Path for the entity.
 java.lang.String getIdentifier()
          Return the identifier for the VDB archive
 java.util.List getModelIDs()
          Return the list of model identifiers for the VDB archive
 java.lang.String getModelName()
          Return the name of the model in which this entity exists.
 java.lang.String getName()
          Get entity short name
 java.lang.String getNameInSource()
          Get entity name in source
 java.lang.String getParentFullName()
          Deprecated. the returned fullname may be incorrect (see defects #11326 and #11362)
 java.lang.String getParentPathString()
          Deprecated. the returned parent path may be incorrect (see defects #11326 and #11362)
 java.lang.String getParentUUID()
          Get the UUID of the logical parent for the entity.
 java.lang.String getPath()
          IPath object for the entity.
 java.lang.String getPathString()
          The string representation of IPath object for the entity.
 java.lang.String getProducerName()
          Return the name of the VDB archive producer
 java.lang.String getProducerVersion()
          Return the version of the VDB archive producer
 java.lang.Object getPropertyValue(java.lang.String propertyName)
          Get the value of the transient properties that get stored on the records for sake of caching.
 java.lang.String getProvider()
          Return the name of the provider
 char getRecordType()
          Get type of the metadata record
 java.lang.String getResourcePath()
          Get path to the resource in the project
 java.lang.String getTimeLastChanged()
          Return the time the VDB archive was last changed
 java.lang.String getTimeLastProduced()
          Return the time the VDB archive was last re-indexed
 java.lang.String getUUID()
          Get the UUID of the entity
 java.lang.String getVdbRuntimeName()
           
 java.lang.String getVdbRuntimeVersion()
           
 java.lang.String getVersion()
          Return the version of the VDB archive
 void setPropertyValue(java.lang.String propertyName, java.lang.Object propertyValue)
          Set the value of the transient properties that get stored on the records for sake of caching.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeVdbRecord

public RuntimeVdbRecord(VdbRecord vdbRecord,
                        java.lang.String vdbRuntimeName,
                        java.lang.String vdbRuntimeVersion)
Method Detail

getVdbRuntimeName

public java.lang.String getVdbRuntimeName()

getVdbRuntimeVersion

public java.lang.String getVdbRuntimeVersion()

getDescription

public java.lang.String getDescription()
Description copied from interface: VdbRecord
Return the description for the VDB archive

Specified by:
getDescription in interface VdbRecord
Returns:

getIdentifier

public java.lang.String getIdentifier()
Description copied from interface: VdbRecord
Return the identifier for the VDB archive

Specified by:
getIdentifier in interface VdbRecord
Returns:

getModelIDs

public java.util.List getModelIDs()
Description copied from interface: VdbRecord
Return the list of model identifiers for the VDB archive

Specified by:
getModelIDs in interface VdbRecord
Returns:

getProducerName

public java.lang.String getProducerName()
Description copied from interface: VdbRecord
Return the name of the VDB archive producer

Specified by:
getProducerName in interface VdbRecord
Returns:

getProducerVersion

public java.lang.String getProducerVersion()
Description copied from interface: VdbRecord
Return the version of the VDB archive producer

Specified by:
getProducerVersion in interface VdbRecord
Returns:

getProvider

public java.lang.String getProvider()
Description copied from interface: VdbRecord
Return the name of the provider

Specified by:
getProvider in interface VdbRecord
Returns:

getTimeLastChanged

public java.lang.String getTimeLastChanged()
Description copied from interface: VdbRecord
Return the time the VDB archive was last changed

Specified by:
getTimeLastChanged in interface VdbRecord
Returns:

getTimeLastProduced

public java.lang.String getTimeLastProduced()
Description copied from interface: VdbRecord
Return the time the VDB archive was last re-indexed

Specified by:
getTimeLastProduced in interface VdbRecord
Returns:

getVersion

public java.lang.String getVersion()
Description copied from interface: VdbRecord
Return the version of the VDB archive

Specified by:
getVersion in interface VdbRecord
Returns:

getEObject

public java.lang.Object getEObject()
Description copied from interface: MetadataRecord
Return the EObject for the entity this record represents. May be null.

Specified by:
getEObject in interface MetadataRecord
Returns:
EObject for the Record.

getFullName

public java.lang.String getFullName()
Description copied from interface: MetadataRecord
Path for the entity.

Specified by:
getFullName in interface MetadataRecord
Returns:
path for the entity

getModelName

public java.lang.String getModelName()
Description copied from interface: MetadataRecord
Return the name of the model in which this entity exists.

Specified by:
getModelName in interface MetadataRecord
Returns:
name of the containing model

getName

public java.lang.String getName()
Description copied from interface: MetadataRecord
Get entity short name

Specified by:
getName in interface MetadataRecord
Returns:
short name of the entity

getNameInSource

public java.lang.String getNameInSource()
Description copied from interface: MetadataRecord
Get entity name in source

Specified by:
getNameInSource in interface MetadataRecord
Returns:
name in source of the entity
See Also:
MetadataRecord.getNameInSource()

getParentFullName

public java.lang.String getParentFullName()
Deprecated. the returned fullname may be incorrect (see defects #11326 and #11362)

Description copied from interface: MetadataRecord
Path for the parent of this entity.

Specified by:
getParentFullName in interface MetadataRecord
Returns:
fullName for the parent of this entity
See Also:
MetadataRecord.getParentFullName()

getParentPathString

public java.lang.String getParentPathString()
Deprecated. the returned parent path may be incorrect (see defects #11326 and #11362)

Description copied from interface: MetadataRecord
The string representation of IPath object for the parent entity.

Specified by:
getParentPathString in interface MetadataRecord
Returns:
string form of IPath for the parent entity
See Also:
MetadataRecord.getParentPathString()

getParentUUID

public java.lang.String getParentUUID()
Description copied from interface: MetadataRecord
Get the UUID of the logical parent for the entity. The logical parent may or may not be the immediate parent for the entity.

Specified by:
getParentUUID in interface MetadataRecord
Returns:
the UUID of parent for the entity

getPath

public java.lang.String getPath()
Description copied from interface: MetadataRecord
IPath object for the entity.

Specified by:
getPath in interface MetadataRecord
Returns:
IPath for the entity

getPathString

public java.lang.String getPathString()
Description copied from interface: MetadataRecord
The string representation of IPath object for the entity.

Specified by:
getPathString in interface MetadataRecord
Returns:
string form of IPath for the entity

getRecordType

public char getRecordType()
Description copied from interface: MetadataRecord
Get type of the metadata record

Specified by:
getRecordType in interface MetadataRecord
Returns:
char representing type of the metadata record

getResourcePath

public java.lang.String getResourcePath()
Description copied from interface: MetadataRecord
Get path to the resource in the project

Specified by:
getResourcePath in interface MetadataRecord
Returns:
path to the resource in the project

getUUID

public java.lang.String getUUID()
Description copied from interface: MetadataRecord
Get the UUID of the entity

Specified by:
getUUID in interface MetadataRecord
Returns:
the UUID of the entity

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String propertyName)
Description copied from interface: MetadataRecord
Get the value of the transient properties that get stored on the records for sake of caching.

Specified by:
getPropertyValue in interface MetadataRecord
Parameters:
propertyName - The name of property (one among those stored on this interface)
Returns:
The property value for this property.
See Also:
MetadataRecord.getPropertyValue(java.lang.String)

setPropertyValue

public void setPropertyValue(java.lang.String propertyName,
                             java.lang.Object propertyValue)
Description copied from interface: MetadataRecord
Set the value of the transient properties that get stored on the records for sake of caching.

Specified by:
setPropertyValue in interface MetadataRecord
Parameters:
propertyName - The name of property (one among those stored on this interface)
See Also:
MetadataRecord.setPropertyValue(java.lang.String, java.lang.Object)


Copyright © 2009. All Rights Reserved.