biweekly.parameter
Class RelationshipType
java.lang.Object
biweekly.parameter.EnumParameterValue
biweekly.parameter.RelationshipType
public class RelationshipType
- extends EnumParameterValue
Defines the hierarchical relationship that a component has with another
component.
- Author:
- Michael Angstadt
- Specification Reference:
- RFC 5545 p.25
PARENT
public static final RelationshipType PARENT
CHILD
public static final RelationshipType CHILD
SIBLING
public static final RelationshipType SIBLING
find
public static RelationshipType find(String value)
- Searches for a parameter value that is defined as a static constant in
this class.
- Parameters:
value
- the parameter value
- Returns:
- the object or null if not found
get
public static RelationshipType get(String value)
- Searches for a parameter value and creates one if it cannot be found. All
objects are guaranteed to be unique, so they can be compared with
==
equality.
- Parameters:
value
- the parameter value
- Returns:
- the object
all
public static Collection<RelationshipType> all()
- Gets all of the parameter values that are defined as static constants in
this class.
- Returns:
- the parameter values
Copyright © 2013 Michael Angstadt. All Rights Reserved.