Package com.iizix.prop
Class PropVerificationError
- java.lang.Object
- com.iizix.prop.PropVerificationError
 
- public class PropVerificationError extends java.lang.ObjectClass used to hold information about a verification error of a property container.- Author:
- Christopher Mindus
 
- Nested Class Summary- Nested Classes - Modifier and Type - Class - Description - static class- PropVerificationError.SeverityThe severity levels.
 - Field Summary- Fields - Modifier and Type - Field - Description - java.lang.String- errorTextThe error text.- java.lang.String- idThe ID of the error.- java.lang.String- locationLocation, or null for none.- GProp<?>- propertyThe property causing the error.- java.lang.String[]- quickFixesQuick fixes, or null for none.- PropVerificationError.Severity- severityThe severity of the error.
 - Constructor Summary- Constructors - Constructor - Description - PropVerificationError(PropCnr parent, Atom childName, PropVerificationError.Severity severity, java.lang.String location, java.lang.String errorText, java.lang.String... quickFixes)Constructs an error for a child property.- PropVerificationError(PropCnr parent, java.lang.String childName, PropVerificationError.Severity severity, java.lang.String location, java.lang.String errorText, java.lang.String... quickFixes)Constructs an error for a child property.- PropVerificationError(java.lang.String id, PropVerificationError.Severity severity, java.lang.String location, GProp<?> property, java.lang.String errorText, java.lang.String... quickFixes)The standard constructor for a property in error.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - IPropErrorItem- getPropErrorItem()Gets the error item for the property error.
 
- Field Detail- severity- public final PropVerificationError.Severity severity The severity of the error.
 - property- public final GProp<?> property The property causing the error.
 - errorText- public final java.lang.String errorText The error text.
 - id- public final java.lang.String id The ID of the error.
 - location- public final java.lang.String location Location, or null for none.
 - quickFixes- public final java.lang.String[] quickFixes Quick fixes, or null for none.
 
 - Constructor Detail- PropVerificationError- public PropVerificationError(java.lang.String id, PropVerificationError.Severity severity, java.lang.String location, GProp<?> property, java.lang.String errorText, java.lang.String... quickFixes)The standard constructor for a property in error.- Parameters:
- id- The unique ID of the error.
- severity- The severity of the problem.
- location- The location.
- property- The property in error.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- java.lang.NullPointerException- If id, severity, property or errorText is null.
 
 - PropVerificationError- public PropVerificationError(PropCnr parent, Atom childName, PropVerificationError.Severity severity, java.lang.String location, java.lang.String errorText, java.lang.String... quickFixes) Constructs an error for a child property. This error can only be added once in the parent container.- Parameters:
- parent- The parent property.
- childName- The name of the child property.
- severity- The severity of the problem.
- location- The location.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- java.lang.NullPointerException- If parent, childName, id, severity or errorText is null.
 
 - PropVerificationError- public PropVerificationError(PropCnr parent, java.lang.String childName, PropVerificationError.Severity severity, java.lang.String location, java.lang.String errorText, java.lang.String... quickFixes) Constructs an error for a child property. This error can only be added once in the parent container.- Parameters:
- parent- The parent property.
- childName- The name of the child property.
- severity- The severity of the problem.
- location- The location.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- java.lang.NullPointerException- If parent, childName, id, severity or errorText is null.
 
 
 - Method Detail- getPropErrorItem- public IPropErrorItem getPropErrorItem() Gets the error item for the property error.