com.bigllc.retsiq.metadata
Class MetadataTableMap
java.lang.Object
com.bigllc.retsiq.metadata.MetadataTableMap
- Direct Known Subclasses:
- MetadataClass, MetadataColumnGroup, MetadataColumnGroupControl, MetadataColumnGroupNormalization, MetadataColumnGroupSet, MetadataColumnGroupTable, MetadataEditMask, MetadataForeignKey, MetadataLookup, MetadataLookupType, MetadataObject, MetadataResource, MetadataSearchHelp, MetadataSystem, MetadataTable, MetadataUpdateHelp, MetadataUpdateType, MetadataUpdateTypeField, MetadataValidationExpression, MetadataValidationExternal, MetadataValidationExternalType, MetadataValidationLookup, MetadataValidationLookupType
public abstract class MetadataTableMap
- extends java.lang.Object
|
Constructor Summary |
MetadataTableMap(java.lang.String nameKey,
java.util.Map<java.lang.String,java.lang.String> map)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parent
protected MetadataTableMap parent
nameKey
protected java.lang.String nameKey
map
protected java.util.Map<java.lang.String,java.lang.String> map
MetadataTableMap
public MetadataTableMap(java.lang.String nameKey,
java.util.Map<java.lang.String,java.lang.String> map)
getMap
public java.util.Map<java.lang.String,java.lang.String> getMap()
get
public java.lang.String get(java.lang.String column)
getKeys
public java.util.List<java.lang.String> getKeys()
getMetadataType
public abstract com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
getAttributeName
public abstract java.lang.String getAttributeName()
getName
public java.lang.String getName()
getNameKey
public java.lang.String getNameKey()
getParent
public MetadataTableMap getParent()
setParent
public void setParent(MetadataTableMap parent)
getDate
public abstract java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
getVersion
public abstract java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
getRoot
public MetadataTableMap getRoot()
getSystem
public MetadataSystem getSystem()
getChildren
public abstract java.util.List<? extends MetadataTableMap> getChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
setChildrenList
protected abstract 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. It is called from setChildren. Lookups are
and setParent are handled by setChildren.
- Parameters:
type - the metadata type of the listchildren - the list containing the children nodes.
setChildren
public final void setChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.util.List<? extends MetadataTableMap> children)
- Set the children nodes of a specific metadata type for this node.
Lookups and setParent are handled by this method. A call is made
to setChildrenList so that the inheriting class can set the
member variable if it chooses.
- Parameters:
type - the metadata type of the listchildren - the list containing the children nodes.
getChildrenLookup
public abstract java.util.Map<java.lang.String,? extends MetadataTableMap> getChildrenLookup(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
getChild
public MetadataTableMap getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String name)
addChild
public void addChild(MetadataTableMap child)
removeChild
public void removeChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String name)
getChildTypes
public com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
getFullPathName
public java.lang.String getFullPathName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object