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://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}Element">
<sequence>
<element name="hasContract" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}serviceContractTarget" maxOccurs="unbounded" minOccurs="0"/>
<element name="hasInterface" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}serviceInterfaceTarget" maxOccurs="unbounded"/>
<element name="hasInstance" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}serviceInstanceTarget" minOccurs="0"/>
</sequence>
<anyAttribute/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ServiceContractTarget> |
hasContract |
protected ServiceInstanceTarget |
hasInstance |
protected List<ServiceInterfaceTarget> |
hasInterface |
directsOrchestration, directsOrchestrationProcess, generates, performs, represents, respondsTo, usesdocumentationartifactType, classifiedBy, createdBy, createdTimestamp, description, lastModifiedBy, lastModifiedTimestamp, name, property, relationship, uuid, version| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDirectsOrchestration, getDirectsOrchestrationProcess, getGenerates, getPerforms, getRepresents, getRespondsTo, getUses, setDirectsOrchestration, setDirectsOrchestrationProcessgetDocumentationgetArtifactType, getClassifiedBy, getCreatedBy, getCreatedTimestamp, getDescription, getLastModifiedBy, getLastModifiedTimestamp, getName, getOtherAttributes, getProperty, getRelationship, getUuid, getVersion, setArtifactType, setCreatedBy, setCreatedTimestamp, setDescription, setLastModifiedBy, setLastModifiedTimestamp, setName, setUuid, setVersionprotected List<ServiceContractTarget> hasContract
protected List<ServiceInterfaceTarget> hasInterface
protected ServiceInstanceTarget hasInstance
public List<ServiceContractTarget> getHasContract()
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
public List<ServiceInterfaceTarget> getHasInterface()
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
public ServiceInstanceTarget getHasInstance()
ServiceInstanceTargetpublic void setHasInstance(ServiceInstanceTarget value)
value - allowed object is
ServiceInstanceTargetCopyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.