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.foxml;
 

Java class for contentLocationType complex type.

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

 <complexType name="contentLocationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="TYPE" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="INTERNAL_ID"/>
             <enumeration value="URL"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="REF" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
             <minLength value="1"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "contentLocationType")
 public class ContentLocationType {
 
     @XmlAttribute(name = "TYPE", required = true)
     protected String type;
     @XmlAttribute(name = "REF", required = true)
     protected String ref;

    
Gets the value of the type property.

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

    
Sets the value of the type property.

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

    
Gets the value of the ref property.

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

    
Sets the value of the ref property.

Parameters:
value allowed object is
    public void setREF(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X