org.eobjects.metamodel.schema
Class AbstractColumn
java.lang.Object
org.eobjects.metamodel.schema.AbstractColumn
- All Implemented Interfaces:
- Serializable, Comparable<Column>, Column, NamedStructure, HasName
- Direct Known Subclasses:
- ImmutableColumn, MutableColumn
public abstract class AbstractColumn
- extends Object
- implements Column
Abstract Column implementation. Implements most common and trivial
methods.
- Author:
- Kasper Sørensen
- See Also:
- Serialized Form
AbstractColumn
public AbstractColumn()
getQuotedName
public final String getQuotedName()
- Description copied from interface:
NamedStructure
- Gets the name, including optional quotes, of this structure.
- Specified by:
getQuotedName in interface NamedStructure
- Returns:
- The name of the structure with added quote strings.
getQualifiedLabel
public final String getQualifiedLabel()
- Description copied from interface:
NamedStructure
- Gets a qualified label for later lookup. Typically this qualified label
is formatted with a simple dot separator. For example, for a column a
typical qualified label would be: "MY_SCHEMA.MY_TABLE.MY_COLUMN".
The qualified label can be used as a unique identifier for the structure
but is not necessarily directly transferable to SQL syntax.
- Specified by:
getQualifiedLabel in interface NamedStructure
- Returns:
- a qualified label
compareTo
public final int compareTo(Column that)
- Specified by:
compareTo in interface Comparable<Column>
toString
public final String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2007-2013. All Rights Reserved.