org.teiid.metadata
Class AbstractMetadataRecord
java.lang.Object
org.teiid.metadata.AbstractMetadataRecord
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BaseColumn, ColumnSet, Datatype, FunctionMethod, Procedure, Schema, TransformationRecordImpl
public abstract class AbstractMetadataRecord
- extends Object
- implements Serializable
AbstractMetadataRecord
- See Also:
- Serialized Form
NAME_DELIM_CHAR
public static final char NAME_DELIM_CHAR
- See Also:
- Constant Field Values
RELATIONAL_URI
public static final String RELATIONAL_URI
- See Also:
- Constant Field Values
AbstractMetadataRecord
public AbstractMetadataRecord()
getUUID
public String getUUID()
setUUID
public void setUUID(String uuid)
getNameInSource
public String getNameInSource()
setNameInSource
public void setNameInSource(String nameInSource)
getFullName
public 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 String getName()
setName
public void setName(String name)
getCanonicalName
public String getCanonicalName()
toString
public String toString()
- Overrides:
toString
in class Object
getProperties
public Map<String,String> getProperties()
- Return the extension properties for this record - may be unmodifiable
if
setProperties(LinkedHashMap)
or setProperty(String, String)
has not been called.
- Returns:
getProperty
public String getProperty(String key,
boolean checkUnqualified)
setProperty
public String setProperty(String key,
String value)
- The preferred setter for extension properties.
- Parameters:
key
- value,
- if null the property will be removed
setProperties
public void setProperties(LinkedHashMap<String,String> properties)
getAnnotation
public String getAnnotation()
setAnnotation
public void setAnnotation(String annotation)
equals
public boolean equals(Object obj)
- Compare two records for equality.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2012. All Rights Reserved.