public class Element extends Object implements Serializable, Comparable<Element>
| Modifier and Type | Field and Description |
|---|---|
protected Attributes |
attributes |
protected List<Element> |
containedElements |
protected IdentifyingAttributes |
identifyingAttributes |
protected String |
retestId |
protected Screenshot |
screenshot |
protected static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
Element() |
protected static final long serialVersionUID
protected final String retestId
protected final IdentifyingAttributes identifyingAttributes
protected final Attributes attributes
protected Screenshot screenshot
public static Element create(String retestId, Element parent, IdentifyingAttributes identifyingAttributes, Attributes attributes)
public static Element create(String retestId, Element parent, IdentifyingAttributes identifyingAttributes, Attributes attributes, Screenshot screenshot)
public Element applyChanges(ActionChangeSet actionChangeSet)
protected List<Element> createNewElementList(ActionChangeSet actionChangeSet, IdentifyingAttributes newIdentAttributes)
public int countAllContainedElements()
public IdentifyingAttributes getIdentifyingAttributes()
public Attributes getAttributes()
public String getRetestId()
public Screenshot getScreenshot()
public void setScreenshot(Screenshot screenshot)
public boolean hasContainedElements()
public Element getParent()
public void addChildren(Element... children)
public int compareTo(Element other)
compareTo in interface Comparable<Element>Copyright © 2019 ReTest GmbH. All rights reserved.