Package fi.tut.mei.resdescapi.issue
Class ResCatIssue
- java.lang.Object
-
- fi.tut.mei.resdescapi.issue.Issue
-
- fi.tut.mei.resdescapi.issue.ResCatIssue
-
public class ResCatIssue extends Issue
- Author:
- Niko Siltala
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResCatIssue.EnumResourceCategory
Enumeration for which resource category this issue relates to.
-
Constructor Summary
Constructors Constructor Description ResCatIssue()
Default constructorResCatIssue(String id, String msg)
ResCatIssue(String id, String msg, ResCatIssue.EnumResourceCategory resourceType, String resourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
String
getResourceId()
ResCatIssue.EnumResourceCategory
getResourceType()
void
setFileName(String fileName)
void
setResourceId(String resourceId)
void
setResourceType(ResCatIssue.EnumResourceCategory resourceType)
String
toString()
-
-
-
Constructor Detail
-
ResCatIssue
public ResCatIssue()
Default constructor
-
ResCatIssue
public ResCatIssue(String id, String msg)
- Parameters:
id
- ID of this issuemsg
- message used to describe this issue
-
ResCatIssue
public ResCatIssue(String id, String msg, ResCatIssue.EnumResourceCategory resourceType, String resourceId)
- Parameters:
id
- ID of this issuemsg
- message used to describe this issueresourceType
- Type of resource this issue relates toresourceId
- ID of the resource causing this issue
-
-
Method Detail
-
getResourceType
public ResCatIssue.EnumResourceCategory getResourceType()
- Returns:
- the resourceType
-
setResourceType
public void setResourceType(ResCatIssue.EnumResourceCategory resourceType)
- Parameters:
resourceType
- the resourceType to set
-
getResourceId
public String getResourceId()
- Returns:
- the resourceId
-
setResourceId
public void setResourceId(String resourceId)
- Parameters:
resourceId
- the resourceId to set
-
getFileName
public String getFileName()
- Returns:
- the fileName
-
setFileName
public void setFileName(String fileName)
- Parameters:
fileName
- the fileName to set
-
-