com.togethersoft.openapi.model.elements
Interface Container
- All Known Subinterfaces:
- Entity, Model
- public interface Container
This interface groups all container-related functionality and is considered only as part
of Entity interface.
Entity can contain various Elements, Entitys,
ReferenceCollections as it can be seen from method list.
There's no criterion to tell which Entity is node, and which is link.
It's provider's decision, exactly which Entitys
would be returned by childNode method and which by childLink.
- Author:
- TogetherSoft
canCreateChildLink
public boolean canCreateChildLink(String shapeType)
canCreateChildNode
public boolean canCreateChildNode(String shapeType)
canCreateChildReferenceCollection
public boolean canCreateChildReferenceCollection(String shapeType)
canPaste
public boolean canPaste(Element element)
canPaste
public boolean canPaste(Element element, Element anchor, boolean before)
childLinks
public EntityEnumeration childLinks()
childNodes
public EntityEnumeration childNodes()
childReferenceCollections
public ReferenceCollectionEnumeration childReferenceCollections()
children
public ElementEnumeration children()
createChildLink
public Entity createChildLink(String shapeType)
createChildNode
public Entity createChildNode(String shapeType)
createChildReferenceCollection
public ReferenceCollection createChildReferenceCollection(String shapeType)
paste
public Element paste(Element element)
paste
public Element paste(Element element, Element anchor, boolean before)
to Class com.togethersoft.openapi.model.elements.ReferenceCollection- Label associated diagrams
- Supplier Cardinality 0..*
- Type aggregationByValue