public class Shelf extends EntityBase implements Entity
| Constructor and Description |
|---|
Shelf(java.util.Map<java.lang.String,java.lang.Integer> shelfProps)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(java.lang.String strDeviceId,
java.lang.String[] record)
Creates a new Entity instance
|
java.lang.String |
getDeviceId()
Returns the Device Identifier containing this Entity
|
java.util.Map<java.lang.String,java.lang.Object> |
getEntityData()
Returns a Map of Entity data
|
java.lang.String |
getName()
Returns the Entity name
|
protected java.lang.String |
getObjectId(java.lang.String[] record)
Return the Object Identifier from the Shelf record
|
protected java.lang.String |
getParentRelPos(java.lang.String strEntity)
Returns the Shelf parent relative position
|
java.lang.String |
getType()
Returns the Entity type
|
void |
setDeviceId(java.lang.String strDeviceId)
Sets the Device Identifier
|
getExtraInfo, getId, getParentpublic Shelf(java.util.Map<java.lang.String,java.lang.Integer> shelfProps)
public void create(java.lang.String strDeviceId,
java.lang.String[] record)
throws Nokia5529IdmCsvProcessorException
Entitycreate in interface EntitystrDeviceId - Device Identifierrecord - A line of record from the CSV fileNokia5529IdmCsvProcessorExceptionpublic java.util.Map<java.lang.String,java.lang.Object> getEntityData()
EntitygetEntityData in interface Entitypublic java.lang.String getName()
Entitypublic java.lang.String getType()
Entitypublic java.lang.String getDeviceId()
EntitygetDeviceId in interface Entitypublic void setDeviceId(java.lang.String strDeviceId)
strDeviceId - Device Identifierprotected java.lang.String getObjectId(java.lang.String[] record)
throws Nokia5529IdmCsvProcessorException
getObjectId in class EntityBaserecord - Shelf recordNokia5529IdmCsvProcessorExceptionprotected java.lang.String getParentRelPos(java.lang.String strEntity)
throws Nokia5529IdmCsvProcessorException
getParentRelPos in class EntityBasestrEntity - Entity nameNokia5529IdmCsvProcessorException