public class DataSource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CNAME |
Constructor and Description |
---|
DataSource(java.lang.String microAgentName,
COM.TIBCO.hawk.talon.MethodSubscription ms)
Constructs a DataSource object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a copy of this object
|
boolean |
equals(java.lang.Object obj)
Compare two data sources.
|
java.lang.String |
getDisplayName()
Returns the display name for this data source
|
COM.TIBCO.hawk.talon.MethodSubscription |
getMethodSubscription()
Returns string representation of this data source.
|
java.lang.String |
getMicroAgentName()
Returns the microagent name
|
boolean |
isConverted() |
void |
setDisplayName(java.lang.String name)
Sets the display name for this data source
|
void |
setMethodSubscription(COM.TIBCO.hawk.talon.MethodSubscription ms)
Sets the methodSubscription
|
void |
setMicroAgentName(java.lang.String name)
Sets the microagent name
|
java.lang.String |
toString()
Returns string representation of this object.
|
public DataSource(java.lang.String microAgentName, COM.TIBCO.hawk.talon.MethodSubscription ms)
microAgentName
- the name identifying the microagent providing the rule's datams
- the MethodSubcription which will be used to provide the rule's datajava.lang.IllegalArgumentException
- if either argument is nullpublic void setDisplayName(java.lang.String name)
public java.lang.String getDisplayName()
public void setMicroAgentName(java.lang.String name)
name
- the microagent name, may not be nulljava.lang.IllegalArgumentException
- if name is nullpublic java.lang.String getMicroAgentName()
public boolean isConverted()
public void setMethodSubscription(COM.TIBCO.hawk.talon.MethodSubscription ms)
name
- the methodSubscription for this data source, may not be nulljava.lang.IllegalArgumentException
- if name is nullpublic COM.TIBCO.hawk.talon.MethodSubscription getMethodSubscription()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare withpublic java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.