public class IlrCheckerError
extends java.lang.Object
IlrCheckerError provides the same APIs as
IMarker. Possible values
for attributes are the same than IMarker.
IMarker,
IlrBusinessChecker| Constructor and Description |
|---|
IlrCheckerError(org.eclipse.core.resources.IResource resource,
java.lang.String type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Gets the value of the attribute
attributeName. |
java.util.Set<java.lang.String> |
getAttributeKeys()
Gets the keys of the different attributes.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
The attributes of the error.
|
org.eclipse.core.resources.IResource |
getResource()
The resource associated to this IlrCheckerError.
|
java.lang.String |
getType()
The type of the error.
|
int |
hashCode() |
void |
setAttribute(java.lang.String attributeName,
boolean value)
Sets the attribute
attributeName. |
void |
setAttribute(java.lang.String attributeName,
int value)
Sets the attribute
attributeName. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object value)
Sets the attribute
attributeName. |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Sets the attributes of the error.
|
public IlrCheckerError(org.eclipse.core.resources.IResource resource,
java.lang.String type)
resource - type - public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.eclipse.core.resources.IResource getResource()
IMarker.getResource()public java.lang.String getType()
IMarker.getType()public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
String
value type : String, Integer, or
Boolean) or null.IMarker.getAttributes()public void setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
attributes - IMarker.setAttributes(java.util.Map)public void setAttribute(java.lang.String attributeName,
java.lang.Object value)
attributeName.IMarker.setAttribute(java.lang.String, java.lang.Object)public void setAttribute(java.lang.String attributeName,
int value)
attributeName.attributeName - value - IMarker.setAttribute(java.lang.String, int)public void setAttribute(java.lang.String attributeName,
boolean value)
attributeName.attributeName - value - IMarker.setAttribute(java.lang.String, boolean)public java.lang.Object getAttribute(java.lang.String attributeName)
attributeName.attributeName - null if the attribute is undefined.IMarker.getAttribute(java.lang.String)public java.util.Set<java.lang.String> getAttributeKeys()
© Copyright IBM Corp. 1987, 2017