|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.ValidationWarnings.WarningsGroup
public static class ValidationWarnings.WarningsGroup
Holds the validation warnings of a property or component.
Constructor Summary | |
---|---|
ValidationWarnings.WarningsGroup(ICalComponent component,
List<ICalComponent> componentHierarchy,
List<String> messages)
Creates a new set of validation warnings for a component. |
|
ValidationWarnings.WarningsGroup(ICalProperty property,
List<ICalComponent> componentHierarchy,
List<String> messages)
Creates a new set of validation warnings for a property. |
Method Summary | |
---|---|
ICalComponent |
getComponent()
Gets the component object that caused the validation warnings. |
List<ICalComponent> |
getComponentHierarchy()
Gets the hierarchy of components that the property or component belongs to. |
List<String> |
getMessages()
Gets the warning messages. |
ICalProperty |
getProperty()
Gets the property object that caused the validation warnings. |
String |
toString()
Outputs each message in this warnings group as a newline-delimited string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationWarnings.WarningsGroup(ICalProperty property, List<ICalComponent> componentHierarchy, List<String> messages)
property
- the property that caused the warningscomponentHierarchy
- the hierarchy of components that the
property belongs tomessages
- the warning messagespublic ValidationWarnings.WarningsGroup(ICalComponent component, List<ICalComponent> componentHierarchy, List<String> messages)
component
- the component that caused the warningscomponentHierarchy
- the hierarchy of components that the
component belongs tomessages
- the warning messagesMethod Detail |
---|
public ICalProperty getProperty()
public ICalComponent getComponent()
public List<ICalComponent> getComponentHierarchy()
public List<String> getMessages()
public String toString()
Outputs each message in this warnings group as a newline-delimited string. Each line includes the component hierarchy and the name of the property/component. For example:
[ICalendar > VEvent > VAlarm]: Email alarms must have at least one attendee. [ICalendar > VEvent > VAlarm]: The trigger must specify which date field its duration is relative to.
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |