Modifier and Type | Method and Description |
---|---|
IEntity |
getEntity()
The actual IEntity represented by this row
|
Object |
getValue(IViewAttribute<? extends IAttribute> pViewAttribute)
Get the value for a given
IViewAttribute |
boolean |
isNew()
Returns true if the row as been created and not yet persisted to MDM.
|
void |
setReference(IManyToOneNode pNavNode,
IEntityRow pRow) |
void |
setReference(String pManyToOneNodeName,
IEntityRow pRow)
Set the IEntityRow referenced through a
IManyToOneNode . |
void |
setValue(IViewAttribute<? extends IAttribute> pViewAttribute,
Object pValue)
Change the value of the attribute.
|
void |
setValue(String pAttributeName,
Object pValue)
Shortcut to: row.setValue(row.getView().getAttribute(pAttributeName),
value);
|
IEntity getEntity()
void setValue(IViewAttribute<? extends IAttribute> pViewAttribute, Object pValue)
pViewAttribute
- The attribute to modify
IViewAttribute.isWritable(boolean)
has to be true for
this rowpValue
- void setValue(String pAttributeName, Object pValue)
pAttributeName
- pValue
- void setReference(IManyToOneNode pNavNode, IEntityRow pRow)
pNavNode
- pRow
- void setReference(String pManyToOneNodeName, IEntityRow pRow)
IManyToOneNode
.pManyToOneNodeName
- the name of the many to one node name (this is also the name of the IForeignAttribute)pRow
- Object getValue(IViewAttribute<? extends IAttribute> pViewAttribute)
IViewAttribute
pViewAttribute
- boolean isNew()
Copyright © 2019. All rights reserved.