public class Element extends Object implements Serializable, Comparable<Element>
| Modifier and Type | Field and Description |
|---|---|
protected Attributes |
attributes |
protected List<Element> |
containedComponents |
protected IdentifyingAttributes |
identifyingAttributes |
protected Screenshot |
screenshot |
protected static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
Element() |
|
Element(IdentifyingAttributes identifyingAttributes,
Attributes attributes) |
|
Element(IdentifyingAttributes identifyingAttributes,
Attributes attributes,
Element... containedComponents) |
|
Element(IdentifyingAttributes identifyingAttributes,
Attributes attributes,
List<Element> containedComponents) |
|
Element(IdentifyingAttributes identifyingAttributes,
Attributes attributes,
List<Element> containedComponents,
Screenshot screenshot) |
|
Element(IdentifyingAttributes identifyingAttributes,
Attributes attributes,
Screenshot screenshot) |
| Modifier and Type | Method and Description |
|---|---|
Element |
applyChanges(ActionChangeSet actionChangeSet) |
int |
compareTo(Element other) |
int |
countAllContainedElements() |
protected List<Element> |
createNewComponentList(ActionChangeSet actionChangeSet,
IdentifyingAttributes newIdentAttributes) |
boolean |
equals(Object obj) |
Attributes |
getAttributes() |
List<Element> |
getContainedElements() |
Element |
getElement(Path path) |
IdentifyingAttributes |
getIdentifyingAttributes() |
Screenshot |
getScreenshot() |
boolean |
hasContainedElements() |
int |
hashCode() |
void |
setScreenshot(Screenshot screenshot) |
String |
toString() |
protected static final long serialVersionUID
protected final IdentifyingAttributes identifyingAttributes
protected final Attributes attributes
protected Screenshot screenshot
protected Element()
public Element(IdentifyingAttributes identifyingAttributes, Attributes attributes)
public Element(IdentifyingAttributes identifyingAttributes, Attributes attributes, Element... containedComponents)
public Element(IdentifyingAttributes identifyingAttributes, Attributes attributes, List<Element> containedComponents)
public Element(IdentifyingAttributes identifyingAttributes, Attributes attributes, Screenshot screenshot)
public Element(IdentifyingAttributes identifyingAttributes, Attributes attributes, List<Element> containedComponents, Screenshot screenshot)
public int compareTo(Element other)
compareTo in interface Comparable<Element>public IdentifyingAttributes getIdentifyingAttributes()
public boolean hasContainedElements()
public Screenshot getScreenshot()
public void setScreenshot(Screenshot screenshot)
public Attributes getAttributes()
public Element applyChanges(ActionChangeSet actionChangeSet)
protected List<Element> createNewComponentList(ActionChangeSet actionChangeSet, IdentifyingAttributes newIdentAttributes)
public int countAllContainedElements()
Copyright © 2018 ReTest GmbH. All rights reserved.