|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openquark.gems.client.Argument.LoadInfo
public static class Argument.LoadInfo
This is a class to encapsulate information about an argument during the load process. This is used in cases where information about the argument is obtained at an earlier stage in the load process from where the information can actually be used.
| Constructor Summary | |
|---|---|
Argument.LoadInfo()
Trivial constructor for this class. |
|
| Method Summary | |
|---|---|
void |
addArgument(Gem gem,
String inputGemId,
Integer inputIndex)
|
void |
addArgument(Gem gem,
String inputGemId,
Integer inputIndex,
Object otherInfo)
Add an argument to this load info object. |
org.openquark.util.Pair<String,Integer> |
getInputInfo(Gem gem,
int argumentIndex)
Get the input information held by this info object. |
int |
getNArguments(Gem gem)
Get the number of arguments associated with a given gem. |
Object |
getOtherInfo(Gem gem,
int argumentIndex)
Get the non-input information held by this info object. |
void |
remapGem(Gem oldGem,
Gem newGem)
Change the info in this load info object so that getting info for a given gem returns the info for another gem. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Argument.LoadInfo()
| Method Detail |
|---|
public void addArgument(Gem gem,
String inputGemId,
Integer inputIndex)
{
public void addArgument(Gem gem,
String inputGemId,
Integer inputIndex,
Object otherInfo)
gem - the gem associated with the argument.inputGemId - the id of the gem on which the input appears.inputIndex - the index of the inputs on the gem in which it appears.otherInfo - any other info to associate with the input. May be null.
public void remapGem(Gem oldGem,
Gem newGem)
oldGem - the gem to be replaced.newGem - the gem for which, when asked for its info, the info for oldGem will be returned.public int getNArguments(Gem gem)
gem - the gem in question.
public org.openquark.util.Pair<String,Integer> getInputInfo(Gem gem,
int argumentIndex)
gem - the gem for which the argument info is relevant.argumentIndex - the index of the argument within the gem's argument info.
public Object getOtherInfo(Gem gem,
int argumentIndex)
gem - the gem for which the argument info is relevant.argumentIndex - the index of the argument within the gem's argument info.
|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||