com.bigllc.retsiq.metadata
Class MetadataLookup
java.lang.Object
com.bigllc.retsiq.metadata.MetadataTableMap
com.bigllc.retsiq.metadata.MetadataLookup
public class MetadataLookup
- extends MetadataTableMap
| Methods inherited from class com.bigllc.retsiq.metadata.MetadataTableMap |
addChild, get, 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 |
METADATA_ENTRY_ID
public static final java.lang.String METADATA_ENTRY_ID
- See Also:
- Constant Field Values
LOOKUP_NAME
public static final java.lang.String LOOKUP_NAME
- See Also:
- Constant Field Values
VISIBLE_NAME
public static final java.lang.String VISIBLE_NAME
- See Also:
- Constant Field Values
LOOKUP_VERSION
public static final java.lang.String LOOKUP_VERSION
- See Also:
- Constant Field Values
LOOKUP_DATE
public static final java.lang.String LOOKUP_DATE
- 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
MetadataLookup
public MetadataLookup(java.util.Map<java.lang.String,java.lang.String> map)
MetadataLookup
public MetadataLookup(java.util.Map<java.lang.String,java.lang.String> map,
java.util.List<MetadataLookupType> types)
containsType
public boolean containsType(java.lang.String value)
getType
public MetadataLookupType getType(java.lang.String value)
getTypes
public java.util.List<MetadataLookupType> getTypes()
getTypesSize
public int getTypesSize()
getTypeMap
public java.util.Map<java.lang.String,MetadataLookupType> getTypeMap()
getMetadataEntryId
public java.lang.String getMetadataEntryId()
- A value that never changes as long as the semantic
definition of this field remains unchanged.
Since RETS/1.7
getLookupName
public java.lang.String getLookupName()
getVisibleName
public java.lang.String getVisibleName()
getVersion
public java.lang.String getVersion()
getDate
public java.lang.String getDate()
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 listchildren - 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
getChild
public MetadataTableMap getChild(com.bigllc.retsiq.api.RETSConstants.MetadataType type,
java.lang.String name)
- Overrides:
getChild in class MetadataTableMap
registerField
public void registerField(MetadataTable field)
unregisterField
public void unregisterField(MetadataTable field)
getLinkedField
public java.util.Set<MetadataTable> getLinkedField()
getChildTypes
public com.bigllc.retsiq.api.RETSConstants.MetadataType[] getChildTypes()
- Overrides:
getChildTypes in class MetadataTableMap