|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipePort<T>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel<AlgorithmInformation>
edu.jhu.ece.iacl.jist.pipeline.parameter.ParamInformation
public class ParamInformation
Stores information about algorithm.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
PipePort.PortListener, PipePort.type |
| Field Summary | |
|---|---|
protected AlgorithmInformation |
info
The info. |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
|---|
cliTag, description, factory, hidden, label, loadAndSaveOnValidate, mandatory, shortLabel |
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
connectible, gport, incomingConnectors, listeners, maxIncoming, maxOutgoing, outgoingConnectors, owner, portType, useWire |
| Constructor Summary | |
|---|---|
ParamInformation()
Default constructor. |
|
ParamInformation(AlgorithmInformation info)
Constructor. |
|
ParamInformation(java.lang.String name)
Constructor. |
|
ParamInformation(java.lang.String name,
AlgorithmInformation info)
Constructor. |
|
| Method Summary | |
|---|---|
ParamInformation |
clone()
Clone object. |
int |
compareTo(ParamModel mod)
Compare information. |
boolean |
equals(ParamModel<AlgorithmInformation> mod)
|
java.lang.String |
getHumanReadableDataType()
|
AlgorithmInformation |
getValue()
Get algorithm information. |
java.lang.String |
getXMLValue()
|
void |
init()
Initialize parameter. |
java.lang.String |
probeDefaultValue()
|
void |
setValue(AlgorithmInformation value)
Set algorithm information. |
void |
setXMLValue(java.lang.String arg)
|
java.lang.String |
toString()
Get description of information. |
void |
validate()
Validate information. |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.parameter.ParamModel |
|---|
clean, createMipavParameter, createTreeNode, dispose, getCliTag, getDescription, getFactory, getInputView, getLabel, getName, getOutputView, getShortLabel, getView, hide, importMipavParameter, importParameter, isCompatible, isConnectible, isHidden, isMandatory, loadResources, loadResources, read, read, replacePath, saveResources, setCliTag, setDescription, setFactory, setHidden, setInputView, setLabel, setLoadAndSaveOnValidate, setMandatory, setName, setOutputView, setShortLabel, toXML, write, write, writeAndFreeNow |
| Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipePort |
|---|
addListener, disconnect, disconnect, disconnect, disconnect, getGraphPort, getIncomingConnector, getIncomingConnectors, getIncomingPorts, getListeners, getMaxIncoming, getMaxOutgoing, getOutgoingConnector, getOutgoingConnectors, getOutgoingPorts, getOwner, getPortType, isConnected, isConnectedTo, isInputPort, isOutputPort, notifyListenersOfConnection, notifyListenersOfDisconnection, removeAllListeners, removeListener, setConnectable, setGraphPort, setMaxIncoming, setMaxOutgoing, setOwner, setPortType, setUseConnector, usingConnector |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AlgorithmInformation info
| Constructor Detail |
|---|
public ParamInformation()
public ParamInformation(AlgorithmInformation info)
info - algorithm informationpublic ParamInformation(java.lang.String name)
name - parameter name
public ParamInformation(java.lang.String name,
AlgorithmInformation info)
name - parameter nameinfo - algorithm information| Method Detail |
|---|
public ParamInformation clone()
clone in class ParamModel<AlgorithmInformation>public int compareTo(ParamModel mod)
compareTo in interface java.lang.Comparable<ParamModel>compareTo in class ParamModel<AlgorithmInformation>mod - the mod
public AlgorithmInformation getValue()
getValue in class ParamModel<AlgorithmInformation>public void init()
init in class PipePort<AlgorithmInformation>
public void setValue(AlgorithmInformation value)
throws InvalidParameterValueException
setValue in class ParamModel<AlgorithmInformation>value - the value
InvalidParameterValueException - the invalid parameter value exceptionpublic java.lang.String toString()
toString in class ParamModel<AlgorithmInformation>
public void validate()
throws InvalidParameterException
validate in class ParamModel<AlgorithmInformation>InvalidParameterException - the invalid parameter exceptionpublic boolean equals(ParamModel<AlgorithmInformation> mod)
equals in class ParamModel<AlgorithmInformation>public java.lang.String getHumanReadableDataType()
getHumanReadableDataType in class ParamModel<AlgorithmInformation>public java.lang.String getXMLValue()
getXMLValue in class ParamModel<AlgorithmInformation>public void setXMLValue(java.lang.String arg)
setXMLValue in class ParamModel<AlgorithmInformation>public java.lang.String probeDefaultValue()
probeDefaultValue in class ParamModel<AlgorithmInformation>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||