com.atlassian.jira.webtest.framework.core.locator.mapper
Class LocatorDataBean
java.lang.Object
com.atlassian.jira.webtest.framework.core.locator.mapper.LocatorDataBean
- All Implemented Interfaces:
- LocatorData
public final class LocatorDataBean
- extends Object
- implements LocatorData
A simple bean holding main locator data: type and value. It defines equals(Object)
and
hashCode()
and thus may be safely used as a collection/map element.
- Since:
- v4.3
LocatorDataBean
public LocatorDataBean(LocatorType type,
String value)
LocatorDataBean
public LocatorDataBean(LocatorData toCopy)
type
public LocatorType type()
- Description copied from interface:
LocatorData
- Type of the locator.
- Specified by:
type
in interface LocatorData
- Returns:
- type of the locator
- See Also:
LocatorType
value
public String value()
- Description copied from interface:
LocatorData
- Value of the locator, used to query and manipulate it in the current test context.
- Specified by:
value
in interface LocatorData
- Returns:
- value of the locator instance represented by this data
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.