org.s_ramp.xmlns._2010.s_ramp
Class Service

java.lang.Object
  extended by org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType
      extended by org.s_ramp.xmlns._2010.s_ramp.SoaModelType
          extended by org.s_ramp.xmlns._2010.s_ramp.PolicySubject
              extended by org.s_ramp.xmlns._2010.s_ramp.Element
                  extended by org.s_ramp.xmlns._2010.s_ramp.Service
All Implemented Interfaces:
Serializable

public class Service
extends Element
implements Serializable

Java class for Service complex type.

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

 <complexType name="Service">
   <complexContent>
     <extension base="{http://s-ramp.org/xmlns/2010/s-ramp}Element">
       <sequence>
         <element name="hasContract" type="{http://s-ramp.org/xmlns/2010/s-ramp}serviceContractTarget" maxOccurs="unbounded" minOccurs="0"/>
         <element name="hasInterface" type="{http://s-ramp.org/xmlns/2010/s-ramp}serviceInterfaceTarget" maxOccurs="unbounded"/>
         <element name="hasInstance" type="{http://s-ramp.org/xmlns/2010/s-ramp}serviceInstanceTarget" minOccurs="0"/>
       </sequence>
       <anyAttribute/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ServiceContractTarget> hasContract
           
protected  ServiceInstanceTarget hasInstance
           
protected  List<ServiceInterfaceTarget> hasInterface
           
 
Fields inherited from class org.s_ramp.xmlns._2010.s_ramp.Element
directsOrchestration, directsOrchestrationProcess, generates, performs, represents, respondsTo, uses
 
Fields inherited from class org.s_ramp.xmlns._2010.s_ramp.SoaModelType
documentation
 
Fields inherited from class org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType
artifactType, classifiedBy, createdBy, createdTimestamp, description, lastModifiedBy, lastModifiedTimestamp, name, property, relationship, uuid, version
 
Constructor Summary
Service()
           
 
Method Summary
 List<ServiceContractTarget> getHasContract()
          Gets the value of the hasContract property.
 ServiceInstanceTarget getHasInstance()
          Gets the value of the hasInstance property.
 List<ServiceInterfaceTarget> getHasInterface()
          Gets the value of the hasInterface property.
 void setHasInstance(ServiceInstanceTarget value)
          Sets the value of the hasInstance property.
 
Methods inherited from class org.s_ramp.xmlns._2010.s_ramp.Element
getDirectsOrchestration, getDirectsOrchestrationProcess, getGenerates, getPerforms, getRepresents, getRespondsTo, getUses, setDirectsOrchestration, setDirectsOrchestrationProcess
 
Methods inherited from class org.s_ramp.xmlns._2010.s_ramp.SoaModelType
getDocumentation
 
Methods inherited from class org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType
getArtifactType, getClassifiedBy, getCreatedBy, getCreatedTimestamp, getDescription, getLastModifiedBy, getLastModifiedTimestamp, getName, getOtherAttributes, getProperty, getRelationship, getUuid, getVersion, setArtifactType, setCreatedBy, setCreatedTimestamp, setDescription, setLastModifiedBy, setLastModifiedTimestamp, setName, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasContract

protected List<ServiceContractTarget> hasContract

hasInterface

protected List<ServiceInterfaceTarget> hasInterface

hasInstance

protected ServiceInstanceTarget hasInstance
Constructor Detail

Service

public Service()
Method Detail

getHasContract

public List<ServiceContractTarget> getHasContract()
Gets the value of the hasContract 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 hasContract property.

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

    getHasContract().add(newItem);
 

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


getHasInterface

public List<ServiceInterfaceTarget> getHasInterface()
Gets the value of the hasInterface 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 hasInterface property.

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

    getHasInterface().add(newItem);
 

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


getHasInstance

public ServiceInstanceTarget getHasInstance()
Gets the value of the hasInstance property.

Returns:
possible object is ServiceInstanceTarget

setHasInstance

public void setHasInstance(ServiceInstanceTarget value)
Sets the value of the hasInstance property.

Parameters:
value - allowed object is ServiceInstanceTarget


Copyright © 2011-2012 JBoss, a division of Red Hat. All Rights Reserved.