public class AttributeLineContext
extends java.lang.Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
public AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute, com.centrasite.control.ActionContext actionContext, int index)
attribute
- The underlying CentraSiteAttributeactionContext
- 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.public AttributeLineContext(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute, com.centrasite.control.ActionContext actionContext, int index, com.softwareag.cis.server.util.GRIDCollection attributeValues)
attribute
- The underlying CentraSiteAttributeactionContext
- 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.public com.centrasite.control.ActionContext getActionContext()
public void setActionContext(com.centrasite.control.ActionContext actionContext)
actionContext
- the actionContext to setpublic com.centrasite.jaxr.assettype.CentraSiteAttribute getAttribute()
public void setAttribute(com.centrasite.jaxr.assettype.CentraSiteAttribute attribute)
attribute
- the attribute to setpublic com.softwareag.cis.server.util.GRIDCollection getAttributeValues()
public void setAttributeValues(com.softwareag.cis.server.util.GRIDCollection attributeValues)
attributeValues
- the attributeValues to setpublic int getIndex()
public void setIndex(int index)
index
- the index to set