/*******************************************************************************
* Copyright © 2011, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*
*******************************************************************************/
package eglx.lang;
import org.eclipse.edt.javart.resources.*;
import org.eclipse.edt.javart.*;
import eglx.lang.AnyException;
import org.eclipse.edt.runtime.java.eglx.lang.EInt;
import java.lang.Integer;
@SuppressWarnings("unused")
@javax.xml.bind.annotation.XmlRootElement(name="InvalidIndexException")
public class InvalidIndexException extends eglx.lang.AnyException {
private static final long serialVersionUID = 10L;
@javax.xml.bind.annotation.XmlTransient
public int index;
public InvalidIndexException() {
super();
}
{
ezeInitialize();
}
public void ezeCopy(Object source) {
ezeCopy((InvalidIndexException) source);
}
public void ezeCopy(eglx.lang.AnyValue source) {
this.index = ((InvalidIndexException) source).index;
}
public InvalidIndexException ezeNewValue(Object... args) {
return new InvalidIndexException();
}
public void ezeSetEmpty() {
index = 0;
}
public boolean isVariableDataLength() {
return false;
}
public void loadFromBuffer(ByteStorage buffer, Program program) {
}
public int sizeInBytes() {
return 0;
}
public void storeInBuffer(ByteStorage buffer) {
}
public void ezeInitialize() {
index = 0;
}
@org.eclipse.edt.javart.json.Json(name="index", clazz=EInt.class, asOptions={})
public int getIndex() {
return index;
}
public void setIndex(int ezeValue) {
index = ezeValue;
}
}