Package org.ehrbase.webtemplate.model
Class WebTemplateNode
- java.lang.Object
-
- org.ehrbase.webtemplate.model.WebTemplateNode
-
- All Implemented Interfaces:
Serializable
public class WebTemplateNode extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebTemplateNode()WebTemplateNode(WebTemplateNode other)
-
Method Summary
-
-
-
Constructor Detail
-
WebTemplateNode
public WebTemplateNode()
-
WebTemplateNode
public WebTemplateNode(WebTemplateNode other)
-
-
Method Detail
-
getId
public String getId()
-
getId
public String getId(boolean withOptionalIdNumber)
-
setOptionalIdNumber
public void setOptionalIdNumber(Integer optionalIdNumber)
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getLocalizedName
public String getLocalizedName()
-
setLocalizedName
public void setLocalizedName(String localizedName)
-
getRmType
public String getRmType()
-
setRmType
public void setRmType(String rmType)
-
getNodeId
public String getNodeId()
-
setNodeId
public void setNodeId(String nodeId)
-
getMin
public int getMin()
-
setMin
public void setMin(int min)
-
getMax
public int getMax()
-
setMax
public void setMax(int max)
-
getAqlPath
public String getAqlPath()
-
getAqlPathDto
public AqlPath getAqlPathDto()
-
getAqlPath
public String getAqlPath(boolean withOtherPredicates)
-
setAqlPath
public void setAqlPath(String aqlPath)
-
setAqlPath
public void setAqlPath(AqlPath aqlPath)
-
getChildren
public List<WebTemplateNode> getChildren()
-
getCardinalities
public List<WebtemplateCardinality> getCardinalities()
-
getChoicesInChildren
public Map<String,List<WebTemplateNode>> getChoicesInChildren()
-
getInputs
public List<WebTemplateInput> getInputs()
-
getInContext
public Boolean getInContext()
-
setInContext
public void setInContext(Boolean inContext)
-
getTermBindings
public Map<String,WebTemplateTerminology> getTermBindings()
-
getAnnotations
public WebTemplateAnnotation getAnnotations()
-
setAnnotations
public void setAnnotations(WebTemplateAnnotation annotations)
-
getProportionTypes
public List<ProportionType> getProportionTypes()
-
findChildById
public Optional<WebTemplateNode> findChildById(String id)
-
buildRelativePath
public AqlPath buildRelativePath(WebTemplateNode child, boolean checkIfTrueChild)
-
isRelativePathNameDependent
public boolean isRelativePathNameDependent(WebTemplateNode child)
-
findMatching
public List<WebTemplateNode> findMatching(Predicate<WebTemplateNode> filter)
-
streamSubtree
public static Stream<WebTemplateNode> streamSubtree(WebTemplateNode node, boolean depthFirst)
-
streamSubtree
public static Stream<WebTemplateNode> streamSubtree(List<WebTemplateNode> nodes, boolean depthFirst)
-
multiValued
public List<WebTemplateNode> multiValued()
-
isArchetype
public boolean isArchetype()
-
isArchetypeSlot
public boolean isArchetypeSlot()
-
isNullable
public boolean isNullable()
-
isMulti
public boolean isMulti()
-
-