GNDMS 0.6.0
RESTful verison of GNDMS
|
Resource information of one site or institute. More...
Public Member Functions | |
String | getOrganization () |
Gets the value of the organization property. | |
void | setOrganization (String value) |
Sets the value of the organization property. | |
String | getContact () |
Gets the value of the contact property. | |
void | setContact (String value) |
Sets the value of the contact property. | |
List< Workspace > | getWorkspace () |
Gets the value of the workspace property. | |
List< Metadata > | getMetadata () |
Gets the value of the metadata property. | |
List< Object > | getAny () |
Gets the value of the any property. | |
String | getId () |
Gets the value of the id property. | |
void | setId (String value) |
Sets the value of the id property. | |
String | toString () |
Generates a String representation of the contents of this type. | |
Protected Attributes | |
String | organization |
String | contact |
List< Workspace > | workspace |
List< Metadata > | metadata |
List< Object > | any |
String | id |
Resource information of one site or institute.
This contains the description of the workspaces, the execution environement and the archive and metadata harvesting interfaces.
Java class for site complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="site"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="organization" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="contact" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="workspace" type="{http://c3grid.de/language/resouces/2007-05-16-resources.xsd}workspace" maxOccurs="unbounded" minOccurs="0"/> <element name="metadata" type="{http://c3grid.de/language/resouces/2007-05-16-resources.xsd}metadata" maxOccurs="unbounded" minOccurs="0"/> <any/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
List<Object> de.zib.gndms.c3resource.jaxb.Site.getAny | ( | ) |
Gets the value of the any 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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Object
{ if (any == null) { any = new ArrayList<Object>(); } return this.any; }
String de.zib.gndms.c3resource.jaxb.Site.getContact | ( | ) |
String de.zib.gndms.c3resource.jaxb.Site.getId | ( | ) |
List<Metadata> de.zib.gndms.c3resource.jaxb.Site.getMetadata | ( | ) |
Gets the value of the metadata 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 metadata property.
For example, to add a new item, do as follows:
getMetadata().add(newItem);
Objects of the following type(s) are allowed in the list Metadata
{ if (metadata == null) { metadata = new ArrayList<Metadata>(); } return this.metadata; }
String de.zib.gndms.c3resource.jaxb.Site.getOrganization | ( | ) |
Gets the value of the organization property.
{
return organization;
}
List<Workspace> de.zib.gndms.c3resource.jaxb.Site.getWorkspace | ( | ) |
Gets the value of the workspace 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 workspace property.
For example, to add a new item, do as follows:
getWorkspace().add(newItem);
Objects of the following type(s) are allowed in the list Workspace
{ if (workspace == null) { workspace = new ArrayList<Workspace>(); } return this.workspace; }
void de.zib.gndms.c3resource.jaxb.Site.setContact | ( | String | value | ) |
Sets the value of the contact property.
value | allowed object is String |
{ this.contact = value; }
void de.zib.gndms.c3resource.jaxb.Site.setId | ( | String | value | ) |
void de.zib.gndms.c3resource.jaxb.Site.setOrganization | ( | String | value | ) |
Sets the value of the organization property.
value | allowed object is String |
{ this.organization = value; }
String de.zib.gndms.c3resource.jaxb.Site.toString | ( | ) |
Generates a String representation of the contents of this type.
This is an extension method, produced by the 'ts' xjc plugin
{ return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.MULTI_LINE_STYLE); }