/servers/jain-slee/resources/diameter-sh-client/common/events/src/main/java/org/mobicents/slee/resource/diameter/sh/events/avp/userdata/TInitialFilterCriteria.java
http://mobicents.googlecode.com/ · Java · 150 lines · 62 code · 17 blank · 71 comment · 2 complexity · b3e3d3a85e3319d452b97f03f825df3e MD5 · raw file
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
- package org.mobicents.slee.resource.diameter.sh.events.avp.userdata;
- 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.XmlAnyElement;
- import javax.xml.bind.annotation.XmlElement;
- import javax.xml.bind.annotation.XmlType;
- import net.java.slee.resource.diameter.sh.events.avp.userdata.ApplicationServer;
- import net.java.slee.resource.diameter.sh.events.avp.userdata.Extension;
- import net.java.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria;
- import net.java.slee.resource.diameter.sh.events.avp.userdata.Trigger;
- /**
- * <p>Java class for tInitialFilterCriteria complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType name="tInitialFilterCriteria">
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="Priority" type="{}tPriority"/>
- * <element name="TriggerPoint" type="{}tTrigger" minOccurs="0"/>
- * <element name="ApplicationServer" type="{}tApplicationServer"/>
- * <element name="Extension" type="{}tExtension" minOccurs="0"/>
- * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- * @author <a href="mailto:brainslog@gmail.com"> Alexandre Mendonca </a>
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "tInitialFilterCriteria", propOrder = {
- "priority",
- "triggerPoint",
- "applicationServer",
- "extension",
- "any"
- })
- public class TInitialFilterCriteria implements InitialFilterCriteria {
- @XmlElement(name = "Priority")
- protected int priority;
- @XmlElement(name = "TriggerPoint")
- protected TTrigger triggerPoint;
- @XmlElement(name = "ApplicationServer", required = true)
- protected TApplicationServer applicationServer;
- @XmlElement(name = "Extension")
- protected TExtension extension;
- @XmlAnyElement(lax = true)
- protected List<Object> any;
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#getPriority()
- */
- public int getPriority() {
- return priority;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#setPriority(int)
- */
- public void setPriority(int value) {
- this.priority = value;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#getTriggerPoint()
- */
- public Trigger getTriggerPoint() {
- return triggerPoint;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#setTriggerPoint(org.mobicents.slee.resource.diameter.sh.events.avp.userdata.TTrigger)
- */
- public void setTriggerPoint(Trigger value) {
- this.triggerPoint = (TTrigger) value;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#getApplicationServer()
- */
- public ApplicationServer getApplicationServer() {
- return applicationServer;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#setApplicationServer(org.mobicents.slee.resource.diameter.sh.events.avp.userdata.ApplicationServer)
- */
- public void setApplicationServer(ApplicationServer value) {
- this.applicationServer = (TApplicationServer) value;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#getExtension()
- */
- public Extension getExtension() {
- return extension;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#setExtension(org.mobicents.slee.resource.diameter.sh.events.avp.userdata.Extension)
- */
- public void setExtension(Extension value) {
- this.extension = (TExtension) value;
- }
- /* (non-Javadoc)
- * @see org.mobicents.slee.resource.diameter.sh.events.avp.userdata.InitialFilterCriteria#getAny()
- */
- public List<Object> getAny() {
- if (any == null) {
- any = new ArrayList<Object>();
- }
- return this.any;
- }
- }