Class ResourceDescription


  • public class ResourceDescription
    extends Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}License"/>
             <element name="SharedElements" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}SharedElement_CT"/>
             <element name="Resource" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}Resource_CT" maxOccurs="unbounded"/>
             <element name="DescriptionVersion" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}Version_CT"/>
             <element name="SerialNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
             <element name="Extension" type="{https://resourcedescription.rd.tuni.fi/XMLSchema/2016}ExtensionData_CT" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="schemaVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="gid" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="variant" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
           <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="URL" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="author" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="email" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="company" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="phone" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="deprecated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ResourceDescription

        public ResourceDescription()
    • Method Detail

      • getLicense

        public LicenseCT getLicense()
        Gets the value of the license property.
        Returns:
        possible object is LicenseCT
      • setLicense

        public void setLicense​(LicenseCT value)
        Sets the value of the license property.
        Parameters:
        value - allowed object is LicenseCT
      • getSharedElements

        public SharedElementCT getSharedElements()
        Gets the value of the sharedElements property.
        Returns:
        possible object is SharedElementCT
      • setSharedElements

        public void setSharedElements​(SharedElementCT value)
        Sets the value of the sharedElements property.
        Parameters:
        value - allowed object is SharedElementCT
      • getResource

        public List<ResourceCT> getResource()
        Gets the value of the resource 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 JAXB object. This is why there is not a set method for the resource property.

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

            getResource().add(newItem);
         

        Objects of the following type(s) are allowed in the list ResourceCT

      • getDescriptionVersion

        public VersionCT getDescriptionVersion()
        Gets the value of the descriptionVersion property.
        Returns:
        possible object is VersionCT
      • setDescriptionVersion

        public void setDescriptionVersion​(VersionCT value)
        Sets the value of the descriptionVersion property.
        Parameters:
        value - allowed object is VersionCT
      • getSerialNumber

        public BigInteger getSerialNumber()
        Gets the value of the serialNumber property.
        Returns:
        possible object is BigInteger
      • setSerialNumber

        public void setSerialNumber​(BigInteger value)
        Sets the value of the serialNumber property.
        Parameters:
        value - allowed object is BigInteger
      • getExtension

        public List<ExtensionDataCT> getExtension()
        Gets the value of the extension 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 JAXB object. This is why there is not a set method for the extension property.

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

            getExtension().add(newItem);
         

        Objects of the following type(s) are allowed in the list ExtensionDataCT

      • getSchemaVersion

        public String getSchemaVersion()
        Gets the value of the schemaVersion property.
        Returns:
        possible object is String
      • setSchemaVersion

        public void setSchemaVersion​(String value)
        Sets the value of the schemaVersion property.
        Parameters:
        value - allowed object is 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
      • getGid

        public String getGid()
        Gets the value of the gid property.
        Returns:
        possible object is String
      • setGid

        public void setGid​(String value)
        Sets the value of the gid property.
        Parameters:
        value - allowed object is String
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getVariant

        public String getVariant()
        Gets the value of the variant property.
        Returns:
        possible object is String
      • setVariant

        public void setVariant​(String value)
        Sets the value of the variant property.
        Parameters:
        value - allowed object is String
      • getVersion

        public String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String
      • getURL

        public String getURL()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setURL

        public void setURL​(String value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getAuthor

        public String getAuthor()
        Gets the value of the author property.
        Returns:
        possible object is String
      • setAuthor

        public void setAuthor​(String value)
        Sets the value of the author property.
        Parameters:
        value - allowed object is String
      • getEmail

        public String getEmail()
        Gets the value of the email property.
        Returns:
        possible object is String
      • setEmail

        public void setEmail​(String value)
        Sets the value of the email property.
        Parameters:
        value - allowed object is String
      • getCompany

        public String getCompany()
        Gets the value of the company property.
        Returns:
        possible object is String
      • setCompany

        public void setCompany​(String value)
        Sets the value of the company property.
        Parameters:
        value - allowed object is String
      • getPhone

        public String getPhone()
        Gets the value of the phone property.
        Returns:
        possible object is String
      • setPhone

        public void setPhone​(String value)
        Sets the value of the phone property.
        Parameters:
        value - allowed object is String
      • isDeprecated

        public boolean isDeprecated()
        Gets the value of the deprecated property.
        Returns:
        possible object is Boolean
      • setDeprecated

        public void setDeprecated​(Boolean value)
        Sets the value of the deprecated property.
        Parameters:
        value - allowed object is Boolean