|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.metadata.runtime.model.BasicMetadataObject
com.metamatrix.metadata.runtime.model.BasicGroup
public class BasicGroup
| Constructor Summary | |
|---|---|
BasicGroup(BasicGroupID groupID,
BasicVirtualDatabaseID virtualDBID)
Call constructor to instantiate a runtime object by passing the RuntimeID that identifies the entity and the VIrtualDatabaseID that identifes the Virtual Database the object will be contained. |
|
| Method Summary | |
|---|---|
void |
addElementID(ElementID elementID)
|
void |
addElementID(int position,
ElementID elementID)
|
void |
addKeyID(KeyID keyID)
|
void |
clearElementIDs()
|
void |
clearKeyIDs()
|
boolean |
containsElementID(ElementID elementID)
|
boolean |
containsKeyID(KeyID keyID)
|
java.lang.String |
getAlias()
Return the alias. |
java.lang.String |
getDeleteQueryPlan()
Returns the deleteQueryPlan. |
java.lang.String |
getDescription()
Return the group description. |
java.util.List |
getElementIDs()
Returns an ordered list of ElementID's for this group. |
java.lang.String |
getInsertQueryPlan()
Returns the insertQueryPlan. |
java.util.Collection |
getKeyIDs()
Returns the KeyID's identified for this group. |
java.lang.String |
getMappingDocument()
Return the mapping document if this group represents a virtual document. |
java.lang.String |
getPath()
Return the path to the group. |
java.lang.String |
getQueryPlan()
Return the query plan for the group if it is a virtual group. |
short |
getTableType()
|
java.lang.String |
getUpdateQueryPlan()
Returns the updateQueryPlan. |
java.util.Collection |
getXMLSchemas()
If this group represents a virtual document, return a Collection of string representations of XML Schemas that are referenced by it. |
boolean |
hasDeleteQueryPlan()
|
boolean |
hasInsertQueryPlan()
|
boolean |
hasQueryPlan()
|
boolean |
hasUpdateQueryPlan()
|
boolean |
isDeleteAllowed()
Returns the deleteAllowed. |
boolean |
isInsertAllowed()
Returns the insertAllowed. |
boolean |
isPhysical()
Return boolean indicating if this a physical model. |
boolean |
isSystemTable()
|
boolean |
isUpdateAllowed()
Returns the updateAllowed. |
boolean |
isVirtualDocument()
Whether this group represents a virtual document. |
void |
removeElementID(ElementID elementID)
|
void |
removeKeyID(KeyID keyID)
|
void |
setAlias(java.lang.String alias)
|
void |
setDeleteAllowed(boolean deleteAllowed)
Sets the deleteAllowed. |
void |
setDeleteQueryPlan(java.lang.String deleteQueryPlan)
Sets the deleteQueryPlan. |
void |
setDescription(java.lang.String description)
|
void |
setElementIDs(java.util.List elements)
|
void |
setHasDeleteQueryPlan(boolean hasDeleteQueryPlan)
Sets the hasDeleteQueryPlan. |
void |
setHasInsertQueryPlan(boolean hasInsertQueryPlan)
Sets the hasInsertQueryPlan. |
void |
setHasQueryPlan(boolean hasQueryPlan)
|
void |
setHasUpdateQueryPlan(boolean hasUpdateQueryPlan)
Sets the hasUpdateQueryPlan. |
void |
setInsertAllowed(boolean insertAllowed)
Sets the insertAllowed. |
void |
setInsertQueryPlan(java.lang.String insertQueryPlan)
Sets the insertQueryPlan. |
void |
setIsPhysical(boolean isPhysical)
|
void |
setIsSystem(boolean isSystem)
|
void |
setKeyIDs(java.util.Collection keys)
|
void |
setMappingDocument(java.lang.String document)
|
void |
setPath(java.lang.String path)
|
void |
setQueryPlan(java.lang.String plan)
|
void |
setSupportsUpdate(boolean sup_UPDATE)
|
void |
setTableType(short type)
|
void |
setUpdateAllowed(boolean updateAllowed)
Sets the updateAllowed. |
void |
setUpdateQueryPlan(java.lang.String updateQueryPlan)
Sets the updateQueryPlan. |
void |
setXMLSchemas(java.util.Collection xmlSchemas)
|
boolean |
supportsUpdate()
Return boolean indicating if the model supports UPDATE operations in the sql. |
java.lang.String |
toString()
Returns a string representing the current state of the object. |
| Methods inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataObject |
|---|
addProperty, clone, compareTo, equals, getCurrentProperties, getFullName, getID, getName, getNameInSource, getProperties, getVirtualDatabaseID, hashCode, hasNameInSource, setID, setProperties |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.metadata.runtime.api.Group |
|---|
getNameInSource, hasNameInSource |
| Methods inherited from interface com.metamatrix.metadata.runtime.api.MetadataObject |
|---|
clone, compareTo, equals, getFullName, getID, getName, getProperties, getVirtualDatabaseID |
| Constructor Detail |
|---|
public BasicGroup(BasicGroupID groupID,
BasicVirtualDatabaseID virtualDBID)
| Method Detail |
|---|
public java.lang.String getPath()
Group
getPath in interface GroupgetPath in class BasicMetadataObjectpublic java.lang.String getDescription()
Group
getDescription in interface Grouppublic java.lang.String getAlias()
Group
getAlias in interface GroupgetAlias in class BasicMetadataObjectpublic void setAlias(java.lang.String alias)
public boolean isPhysical()
Group
isPhysical in interface Grouppublic short getTableType()
getTableType in interface GroupMetadataConstants.TABLE_TYPESpublic java.util.Collection getKeyIDs()
Group
getKeyIDs in interface Grouppublic java.util.List getElementIDs()
Group
getElementIDs in interface Grouppublic boolean isSystemTable()
isSystemTable in interface Grouppublic boolean hasQueryPlan()
public java.lang.String getQueryPlan()
Group
getQueryPlan in interface Grouppublic java.lang.String getMappingDocument()
Group
getMappingDocument in interface Grouppublic boolean supportsUpdate()
Group
supportsUpdate in interface Grouppublic boolean isVirtualDocument()
Group
isVirtualDocument in interface Grouppublic java.util.Collection getXMLSchemas()
Group
getXMLSchemas in interface Grouppublic void setPath(java.lang.String path)
public void setDescription(java.lang.String description)
public void setIsPhysical(boolean isPhysical)
public void setIsSystem(boolean isSystem)
public void setQueryPlan(java.lang.String plan)
public void setTableType(short type)
public void setKeyIDs(java.util.Collection keys)
public void clearKeyIDs()
public void setElementIDs(java.util.List elements)
public void clearElementIDs()
public void addKeyID(KeyID keyID)
public boolean containsKeyID(KeyID keyID)
public void removeKeyID(KeyID keyID)
public void addElementID(ElementID elementID)
public void addElementID(int position,
ElementID elementID)
public boolean containsElementID(ElementID elementID)
public void removeElementID(ElementID elementID)
public void setHasQueryPlan(boolean hasQueryPlan)
public void setMappingDocument(java.lang.String document)
public void setSupportsUpdate(boolean sup_UPDATE)
public void setXMLSchemas(java.util.Collection xmlSchemas)
public java.lang.String getDeleteQueryPlan()
getDeleteQueryPlan in interface Grouppublic java.lang.String getInsertQueryPlan()
getInsertQueryPlan in interface Grouppublic java.lang.String getUpdateQueryPlan()
getUpdateQueryPlan in interface Grouppublic void setDeleteQueryPlan(java.lang.String deleteQueryPlan)
deleteQueryPlan - The deleteQueryPlan to setpublic void setInsertQueryPlan(java.lang.String insertQueryPlan)
insertQueryPlan - The insertQueryPlan to setpublic void setUpdateQueryPlan(java.lang.String updateQueryPlan)
updateQueryPlan - The updateQueryPlan to setpublic void setHasDeleteQueryPlan(boolean hasDeleteQueryPlan)
hasDeleteQueryPlan - The hasDeleteQueryPlan to setpublic boolean hasDeleteQueryPlan()
public void setHasInsertQueryPlan(boolean hasInsertQueryPlan)
hasInsertQueryPlan - The hasInsertQueryPlan to setpublic boolean hasInsertQueryPlan()
public void setHasUpdateQueryPlan(boolean hasUpdateQueryPlan)
hasUpdateQueryPlan - The hasUpdateQueryPlan to setpublic boolean hasUpdateQueryPlan()
public boolean isDeleteAllowed()
isDeleteAllowed in interface Grouppublic boolean isInsertAllowed()
isInsertAllowed in interface Grouppublic boolean isUpdateAllowed()
isUpdateAllowed in interface Grouppublic void setDeleteAllowed(boolean deleteAllowed)
deleteAllowed - The deleteAllowed to setpublic void setInsertAllowed(boolean insertAllowed)
insertAllowed - The insertAllowed to setpublic void setUpdateAllowed(boolean updateAllowed)
updateAllowed - The updateAllowed to setpublic java.lang.String toString()
BasicMetadataObject
toString in interface MetadataObjecttoString in class BasicMetadataObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||