org.gpel.client.GcAbstractState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gpel-client Show documentation
Show all versions of gpel-client Show documentation
Grid BPEL Engine Client developed by Extreme Computing Lab, Indiana University
The newest version!
/* -*- mode: Java; c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
/* Copyright (c) 2006 Extreme! Lab, Indiana University. All rights reserved.
* This software is open source. See the bottom of this file for the license.
* $Id: GcAbstractState.java,v 1.2 2006/12/07 04:55:28 aslom Exp $ */
package org.gpel.client;
import org.gpel.GpelConstants;
import org.xmlpull.infoset.XmlElement;
public abstract class GcAbstractState extends GcXmlWebResource {
public GcAbstractState(XmlElement atomRes) {
super(atomRes);
}
public abstract String getRel();
public void setRel(String rel) {
if(rel == null) throw new IllegalArgumentException();
if(! getRel().equals(rel)) {
throw new GcException("only rel "+getRel()
+" is suported for this state "+getClass().getName()
+"resource not "+rel);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy