com.bigllc.retsiq.metadata
Class MetadataColumnGroup

java.lang.Object
  extended by com.bigllc.retsiq.metadata.MetadataTableMap
      extended by com.bigllc.retsiq.metadata.MetadataColumnGroup

public class MetadataColumnGroup
extends MetadataTableMap


Nested Class Summary
 class MetadataColumnGroup.Row
           
 
Field Summary
static java.lang.String COLUMN_GROUP_NAME
           
static java.lang.String CONTROL_SYSTEM_NAME
           
static java.lang.String DATE
           
static java.lang.String DESCRIPTION
           
static java.lang.String LONG_NAME
           
static java.lang.String METADATA_ENTRY_ID
           
static java.lang.String SHORT_NAME
           
static java.lang.String VERSION
           
 
Fields inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
map, nameKey, parent
 
Constructor Summary
MetadataColumnGroup(java.util.Map<java.lang.String,java.lang.String> map)
           
MetadataColumnGroup(java.util.Map<java.lang.String,java.lang.String> map, java.util.List<MetadataColumnGroupControl> controls, java.util.List<MetadataColumnGroupTable> table, java.util.List<MetadataColumnGroupNormalization> normalization)
           
 
Method Summary
 void addChild(MetadataTableMap child)
           
 void addControl(MetadataColumnGroupControl control)
           
 void addField(MetadataColumnGroupTable field)
           
 void buildMatrix()
           
 java.lang.String getAttributeName()
           
 MetadataTableMap getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String name)
           
 java.util.List<? extends MetadataTableMap> getChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 java.util.Map<java.lang.String,? extends MetadataTableMap> getChildrenLookup(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
           
 int getColumnCount()
           
 java.lang.String getColumnGroupName()
           
 java.util.List<java.lang.String> getColumns()
           
 MetadataTable getControlField()
           
 java.util.List<MetadataColumnGroupControl> getControls()
           
 java.lang.String getControlSystemName()
           
 java.lang.String getDate()
           
 java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 java.lang.String getDescription()
           
 MetadataColumnGroupTable getField(java.lang.String systemName)
           
 java.util.Map<java.lang.String,MetadataColumnGroupTable> getFieldMap()
           
 java.util.List<MetadataColumnGroupTable> getFields()
           
 java.lang.String getLongName()
           
 java.lang.String getMetadataEntryId()
           
 com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
           
 java.util.List<MetadataColumnGroupNormalization> getNormalizations()
           
 int getRowCount()
           
 java.util.List<MetadataColumnGroup.Row> getRows()
           
 java.lang.String getShortName()
           
 java.lang.String getVersion()
           
 java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 boolean hasControl(java.lang.String lowValue, java.lang.String highValue)
           
 void setChildrenList(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.util.List<? extends MetadataTableMap> children)
          This method should be implemented to set the underlying list to the one passed.
 void setParent(MetadataTableMap parent)
           
 void sortFields()
           
 
Methods inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
get, getFullPathName, getKeys, getMap, getName, getNameKey, getParent, getRoot, getSystem, removeChild, setChildren, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

METADATA_ENTRY_ID

public static final java.lang.String METADATA_ENTRY_ID
See Also:
Constant Field Values

COLUMN_GROUP_NAME

public static final java.lang.String COLUMN_GROUP_NAME
See Also:
Constant Field Values

CONTROL_SYSTEM_NAME

public static final java.lang.String CONTROL_SYSTEM_NAME
See Also:
Constant Field Values

LONG_NAME

public static final java.lang.String LONG_NAME
See Also:
Constant Field Values

SHORT_NAME

public static final java.lang.String SHORT_NAME
See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values
Constructor Detail

MetadataColumnGroup

public MetadataColumnGroup(java.util.Map<java.lang.String,java.lang.String> map)

MetadataColumnGroup

public MetadataColumnGroup(java.util.Map<java.lang.String,java.lang.String> map,
                           java.util.List<MetadataColumnGroupControl> controls,
                           java.util.List<MetadataColumnGroupTable> table,
                           java.util.List<MetadataColumnGroupNormalization> normalization)
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumns

public java.util.List<java.lang.String> getColumns()

getRows

public java.util.List<MetadataColumnGroup.Row> getRows()

buildMatrix

public void buildMatrix()

setParent

public void setParent(MetadataTableMap parent)
Overrides:
setParent in class MetadataTableMap

getMetadataEntryId

public java.lang.String getMetadataEntryId()

getDescription

public java.lang.String getDescription()

getColumnGroupName

public java.lang.String getColumnGroupName()

getControlSystemName

public java.lang.String getControlSystemName()

getControlField

public MetadataTable getControlField()

getVersion

public java.lang.String getVersion()

getDate

public java.lang.String getDate()

getLongName

public java.lang.String getLongName()

getShortName

public java.lang.String getShortName()

getControls

public java.util.List<MetadataColumnGroupControl> getControls()

addControl

public void addControl(MetadataColumnGroupControl control)

hasControl

public boolean hasControl(java.lang.String lowValue,
                          java.lang.String highValue)

getNormalizations

public java.util.List<MetadataColumnGroupNormalization> getNormalizations()

getFields

public java.util.List<MetadataColumnGroupTable> getFields()

getFieldMap

public java.util.Map<java.lang.String,MetadataColumnGroupTable> getFieldMap()

getField

public MetadataColumnGroupTable getField(java.lang.String systemName)

addField

public void addField(MetadataColumnGroupTable field)

sortFields

public void sortFields()

getMetadataType

public com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
Specified by:
getMetadataType in class MetadataTableMap

getAttributeName

public java.lang.String getAttributeName()
Specified by:
getAttributeName in class MetadataTableMap

getDate

public java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getDate in class MetadataTableMap

getVersion

public java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getVersion in class MetadataTableMap

getChildren

public java.util.List<? extends MetadataTableMap> getChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getChildren in class MetadataTableMap

setChildrenList

public void setChildrenList(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
                            java.util.List<? extends MetadataTableMap> children)
Description copied from class: MetadataTableMap
This method should be implemented to set the underlying list to the one passed. It is called from setChildren. Lookups are and setParent are handled by setChildren.

Specified by:
setChildrenList in class MetadataTableMap
Parameters:
type - the metadata type of the list
children - the list containing the children nodes.

getChildrenLookup

public java.util.Map<java.lang.String,? extends MetadataTableMap> getChildrenLookup(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getChildrenLookup in class MetadataTableMap

addChild

public void addChild(MetadataTableMap child)
Overrides:
addChild in class MetadataTableMap

getChild

public MetadataTableMap getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
                                 java.lang.String name)
Overrides:
getChild in class MetadataTableMap

getChildTypes

public com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
Overrides:
getChildTypes in class MetadataTableMap