Class ResourceDescription
- java.lang.Object
-
- fi.tut.mei.resdescapi.rdapi.model.rd.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
author
protected String
company
protected XMLGregorianCalendar
created
protected Boolean
deprecated
protected VersionCT
descriptionVersion
protected String
email
protected List<ExtensionDataCT>
extension
protected String
gid
protected String
id
protected LicenseCT
license
protected XMLGregorianCalendar
modified
protected String
name
protected String
phone
protected List<ResourceCT>
resource
protected String
schemaVersion
protected BigInteger
serialNumber
protected SharedElementCT
sharedElements
protected String
type
protected String
url
protected String
variant
protected String
version
-
Constructor Summary
Constructors Constructor Description ResourceDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
Gets the value of the author property.String
getCompany()
Gets the value of the company property.XMLGregorianCalendar
getCreated()
Gets the value of the created property.VersionCT
getDescriptionVersion()
Gets the value of the descriptionVersion property.String
getEmail()
Gets the value of the email property.List<ExtensionDataCT>
getExtension()
Gets the value of the extension property.String
getGid()
Gets the value of the gid property.String
getId()
Gets the value of the id property.LicenseCT
getLicense()
Gets the value of the license property.XMLGregorianCalendar
getModified()
Gets the value of the modified property.String
getName()
Gets the value of the name property.String
getPhone()
Gets the value of the phone property.List<ResourceCT>
getResource()
Gets the value of the resource property.String
getSchemaVersion()
Gets the value of the schemaVersion property.BigInteger
getSerialNumber()
Gets the value of the serialNumber property.SharedElementCT
getSharedElements()
Gets the value of the sharedElements property.String
getType()
Gets the value of the type property.String
getURL()
Gets the value of the url property.String
getVariant()
Gets the value of the variant property.String
getVersion()
Gets the value of the version property.boolean
isDeprecated()
Gets the value of the deprecated property.void
setAuthor(String value)
Sets the value of the author property.void
setCompany(String value)
Sets the value of the company property.void
setCreated(XMLGregorianCalendar value)
Sets the value of the created property.void
setDeprecated(Boolean value)
Sets the value of the deprecated property.void
setDescriptionVersion(VersionCT value)
Sets the value of the descriptionVersion property.void
setEmail(String value)
Sets the value of the email property.void
setGid(String value)
Sets the value of the gid property.void
setId(String value)
Sets the value of the id property.void
setLicense(LicenseCT value)
Sets the value of the license property.void
setModified(XMLGregorianCalendar value)
Sets the value of the modified property.void
setName(String value)
Sets the value of the name property.void
setPhone(String value)
Sets the value of the phone property.void
setSchemaVersion(String value)
Sets the value of the schemaVersion property.void
setSerialNumber(BigInteger value)
Sets the value of the serialNumber property.void
setSharedElements(SharedElementCT value)
Sets the value of the sharedElements property.void
setType(String value)
Sets the value of the type property.void
setURL(String value)
Sets the value of the url property.void
setVariant(String value)
Sets the value of the variant property.void
setVersion(String value)
Sets the value of the version property.
-
-
-
Field Detail
-
license
protected LicenseCT license
-
sharedElements
protected SharedElementCT sharedElements
-
resource
protected List<ResourceCT> resource
-
descriptionVersion
protected VersionCT descriptionVersion
-
serialNumber
protected BigInteger serialNumber
-
extension
protected List<ExtensionDataCT> extension
-
schemaVersion
protected String schemaVersion
-
id
protected String id
-
gid
protected String gid
-
name
protected String name
-
type
protected String type
-
variant
protected String variant
-
version
protected String version
-
url
protected String url
-
author
protected String author
-
email
protected String email
-
company
protected String company
-
phone
protected String phone
-
created
protected XMLGregorianCalendar created
-
modified
protected XMLGregorianCalendar modified
-
deprecated
protected Boolean deprecated
-
-
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 isLicenseCT
-
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 isSharedElementCT
-
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 isVersionCT
-
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 isBigInteger
-
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 isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
getCreated
public XMLGregorianCalendar getCreated()
Gets the value of the created property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCreated
public void setCreated(XMLGregorianCalendar value)
Sets the value of the created property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getModified
public XMLGregorianCalendar getModified()
Gets the value of the modified property.- Returns:
- possible object is
XMLGregorianCalendar
-
setModified
public void setModified(XMLGregorianCalendar value)
Sets the value of the modified property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isDeprecated
public boolean isDeprecated()
Gets the value of the deprecated property.- Returns:
- possible object is
Boolean
-
-