org.archiviststoolkit.structure.MODS
Class LocationType

java.lang.Object
  extended by org.archiviststoolkit.structure.MODS.LocationType

public class LocationType
extends java.lang.Object

Java class for locationType complex type.

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

 <complexType name="locationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="physicalLocation" type="{http://www.loc.gov/mods/v3}physicalLocationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="url" type="{http://www.loc.gov/mods/v3}urlType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<PhysicalLocationType> physicalLocation
           
protected  java.util.List<UrlType> url
           
 
Constructor Summary
LocationType()
           
 
Method Summary
 java.util.List<PhysicalLocationType> getPhysicalLocation()
          Gets the value of the physicalLocation property.
 java.util.List<UrlType> getUrl()
          Gets the value of the url property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

physicalLocation

protected java.util.List<PhysicalLocationType> physicalLocation

url

protected java.util.List<UrlType> url
Constructor Detail

LocationType

public LocationType()
Method Detail

getPhysicalLocation

public java.util.List<PhysicalLocationType> getPhysicalLocation()
Gets the value of the physicalLocation 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 physicalLocation property.

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

    getPhysicalLocation().add(newItem);
 

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


getUrl

public java.util.List<UrlType> getUrl()
Gets the value of the url 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 url property.

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

    getUrl().add(newItem);
 

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