org.unece.cefact.namespaces.standardbusinessdocumentheader
Class BusinessScope

java.lang.Object
  extended by org.unece.cefact.namespaces.standardbusinessdocumentheader.BusinessScope
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class BusinessScope
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for BusinessScope complex type.

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

 <complexType name="BusinessScope">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Scope" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Scope" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Scope> scopes
           
 
Constructor Summary
BusinessScope()
          Default no-arg constructor
BusinessScope(List<Scope> scopes)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 List<Scope> getScopes()
          Gets the value of the scopes property.
 void setScopes(List<Scope> value)
           
 String toString()
           
 BusinessScope withScopes(Collection<Scope> values)
           
 BusinessScope withScopes(List<Scope> value)
           
 BusinessScope withScopes(Scope... values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scopes

protected List<Scope> scopes
Constructor Detail

BusinessScope

public BusinessScope()
Default no-arg constructor


BusinessScope

public BusinessScope(List<Scope> scopes)
Fully-initialising value constructor

Method Detail

getScopes

public List<Scope> getScopes()
Gets the value of the scopes 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 scopes property.

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

    getScopes().add(newItem);
 

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


setScopes

public void setScopes(List<Scope> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withScopes

public BusinessScope withScopes(Scope... values)

withScopes

public BusinessScope withScopes(Collection<Scope> values)

withScopes

public BusinessScope withScopes(List<Scope> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.