|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.sql.validate.SqlMonikerImpl
public class SqlMonikerImpl
A generic implementation of SqlMoniker
.
Field Summary | |
---|---|
private String[] |
names
|
private SqlMonikerType |
type
|
Constructor Summary | |
---|---|
SqlMonikerImpl(String[] names,
SqlMonikerType type)
Creates a moniker with an array of names. |
|
SqlMonikerImpl(String name,
SqlMonikerType type)
Creates a moniker with a single name. |
Method Summary | |
---|---|
String[] |
getFullyQualifiedNames()
Returns the array of component names. |
SqlMonikerType |
getType()
Returns the type of object referred to by this moniker. |
String |
id()
|
SqlIdentifier |
toIdentifier()
Creates a SqlIdentifier containing the fully-qualified name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String[] names
private final SqlMonikerType type
Constructor Detail |
---|
public SqlMonikerImpl(String[] names, SqlMonikerType type)
public SqlMonikerImpl(String name, SqlMonikerType type)
Method Detail |
---|
public SqlMonikerType getType()
SqlMoniker
getType
in interface SqlMoniker
public String[] getFullyQualifiedNames()
SqlMoniker
getFullyQualifiedNames
in interface SqlMoniker
public SqlIdentifier toIdentifier()
SqlMoniker
SqlIdentifier
containing the fully-qualified name.
toIdentifier
in interface SqlMoniker
public String toString()
toString
in class Object
public String id()
id
in interface SqlMoniker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |