All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openprovenance.prov.xml.Label Maven / Gradle / Ivy

Go to download

Java Objects representing the PROV model and an XML serialiser/deserialiser for them. Classes were initially generated by JAXB, from the XML schema for PROV, and over time edited by hand.

There is a newer version: 1.0.0
Show newest version
package org.openprovenance.prov.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.openprovenance.prov.xml.builder.Equals;
import org.openprovenance.prov.xml.builder.HashCode;
import org.openprovenance.prov.xml.builder.ToString;
import org.openprovenance.prov.model.DOMProcessing;
import org.openprovenance.prov.model.QualifiedName;


/**
 * 

Java class for Location complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Location">
 *   <simpleContent>
 *     <extension base="<http://www.w3.org/2001/XMLSchema>anySimpleType">
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
 *     </extension>
 *   </simpleContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Role", namespace = "http://www.w3.org/ns/prov#") public class Label extends TypedValue implements Equals, HashCode, ToString, org.openprovenance.prov.model.Label, org.openprovenance.prov.model.Attribute { private static final AttributeKind PROV_LABEL_KIND = org.openprovenance.prov.model.Attribute.AttributeKind.PROV_LABEL; private static final QualifiedName PROV_LABEL_QualifiedName = ProvFactory.getFactory().getName().PROV_LABEL; @Override public QualifiedName getElementName() { return PROV_LABEL_QualifiedName; } @Override public AttributeKind getKind() { return PROV_LABEL_KIND; } @Override public String toNotationString() { return DOMProcessing.qualifiedNameToString(getElementName()) + " = " + ProvUtilities.valueToNotationString(getValue(), null); //getType()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy