GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Protected Attributes

de.zib.gndms.c3resource.jaxb.Site Class Reference

Resource information of one site or institute. More...

List of all members.

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< WorkspacegetWorkspace ()
 Gets the value of the workspace property.
List< MetadatagetMetadata ()
 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< Workspaceworkspace
List< Metadatametadata
List< Object > any
String id

Detailed Description

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>
 

Member Function Documentation

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 ( )

Gets the value of the contact property.

Returns:
possible object is String
                               {
        return contact;
    }
String de.zib.gndms.c3resource.jaxb.Site.getId ( )

Gets the value of the id property.

Returns:
possible object is String
                          {
        return id;
    }
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.

Returns:
possible object is String
                                    {
        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.

Parameters:
valueallowed object is String
                                         {
        this.contact = value;
    }
void de.zib.gndms.c3resource.jaxb.Site.setId ( String  value)

Sets the value of the id property.

Parameters:
valueallowed object is String
                                    {
        this.id = value;
    }
void de.zib.gndms.c3resource.jaxb.Site.setOrganization ( String  value)

Sets the value of the organization property.

Parameters:
valueallowed 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);
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables