/**
* <copyright>
* </copyright>
*
*
*/
package robot.resource.robot.mopp;
/**
* A basic implementation of the robot.resource.robot.IRobotElementMapping
* interface.
*
* @param <ReferenceType> the type of the reference that can be mapped to
*/
public class RobotElementMapping<ReferenceType> implements robot.resource.robot.IRobotElementMapping<ReferenceType> {
private final ReferenceType target;
private String identifier;
private String warning;
public RobotElementMapping(String identifier, ReferenceType target, String warning) {
super();
this.target = target;
this.identifier = identifier;
this.warning = warning;
}
public ReferenceType getTargetElement() {
return target;
}
public String getIdentifier() {
return identifier;
}
public String getWarning() {
return warning;
}
}