com.ibm.ccd.ui.dataobjects.view
Class AttributeCollectionView

java.lang.Object
  extended by com.ibm.ccd.ui.dataobjects.view.AttributeCollectionView
All Implemented Interfaces:
java.io.Serializable

public class AttributeCollectionView
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AttributeCollectionView()
           
 
Method Summary
 java.lang.String[] getAttributeNames()
           
 Attribute[] getAttributes()
           
 java.lang.String getCollectionName()
           
 int getGroupDepth(java.lang.String name)
          display the specified group attribute with indent
 java.lang.String getType()
           
 boolean isEditable()
           
 void printME()
          print the attribute names in AttributeCollection
 void printME(java.io.OutputStream out)
          print the JSP render Attribute tag for the AttributeCollection
 java.lang.String renderAttributeCollection()
          rendering logic for the attributes and the group attributes which is nested in.
 void setAttributeNames(java.lang.String[] attribute)
           
 void setAttributes(Attribute[] attributes)
           
 void setCollectionName(java.lang.String collection)
           
 void setEditable(boolean editable)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeCollectionView

public AttributeCollectionView()
Method Detail

getAttributeNames

public java.lang.String[] getAttributeNames()
Returns:
attributeNames

getCollectionName

public java.lang.String getCollectionName()
Returns:
collectionName

isEditable

public boolean isEditable()
Returns:
isEditable

getType

public java.lang.String getType()
Returns:
type

setAttributeNames

public void setAttributeNames(java.lang.String[] attribute)
Parameters:
attribute -

setCollectionName

public void setCollectionName(java.lang.String collection)
Parameters:
collection -

setEditable

public void setEditable(boolean editable)
Parameters:
editable -

setType

public void setType(java.lang.String type)
Parameters:
type -

getAttributes

public Attribute[] getAttributes()
Returns:
attributes

setAttributes

public void setAttributes(Attribute[] attributes)
Parameters:
attributes -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

printME

public void printME()
print the attribute names in AttributeCollection


printME

public void printME(java.io.OutputStream out)
print the JSP render Attribute tag for the AttributeCollection

Parameters:
out -

renderAttributeCollection

public java.lang.String renderAttributeCollection()
rendering logic for the attributes and the group attributes which is nested in.

Returns:
JSP content for AttributeCollection

getGroupDepth

public int getGroupDepth(java.lang.String name)
display the specified group attribute with indent

Parameters:
name -
Returns:
integer