public class LinkMetaDataLoader
extends java.lang.Object
Constructor and Description |
---|
LinkMetaDataLoader(ReconInfo reconInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttributesForDataSet(DataSet dataSet,
java.util.List addAttributesTo) |
ReconLinkExpression |
buildExpression(MboRemote linkRule)
Builds an expression tree from a link rule containing attributes.
|
java.util.List |
getDataSet1Attributes()
Returns the data set attributes for data set 1.
|
java.util.List |
getDataSet1SpecAttributes()
Returns the spec attributes for data set 1.
|
java.util.List |
getDataSet2Attributes()
Returns the data set attributes for data set 2.
|
java.util.List |
getDataSet2SpecAttributes()
Returns the spec attributes for data set 2.
|
java.util.List |
getLinkExpressionSet()
Returns the set of expressions.
|
protected boolean |
isSpec(java.lang.String fullName,
java.lang.String dataSetObjectName,
DataSet dataSet)
Is an attribute a spec attribute?
|
void |
load()
Loads the attributes and spec attributes for both data sets.
|
void |
parseAttributes(java.util.Set attributeSet,
DataSet dataSet,
boolean isDataSet1)
Splits the set of data set attributes involved in the link phase into 2
sets: data set proper and data set spec.
|
void |
reset() |
void |
setLinkOrder(java.lang.String linkOrder)
Sets the order of the returned results.
|
void |
setTaskMbo(MboRemote taskMbo)
Sets the task mbo to load with.
|
protected ReconInfo reconInfo
public LinkMetaDataLoader(ReconInfo reconInfo)
public void setTaskMbo(MboRemote taskMbo)
taskMbo
- the taskMbo to setpublic void setLinkOrder(java.lang.String linkOrder)
linkOrder
- - ordered by this.public void load() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void addAttributesForDataSet(DataSet dataSet, java.util.List addAttributesTo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public ReconLinkExpression buildExpression(MboRemote linkRule) throws MXException, java.rmi.RemoteException
linkRule
- - the link rule to build the expression from.MXException
java.rmi.RemoteException
public java.util.List getLinkExpressionSet()
public java.util.List getDataSet1Attributes()
public java.util.List getDataSet2Attributes()
public java.util.List getDataSet1SpecAttributes()
public java.util.List getDataSet2SpecAttributes()
public void reset()
protected boolean isSpec(java.lang.String fullName, java.lang.String dataSetObjectName, DataSet dataSet)
fullName
- - the full name of the attributedataSetObjectName
- - the name of the data set object.public void parseAttributes(java.util.Set attributeSet, DataSet dataSet, boolean isDataSet1) throws MXSystemException
attributeSet
- The set of asset attributes used in link clausedataSet
- The data set whose attributes to parse.isDataSet1
- Is the data set data set 1?MXSystemException