|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
realizes structured data for AspectRow or parameters of an Action or
Query
Additionally Structure implements ICMIGenericModelClass .
This is necessary to use a Structure from Web Dynpro. Web Dynpro framework only knows this interface
| Method Summary | |
java.lang.String |
getAttributeAsString(int attributeIndex)
Returns the value of the attribute to given index as String or throws an IndexOutOfBoundsException,
if attributeIndex is no valide index. |
java.lang.String |
getAttributeAsString(java.lang.String attributeName)
Returns the value of the attribute with given name as String or throws an IllegalArgumentException, if
attributeName is no valid name for an attribute. |
java.lang.Object |
getAttributeValue(int attributeIndex)
Returns the value of the attribute to given index as Object or throws an IndexOutOfBoundsException,
if attributeIndex is no valide index. |
java.lang.Object |
getAttributeValue(java.lang.String attributeName)
Returns the value of the attribute with given name as Object or throws an IllegalArgumentException, if
attributeName is no valid name for an attribute. |
IStructureDescriptor |
getDescriptor()
Returns the meta data of this Structure. |
boolean |
isAttributeInitial(int attributeIndex)
returns true, if attribute with given attributeIndex is in initial state, or false otherwise. |
boolean |
isAttributeInitial(java.lang.String attributeName)
returns true, if attribute with given attributeName is in initial state, or false otherwise. |
void |
setAttributeValue(int attributeIndex,
java.lang.Object value)
Sets the given value to the attribute with given index or throws an IndexOutOfBoundsException. |
void |
setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
Sets the given value to the attribute with given name or throws an IllegalArgumentException, if
attributeName is no valid name for an attribute. |
int |
size()
returns the number of fields in this Structure, which corresponds to the number
of Fields in StructureDescriptor. |
java.lang.String |
toString()
returns a string representation of this object. |
| Method Detail |
public java.lang.String getAttributeAsString(java.lang.String attributeName)
IllegalArgumentException, if
attributeName is no valid name for an attribute.attributeName - the name of the attributeIllegalArgumentException, if
attributeName is no valid name for an attribute.public java.lang.String getAttributeAsString(int attributeIndex)
IndexOutOfBoundsException,
if attributeIndex is no valide index.attributeIndex - the index of the attributeIndexOutOfBoundsException,
if attributeIndex is no valide index.public java.lang.Object getAttributeValue(java.lang.String attributeName)
IllegalArgumentException, if
attributeName is no valid name for an attribute.attributeName - the name of the attributeIllegalArgumentException, if
attributeName is no valid name for an attribute.public java.lang.Object getAttributeValue(int attributeIndex)
IndexOutOfBoundsException,
if attributeIndex is no valide index.attributeIndex - the index of the attributeIndexOutOfBoundsException,
if attributeIndex is no valide index.
public void setAttributeValue(java.lang.String attributeName,
java.lang.Object value)
IllegalArgumentException, if
attributeName is no valid name for an attribute.attributeName - the name of the attributevalue - the value of the attribute as Object to set
public void setAttributeValue(int attributeIndex,
java.lang.Object value)
IndexOutOfBoundsException.attributeIndex - the index of the attributevalue - the value of the attribute as Object to setpublic boolean isAttributeInitial(int attributeIndex)
true, if attribute with given attributeIndex is in initial state, or false otherwise.attributeIndex - the index of the attribute to checktrue, if attribute with given index is in initial state, or false otherwise.public boolean isAttributeInitial(java.lang.String attributeName)
true, if attribute with given attributeName is in initial state, or false otherwise.attributeName - the name of the attribute to checktrue, if attribute with given index is in initial state, or false otherwise.public IStructureDescriptor getDescriptor()
Structure.
typically meta data are the name of the Structure and the meta data of the
different fields (attributes).public int size()
Structure, which corresponds to the number
of Fields in StructureDescriptor.
It is only a shortcut for:
getDescriptor().size().
public java.lang.String toString()
|
Cool documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||