|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A container for a variable number of Param objects.
In a DynSizeParamContainer, Param objects can
be added and removed.
| Method Summary | |
void |
addParam(Param param)
Adds a Param to this DynSizeParamContainer. |
boolean |
canAddParam(Param param)
Indicates whether the specified Param can be added to this
DynSizeParamContainer. |
boolean |
canRemoveParam(Param param)
Indicates whether the specified Param can be removed from
this DynSizeParamContainer. |
boolean |
canRemoveParamByName(java.lang.String name)
Indicates whether a Param with the specified name can be
removed from this DynSizeParamContainer. |
void |
removeParam(Param param)
Removes the specified Param from this
DynSizeParamContainer. |
void |
removeParamByName(java.lang.String name)
Removes a Param with the specified name from this
DynSizeParamContainer. |
| Methods inherited from interface com.sap.sdm.api.remote.AbstractParamContainer |
getParamByName, getParams, save |
| Method Detail |
public boolean canAddParam(Param param)
throws RemoteException
Param can be added to this
DynSizeParamContainer. The specified Param can
be added if this DynSizeParamContainer contains no
Param with identical name. When container is used to store
substitutional variables, this method returns false in case
where one tries to add dynamic substitutional variable - this is only
done internally by the SDM itself.param - the Param to be addedtrue if param can be added;
false otherwiseNullPointerException - if param is null
public void addParam(Param param)
throws RemoteException
Param to this DynSizeParamContainer.param - the Param to be addedjava.lang.IllegalArgumentException - if param cannot be addedNullPointerException - if param is null
public boolean canRemoveParam(Param param)
throws RemoteException
Param can be removed from
this DynSizeParamContainer. The specified Param
can be removed from this DynSizeParamContainer if it is
contained in this DynSizeParamContainer.param - the Param to be removedtrue if param can be removed;
false otherwiseNullPointerException - if param is null
public void removeParam(Param param)
throws RemoteException
Param from this
DynSizeParamContainer.param - the Param to be removedjava.lang.IllegalArgumentException - if param cannot be removedNullPointerException - if param is null
public boolean canRemoveParamByName(java.lang.String name)
throws RemoteException
Param with the specified name can be
removed from this DynSizeParamContainer. A Param
with the specified name can be removed from this
DynSizeParamContainer if this
DynSizeParamContainer contains a Param with the
specified name.name - the name of the Param to be removedtrue if a Param with the specified
name can be removed;
false otherwiseNullPointerException - if name is null
public void removeParamByName(java.lang.String name)
throws RemoteException
Param with the specified name from this
DynSizeParamContainer.name - the name of the Param to be removedjava.lang.IllegalArgumentException - if no Param with the
specified name can be removedNullPointerException - if name is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||