Class InstanceType

java.lang.Object
eu.openaire.oaf.InstanceType

public class InstanceType extends Object

Java class for instanceType complex type.

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

 <complexType name="instanceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="license" type="{http://namespace.openaire.eu/oaf}fieldType"/>
         <element name="accessright" type="{http://namespace.openaire.eu/oaf}qualifierType"/>
         <element name="instancetype" type="{http://namespace.openaire.eu/oaf}qualifierType"/>
         <element name="collectedfrom" type="{http://namespace.openaire.eu/oaf}namedIdElementType"/>
         <element name="hostedby" type="{http://namespace.openaire.eu/oaf}namedIdElementType"/>
         <element name="webresource" type="{http://namespace.openaire.eu/oaf}webresourceType" maxOccurs="unbounded"/>
         <element name="distributionlocation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="dateofacceptance" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="processingchargeamount" type="{http://namespace.openaire.eu/oaf}fieldType"/>
         <element name="processingchargecurrency" type="{http://namespace.openaire.eu/oaf}fieldType"/>
         <element name="refereed" type="{http://namespace.openaire.eu/oaf}fieldType"/>
       </choice>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • licenseOrAccessrightOrInstancetype

      protected List<jakarta.xml.bind.JAXBElement<?>> licenseOrAccessrightOrInstancetype
    • id

      protected String id
  • Constructor Details

    • InstanceType

      public InstanceType()
  • Method Details

    • getLicenseOrAccessrightOrInstancetype

      public List<jakarta.xml.bind.JAXBElement<?>> getLicenseOrAccessrightOrInstancetype()
      Gets the value of the licenseOrAccessrightOrInstancetype property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the licenseOrAccessrightOrInstancetype property.

      For example, to add a new item, do as follows:

          getLicenseOrAccessrightOrInstancetype().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<FieldType> JAXBElement<FieldType> JAXBElement<FieldType> JAXBElement<FieldType> JAXBElement<NamedIdElementType> JAXBElement<NamedIdElementType> JAXBElement<QualifierType> JAXBElement<QualifierType> JAXBElement<WebresourceType> JAXBElement<String> JAXBElement<String>

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String