com.metamatrix.modeler.core.metadata.runtime
Interface MetadataRecord

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AnnotationRecord, ColumnRecord, ColumnSetRecord, DatatypeRecord, FileRecord, ForeignKeyRecord, ModelRecord, ProcedureParameterRecord, ProcedureRecord, PropertyRecord, TableRecord, TransformationRecord, UniqueKeyRecord, VdbRecord
All Known Implementing Classes:
AbstractMetadataRecord, AnnotationRecordImpl, ColumnRecordImpl, ColumnSetRecordImpl, DatatypeRecordImpl, FileRecordImpl, ForeignKeyRecordImpl, ModelRecordImpl, ProcedureParameterRecordImpl, ProcedureRecordImpl, PropertyRecordImpl, RuntimeVdbRecord, TableRecordImpl, TransformationRecordImpl, UniqueKeyRecordImpl, VdbRecordImpl

public interface MetadataRecord
extends java.io.Serializable

RuntimeRecord


Nested Class Summary
static interface MetadataRecord.MetadataFieldNames
          Constants for names of accessor methods that map to fields stored on the MetadataRecords.
static interface MetadataRecord.MetadataRecordProperties
          Constants for perperties stored on a MetadataRecord
 
Method Summary
 java.lang.Object getEObject()
          Return the EObject for the entity this record represents.
 java.lang.String getFullName()
          Path for the entity.
 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 in the case of an XML element (see defects #11326 and #11362)
 java.lang.String getParentPathString()
          Deprecated. the returned path may be incorrect in the case of an XML element (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.Object getPropertyValue(java.lang.String propertyName)
          Get the value of the transient properties that get stored on the records for sake of caching.
 char getRecordType()
          Get type of the metadata record
 java.lang.String getResourcePath()
          Get path to the resource in the project
 java.lang.String getUUID()
          Get the UUID of the entity
 void setPropertyValue(java.lang.String propertyName, java.lang.Object propertyVame)
          Set the value of the transient properties that get stored on the records for sake of caching.
 

Method Detail

getUUID

java.lang.String getUUID()
Get the UUID of the entity

Returns:
the UUID of the entity

getParentUUID

java.lang.String getParentUUID()
Get the UUID of the logical parent for the entity. The logical parent may or may not be the immediate parent for the entity.

Returns:
the UUID of parent for the entity

getName

java.lang.String getName()
Get entity short name

Returns:
short name of the entity

getNameInSource

java.lang.String getNameInSource()
Get entity name in source

Returns:
name in source of the entity

getResourcePath

java.lang.String getResourcePath()
Get path to the resource in the project

Returns:
path to the resource in the project

getRecordType

char getRecordType()
Get type of the metadata record

Returns:
char representing type of the metadata record

getFullName

java.lang.String getFullName()
Path for the entity.

Returns:
path for the entity

getPathString

java.lang.String getPathString()
The string representation of IPath object for the entity.

Returns:
string form of IPath for the entity

getPath

java.lang.String getPath()
IPath object for the entity.

Returns:
IPath for the entity

getModelName

java.lang.String getModelName()
Return the name of the model in which this entity exists.

Returns:
name of the containing model

getParentFullName

java.lang.String getParentFullName()
Deprecated. the returned fullName may be incorrect in the case of an XML element (see defects #11326 and #11362)

Path for the parent of this entity.

Returns:
fullName for the parent of this entity

getParentPathString

java.lang.String getParentPathString()
Deprecated. the returned path may be incorrect in the case of an XML element (see defects #11326 and #11362)

The string representation of IPath object for the parent entity.

Returns:
string form of IPath for the parent entity

getEObject

java.lang.Object getEObject()
Return the EObject for the entity this record represents. May be null.

Returns:
EObject for the Record.

getPropertyValue

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.

Parameters:
propertyName - The name of property (one among those stored on this interface)
Returns:
The property value for this property.

setPropertyValue

void setPropertyValue(java.lang.String propertyName,
                      java.lang.Object propertyVame)
Set the value of the transient properties that get stored on the records for sake of caching.

Parameters:
propertyName - The name of property (one among those stored on this interface)
propertyValue - The value of property to be cached.


Copyright © 2009. All Rights Reserved.