com.exactpro.sf.messages.testaml.SETPRTY Maven / Gradle / Ivy
/******************************************************************************
* 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 SETPRTY extends BaseMessage
{
public static final String MESSAGE_NAME = "SETPRTY";
public SETPRTY(IMessageFactory messageFactory)
{
this(messageFactory.createMessage(MESSAGE_NAME, (messageFactory.getNamespace() == null) ? "TestAML" : messageFactory.getNamespace()));
}
/**
* @deprecated Please use {@link #SETPRTY(IMessageFactory)}
*/
@Deprecated
public SETPRTY()
{
this(DefaultMessageFactory.getFactory());
}
/**
* @deprecated Please use {@link #SETPRTY(IMessageFactory)}
*/
@Deprecated
public SETPRTY(String name, String namespace)
{
super(DefaultMessageFactory.getFactory().createMessage(name, namespace));
}
public SETPRTY(IMessage msg)
{
super(msg);
}
@Override
public SETPRTY clone() {
return (SETPRTY)super.clone();
}
public SETPRTY setSettlementParty_Buyer_R(String value)
{
this.msg.addField("SettlementParty_Buyer_R", value);
return this;
}
public String getSettlementParty_Buyer_R()
{
Object value = this.msg.getField("SettlementParty_Buyer_R");
return (String)value;
}
public Object getUntypedSettlementParty_Buyer_R()
{
return this.msg.getField("SettlementParty_Buyer_R");
}
public IFilter getSettlementParty_Buyer_RFilter()
{
return this.msg.getField("SettlementParty_Buyer_R");
}
public SETPRTY setSettlementParty_Buyer_RFilter(IFilter filter)
{
this.msg.addField("SettlementParty_Buyer_R", filter);
return this;
}
public SETPRTY removeSettlementParty_Buyer_R()
{
this.msg.removeField("SettlementParty_Buyer_R");
return this;
}
public boolean isSetSettlementParty_Buyer_R()
{
return this.msg.getField("SettlementParty_Buyer_R") != null;
}
public boolean isFilterSettlementParty_Buyer_R()
{
return this.msg.getField("SettlementParty_Buyer_R") instanceof IFilter;
}
public SETPRTY setSettlementParty_Buyer_P(String value)
{
this.msg.addField("SettlementParty_Buyer_P", value);
return this;
}
public String getSettlementParty_Buyer_P()
{
Object value = this.msg.getField("SettlementParty_Buyer_P");
return (String)value;
}
public Object getUntypedSettlementParty_Buyer_P()
{
return this.msg.getField("SettlementParty_Buyer_P");
}
public IFilter getSettlementParty_Buyer_PFilter()
{
return this.msg.getField("SettlementParty_Buyer_P");
}
public SETPRTY setSettlementParty_Buyer_PFilter(IFilter filter)
{
this.msg.addField("SettlementParty_Buyer_P", filter);
return this;
}
public SETPRTY removeSettlementParty_Buyer_P()
{
this.msg.removeField("SettlementParty_Buyer_P");
return this;
}
public boolean isSetSettlementParty_Buyer_P()
{
return this.msg.getField("SettlementParty_Buyer_P") != null;
}
public boolean isFilterSettlementParty_Buyer_P()
{
return this.msg.getField("SettlementParty_Buyer_P") instanceof IFilter;
}
public SETPRTY setSettlementParty_Seller_R(String value)
{
this.msg.addField("SettlementParty_Seller_R", value);
return this;
}
public String getSettlementParty_Seller_R()
{
Object value = this.msg.getField("SettlementParty_Seller_R");
return (String)value;
}
public Object getUntypedSettlementParty_Seller_R()
{
return this.msg.getField("SettlementParty_Seller_R");
}
public IFilter getSettlementParty_Seller_RFilter()
{
return this.msg.getField("SettlementParty_Seller_R");
}
public SETPRTY setSettlementParty_Seller_RFilter(IFilter filter)
{
this.msg.addField("SettlementParty_Seller_R", filter);
return this;
}
public SETPRTY removeSettlementParty_Seller_R()
{
this.msg.removeField("SettlementParty_Seller_R");
return this;
}
public boolean isSetSettlementParty_Seller_R()
{
return this.msg.getField("SettlementParty_Seller_R") != null;
}
public boolean isFilterSettlementParty_Seller_R()
{
return this.msg.getField("SettlementParty_Seller_R") instanceof IFilter;
}
public SETPRTY setSettlementParty_Seller_P(String value)
{
this.msg.addField("SettlementParty_Seller_P", value);
return this;
}
public String getSettlementParty_Seller_P()
{
Object value = this.msg.getField("SettlementParty_Seller_P");
return (String)value;
}
public Object getUntypedSettlementParty_Seller_P()
{
return this.msg.getField("SettlementParty_Seller_P");
}
public IFilter getSettlementParty_Seller_PFilter()
{
return this.msg.getField("SettlementParty_Seller_P");
}
public SETPRTY setSettlementParty_Seller_PFilter(IFilter filter)
{
this.msg.addField("SettlementParty_Seller_P", filter);
return this;
}
public SETPRTY removeSettlementParty_Seller_P()
{
this.msg.removeField("SettlementParty_Seller_P");
return this;
}
public boolean isSetSettlementParty_Seller_P()
{
return this.msg.getField("SettlementParty_Seller_P") != null;
}
public boolean isFilterSettlementParty_Seller_P()
{
return this.msg.getField("SettlementParty_Seller_P") instanceof IFilter;
}
public SETPRTY setSettlementAccount(String value)
{
this.msg.addField("SettlementAccount", value);
return this;
}
public String getSettlementAccount()
{
Object value = this.msg.getField("SettlementAccount");
return (String)value;
}
public Object getUntypedSettlementAccount()
{
return this.msg.getField("SettlementAccount");
}
public IFilter getSettlementAccountFilter()
{
return this.msg.getField("SettlementAccount");
}
public SETPRTY setSettlementAccountFilter(IFilter filter)
{
this.msg.addField("SettlementAccount", filter);
return this;
}
public SETPRTY removeSettlementAccount()
{
this.msg.removeField("SettlementAccount");
return this;
}
public boolean isSetSettlementAccount()
{
return this.msg.getField("SettlementAccount") != null;
}
public boolean isFilterSettlementAccount()
{
return this.msg.getField("SettlementAccount") instanceof IFilter;
}
public SETPRTY setPlaceOfSettlement(String value)
{
this.msg.addField("PlaceOfSettlement", value);
return this;
}
public String getPlaceOfSettlement()
{
Object value = this.msg.getField("PlaceOfSettlement");
return (String)value;
}
public Object getUntypedPlaceOfSettlement()
{
return this.msg.getField("PlaceOfSettlement");
}
public IFilter getPlaceOfSettlementFilter()
{
return this.msg.getField("PlaceOfSettlement");
}
public SETPRTY setPlaceOfSettlementFilter(IFilter filter)
{
this.msg.addField("PlaceOfSettlement", filter);
return this;
}
public SETPRTY removePlaceOfSettlement()
{
this.msg.removeField("PlaceOfSettlement");
return this;
}
public boolean isSetPlaceOfSettlement()
{
return this.msg.getField("PlaceOfSettlement") != null;
}
public boolean isFilterPlaceOfSettlement()
{
return this.msg.getField("PlaceOfSettlement") instanceof IFilter;
}
}