|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEntityRow
Method Summary | |
---|---|
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); |
Methods inherited from interface com.semarchy.mdm.runtime.data.IDataRow |
---|
contains, getSelectExpressions, getValue, getView, valueMap |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |