All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exactpro.sf.messages.testaml.ApplicationHeaderInput Maven / Gradle / Ivy

There is a newer version: 3.4.260
Show newest version
/******************************************************************************
 * Copyright 2009-2018 Exactpro (Exactpro Systems Limited)
 *
 * 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 com.exactpro.sf.messages.testaml;

import com.exactpro.sf.common.impl.messages.DefaultMessageFactory;
import com.exactpro.sf.common.impl.messages.BaseMessage;
import com.exactpro.sf.common.messages.IMessageFactory;
import com.exactpro.sf.common.messages.IMessage;
import com.exactpro.sf.common.messages.FieldNotFoundException;
import com.exactpro.sf.aml.scriptutil.StaticUtil.IFilter;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.time.LocalTime;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.lang.Deprecated;

@SuppressWarnings("unused")
public class ApplicationHeaderInput extends BaseMessage
{
    public static final String MESSAGE_NAME = "ApplicationHeaderInput";
	

	public ApplicationHeaderInput(IMessageFactory messageFactory)
	{
		 this(messageFactory.createMessage(MESSAGE_NAME, (messageFactory.getNamespace() == null) ? "TestAML" : messageFactory.getNamespace()));
	}

	/**
	 * @deprecated Please use {@link #ApplicationHeaderInput(IMessageFactory)}
	 */
	@Deprecated
	public ApplicationHeaderInput()
	{
		this(DefaultMessageFactory.getFactory());
	}

	/**
	 * @deprecated Please use {@link #ApplicationHeaderInput(IMessageFactory)}
	 */
	@Deprecated
    public ApplicationHeaderInput(String name, String namespace)
    {
        super(DefaultMessageFactory.getFactory().createMessage(name, namespace));
    }

	public ApplicationHeaderInput(IMessage msg)
	{
		super(msg);
	}

    @Override
    public ApplicationHeaderInput clone() {
        return (ApplicationHeaderInput)super.clone();
    }

	

	
		
			
				public ApplicationHeaderInput setInput(String value)
				{
					this.msg.addField("Input", value);
					return this;
				}
	
				
	
				public String getInput()
				{
					Object value = this.msg.getField("Input");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedInput()
                {
                    return this.msg.getField("Input");
                }
                
			
			
            public IFilter getInputFilter()
            {
                return this.msg.getField("Input");
            }

            public ApplicationHeaderInput setInputFilter(IFilter filter)
            {
                this.msg.addField("Input", filter);
                return this;
            }

            public ApplicationHeaderInput removeInput()
            {
                this.msg.removeField("Input");
                return this;
            }

			public boolean isSetInput()
			{
				return this.msg.getField("Input") != null;
			}

            public boolean isFilterInput()
            {
                return this.msg.getField("Input") instanceof IFilter;
            }
		
			
				public ApplicationHeaderInput setMessageType(int value)
				{
					this.msg.addField("MessageType", value);
					return this;
				}
	
				
	
				public int getMessageType()
				{
					Object value = this.msg.getField("MessageType");
	
					
						if(value == null)
						{
							throw new FieldNotFoundException(" MessageType ");
						}
					
	
					return (Integer)value;
				}

                
                public Object getUntypedMessageType()
                {
                    return this.msg.getField("MessageType");
                }
                
			
			
            public IFilter getMessageTypeFilter()
            {
                return this.msg.getField("MessageType");
            }

            public ApplicationHeaderInput setMessageTypeFilter(IFilter filter)
            {
                this.msg.addField("MessageType", filter);
                return this;
            }

            public ApplicationHeaderInput removeMessageType()
            {
                this.msg.removeField("MessageType");
                return this;
            }

			public boolean isSetMessageType()
			{
				return this.msg.getField("MessageType") != null;
			}

            public boolean isFilterMessageType()
            {
                return this.msg.getField("MessageType") instanceof IFilter;
            }
		
			
				public ApplicationHeaderInput setReceiversAddress(String value)
				{
					this.msg.addField("ReceiversAddress", value);
					return this;
				}
	
				
	
				public String getReceiversAddress()
				{
					Object value = this.msg.getField("ReceiversAddress");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedReceiversAddress()
                {
                    return this.msg.getField("ReceiversAddress");
                }
                
			
			
            public IFilter getReceiversAddressFilter()
            {
                return this.msg.getField("ReceiversAddress");
            }

            public ApplicationHeaderInput setReceiversAddressFilter(IFilter filter)
            {
                this.msg.addField("ReceiversAddress", filter);
                return this;
            }

            public ApplicationHeaderInput removeReceiversAddress()
            {
                this.msg.removeField("ReceiversAddress");
                return this;
            }

			public boolean isSetReceiversAddress()
			{
				return this.msg.getField("ReceiversAddress") != null;
			}

            public boolean isFilterReceiversAddress()
            {
                return this.msg.getField("ReceiversAddress") instanceof IFilter;
            }
		
			
				public ApplicationHeaderInput setMessagePriority(String value)
				{
					this.msg.addField("MessagePriority", value);
					return this;
				}
	
				
	
				public String getMessagePriority()
				{
					Object value = this.msg.getField("MessagePriority");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedMessagePriority()
                {
                    return this.msg.getField("MessagePriority");
                }
                
			
			
            public IFilter getMessagePriorityFilter()
            {
                return this.msg.getField("MessagePriority");
            }

            public ApplicationHeaderInput setMessagePriorityFilter(IFilter filter)
            {
                this.msg.addField("MessagePriority", filter);
                return this;
            }

            public ApplicationHeaderInput removeMessagePriority()
            {
                this.msg.removeField("MessagePriority");
                return this;
            }

			public boolean isSetMessagePriority()
			{
				return this.msg.getField("MessagePriority") != null;
			}

            public boolean isFilterMessagePriority()
            {
                return this.msg.getField("MessagePriority") instanceof IFilter;
            }
		
			
				public ApplicationHeaderInput setDeliveryMonitoring(String value)
				{
					this.msg.addField("DeliveryMonitoring", value);
					return this;
				}
	
				
	
				public String getDeliveryMonitoring()
				{
					Object value = this.msg.getField("DeliveryMonitoring");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedDeliveryMonitoring()
                {
                    return this.msg.getField("DeliveryMonitoring");
                }
                
			
			
            public IFilter getDeliveryMonitoringFilter()
            {
                return this.msg.getField("DeliveryMonitoring");
            }

            public ApplicationHeaderInput setDeliveryMonitoringFilter(IFilter filter)
            {
                this.msg.addField("DeliveryMonitoring", filter);
                return this;
            }

            public ApplicationHeaderInput removeDeliveryMonitoring()
            {
                this.msg.removeField("DeliveryMonitoring");
                return this;
            }

			public boolean isSetDeliveryMonitoring()
			{
				return this.msg.getField("DeliveryMonitoring") != null;
			}

            public boolean isFilterDeliveryMonitoring()
            {
                return this.msg.getField("DeliveryMonitoring") instanceof IFilter;
            }
		
			
				public ApplicationHeaderInput setObsolescencePeriod(String value)
				{
					this.msg.addField("ObsolescencePeriod", value);
					return this;
				}
	
				
	
				public String getObsolescencePeriod()
				{
					Object value = this.msg.getField("ObsolescencePeriod");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedObsolescencePeriod()
                {
                    return this.msg.getField("ObsolescencePeriod");
                }
                
			
			
            public IFilter getObsolescencePeriodFilter()
            {
                return this.msg.getField("ObsolescencePeriod");
            }

            public ApplicationHeaderInput setObsolescencePeriodFilter(IFilter filter)
            {
                this.msg.addField("ObsolescencePeriod", filter);
                return this;
            }

            public ApplicationHeaderInput removeObsolescencePeriod()
            {
                this.msg.removeField("ObsolescencePeriod");
                return this;
            }

			public boolean isSetObsolescencePeriod()
			{
				return this.msg.getField("ObsolescencePeriod") != null;
			}

            public boolean isFilterObsolescencePeriod()
            {
                return this.msg.getField("ObsolescencePeriod") instanceof IFilter;
            }
		
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy