public class PolicyAttachment extends DerivedArtifactType implements Serializable
Java class for PolicyAttachment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyAttachment">
<complexContent>
<extension base="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}DerivedArtifactType">
<sequence>
<element name="appliesTo" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}baseArtifactTarget" maxOccurs="unbounded"/>
<element name="policies" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}policyExpressionTarget" maxOccurs="unbounded"/>
</sequence>
<anyAttribute/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<BaseArtifactTarget> |
appliesTo |
protected List<PolicyExpressionTarget> |
policies |
relatedDocumentartifactType, classifiedBy, createdBy, createdTimestamp, description, lastModifiedBy, lastModifiedTimestamp, name, property, relationship, uuid, version| Constructor and Description |
|---|
PolicyAttachment() |
| Modifier and Type | Method and Description |
|---|---|
List<BaseArtifactTarget> |
getAppliesTo()
Gets the value of the appliesTo property.
|
List<PolicyExpressionTarget> |
getPolicies()
Gets the value of the policies property.
|
getRelatedDocument, setRelatedDocumentgetArtifactType, getClassifiedBy, getCreatedBy, getCreatedTimestamp, getDescription, getLastModifiedBy, getLastModifiedTimestamp, getName, getOtherAttributes, getProperty, getRelationship, getUuid, getVersion, setArtifactType, setCreatedBy, setCreatedTimestamp, setDescription, setLastModifiedBy, setLastModifiedTimestamp, setName, setUuid, setVersionprotected List<BaseArtifactTarget> appliesTo
protected List<PolicyExpressionTarget> policies
public List<BaseArtifactTarget> getAppliesTo()
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 appliesTo property.
For example, to add a new item, do as follows:
getAppliesTo().add(newItem);
Objects of the following type(s) are allowed in the list
BaseArtifactTarget
public List<PolicyExpressionTarget> getPolicies()
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 policies property.
For example, to add a new item, do as follows:
getPolicies().add(newItem);
Objects of the following type(s) are allowed in the list
PolicyExpressionTarget
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.