de.uplanet.lucy.server.businesslogic.util
Interface IRow


public interface IRow

This Object represents one row within a DataRange.

Version:
$Revision: 77832 $

Method Summary
 void add(java.lang.String p_strName, IValueHolder<?> p_vh)
          Adds an IValueHolder to the row.
 void clear()
          Clears all entries for this row.
 java.util.Map<java.lang.String,IValueHolder<?>> getAttributesVH()
          Deprecated. 
 IValueHolder<?> getAttributeVH(java.lang.String p_strName)
          Returns the value of an attribute with the given name.
 de.uplanet.lucy.server.businesslogic.util.IDataRangeDataService getDataRange()
           
 java.lang.String getParentId()
          Returns the parent id for this row.
 IValueHolder<?> getPropertyVH(java.lang.String p_strNameOrGuid)
           
 java.lang.String getRecId()
          Returns the record id for this row.
 java.lang.String getUserId()
           
 IValueHolder<?> getValueHolder(java.lang.String p_strName)
          Returns the IValueHolder of the row with the given name
 IValueHolder<?> getValueHolderBySysident(java.lang.String p_strSysident)
          Returns the valueholder of an attribute with the given control sysident.
 void setParentId(java.lang.String p_strParentId)
          Sets the parent id for this row.
 void setRecId(java.lang.String p_strRecId)
          Sets the record id for this row.
 void setUserId(java.lang.String p_strUserId)
          Set the user id for this row.
 

Method Detail

add

void add(java.lang.String p_strName,
         IValueHolder<?> p_vh)
         throws de.uplanet.lucy.server.businesslogic.BlException
Adds an IValueHolder to the row.

Parameters:
p_strName - The name of the field.
p_vh - The value holder.
Throws:
de.uplanet.lucy.server.businesslogic.BlException
java.lang.IllegalArgumentException - - If p_strName is null.

clear

void clear()
Clears all entries for this row.


getAttributeVH

IValueHolder<?> getAttributeVH(java.lang.String p_strName)
Returns the value of an attribute with the given name.

Parameters:
p_strName - An attribute's name.
Returns:
The valueholder of this attribute.

getValueHolderBySysident

IValueHolder<?> getValueHolderBySysident(java.lang.String p_strSysident)
Returns the valueholder of an attribute with the given control sysident.

Parameters:
p_strSysident - An attribute's control sysident.
Returns:
The valueholder of this attribute.

getValueHolder

IValueHolder<?> getValueHolder(java.lang.String p_strName)
Returns the IValueHolder of the row with the given name

Parameters:
p_strName -
Returns:
The value holder.

setRecId

void setRecId(java.lang.String p_strRecId)
Sets the record id for this row.

Parameters:
p_strRecId - A record id as a string.

getRecId

java.lang.String getRecId()
Returns the record id for this row.

Returns:
A record id as a string.

setParentId

void setParentId(java.lang.String p_strParentId)
Sets the parent id for this row.

Parameters:
p_strParentId - A parent id as a string.

getParentId

java.lang.String getParentId()
Returns the parent id for this row.

Returns:
A parent id as a string

getAttributesVH

@Deprecated
java.util.Map<java.lang.String,IValueHolder<?>> getAttributesVH()
Deprecated. 


setUserId

void setUserId(java.lang.String p_strUserId)
Set the user id for this row.


getUserId

java.lang.String getUserId()
Returns:
The user id for this row.

getPropertyVH

IValueHolder<?> getPropertyVH(java.lang.String p_strNameOrGuid)
Parameters:
p_strNameOrGuid - The name or guid of a system data group field
Returns:
The value holder or null if not found

getDataRange

de.uplanet.lucy.server.businesslogic.util.IDataRangeDataService getDataRange()


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.