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

com.exactpro.sf.messages.testaml.CONFDET 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 CONFDET extends BaseMessage
{
    public static final String MESSAGE_NAME = "CONFDET";
	

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

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

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

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

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

	

	
		
			
				public CONFDET setTradeDateTime(String value)
				{
					this.msg.addField("TradeDateTime", value);
					return this;
				}
	
				
	
				public String getTradeDateTime()
				{
					Object value = this.msg.getField("TradeDateTime");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedTradeDateTime()
                {
                    return this.msg.getField("TradeDateTime");
                }
                
			
			
            public IFilter getTradeDateTimeFilter()
            {
                return this.msg.getField("TradeDateTime");
            }

            public CONFDET setTradeDateTimeFilter(IFilter filter)
            {
                this.msg.addField("TradeDateTime", filter);
                return this;
            }

            public CONFDET removeTradeDateTime()
            {
                this.msg.removeField("TradeDateTime");
                return this;
            }

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

            public boolean isFilterTradeDateTime()
            {
                return this.msg.getField("TradeDateTime") instanceof IFilter;
            }
		
			
				public CONFDET setSettlementDate(String value)
				{
					this.msg.addField("SettlementDate", value);
					return this;
				}
	
				
	
				public String getSettlementDate()
				{
					Object value = this.msg.getField("SettlementDate");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedSettlementDate()
                {
                    return this.msg.getField("SettlementDate");
                }
                
			
			
            public IFilter getSettlementDateFilter()
            {
                return this.msg.getField("SettlementDate");
            }

            public CONFDET setSettlementDateFilter(IFilter filter)
            {
                this.msg.addField("SettlementDate", filter);
                return this;
            }

            public CONFDET removeSettlementDate()
            {
                this.msg.removeField("SettlementDate");
                return this;
            }

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

            public boolean isFilterSettlementDate()
            {
                return this.msg.getField("SettlementDate") instanceof IFilter;
            }
		
			
				public CONFDET setDealPriceAndCurrency_A(String value)
				{
					this.msg.addField("DealPriceAndCurrency_A", value);
					return this;
				}
	
				
	
				public String getDealPriceAndCurrency_A()
				{
					Object value = this.msg.getField("DealPriceAndCurrency_A");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedDealPriceAndCurrency_A()
                {
                    return this.msg.getField("DealPriceAndCurrency_A");
                }
                
			
			
            public IFilter getDealPriceAndCurrency_AFilter()
            {
                return this.msg.getField("DealPriceAndCurrency_A");
            }

            public CONFDET setDealPriceAndCurrency_AFilter(IFilter filter)
            {
                this.msg.addField("DealPriceAndCurrency_A", filter);
                return this;
            }

            public CONFDET removeDealPriceAndCurrency_A()
            {
                this.msg.removeField("DealPriceAndCurrency_A");
                return this;
            }

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

            public boolean isFilterDealPriceAndCurrency_A()
            {
                return this.msg.getField("DealPriceAndCurrency_A") instanceof IFilter;
            }
		
			
				public CONFDET setDealPriceAndCurrency_B(String value)
				{
					this.msg.addField("DealPriceAndCurrency_B", value);
					return this;
				}
	
				
	
				public String getDealPriceAndCurrency_B()
				{
					Object value = this.msg.getField("DealPriceAndCurrency_B");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedDealPriceAndCurrency_B()
                {
                    return this.msg.getField("DealPriceAndCurrency_B");
                }
                
			
			
            public IFilter getDealPriceAndCurrency_BFilter()
            {
                return this.msg.getField("DealPriceAndCurrency_B");
            }

            public CONFDET setDealPriceAndCurrency_BFilter(IFilter filter)
            {
                this.msg.addField("DealPriceAndCurrency_B", filter);
                return this;
            }

            public CONFDET removeDealPriceAndCurrency_B()
            {
                this.msg.removeField("DealPriceAndCurrency_B");
                return this;
            }

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

            public boolean isFilterDealPriceAndCurrency_B()
            {
                return this.msg.getField("DealPriceAndCurrency_B") instanceof IFilter;
            }
		
			
				public CONFDET setPlaceOfTrade(String value)
				{
					this.msg.addField("PlaceOfTrade", value);
					return this;
				}
	
				
	
				public String getPlaceOfTrade()
				{
					Object value = this.msg.getField("PlaceOfTrade");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedPlaceOfTrade()
                {
                    return this.msg.getField("PlaceOfTrade");
                }
                
			
			
            public IFilter getPlaceOfTradeFilter()
            {
                return this.msg.getField("PlaceOfTrade");
            }

            public CONFDET setPlaceOfTradeFilter(IFilter filter)
            {
                this.msg.addField("PlaceOfTrade", filter);
                return this;
            }

            public CONFDET removePlaceOfTrade()
            {
                this.msg.removeField("PlaceOfTrade");
                return this;
            }

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

            public boolean isFilterPlaceOfTrade()
            {
                return this.msg.getField("PlaceOfTrade") instanceof IFilter;
            }
		
			
				public CONFDET setSettlementAmountAndCurrency(String value)
				{
					this.msg.addField("SettlementAmountAndCurrency", value);
					return this;
				}
	
				
	
				public String getSettlementAmountAndCurrency()
				{
					Object value = this.msg.getField("SettlementAmountAndCurrency");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedSettlementAmountAndCurrency()
                {
                    return this.msg.getField("SettlementAmountAndCurrency");
                }
                
			
			
            public IFilter getSettlementAmountAndCurrencyFilter()
            {
                return this.msg.getField("SettlementAmountAndCurrency");
            }

            public CONFDET setSettlementAmountAndCurrencyFilter(IFilter filter)
            {
                this.msg.addField("SettlementAmountAndCurrency", filter);
                return this;
            }

            public CONFDET removeSettlementAmountAndCurrency()
            {
                this.msg.removeField("SettlementAmountAndCurrency");
                return this;
            }

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

            public boolean isFilterSettlementAmountAndCurrency()
            {
                return this.msg.getField("SettlementAmountAndCurrency") instanceof IFilter;
            }
		
			
				public CONFDET setBuySellIndicator(String value)
				{
					this.msg.addField("BuySellIndicator", value);
					return this;
				}
	
				
	
				public String getBuySellIndicator()
				{
					Object value = this.msg.getField("BuySellIndicator");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedBuySellIndicator()
                {
                    return this.msg.getField("BuySellIndicator");
                }
                
			
			
            public IFilter getBuySellIndicatorFilter()
            {
                return this.msg.getField("BuySellIndicator");
            }

            public CONFDET setBuySellIndicatorFilter(IFilter filter)
            {
                this.msg.addField("BuySellIndicator", filter);
                return this;
            }

            public CONFDET removeBuySellIndicator()
            {
                this.msg.removeField("BuySellIndicator");
                return this;
            }

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

            public boolean isFilterBuySellIndicator()
            {
                return this.msg.getField("BuySellIndicator") instanceof IFilter;
            }
		
			
				public CONFDET setPaymentIndicator(String value)
				{
					this.msg.addField("PaymentIndicator", value);
					return this;
				}
	
				
	
				public String getPaymentIndicator()
				{
					Object value = this.msg.getField("PaymentIndicator");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedPaymentIndicator()
                {
                    return this.msg.getField("PaymentIndicator");
                }
                
			
			
            public IFilter getPaymentIndicatorFilter()
            {
                return this.msg.getField("PaymentIndicator");
            }

            public CONFDET setPaymentIndicatorFilter(IFilter filter)
            {
                this.msg.addField("PaymentIndicator", filter);
                return this;
            }

            public CONFDET removePaymentIndicator()
            {
                this.msg.removeField("PaymentIndicator");
                return this;
            }

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

            public boolean isFilterPaymentIndicator()
            {
                return this.msg.getField("PaymentIndicator") instanceof IFilter;
            }
		
			
				public CONFDET setCONFPRTY(com.exactpro.sf.messages.testaml.CONFPRTY value)
				{
					this.msg.addField("CONFPRTY", value.getMessage());
					return this;
				}
	
				
	
				public com.exactpro.sf.messages.testaml.CONFPRTY getCONFPRTY()
				{
					Object value = this.msg.getField("CONFPRTY");
	
					
	
					return new com.exactpro.sf.messages.testaml.CONFPRTY((IMessage)value);
				}

                
			
			
            public IFilter getCONFPRTYFilter()
            {
                return this.msg.getField("CONFPRTY");
            }

            public CONFDET setCONFPRTYFilter(IFilter filter)
            {
                this.msg.addField("CONFPRTY", filter);
                return this;
            }

            public CONFDET removeCONFPRTY()
            {
                this.msg.removeField("CONFPRTY");
                return this;
            }

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

            public boolean isFilterCONFPRTY()
            {
                return this.msg.getField("CONFPRTY") instanceof IFilter;
            }
		
			
				public CONFDET setQuantityTraded(String value)
				{
					this.msg.addField("QuantityTraded", value);
					return this;
				}
	
				
	
				public String getQuantityTraded()
				{
					Object value = this.msg.getField("QuantityTraded");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedQuantityTraded()
                {
                    return this.msg.getField("QuantityTraded");
                }
                
			
			
            public IFilter getQuantityTradedFilter()
            {
                return this.msg.getField("QuantityTraded");
            }

            public CONFDET setQuantityTradedFilter(IFilter filter)
            {
                this.msg.addField("QuantityTraded", filter);
                return this;
            }

            public CONFDET removeQuantityTraded()
            {
                this.msg.removeField("QuantityTraded");
                return this;
            }

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

            public boolean isFilterQuantityTraded()
            {
                return this.msg.getField("QuantityTraded") instanceof IFilter;
            }
		
			
				public CONFDET setFinancialInstrument(String value)
				{
					this.msg.addField("FinancialInstrument", value);
					return this;
				}
	
				
	
				public String getFinancialInstrument()
				{
					Object value = this.msg.getField("FinancialInstrument");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedFinancialInstrument()
                {
                    return this.msg.getField("FinancialInstrument");
                }
                
			
			
            public IFilter getFinancialInstrumentFilter()
            {
                return this.msg.getField("FinancialInstrument");
            }

            public CONFDET setFinancialInstrumentFilter(IFilter filter)
            {
                this.msg.addField("FinancialInstrument", filter);
                return this;
            }

            public CONFDET removeFinancialInstrument()
            {
                this.msg.removeField("FinancialInstrument");
                return this;
            }

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

            public boolean isFilterFinancialInstrument()
            {
                return this.msg.getField("FinancialInstrument") instanceof IFilter;
            }
		
			
				public CONFDET setTradeProcessingNarrative(String value)
				{
					this.msg.addField("TradeProcessingNarrative", value);
					return this;
				}
	
				
	
				public String getTradeProcessingNarrative()
				{
					Object value = this.msg.getField("TradeProcessingNarrative");
	
					
	
					return (String)value;
				}

                
                public Object getUntypedTradeProcessingNarrative()
                {
                    return this.msg.getField("TradeProcessingNarrative");
                }
                
			
			
            public IFilter getTradeProcessingNarrativeFilter()
            {
                return this.msg.getField("TradeProcessingNarrative");
            }

            public CONFDET setTradeProcessingNarrativeFilter(IFilter filter)
            {
                this.msg.addField("TradeProcessingNarrative", filter);
                return this;
            }

            public CONFDET removeTradeProcessingNarrative()
            {
                this.msg.removeField("TradeProcessingNarrative");
                return this;
            }

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

            public boolean isFilterTradeProcessingNarrative()
            {
                return this.msg.getField("TradeProcessingNarrative") instanceof IFilter;
            }
		
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy