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
static 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
           
static java.lang.String X_UPDATE_HELP_ID
           
 
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 addNormalization(MetadataColumnGroupNormalization n)
           
 void buildMatrix()
           
 java.lang.String getAttributeName()
           
 MetadataTableMap getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String name)
           
 java.lang.String getChildDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 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()
           
 java.lang.String getChildVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 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 getDescription()
           
 java.util.List<java.lang.String> getDisplayKeys()
           
 MetadataColumnGroupTable getField(java.lang.String metadataEntryId)
           
 MetadataColumnGroupTable getFieldBySystemName(java.lang.String systemName)
           
 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 getUpdateHelp()
           
 java.lang.String getUpdateHelpID()
           
 java.lang.String getVersion()
           
 boolean hasControl(java.lang.String lowValue, java.lang.String highValue)
           
 void removeChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String name)
          Remove the child by type and name.
 void setChildDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String date)
           
 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 setChildVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String version)
           
 void setParent(MetadataTableMap parent)
           
 void sortFields()
           
 
Methods inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
find, get, getDepth, getFullPath, getFullPathName, getKeys, getMap, getName, getNameKey, getParent, getPathStack, getReversePathStack, getRoot, getSystem, hasDuplicateChildren, hasEmptyAttribute, isChildOf, 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

X_UPDATE_HELP_ID

public static final java.lang.String X_UPDATE_HELP_ID
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()

getUpdateHelpID

public java.lang.String getUpdateHelpID()

getUpdateHelp

public java.lang.String getUpdateHelp()

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()

getFieldBySystemName

public MetadataColumnGroupTable getFieldBySystemName(java.lang.String systemName)

getField

public MetadataColumnGroupTable getField(java.lang.String metadataEntryId)

addNormalization

public void addNormalization(MetadataColumnGroupNormalization n)

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

getChildDate

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

getChildVersion

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

setChildDate

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

setChildVersion

public void setChildVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
                            java.lang.String version)
Specified by:
setChildVersion 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

removeChild

public void removeChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
                        java.lang.String name)
Description copied from class: MetadataTableMap
Remove the child by type and name. Note that if there are duplicates by name then all the children with the same name are removed from the list.

Overrides:
removeChild in class MetadataTableMap

getChild

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

getDisplayKeys

public java.util.List<java.lang.String> getDisplayKeys()
Overrides:
getDisplayKeys in class MetadataTableMap

getChildTypes

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