energyml.relationships.Relationship Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.09.14 at 04:42:29 PM UTC
//
package energyml.relationships;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for Relationship complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Relationship">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="TargetMode" type="{http://schemas.openxmlformats.org/package/2006/relationships}TargetMode" />
* <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Relationship", propOrder = {
"value"
})
public class Relationship {
@XmlValue
protected String value;
@XmlAttribute(name = "TargetMode")
protected TargetMode targetMode;
@XmlAttribute(name = "Target", required = true)
@XmlSchemaType(name = "anyURI")
protected String target;
@XmlAttribute(name = "Type", required = true)
@XmlSchemaType(name = "anyURI")
protected String type;
@XmlAttribute(name = "Id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the targetMode property.
*
* @return
* possible object is
* {@link TargetMode }
*
*/
public TargetMode getTargetMode() {
return targetMode;
}
/**
* Sets the value of the targetMode property.
*
* @param value
* allowed object is
* {@link TargetMode }
*
*/
public void setTargetMode(TargetMode value) {
this.targetMode = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}