
org.jclouds.dmtf.ovf.environment.Property Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dmtf Show documentation
Show all versions of dmtf Show documentation
jclouds implementation of DMTF OVF and CIM domain objects
/*
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you 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
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.jclouds.dmtf.ovf.environment;
import static org.jclouds.dmtf.DMTFConstants.OVF_ENV_NS;
import java.util.Map;
import com.google.common.collect.Maps;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
/**
* Java class for anonymous complex type.
*/
@XmlType(name = "")
public class Property {
@XmlAttribute(namespace = OVF_ENV_NS, required = true)
protected String key;
@XmlAttribute(namespace = OVF_ENV_NS, required = true)
protected String value;
@XmlAnyAttribute
private Map otherAttributes = Maps.newHashMap();
/**
* Gets the value of the key property.
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the value property.
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*/
public Map getOtherAttributes() {
return otherAttributes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy