/*******************************************************************************
* Copyright (c) 2006-2010 eBay Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*******************************************************************************/
package org.ebayopensource.turmeric.policy.adminui.client.model.policy;
/**
* AttributeValueImpl.
*/
public class AttributeValueImpl implements AttributeValue {
private String dataType;
private String value;
/**
* Sets the data type.
*
* @param dataType
* the new data type
*/
public void setDataType(String dataType) {
this.dataType = dataType;
}
/* (non-Javadoc)
* @see org.ebayopensource.turmeric.policy.adminui.client.model.policy.AttributeValue#getDataType()
*/
@Override
public String getDataType() {
return dataType;
}
/**
* Sets the value.
*
* @param value
* the new value
*/
public void setValue(String value) {
this.value = value;
}
/* (non-Javadoc)
* @see org.ebayopensource.turmeric.policy.adminui.client.model.policy.AttributeValue#getValue()
*/
@Override
public String getValue() {
return value;
}
}