public class MboRelationPath
extends java.lang.Object
MboSetIterator
,
RelatedMboFetcher
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
condition
Condition.
|
protected java.lang.String |
relationship
The name of the related set, minus any parameters.
|
protected java.lang.Integer |
specificMbo
Specific Mbo position.
|
protected java.lang.String |
whereFilter
Extra where clause.
|
Constructor and Description |
---|
MboRelationPath(java.lang.String relationship)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getDiscardable() |
MaxCondition |
getMaxCondition()
Return the condition.
|
MboSetRemote |
getOnTheFlySet(MboRemote mbo)
Get the on-the-fly set.
|
java.lang.String |
getRelationship()
Return the base relationship name.
|
java.lang.Integer |
getSpecificMbo()
Get the specific Mbo position to return.
|
boolean |
isOnTheFly()
Setting the whereFilter will mean an on-the-fly relationship will be created.
|
static java.util.List |
parseRelationshipPath(java.lang.String relationshipChain)
Convert a String chain of relationships into a list of MRP's
|
void |
setCondition(java.lang.String condition)
Set the condition id.
|
void |
setSpecificMbo(java.lang.Integer specificMbo)
Give a value for the specific Mbo.
|
void |
setWhereFilter(java.lang.String whereFilter)
Set the addition where filter.
|
protected java.lang.Integer specificMbo
protected java.lang.String condition
protected java.lang.String whereFilter
protected java.lang.String relationship
public MboRelationPath(java.lang.String relationship)
public java.lang.String getRelationship()
public java.lang.Integer getSpecificMbo()
public void setSpecificMbo(java.lang.Integer specificMbo)
public void setCondition(java.lang.String condition)
public void setWhereFilter(java.lang.String whereFilter)
public MaxCondition getMaxCondition() throws java.rmi.RemoteException, MXApplicationException
MXException
- Thrown with "system","conditionMissing" with the Condition name,
if the condition is not found in the cache.java.rmi.RemoteException
MXApplicationException
This method does a similar job.
public boolean isOnTheFly()
public MboSetRemote getOnTheFlySet(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.util.List parseRelationshipPath(java.lang.String relationshipChain)
relationshipChain
- I.e. 'poline[cond:cond1].pocost[3]'public java.lang.Boolean getDiscardable()