public final class AttributeItem extends java.lang.Object implements IAttributeItem
| Constructor and Description |
|---|
AttributeItem()
Default Constructor for AttributeItem.
|
AttributeItem(java.lang.String strFieldName,
int intItemID,
int intSeq,
int minLen,
int maxLen,
java.lang.String cLen,
java.lang.String strDataType)
Parameterized constructor for Attribute which initializes different fields of an item.
|
AttributeItem(java.lang.String strFieldName,
int intItemID,
int intSeq,
int minLen,
int maxLen,
java.lang.String cLen,
java.lang.String strDataType,
int[] intTableNo,
boolean bRepeatable,
boolean bOptional)
Parameterized constructor for Attribute which initializes different fields of an item.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConformanceLength()
Retrieves Conformance Length for attribute defined by HL7 standard in segment.
|
java.lang.String |
getDataType()
Retrieves Data Type for attribute defined by HL7 standard in segment.
|
java.lang.String |
getFieldName()
Retrieves name of attribute.
|
int |
getItemID()
Retrieves Item ID for attribute defined by HL7 standard.
|
int |
getMaximumLength()
Retrieves Maximum Length for attribute defined by HL7 standard in segment.
|
int |
getMinimumLength()
Retrieves Minimum Length for attribute defined by HL7 standard in segment.
|
int |
getOccurrence()
Retrieves Occurrence for attribute defined by HL7 standard in segment.
|
int |
getSequenceNo()
Retrieves sequence number for attribute defined by HL7 standard in segment.
|
int[] |
getTableNo()
Retrieves Table number for attribute defined by HL7 standard in segment.
|
boolean |
isOptional()
Shows optionality status for attribute defined by HL7 standard in segment.
|
boolean |
isRepeatable()
Shows repeatability status for attribute defined by HL7 standard in segment.
|
void |
setConformanceLength(java.lang.String cLen)
Sets Conformance Length for attribute defined by HL7 standard in segment.
|
void |
setDataType(java.lang.String strDataType)
Sets Datatype for attribute defined by HL7 standard in segment.
|
void |
setFieldName(java.lang.String strName)
Sets name of attribute.
|
void |
setItemID(int intItemID)
Sets Item ID for attribute defined by HL7 standard.
|
void |
setMaximumLength(int maxLen)
Sets Maximum Length for attribute defined by HL7 standard in segment.
|
void |
setMinimumLength(int minLen)
Sets Minimum Length for attribute defined by HL7 standard in segment.
|
void |
setOccurrence(int intOccurrence)
Sets Occurrence for attribute defined by HL7 standard in segment.
|
void |
setOptional(boolean bOptional)
Sets optionality status for attribute defined by HL7 standard in segment.
|
void |
setRepeatable(boolean bRepeatable)
Sets repeatability status for attribute defined by HL7 standard in segment.
|
void |
setSequenceNo(int intSeq)
Sets sequence number for attribute defined by HL7 standard in segment.
|
void |
setTableNo(int[] intTableNo)
Sets Table number for attribute defined by HL7 standard in segment.
|
public AttributeItem()
public AttributeItem(java.lang.String strFieldName,
int intItemID,
int intSeq,
int minLen,
int maxLen,
java.lang.String cLen,
java.lang.String strDataType,
int[] intTableNo,
boolean bRepeatable,
boolean bOptional)
strFieldName - Name of Field nameintItemID - Integer value of an Item IDintSeq - Integer value of Sequence number of an Item IDminLen - Integer value of Minimum Length of an Item IDmaxLen - Integer value of Maximum Length of an Item IDcLen - Integer value of Conformance Length of an Item IDstrDataType - Integer value of Data type of an Item IDintTableNo - Integer value of Table number of an Item IDbRepeatable - Show status of an Item whether repeatable or notbOptional - Show status of an Item whether optional or notpublic AttributeItem(java.lang.String strFieldName,
int intItemID,
int intSeq,
int minLen,
int maxLen,
java.lang.String cLen,
java.lang.String strDataType)
strFieldName - Name of Field nameintItemID - Integer value of an Item IDintSeq - Integer value of Sequence number of an Item IDminLen - Integer value of Minimum Length of an Item IDmaxLen - Integer value of Maximum Length of an Item IDcLen - Integer value of Conformance Length of an Item IDstrDataType - Integer value of Data type of an Item IDpublic java.lang.String getFieldName()
getFieldName in interface IAttributeItempublic void setFieldName(java.lang.String strName)
setFieldName in interface IAttributeItemstrName - name of attributepublic int getItemID()
getItemID in interface IAttributeItempublic void setItemID(int intItemID)
setItemID in interface IAttributeItemintItemID - value of ItemIDpublic int getSequenceNo()
getSequenceNo in interface IAttributeItempublic void setSequenceNo(int intSeq)
setSequenceNo in interface IAttributeItemintSeq - value of sequence indexpublic int getMaximumLength()
getMaximumLength in interface IAttributeItempublic void setMaximumLength(int maxLen)
setMaximumLength in interface IAttributeItemmaxLen - Maximum length valuepublic int getMinimumLength()
getMinimumLength in interface IAttributeItempublic void setMinimumLength(int minLen)
setMinimumLength in interface IAttributeItemminLen - Minimum length valuepublic java.lang.String getConformanceLength()
getConformanceLength in interface IAttributeItempublic void setConformanceLength(java.lang.String cLen)
setConformanceLength in interface IAttributeItemcLen - Conformance length valuepublic java.lang.String getDataType()
getDataType in interface IAttributeItempublic void setDataType(java.lang.String strDataType)
setDataType in interface IAttributeItemstrDataType - name of attributepublic int[] getTableNo()
getTableNo in interface IAttributeItempublic void setTableNo(int[] intTableNo)
setTableNo in interface IAttributeItemintTableNo - array of table numberpublic boolean isRepeatable()
isRepeatable in interface IAttributeItempublic void setRepeatable(boolean bRepeatable)
setRepeatable in interface IAttributeItembRepeatable - status as true or falsepublic int getOccurrence()
getOccurrence in interface IAttributeItempublic void setOccurrence(int intOccurrence)
setOccurrence in interface IAttributeItemintOccurrence - Size of the attributepublic boolean isOptional()
isOptional in interface IAttributeItempublic void setOptional(boolean bOptional)
setOptional in interface IAttributeItembOptional - status as true or false