Class BusinessServiceRequestDTO
- java.lang.Object
-
- org.opennms.web.rest.v2.bsm.model.BusinessServiceRequestDTO
-
public class BusinessServiceRequestDTO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceRequestDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addApplication(int applicationId, MapFunctionDTO mapFunction, int weight)
protected void
addAttribute(java.lang.String key, java.lang.String value)
void
addChildService(long childId, MapFunctionDTO mapFunction, int weight)
void
addIpService(int ipServiceId, MapFunctionDTO mapFunction, int weight)
void
addIpService(int ipServiceId, MapFunctionDTO mapFunction, int weight, java.lang.String friendlyName)
void
addReductionKey(java.lang.String reductionKey, MapFunctionDTO mapFunction, int weight)
void
addReductionKey(java.lang.String reductionKey, MapFunctionDTO mapFunction, int weight, java.lang.String friendlyName)
boolean
equals(java.lang.Object obj)
java.util.List<ApplicationEdgeRequestDTO>
getApplications()
java.util.Map<java.lang.String,java.lang.String>
getAttributes()
java.util.List<ChildEdgeRequestDTO>
getChildServices()
java.util.List<AbstractEdgeRequestDTO>
getEdges()
java.util.List<IpServiceEdgeRequestDTO>
getIpServices()
java.lang.String
getName()
ReduceFunctionDTO
getReduceFunction()
java.util.List<ReductionKeyEdgeRequestDTO>
getReductionKeys()
int
hashCode()
void
setApplications(java.util.List<ApplicationEdgeRequestDTO> applications)
void
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
void
setChildServices(java.util.List<ChildEdgeRequestDTO> childServices)
void
setIpServices(java.util.List<IpServiceEdgeRequestDTO> ipServices)
void
setName(java.lang.String name)
void
setReduceFunction(ReduceFunctionDTO reduceFunction)
void
setReductionKeys(java.util.List<ReductionKeyEdgeRequestDTO> reductionKeys)
java.lang.String
toString()
-
-
-
Method Detail
-
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()
-
addAttribute
protected void addAttribute(java.lang.String key, java.lang.String value)
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
-
getIpServices
public java.util.List<IpServiceEdgeRequestDTO> getIpServices()
-
setIpServices
public void setIpServices(java.util.List<IpServiceEdgeRequestDTO> ipServices)
-
getChildServices
public java.util.List<ChildEdgeRequestDTO> getChildServices()
-
setChildServices
public void setChildServices(java.util.List<ChildEdgeRequestDTO> childServices)
-
getReductionKeys
public java.util.List<ReductionKeyEdgeRequestDTO> getReductionKeys()
-
setReductionKeys
public void setReductionKeys(java.util.List<ReductionKeyEdgeRequestDTO> reductionKeys)
-
setReduceFunction
public void setReduceFunction(ReduceFunctionDTO reduceFunction)
-
getApplications
public java.util.List<ApplicationEdgeRequestDTO> getApplications()
-
setApplications
public void setApplications(java.util.List<ApplicationEdgeRequestDTO> applications)
-
getReduceFunction
public ReduceFunctionDTO getReduceFunction()
-
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
-
addChildService
public void addChildService(long childId, MapFunctionDTO mapFunction, int weight)
-
addReductionKey
public void addReductionKey(java.lang.String reductionKey, MapFunctionDTO mapFunction, int weight)
-
addReductionKey
public void addReductionKey(java.lang.String reductionKey, MapFunctionDTO mapFunction, int weight, java.lang.String friendlyName)
-
addIpService
public void addIpService(int ipServiceId, MapFunctionDTO mapFunction, int weight)
-
addIpService
public void addIpService(int ipServiceId, MapFunctionDTO mapFunction, int weight, java.lang.String friendlyName)
-
addApplication
public void addApplication(int applicationId, MapFunctionDTO mapFunction, int weight)
-
getEdges
public java.util.List<AbstractEdgeRequestDTO> getEdges()
-
-