org.fosstrak.epcis.model
Class BusinessLocationType

java.lang.Object
  extended by org.fosstrak.epcis.model.BusinessLocationType

public class BusinessLocationType
extends Object

Java class for BusinessLocationType complex type.

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

 <complexType name="BusinessLocationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{urn:epcglobal:epcis:xsd:1}BusinessLocationIDType"/>
         <element name="extension" type="{urn:epcglobal:epcis:xsd:1}BusinessLocationExtensionType" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  BusinessLocationExtensionType extension
           
protected  String id
           
 
Constructor Summary
BusinessLocationType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 BusinessLocationExtensionType getExtension()
          Gets the value of the extension property.
 String getId()
          Gets the value of the id property.
 void setExtension(BusinessLocationExtensionType value)
          Sets the value of the extension property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

extension

protected BusinessLocationExtensionType extension

any

protected List<Object> any
Constructor Detail

BusinessLocationType

public BusinessLocationType()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getExtension

public BusinessLocationExtensionType getExtension()
Gets the value of the extension property.

Returns:
possible object is BusinessLocationExtensionType

setExtension

public void setExtension(BusinessLocationExtensionType value)
Sets the value of the extension property.

Parameters:
value - allowed object is BusinessLocationExtensionType

getAny

public List<Object> 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 Element Object



Copyright © 2010. All Rights Reserved.