Class BusinessServiceEntity
- java.lang.Object
-
- org.opennms.netmgt.bsm.persistence.api.BusinessServiceEntity
-
@Entity public class BusinessServiceEntity extends Object
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceEntity()
-
Method Summary
-
-
-
Method Detail
-
setLevel
public void setLevel(int level)
-
getLevel
public int getLevel()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getEdges
public Set<BusinessServiceEdgeEntity> getEdges()
-
setEdges
public void setEdges(Set<BusinessServiceEdgeEntity> edges)
-
addEdge
public void addEdge(BusinessServiceEdgeEntity edge)
-
removeEdge
public boolean removeEdge(BusinessServiceEdgeEntity edge)
-
getIpServiceEdges
public Set<IPServiceEdgeEntity> getIpServiceEdges()
-
getChildEdges
public Set<BusinessServiceChildEdgeEntity> getChildEdges()
-
getReductionKeyEdges
public Set<SingleReductionKeyEdgeEntity> getReductionKeyEdges()
-
getApplicationEdges
public Set<ApplicationEdgeEntity> getApplicationEdges()
-
getReductionFunction
public AbstractReductionFunctionEntity getReductionFunction()
-
setReductionFunction
public void setReductionFunction(AbstractReductionFunctionEntity reductionFunction)
-
addChildServiceEdge
public BusinessServiceEntity addChildServiceEdge(BusinessServiceEntity child, AbstractMapFunctionEntity mapFunction)
-
addChildServiceEdge
public BusinessServiceEntity addChildServiceEdge(BusinessServiceEntity child, AbstractMapFunctionEntity mapFunction, int weight)
-
addApplicationEdge
public BusinessServiceEntity addApplicationEdge(OnmsApplication onmsApplication, AbstractMapFunctionEntity mapFunction)
-
addApplicationEdge
public BusinessServiceEntity addApplicationEdge(OnmsApplication onmsApplication, AbstractMapFunctionEntity mapFunction, int weight)
-
addIpServiceEdge
public BusinessServiceEntity addIpServiceEdge(OnmsMonitoredService ipService, AbstractMapFunctionEntity mapFunction)
-
addIpServiceEdge
public BusinessServiceEntity addIpServiceEdge(OnmsMonitoredService ipService, AbstractMapFunctionEntity mapFunction, int weight, String friendlyName)
-
addReductionKeyEdge
public BusinessServiceEntity addReductionKeyEdge(String reductionKey, AbstractMapFunctionEntity mapFunction)
-
addReductionKeyEdge
public BusinessServiceEntity addReductionKeyEdge(String reductionKey, AbstractMapFunctionEntity mapFunction, int weight, String friendlyName)
-
-