public void setAs(SendRec value) { m_PresenceVector = value.getPresenceVector(); m_ReliableDelivery = value.getReliableDelivery(); m_Priority = value.getPriority(); m_DestinationID.setAs(value.getDestinationID()); m_SourceID.setAs(value.getSourceID()); m_MessagePayload.setAs(value.getMessagePayload()); }
/* * */ public SendRec(SendRec value) { m_PresenceVector = JausUtils.setPV(value.getPresenceVector()); m_DestSubsystemID = value.getDestSubsystemID(); m_DestNodeID = value.getDestNodeID(); m_DestComponentID = value.getDestComponentID(); m_SrcSubsystemID = value.getSrcSubsystemID(); m_SrcNodeID = value.getSrcNodeID(); m_SrcComponentID = value.getSrcComponentID(); m_Priority = value.getPriority(); m_MessagePayload.setAs(value.getMessagePayload()); }
public bool isEquals(SendRec value) { if ((m_PresenceVector != value.getPresenceVector()) || (m_ReliableDelivery != value.getReliableDelivery()) || (m_Priority != value.getPriority()) || (m_DestinationID.notEquals(value.getDestinationID())) || (m_SourceID.notEquals(value.getSourceID())) || (m_MessagePayload.notEquals(value.getMessagePayload()))) { return(false); } return(true); }
/* * Sets this SendRec with the values in the given SendRec */ public SendRec setAs(SendRec value) { m_PresenceVector = value.m_PresenceVector; m_DestSubsystemID = value.m_DestSubsystemID; m_DestNodeID = value.m_DestNodeID; m_DestComponentID = value.m_DestComponentID; m_SrcSubsystemID = value.m_SrcSubsystemID; m_SrcNodeID = value.m_SrcNodeID; m_SrcComponentID = value.m_SrcComponentID; m_Priority = value.m_Priority; m_MessagePayload.setAs(value.getMessagePayload()); return(this); }
public SendRec(SendRec value) { m_DestinationID = new DestinationID(); m_SourceID = new SourceID(); m_MessagePayload = new MessagePayload(); // Copy the values m_PresenceVector = value.getPresenceVector(); m_ReliableDelivery = value.getReliableDelivery(); m_DestinationID = value.getDestinationID(); m_SourceID = value.getSourceID(); m_Priority = value.getPriority(); m_MessagePayload = value.getMessagePayload(); }
/* * set the SendRec based on the given value */ public void setSendRec(SendRec value) { m_SendRec.setAs(value); }
/* * Constructor */ public Body() { m_SendRec = new SendRec(); }
public bool notEquals(SendRec value) { return !(this.isEquals(value)); }
public bool isEquals(SendRec value) { if ((m_PresenceVector != value.getPresenceVector()) || (m_ReliableDelivery != value.getReliableDelivery()) || (m_Priority != value.getPriority()) || (m_DestinationID.notEquals(value.getDestinationID())) || (m_SourceID.notEquals(value.getSourceID())) || (m_MessagePayload.notEquals(value.getMessagePayload()))) { return false; } return true; }
public bool notEquals(SendRec value) { return(!(this.isEquals(value))); }
/* * * @param value the ReceiveRec data to be stored in this object. * */ public void setSendRec(SendRec value) { m_SendRec = value; }
/* * Sets this SendRec with the values in the given SendRec */ public SendRec setAs(SendRec value) { m_PresenceVector = value.m_PresenceVector; m_DestSubsystemID = value.m_DestSubsystemID; m_DestNodeID = value.m_DestNodeID; m_DestComponentID = value.m_DestComponentID; m_SrcSubsystemID = value.m_SrcSubsystemID; m_SrcNodeID = value.m_SrcNodeID; m_SrcComponentID = value.m_SrcComponentID; m_Priority = value.m_Priority; m_MessagePayload.setAs(value.getMessagePayload()); return this; }