View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.policyconfiguration;
3   
4   import java.io.Serializable;
5   import java.util.ArrayList;
6   import java.util.List;
7   import javax.xml.bind.annotation.XmlAccessType;
8   import javax.xml.bind.annotation.XmlAccessorType;
9   import javax.xml.bind.annotation.XmlElement;
10  import javax.xml.bind.annotation.XmlType;
11  import org.miloss.fgsms.services.interfaces.common.NameValuePair;
12  
13  
14  /**
15   * Defines a policy for sharing data via federated partners and components, such as UDDI
16   * 
17   * <p>Java class for FederationPolicy complex type.
18   * 
19   * <p>The following schema fragment specifies the expected content contained within this class.
20   * 
21   * <pre>
22   * &lt;complexType name="FederationPolicy">
23   *   &lt;complexContent>
24   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25   *       &lt;sequence>
26   *         &lt;element name="parameter_name_value" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair" maxOccurs="unbounded"/>
27   *         &lt;element name="implementing_class_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
28   *       &lt;/sequence>
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   * 
34   * 
35   */
36  @XmlAccessorType(XmlAccessType.FIELD)
37  @XmlType(name = "FederationPolicy", propOrder = {
38      "parameterNameValue",
39      "implementingClassName"
40  })
41  public class FederationPolicy
42      implements Serializable
43  {
44  
45      private final static long serialVersionUID = 1L;
46      @XmlElement(name = "parameter_name_value", required = false)
47      protected List<NameValuePair> parameterNameValue;
48      @XmlElement(name = "implementing_class_name", required = true)
49      protected String implementingClassName;
50  
51      /**
52       * Gets the value of the parameterNameValue property.
53       * 
54       * <p>
55       * This accessor method returns a reference to the live list,
56       * not a snapshot. Therefore any modification you make to the
57       * returned list will be present inside the JAXB object.
58       * This is why there is not a <CODE>set</CODE> method for the parameterNameValue property.
59       * 
60       * <p>
61       * For example, to add a new item, do as follows:
62       * <pre>
63       *    getParameterNameValue().add(newItem);
64       * </pre>
65       * 
66       * 
67       * <p>
68       * Objects of the following type(s) are allowed in the list
69       * {@link NameValuePair }
70       * 
71       * 
72       */
73      public List<NameValuePair> getParameterNameValue() {
74          if (parameterNameValue == null) {
75              parameterNameValue = new ArrayList<NameValuePair>();
76          }
77          return this.parameterNameValue;
78      }
79  
80      public boolean isSetParameterNameValue() {
81          return ((this.parameterNameValue!= null)&&(!this.parameterNameValue.isEmpty()));
82      }
83  
84      public void unsetParameterNameValue() {
85          this.parameterNameValue = null;
86      }
87  
88      /**
89       * Gets the value of the implementingClassName property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link String }
94       *     
95       */
96      public String getImplementingClassName() {
97          return implementingClassName;
98      }
99  
100     /**
101      * Sets the value of the implementingClassName property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link String }
106      *     
107      */
108     public void setImplementingClassName(String value) {
109         this.implementingClassName = value;
110     }
111 
112     public boolean isSetImplementingClassName() {
113         return (this.implementingClassName!= null);
114     }
115 
116 }