/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
/** * Constructor. * * @param lastInteractionStage Last seen interaction stage. * @param responseHolder The response holder. */ public InvokeOperationHandler(final UOctet lastInteractionStage, final OperationResponseHolder responseHolder) { super(false, responseHolder); final int interactionStage = lastInteractionStage.getValue(); if (interactionStage == MALInvokeOperation._INVOKE_ACK_STAGE) { receivedAck = true; } }
/** * Returns a hash code for this object. * @return a hash code value for this object. */ public int hashCode() { int hash = 7; hash = 83 * hash + (area != null ? area.hashCode() : 0); hash = 83 * hash + (service != null ? service.hashCode() : 0); hash = 83 * hash + (version != null ? version.hashCode() : 0); return hash; }
if (! version.equals(other.version))
if (! version.equals(other.version))
/** * Constructor. * * @param lastInteractionStage Last seen interaction stage. * @param responseHolder The response holder. */ public ProgressOperationHandler(final UOctet lastInteractionStage, final OperationResponseHolder responseHolder) { super(false, responseHolder); final int interactionStage = lastInteractionStage.getValue(); if ((interactionStage == MALProgressOperation._PROGRESS_ACK_STAGE) || (interactionStage == MALProgressOperation._PROGRESS_UPDATE_STAGE)) { receivedAck = true; } }
/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
/** * Returns a hash code for this object. * @return a hash code value for this object. */ public int hashCode() { int hash = 7; hash = 83 * hash + (area != null ? area.hashCode() : 0); hash = 83 * hash + (service != null ? service.hashCode() : 0); hash = 83 * hash + (version != null ? version.hashCode() : 0); hash = 83 * hash + (number != null ? number.hashCode() : 0); return hash; }
private boolean isParameterValueValid(ParameterValue pVal, boolean usingRaw) { // "Is VALID or using raw and INVALID_CONVERSION?" if (pVal.getValidityState().getValue() == 0) { // VALID return true; } if (usingRaw && pVal.getValidityState().getValue() == 3) { // Using raw and INVALID_CONVERSION return true; } return false; }
/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
if (!expPValState.equals(getAsUOctet(ValidityState.VALID))) { // requirement: 3.3.3.m return getAsUOctet(ValidityState.UNVERIFIED);
/** * Decodes the value of this object using the provided MALDecoder. * @param decoder decoder - the decoder to use for decoding. * @return Returns this object. * @throws org.ccsds.moims.mo.mal.MALException if any decoding errors are detected. */ public org.ccsds.moims.mo.mal.structures.Element decode(org.ccsds.moims.mo.mal.MALDecoder decoder) throws org.ccsds.moims.mo.mal.MALException { return fromOrdinal(decoder.decodeUOctet().getValue()); }
/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
protected boolean isActionDefinitionValid(ActionDefinitionDetails oldDef, ActionDefinitionDetails newDef) { !oldDef.getCategory().equals(newDef.getCategory()) || !oldDef.getProgressStepCount().equals(newDef.getProgressStepCount())) { return false;
/** * Decodes the value of this object using the provided MALDecoder. * @param decoder decoder - the decoder to use for decoding. * @return Returns this object. * @throws org.ccsds.moims.mo.mal.MALException if any decoding errors are detected. */ public org.ccsds.moims.mo.mal.structures.Element decode(org.ccsds.moims.mo.mal.MALDecoder decoder) throws org.ccsds.moims.mo.mal.MALException { return fromOrdinal(decoder.decodeUOctet().getValue()); }
/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }
/** * Decodes the value of this object using the provided MALDecoder. * @param decoder decoder - the decoder to use for decoding. * @return Returns this object. * @throws org.ccsds.moims.mo.mal.MALException if any decoding errors are detected. */ public org.ccsds.moims.mo.mal.structures.Element decode(org.ccsds.moims.mo.mal.MALDecoder decoder) throws org.ccsds.moims.mo.mal.MALException { return fromOrdinal(decoder.decodeUOctet().getValue()); }
/** * Returns the index of the enumerated item as a {@code UOctet}. * @return the index of the enumerated item as a {@code UOctet}. */ public org.ccsds.moims.mo.mal.structures.UOctet getOrdinalUOctet() { return new org.ccsds.moims.mo.mal.structures.UOctet(ordinal.shortValue()); }