public class ItemModel
extends java.lang.Object
| Constructor and Description |
|---|
ItemModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSQModel(SQModel objSqModel)
This method adds the sequence model in the item model.
|
void |
addValue(java.lang.String strAttributeName,
java.lang.Object strValue)
This method adds the attribute name and its value in the item model.
|
void |
fill(IItem objIItem)
This method fill the Item from the populated item model.
|
ISingleCollection<SQModel> |
getSQModel()
This method returns the SequenceModel for the Sequence data elements present in the item.
|
IPairedCollection<java.lang.String,java.lang.Object> |
getValue()
This method returns the Name/Value pair i.e.
|
boolean |
isEmpty()
This method determines whether the item model is empty or not.
|
void |
populate(IItem objIItem)
This method populates the ItemModel from the item given.
|
public void addValue(java.lang.String strAttributeName,
java.lang.Object strValue)
strAttributeName - String value of attribute namestrValue - Value of the attributepublic IPairedCollection<java.lang.String,java.lang.Object> getValue()
public ISingleCollection<SQModel> getSQModel()
public void addSQModel(SQModel objSqModel)
objSqModel - public void populate(IItem objIItem)
objIItem - instance of item by which item model needs to be populated.public void fill(IItem objIItem)
objIItem - the instance of item which is to be filled from the item modelpublic boolean isEmpty()