blob: 1d6c1d4a0efc9ed89ed753330204f27558379c4e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2016 Orange.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.om2m.commons.resource;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
@XmlAccessorType(XmlAccessType.NONE)
@XmlJavaTypeAdapter(CustomAttributeAdapter.class)
public class CustomAttribute {
private String customAttributeName;
private String customAttributeValue;
public String getCustomAttributeName() {
return customAttributeName;
}
public void setCustomAttributeName(String customAttributeName) {
this.customAttributeName = customAttributeName;
}
public String getCustomAttributeValue() {
return customAttributeValue;
}
public void setCustomAttributeValue(String customAttributeValue) {
this.customAttributeValue = customAttributeValue;
}
@Override
public String toString() {
return "<CustomAttribute " + customAttributeName + "/" +
customAttributeValue + "/>";
}
}