public class FamilyView extends HypermediaEnabledData
extensionElements, transientProperties| Constructor and Description |
|---|
FamilyView() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(ResourceReference child)
Add a child.
|
FamilyView |
child(ResourceReference child)
Build out this family by adding a child.
|
void |
embed(FamilyView family) |
List<ResourceReference> |
getChildren()
A list of references to the children of this family.
|
ResourceReference |
getParent1()
A reference to a parent in the family.
|
ResourceReference |
getParent2()
A reference to a parent in the family.
|
FamilyView |
parent1(ResourceReference parent1)
Build out this family with a reference to parent1.
|
FamilyView |
parent2(ResourceReference parent2)
Build out this family with a reference to parent2.
|
void |
setChildren(List<ResourceReference> children)
A list of references to the children of this family.
|
void |
setParent1(ResourceReference parent1)
A reference to a parent in the family.
|
void |
setParent2(ResourceReference parent2)
A reference to a parent in the family.
|
addLink, addLink, addTemplatedLink, embed, getLink, getLinks, getLinks, link, link, setLinksaddExtensionElement, embed, extensionElement, findExtensionOfType, findExtensionOfType, findExtensionsOfType, findExtensionsOfType, getExtensionElements, getId, getTransientProperties, getTransientProperty, id, removeExtensionElements, setExtensionElement, setExtensionElements, setId, setTransientProperty, toStringpublic ResourceReference getParent1()
public void setParent1(ResourceReference parent1)
parent1 - A reference to a parent in the family. The name "parent1" is used only to distinguish it from
the other parent in this family and implies neither order nor role.public FamilyView parent1(ResourceReference parent1)
parent1 - Parent 1.public ResourceReference getParent2()
public void setParent2(ResourceReference parent2)
parent2 - A reference to a parent in the family. The name "parent2" is used only to distinguish it from
the other parent in this family and implies neither order nor role.public FamilyView parent2(ResourceReference parent2)
parent2 - Parent 2.public List<ResourceReference> getChildren()
public void setChildren(List<ResourceReference> children)
children - A list of references to the children of this family.public FamilyView child(ResourceReference child)
child - The child to add.public void addChild(ResourceReference child)
child - The child to add.public void embed(FamilyView family)
Copyright © 2016. All rights reserved.