public class FixtureMap extends LinkedHashMap<String,FixtureTemplate> implements FixtureTemplate
LinkedHashMap that is parsed by FixtureParser.
It can be the root fixture template.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FixtureMap()
Create FixtureMap
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFixtureName()
Get a name of a FixtureTemplate.
|
FixtureMetadata |
getMetadata() |
FixtureTemplate |
getParent()
Get a parent of a FixtureTemplate.
|
boolean |
hasParent()
Check If a FixtureTemplate has a parent.
|
boolean |
isRoot()
Check if a FixtureTemplate is a root
|
FixtureMap |
reproduce()
Reproduce this.
|
void |
setFixtureName(String fixtureName)
Set a name of a FixtureTemplate.
|
void |
setParent(FixtureTemplate parent)
Set a parent of a FixtureTemplate.
|
void |
setRoot(boolean root)
Set true if a FixtureTemplate is a root.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic FixtureMap reproduce()
public FixtureMetadata getMetadata()
public boolean isRoot()
FixtureTemplateisRoot in interface FixtureTemplatepublic void setRoot(boolean root)
FixtureTemplatesetRoot in interface FixtureTemplatepublic String getFixtureName()
FixtureTemplategetFixtureName in interface FixtureTemplatepublic void setFixtureName(String fixtureName)
FixtureTemplatesetFixtureName in interface FixtureTemplatepublic FixtureTemplate getParent()
FixtureTemplategetParent in interface FixtureTemplatepublic void setParent(FixtureTemplate parent)
FixtureTemplatesetParent in interface FixtureTemplatepublic boolean hasParent()
FixtureTemplatehasParent in interface FixtureTemplateCopyright © 2018. All rights reserved.