public class ComponentQueryDescriptor
extends java.lang.Object
si.ijs.maci.ComponentSpec struct for use by components.
Hides some fields. The idea is to not encourage components to use information about where some other components are running, in which language, etc. If necessary, further fields might become accessible.
ComponentSpec| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ANY
An alias for
si.ijs.maci.COMPONENT_SPEC_ANY#value, currently "*". |
| Constructor and Description |
|---|
ComponentQueryDescriptor() |
ComponentQueryDescriptor(java.lang.String compName,
java.lang.String compType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentName() |
java.lang.String |
getComponentType() |
void |
setComponentName(java.lang.String compName) |
void |
setComponentType(java.lang.String compType) |
ComponentSpec |
toComponentSpec()
To be used by the container to get the
ComponentSpec
that will be sent to the manager over CORBA. |
java.lang.String |
toString() |
public static final java.lang.String ANY
si.ijs.maci.COMPONENT_SPEC_ANY#value, currently "*".
Used as a wildcard to state that any value for a field is fine.public ComponentQueryDescriptor()
public ComponentQueryDescriptor(java.lang.String compName,
java.lang.String compType)
public java.lang.String getComponentName()
public void setComponentName(java.lang.String compName)
public java.lang.String getComponentType()
public void setComponentType(java.lang.String compType)
public ComponentSpec toComponentSpec()
ComponentSpec
that will be sent to the manager over CORBA.
null values will be converted automatically into ANY.
public java.lang.String toString()
toString in class java.lang.Object