001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: package org.netbeans.modules.bpel.model.api;
021:
022: import org.netbeans.modules.bpel.model.api.support.TBoolean;
023:
024: /**
025: * <p>
026: * Java class for tAssign complex type.
027: * <p>
028: * The following schema fragment specifies the expected content contained within
029: * this class.
030: *
031: * <pre>
032: * <complexType name="tAssign">
033: * <complexContent>
034: * <extension base="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tActivity">
035: * <sequence>
036: * <choice maxOccurs="unbounded">
037: * <element ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}copy"/>
038: * <element ref="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}extensibleAssign"/>
039: * </choice>
040: * </sequence>
041: * <attribute name="validate" type="{http://docs.oasis-open.org/wsbpel/2.0/process/executable}tBoolean" default="no" />
042: * </extension>
043: * </complexContent>
044: * </complexType>
045: * </pre>
046: *
047: * @author ads
048: */
049: public interface Assign extends Activity, BpelContainer {
050:
051: /**
052: * "validate" attribute name.
053: */
054: String VALIDATE = "validate"; // NOI18N
055:
056: /**
057: * @return list of children entities in this assign.
058: */
059: AssignChild[] getAssignChildren();
060:
061: /**
062: * @param i
063: * position in array.
064: * @return <code>i</code>th child element.
065: */
066: AssignChild getAssignChild(int i);
067:
068: /**
069: * Removes <code>i</code>th child element.
070: *
071: * @param i
072: * position in array.
073: */
074: void removeAssignChild(int i);
075:
076: /**
077: * Set <code>child</code> to the <code>i</code>th position.
078: *
079: * @param child
080: * object for set.
081: * @param i
082: * position for set.
083: */
084: void setAssignChild(AssignChild child, int i);
085:
086: /**
087: * Add <code>child</code> to the end of copies list.
088: *
089: * @param child
090: * object for add.
091: */
092: void addAssignChild(AssignChild child);
093:
094: /**
095: * Insert <code>copy</code> to the <code>i</code>th position.
096: *
097: * @param child
098: * object for insert.
099: * @param i
100: * position for insert.
101: */
102: void insertAssignChild(AssignChild child, int i);
103:
104: /**
105: * Set new list of children.
106: *
107: * @param children
108: * array for set.
109: */
110: void setAssignChildren(AssignChild[] children);
111:
112: /**
113: * @return size of copies elements.
114: */
115: int sizeOfAssignChildren();
116:
117: /**
118: * Getter for "validate" attribute.
119: *
120: * @return "validate" attribute value.
121: */
122: TBoolean getValidate();
123:
124: /**
125: * Setter for "validate" attribute.
126: *
127: * @param value
128: * New attribute value.
129: */
130: void setValidate(TBoolean value);
131:
132: /**
133: * Removes "validate" attribute.
134: */
135: void removeValidate();
136:
137: }
|