com.centrasite.control.adapters.detailview.dynamicprofile
Class AttributeLineContext

java.lang.Object
  extended by com.centrasite.control.adapters.detailview.dynamicprofile.AttributeLineContext

public class AttributeLineContext
extends java.lang.Object

Container class holding context information for attribute line.


Constructor Summary
AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute, com.centrasite.control.ActionContext actionContext, int index)
           
AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute, com.centrasite.control.ActionContext actionContext, int index, com.softwareag.cis.server.util.GRIDCollection attributeValues)
           
 
Method Summary
 com.centrasite.control.ActionContext getActionContext()
           
 com.centrasite.jaxr.assettype.CentraSiteAttribute getAttribute()
           
 com.softwareag.cis.server.util.GRIDCollection getAttributeValues()
           
 int getIndex()
           
 void setActionContext(com.centrasite.control.ActionContext actionContext)
           
 void setAttribute(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute)
           
 void setAttributeValues(com.softwareag.cis.server.util.GRIDCollection attributeValues)
           
 void setIndex(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeLineContext

public AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute,
                            com.centrasite.control.ActionContext actionContext,
                            int index)
Parameters:
attribute - The underlying CentraSiteAttribute
actionContext - The action context to be used by the line (refresh, showThrowable etc.)
index - The index of this line inside the adapters collection of lines. This is needed when binding layout controls to properties of the line.

AttributeLineContext

public AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute,
                            com.centrasite.control.ActionContext actionContext,
                            int index,
                            com.softwareag.cis.server.util.GRIDCollection attributeValues)
Parameters:
attribute - The underlying CentraSiteAttribute
actionContext - The action context to be used by the line (refresh, showThrowable etc.)
index - The index of this line inside the adapters collection of lines. This is needed when binding layout controls to properties of the line.
attributeValues - All previous values of the attribute. Needed when duplicating lines in order all values to be added to the same colleciton.
Method Detail

getActionContext

public com.centrasite.control.ActionContext getActionContext()
Returns:
the actionContext

setActionContext

public void setActionContext(com.centrasite.control.ActionContext actionContext)
Parameters:
actionContext - the actionContext to set

getAttribute

public com.centrasite.jaxr.assettype.CentraSiteAttribute getAttribute()
Returns:
the attribute

setAttribute

public void setAttribute(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute)
Parameters:
attribute - the attribute to set

getAttributeValues

public com.softwareag.cis.server.util.GRIDCollection getAttributeValues()
Returns:
the attributeValues

setAttributeValues

public void setAttributeValues(com.softwareag.cis.server.util.GRIDCollection attributeValues)
Parameters:
attributeValues - the attributeValues to set

getIndex

public int getIndex()
Returns:
the index

setIndex

public void setIndex(int index)
Parameters:
index - the index to set