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

com.adlibsoftware.client.MetadataItem Maven / Gradle / Ivy


package com.adlibsoftware.client;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for MetadataItem complex type. * *

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

 * <complexType name="MetadataItem">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *         <element name="Type" type="{http://schemas.datacontract.org/2004/07/Adlib.Public.Enums}MetadataType"/>
 *         <element name="Schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MetadataItem", namespace = "http://schemas.datacontract.org/2004/07/Adlib.Public.Objects", propOrder = { "name", "value", "type", "schema" }) public class MetadataItem { @XmlElement(name = "Name", required = true, nillable = true) protected String name; @XmlElement(name = "Value", required = true, nillable = true) protected Object value; @XmlElement(name = "Type", required = true) @XmlSchemaType(name = "string") protected MetadataType type; @XmlElementRef(name = "Schema", namespace = "http://schemas.datacontract.org/2004/07/Adlib.Public.Objects", type = JAXBElement.class, required = false) protected JAXBElement schema; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link Object } * */ public Object getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link Object } * */ public void setValue(Object value) { this.value = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link MetadataType } * */ public MetadataType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link MetadataType } * */ public void setType(MetadataType value) { this.type = value; } /** * Gets the value of the schema property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public JAXBElement getSchema() { return schema; } /** * Sets the value of the schema property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public void setSchema(JAXBElement value) { this.schema = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy