com.bigllc.retsiq.metadata.newmodel
Class AbstractMetadataNode

java.lang.Object
  extended by com.bigllc.retsiq.metadata.newmodel.AbstractMetadataNode
All Implemented Interfaces:
MetadataEditableNode, MetadataNode
Direct Known Subclasses:
AbstractMetadataEditableNode

public abstract class AbstractMetadataNode
extends java.lang.Object
implements MetadataNode, MetadataEditableNode


Field Summary
protected  java.util.Map<com.bigllc.retsiq.api.RETSConstants.MetadataType,java.util.List<MetadataNode>> children
           
protected  java.util.Map<com.bigllc.retsiq.api.RETSConstants.MetadataType,java.util.Map<java.lang.String,MetadataNode>> childrenLookup
           
protected  java.util.Map<java.lang.String,java.lang.String> map
           
protected  java.lang.String nameKey
           
protected  MetadataNode parent
           
 
Constructor Summary
AbstractMetadataNode()
           
 
Method Summary
abstract  java.lang.String getAttributeName()
           
 MetadataNode getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type, java.lang.String name)
           
 java.util.List<MetadataNode> getChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
           
abstract  java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
abstract  com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
           
 java.lang.String getName()
           
 java.lang.String getNameKey()
           
 MetadataNode getParent()
           
 MetadataNode getRoot()
           
 java.lang.String getValue(java.lang.String column)
           
 java.util.List<java.lang.String> getValueKeys()
           
abstract  java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bigllc.retsiq.metadata.newmodel.MetadataEditableNode
addChild, removeChild, setParent, setValue
 

Field Detail

parent

protected MetadataNode parent

nameKey

protected java.lang.String nameKey

map

protected java.util.Map<java.lang.String,java.lang.String> map

children

protected java.util.Map<com.bigllc.retsiq.api.RETSConstants.MetadataType,java.util.List<MetadataNode>> children

childrenLookup

protected java.util.Map<com.bigllc.retsiq.api.RETSConstants.MetadataType,java.util.Map<java.lang.String,MetadataNode>> childrenLookup
Constructor Detail

AbstractMetadataNode

public AbstractMetadataNode()
Method Detail

getAttributeName

public abstract java.lang.String getAttributeName()
Specified by:
getAttributeName in interface MetadataNode

getChild

public MetadataNode getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
                             java.lang.String name)
Specified by:
getChild in interface MetadataNode

getChildTypes

public com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
Specified by:
getChildTypes in interface MetadataNode

getChildren

public java.util.List<MetadataNode> getChildren(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getChildren in interface MetadataNode

getDate

public abstract java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getDate in interface MetadataNode

getMetadataType

public abstract com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
Specified by:
getMetadataType in interface MetadataNode

getName

public java.lang.String getName()
Specified by:
getName in interface MetadataNode

getNameKey

public java.lang.String getNameKey()
Specified by:
getNameKey in interface MetadataNode

getParent

public MetadataNode getParent()
Specified by:
getParent in interface MetadataNode

getRoot

public MetadataNode getRoot()
Specified by:
getRoot in interface MetadataNode

getValue

public java.lang.String getValue(java.lang.String column)
Specified by:
getValue in interface MetadataNode

getValueKeys

public java.util.List<java.lang.String> getValueKeys()
Specified by:
getValueKeys in interface MetadataNode

getVersion

public abstract java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
Specified by:
getVersion in interface MetadataNode