org.teiid.connector.language
Interface IGroup

All Superinterfaces:
IFromItem, ILanguageObject, IMetadataReference<Group>
All Known Subinterfaces:
IInlineView

public interface IGroup
extends IMetadataReference<Group>, IFromItem, ILanguageObject

Represents a group in the language objects. An example of a group would be a table reference in the FROM clause. An IGroup may have a context name used in references to this group.


Method Summary
 java.lang.String getContext()
          Get the aliased name this group uses for references in the command.
 java.lang.String getDefinition()
          Get the name of the group as defined in the VDB.
 void setContext(java.lang.String context)
          Set the aliased name this group uses for references in the command.
 void setDefinition(java.lang.String definition)
          Set the name of the group as defined in the VDB.
 
Methods inherited from interface org.teiid.connector.language.IMetadataReference
getMetadataObject
 
Methods inherited from interface org.teiid.connector.language.ILanguageObject
acceptVisitor
 

Method Detail

getDefinition

java.lang.String getDefinition()
Get the name of the group as defined in the VDB. This is null if the context is the same as the definition.

Returns:
Actual group name

getContext

java.lang.String getContext()
Get the aliased name this group uses for references in the command.

Returns:
Context name

setDefinition

void setDefinition(java.lang.String definition)
Set the name of the group as defined in the VDB. This is null if the context is the same as the definition.

Parameters:
definition - The definition

setContext

void setContext(java.lang.String context)
Set the aliased name this group uses for references in the command.

Parameters:
context - Context name


Copyright © 2009. All Rights Reserved.