org.teiid.metadata
Class AbstractMetadataRecord
java.lang.Object
org.teiid.metadata.AbstractMetadataRecord
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BaseColumn, ColumnSet, Datatype, FunctionMethod, Procedure, Schema, TransformationRecordImpl
public abstract class AbstractMetadataRecord
- extends java.lang.Object
- implements java.io.Serializable
AbstractMetadataRecord
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NAME_DELIM_CHAR
public static final char NAME_DELIM_CHAR
- See Also:
- Constant Field Values
AbstractMetadataRecord
public AbstractMetadataRecord()
getUUID
public java.lang.String getUUID()
setUUID
public void setUUID(java.lang.String uuid)
getNameInSource
public java.lang.String getNameInSource()
setNameInSource
public void setNameInSource(java.lang.String nameInSource)
getFullName
public java.lang.String getFullName()
- WARNING - The name returned by this method may be ambiguous and
is not SQL safe - it may need quoted/escaped
getParent
public AbstractMetadataRecord getParent()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getCanonicalName
public java.lang.String getCanonicalName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Return the extension properties for this record - may be unmodifiable
if
setProperties(LinkedHashMap)
or setProperty(String, String)
has not been called.
- Returns:
setProperty
public java.lang.String setProperty(java.lang.String key,
java.lang.String value)
- The preferred setter for extension properties.
- Parameters:
key
- value,
- if null the property will be removed
setProperties
public void setProperties(java.util.LinkedHashMap<java.lang.String,java.lang.String> properties)
getAnnotation
public java.lang.String getAnnotation()
setAnnotation
public void setAnnotation(java.lang.String 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()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2011. All Rights Reserved.