Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2012.08.31 at 05:43:55 PM SGT 
  //
  
  
  package com.yourmediashelf.fedora.generated.access;
 
 import java.util.List;

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="{http://www.fedora.info/definitions/1/0/access/}PID-namespaceIdentifier"/>
         <element ref="{http://www.fedora.info/definitions/1/0/access/}PID-delimiter"/>
         <element ref="{http://www.fedora.info/definitions/1/0/access/}PID-sample"/>
         <element ref="{http://www.fedora.info/definitions/1/0/access/}retainPID" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "pidNamespaceIdentifier",
     "pidDelimiter",
     "pidSample",
     "retainPID"
 })
 @XmlRootElement(name = "repositoryPID")
 public class RepositoryPID {
 
     @XmlElement(name = "PID-namespaceIdentifier", required = true)
     protected String pidNamespaceIdentifier;
     @XmlElement(name = "PID-delimiter", required = true)
     protected String pidDelimiter;
     @XmlElement(name = "PID-sample", required = true)
     protected String pidSample;
     @XmlElement(required = true)
     protected List<StringretainPID;

    
Gets the value of the pidNamespaceIdentifier property.

Returns:
possible object is
 
     public String getPIDNamespaceIdentifier() {
         return ;
     }

    
Sets the value of the pidNamespaceIdentifier property.

Parameters:
value allowed object is
 
     public void setPIDNamespaceIdentifier(String value) {
         this. = value;
     }

    
Gets the value of the pidDelimiter property.

Returns:
possible object is
 
     public String getPIDDelimiter() {
         return ;
     }

    
Sets the value of the pidDelimiter property.

Parameters:
value allowed object is
    public void setPIDDelimiter(String value) {
        this. = value;
    }

    
Gets the value of the pidSample property.

Returns:
possible object is
    public String getPIDSample() {
        return ;
    }

    
Sets the value of the pidSample property.

Parameters:
value allowed object is
    public void setPIDSample(String value) {
        this. = value;
    }

    
Gets the value of the retainPID 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 retainPID property.

For example, to add a new item, do as follows:

    getRetainPID().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<StringgetRetainPID() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X