org.obe.xpdl.model.misc
Class Script

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.misc.Script
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.io.Serializable

public final class Script
extends AbstractBean

Class representing a script language which is meant to be used for an XPDL expression.

Author:
Adrian Price
See Also:
Serialized Form

Constructor Summary
Script(java.lang.String type)
          Construct a new Script object.
 
Method Summary
 java.lang.String getGrammar()
          Get a URI reference to a document defining the scripting language's grammar.
 java.lang.String getType()
          Set the scripting language type.
 java.lang.String getVersion()
          Get the scripting language version.
 void setGrammar(java.lang.String grammar)
          Set a URI reference to a document defining the scripting language's grammar.
 void setType(java.lang.String type)
          Set the scripting language type.
 void setVersion(java.lang.String version)
          Set the scripting language version.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.util.AbstractBean
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Script

public Script(java.lang.String type)
Construct a new Script object.

Parameters:
type - The script type
Method Detail

getType

public java.lang.String getType()
Set the scripting language type.

Returns:
The scripting language type

setType

public void setType(java.lang.String type)
Set the scripting language type. This method will throw an IllegalArgumentException if the type is null.

Parameters:
type - The scripting language type

getVersion

public java.lang.String getVersion()
Get the scripting language version.

Returns:
The scripting language version

setVersion

public void setVersion(java.lang.String version)
Set the scripting language version.

Parameters:
version - The scripting language version

getGrammar

public java.lang.String getGrammar()
Get a URI reference to a document defining the scripting language's grammar.

Returns:
The grammar URI

setGrammar

public void setGrammar(java.lang.String grammar)
Set a URI reference to a document defining the scripting language's grammar.

Parameters:
grammar - The grammar URI

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.