- All Known Subinterfaces:
CalendarPropertyAccessor,ChangeManagementPropertyAccessor,DateTimePropertyAccessor,DescriptivePropertyAccessor,PropertyContainer,RecurrenceSupport<T>,RelationshipPropertyAccessor,TimeZonePropertyAccessor
- All Known Implementing Classes:
Available,Calendar,CalendarComponent,Component,Daylight,Observance,Participant,PropertyGroup,Standard,VAlarm,VAvailability,VEvent,VFreeBusy,VJournal,VLocation,VResource,VTimeZone,VToDo,VVenue,XComponent
public interface PropertyListAccessor
-
Method Summary
Modifier and TypeMethodDescriptiongetProperties(String... name) getProperty(@NotNull Enum<?> name) getProperty(String name) default <T extends Property>
TgetRequiredProperty(@NotNull Enum<?> name) default <T extends Property>
TgetRequiredProperty(String name) Convenience method for retrieving a required named property.
-
Method Details
-
getPropertyList
PropertyList getPropertyList() -
getProperties
-
getProperty
-
getProperty
-
getRequiredProperty
Convenience method for retrieving a required named property.- Parameters:
name- name of the property to retrieve- Returns:
- the first matching property in the property list with the specified name
- Throws:
ConstraintViolationException- when a property is not found
-
getRequiredProperty
default <T extends Property> T getRequiredProperty(@NotNull @NotNull Enum<?> name) throws ConstraintViolationException - Throws:
ConstraintViolationException
-