Class BusinessServiceEntity
- java.lang.Object
-
- org.opennms.netmgt.bsm.persistence.api.BusinessServiceEntity
-
@Entity public class BusinessServiceEntity extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceEntity()
-
Method Summary
-
-
-
Method Detail
-
setLevel
public void setLevel(int level)
-
getLevel
public int getLevel()
-
getId
public java.lang.Long getId()
-
setId
public void setId(java.lang.Long id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
-
setAttribute
public void setAttribute(java.lang.String key, java.lang.String value)
-
getEdges
public java.util.Set<BusinessServiceEdgeEntity> getEdges()
-
setEdges
public void setEdges(java.util.Set<BusinessServiceEdgeEntity> edges)
-
addEdge
public void addEdge(BusinessServiceEdgeEntity edge)
-
removeEdge
public boolean removeEdge(BusinessServiceEdgeEntity edge)
-
getIpServiceEdges
public java.util.Set<IPServiceEdgeEntity> getIpServiceEdges()
-
getChildEdges
public java.util.Set<BusinessServiceChildEdgeEntity> getChildEdges()
-
getReductionKeyEdges
public java.util.Set<SingleReductionKeyEdgeEntity> getReductionKeyEdges()
-
getApplicationEdges
public java.util.Set<ApplicationEdgeEntity> getApplicationEdges()
-
getReductionFunction
public AbstractReductionFunctionEntity getReductionFunction()
-
setReductionFunction
public void setReductionFunction(AbstractReductionFunctionEntity reductionFunction)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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, java.lang.String friendlyName)
-
addReductionKeyEdge
public BusinessServiceEntity addReductionKeyEdge(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunction)
-
addReductionKeyEdge
public BusinessServiceEntity addReductionKeyEdge(java.lang.String reductionKey, AbstractMapFunctionEntity mapFunction, int weight, java.lang.String friendlyName)
-
-