NamedObjectHistory.java

package com.mycim.valueobject.bas;

import java.io.Serializable;

public class NamedObjectHistory implements Serializable {

    // --------------------------------------------------------- Instance Variables
    protected long transRrn;

    protected Long instanceRrn;

    protected String instanceId;

    protected String namedSpace;

    protected String instanceDesc;

    protected String instanceLongDesc;

    protected String object;

    protected String objectType;

    protected String objectSubtype;

    protected Integer currentVersion;

    protected Integer activeVersion;

    protected Long roleRrn;

    protected String instanceStatus;

    protected String createdTime;

    protected String lastUpdateTime;

    protected Long createdUserRrn;

    protected String createdUserId;

    protected Long lastUpdateUserRrn;

    protected String lastUpdateUserId;

    public NamedObjectHistory() {
    }

    // --------------------------------------------------------- Properties
    public NamedObjectHistory(NamedObject namedObject, long transRrn) {
        this.transRrn = transRrn;
        this.instanceRrn = new Long(namedObject.getInstanceRrn());
        this.instanceId = namedObject.getInstanceId();
        this.namedSpace = namedObject.getNamedSpace();
        this.instanceDesc = namedObject.getInstanceDesc();
        this.instanceLongDesc = namedObject.getInstanceLongDesc();
        this.object = namedObject.getObject();
        this.objectType = namedObject.getObjectType();
        this.objectSubtype = namedObject.getObjectSubtype();
        this.currentVersion = namedObject.getCurrentVersion();
        this.activeVersion = namedObject.getActiveVersion();
        this.roleRrn = namedObject.getRoleRrn();
        this.instanceStatus = namedObject.getInstanceStatus();
    }

    public long getTransRrn() {
        return this.transRrn;
    }

    // --------------------------------------------------------- Properties
    public void setTransRrn(long transRrn) {
        this.transRrn = transRrn;
    }

    public Long getInstanceRrn() {
        return this.instanceRrn;
    }

    public void setInstanceRrn(Long instanceRrn) {
        this.instanceRrn = instanceRrn;
    }

    public String getInstanceId() {
        return this.instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getNamedSpace() {
        return this.namedSpace;
    }

    public void setNamedSpace(String namedSpace) {
        this.namedSpace = namedSpace;
    }

    public String getInstanceDesc() {
        return this.instanceDesc;
    }

    public void setInstanceDesc(String instanceDesc) {
        this.instanceDesc = instanceDesc;
    }

    public String getInstancelongDesc() {
        return this.instanceLongDesc;
    }

    public void setInstanceLongDesc(String instanceLongDesc) {
        this.instanceLongDesc = instanceLongDesc;
    }

    public String getObject() {
        return this.object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public String getObjectType() {
        return this.objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public String getObjectSubtype() {
        return this.objectSubtype;
    }

    public void setObjectSubtype(String objectSubtype) {
        this.objectSubtype = objectSubtype;
    }

    public Integer getCurrentVersion() {
        return this.currentVersion;
    }

    public void setCurrentVersion(Integer currentVersion) {
        this.currentVersion = currentVersion;
    }

    public Integer getActiveVersion() {
        return this.activeVersion;
    }

    public void setActiveVersion(Integer activeVersion) {
        this.activeVersion = activeVersion;
    }

    public Long getRoleRrn() {
        return this.roleRrn;
    }

    public void setRoleRrn(Long roleRrn) {
        this.roleRrn = roleRrn;
    }

    public String getInstanceStatus() {
        return this.instanceStatus;
    }

    public void setInstanceStatus(String instanceStatus) {
        this.instanceStatus = instanceStatus;
    }

    public String getCreatedTime() {
        return this.createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdateTime() {
        return this.lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Long getCreatedUserRrn() {
        return this.createdUserRrn;
    }

    public void setCreatedUserRrn(Long createdUserRrn) {
        this.createdUserRrn = createdUserRrn;
    }

    public String getCreatedUserId() {
        return this.createdUserId;
    }

    public void setCreatedUserId(String createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Long getLastUpdateUserRrn() {
        return this.lastUpdateUserRrn;
    }

    public void setLastUpdateUserRrn(Long lastUpdateUserRrn) {
        this.lastUpdateUserRrn = lastUpdateUserRrn;
    }

    public String getLastUpdateUserId() {
        return this.lastUpdateUserId;
    }

    public void setLastUpdateUserId(String lastUpdateUserId) {
        this.lastUpdateUserId = lastUpdateUserId;
    }

}

/*
 * Modification Log `* Log No : Name : Modified Date: Description :
 */