Top Methods
net.fortuna.ical4j.model

public Interface PropertyListAccessor

Known Direct Subinterfaces
net.fortuna.ical4j.model.PropertyContainer
Known Direct Implementers
net.fortuna.ical4j.model.PropertyGroup
Imports
org.jetbrains.annotations.NotNull, java.util.List, .Optional

Method Summary

Modifier and TypeMethod and Description
public default <T extends Property> List<T>
getProperties(final String... name)

public default <T extends Property> Optional<T>
getProperty(final String name)

public default <T extends Property> Optional<T>
getProperty(final @NotNull Enum<?> name)

public PropertyList
public default <T extends Property> T

Returns:

the first matching property in the property list with the specified name
getRequiredProperty
(String
name of the property to retrieve
name
)

Convenience method for retrieving a required named property.

public default <T extends Property> T

Method Detail

getPropertiesback to summary
public default <T extends Property> List<T> getProperties(final String... name)
getPropertyback to summary
public default <T extends Property> Optional<T> getProperty(final String name)
getPropertyback to summary
public default <T extends Property> Optional<T> getProperty(final @NotNull Enum<?> name)
getPropertyListback to summary
public PropertyList getPropertyList()
getRequiredPropertyback to summary
public default <T extends Property> T getRequiredProperty(String name) throws ConstraintViolationException

Convenience method for retrieving a required named property.

Parameters
name:String

name of the property to retrieve

Returns:T

the first matching property in the property list with the specified name

Exceptions
ConstraintViolationException:
when a property is not found
getRequiredPropertyback to summary
public default <T extends Property> T getRequiredProperty(@NotNull Enum<?> name) throws ConstraintViolationException