Class RuleViolation
- java.lang.Object
-
- com.hack23.cia.service.api.action.kpi.RuleViolation
-
- All Implemented Interfaces:
java.io.Serializable
public final class RuleViolation extends java.lang.Object implements java.io.Serializable
The Class RuleViolation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleViolation(java.lang.String id, java.lang.String name, ResourceType resourceType, java.lang.String ruleName, java.lang.String ruleDescription, java.lang.String ruleGroup, Status status, java.lang.String positive)
Instantiates a new rule violation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
Gets the id.java.lang.String
getName()
Gets the name.java.lang.String
getPositive()
Gets the positive.ResourceType
getResourceType()
Gets the resource type.java.lang.String
getRuleDescription()
Gets the rule description.java.lang.String
getRuleGroup()
Gets the rule group.java.lang.String
getRuleName()
Gets the rule name.Status
getStatus()
Gets the status.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RuleViolation
public RuleViolation(java.lang.String id, java.lang.String name, ResourceType resourceType, java.lang.String ruleName, java.lang.String ruleDescription, java.lang.String ruleGroup, Status status, java.lang.String positive)
Instantiates a new rule violation.- Parameters:
id
- the idname
- the nameresourceType
- the resource typeruleName
- the rule nameruleDescription
- the rule descriptionruleGroup
- the rule groupstatus
- the statuspositive
- the positive
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id.- Returns:
- the id
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
getRuleName
public java.lang.String getRuleName()
Gets the rule name.- Returns:
- the rule name
-
getRuleDescription
public java.lang.String getRuleDescription()
Gets the rule description.- Returns:
- the rule description
-
getRuleGroup
public java.lang.String getRuleGroup()
Gets the rule group.- Returns:
- the rule group
-
getStatus
public Status getStatus()
Gets the status.- Returns:
- the status
-
getResourceType
public ResourceType getResourceType()
Gets the resource type.- Returns:
- the resource type
-
getPositive
public java.lang.String getPositive()
Gets the positive.- Returns:
- the positive
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-