org.s_ramp.xmlns._2010.s_ramp
Class PolicyAttachment

java.lang.Object
  extended by org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType
      extended by org.s_ramp.xmlns._2010.s_ramp.DerivedArtifactType
          extended by org.s_ramp.xmlns._2010.s_ramp.PolicyAttachment
All Implemented Interfaces:
Serializable

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://s-ramp.org/xmlns/2010/s-ramp}DerivedArtifactType">
       <sequence>
         <element name="appliesTo" type="{http://s-ramp.org/xmlns/2010/s-ramp}baseArtifactTarget" maxOccurs="unbounded"/>
         <element name="policies" type="{http://s-ramp.org/xmlns/2010/s-ramp}policyExpressionTarget" maxOccurs="unbounded"/>
       </sequence>
       <anyAttribute/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<BaseArtifactTarget> appliesTo
           
protected  List<PolicyExpressionTarget> policies
           
 
Fields inherited from class org.s_ramp.xmlns._2010.s_ramp.DerivedArtifactType
relatedDocument
 
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
PolicyAttachment()
           
 
Method Summary
 List<BaseArtifactTarget> getAppliesTo()
          Gets the value of the appliesTo property.
 List<PolicyExpressionTarget> getPolicies()
          Gets the value of the policies property.
 
Methods inherited from class org.s_ramp.xmlns._2010.s_ramp.DerivedArtifactType
getRelatedDocument, setRelatedDocument
 
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

appliesTo

protected List<BaseArtifactTarget> appliesTo

policies

protected List<PolicyExpressionTarget> policies
Constructor Detail

PolicyAttachment

public PolicyAttachment()
Method Detail

getAppliesTo

public List<BaseArtifactTarget> getAppliesTo()
Gets the value of the appliesTo 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 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


getPolicies

public List<PolicyExpressionTarget> getPolicies()
Gets the value of the policies 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 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-2012 JBoss, a division of Red Hat. All Rights Reserved.