org.teiid.connector.metadata.runtime
Class AbstractMetadataRecord

java.lang.Object
  extended by org.teiid.connector.metadata.runtime.AbstractMetadataRecord
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AnnotationRecordImpl, BaseColumn, ColumnSetRecordImpl, DatatypeRecordImpl, FileRecordImpl, ModelRecordImpl, ProcedureRecordImpl, PropertyRecordImpl, RuntimeVdbRecord, TransformationRecordImpl

public abstract class AbstractMetadataRecord
extends java.lang.Object
implements java.io.Serializable

AbstractMetadataRecord

See Also:
Serialized Form

Nested Class Summary
static interface AbstractMetadataRecord.MetadataFieldNames
          Constants for names of accessor methods that map to fields stored on the MetadataRecords.
 
Field Summary
static char NAME_DELIM_CHAR
           
 
Constructor Summary
AbstractMetadataRecord()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare two records for equality.
 AnnotationRecordImpl getAnnotation()
           
 java.util.Collection<PropertyRecordImpl> getExtensionProperties()
           
 java.lang.String getFullName()
           
 java.lang.String getModelName()
           
 java.lang.String getName()
           
 java.lang.String getNameInSource()
           
 java.lang.String getParentFullName()
          Deprecated. the returned value may be incorrect in the case of an XML element (see defects #11326 and #11362)
 java.lang.String getParentPathString()
          Deprecated. the returned value may be incorrect in the case of an XML element (see defects #11326 and #11362)
 java.lang.String getParentUUID()
           
 java.lang.String getPath()
           
 java.lang.String getPathString()
           
 java.util.Properties getProperties()
           
 char getRecordType()
           
 java.lang.String getUUID()
           
 int hashCode()
          WARNING: The hash code relies on the variables in the record, so changing the variables will change the hash code, causing a select to be lost in a hash structure.
 void setAnnotation(AnnotationRecordImpl annotation)
           
 void setExtensionProperties(java.util.Collection<PropertyRecordImpl> properties)
           
 void setFullName(java.lang.String fullName)
           
 void setName(java.lang.String name)
           
 void setNameInSource(java.lang.String nameInSource)
           
 void setParentUUID(java.lang.String parentUUID)
           
 void setProperties(java.util.Properties properties)
           
 void setRecordType(char c)
           
 void setUUID(java.lang.String uuid)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_DELIM_CHAR

public static final char NAME_DELIM_CHAR
See Also:
Constant Field Values
Constructor Detail

AbstractMetadataRecord

public AbstractMetadataRecord()
Method Detail

getUUID

public java.lang.String getUUID()

setUUID

public void setUUID(java.lang.String uuid)

getParentUUID

public java.lang.String getParentUUID()

setParentUUID

public void setParentUUID(java.lang.String parentUUID)

getNameInSource

public java.lang.String getNameInSource()

setNameInSource

public void setNameInSource(java.lang.String nameInSource)

getFullName

public java.lang.String getFullName()

setFullName

public void setFullName(java.lang.String fullName)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getModelName

public java.lang.String getModelName()
See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataRecord#getModelName()

getPathString

public java.lang.String getPathString()

getPath

public java.lang.String getPath()

getParentFullName

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

See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataRecord#getParentFullName()

getParentPathString

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

See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataRecord#getParentPathString()

getRecordType

public char getRecordType()

setRecordType

public void setRecordType(char c)
Parameters:
c -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getExtensionProperties

public java.util.Collection<PropertyRecordImpl> getExtensionProperties()

setExtensionProperties

public void setExtensionProperties(java.util.Collection<PropertyRecordImpl> properties)

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties properties)

getAnnotation

public AnnotationRecordImpl getAnnotation()

setAnnotation

public void setAnnotation(AnnotationRecordImpl annotation)

equals

public boolean equals(java.lang.Object obj)
Compare two records for equality.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
WARNING: The hash code relies on the variables in the record, so changing the variables will change the hash code, causing a select to be lost in a hash structure. Do not hash a record if you plan to change it.

Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.