public final class SegmentMap extends java.lang.Object implements ISegmentMap
| Constructor and Description |
|---|
SegmentMap()
Instantiates SegmentMap
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeItem(IAttributeItem objAttributeItem)
Adds AttributeItem to ISegmentMap at current available index.
|
void |
addAttributeItem(IAttributeItem objAttributeItem,
int index,
EnumMapModifyMode enumModifyMode)
Adds AttributeItem to ISegmentMap at given index position according to the modification mode.
|
ISegmentMap |
clone()
Retrieves a clone of ISegmentMap.
|
IAttributeItem |
getAttributeItem(int index)
Retrieves IAttributeItem for defined index.
|
java.lang.String |
getDataTypeName(int iItemID)
Retrieves the Data Type name of an Item specified by HL7 Standard for the specified Item.
|
java.lang.String |
getFieldName(int iItemID)
Retrieves the Field name of an Item specified by HL7 Standard for the specified Item.
|
java.lang.String |
getItemConformanceLength(int iItemID)
Retrieves the Conformance Length of an Item specified by HL7 Standard for the specified Item.
|
ISingleCollection<java.lang.Integer> |
getItemIDList()
Retrieves the list of Item ID of all AttributeItems which are member of ISEgmentMap.
|
int |
getItemMaximumLength(int iItemID)
Retrieves the Maximum Length of an Item specified by HL7 Standard for the specified Item.
|
int |
getItemMinimumLength(int iItemID)
Retrieves the Minimum Length of an Item specified by HL7 Standard for the specified Item.
|
boolean |
getLock()
Retrieves current status of lock for ISegmentMap.
|
int |
getOccurrence(int iItemID)
Retrieves Occurrence for attribute defined by HL7 standard in segment.
|
int[] |
getValueTable(int iItemID)
Retrieves the Table value specified by HL7 Standard for the specified Item ID.
|
boolean |
isOptional(int iItemID)
Retrieves the status indicating whether the specified Item ID is optional or not.
|
boolean |
isRepeatable(int iItemID)
Retrieves the status indicating whether the specified Item ID is repeatable or not.
|
void |
setLock(boolean bLock)
Sets lock on ISegmentMap.
|
int |
size()
Retrieves size of ISegmentMap
|
public void setLock(boolean bLock)
setLock in interface ISegmentMapbLock - value of lockpublic boolean getLock()
getLock in interface ISegmentMappublic IAttributeItem getAttributeItem(int index)
getAttributeItem in interface ISegmentMapindex - sequence value for attribute.public void addAttributeItem(IAttributeItem objAttributeItem)
addAttributeItem in interface ISegmentMapobjAttributeItem - instance of Attribute Itempublic void addAttributeItem(IAttributeItem objAttributeItem, int index, EnumMapModifyMode enumModifyMode)
addAttributeItem in interface ISegmentMapobjAttributeItem - instance of Attribute Itemindex - sequence positionenumModifyMode - enumerated value of modification modepublic int size()
ISegmentMapsize in interface ISegmentMappublic ISingleCollection<java.lang.Integer> getItemIDList()
getItemIDList in interface ISegmentMappublic int[] getValueTable(int iItemID)
getValueTable in interface ISegmentMapiItemID - Integer value of Item IDpublic int getItemMinimumLength(int iItemID)
getItemMinimumLength in interface ISegmentMapiItemID - Integer value of Item IDpublic int getItemMaximumLength(int iItemID)
getItemMaximumLength in interface ISegmentMapiItemID - Integer value of Item IDpublic java.lang.String getItemConformanceLength(int iItemID)
getItemConformanceLength in interface ISegmentMapiItemID - Integer value of Item IDpublic java.lang.String getDataTypeName(int iItemID)
getDataTypeName in interface ISegmentMapiItemID - Integer value of Item IDpublic boolean isRepeatable(int iItemID)
isRepeatable in interface ISegmentMapiItemID - Integer value of Item IDpublic int getOccurrence(int iItemID)
getOccurrence in interface ISegmentMapiItemID - Integer value of Item IDpublic boolean isOptional(int iItemID)
isOptional in interface ISegmentMapiItemID - Integer value of Item IDpublic java.lang.String getFieldName(int iItemID)
getFieldName in interface ISegmentMapiItemID - Integer value of Item IDpublic ISegmentMap clone()
clone in interface ISegmentMapclone in class java.lang.Object