org.yawlfoundation.yawl.schema
Class ElementCreationInstruction

java.lang.Object
  extended by org.yawlfoundation.yawl.schema.Instruction
      extended by org.yawlfoundation.yawl.schema.ElementCreationInstruction
All Implemented Interfaces:
Comparable

public class ElementCreationInstruction
extends Instruction

/**

Author:
Lachlan Aldred Date: 13/09/2004 Time: 12:35:11

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.schema.Instruction
_elementName
 
Constructor Summary
ElementCreationInstruction(String elementName, String typeName, boolean isPrimitiveType)
          Creates an element creation instruction.
ElementCreationInstruction(String elementName, String typeName, boolean isPrimitiveType, boolean mandatory)
          Creates an element creation instruction.
 
Method Summary
 String getTypeName()
          Gets the type name
 boolean isMandatory()
           
 boolean isSchem4SchemaType()
          Gets if should create element typed by schema 4 schema.
 
Methods inherited from class org.yawlfoundation.yawl.schema.Instruction
compareTo, getElementName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementCreationInstruction

public ElementCreationInstruction(String elementName,
                                  String typeName,
                                  boolean isPrimitiveType,
                                  boolean mandatory)
Creates an element creation instruction.

Parameters:
elementName - the name of the new element to create.
typeName - the name of the type to retrieve from the primary schema.
isPrimitiveType -

ElementCreationInstruction

public ElementCreationInstruction(String elementName,
                                  String typeName,
                                  boolean isPrimitiveType)
Creates an element creation instruction.

Parameters:
elementName - the name of the new element to create.
typeName - the name of the type to retrieve from the primary schema.
isPrimitiveType -
Method Detail

getTypeName

public String getTypeName()
Gets the type name

Returns:
type name

isSchem4SchemaType

public boolean isSchem4SchemaType()
Gets if should create element typed by schema 4 schema.


isMandatory

public boolean isMandatory()


Copyright © 2004-2012 The YAWL Foundation.