public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setLabel(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Label));
       break;
     case 1:
       setEventHandlers(value.wGetAdapter(WorkflowsEntityDescriptorEnum.EventHandlers));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #2
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setMetadata(value.wGetAdapter(ArtifactsEntityDescriptorEnum.Metadata));
       break;
     case 1:
       setProjects(value.wGetAdapter(ArtifactsEntityDescriptorEnum.Projects));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setException(value.wGetAdapter(JavaEntityDescriptorEnum.SingleVariableDeclaration));
       break;
     case 1:
       setBody(value.wGetAdapter(JavaEntityDescriptorEnum.Block));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setDescription(value.wGetAdapter(TestsEntityDescriptorEnum.Description));
       break;
     case 1:
       setName(value.wGetAdapter(TestsEntityDescriptorEnum.Name));
       break;
     case 2:
       setBody(value.wGetAdapter(TestsEntityDescriptorEnum.Statement));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setLabel(value.wGetAdapter(FlowchartEntityDescriptorEnum.Text));
       break;
     case 1:
       setSource(value.wGetAdapter(FlowchartEntityDescriptorEnum.Node));
       break;
     case 2:
       setTarget(value.wGetAdapter(FlowchartEntityDescriptorEnum.Node));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #6
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setComment(value.wGetAdapter(ChangesEntityDescriptorEnum.Text));
       break;
     case 1:
       setContent(value.wGetAdapter(ChangesEntityDescriptorEnum.Content));
       break;
     case 2:
       setRevisions(value.wGetAdapter(ChangesEntityDescriptorEnum.ChangeRevisions));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setJavadoc(value.wGetAdapter(JavaEntityDescriptorEnum.Javadoc));
       break;
     case 1:
       setModifiers(value.wGetAdapter(JavaEntityDescriptorEnum.ExtendedModifiers));
       break;
     case 2:
       setName(value.wGetAdapter(JavaEntityDescriptorEnum.SimpleName));
       break;
     case 3:
       setTypeParameters(value.wGetAdapter(JavaEntityDescriptorEnum.TypeParameters));
       break;
     case 4:
       setSuperclassType(value.wGetAdapter(JavaEntityDescriptorEnum.Type));
       break;
     case 5:
       setSuperInterfaceTypes(value.wGetAdapter(JavaEntityDescriptorEnum.Types));
       break;
     case 6:
       setBodyDeclarations(value.wGetAdapter(JavaEntityDescriptorEnum.BodyDeclarations));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setNamespaces(value.wGetAdapter(XsdEntityDescriptorEnum.NamespaceDecls));
       break;
     case 1:
       setId(value.wGetAdapter(XsdEntityDescriptorEnum.StringData));
       break;
     case 2:
       setAttributes(value.wGetAdapter(XsdEntityDescriptorEnum.Attributes));
       break;
     case 3:
       setName(value.wGetAdapter(XsdEntityDescriptorEnum.Name));
       break;
     case 4:
       setPublic(value.wGetAdapter(XsdEntityDescriptorEnum.StringData));
       break;
     case 5:
       setSystem(value.wGetAdapter(XsdEntityDescriptorEnum.AnyURI));
       break;
     case 6:
       setAnnotation(value.wGetAdapter(XsdEntityDescriptorEnum.Annotation));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setExpression(value.wGetAdapter(MiniJavaEntityDescriptorEnum.Expression));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #10
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setSource(value.wGetAdapter(ReusablesEntityDescriptorEnum.Source));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #11
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setText(value.wGetAdapter(XmlEntityDescriptorEnum.CommentText));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #12
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setTableName(value.wGetAdapter(SQLEntityDescriptorEnum.TableName));
       break;
     case 1:
       setSetClauses(value.wGetAdapter(SQLEntityDescriptorEnum.SetClauses));
       break;
     case 2:
       setFromClauses(value.wGetAdapter(SQLEntityDescriptorEnum.FromClauses));
       break;
     case 3:
       setWhereExpr(value.wGetAdapter(SQLEntityDescriptorEnum.SQLExpression));
       break;
     case 4:
       setLimit(value.wGetAdapter(SQLEntityDescriptorEnum.IntValue));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }
Beispiel #13
0
 public void wSet(int index, IEntity value) {
   switch (index) {
     case 0:
       setLabel(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Label));
       break;
     case 1:
       setModel(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Variable));
       break;
     case 2:
       setPersistence(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Expression));
       break;
     case 3:
       setResourceKind(value.wGetAdapter(WorkflowsEntityDescriptorEnum.ResourceKind));
       break;
     case 4:
       setResource(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Expression));
       break;
     case 5:
       setBindings(value.wGetAdapter(WorkflowsEntityDescriptorEnum.Assignments));
       break;
     default:
       throw new IllegalArgumentException();
   }
 }