org.unece.cefact.namespaces.standardbusinessdocumentheader
Class Scope

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

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

Java class for Scope complex type.

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

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


Field Summary
protected  String identifier
           
protected  String instanceIdentifier
           
protected  List<Object> scopeInformations
           
protected  String type
           
 
Constructor Summary
Scope()
          Default no-arg constructor
Scope(String type, String instanceIdentifier, String identifier, List<Object> scopeInformations)
          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)
           
 String getIdentifier()
          Gets the value of the identifier property.
 String getInstanceIdentifier()
          Gets the value of the instanceIdentifier property.
 List<Object> getScopeInformations()
          Gets the value of the scopeInformations property.
 String getType()
          Gets the value of the type property.
 void setIdentifier(String value)
          Sets the value of the identifier property.
 void setInstanceIdentifier(String value)
          Sets the value of the instanceIdentifier property.
 void setScopeInformations(List<Object> value)
           
 void setType(String value)
          Sets the value of the type property.
 String toString()
           
 Scope withIdentifier(String value)
           
 Scope withInstanceIdentifier(String value)
           
 Scope withScopeInformations(Collection<Object> values)
           
 Scope withScopeInformations(List<Object> value)
           
 Scope withScopeInformations(Object... values)
           
 Scope withType(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected String type

instanceIdentifier

protected String instanceIdentifier

identifier

protected String identifier

scopeInformations

protected List<Object> scopeInformations
Constructor Detail

Scope

public Scope()
Default no-arg constructor


Scope

public Scope(String type,
             String instanceIdentifier,
             String identifier,
             List<Object> scopeInformations)
Fully-initialising value constructor

Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getInstanceIdentifier

public String getInstanceIdentifier()
Gets the value of the instanceIdentifier property.

Returns:
possible object is String

setInstanceIdentifier

public void setInstanceIdentifier(String value)
Sets the value of the instanceIdentifier property.

Parameters:
value - allowed object is String

getIdentifier

public String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getScopeInformations

public List<Object> getScopeInformations()
Gets the value of the scopeInformations 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 scopeInformations property.

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

    getScopeInformations().add(newItem);
 

Objects of the following type(s) are allowed in the list Object JAXBElement<CorrelationInformation> JAXBElement<BusinessService> JAXBElement<Object> Element


setScopeInformations

public void setScopeInformations(List<Object> 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

withType

public Scope withType(String value)

withInstanceIdentifier

public Scope withInstanceIdentifier(String value)

withIdentifier

public Scope withIdentifier(String value)

withScopeInformations

public Scope withScopeInformations(Object... values)

withScopeInformations

public Scope withScopeInformations(Collection<Object> values)

withScopeInformations

public Scope withScopeInformations(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.