org.efaps.ui.wicket.models.objects
Class UIRow

java.lang.Object
  extended by org.efaps.ui.wicket.models.AbstractInstanceObject
      extended by org.efaps.ui.wicket.models.objects.UIRow
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable

public class UIRow
extends AbstractInstanceObject

Class represents one row in the UITable.

Version:
$Id: UIRow.java 3754 2010-02-20 02:27:21Z jan.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
UIRow(AbstractUIObject _parent)
          Constructor used in case that no instances are given.
UIRow(AbstractUIObject _parent, java.lang.String _instanceKeys)
          The constructor creates a new instance of class Row.
 
Method Summary
 void add(UITableCell _cellmodel)
          The instance method adds a new attribute value (from instance AttributeTypeInterface) to the values.
 void addHidden(UIHiddenCell _hiddenCell)
          Add a hidden cell to this row.
 java.util.List<UIHiddenCell> getHidden()
          Getter method for instance variable hidden.
 org.efaps.db.Instance getInstanceFromManager()
           
 AbstractUIObject getParent()
          Getter method for the instance variable parent.
 int getSize()
          The instance method returns the size of the array list values.
 java.lang.String getUserinterfaceId()
          Getter method for the instance variable userinterfaceId.
 java.util.List<UITableCell> getValues()
          This is the getter method for the values variable values.
 boolean hasInstanceManager()
           
 void setUserinterfaceId(java.lang.String _userinterfaceId)
          Setter method for instance variable userinterfaceId.
 
Methods inherited from class org.efaps.ui.wicket.models.AbstractInstanceObject
getInstance, getInstanceKey, setInstanceKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIRow

public UIRow(AbstractUIObject _parent)
Constructor used in case that no instances are given. e.g. on create.

Parameters:
_parent - Parent object of this row

UIRow

public UIRow(AbstractUIObject _parent,
             java.lang.String _instanceKeys)
The constructor creates a new instance of class Row.

Parameters:
_parent - Parent object of this row
_instanceKeys - string with all oids for this row
Method Detail

add

public void add(UITableCell _cellmodel)
The instance method adds a new attribute value (from instance AttributeTypeInterface) to the values.

Parameters:
_cellmodel - cell model to add
See Also:
values

addHidden

public void addHidden(UIHiddenCell _hiddenCell)
Add a hidden cell to this row.

Parameters:
_hiddenCell - hidden cell to be added

getHidden

public java.util.List<UIHiddenCell> getHidden()
Getter method for instance variable hidden.

Returns:
value of instance variable hidden

getSize

public int getSize()
The instance method returns the size of the array list values.

Returns:
size of instance variable values
See Also:
values

getValues

public java.util.List<UITableCell> getValues()
This is the getter method for the values variable values.

Returns:
value of values variable values
See Also:
values

getUserinterfaceId

public java.lang.String getUserinterfaceId()
Getter method for the instance variable userinterfaceId.

Returns:
value of instance variable userinterfaceId

setUserinterfaceId

public void setUserinterfaceId(java.lang.String _userinterfaceId)
Setter method for instance variable userinterfaceId.

Parameters:
_userinterfaceId - value for instance variable userinterfaceId

getParent

public AbstractUIObject getParent()
Getter method for the instance variable parent.

Returns:
value of instance variable parent

getInstanceFromManager

public org.efaps.db.Instance getInstanceFromManager()
                                             throws org.efaps.util.EFapsException
Specified by:
getInstanceFromManager in class AbstractInstanceObject
Returns:
Instance
Throws:
org.efaps.util.EFapsException - on error
See Also:
AbstractInstanceObject.getInstanceFromManager()

hasInstanceManager

public boolean hasInstanceManager()
Specified by:
hasInstanceManager in class AbstractInstanceObject
Returns:
parent
See Also:
AbstractInstanceObject.hasInstanceManager()


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.