public class RelatedTo extends TextProperty
Defines a relationship between the component that this property belongs to and another component.
Code samples:
VEvent event = new VEvent();
RelatedTo relatedTo = new RelatedTo("uid-value");
event.addRelatedTo(relatedTo);
valueparameters| Constructor and Description |
|---|
RelatedTo(String uid)
Creates a related-to property.
|
| Modifier and Type | Method and Description |
|---|---|
RelationshipType |
getRelationshipType()
Gets the relationship type.
|
void |
setRelationshipType(RelationshipType relationshipType)
Sets the relationship type.
|
getValue, getValue, setValue, validateaddParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validatepublic RelationshipType getRelationshipType()
public void setRelationshipType(RelationshipType relationshipType)
relationshipType - the relationship type (e.g. "child") or null to
removeCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.