com.bigllc.retsiq.metadata
Class MetadataForeignKey

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

public class MetadataForeignKey
extends MetadataTableMap


Field Summary
static java.lang.String CHILD_CLASS_ID
           
static java.lang.String CHILD_RESOURCE_ID
           
static java.lang.String CHILD_SYSTEM_NAME
           
static java.lang.String COND_PARENT_FIELD
           
static java.lang.String COND_PARENT_VALUE
           
static java.lang.String ID
           
static java.lang.String PARENT_CLASS_ID
           
static java.lang.String PARENT_RESOURCE_ID
           
static java.lang.String PARENT_SYSTEM_NAME
           
 
Fields inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
map, nameKey, parent
 
Constructor Summary
MetadataForeignKey(java.util.Map<java.lang.String,java.lang.String> map)
           
 
Method Summary
 java.lang.String getAttributeName()
           
 java.lang.String getChildClassID()
           
 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)
           
 java.lang.String getChildResourceID()
           
 java.lang.String getChildSystemName()
           
 java.lang.String getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 java.lang.String getId()
           
 com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
           
 java.lang.String getParentClassID()
           
 java.lang.String getParentResourceID()
           
 java.lang.String getParentSystemName()
           
 java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 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.
 
Methods inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
addChild, get, getChild, getChildTypes, getFullPathName, getKeys, getMap, getName, getNameKey, getParent, getRoot, getSystem, removeChild, setChildren, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

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

PARENT_RESOURCE_ID

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

PARENT_CLASS_ID

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

PARENT_SYSTEM_NAME

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

CHILD_RESOURCE_ID

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

CHILD_CLASS_ID

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

CHILD_SYSTEM_NAME

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

COND_PARENT_FIELD

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

COND_PARENT_VALUE

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

MetadataForeignKey

public MetadataForeignKey(java.util.Map<java.lang.String,java.lang.String> map)
Method Detail

getId

public java.lang.String getId()

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

getChildResourceID

public java.lang.String getChildResourceID()

getChildClassID

public java.lang.String getChildClassID()

getChildSystemName

public java.lang.String getChildSystemName()

getParentResourceID

public java.lang.String getParentResourceID()

getParentClassID

public java.lang.String getParentClassID()

getParentSystemName

public java.lang.String getParentSystemName()

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