/*
 * Copyright (c) 2007 - 2009 ZIGEN
 * Eclipse Public License - v 1.0
 * http://www.eclipse.org/legal/epl-v10.html
 */
package zigen.plugin.db.ext.oracle.internal;

import java.io.Serializable;

public class OracleTriggerInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	protected String owner;

	protected String name;

	protected String type;

	protected String event;

	public OracleTriggerInfo() {}

	public String getOwner() {
		return this.owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}
	public String toString() {
		StringBuffer buffer = new StringBuffer();
		buffer.append("[SourceInfo:"); //$NON-NLS-1$
		buffer.append(" owner: "); //$NON-NLS-1$
		buffer.append(owner);
		buffer.append(" name: "); //$NON-NLS-1$
		buffer.append(name);
		buffer.append(" type: "); //$NON-NLS-1$
		buffer.append(type);
		buffer.append(" event: "); //$NON-NLS-1$
		buffer.append(event);
		buffer.append("]"); //$NON-NLS-1$
		return buffer.toString();
	}

}
