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

org.ccsds.moims.mo.common.login.body.LoginResponse Maven / Gradle / Ivy

package org.ccsds.moims.mo.common.login.body;

/**
 * Multi body return class for LoginResponse.
 */
public final class LoginResponse {

    /**
     * authId: The returned authId field shall be used as the authenticationId 
     * field in future MAL messages by the consumer MAL for authentication. The 
     * token is specific to the user and role in use. 
     */
    private org.ccsds.moims.mo.mal.structures.Blob authId;

    /**
     * objInstId: The returned objInstId field shall contain the LoginInstance 
     * COM object instance identifier that was created by the login operation. 
     */
    private Long objInstId;

    /**
     * Default constructor for LoginResponse.
     * 
     */
    public LoginResponse() {
    }

    /**
     * Constructs an instance of this type using provided values.
     * 
     * @param authId The returned authId field shall be used as the authenticationId 
     * field in future MAL messages by the consumer MAL for authentication. The 
     * token is specific to the user and role in use. 
     * @param objInstId The returned objInstId field shall contain the LoginInstance 
     * COM object instance identifier that was created by the login operation. 
     */
    public LoginResponse(org.ccsds.moims.mo.mal.structures.Blob authId,
            Long objInstId) {
        this.authId = authId;
        this.objInstId = objInstId;
    }

    /**
     * Returns the field authId.
     * 
     * @return The field authId.
     */
    public org.ccsds.moims.mo.mal.structures.Blob getAuthId() {
        return authId;
    }

    /**
     * Sets the field authId.
     * 
     * @param __newValue The new value.
     */
    @Deprecated
    public void setAuthId(org.ccsds.moims.mo.mal.structures.Blob __newValue) {
        authId = __newValue;
    }

    /**
     * Returns the field objInstId.
     * 
     * @return The field objInstId.
     */
    public Long getObjInstId() {
        return objInstId;
    }

    /**
     * Sets the field objInstId.
     * 
     * @param __newValue The new value.
     */
    @Deprecated
    public void setObjInstId(Long __newValue) {
        objInstId = __newValue;
    }

    /**
     * Returns the field authId.
     * 
     * @return The field authId.
     */
    @Deprecated
    public org.ccsds.moims.mo.mal.structures.Blob getBodyElement0() {
        return authId;
    }

    /**
     * Sets the field authId.
     * 
     * @param __newValue The new value.
     */
    @Deprecated
    public void setBodyElement0(org.ccsds.moims.mo.mal.structures.Blob __newValue) {
        authId = __newValue;
    }

    /**
     * Returns the field objInstId.
     * 
     * @return The field objInstId.
     */
    @Deprecated
    public Long getBodyElement1() {
        return objInstId;
    }

    /**
     * Sets the field objInstId.
     * 
     * @param __newValue The new value.
     */
    @Deprecated
    public void setBodyElement1(Long __newValue) {
        objInstId = __newValue;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy