Package gov.nasa.arc.pds.xml.generated
Class Resource
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.Resource
-
public class Resource extends java.lang.ObjectThe Resource class provides a description of a web resource.Java class for Resource complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Resource"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name" minOccurs="0"/> <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}type"/> <element name="url" type="{http://pds.nasa.gov/pds4/pds/v1}url"/> <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected java.lang.Stringnameprotected java.lang.Stringtypeprotected java.lang.Stringurl
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetType()Gets the value of the type property.java.lang.StringgetUrl()Gets the value of the url property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetType(java.lang.String value)Sets the value of the type property.voidsetUrl(java.lang.String value)Sets the value of the url property.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getUrl
public java.lang.String getUrl()
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
public void setUrl(java.lang.String value)
Sets the value of the url property.- Parameters:
value- allowed object isString
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
-