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

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

Description of an OAI-PMH Interface. More...

List of all members.

Classes

class  Set

Public Member Functions

String getBaseUrl ()
 Gets the value of the baseUrl property.
void setBaseUrl (String value)
 Sets the value of the baseUrl property.
String getMetadataPrefix ()
 Gets the value of the metadataPrefix property.
void setMetadataPrefix (String value)
 Sets the value of the metadataPrefix property.
Metadata.Set getSet ()
 Gets the value of the set property.
void setSet (Metadata.Set value)
 Sets the value of the set 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 baseUrl
String metadataPrefix
Metadata.Set set
List< Object > any
String id

Detailed Description

Description of an OAI-PMH Interface.

This interface is used to publish ISO 19139 documents to be harvested by the C3-Grid information service. For a specification of the OAI-PMH see http://www.openarchives.org/OAI/openarchivesprotocol.html#MetadataNamespaces

Java class for metadata complex type.

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

 <complexType name="metadata">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="baseUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="metadataPrefix" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="set">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="setSpec" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <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.Metadata.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.Metadata.getBaseUrl ( )

Gets the value of the baseUrl property.

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

Gets the value of the id property.

Returns:
possible object is String
                          {
        return id;
    }
String de.zib.gndms.c3resource.jaxb.Metadata.getMetadataPrefix ( )

Gets the value of the metadataPrefix property.

Returns:
possible object is String
                                      {
        return metadataPrefix;
    }
Metadata.Set de.zib.gndms.c3resource.jaxb.Metadata.getSet ( )

Gets the value of the set property.

Returns:
possible object is Metadata.Set
                                 {
        return set;
    }
void de.zib.gndms.c3resource.jaxb.Metadata.setBaseUrl ( String  value)

Sets the value of the baseUrl property.

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

Sets the value of the id property.

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

Sets the value of the metadataPrefix property.

Parameters:
valueallowed object is String
                                                {
        this.metadataPrefix = value;
    }
void de.zib.gndms.c3resource.jaxb.Metadata.setSet ( Metadata.Set  value)

Sets the value of the set property.

Parameters:
valueallowed object is Metadata.Set
                                           {
        this.set = value;
    }
String de.zib.gndms.c3resource.jaxb.Metadata.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