com.eu.miscedautils.ipxact.AbstractionDefinition
Class ServiceType

java.lang.Object
  extended by com.eu.miscedautils.ipxact.AbstractionDefinition.ServiceType

public class ServiceType
extends java.lang.Object

The service that this transactional port can provide or requires.

Java class for serviceType complex type.

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

 <complexType name="serviceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="initiative">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="requires"/>
               <enumeration value="provides"/>
               <enumeration value="both"/>
             </restriction>
           </simpleType>
         </element>
         <element name="typeName" maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="implicit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element ref="{http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009}vendorExtensions" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ServiceType.TypeName
          Java class for anonymous complex type.
 
Constructor Summary
ServiceType()
           
 
Method Summary
 java.lang.String getInitiative()
          Gets the value of the initiative property.
 java.util.List<ServiceType.TypeName> getTypeName()
          Gets the value of the typeName property.
 VendorExtensions getVendorExtensions()
          Gets the value of the vendorExtensions property.
 void setInitiative(java.lang.String value)
          Sets the value of the initiative property.
 void setVendorExtensions(VendorExtensions value)
          Sets the value of the vendorExtensions property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceType

public ServiceType()
Method Detail

getInitiative

public java.lang.String getInitiative()
Gets the value of the initiative property.

Returns:
possible object is String

setInitiative

public void setInitiative(java.lang.String value)
Sets the value of the initiative property.

Parameters:
value - allowed object is String

getTypeName

public java.util.List<ServiceType.TypeName> getTypeName()
Gets the value of the typeName 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 typeName property.

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

    getTypeName().add(newItem);
 

Objects of the following type(s) are allowed in the list ServiceType.TypeName


getVendorExtensions

public VendorExtensions getVendorExtensions()
Gets the value of the vendorExtensions property.

Returns:
possible object is VendorExtensions

setVendorExtensions

public void setVendorExtensions(VendorExtensions value)
Sets the value of the vendorExtensions property.

Parameters:
value - allowed object is VendorExtensions