Event.java

/*
 *        @ Copyright 2001 FA Software;
 *        All right reserved. No part of this program may be reproduced or
 *        transmitted in any form or by any means, electronic or
 *        mechanical, including photocopying, recording, or by any
 *        information storage or retrieval system without written
 *        permission from FA Software, except for inclusion of brief
 *        quotations in a review.
 */
package com.mycim.valueobject.ems;

import com.mycim.valueobject.bas.NamedObject;

import java.util.ArrayList;
import java.util.Collection;

public class Event extends NamedObject {

    // --------------------------------------------------------- Instance Variables
    private Collection eventModels = new ArrayList();

    // --------------------------------------------------------- Properties
    private String entityType;

    private String cascadingFlag;

    private Long induceEventRrn;

    private Long wflRrn;

    private String wflId;

    private String validAvailability;

    private String targetAvailability;

    private String noticeLotEngineer;

    /**
     * 是否更改子设备状态 Y/N
     */
    private String isChangeChild;

    // --------------------------------------------------------- Constructors
    public Event() {
    }

    public Event(String instanceId, String namedSpace, String object) {
        super(instanceId, namedSpace, object);
    }

    /**
     * @return the isChangeChild
     */
    public String getIsChangeChild() {
        return isChangeChild;
    }

    /**
     * @param isChangeChild the isChangeChild to set
     */
    public void setIsChangeChild(String isChangeChild) {
        this.isChangeChild = isChangeChild;
    }

    // --------------------------------------------------------- Properties
    public String getEntityType() {
        return this.entityType;
    }

    public void setEntityType(String entityType) {
        this.entityType = entityType;
    }

    public String getCascadingFlag() {
        return this.cascadingFlag;
    }

    public void setCascadingFlag(String cascadingFlag) {
        this.cascadingFlag = cascadingFlag;
    }

    public Long getInduceEventRrn() {
        return this.induceEventRrn;
    }

    public void setInduceEventRrn(Long induceEventRrn) {
        this.induceEventRrn = induceEventRrn;
    }

    public Long getWflRrn() {
        return this.wflRrn;
    }

    public void setWflRrn(Long wflRrn) {
        this.wflRrn = wflRrn;
    }

    public String getWflId() {
        return this.wflId;
    }

    public void setWflId(String wflId) {
        this.wflId = wflId;
    }

    public String getValidAvailability() {
        return this.validAvailability;
    }

    public void setValidAvailability(String validAvailability) {
        this.validAvailability = validAvailability;
    }

    public String getTargetAvailability() {
        return this.targetAvailability;
    }

    public void setTargetAvailability(String targetAvailability) {
        this.targetAvailability = targetAvailability;
    }

    public Collection getEventModels() {
        if (this.eventModels == null) {
            eventModels = new ArrayList();
        }

        return this.eventModels;
    }

    public void setEventModels(Collection eventModels) {
        this.eventModels = eventModels;
    }

    public String getNoticeLotEngineer() {
        return noticeLotEngineer;
    }

    public void setNoticeLotEngineer(String noticeLotEngineer) {
        this.noticeLotEngineer = noticeLotEngineer;
    }

}

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