Package org.mozilla.zest.core.v1
Class ZestElement
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- Direct Known Subclasses:
ZestAssertion,ZestAuthentication,ZestExpression,ZestFieldDefinition,ZestLoopState,ZestLoopTokenClientElementsSet,ZestLoopTokenFileSet,ZestLoopTokenIntegerSet,ZestLoopTokenRegexSet,ZestLoopTokenStringSet,ZestResponse,ZestStatement,ZestVariables
public abstract class ZestElement extends Object
The Class ZestElement.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_ELEMENT_TYPEThe Constant JSON_ELEMENT_TYPE.
-
Constructor Summary
Constructors Constructor Description ZestElement()Instantiates a new zest element.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ZestElementdeepCopy()Deep copy.StringgetElementType()Gets the element type.booleanisSameSubclass(ZestElement ze)Checks if is same subclass.voidsetElementType(String type)Sets the element type.
-
-
-
Field Detail
-
JSON_ELEMENT_TYPE
public static final String JSON_ELEMENT_TYPE
The Constant JSON_ELEMENT_TYPE.- See Also:
- Constant Field Values
-
-
Method Detail
-
getElementType
public String getElementType()
Gets the element type.- Returns:
- the element type
-
setElementType
public void setElementType(String type)
Sets the element type.- Parameters:
type- the new element type
-
isSameSubclass
public boolean isSameSubclass(ZestElement ze)
Checks if is same subclass.- Parameters:
ze- the ze- Returns:
- true, if is same subclass
-
deepCopy
public abstract ZestElement deepCopy()
Deep copy.- Returns:
- the zest element
-
-