com.bigllc.retsiq.metadata
Class MetadataObject

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

public class MetadataObject
extends MetadataTableMap


Field Summary
static java.lang.String DESCRIPTION
           
static java.lang.String METADATA_ENTRY_ID
           
static java.lang.String MIME_TYPE
           
static java.lang.String OBJECT_COUNT
           
static java.lang.String OBJECT_TIME_STAMP
           
static java.lang.String OBJECT_TYPE
           
static java.lang.String STANDARD_NAME
           
static java.lang.String VISIBLE_NAME
           
 
Fields inherited from class com.bigllc.retsiq.metadata.MetadataTableMap
map, nameKey, parent
 
Constructor Summary
MetadataObject(java.util.Map<java.lang.String,java.lang.String> map)
           
 
Method Summary
 java.lang.String getAttributeName()
           
 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 getDate(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 java.lang.String getDescription()
           
 java.lang.String getMetadataEntryId()
          A value that never changes as long as the semantic definition of this field remains unchanged.
 com.bigllc.retsiq.api.RETSConstants.MetadataType getMetadataType()
           
 java.lang.String getMIMEType()
           
 java.lang.String getObjectCount()
          The SystemName of the field in a METADATATABLE that acts as the count for objects of this type.
 java.lang.String getObjectTimeStamp()
          The SystemName of the field in a METADATATABLE that acts as the timestamp for objects of this type.
 java.lang.String getObjectType()
           
 java.lang.String getVersion(com.bigllc.retsiq.api.RETSConstants.MetadataType type)
           
 java.lang.String getVisibleName()
           
 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

METADATA_ENTRY_ID

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

OBJECT_TYPE

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

STANDARD_NAME

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

MIME_TYPE

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

VISIBLE_NAME

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

DESCRIPTION

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

OBJECT_TIME_STAMP

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

OBJECT_COUNT

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

MetadataObject

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

getMetadataEntryId

public java.lang.String getMetadataEntryId()
A value that never changes as long as the semantic definition of this field remains unchanged. Since 1.7


getObjectType

public java.lang.String getObjectType()

getMIMEType

public java.lang.String getMIMEType()

getDescription

public java.lang.String getDescription()

getVisibleName

public java.lang.String getVisibleName()

getObjectTimeStamp

public java.lang.String getObjectTimeStamp()
The SystemName of the field in a METADATATABLE that acts as the timestamp for objects of this type. This SystemName MUST be one that appears in every class that has objects of this type. Since RETS/1.7


getObjectCount

public java.lang.String getObjectCount()
The SystemName of the field in a METADATATABLE that acts as the count for objects of this type. This SystemName MUST be one that appears in every class that has objects of this type. Since RETS/1.7


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