/*
* Copyright 2001-2009 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.apache.juddi.api_v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3._2000._09.xmldsig_.SignatureType;
/**
* <p>Java class for publisher complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="publisher">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="publisherName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="emailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="isAdmin" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="isEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="maxBindingsPerService" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="maxBusinesses" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="maxServicePerBusiness" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="maxTModels" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="authorizedName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "publisher", propOrder = {
"publisherName",
"emailAddress",
"isAdmin",
"isEnabled",
"maxBindingsPerService",
"maxBusinesses",
"maxServicePerBusiness",
"maxTModels",
"signature"
})
public class Publisher {
@XmlElement(required = true)
protected String publisherName;
protected String emailAddress;
protected Boolean isAdmin;
protected Boolean isEnabled;
protected Integer maxBindingsPerService;
protected Integer maxBusinesses;
protected Integer maxServicePerBusiness;
protected Integer maxTModels;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected List<SignatureType> signature;
@XmlAttribute(name = "authorizedName", required = true)
protected String authorizedName;
/**
* Gets the value of the publisherName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPublisherName() {
return publisherName;
}
/**
* Sets the value of the publisherName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPublisherName(String value) {
this.publisherName = value; }
/**
* Gets the value of the emailAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmailAddress() {
return emailAddress;
}
/**
* Sets the value of the emailAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmailAddress(String value) {
this.emailAddress = value; }
/**
* Gets the value of the isAdmin property.
*
* @return
* possible object is
* {@link String }
*
*/
public Boolean isIsAdmin() {
return isAdmin;
}
/**
* Sets the value of the isAdmin property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsAdmin(Boolean value) {
this.isAdmin = value; }
/**
* Gets the value of the isEnabled property.
*
* @return
* possible object is
* {@link String }
*
*/
public Boolean isIsEnabled() {
return isEnabled;
}
/**
* Sets the value of the isEnabled property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsEnabled(Boolean value) {
this.isEnabled = value; }
/**
* Gets the value of the maxBindingsPerService property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaxBindingsPerService() {
return maxBindingsPerService;
}
/**
* Sets the value of the maxBindingsPerService property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxBindingsPerService(Integer value) {
this.maxBindingsPerService = value; }
/**
* Gets the value of the maxBusinesses property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaxBusinesses() {
return maxBusinesses;
}
/**
* Sets the value of the maxBusinesses property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxBusinesses(Integer value) {
this.maxBusinesses = value; }
/**
* Gets the value of the maxServicePerBusiness property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaxServicePerBusiness() {
return maxServicePerBusiness;
}
/**
* Sets the value of the maxServicePerBusiness property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxServicePerBusiness(Integer value) {
this.maxServicePerBusiness = value; }
/**
* Gets the value of the maxTModels property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaxTModels() {
return maxTModels;
}
/**
* Sets the value of the maxTModels property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxTModels(Integer value) {
this.maxTModels = value; }
/**
* Gets the value of the signature property.
*
* <p>
* 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 <CODE>set</CODE> method for the signature property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSignature().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SignatureType }
*
*
*/
public List<SignatureType> getSignature() {
if (signature == null) { signature = new ArrayList<SignatureType>();
}
return this.signature;
}
/**
* Gets the value of the authorizedName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthorizedName() {
return authorizedName;
}
/**
* Sets the value of the authorizedName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthorizedName(String value) {
this.authorizedName = value; }
}