com.semarchy.mdm.runtime.semql.column
Class SQLAttrColumnProvider

java.lang.Object
  extended by com.semarchy.platform.language.semql.attributes.AbstractSemQLAttrProvider
      extended by com.semarchy.mdm.runtime.semql.column.SQLAttrColumnProvider
All Implemented Interfaces:
com.semarchy.platform.language.semql.attributes.ISemQLAttrProvider

public class SQLAttrColumnProvider
extends com.semarchy.platform.language.semql.attributes.AbstractSemQLAttrProvider


Constructor Summary
SQLAttrColumnProvider()
           
 
Method Summary
 SemQLAttrColumn addSemQLAttrColumn(SemQLAttrColumn pParent, String pName, String pColumnName, IAttribute pAttribute)
          Adds a SemQL attribute column to this attribute provider
 List<com.semarchy.platform.language.semql.attributes.ISemQLAttr> getChildren(com.semarchy.platform.language.semql.attributes.ISemQLAttr pAttr)
           
 SemQLAttrColumn getSemQLAttrColumn(String pQualifiedName)
           
 List<SemQLAttrColumn> getSemQLAttrColumns()
           
 
Methods inherited from class com.semarchy.platform.language.semql.attributes.AbstractSemQLAttrProvider
createNestedAttrProvider, doCreateNestedAttrProvider, filterChildrenForType, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLAttrColumnProvider

public SQLAttrColumnProvider()
Method Detail

addSemQLAttrColumn

public SemQLAttrColumn addSemQLAttrColumn(SemQLAttrColumn pParent,
                                          String pName,
                                          String pColumnName,
                                          IAttribute pAttribute)
Adds a SemQL attribute column to this attribute provider

Parameters:
pParent - parent SemQLattribute column or null if top level
pName - name of semql attribute
pColumnName - physical name of column
pAttribute - attribute to which this is linked (eventually)
pCanBeTerminal - whether semql attribute can be used as a terminal
Returns:
newly created SemQL attribute

getChildren

public List<com.semarchy.platform.language.semql.attributes.ISemQLAttr> getChildren(com.semarchy.platform.language.semql.attributes.ISemQLAttr pAttr)

getSemQLAttrColumn

public SemQLAttrColumn getSemQLAttrColumn(String pQualifiedName)
Parameters:
pQualifiedName -
Returns:
a semql attribute column given its full name if managed by this attribute provider

getSemQLAttrColumns

public List<SemQLAttrColumn> getSemQLAttrColumns()
Returns:
all semql attribute managed by this attribute provider


Copyright © 2015. All Rights Reserved.