|
![]() 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.ArgumentName
public class ArgumentName
A class to manage the different names of an argument: base name and composite name.
Base name is the name used in calculation of a composite name. It starts out as one of the following:
FunctionalAgentGem - the argument name in the CAL code or the default name if the argument is not named
CodeGem - the argument name used in the code panel
Other - the default name
The base name may be replaced with a name saved by a user. The composite name is the base name plus a
disambiguating suffix to make it unique to the input's forest. The composite name is displayed in tooltips
and the Gem Properties dialog.
| Constructor Summary | |
|---|---|
ArgumentName(ArgumentName copy)
ArgumentName copy constructor. |
|
ArgumentName(String name)
ArgumentName constructor. |
|
| Method Summary | |
|---|---|
String |
getBaseName()
|
String |
getCompositeName()
|
String |
getDisambiguatingSuffix()
|
boolean |
isBaseNameSavedByUser()
|
void |
loadXML(Node parentNode)
Load this object's state. |
void |
saveXML(Node parentNode)
Attached the saved form of this object as a child XML node. |
void |
setBaseName(String baseName)
Set the base name. |
void |
setBaseNameSavedByUser(boolean savedByUser)
|
void |
setDisambiguatingSuffix(String suffix)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArgumentName(String name)
name - the original name, a default will be used if nullpublic ArgumentName(ArgumentName copy)
copy - the InputName to copy| Method Detail |
|---|
public String toString()
toString in class ObjectObject.toString()public String getBaseName()
public void setBaseName(String baseName)
baseName - the new base name for the InputNamepublic String getCompositeName()
public void setDisambiguatingSuffix(String suffix)
suffix - the suffix to use to make the composite namepublic String getDisambiguatingSuffix()
public boolean isBaseNameSavedByUser()
public void setBaseNameSavedByUser(boolean savedByUser)
savedByUser - whether the base name was saved by the userpublic void saveXML(Node parentNode)
parentNode - the node that will be the parent of the generated XML.
public void loadXML(Node parentNode)
throws org.openquark.util.xml.BadXMLDocumentException
parentNode - the node representing the structure to deserialize.
org.openquark.util.xml.BadXMLDocumentException
|
![]() 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 | |||||||||