query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Loads an existing Shapes model.
private void loadShapesModel(String modelPath) { // Initialize the model ShapesPackage.eINSTANCE.eClass(); // Register the XMI resource factory for the .shapes extension Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE; Map<String, Object> m = reg.getExtensionToFactoryMap(); m.put("shapes", new XMIResourceFactoryImpl()); // Obtain a new resource set ResourceSet resSet = new ResourceSetImpl(); // Get the resource Resource resource = resSet.getResource(URI.createURI(modelPath), true); // Get the first model element and cast it to the right type EObject obj = resource.getContents().get(0); if (obj instanceof RootBlock) { sourceRootBlock = (RootBlock) obj; } else { throw new IllegalArgumentException( "RootBlock has to be first element in " + modelPath); } if (LOGGER.isInfoEnabled()) { LOGGER.info("Loaded Shapes model from " + modelPath); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initializeShapesModel() {\n\t\t// Initialize the model\n\t\tShapesPackage.eINSTANCE.eClass();\n\t\tShapesPackage.eINSTANCE.setNsURI(METAMODEL_PATH_SHAPES);\n\n\t\t// Retrieve the default factory singleton\n\t\tfactory = ShapesFactory.eINSTANCE;\n\n\t\t// Create the content of the model via this program\n\t\ttargetRootBlock = factory.createRootBlock();\n\t}", "public StillModel loadModel(String filepath);", "private void initializeModel() {\n\t\tmodel = new Model();\n\n\t\t// load up playersave\n\t\ttry {\n\t\t\tFileInputStream save = new FileInputStream(\"playersave.ser\");\n\t\t\tObjectInputStream in = new ObjectInputStream(save);\n\t\t\tmodel = ((Model) in.readObject());\n\t\t\tin.close();\n\t\t\tsave.close();\n\t\t\tSystem.out.println(\"playersave found. Loading file...\");\n\t\t}catch(IOException i) {\n\t\t\t//i.printStackTrace();\n\t\t\tSystem.out.println(\"playersave file not found, starting new game\");\n\t\t}catch(ClassNotFoundException c) {\n\t\t\tSystem.out.println(\"playersave not found\");\n\t\t\tc.printStackTrace();\n\t\t}\n\t\t\n\t\t// load up customlevels\n\t\ttry {\n\t\t\tFileInputStream fileIn = new FileInputStream(\"buildersave.ser\");\n\t\t\tObjectInputStream in = new ObjectInputStream(fileIn);\n\t\t\tmodel.importCustomLevels(((ArrayList<LevelModel>) in.readObject()));\n\t\t\tin.close();\n\t\t\tfileIn.close();\n\t\t\tSystem.out.println(\"Builder ArrayList<LevelModel> found. Loading file...\");\n\t\t}catch(IOException i) {\n\t\t\t//i.printStackTrace();\n\t\t\tSystem.out.println(\"Builder ArrayList<LevelModel> file not found, starting new game\");\n\t\t\treturn;\n\t\t}catch(ClassNotFoundException c) {\n\t\t\tSystem.out.println(\"Builder ArrayList<LevelModel> not found\");\n\t\t\tc.printStackTrace();\n\t\t\treturn;\n\t\t}\n\t}", "ScenarioModel loadScenarioModel() throws ModelSerializationException, ModelConversionException;", "protected final Model loadModel(String path, RenderOptions options) {\n // Builtin models\n if (path.equals(\"builtin/generated\")) {\n return new GeneratedModel();\n }\n\n Model model = openGsonObject(Model.class, ResourceType.MODELS, path);\n if (model == null) {\n Logging.LOGGER_MAPDISPLAY.once(Level.WARNING, \"Failed to load model \" + path);\n return null;\n }\n\n // Handle overrides first\n if (model.overrides != null && !model.overrides.isEmpty()) {\n for (Model.ModelOverride override : model.overrides) {\n if (override.matches(options) && !override.model.equals(path)) {\n //System.out.println(\"MATCH \" + override.model + \" \" + options);\n return this.loadModel(override.model, options);\n }\n }\n }\n\n // Insert the parent model as required\n if (model.getParentName() != null) {\n Model parentModel = this.loadModel(model.getParentName(), options);\n if (parentModel == null || parentModel.placeholder) {\n Logging.LOGGER_MAPDISPLAY.once(Level.WARNING, \"Parent of model \" + path + \" not found: \" + model.getParentName());\n return null;\n }\n model.loadParent(parentModel);\n }\n\n // Make all texture paths absolute\n model.build(this, options);\n return model;\n }", "@Test\r\n\tpublic void testModelLoading() {\n\t\tString absoluteFilePath = \"\";\r\n\t\ttry {\r\n\t\t\tabsoluteFilePath = getAbsoluteFilePath(\"simpletll.stlsimulation\");\r\n\t\t} catch (IOException e) {\r\n\t\t\tAssert.fail(\"Couldn't compute absolute file path.\");\r\n\t\t}\r\n\t\t\r\n\t\t// Load STL simulation model with ModelLoader\r\n\t\tfinal SimulationModel simulationModel = ModelLoader.load(absoluteFilePath);\r\n\t\t\r\n\t\t// Check contents of loaded STL simulation model \r\n\t\tAssert.assertNotNull(simulationModel);\r\n\t\tat.ac.tuwien.big.stl.System system = simulationModel.getSystem();\r\n\t\tAssert.assertNotNull(system);\r\n\t\tAssert.assertEquals(\"SimpleTransportationLine\", system.getName());\r\n\t}", "private RShape loadNewShape() {\n // Get a list of all SVG files in the BUFFER_ACC_PATH folder\n File dir = new File(BUFFER_ACC_PATH);\n String[] listing = dir.list(new FilenameFilter() {\n public boolean accept(File file, String filename) {\n return filename.endsWith(\"svg\");\n }\n });\n \n availableFiles = listing.length;\n\n // Load the first SVG file from the list\n if (listing != null && listing.length > 0) {\n currentFileName = listing[currentFileIndex];\n System.out.println(\"loading \" + currentFileName);\n RShape shape = RG.loadShape(BUFFER_ACC_PATH + currentFileName);\n shape.scale(svgScale, shape.getCenter());\n print(shape, \"loaded: \");\n return shape;\n }\n\n return null;\n }", "public void loadModel(String filePath) {\n\n\t\tSystem.out.println(\"Loading model...\");\n\t\ttry {\n\t\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(filePath));\n\t\t\tHMMModel HMMModel = (HMMModel)ois.readObject();\n\t\t\tN = HMMModel.N;\n\t\t\tM = HMMModel.M;\n\t\t\tpi = HMMModel.pi;\n\t\t\tA = HMMModel.A;\n\t\t\tB = HMMModel.B;\n\t\t\tois.close();\n\t\t\tSystem.out.println(\"Model loaded.\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(1);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "@Before\n\tpublic void loadModel() {\n\t\tloader.unloadAll();\n\n\t\tmodel = loader\n\t\t\t\t.loadViaXslt(\"/net/meisen/dissertation/performance/implementations/similarity/tida/tida-model-timeSeriesSimilarityEvaluator.xml\");\n\t\tevaluator = new TimeSeriesSimilarityEvaluator(model);\n\t}", "protected final Model loadModel(String path) {\n return this.loadModel(path, BlockData.AIR.getDefaultRenderOptions());\n }", "private GameModel load(String xmlFilePath) throws Exception {\r\n\t\ttry {\r\n\t\t\t// Load Game from XML\r\n\t\t\tJAXBContext context = JAXBContext.newInstance(GameModel.class);\r\n\t\t\tSystem.out.println(\"instance passed \");\r\n\t\t\tUnmarshaller unmarshaller = context.createUnmarshaller();\r\n\t\t\tSystem.out.println(\"marshaller created\");\r\n\t\t\treturn (GameModel) unmarshaller.unmarshal(new File(xmlFilePath));\r\n\r\n\t\t} catch (Exception ex) {\r\n\t\t\t// log the exception, show the error message on UI\r\n\t\t\tSystem.out.println(ex.getMessage());\r\n\t\t\tthrow ex;\r\n\t\t}\r\n\t}", "public void loadModel(int modelId) {\n \t\tif(this.openGLModelConfiguration != null) {\r\n \t\t\tthis.fireOnModelDataEvent(this.openGLModelConfiguration, false);\r\n \t\t} else {\r\n \t\t\tcacheManager.readModelAsync(modelId, this);\r\n \t\t}\r\n \t}", "private void initTensorFlowAndLoadModel() {\n executor.execute(new Runnable() {\n @Override\n public void run() {\n try {\n classifierObject = ObjectClassifier.create(context.getAssets(), TYPE_MODEL, LABEL_TYPE, INPUT_SIZE_TYPE);\n } catch (final Exception e) {\n throw new RuntimeException(\"Error initializing TensorFlow!\", e);\n }\n }\n });\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic void loadModel(File model_file) throws IOException, ClassNotFoundException{\n\t\t// Load Model From File\n\t\tSystem.out.println(\"Loading Training Model. Please wait.\");\n\t\tFileInputStream fileIn = new FileInputStream(model_file);\n\t\tObjectInputStream objIn = new ObjectInputStream(fileIn); \n\t\tmClassifier = (LMClassifier<NGramProcessLM, MultivariateEstimator>) objIn.readObject();\n\t\tobjIn.close();\n\t\tisTrained = true;\n\t\tSystem.out.println(\"Loading Model. Complete.\");\n\t}", "public static Model loadGraph(String filename) throws FileNotFoundException, IOException {\r\n\t\tFileInputStream stream;\t\t\t//A stream from the file\r\n\t\tModel returnValue;\r\n\t\t\r\n\t\tSystem.out.print(\"Loading \\\"\" + filename + \"\\\"...\");\r\n\t\tstream = new FileInputStream(filename);\r\n\t\treturnValue = ModelFactory.createDefaultModel();\r\n\t\treturnValue.read(stream,null);\r\n\t\tstream.close();\r\n\t\tSystem.out.println(\" Done.\");\r\n\t\r\n\t\treturn returnValue;\r\n\t}", "ScenarioModel loadScenarioModel(InputStream inputStream) throws ModelSerializationException, ModelConversionException;", "protected void importEOModel() {\n JFileChooser fileChooser = getEOModelChooser();\n int status = fileChooser.showOpenDialog(Application.getFrame());\n\n if (status == JFileChooser.APPROVE_OPTION) {\n\n // save preferences\n FSPath lastDir = getApplication()\n .getFrameController()\n .getLastEOModelDirectory();\n lastDir.updateFromChooser(fileChooser);\n\n File file = fileChooser.getSelectedFile();\n if (file.isFile()) {\n file = file.getParentFile();\n }\n\n DataMap currentMap = getProjectController().getCurrentDataMap();\n\n try {\n URL url = file.toURI().toURL();\n\n EOModelProcessor processor = new EOModelProcessor();\n\n // load DataNode if we are not merging with an existing map\n if (currentMap == null) {\n loadDataNode(processor.loadModeIndex(url));\n }\n\n // load DataMap\n DataMap map = processor.loadEOModel(url);\n addDataMap(map, currentMap);\n\n }\n catch (Exception ex) {\n logObj.info(\"EOModel Loading Exception\", ex);\n ErrorDebugDialog.guiException(ex);\n }\n\n }\n }", "@Override\n\tpublic void load(ModelInfo info) {\n\t}", "SingleDocumentModel loadDocument(Path path);", "public ModelContainer importModel(String modelData) throws OWLOntologyCreationException {\n\t\t// load data from String\n\t\tfinal OWLOntologyManager manager = graph.getManager();\n\t\tfinal OWLOntologyDocumentSource documentSource = new StringDocumentSource(modelData);\n\t\tOWLOntology modelOntology;\n\t\tfinal Set<OWLParserFactory> originalFactories = removeOBOParserFactories(manager);\n\t\ttry {\n\t\t\tmodelOntology = manager.loadOntologyFromOntologyDocument(documentSource);\n\t\t}\n\t\tcatch (OWLOntologyAlreadyExistsException e) {\n\t\t\t// exception is thrown if there is an ontology with the same ID already in memory \n\t\t\tOWLOntologyID id = e.getOntologyID();\n\t\t\tIRI existingModelId = id.getOntologyIRI().orNull();\n\n\t\t\t// remove the existing memory model\n\t\t\tunlinkModel(existingModelId);\n\n\t\t\t// try loading the import version (again)\n\t\t\tmodelOntology = manager.loadOntologyFromOntologyDocument(documentSource);\n\t\t}\n\t\tfinally {\n\t\t\tresetOBOParserFactories(manager, originalFactories);\n\t\t}\n\t\t\n\t\t// try to extract modelId\n\t\tIRI modelId = null;\n\t\tOptional<IRI> ontologyIRI = modelOntology.getOntologyID().getOntologyIRI();\n\t\tif (ontologyIRI.isPresent()) {\n\t\t\tmodelId = ontologyIRI.get();\n\t\t}\n\t\tif (modelId == null) {\n\t\t\tthrow new OWLOntologyCreationException(\"Could not extract the modelId from the given model\");\n\t\t}\n\t\t// paranoia check\n\t\tModelContainer existingModel = modelMap.get(modelId);\n\t\tif (existingModel != null) {\n\t\t\tunlinkModel(modelId);\n\t\t}\n\t\t\n\t\t// add to internal model\n\t\tModelContainer newModel = addModel(modelId, modelOntology);\n\t\t\n\t\t// update imports\n\t\tupdateImports(newModel);\n\t\t\n\t\treturn newModel;\n\t}", "public void loadGraph() {\n System.out.println(\"The overlay graph will be loaded from an external file\");\n try(FileInputStream fis = new FileInputStream(graphPath + OVERLAY_GRAPH);\n ObjectInputStream ois = new ObjectInputStream(fis))\n {\n graph = (MatrixOverlayGraph) ois.readObject();\n System.out.println(\"Overlay graph loaded\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n loadSupporters();\n }", "public static Model loadModel(File f)\n\t{\n\t\ttry\n\t\t{\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(f));\n\n\t\t\tModel m = new Model(f.getPath());\n\t\t\tMaterial cur = null;\n\t\t\tList<Material> mats = new ArrayList<Material>();\n\n\t\t\tString line;\n\t\t\twhile ((line = reader.readLine()) != null)\n\t\t\t{\n\t\t\t\t//Indicates a vertex\n\t\t\t\tif (line.startsWith(\"v \")) \n\t\t\t\t{\n\t\t\t\t\tfloat x = Float.valueOf(line.split(\" \")[1]);\n\t\t\t\t\tfloat y = Float.valueOf(line.split(\" \")[2]);\n\t\t\t\t\tfloat z = Float.valueOf(line.split(\" \")[3]);\n\t\t\t\t\tm.verts.add(new Vector3f(x, y, z));\n\t\t\t\t} \n\t\t\t\t//Indicates a vertex normal\n\t\t\t\telse if (line.startsWith(\"vn \")) \n\t\t\t\t{\n\t\t\t\t\tfloat x = Float.valueOf(line.split(\" \")[1]);\n\t\t\t\t\tfloat y = Float.valueOf(line.split(\" \")[2]);\n\t\t\t\t\tfloat z = Float.valueOf(line.split(\" \")[3]);\n\t\t\t\t\tm.norms.add(new Vector3f(x, y, z));\n\t\t\t\t} \n\t\t\t\t//Indicates a texture coordinate\n\t\t\t\telse if (line.startsWith(\"vt \")) \n\t\t\t\t{\n\t\t\t\t\tfloat x = Float.valueOf(line.split(\" \")[1]);\n\t\t\t\t\tfloat y = Float.valueOf(line.split(\" \")[2]);\n\t\t\t\t\tm.textureCoords.add(new Vector2f(x, y));\n\t\t\t\t} \n\t\t\t\t//Indicates a face\n\t\t\t\telse if (line.startsWith(\"f \")) \n\t\t\t\t{\n\t\t\t\t\t//If face is triangulated\n\t\t\t\t\tif(line.split(\" \").length == 4)\n\t\t\t\t\t{\t\t\t\n\t\t\t\t\t\tVector3f vertexIndices = new Vector3f(\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[1].split(\"/\")[0]),\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[2].split(\"/\")[0]),\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[3].split(\"/\")[0]));\n\n\n\t\t\t\t\t\t//Instantiate as null for scope reasons\n\t\t\t\t\t\tVector3f textureIndices = null;\n\n\t\t\t\t\t\tif(!line.split(\" \")[1].split(\"/\")[1].equals(\"\")&&!(line.split(\" \")[1].split(\"/\")[1].equals(null)))\n\t\t\t\t\t\t\ttextureIndices = new Vector3f(\n\t\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[1].split(\"/\")[1]),\n\t\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[2].split(\"/\")[1]),\n\t\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[3].split(\"/\")[1]));\n\n\t\t\t\t\t\tVector3f normalIndices = new Vector3f(\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[1].split(\"/\")[2]),\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[2].split(\"/\")[2]),\n\t\t\t\t\t\t\t\tFloat.valueOf(line.split(\" \")[3].split(\"/\")[2]));\n\n\t\t\t\t\t\tFace mf = new Face();\n\n\t\t\t\t\t\t//Instantiate all the arrays\n\t\t\t\t\t\tmf.normals = new Vector3f[3];\n\t\t\t\t\t\tmf.points = new Vector3f[3];\n\n\t\t\t\t\t\t//// SETUP NORMALS ////\n\t\t\t\t\t\tVector3f n1 = m.norms.get((int)normalIndices.x - 1);\n\t\t\t\t\t\tmf.normals[0] = n1;\n\t\t\t\t\t\tVector3f n2 = m.norms.get((int)normalIndices.y - 1);\n\t\t\t\t\t\tmf.normals[1] = n2;\n\t\t\t\t\t\tVector3f n3 = m.norms.get((int)normalIndices.z - 1);\n\t\t\t\t\t\tmf.normals[2] = n3;\n\n\t\t\t\t\t\t//// SETUP VERTICIES ////\n\t\t\t\t\t\tVector3f v1 = m.verts.get((int)vertexIndices.x - 1);\n\t\t\t\t\t\tmf.points[0] = v1;\n\t\t\t\t\t\tVector3f v2 = m.verts.get((int)vertexIndices.y - 1);\n\t\t\t\t\t\tmf.points[1] = v2;\n\t\t\t\t\t\tVector3f v3 = m.verts.get((int)vertexIndices.z - 1);\n\t\t\t\t\t\tmf.points[2] = v3;\n\n\t\t\t\t\t\t//// SETUP TEXTURE COORDS ////\n\t\t\t\t\t\tif(textureIndices!=null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmf.textureCoords = new Vector2f[3];\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tfloat x1 = m.textureCoords.get((int)textureIndices.x - 1).x;\n\t\t\t\t\t\t\tfloat y1 = 1 - m.textureCoords.get((int)textureIndices.x - 1).y;\n\t\t\t\t\t\t\tVector2f t1 = new Vector2f(x1, y1);\n\t\t\t\t\t\t\tmf.textureCoords[0] = t1;\n\t\t\t\t\t\t\tfloat x2 = m.textureCoords.get((int)textureIndices.y - 1).x;\n\t\t\t\t\t\t\tfloat y2 = 1 - m.textureCoords.get((int)textureIndices.y - 1).y;\n\t\t\t\t\t\t\tVector2f t2 = new Vector2f(x2, y2);\n\t\t\t\t\t\t\tmf.textureCoords[1] = t2;\n\t\t\t\t\t\t\tfloat x3 = m.textureCoords.get((int)textureIndices.z - 1).x;\n\t\t\t\t\t\t\tfloat y3 = 1 - m.textureCoords.get((int)textureIndices.z - 1).y;\n\t\t\t\t\t\t\tVector2f t3 = new Vector2f(x3, y3);\n\t\t\t\t\t\t\tmf.textureCoords[2] = t3;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t//Set the face's material to the current material\n\t\t\t\t\t\tif(cur != null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmf.material = cur;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t//Tell face to set up AABB\n\t\t\t\t\t\tmf.setUpAABB();\n\n\t\t\t\t\t\tm.faces.add(mf);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//Indicates a reference to an exterior .mtl file\n\t\t\t\telse if(line.startsWith(\"mtllib \"))\n\t\t\t\t{\n\t\t\t\t\t//The file being referenced by mtllib call\n\t\t\t\t\tFile lib = new File(f.getParentFile()+File.separator+line.split(\" \")[1]);\n\n\t\t\t\t\t//Parse it and add all generated Materials to the mats list\n\t\t\t\t\tmats.addAll(parseMTL(lib, m));\n\t\t\t\t}\n\t\t\t\t//Telling us to use a material\n\t\t\t\telse if(line.startsWith(\"usemtl \"))\n\t\t\t\t{\n\t\t\t\t\tString name = line.split(\" \")[1];\n\n\t\t\t\t\tif(mats!=null)\n\t\t\t\t\t\t//Find material with correct name and use it\n\t\t\t\t\t\tfor(Material material : mats)\n\t\t\t\t\t\t\tif(material.name.equals(name))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tcur = material;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.close();\n\n\t\t\t//Tell model to set up AABB\n\t\t\tm.setUpAABB();\n\t\t\t\n\t\t\t//Remove the first element, because...\n\t\t\tm.faces.remove(0);\n\n\t\t\treturn m;\n\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameName() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }", "public void Load() {\n\t\tsceneLoaded = false;\n\n\t\tfor (int i = 0 ; i < gameObjects.size();i++) {\n\t\t\tGameObject gO = gameObjects.get(i);\n\t\t\tEngine.Instance.AddObject(gO);\n\n\t\t}\n\t\tEngine.Instance.currentScenes.add(this);\n\t\tsceneLoaded = true;\n\t}", "@Override\n\tpublic void loadModel(String modelPath) {\n\t\tList<String> productList = new ArrayList<>();\n\t\tFileUtil util = new FileUtil();\n\t\tutil.loadWord(modelPath, productList);\n\t\ttrie = new Trie();\n\t\ttrie = trie.createTrie(productList);\n\t}", "void setModel(List<IShape> model);", "public interface IModel {\n\tvoid draw(Graphics g);\n\tvoid registerPaintObserver(IPaintObserver observer);\n\tvoid unregisterPaintObserver(IPaintObserver observer);\n\tvoid notifyPaintChange();\n\tvoid setMousePos(int x, int y);\n\tvoid setPrevMousePos(int x, int y);\n\tint getMouseX();\n\tint getMouseY();\n\tint getPrevMouseX();\n\tint getPrevMouseY();\n\tvoid setMousePressed(boolean isPressed);\n\tboolean isMousePressed();\n\tvoid setMouseDragging(boolean isDragging);\n\tboolean isMouseDragging();\n\tvoid setMouseMoving(boolean isMoving);\n\tboolean isMouseMoving();\n\tvoid setDrawMode(DrawMode mode);\n\tDrawMode getDrawMode();\n\tvoid refreshShapeState();\n\tvoid newShape();\n\tvoid newShape(DrawMode mode);\n\tvoid storeShape(IShape shape);\n\tvoid refreshShapeDepth();\n\tvoid setShapeSelectStatus(boolean selected);\n\tvoid addShapeString(String name);\n\tArrayList<IShape> getStoreShapes();\n\tvoid setSelectShapes(ArrayList<IShape> selectShapes);\n\tArrayList<IShape> getSelectShapes();\n\tvoid setUserMode(DrawMode mode);\n\tvoid checkMouseEnclose(int mouseX, int mouseY);\n\tvoid groupShapes();\n\tvoid unGroupShapes();\n\tboolean checkCanGroup();\n\tboolean checkCanUnGroup();\n\tboolean checkCanEditName();\n\tvoid editShapeName(String name);\n\tvoid deleteAllShapes();\n\tvoid saveFile(RenderedImage image, File file, String fileType) throws IOException;\n\tint getStoreImageType(String fileType);\n}", "public static ArrayList<Shape> loadOBJ(URL url, String unit) {\n ArrayList<Shape> shapes = new ArrayList<>();\n float factor = factorFromUnit(unit);\n\n Group g = null;\n try {\n g = Importer3D.load(url).getRoot();\n } catch (IOException e) {\n System.err.println(\"Error reading OBJ file \" + url);\n }\n\n // go through the group of objects\n // add all triangle meshes to the list\n for (Node n : g.getChildren()) {\n if (n instanceof MeshView) {\n //System.out.println(\"Adding shape\");\n MeshView mv = (MeshView) n;\n TriangleMesh m = (TriangleMesh) mv.getMesh();\n if (factor != 1.0f) {\n float[] data = m.getPoints().toArray(null);\n for (int i = 0; i < data.length; i++) {\n data[i] *= factor;\n }\n m.getPoints().clear();\n m.getPoints().addAll(data);\n }\n shapes.add(new Shape((MeshView) n));\n }\n }\n return shapes;\n }", "public void load() throws ClassNotFoundException, IOException;", "public Object loadModelClass(String name) throws ModelManagerException {\n\t\tClassLoader cl = getClassLoader();\n\t\tString pkg = getModelPackageStr();\n\t\ttry {\n\t\t\tClass<?> af = cl.loadClass(pkg + name);\n\t\t\treturn af.newInstance();\n\t\t} catch (Exception e) {\n\t\t\tthrow new ModelManagerException(\"Error loading the model class '\" + name + \"' of package '\"\n\t\t\t\t\t+ (pkg != \"\" ? pkg : \"(default)\") + \"'.\", e);\n\t\t}\n\t}", "private void initTensorFlowAndLoadModel() {\n executor.execute(new Runnable() {\n @Override\n public void run() {\n try {\n classifier = TensorFlowImageClassifier.create(\n getAssets(),\n MODEL_FILE,\n LABEL_FILE,\n INPUT_SIZE,\n IMAGE_MEAN,\n IMAGE_STD,\n INPUT_NAME,\n OUTPUT_NAME);\n } catch (final Exception e) {\n throw new RuntimeException(\"Error initializing TensorFlow!\", e);\n }\n }\n });\n }", "protected Model loadModelFromResource(String resourcePath, String syntax) {\n Model model = ModelFactory.createDefaultModel();\n InputStream is = this.getClass().getResourceAsStream(resourcePath);\n model.read(is, null, syntax);\n return model;\n }", "public void load();", "public void load();", "protected Model loadModelFromResource(String resourcePath) {\n return loadModelFromResource(resourcePath, \"N3\");\n }", "private void initTensorFlowAndLoadModel() {\n executor.execute(new Runnable() {\n @Override\n public void run() {\n try {\n classifier = TensorFlowImageClassifier.create(\n getAssets(),\n MODEL_PATH,\n LABEL_PATH,\n INPUT_SIZE,\n QUANT);\n } catch (final Exception e) {\n throw new RuntimeException(\"Error initializing TensorFlow!\", e);\n }\n }\n });\n }", "public Model openDefaultModel() throws JenaProviderException {\n\t\treturn openModel(getDefaultGraphName());\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void invalidShapeDisappearsBeforeAppearing() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(200, 200),\n new Color(1, 0, 0), 1, 0, 50, 100));\n }", "public M load(K id);", "public void save() {\n\t\t// Register the XMI resource factory for the .xmi extension\n\t\tResource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;\n\t\tMap<String, Object> m = reg.getExtensionToFactoryMap();\n\t\tm.put(\"xmi\", new XMIResourceFactoryImpl());\n\n\t\t// Obtain a new resource set\n\t\tResourceSet resSet = new ResourceSetImpl();\n\n\t\t// Create a resource\n\t\tResource resource = resSet.createResource(this.targetURI);\n\n\t\t// Get the first model element and cast it to the right type\n\t\tresource.getContents().add(targetRootBlock);\n\n\t\t// Now save the content.\n\t\tMap<String, Object> options = new HashMap<String, Object>();\n\t\toptions.put(XMIResource.OPTION_ENCODING, \"UTF-8\");\n\t\ttry {\n\t\t\tresource.save(options);\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"IOException when trying to save to \" + this.targetURI);\n\t\t}\n\n\t\tif (LOGGER.isInfoEnabled()) {\n\t\t\tLOGGER.info(\"Saved Shapes model to \" + this.targetURI);\n\t\t}\n\t}", "public void load() {\n }", "public void loadOrCreateGraph() {\n if(new File(graphPath + OVERLAY_GRAPH).exists())\n loadGraph();\n else {\n System.out.println(\"No file with the graph exists\");\n createGraph();\n }\n //graph.print();\n }", "public void load() {\n World loadGame;\n final JFileChooser fileChooser =\n new JFileChooser(System.getProperty(\"user.dir\"));\n try {\n int fileOpened = fileChooser.showOpenDialog(GameFrame.this);\n\n if (fileOpened == JFileChooser.APPROVE_OPTION) {\n FileInputStream fileInput =\n new FileInputStream(fileChooser.getSelectedFile());\n ObjectInputStream objInput = new ObjectInputStream(fileInput);\n loadGame = (World) objInput.readObject();\n objInput.close();\n fileInput.close();\n } else {\n return;\n }\n } catch (IOException i) {\n i.printStackTrace();\n return;\n } catch (ClassNotFoundException x) {\n x.printStackTrace();\n return;\n }\n\n world = loadGame;\n gridPanel.removeAll();\n fillGamePanel();\n world.reinit();\n setWorld(world);\n GameFrame.this.repaint();\n System.out.println(\"Game loaded.\");\n }", "public Model loadModel( File modelFile ) throws FileNotFoundException, ParseException, LemException, IOException {\n Lem l = new Lem();\n FileInputStream fis = new FileInputStream( modelFile );\n \n return l.parse( fis );\n }", "public void load() ;", "public Shape getShape() {\n if (model == null) {\n return null;\n }\n\n // check to see if we already made this one.\n Object retval = shapeCache.get(model);\n\n // if not, make it and store a copy in the cache..\n if (retval == null) {\n retval = makeBarb();\n if (retval instanceof GeneralPath) {\n shapeCache.put(model.clone(), ((GeneralPath) retval).clone());\n } else {\n shapeCache.put(model.clone(), ((Area) retval).clone());\n }\n }\n\n return (Shape) retval;\n }", "private void load(Simulation simulation) throws RiotNotFoundException {\n String name = simulation.getName();\n provOutputFileURI = simulation.getProvLocation().resolve(name + \".ttl\").toString();\n model = RDFDataMgr.loadModel(provOutputFileURI);\n localNameSpaceURI = getLocalNameSpaceURI();\n model.setNsPrefix(LOCAL_NS_PREFIX, localNameSpaceURI);\n trimRemoteNS();\n }", "public static ModelSet loadFromFile(File file)\n\t{\n\t\tif (!file.exists())\n\t\t{\n\t\t\tthrow new ModelException(\"Model file \" + file + \" does not exist.\");\n\t\t}\n\t\ttry\n\t\t{\n\t\t\treturn loadFromStream(new FileInputStream(file));\n\t\t}\n\t\tcatch (FileNotFoundException e)\n\t\t{\n\t\t\tthrow new ModelException(\"Model file \" + file + \" does not exist.\", e);\n\t\t}\n\t}", "public void loadModel(){\n remoteModel = new FirebaseCustomRemoteModel.Builder(dis).build();\n FirebaseModelManager.getInstance().getLatestModelFile(remoteModel)\n .addOnCompleteListener(new OnCompleteListener<File>() {\n @Override\n public void onComplete(@NonNull Task<File> task) {\n File modelFile = task.getResult();\n if (modelFile != null) {\n interpreter = new Interpreter(modelFile);\n // Toast.makeText(MainActivity2.this, \"Hosted Model loaded.. Running interpreter..\", Toast.LENGTH_SHORT).show();\n runningInterpreter();\n }\n else{\n try {\n InputStream inputStream = getAssets().open(dis+\".tflite\");\n byte[] model = new byte[inputStream.available()];\n inputStream.read(model);\n ByteBuffer buffer = ByteBuffer.allocateDirect(model.length)\n .order(ByteOrder.nativeOrder());\n buffer.put(model);\n //Toast.makeText(MainActivity2.this, dis+\"Bundled Model loaded.. Running interpreter..\", Toast.LENGTH_SHORT).show();\n interpreter = new Interpreter(buffer);\n runningInterpreter();\n } catch (IOException e) {\n // File not found?\n Toast.makeText(MainActivity2.this, \"No hosted or bundled model\", Toast.LENGTH_SHORT).show();\n }\n }\n }\n });\n }", "public CmdAddShape(Model model, Shape os) {\n\t\tthis.model = model;\n\t\tthis.s = os;\n\t\t\n\t}", "private static XSModel loadSchema(Element schema, Definition def) {\n Map definitionNameSpaces = def.getNamespaces();\n Set nameSpaces = definitionNameSpaces.entrySet();\n Iterator nameSpacesIterator = nameSpaces.iterator();\n\n while (nameSpacesIterator.hasNext()) {\n Entry nameSpaceEntry = (Entry) nameSpacesIterator.next();\n if (!\"\".equals((String) nameSpaceEntry.getKey()) &&\n !schema.hasAttributeNS(\"http://www.w3.org/2000/xmlns/\",\n (String) nameSpaceEntry.getKey())) {\n Attr nameSpace =\n schema.getOwnerDocument().createAttributeNS(\n \"http://www.w3.org/2000/xmlns/\",\n \"xmlns:\" + nameSpaceEntry.getKey());\n nameSpace.setValue((String) nameSpaceEntry.getValue());\n schema.setAttributeNode(nameSpace);\n }\n }\n\n LSInput schemaInput = new DOMInputImpl();\n schemaInput.setStringData(\n \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\"\n + XmlUtils.getElementAsString(schema));\n log.info(\"Loading schema in types section of definition \" +\n def.getDocumentBaseURI());\n schemaInput.setSystemId(def.getDocumentBaseURI());\n XMLSchemaLoader schemaLoader = new XMLSchemaLoader();\n XSModel schemaModel = schemaLoader.load(schemaInput);\n log.info(\"Done loading\");\n return schemaModel;\n }", "@Test\n public void readFile() throws IOException {\n ModelInfo modelInfo = ModelReader.create().load();\n\n }", "public void load() {\n structure = SpigotUtils.structBetweenTwoLocations(pos1, pos2, material);\n }", "public void update() {\n\t\tif (loading) return;\n\t\t\n\t\tinstances.clear();\n\t\tfor (int x = 0; x < Board.DIMENSION; x++) {\n\t\t\tfor (int y = 0; y < Board.DIMENSION; y++) {\n\t\t\t\tTile tile = game.getBoard().getTile(x, y);\n\t\t\t\t\n\t\t\t\tif (tile != Tile.EMPTY) {\n\t\t\t\t\tModelInstance instance = new ModelInstance(ballModel);\n\t\t\t\t\t\n\t\t\t\t\tsetTransform(instance, x, y, tile);\n\t\t\t\t\t\n\t\t\t\t\tinstances.add(instance);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\r\n\tpublic void load() {\n\t\ts.load();\r\n\r\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testErrorShapeDoesntExist() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addAction(ScaleOvalAction.createScaleOvalAction(\"O\", 0, 100,\n 100, 100, 1, 1));\n }", "public abstract void load();", "@Override\n public void load() throws IOException, ClassNotFoundException {\n \n }", "public void load() {\n\t}", "public abstract Model openModel(String graphName) throws JenaProviderException;", "public void load() {\n handleLoad(false, false);\n }", "public Model getModel(String path) {\n Model model = modelCache.get(path);\n if (model != null) {\n return model;\n }\n\n model = this.loadModel(path);\n if (model == null) {\n model = this.createPlaceholderModel(BlockData.AIR.getDefaultRenderOptions()); // failed to load or find\n model.name = path;\n }\n modelCache.put(path, model);\n return model;\n }", "public Element loadModel(String name){\n\t\tElement load = FactoryManager.getFactoryManager().getScriptManager()\r\n\t\t\t.getReadScript().getRootElement(allModels);\r\n\t\t\r\n\t\t//get the model wanted\r\n\t\tload = load.getChild(name);\r\n\t\t\r\n\t\t//return the element wanted\r\n\t\treturn load;\t\t\r\n\t}", "@Override\r\n\tpublic void load() {\n\t}", "private Optional<RuntimeModel> loadImportById(String id) {\n Optional<RuntimeModel> runtimeModelOp = registry.get(id);\n if (runtimeModelOp.isPresent()) {\n return runtimeModelOp;\n }\n\n Optional<String> modelPath = runtimeOptions.modelPath(id);\n if (modelPath.isPresent()) {\n return registry.registerFile(modelPath.get());\n }\n\n if (runtimeOptions.isAllowExternal()) {\n return externalImportService.registerExternalImport(id);\n }\n return Optional.empty();\n }", "private void initializeModel() {\n\t\t\n\t}", "abstract public boolean loadModelFromString(List<String> lines);", "public Mesh loadGeometry(int resId) {\n return mController.loadGeometry(resId);\n }", "public void openModel() {\r\n \t\tisReleased = true;\r\n \t\tif (checkForSave(\"<html>Save changes before opening a saved model?</html>\")) {\r\n \t\t\treturn;\r\n \t\t}\r\n \t\tif(animationHolder != null ) {\r\n \t\t\tanimationHolder.stop();\r\n \t\t}\r\n \t\tJMODELModel tmpmodel = new JMODELModel();\r\n \t\tint state = modelLoader.loadModel(tmpmodel, mainWindow);\r\n \t\tif (state == ModelLoader.SUCCESS || state == ModelLoader.WARNING) {\r\n \t\t\tresetMouseState();\r\n \t\t\t// Avoid checkForSave again...\r\n \t\t\tif (model != null) {\r\n \t\t\t\tmodel.resetSaveState();\r\n \t\t\t}\r\n \t\t\tnewModel();\r\n \t\t\t// At this point loading was successful, so substitutes old model\r\n \t\t\t// with loaded one\r\n \t\t\tmodel = tmpmodel;\r\n \t\t\tthis.populateGraph();\r\n \t\t\tsetSelect.setEnabled(true);\r\n \t\t\tcomponentBar.clickButton(setSelect);\r\n \t\t\topenedArchive = modelLoader.getSelectedFile();\r\n \t\t\tmainWindow.updateTitle(openedArchive.getName());\r\n \t\t\t// Removes selection\r\n \t\t\tgraph.clearSelection();\r\n \t\t\t// If model contains results, enable Results Window\r\n \t\t\tif (model.containsSimulationResults()) {\r\n \t\t\t\tif (model.isParametricAnalysisEnabled()) {\r\n \t\t\t\t\tthis.setResultsWindow(new PAResultsWindow(model.getParametricAnalysisModel(), (PAResultsModel) model.getSimulationResults()));\r\n \t\t\t\t\tshowResults.setEnabled(true);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tthis.setResultsWindow(new ResultsWindow(model.getSimulationResults()));\r\n \t\t\t\t\tshowResults.setEnabled(true);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tmodel.resetSaveState();\r\n \t\t\tSystem.gc();\r\n \t\t} else if (state == ModelLoader.FAILURE) {\r\n \t\t\tshowErrorMessage(modelLoader.getFailureMotivation());\r\n \t\t}\r\n \t\t// Shows warnings if any\r\n \t\tif (state == ModelLoader.WARNING) {\r\n \t\t\tnew WarningWindow(modelLoader.getLastWarnings(), mainWindow, modelLoader.getInputFileFormat(), CommonConstants.JSIM).show();\r\n \t\t}\r\n \r\n \t}", "public void load() throws SparqlException {\n \tload(getLoadFilePath());\n }", "private void cargarModelo() {\n dlmLibros = new DefaultListModel<>();\n listaLibros.setModel(dlmLibros);\n }", "public Shape(URL url, String unit) {\n ArrayList<Shape> shapes;\n\n if (url.toString().toLowerCase().endsWith(\"obj\")) {\n shapes = loadOBJ(url, unit);\n } else if (url.toString().toLowerCase().endsWith(\"stl\")) {\n shapes = loadSTL(url, unit);\n } else {\n throw new IllegalArgumentException(\"Shape contructor: Not OBJ/STL file: \" + url);\n }\n\n if (shapes.size() != 1) {\n throw new IllegalArgumentException(\"Contructing shape from OBJ/STL file containing more or fewer than one mesh: \" + url);\n }\n this.mesh = (TriangleMesh) shapes.get(0).getMesh();\n super.setMesh(this.mesh);\n setVisuals(\"green\");\n }", "public boolean loadModel() throws Exception{\r\n\t\t\r\n\t\tboolean rB = false ;\r\n\t\tModelCatalogItem mcItem ;\r\n\t\t\r\n\t\t// before, we have determined name and version according to the request options (e.g. \"latest\")\r\n\t\tmcItem = soappModelCatalog.getItemByModelname( activeModel, activeVersion ); \r\n\t\t// here, an active version should always be defined, if not, the first one will be selected\r\n\t\t\r\n\t\t\r\n\t\tif (mcItem != null){\r\n\t\t\t\t\t\t\t\t\t\t\tout.print(2, \"loading resources for requested model <\"+activeModel+\">, version <\"+activeVersion+\"> ... \") ;\r\n\t\t\t\r\n\t\t\tif ((somData==null) || (somData.getData().getColumnHeaders().size()==0)){\t\t\t\t\t\t\r\n\t\t\t\tsomApplication.loadSource();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// this also sets the data\r\n\t\t\tsoappTransformer = loadSomAppTransformer(mcItem);\r\n\t\t\t\r\n\t\t\t\r\n\t\t\trB= transformIncomingData();\r\n\t\t\t\r\n\t\t\tsoappClassifier = loadSomAppClassifier(mcItem);\r\n\r\n\t\t\trB= (soappTransformer!=null) && (soappClassifier!=null);\r\n\t\t}else{\r\n\t\t\tout.print(2, \"identification resources for requested model <\"+activeModel+\"> failed.\") ;\r\n\t\t}\r\n\t\treturn rB;\r\n\t}", "public void load(final String model_file) throws Exception {\n\t\ttry {\n\t\t\tFileInputStream in = new FileInputStream(model_file);\n\t\t\tGZIPInputStream gin = new GZIPInputStream(in);\n\n\t\t\tObjectInputStream s = new ObjectInputStream(gin);\n\n\t\t\ts.readObject(); //this is the id\n\n\t\t\tsetFeature((String) s.readObject());\n\t\t\tsetInfo((String) s.readObject());\n\n\t\t\tprobs = (HashMap[][]) s.readObject();\n\t\t\t//classnum = s.readInt();\n\t\t\t//classnames = (ArrayList) s.readObject();\n\t\t\tint b, a = s.readInt();\n\t\t\tclassCounts = new double[a];\n\n\t\t\tfor (int i = 0; i < a; i++)\n\t\t\t\tclassCounts[i] = s.readDouble();\n\t\t\ttotalExamplesSeen = s.readDouble();\n\t\t\t//a = s.readInt();\n\t\t\t//header = new int[a];\n\t\t\t//for (int i = 0; i < header.length; i++)\n\t\t\t//\theader[i] = s.readInt();\n\t\t\t//read in saved numbers\n\t\t\ta = s.readInt();\n\t\t\tm_seenNumbers = new double[a][];\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tb = s.readInt();\n\t\t\t\tm_seenNumbers[i] = new double[b];\n\t\t\t\tfor (int j = 0; j < b; j++)\n\t\t\t\t\tm_seenNumbers[i][j] = s.readDouble();\n\t\t\t}\n\t\t\t//now for weights\n\t\t\ta = s.readInt();\n\t\t\tm_Weights = new double[a][];\n\t\t\tfor (int i = 0; i < a; i++) {\n\t\t\t\tb = s.readInt();\n\t\t\t\tm_Weights[i] = new double[b];\n\t\t\t\tfor (int j = 0; j < b; j++)\n\t\t\t\t\tm_Weights[i][j] = s.readDouble();\n\t\t\t}\n\n\t\t\ta = s.readInt();\n\t\t\tm_NumValues = new int[a];\n\t\t\tfor (int i = 0; i < a; i++)\n\t\t\t\tm_NumValues[i] = s.readInt();\n\n\t\t\ta = s.readInt();\n\t\t\tm_SumOfWeights = new double[a];\n\t\t\tfor (int i = 0; i < a; i++)\n\t\t\t\tm_SumOfWeights[i] = s.readDouble();\n\n\n\t\t\tm_StandardDev = s.readDouble();\n\t\t\tsetThreshold(s.readDouble());\n\t\t\tisOneClass(s.readBoolean());\n\t\t\tint len = s.readInt();\n\t\t\tfeatureArray = new boolean[len];\n\t\t\tfor (int i = 0; i < featureArray.length; i++) {\n\t\t\t\tfeatureArray[i] = s.readBoolean();\n\t\t\t}\n\t\t\tlen = s.readInt();\n\t\t\tfeatureTotals = new int[len];\n\t\t\tfor (int i = 0; i < featureTotals.length; i++) {\n\t\t\t\tfeatureTotals[i] = s.readInt();\n\t\t\t}\n\n\t\t\tinTraining = s.readBoolean();\n\n\n\t\t\t//read in ngram model\n\t\t\tString name = (String) s.readObject();\n\t\t\t//need to see which type of txt class it is.\n\t\t\ttry {\n\t\t\t\t//need to fix\n\t\t\t\tFileInputStream in2 = new FileInputStream(name);\n\t\t\t\tObjectInputStream s2 = new ObjectInputStream(in2);\n\t\t\t\tString modeltype = new String((String) s2.readObject());\n\t\t\t\ts2.close();\n\t\t\t\tif (modeltype.startsWith(\"NGram\"))\n\t\t\t\t\ttxtclass = new NGram();\n\t\t\t\telse\n\t\t\t\t\ttxtclass = new TextClassifier();\n\n\t\t\t\ttxtclass.setProgress(false);//we dont want to show subclass\n\t\t\t\t// progresses.\n\t\t\t} catch (Exception e2) {\n\t\t\t\ttxtclass = new NGram();\n\t\t\t\ttxtclass.setProgress(false);//we dont want to show subclass\n\t\t\t\t// progresses.\n\t\t\t}\n\n\t\t\ttxtclass.load(name);\n\n\n\n\t\t\tin.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error in nbayes read file:\" + e);\n\t\t}\n\t\t//now that we've loaded, its time to set the flag to true.\n\t\t//hasModel = true;\n\t\t/*for(int i=0;i<MLearner.NUMBER_CLASSES;i++)\n\t\t{\t\n\t\t\tif(classCounts[i]<3)\n\t\t\t\tcontinue;\n\t\t\tfor(int j=0;j<featureArray.length;j++)\n\t\t\t{\n\t\t\t\tif(featureArray[j])\n\t\t\t\t\tSystem.out.println(i+\" \"+j+\" \"+probs[i][j]);\n\t\t\t}\n\t\t}*/\n\t\tRealprobs = new HashMap[MLearner.NUMBER_CLASSES][featureArray.length];\n\t\tsetFeatureBoolean(featureArray);\n\t\tinTraining = true;//easier than saving the work (although should check size fisrt\n\t}", "private void load() {\r\n\t\tswitch (this.stepPanel.getStep()) {\r\n\t\tcase StepPanel.STEP_HOST_GRAPH:\r\n\t\t\tloadGraph(StepPanel.STEP_HOST_GRAPH);\r\n\t\t\tbreak;\r\n\t\tcase StepPanel.STEP_STOP_GRAPH:\r\n\t\t\tloadGraph(StepPanel.STEP_STOP_GRAPH);\r\n\t\t\tbreak;\r\n\t\tcase StepPanel.STEP_CRITICAL_PAIRS:\r\n\t\t\tloadPairs();\r\n\t\t\tbreak;\r\n\t\tcase StepPanel.STEP_FINISH:\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "public static LanguageModel load() throws Exception {\n try {\n if (lm_ == null) {\n FileInputStream fiA = new FileInputStream(Config.languageModelFile);\n ObjectInputStream oisA = new ObjectInputStream(fiA);\n lm_ = (LanguageModel) oisA.readObject();\n }\n } catch (Exception e) {\n throw new Exception(\"Unable to load language model. You may not have run buildmodels.sh!\");\n }\n return lm_;\n }", "private void loadData(){\n try (BufferedReader br = new BufferedReader(new FileReader(this.fileName))) {\n String line;\n while((line=br.readLine())!=null){\n E e = createEntity(line);\n super.save(e);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "void load ()\n {\n String name = this.getName();\n try\n {\n\tObject value = Class.forName (className).newInstance ();\n if (value instanceof Syntax)\n\t {\n\t loaded = (Syntax) value;\t\n\t if (name != null && loaded.getName() == null)\n\t loaded.setName(name);\n\t }\n\telse\n\t throw_error (\"failed to autoload valid syntax object \");\n }\n catch (ClassNotFoundException ex)\n {\tthrow_error (\"failed to find class \"); }\n catch (InstantiationException ex)\n { throw_error (\"failed to instantiate class \"); }\n catch (IllegalAccessException ex)\n { throw_error (\"illegal access in class \"); }\n catch (UnboundLocationException e)\n { throw_error (\"missing symbol '\" + e.getMessage () + \"' \"); }\n catch (WrongArguments ex)\n { throw_error (\"type error\"); }\n }", "@Override\r\n protected void initModel() {\n model = new Sphere(\"projectil Model\", 5, 5, 0.2f);\r\n model.setModelBound(new BoundingBox());\r\n model.updateModelBound();\r\n }", "public static void load() {\n }", "public static void load() {\n load(false);\n }", "GameModel createGameModel(GameModel gameModel);", "@Override\n public void load() {\n }", "public void loadModel() throws SQLException {\n\t\tObject rs = MysqlConnection.getDbConnection().getQueryData(query);\n\t\tclassifier = (FilteredClassifier)rs;\n\t}", "public void reload() {\n\t\tTextMeshData tmd = font.loadText(this);\n\t\tmodelLength = tmd.modelLength();\n\t\tmodelHeight = tmd.modelHeight();\n\t\tif (this.vao != null)\n\t\t\tthis.vao.delete();\n\t\tthis.vao = Loader.loadToVAO(new int[] { 3, 2 }, tmd.getVertexPositions(), tmd.getTextureCoords());\n\t}", "private ComputationGraph load() throws Exception {\r\n ComputationGraph restored = ModelSerializer.restoreComputationGraph(locationToSave);\r\n return restored;\r\n }", "public ShapeFile(){\n numShapes = 0;\n }", "Feature loadFeature(Integer id);", "public void load(){\n // Recover docIDs\n try(Reader reader = new FileReader(\"postings/docIDs.json\")){\n this.docIDs = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, String>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n try(Reader reader = new FileReader(\"postings/docLengths.json\")){\n this.docLengths = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, Integer>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n try(Reader reader = new FileReader(\"postings/titleToNumber.json\")){\n this.titleToNumber = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, Integer>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "@Override\r\n\tprotected void load() {\n\t\t\r\n\t}", "public void load() {\r\n\t\t\r\n\t\t//-- Clean\r\n\t\tthis.repositories.clear();\r\n\t\t\r\n\t\tloadInternal();\r\n\t\tloadExternalRepositories();\r\n\t\t\r\n\t}", "public synchronized static void loadModels() throws SchemaProviderException {\n if (logger.isDebugEnabled()) {\n logger.debug(\"Loading OXM Models\");\n }\n\n for (SchemaVersion oxmVersion : translator.getSchemaVersions().getVersions()) {\n DynamicJAXBContext jaxbContext = nodeIngestor.getContextForVersion(oxmVersion);\n if (jaxbContext != null) {\n loadModel(oxmVersion.toString(), jaxbContext);\n }\n }\n }", "@Nonnull\n OWLOntology load(@Nonnull OWLOntologyManager manager) throws OWLOntologyCreationException {\n return manager.loadOntologyFromOntologyDocument(new StringDocumentSource(KOALA));\n }", "private void createModel() {\n model = new Node(\"Enemy\"+enemyCounter);\n Box b = new Box(.5f, 2, .5f);\n Geometry bg = new Geometry(\"Box\", b);\n Material bm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n Sphere sphere = new Sphere(32, 32, 1.5f, false, false);\n Geometry sg = new Geometry(\"Sphere\", sphere);\n Material sm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n bm.setColor(\"Color\", ColorRGBA.Blue);\n sm.setColor(\"Color\", ColorRGBA.Red);\n bg.setMaterial(bm); \n sg.setMaterial(sm);\n model.attachChild(bg);\n model.attachChild(sg);\n sg.setLocalTranslation(0,2.5f,0);\n \n attachChild(model);\n }", "private void loadFromFile() {\n try {\n FileInputStream fis = openFileInput(FILENAME);\n InputStreamReader isr = new InputStreamReader(fis);\n BufferedReader reader = new BufferedReader(isr);\n Gson gson = new Gson();\n Type listFeelingType = new TypeToken<ArrayList<Feeling>>(){}.getType();\n recordedFeelings.clear();\n ArrayList<Feeling> tmp = gson.fromJson(reader, listFeelingType);\n recordedFeelings.addAll(tmp);\n fis.close();\n\n } catch (FileNotFoundException e) {\n // TODO Auto-generated catch block\n recordedFeelings = new ArrayList<Feeling>();\n e.printStackTrace();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "public DrawingModelImpl() {\r\n objects = new ArrayList<>();\r\n listeners = new ArrayList<>();\r\n }", "private void initModel() {\t\n \t\t// build default tree structure\n \t\tif(treeMode == MODE_DEPENDENCY) {\n \t\t\t// don't re-init anything\n \t\t\tif(rootDependency == null) {\n \t\t\t\trootDependency = new DefaultMutableTreeNode();\n \t\t\t\tdepNode = new DefaultMutableTreeNode(); // dependent objects\n \t\t\t\tindNode = new DefaultMutableTreeNode();\n \t\t\t\tauxiliaryNode = new DefaultMutableTreeNode();\n \t\t\t\t\n \t\t\t\t// independent objects \n \t\t\t\trootDependency.add(indNode);\n \t\t\t\trootDependency.add(depNode);\n \t\t\t}\n \t\t\t\n \t\t\t// set the root\n \t\t\tmodel.setRoot(rootDependency);\n \n \t\t\t// add auxiliary node if neccessary\n \t\t\tif(showAuxiliaryObjects) {\n \t\t\t\tif(!auxiliaryNode.isNodeChild(rootDependency)) {\n \t\t\t\t\tmodel.insertNodeInto(auxiliaryNode, rootDependency, rootDependency.getChildCount());\n \t\t\t\t}\n \t\t\t}\n \t\t} else {\n \t\t\t// don't re-init anything\n \t\t\tif(rootType == null) {\n \t\t\t\trootType = new DefaultMutableTreeNode();\n \t\t\t\ttypeNodesMap = new HashMap<String, DefaultMutableTreeNode>(5);\n \t\t\t}\n \t\t\t\n \t\t\t// always try to remove the auxiliary node\n \t\t\tif(showAuxiliaryObjects && auxiliaryNode != null) {\n \t\t\t\tmodel.removeNodeFromParent(auxiliaryNode);\n \t\t\t}\n \n \t\t\t// set the root\n \t\t\tmodel.setRoot(rootType);\n \t\t}\n \t}", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameNameCaseInsensitive() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"r\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }", "void load();", "void load();" ]
[ "0.7146119", "0.6458511", "0.5894522", "0.57615596", "0.576108", "0.57374287", "0.5687136", "0.5653641", "0.55051625", "0.5430567", "0.5422153", "0.5414002", "0.5365125", "0.5361102", "0.52879596", "0.5285085", "0.5263177", "0.5248155", "0.5246546", "0.523299", "0.51972395", "0.5195627", "0.5144696", "0.5133484", "0.51241493", "0.5123181", "0.51040524", "0.5084278", "0.5081085", "0.50187457", "0.5008977", "0.50069433", "0.4987698", "0.4987698", "0.4986639", "0.49628207", "0.4942949", "0.4939079", "0.49292123", "0.49280795", "0.49153596", "0.49147847", "0.4910311", "0.4909454", "0.48864487", "0.48829427", "0.48823446", "0.48737323", "0.48596266", "0.48582444", "0.48542583", "0.48511526", "0.48474604", "0.48369452", "0.48307967", "0.48238537", "0.48177713", "0.4815974", "0.48141363", "0.4802382", "0.47979456", "0.4796089", "0.47910357", "0.47905603", "0.47824818", "0.47806337", "0.47766963", "0.47762284", "0.4772594", "0.47686628", "0.47674012", "0.47554827", "0.4752877", "0.47506353", "0.47495514", "0.4748407", "0.4742753", "0.47412547", "0.4737221", "0.47230655", "0.472248", "0.47171247", "0.47159714", "0.47094902", "0.4707616", "0.4701836", "0.47002417", "0.46980184", "0.4696032", "0.46956098", "0.46934387", "0.46931064", "0.4687807", "0.4685988", "0.4678852", "0.46666986", "0.466234", "0.46516314", "0.46411756", "0.46411756" ]
0.7843901
0
Creates a new Shapes model with one RootBlock in its root.
private void initializeShapesModel() { // Initialize the model ShapesPackage.eINSTANCE.eClass(); ShapesPackage.eINSTANCE.setNsURI(METAMODEL_PATH_SHAPES); // Retrieve the default factory singleton factory = ShapesFactory.eINSTANCE; // Create the content of the model via this program targetRootBlock = factory.createRootBlock(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createRootNode()\r\n {\r\n root = new Node(\"root\", null);\r\n Node.clear();\r\n }", "public RMShape getRootShape() { return _parent!=null? _parent.getRootShape() : this; }", "private DocumentRootImpl createInitialModel() {\n\t\tEClass eClass = ExtendedMetaData.INSTANCE.getDocumentRoot(mappingPackage);\n\t\tEStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(ROOT_ELEMENT);\n\t\tEObject rootObject = mappingFactory.create(eClass);\n\t\trootObject.eSet(eStructuralFeature, EcoreUtil.create((EClass)eStructuralFeature.getEType()));\n\t\treturn ((DocumentRootImpl)rootObject);\n\t}", "private void createModel() {\n model = new Node(\"Enemy\"+enemyCounter);\n Box b = new Box(.5f, 2, .5f);\n Geometry bg = new Geometry(\"Box\", b);\n Material bm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n Sphere sphere = new Sphere(32, 32, 1.5f, false, false);\n Geometry sg = new Geometry(\"Sphere\", sphere);\n Material sm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n bm.setColor(\"Color\", ColorRGBA.Blue);\n sm.setColor(\"Color\", ColorRGBA.Red);\n bg.setMaterial(bm); \n sg.setMaterial(sm);\n model.attachChild(bg);\n model.attachChild(sg);\n sg.setLocalTranslation(0,2.5f,0);\n \n attachChild(model);\n }", "private void createTree() {\n\n // custom brown color\n Color brown = new Color(149, 99, 57);\n\n // trunk\n NscComponent trunk = new NscRectangle(49, 164, 13, 51);\n createShape(trunk, brown, true);\n\n // branches\n drawLine(50, 125, 50, 165, 10, brown);\n drawLine(25, 125, 50, 165, 10, brown);\n drawLine(75, 125, 50, 165, 10, brown);\n\n // branch outlines\n drawLine(49, 125, 49, 150, 1, Color.black);\n drawLine(60, 125, 60, 150, 1, Color.black);\n drawLine(24, 125, 49, 165, 1, Color.black);\n drawLine(35, 125, 50, 150, 1, Color.black);\n drawLine(85, 125, 60, 165, 1, Color.black);\n drawLine(74, 125, 60, 150, 1, Color.black);\n\n // leafs\n NscEllipse leafs2 = new NscEllipse(0, 5, 60, 122);\n NscEllipse leafs3 = new NscEllipse(50, 5, 60, 122);\n NscEllipse leafs = new NscEllipse(25, 0, 60, 127);\n NscEllipse leafs4 = new NscEllipse(25, 1, 60, 124);\n createShape(leafs2, treeColor, true);\n createShape(leafs3, treeColor, true);\n createShape(leafs, treeColor, true);\n createShape(leafs4, treeColor, false);\n\n repaint();\n }", "private HPTNode<K, V> buildRoot() {\n HPTNode<K, V> node = new HPTNode<K, V>(keyIdSequence++, null);\n node.children = reallocate(ROOT_CAPACITY);\n return node;\n }", "private void loadShapesModel(String modelPath) {\n\t\t// Initialize the model\n\t\tShapesPackage.eINSTANCE.eClass();\n\n\t\t// Register the XMI resource factory for the .shapes extension\n\t\tResource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;\n\t\tMap<String, Object> m = reg.getExtensionToFactoryMap();\n\t\tm.put(\"shapes\", new XMIResourceFactoryImpl());\n\n\t\t// Obtain a new resource set\n\t\tResourceSet resSet = new ResourceSetImpl();\n\n\t\t// Get the resource\n\t\tResource resource = resSet.getResource(URI.createURI(modelPath), true);\n\n\t\t// Get the first model element and cast it to the right type\n\t\tEObject obj = resource.getContents().get(0);\n\t\tif (obj instanceof RootBlock) {\n\t\t\tsourceRootBlock = (RootBlock) obj;\n\t\t} else {\n\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\"RootBlock has to be first element in \" + modelPath);\n\t\t}\n\n\t\tif (LOGGER.isInfoEnabled()) {\n\t\t\tLOGGER.info(\"Loaded Shapes model from \" + modelPath);\n\t\t}\n\t}", "private void buildRoot() {\n this.root = new GPRootTreeNode(this.tree);\n }", "public static AabbTreeNode insertLeaf(AabbTreeNode treeRoot, IShape shape) {\n if (treeRoot == null || treeRoot.parent != null) {\n // TODO add log message\n // It is necessary to start from tree root, otherwise the inherited cost will be calculated incorrectly\n return treeRoot;\n }\n AabbTreeNode leaf = new AabbTreeNode(shape, treeRoot.enlargedAabbCoefficient);\n\n // Stage 1: find the best sibling for the new leaf\n AabbTreeNode bestSibling = AabbTreeNode.findBestSibling(treeRoot, leaf);\n\n // Stage 2: create a new parent\n AabbTreeNode newTreeRoot = AabbTreeNode.createNewParent(treeRoot, leaf, bestSibling);\n\n // Stage 3: walk back up the tree refitting Aabbs\n AabbTreeNode.refittingTreeRoot(leaf);\n\n return newTreeRoot;\n }", "private TreeItem<FilePath> createTreeRoot() {\n TreeItem<FilePath> root = new TreeItem<>(new FilePath(Paths.get(ROOT_FOLDER)));\n root.setExpanded(true);\n return root;\n }", "private BTreeNode createNewRoot(BTreeNode rightChild) {\n BTreeNode newRoot = new BTreeNode(T_VAR);\n String key = getRoot().getKey(T_VAR - 1);\n newRoot.insert(key);\n newRoot.setChild(0, getRoot());\n newRoot.setChild(1, rightChild);\n newRoot.setLeaf(false);\n return newRoot;\n }", "private void createBlock() {\n\t\tblock = new Block(mouseX, mouseY, 25, 25);\r\n\t\tblock.addObserver(this);\r\n\t\tblock.start();\r\n\t\t// System.out.println(\"Block created (at Model.createBlock)\");\r\n\t}", "public static DeformableMesh3D createTestBlock(){\n return createTestBlock(2, 2, 2);\n }", "protected NodeFigure createMainFigure() {\r\n\t\tNodeFigure figure = createNodePlate();\r\n\t\tfigure.setLayoutManager(new StackLayout());\r\n\t\tIFigure shape = createNodeShape();\r\n\t\tfigure.add(shape);\r\n\t\tcontentPane = setupContentPane(shape);\r\n\t\treturn figure;\r\n\t}", "@Override\r\n\tprotected AbstractElement createDefaultRoot() {\n\t\tthis.writeLock();\r\n\r\n\t\tthis.branchContext = BranchContext.FILE_HEADER;\r\n\t\tthis.leafContext = LeafContext.OTHER;\r\n\r\n\t\tBranchElement root = new SectionElement();\r\n\t\tBranchElement branch = (BranchElement) this.createBranchElement(root, null);\r\n\t\tbranch.replace(0, 0, new Element[] { this.createLeafElement(branch, null, 0, 1) });\r\n\t\troot.replace(0, 0, new Element[] { branch });\r\n\r\n\t\tthis.writeUnlock();\r\n\r\n\t\treturn root;\r\n\t}", "protected NodeFigure createMainFigure() {\n\t\tNodeFigure figure = createNodePlate();\n\t\tfigure.setLayoutManager(new StackLayout());\n\t\tIFigure shape = createNodeShape();\n\t\tfigure.add(shape);\n\t\tcontentPane = setupContentPane(shape);\n\t\treturn figure;\n\t}", "public NewShape() {\r\n\t\tsuper();\r\n\t}", "private void initRoot() {\n root = new VBox(10);\n root.setAlignment(Pos.CENTER);\n root.setPadding(new Insets(10));\n root.setPrefWidth(300);\n root.setPrefHeight(150);\n }", "private void constructTree() {\r\n\t\tsortLeaves();\r\n\t\tNode currentNode;\r\n\t\tint index = 0;\r\n\t\t\tdo{\r\n\t\t\t\t// Create a new node with the next two least frequent nodes as its children\r\n\t\t\t\tcurrentNode = new Node(this.treeNodes[0], this.treeNodes[1]); \r\n\t\t\t\taddNewNode(currentNode);\r\n\t\t\t}\r\n\t\t\twhile (this.treeNodes.length > 1); // Until there is only one root node\r\n\t\t\tthis.rootNode = currentNode;\r\n\t\t\tindex++;\r\n\t}", "private void createRootGroup(Composite parent) {\n // separator\n Label label = new Label(parent, SWT.SEPARATOR | SWT.HORIZONTAL);\n label.setLayoutData(newGridData(NUM_COL, GridData.GRAB_HORIZONTAL));\n\n // label before the root combo\n String tooltip = \"The root element to create in the XML file.\";\n label = new Label(parent, SWT.NONE);\n label.setText(\"Select the root element for the XML file:\");\n label.setLayoutData(newGridData(NUM_COL));\n label.setToolTipText(tooltip);\n\n // root combo\n emptyCell(parent);\n\n mRootElementCombo = new Combo(parent, SWT.DROP_DOWN | SWT.READ_ONLY);\n mRootElementCombo.setEnabled(false);\n mRootElementCombo.select(0);\n mRootElementCombo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));\n mRootElementCombo.setToolTipText(tooltip);\n\n padWithEmptyCells(parent, 2);\n }", "BranchGroup createSceneGraph() {\n BranchGroup objRoot = new BranchGroup();\n\n // Add the primitives to the scene\n setupSpheres();\n objRoot.addChild(spheresSwitch);\n setupGrid();\n objRoot.addChild(gridSwitch);\n objRoot.addChild(lightGroup);\n objRoot.addChild(bgSwitch);\n objRoot.addChild(fogSwitch);\n objRoot.addChild(soundSwitch);\n\n KeyPrintBehavior key = new KeyPrintBehavior();\n key.setSchedulingBounds(infiniteBounds);\n objRoot.addChild(key);\n return objRoot;\n }", "public void BuildTree() {\n MerkleTree tmpMerkleTree = new MerkleTree();\n\n //assign core information into this block from merkleTree\n this.merkleRoot = tmpMerkleTree.getMerkleRoot();\n this.blockBody = tmpMerkleTree;\n }", "@Override\r\n\tpublic void create() {\n\t\tsuper.create();\r\n\t\t// Ground\r\n\t\tBodyDef groundBodyDef = new BodyDef();\r\n\t\tgroundBody = world.createBody(groundBodyDef);\r\n\t\tEdgeShape edgeShape = new EdgeShape();\r\n\t\tedgeShape.set(new Vector2(50.0f, 0.0f), new Vector2(50.0f, 0.0f));\r\n\t\tgroundBody.createFixture(edgeShape, 0.0f);\r\n \r\n\t\tcreateFirstGroupShape();\r\n\t\t// the second group\r\n\t\tcreateSecondGroupShape();\r\n\t}", "private void initModel() {\t\n \t\t// build default tree structure\n \t\tif(treeMode == MODE_DEPENDENCY) {\n \t\t\t// don't re-init anything\n \t\t\tif(rootDependency == null) {\n \t\t\t\trootDependency = new DefaultMutableTreeNode();\n \t\t\t\tdepNode = new DefaultMutableTreeNode(); // dependent objects\n \t\t\t\tindNode = new DefaultMutableTreeNode();\n \t\t\t\tauxiliaryNode = new DefaultMutableTreeNode();\n \t\t\t\t\n \t\t\t\t// independent objects \n \t\t\t\trootDependency.add(indNode);\n \t\t\t\trootDependency.add(depNode);\n \t\t\t}\n \t\t\t\n \t\t\t// set the root\n \t\t\tmodel.setRoot(rootDependency);\n \n \t\t\t// add auxiliary node if neccessary\n \t\t\tif(showAuxiliaryObjects) {\n \t\t\t\tif(!auxiliaryNode.isNodeChild(rootDependency)) {\n \t\t\t\t\tmodel.insertNodeInto(auxiliaryNode, rootDependency, rootDependency.getChildCount());\n \t\t\t\t}\n \t\t\t}\n \t\t} else {\n \t\t\t// don't re-init anything\n \t\t\tif(rootType == null) {\n \t\t\t\trootType = new DefaultMutableTreeNode();\n \t\t\t\ttypeNodesMap = new HashMap<String, DefaultMutableTreeNode>(5);\n \t\t\t}\n \t\t\t\n \t\t\t// always try to remove the auxiliary node\n \t\t\tif(showAuxiliaryObjects && auxiliaryNode != null) {\n \t\t\t\tmodel.removeNodeFromParent(auxiliaryNode);\n \t\t\t}\n \n \t\t\t// set the root\n \t\t\tmodel.setRoot(rootType);\n \t\t}\n \t}", "public DocumentRootImpl getRootObject(MappingType mapping) {\t\n\t\tDocumentRootImpl rootObject = createInitialModel();\n\t\trootObject.setMapping(mapping);\n\t\treturn rootObject;\n\t}", "private void createShape() {\n if (shape == null) {\n float firstItemMargin = noxConfig.getNoxItemMargin();\n float firstItemSize = noxConfig.getNoxItemSize();\n int viewHeight = getMeasuredHeight();\n int viewWidth = getMeasuredWidth();\n int numberOfElements = noxItemCatalog.size();\n ShapeConfig shapeConfig =\n new ShapeConfig(numberOfElements, viewWidth, viewHeight, firstItemSize, firstItemMargin);\n shape = ShapeFactory.getShapeByKey(defaultShapeKey, shapeConfig);\n } else {\n shape.setNumberOfElements(noxItemCatalog.size());\n }\n shape.calculate();\n }", "public static Treenode createBinaryTree() {\n\t\tTreenode rootnode = new Treenode(40);\r\n\t\tTreenode r40 = new Treenode(50);\r\n\t\tTreenode l40 = new Treenode(20);\r\n\t\tTreenode r50 = new Treenode(60);\r\n\t\tTreenode l50 = new Treenode(45);\r\n\t\tTreenode r20 = new Treenode(30);\r\n\t\tTreenode l20 = new Treenode(10);\r\n\t\trootnode.right = r40;\r\n\t\trootnode.left = l40;\r\n\t\tr40.right=r50;\r\n\t\tr40.left = l50;\r\n\t\tl40.right=r20;\r\n\t\tl40.left=l20;\r\n\t\t r40.parent=rootnode; l40.parent= rootnode;\r\n\t\t r50.parent=r40;\r\n\t\tl50.parent=r40 ;\r\n\t\t r20.parent=l40;\r\n\t\t l20.parent=l40 ;\r\n\t\treturn rootnode;\r\n\t\t\r\n\t}", "public void createTree() {\n\t\taddNodeToParent(nodeMap);\n\t}", "private void splitRoot() {\n BTreeNode oldRoot = getRoot();\n BTreeNode rightChild = oldRoot.createNodeForSplit(oldRoot);\n\n if (!oldRoot.isLeaf()) {\n oldRoot.transferChildren(oldRoot, rightChild);\n }\n\n BTreeNode newRoot = createNewRoot(rightChild);\n oldRoot.setN(T_VAR - 1);\n setRoot(newRoot);\n }", "public static Node createLargeTree() {\n final int dcCount = 2;\n final int rackCount = 6;\n final int snCount = 6;\n final int hdCount = 12;\n\n int id = 0;\n // root\n Node root = new Node();\n root.setName(\"root\");\n root.setId(id++);\n root.setType(Types.ROOT);\n root.setSelection(Selection.STRAW);\n // DC\n List<Node> dcs = new ArrayList<Node>();\n for (int i = 1; i <= dcCount; i++) {\n Node dc = new Node();\n dcs.add(dc);\n dc.setName(\"dc\" + i);\n dc.setId(id++);\n dc.setType(Types.DATA_CENTER);\n dc.setSelection(Selection.STRAW);\n dc.setParent(root);\n // racks\n List<Node> racks = new ArrayList<Node>();\n for (int j = 1; j <= rackCount; j++) {\n Node rack = new Node();\n racks.add(rack);\n rack.setName(dc.getName() + \"rack\" + j);\n rack.setId(id++);\n rack.setType(StorageSystemTypes.RACK);\n rack.setSelection(Selection.STRAW);\n rack.setParent(dc);\n // storage nodes\n List<Node> sns = new ArrayList<Node>();\n for (int k = 1; k <= snCount; k++) {\n Node sn = new Node();\n sns.add(sn);\n sn.setName(rack.getName() + \"sn\" + k);\n sn.setId(id++);\n sn.setType(StorageSystemTypes.STORAGE_NODE);\n sn.setSelection(Selection.STRAW);\n sn.setParent(rack);\n // hds\n List<Node> hds = new ArrayList<Node>();\n for (int l = 1; l <= hdCount; l++) {\n Node hd = new Node();\n hds.add(hd);\n hd.setName(sn.getName() + \"hd\" + l);\n hd.setId(id++);\n hd.setType(StorageSystemTypes.DISK);\n hd.setWeight(100);\n hd.setParent(sn);\n }\n sn.setChildren(hds);\n }\n rack.setChildren(sns);\n }\n dc.setChildren(racks);\n }\n root.setChildren(dcs);\n return root;\n }", "Block createBlock();", "@Test\n public void testDefaultRoot() {\n assertEquals(ClassModel.getObjectClass(), node.getModel());\n assertEquals(1, node.size());\n assertEquals(0, treeHash.size());\n }", "private DefaultTreeModel createTreeModel() {\n\t\t// create the root USA\n\t\tDefaultMutableTreeNode root = new DefaultMutableTreeNode(\"USA\");\n\n\t\t// First child is IOWA!\n\t\troot.add(new DefaultMutableTreeNode(\"Iowa\"));\n\n\t\t// other way to create a DefaultMutableTreeNode:\n\t\t// create an empty node and then add the user object\n\t\tDefaultMutableTreeNode newNode = new DefaultMutableTreeNode();\n\t\tnewNode.setUserObject(\"California\");\n\n\t\t// add a child to newNode\n\t\tnewNode.add(new DefaultMutableTreeNode(\"Sacramento\"));\n\n\t\t// add a sibling to Iowa (i.e. California)\n\t\troot.add(newNode);\n\n\t\t// create the model using the root of the tree\n\t\tDefaultTreeModel treeModel = new DefaultTreeModel(root);\n\n\t\t// ADD MODEL LISTENERS (changes/insertion/deletion of nodes)\n\t\ttreeModel.addTreeModelListener(createTreeModelListener());\n\t\treturn treeModel;\n\n\t}", "public void createTree() {\n Node<String> nodeB = new Node<String>(\"B\", null, null);\n Node<String> nodeC = new Node<String>(\"C\", null, null);\n Node<String> nodeD = new Node<String>(\"D\", null, null);\n Node<String> nodeE = new Node<String>(\"E\", null, null);\n Node<String> nodeF = new Node<String>(\"F\", null, null);\n Node<String> nodeG = new Node<String>(\"G\", null, null);\n root.leftChild = nodeB;\n root.rightChild = nodeC;\n nodeB.leftChild = nodeD;\n nodeB.rightChild = nodeE;\n nodeC.leftChild = nodeF;\n nodeC.rightChild = nodeG;\n\n }", "public TreeRootNode() {\n super(\"root\");\n }", "public BranchGroup createSceneGraph() {\n BranchGroup objRoot = new BranchGroup();\n\n // Create the TransformGroup node and initialize it to the\n // identity. Enable the TRANSFORM_WRITE capability so that\n // our behavior code can modify it at run time. Add it to\n // the root of the subgraph.\n TransformGroup objTrans = new TransformGroup();\n objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);\n objRoot.addChild(objTrans);\n\n // Create a simple Shape3D node; add it to the scene graph.\n objTrans.addChild(new ColorCube(0.4));\n\n // Create a new Behavior object that will perform the\n // desired operation on the specified transform and add\n // it into the scene graph.\n Transform3D yAxis = new Transform3D();\n Alpha rotationAlpha = new Alpha(-1, 4000);\n\n RotationInterpolator rotator = new RotationInterpolator(rotationAlpha,\n objTrans, yAxis, 0.0f, (float) Math.PI * 2.0f);\n BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0),\n 100.0);\n rotator.setSchedulingBounds(bounds);\n objRoot.addChild(rotator);\n\n // Have Java 3D perform optimizations on this scene graph.\n objRoot.compile();\n\n return objRoot;\n }", "public static RootNode buildTree() {\n\t\t//1\n\t\tfinal RootNode root = new RootNode();\n\t\t\n\t\t//2\n\t\tEdgeNode a = attachEdgenode(root, \"a\");\n\t\tEdgeNode daa = attachEdgenode(root, \"daa\");\n\t\t\n\t\t//3\n\t\tExplicitNode e = Builder.buildExplicit();\n\t\te.setPreviousNode(a);\n\t\ta.addChildNode(e);\n\t\t\n\t\tattachLeafNode(daa, \"2\");\n\t\t\n\t\t//4\n\t\tEdgeNode a_e = attachEdgenode(e, \"a\");\n\t\tEdgeNode daa_e = attachEdgenode(e, \"daa\");\t\t\n\t\t\n\t\t//5\n\t\tattachLeafNode(a_e, \"3\");\n\t\tattachLeafNode(daa_e, \"1\");\n\t\treturn root;\n\t}", "public static TreeNode generateBinaryTree1() {\n // Nodes\n TreeNode root = new TreeNode(5);\n TreeNode rootLeft = new TreeNode(2);\n TreeNode rootRight = new TreeNode(4);\n TreeNode rootLeftLeft = new TreeNode(20);\n TreeNode rootLeftRight = new TreeNode(1);\n // Edges\n root.left = rootLeft;\n root.right = rootRight;\n rootLeft.left = rootLeftLeft;\n rootLeft.right = rootLeftRight;\n\n // Return root\n return root;\n }", "protected void makeTheTree(){\n\n structure.getRootNode().branchList.add(structure.getNode11());\n structure.getRootNode().branchList.add(structure.getNode12());\n structure.getRootNode().branchList.add(structure.getNode13());\n\n structure.getNode11().branchList.add(structure.getNode111());\n structure.getNode11().branchList.add(structure.getNode112());\n structure.getNode11().branchList.add(structure.getNode113());\n\n structure.getNode13().branchList.add(structure.getNode131());\n\n structure.getNode112().branchList.add(structure.getNode1121());\n\n }", "public ProgramModule createRootModule(String treeName) throws DuplicateNameException;", "public static Node constructTree() {\n\n Node node2 = new Node(2, null, null);\n Node node8 = new Node(8, null, null);\n Node node12 = new Node(12, null, null);\n Node node17 = new Node(17, null, null);\n\n Node node6 = new Node(6, node2, node8);\n Node node15 = new Node(15, node12, node17);\n\n //Root Node\n Node node10 = new Node(10, node6, node15);\n\n return node10;\n }", "private MutateOperation createRoot() {\n AssetGroupListingGroupFilter listingGroupFilter =\n AssetGroupListingGroupFilter.newBuilder()\n .setResourceName(\n ResourceNames.assetGroupListingGroupFilter(\n customerId, assetGroupId, rootListingGroupId))\n .setAssetGroup(ResourceNames.assetGroup(customerId, assetGroupId))\n // Since this is the root node, do not set the ParentListingGroupFilter. For all other\n // nodes, this would refer to the parent listing group filter resource name.\n // .setParentListingGroupFilter(\"PARENT_FILTER_NAME\")\n //\n // Unlike AddPerformanceMaxRetailCampaign, the type for the root node here must be\n // SUBDIVISION because it will have child partitions under it.\n .setType(ListingGroupFilterType.SUBDIVISION)\n // Specifies that this is in the shopping vertical because it is a Performance Max\n // campaign for retail.\n .setVertical(ListingGroupFilterVertical.SHOPPING)\n // Note the case_value is not set because it should be undefined for the root node.\n .build();\n AssetGroupListingGroupFilterOperation operation =\n AssetGroupListingGroupFilterOperation.newBuilder().setCreate(listingGroupFilter).build();\n return MutateOperation.newBuilder()\n .setAssetGroupListingGroupFilterOperation(operation)\n .build();\n }", "public void initRootLayout(){\n try{\n FXMLLoader loader = new FXMLLoader();\n loader.setLocation(Game.class.getResource(\"view/RootLayout.fxml\"));\n rootLayout = (BorderPane) loader.load();\n\n Scene scene = new Scene(rootLayout);\n \n primaryStage.setScene(scene);\n \n RootLayoutController controller = loader.getController();\n controller.setGame(this);\n \n primaryStage.show(); \n showCreateNewPlayer();\n }catch(IOException e){\n }\n }", "private BinaryTree() {\n root = new Node(0);\n }", "public BranchGroup blocksScene(){\n\t\t\n\t\tIterator iterator = blocks.iterator();\n\t\t\n\t\twhile(iterator.hasNext()){\n\t\t\tbg.addChild(((Block) iterator.next()).boxGridScene());\n\t\t}\n\t\treturn bg;\n\t}", "RootOperationTypeDefinition createRootOperationTypeDefinition();", "public AVLTree() {\r\n\r\n\r\n this.root = new AVLTreeNode(9);\r\n Delete(9);\r\n }", "public void createPlayerModel() {\n\t\tModelBuilder mb = new ModelBuilder();\n\t\tModelBuilder mb2 = new ModelBuilder();\n\t\tlong attr = Usage.Position | Usage.Normal;\n\t\tfloat r = 0.5f;\n\t\tfloat g = 1f;\n\t\tfloat b = 0.75f;\n\t\tMaterial material = new Material(ColorAttribute.createDiffuse(new Color(r, g, b, 1f)));\n\t\tMaterial faceMaterial = new Material(ColorAttribute.createDiffuse(Color.BLUE));\n\t\tfloat w = 1f;\n\t\tfloat d = w;\n\t\tfloat h = 2f;\n\t\tmb.begin();\n\t\t//playerModel = mb.createBox(w, h, d, material, attr);\n\t\tNode node = mb.node(\"box\", mb2.createBox(w, h, d, material, attr));\n\t\t// the face is just a box to show which direction the player is facing\n\t\tNode faceNode = mb.node(\"face\", mb2.createBox(w/2, h/2, d/2, faceMaterial, attr));\n\t\tfaceNode.translation.set(0f, 0f, d/2);\n\t\tplayerModel = mb.end();\n\t}", "public static TreeNode generateBinaryTree3() {\n // Nodes\n TreeNode root = new TreeNode(1);\n TreeNode rootLeft = new TreeNode(2);\n TreeNode rootLeftLeft = new TreeNode(3);\n TreeNode rootLeftLeftLeft = new TreeNode(4);\n TreeNode rootRight = new TreeNode(5);\n TreeNode rootRightRight = new TreeNode(6);\n TreeNode rootRightRightRight = new TreeNode(7);\n // Edges\n root.left = rootLeft;\n rootLeft.left = rootLeftLeft;\n rootLeftLeft.left = rootLeftLeftLeft;\n root.right = rootRight;\n rootRight.right = rootRightRight;\n rootRightRight.right = rootRightRightRight;\n\n // Return root\n return root;\n }", "public SVGElementModel getRoot() {\n \t\treturn store.getRootItems().get(0);\n \t}", "public void makeEmpty()\n {\n root = nil;\n }", "public ObjectBinaryTree() {\n root = null;\n }", "private QuadModel<?, ?> createNewQuad(ModelConfig<?> rootDomainConfig, ExecutionContext eCtx) {\n\t\tObject entity = instantiateEntity(eCtx, rootDomainConfig);\n\t\t\n\t\t// unmapped\t\n\t\tif(!rootDomainConfig.isMapped())\n\t\t\treturn handleUnmapped(rootDomainConfig, eCtx, entity);\n\t\t\n\t\t// mapped\n\t\treturn handleMapped(rootDomainConfig, eCtx, entity, Action._new);\n\t}", "public Builder clearRootFrame() { copyOnWrite();\n instance.clearRootFrame();\n return this;\n }", "private void CreateTree()\r\n\t{\r\n\r\n\t\t//sample nodes which are not identical\r\n\t\ta = new Node(1);\r\n\t\ta.left = new Node(3);\r\n\t\ta.left.left = new Node(5);\r\n\t\ta.right = new Node(2);\r\n\r\n\r\n\t\tb = new Node(2);\r\n\t\tb.left = new Node(1);\r\n\t\tb.right = new Node(3);\r\n\t\tb.right.right = new Node(7);\r\n\t\tb.left.right = new Node(4);\r\n\r\n\t\t//sample nodes which are identical\r\n\t\ta1 = new Node(1);\r\n\t\ta1.left = new Node(3);\r\n\t\ta1.left.left = new Node(5);\r\n\t\ta1.right = new Node(2);\r\n\r\n\r\n\t\tb1 = new Node(1);\r\n\t\tb1.left = new Node(3);\r\n\t\tb1.right = new Node(2);\r\n\t\tb1.left.left = new Node(5); \r\n\t}", "public static SyntaxForestModel createSyntaxForest(\r\n SyntaxTreeInterface tree,\r\n String name) {\r\n try {\r\n // Create an ur-root node to be the parent for all the trees in the\r\n\t\t\t// forest\r\n IRNode n = new MarkedIRNode(\"Root for forest: \"+name);\r\n tree.initNode(n, Ellipsis.prototype, -1);\r\n // tree.initNode(n, -1);\r\n\r\n// final SlotFactory sf = JJNode.treeSlotFactory;\r\n final SlotFactory sf = SimpleSlotFactory.prototype;\r\n final IRSequence<IRNode> roots = sf.newSequence(~1);\r\n roots.setElementAt(n, 0);\r\n System.err.println(\"Finished init of pure forest at \"+Version.getVersion());\r\n \r\n return (new DelegatingPureSyntaxForestFactory(tree, roots, true)).create(\r\n name,\r\n sf);\r\n } catch (SlotAlreadyRegisteredException e) {\r\n e.printStackTrace();\r\n return null;\r\n }\r\n }", "@Override\n public void newBundlesRoot(Bundles new_root) {\n // Adjust state of super\n super.newBundlesRoot(new_root);\n // Save some state\n Map<String,Point2D> wxy_copy = entity_to_wxy;\n // Reset stateful variables for this class\n digraph = new SimpleMyGraph<Bundle>();\n graph = new SimpleMyGraph<Bundle>();\n entity_to_shape = new HashMap<String,Utils.Symbol>();\n entity_to_wxy = new HashMap<String,Point2D>();\n entity_to_sxy = new HashMap<String,String>();\n entity_to_sx = new HashMap<String,Integer>();\n entity_to_sy = new HashMap<String,Integer>();\n // Reapply all the relationships\n for (int i=0;i<active_relationships.size();i++) {\n // System.err.println(\"newBundlesRoot(): Adding In Relationship \\\"\" + active_relationships.get(i) + \"\\\"... bundles.size() = \" + new_root.size());\n addRelationship(active_relationships.get(i), false, new_root);\n }\n // Reapply the world coordinates\n Iterator<String> it = entity_to_wxy.keySet().iterator();\n while (it.hasNext()) {\n String entity = it.next();\n if (wxy_copy.containsKey(entity)) entity_to_wxy.put(entity, wxy_copy.get(entity));\n }\n transform();\n }", "private Parent rootScene() {\r\n hBox = new HBox();\r\n hBox.setSpacing(10);\r\n hBox.setStyle(\"-fx-background-color: #082B59;\");\r\n hBox.getChildren().addAll(btnCam, btnManAut);\r\n\r\n root.setBottom(hBox);\r\n root.setCenter(imageView);\r\n root.setStyle(\"-fx-background-color: #0A2D68;\");\r\n\r\n return root;\r\n }", "public void createModelFromAlloy(){\n\t\t// Get signatures list\n\t\tSafeList<Sig> sigs = module.getAllSigs();\n\t\t// Check if the list is empty\n\t\tif(sigs.isEmpty()) assertMessage(\"Error in create Model FromAlloy: no sig found!\");\n\t\t// Generate java class source file for one top-level sig at a time\n\t\tfor(int i = 0; i<sigs.size(); i++) {\n\t\t\tSig aSig = sigs.get(i);\n\t\t\tif (!aSig.isTopLevel()) continue;\n\t\t\tif(!aSig.builtin){ // User-defined sig\n\t\t\t\tif(aSig.isSubsig != null){\n\t\t\t\t\tPrimSig pSig = (PrimSig) aSig;\n\t\t\t\t\trecursiveGenerate(null, pSig);\t\n\t\t\t\t} else assertMessage(\"TODO: Dealt with subset sig\");\n\t\t\t}\n\t\t\telse assertMessage(\"TODO: Dealt with built-in sig\");\n\t\t}\n\t}", "private void createGeneralScene(Group root3D){\n generateRunways(root3D);\n for(String runwayId: controller.getRunways()){\n genRunwayName(root3D, runwayId, runwayElevation);\n }\n generateLighting(root3D);\n pointCameraAt(new Point3D(0,0,0),root3D);\n }", "BTNode<T> getRoot();", "private void createSelectedScene(Group globalRoot, Group root3D){\n String selectedRunway = appView.getSelectedRunway();\n Point pos = controller.getRunwayPos(selectedRunway);\n\n //Draw the runway name for all runways including the selected runway, but not the sibling runway.\n for(String runwayId: controller.getRunways()){\n if(!runwayId.equals(controller.getSiblingLogicalRunway(selectedRunway))){\n genRunwayName(root3D, runwayId, runwayElevation);\n }\n }\n\n generateRunways(root3D);\n genDisplacedThreshold(root3D, selectedRunway, runwayElevation);\n generateParameters(root3D, selectedRunway);\n genLandingDirection(root3D, selectedRunway,runwayElevation);\n\n generateLighting(root3D);\n pointCameraAt(new Point3D(pos.x,0, -pos.y),root3D);\n\n generateOverlay(globalRoot, root3D);\n }", "private void createScene(Group globalRoot, Group root3D) {\n if(appView.getSelectedRunway().equals(\"\")){\n createGeneralScene(root3D);\n generateGeneralLegend(globalRoot);\n } else if(appView.getMenuPanel().isIsolateMode()){\n createIsolatedScene(globalRoot, root3D);\n generateSelectedLegend(globalRoot);\n } else {\n createSelectedScene(globalRoot, root3D);\n generateSelectedLegend(globalRoot);\n }\n }", "public static INode createRootNode(INode node) {\n String type = node.getClass().getSimpleName();\n INode rootNode = createNode(type, node.getLabel(), IntegerOIDGenerator.getNextOID());\n rootNode.setRoot(true);\n return rootNode;\n }", "public void initRootLayout() {\r\n try {\r\n // Load root layout from fxml file.\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(getClass().getResource(\"/view/rootlayout.fxml\"));\r\n rootLayout = (BorderPane) loader.load();\r\n \r\n // Show the scene containing the root layout.\r\n scene = new Scene(rootLayout);\r\n primaryStage.setScene(scene);\r\n primaryStage.show();\r\n \r\n controller = loader.getController();\r\n controller.setMainApp(this);\r\n \r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "protected static Block createEmptyBlock(AST ast) {\n\t\treturn ast.newBlock();\n\t}", "public Builder clearRootId() {\n \n rootId_ = getDefaultInstance().getRootId();\n onChanged();\n return this;\n }", "public AVLNode getRoot() {\n return root;\n }", "@GetMapping(\"/api\")\r\n public RepresentationModel<?> root() {\r\n RepresentationModel<?> rootResource = new RepresentationModel<>();\r\n rootResource.add(\r\n linkTo(methodOn(BandController.class).getAllBands()).withRel(\"bands\"),\r\n linkTo(methodOn(MusicianController.class).getAllMusicians()).withRel(\"musicians\"),\r\n linkTo(methodOn(RootController.class).root()).withSelfRel());\r\n return rootResource;\r\n }", "public void createSideBlocks() {\n Fill fill = new FillColor(Color.darkGray);\n Block topB = new Block(new Rectangle(new Point(0, 0), 800, 45), fill);\n Block rightB = new Block(new Rectangle(new Point(775, 25), 25, 576), fill);\n Block leftB = new Block(new Rectangle(new Point(0, 25), 25, 576), fill);\n //add each screen-side block to game and set 1 hitpoint.\n topB.addToGame(this);\n topB.setHitPoints(1);\n rightB.addToGame(this);\n rightB.setHitPoints(1);\n leftB.addToGame(this);\n leftB.setHitPoints(1);\n }", "BAnyBlock createBAnyBlock();", "@Override\n protected void createMesh() {\n rayLight.getScope().add(camera);\n\n light = new PointLight(Color.GAINSBORO);\n light.setTranslateX(-300);\n light.setTranslateY(300);\n light.setTranslateZ(-2000);\n\n light2 = new PointLight(Color.ALICEBLUE);\n light2.setTranslateX(300);\n light2.setTranslateY(-300);\n light2.setTranslateZ(2000);\n\n light3 = new PointLight(Color.SPRINGGREEN);\n light3.setTranslateY(-2000);\n //create a target\n target1 = new Sphere(180);\n target1.setId(\"t1\");\n target1.setDrawMode(DrawMode.LINE);\n target1.setCullFace(CullFace.NONE);\n target1.setTranslateX(500);\n target1.setTranslateY(500);\n target1.setTranslateZ(500);\n target1.setMaterial(red);\n // create another target\n target2 = new Sphere(150);\n target2.setId(\"t2\");\n target2.setDrawMode(DrawMode.LINE);\n target2.setCullFace(CullFace.NONE);\n target2.setTranslateX(-500);\n target2.setTranslateY(-500);\n target2.setTranslateZ(-500);\n target2.setMaterial(blue);\n\n origin = new Box(20, 20, 20);\n origin.setDrawMode(DrawMode.LINE);\n origin.setCullFace(CullFace.NONE);\n \n model = new Group(target1, target2, origin, light, light2, light3, rayLight);\n }", "private void createIsolatedScene(Group globalRoot, Group root3D){\n String selectedRunway = appView.getSelectedRunway();\n Point pos = controller.getRunwayPos(selectedRunway);\n\n generateRunwayStrip(root3D, selectedRunway, runwayStripElevation);\n generateClearAndGraded(root3D, selectedRunway, clearAndGradedAreaElevation);\n generateRunway(root3D, selectedRunway, runwayElevation);\n genDisplacedThreshold(root3D, selectedRunway, runwayElevation);\n generateParameters(root3D, selectedRunway);\n genDisplacedThreshold(root3D,selectedRunway,runwayElevation);\n genRunwayName(root3D, selectedRunway, runwayElevation);\n genCenterline(root3D, selectedRunway, runwayElevation);\n genLandingDirection(root3D, selectedRunway, runwayElevation);\n generateLighting(root3D);\n pointCameraAt(new Point3D(pos.x,0, -pos.y),root3D);\n\n generateOverlay(globalRoot, root3D);\n }", "public void makeEmpty() {\n root = null;\n }", "private Node createNullLeaf(Node parent) {\n Node leaf = new Node();\n leaf.color = Color.BLACK;\n leaf.isNull = true;\n leaf.parent = parent;\n leaf.count = Integer.MAX_VALUE;\n leaf.ID = Integer.MAX_VALUE;\n return leaf;\n }", "@Override\r\n protected void initModel() {\n model = new Sphere(\"projectil Model\", 5, 5, 0.2f);\r\n model.setModelBound(new BoundingBox());\r\n model.updateModelBound();\r\n }", "public Region getRoot() {\r\n return root;\r\n }", "public Scene createScene() {\n root = new Group();\n key = new Group();\n Scene scene = new Scene(root, 500, 500, Color.WHITE);\n addRootNode();\n setupKey();\n getAlreadyConnectedPeers();\n return scene;\n }", "public Tree(){\n root = null;\n }", "public static AsonValue CreateRootObject() {\n return CreateRootObject(null);\n }", "protected NodeFigure createNodePlate() {\r\n\t\tDefaultSizeNodeFigure result = new DefaultSizeNodeFigure(12, 12);\r\n\t\treturn result;\r\n\t}", "private void constructTree(List<String> signatures) {\r\n // If no signatures present throw exception\r\n if(signatures.size() == 0){\r\n throw new IllegalArgumentException(\"Must provide a transaction signature to construct Merkle Tree\");\r\n }\r\n\r\n // If only one transaction, return as root node\r\n if(signatures.size() == 1){\r\n root = new Node(Utility.SHA512(signatures.get(0)));\r\n }\r\n\r\n List<Node> parents = constructBase(signatures);\r\n root = constructInternal(parents);\r\n }", "public MappingRoot getRoot() { return _root; }", "public MultiShapeLayer() {}", "public Shape()\n\t{\n\t\tinitShape();\n\t}", "protected Model makeModel()\n {\n LayerList layers = new LayerList();\n\n for (Layer layer : this.observered.getModel().getLayers())\n {\n if (layer instanceof TiledImageLayer) // share TiledImageLayers\n layers.add(layer);\n }\n\n Model model = new BasicModel();\n model.setGlobe(this.observered.getModel().getGlobe()); // share the globe\n model.setLayers(layers);\n\n return model;\n }", "public JsonPointer root() {\n\t\tpathFragments.clear();\n\t\treturn this;\n\t}", "@Override\n\tpublic <T> EntityGraph<T> createEntityGraph(Class<T> rootType) {\n\t\treturn null;\n\t}", "TMNodeModel(TMNode \t\t\troot, \n \t\t\tTMNodeModelRoot modelRoot) {\n this(root, null, modelRoot);\n }", "public void createNodeUsingExistingClasses() {\n final PLayer layer = getCanvas().getLayer();\n layer.addChild(PPath.createEllipse(0, 0, 100, 100));\n layer.addChild(PPath.createRectangle(0, 100, 100, 100));\n layer.addChild(new PText(\"Hello World\"));\n\n // Here we create an image node that displays a thumbnail\n // image of the root node. Note that you can easily get a thumbnail\n // of any node by using PNode.toImage().\n final PImage image = new PImage(layer.toImage(300, 300, null));\n layer.addChild(image);\n }", "RclBlock createRclBlock();", "private BTNode createNode() {\n BTNode btNode;\n btNode = new <DataPair>BTNode ();\n btNode.mIsLeaf = true;\n btNode.mCurrentKeyNum = 0;\n return btNode;\n }", "public void createNode()\r\n\t{\r\n\t\tTreeNode first=new TreeNode(1);\r\n\t\tTreeNode second=new TreeNode(2);\r\n\t\tTreeNode third=new TreeNode(3);\r\n\t\tTreeNode fourth=new TreeNode(4);\r\n\t\tTreeNode fifth=new TreeNode(5);\r\n\t\tTreeNode sixth=new TreeNode(6);\r\n\t\tTreeNode seventh=new TreeNode(7);\r\n\t\tTreeNode eight=new TreeNode(8);\r\n\t\tTreeNode nine=new TreeNode(9);\r\n\t\troot=first;\r\n\t\tfirst.left=second;\r\n\t\tfirst.right=third;\r\n\t\tsecond.left=fourth;\r\n\t\tthird.left=fifth;\r\n\t\tthird.right=sixth;\r\n\t\tfifth.left=seventh;\r\n\t\tseventh.right=eight;\r\n\t\teight.left=nine;\r\n\t\t\r\n\t}", "public BranchGroup createSceneGraph() {\n BranchGroup node = new BranchGroup();\n TransformGroup TG = createSubGraph();\n TG.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);\n TG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);\n // mouse behaviour\n MouseRotate mouse = new MouseRotate(TG);\n mouse.setSchedulingBounds(new BoundingSphere());\n // key nav\n KeyNavigatorBehavior keyNav = new KeyNavigatorBehavior(TG); //Imposto il bound del behavior\n keyNav.setSchedulingBounds(new BoundingSphere(new Point3d(), 100.0)); //Aggiungo il behavior alla scena\n TG.addChild(keyNav);\n TG.addChild(mouse);\n node.addChild(TG);\n // Add directionalLight\n node.addChild(directionalLight());\n // Add ambientLight\n node.addChild(ambientLight());\n return node;\n }", "private void construct(){\n TriangleMesh mesh;\n\n mesh = ObjImporter.loadMesh(\"data/aufgabe3/bunny.obj\");\n mesh.setMaterial(new MaterialNode(0.1f, 0.1f, .5f, 1));\n mesh.getRenderer().setShadingType(ShadingType.GOURAUD);\n scene.addNode(mesh);\n\n mesh = ObjImporter.loadMesh(\"data/aufgabe3/cube.obj\");\n mesh.addTransformation(new TransformationNode(TransformationType.TRANSLATE, 1, 0, 0));\n scene.addNode(mesh);\n\n mesh = ObjImporter.loadMesh(\"data/aufgabe3/teddy.obj\");\n mesh.addTransformation(new TransformationNode(TransformationType.TRANSLATE, 0, 1, 0));\n mesh.setMaterial(new MaterialNode(0.1f, .5f, 0.1f, 1));\n mesh.getRenderer().setShadingType(ShadingType.GOURAUD);\n scene.addNode(mesh);\n\n mesh = ObjImporter.loadMesh(\"data/aufgabe3/sphere.obj\");\n mesh.addTransformation(new TransformationNode(TransformationType.TRANSLATE, 1, 1, 0));\n mesh.setMaterial(new MaterialNode(1, 0, 0, 1));\n mesh.getRenderer().setShadingType(ShadingType.GOURAUD);\n scene.addNode(mesh);\n\n scene.calculateNormals();\n scene.setupRendering();\n }", "TestBlock createTestBlock();", "public static TreeNode generateBinaryTree2() {\n // Nodes\n TreeNode root = new TreeNode(12);\n TreeNode rootLeft = new TreeNode(4);\n TreeNode rootLeftLeft = new TreeNode(3);\n TreeNode rootLeftLeftLeft = new TreeNode(1);\n TreeNode rootLeftLeftLeftLeft = new TreeNode(20);\n TreeNode rootRight = new TreeNode(5);\n // Edges\n root.left = rootLeft;\n rootLeft.left = rootLeftLeft;\n rootLeftLeft.left = rootLeftLeftLeft;\n rootLeftLeftLeft.left = rootLeftLeftLeftLeft;\n root.right = rootRight;\n\n // Return root\n return root;\n }", "protected static DefaultMutableTreeNode getDefaultTreeModel()\n {\n // New root node\n DefaultMutableTreeNode root =\n new DefaultMutableTreeNode(\"Root\");\n \n // First level\n for (int i = 1; i <= 5; i++)\n {\n // New node\n DefaultMutableTreeNode folder =\n new DefaultMutableTreeNode(\"Folder-\" + i);\n \n // Add node to root\n root.add(folder);\n \n // Second level\n for (int j = 1; j <= 3; j++)\n {\n // New node\n DefaultMutableTreeNode subfolder =\n new DefaultMutableTreeNode(\"Subfolder-\" + j);\n \n // Add node to parent node\n folder.add(subfolder);\n \n // Third level\n for (int k = 1; k <= 3; k++)\n {\n // New anchor\n A a = new A(\"http://jakarta.apache.org\");\n a.setTarget(\"target\").addElement(\"Document-\" + k);\n \n // New node (leaf)\n DefaultMutableTreeNode document =\n new DefaultMutableTreeNode(a.toString());\n \n // Add node to parent node\n subfolder.add(document);\n }\n }\n }\n \n // Return root node\n return root;\n }", "public void initRootLayout() {\r\n FXMLLoader loader = fxmlLoaderService.getLoader(getClass().getResource(FXML_MAIN));\r\n\r\n try {\r\n rootLayout = loader.load();\r\n } catch (IOException ex) {\r\n logger.warn(\"Failed to load: \" + FXML_MAIN, ex);\r\n\r\n return;\r\n }\r\n\r\n Scene scene = new Scene(rootLayout);\r\n scene.getStylesheets().add(STYLESHEET_DEFAULT);\r\n\r\n mainStage.setScene(scene);\r\n mainStage.setTitle(\"Business eValuator\");\r\n mainStage.setResizable(true);\r\n mainStage.centerOnScreen();\r\n mainStage.setHeight(900);\r\n mainStage.show();\r\n }", "Block create(int xpos, int ypos);" ]
[ "0.6400233", "0.61582553", "0.6130224", "0.581136", "0.5663284", "0.5639097", "0.5625763", "0.55724585", "0.5503695", "0.54845166", "0.5481339", "0.54394156", "0.54270554", "0.5418574", "0.5415588", "0.5404307", "0.5382596", "0.53531456", "0.53493226", "0.5340034", "0.53099316", "0.5277258", "0.5275378", "0.52635247", "0.52351904", "0.52256274", "0.52085906", "0.51944643", "0.5150711", "0.5142916", "0.5142445", "0.51414084", "0.5128817", "0.5121017", "0.51141787", "0.5113793", "0.5108134", "0.51035166", "0.5095484", "0.50897545", "0.50854784", "0.50846004", "0.50729835", "0.50387764", "0.5028464", "0.50197977", "0.5001205", "0.5000769", "0.49997175", "0.49841648", "0.49764505", "0.49725047", "0.49705037", "0.49686113", "0.49600777", "0.49577174", "0.49405774", "0.49370727", "0.4936588", "0.4933218", "0.49293056", "0.49268043", "0.49218386", "0.4916935", "0.49083814", "0.49081376", "0.49065557", "0.49033245", "0.49017918", "0.4895562", "0.48948252", "0.48923117", "0.48881608", "0.48861653", "0.4884133", "0.4881316", "0.48748875", "0.4861053", "0.48602498", "0.48571494", "0.48561826", "0.48516497", "0.4843147", "0.48399746", "0.48357457", "0.48324007", "0.48321113", "0.4827241", "0.4826046", "0.48251203", "0.48251057", "0.4820867", "0.48164755", "0.4809966", "0.48017806", "0.4798832", "0.47986984", "0.47959927", "0.47929922", "0.47887665" ]
0.65493757
0
Saves the contents of the targetRootBlock member variable to the specified output URI.
public void save() { // Register the XMI resource factory for the .xmi extension Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE; Map<String, Object> m = reg.getExtensionToFactoryMap(); m.put("xmi", new XMIResourceFactoryImpl()); // Obtain a new resource set ResourceSet resSet = new ResourceSetImpl(); // Create a resource Resource resource = resSet.createResource(this.targetURI); // Get the first model element and cast it to the right type resource.getContents().add(targetRootBlock); // Now save the content. Map<String, Object> options = new HashMap<String, Object>(); options.put(XMIResource.OPTION_ENCODING, "UTF-8"); try { resource.save(options); } catch (IOException e) { LOGGER.error("IOException when trying to save to " + this.targetURI); } if (LOGGER.isInfoEnabled()) { LOGGER.info("Saved Shapes model to " + this.targetURI); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String saveProductionBlock(ProductionBlock pb);", "void save(MountPoint mountPoint);", "abstract protected URI getSavedMasterUri();", "public void save()\n throws IOException\n {\n File file = new File(MainFrame.getConfig().getUserPath(), SNAPSHOTFILE);\n if(null != file.getParentFile())\n file.getParentFile().mkdirs();\n\n try(FileOutputStream ostream = new FileOutputStream(file)) {\n try(OutputStreamWriter fw = new OutputStreamWriter(ostream, StandardCharsets.UTF_8)) {\n PrintNode.printNode(m_snapshotDoc, \" \", fw);\n }\n }\n }", "private void writeRootData() {\n synchronized (this.mRootDataList) {\n try {\n FileOutputStream fos = new FileOutputStream(getRootDataFile());\n BufferedOutputStream bos = new BufferedOutputStream(fos);\n Iterator<String> it = this.mRootDataList.iterator();\n while (it.hasNext()) {\n bos.write(it.next().getBytes(StandardCharsets.UTF_8));\n bos.write(System.lineSeparator().getBytes(StandardCharsets.UTF_8));\n }\n bos.close();\n fos.close();\n } catch (IOException e) {\n HiLog.error(RootDetectReport.HILOG_LABEL, \"Failed to write root result data\", new Object[0]);\n }\n }\n }", "public URI getSwapFileDataRoot() {\n return swapFileDataRoot;\n }", "public void write(PrintStream output) {\r\n writeInternal(finalRoot, output);\r\n }", "protected void storeDataPath(FSDataOutputStream output, DataEntry storageEntry) throws IOException {\n OBJECT_MAPPER.writeValue(output, storageEntry);\n }", "protected void root(BSTNode root) {\n\t\tthis.root = (BSTNode)root;\n\t}", "public static synchronized Result makeOutputFile(URI absoluteURI) throws XPathException {\n File newFile = new File(absoluteURI);\n try {\n if (!newFile.exists()) {\n File directory = newFile.getParentFile();\n if (directory != null && !directory.exists()) {\n directory.mkdirs();\n }\n newFile.createNewFile();\n }\n return new StreamResult(newFile);\n } catch (IOException err) {\n throw new XPathException(\"Failed to create output file \" + absoluteURI, err);\n }\n }", "@Override\n public void outBlockStatement(BlockStatement node)\n {\n\n }", "public void saveMap() {\n this.scanMap();\n String userHome = System.getProperty(\"user.home\");\n BinaryExporter export = BinaryExporter.getInstance();\n File file = new File(userHome + \"world.j3o\");\n try {\n export.save(this.testNode, file); \n } catch (IOException ex) {\n Logger.getLogger(mapDevAppState_2.class.getName()).log(Level.SEVERE, \"File write error\");\n }\n }", "@SuppressWarnings(\"unused\")\r\n private URI write(byte[] binary, String fileName, String outputDir) {\r\n log.info(\"Starting to store File in DataRegistry...\");\r\n DataManagerLocal dataRegistry = null;\r\n URI fileURI = null;\r\n URI registryRoot = null;\r\n String dataRegistryPath = null;\r\n\r\n // Binding the DataManagerLocal-Interface to the local\r\n // DataManager-Instance via JNDI.\r\n dataRegistry = createDataRegistry();\r\n try {\r\n // Get the root path of the DataRegistry...using an undocumented\r\n // \"hidden\" feature of the DataManager,\r\n // which is to return the root path of the DR, when \"null\" is\r\n // passed to the list() method.\r\n URI[] storagePaths = dataRegistry.list(null);\r\n registryRoot = storagePaths[0];\r\n dataRegistryPath = registryRoot.toASCIIString();\r\n log.info(\"Registry root: \" + dataRegistryPath);\r\n\r\n } catch (SOAPException e) {\r\n // TODO Auto-generated catch block\r\n e.printStackTrace();\r\n }\r\n\r\n try {\r\n log.info(\"Creating File URI...\");\r\n log.info(\"URI will be: \" + dataRegistryPath + \"/\" + outputDir\r\n + \"/\" + fileName);\r\n\r\n // Create the new URI for storing the file to the DataRegistry.\r\n fileURI = new URI(dataRegistryPath + \"/\" + outputDir + \"/\"\r\n + fileName);\r\n\r\n log.info(\"Created File URI: \" + fileURI.toASCIIString());\r\n } catch (URISyntaxException e) {\r\n log.severe(\"Malformed URI...! \");\r\n e.printStackTrace();\r\n }\r\n\r\n try {\r\n log.info(\"Starting to write binary to DataRegistry...\");\r\n // URI of the default OUTPUT_FOLDER of this Service, used as search\r\n // root when testing\r\n // if a file already exists.\r\n URI outputFolderURI = new URI(dataRegistryPath + \"/\" + outputDir);\r\n log.info(\"Outputfolder: \" + outputFolderURI.toASCIIString());\r\n log.info(\"Searching for duplicated files...\");\r\n\r\n URI[] searchResults = null;\r\n try {\r\n searchResults = dataRegistry.findFilesWithNameContaining(\r\n registryRoot, fileName);\r\n } catch (SOAPException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n // debug output\r\n StringBuffer sb = new StringBuffer();\r\n if (searchResults != null) {\r\n for (int i = 0; i < searchResults.length; i++) {\r\n sb = sb.append(searchResults[i].toASCIIString() + \"\\n\");\r\n }\r\n }\r\n // end debug output\r\n\r\n log.info(\"Found the following hits: \" + sb.toString());\r\n\r\n String searchPattern = outputDir + \"/\" + fileName;\r\n\r\n boolean hitFound = testSearchResultsForHits(searchResults,\r\n searchPattern);\r\n\r\n String renamedFileName = null;\r\n\r\n if (hitFound) {\r\n renamedFileName = addTimestampToFileName(fileName);\r\n URI newURI = createNewURI(renamedFileName, outputFolderURI);\r\n log.info(\"Storing file with new name: \" + renamedFileName\r\n + \" in DataRegistry...\");\r\n // store it in the DataRegistry, using the new\r\n // filename\r\n dataRegistry.storeBinary(newURI, binary);\r\n log.info(\"Successfully stored binary in DataRegistry: \"\r\n + renamedFileName);\r\n fileURI = newURI;\r\n } else {\r\n dataRegistry.storeBinary(fileURI, binary);\r\n }\r\n\r\n } catch (URISyntaxException e) {\r\n log.severe(\"URISyntaxException: \" + e.getLocalizedMessage());\r\n e.printStackTrace();\r\n } catch (LoginException e) {\r\n // TODO Auto-generated catch block\r\n e.printStackTrace();\r\n } catch (RepositoryException e) {\r\n // TODO Auto-generated catch block\r\n e.printStackTrace();\r\n }\r\n\r\n return fileURI;\r\n }", "void associate(SNode outputNode, SReferenceLink role, String targetModelRef, String targetNodeId);", "public static void saveDom(Document doc, URI theUri, String encoding, boolean bIndent, String output)\n throws Exception {\n if (doc == null) {\n throw (new Exception(\"No_dom_to_save\"));\n }\n if (theUri == null) {\n throw (new Exception(\"No_uri_to_save_to\"));\n }\n output = output.toLowerCase().trim();\n if ((!output.equals(Options.XML))\n && (!output.equals(Options.HTML))\n && (!output.equals(Options.HTML5))\n && (!output.equals(Options.TEXT))\n && (!output.equals(Options.XHTML))) {\n throw (new Exception(\"unknown_output_method\" + \": \" + output));\n }\n if (encoding == null) {\n encoding = doc.getXmlEncoding();\n }\n if (encoding == null) {\n encoding = default_encoding;\n }\n\n String ds = saveDomToString(doc, encoding, bIndent, output);\n accessutils.saveTFile(theUri, ds, encoding);\n // It would be slightly faster to transform directly to URI\n // but making the string first gives better control and one place to\n // work with the rather tricky code\n\n }", "public void setRootRef(Reference rootRef) {\n this.rootRef = rootRef;\n }", "public void setTargetUri(final String targetUri) {\r\n\t\tthis.targetUri = targetUri;\r\n\t}", "public void transform() {\n\t\tthis.targetRootBlock = copy(this.sourceRootBlock);\n\n\t\tList<BlockImpl> blocks = allSubobjectsOfKind(targetRootBlock,\n\t\t\t\tBlockImpl.class);\n\t\tList<Block> emptyBlocks = new LinkedList<Block>();\n\t\tfor (Block block : blocks) {\n\t\t\tif (block.getModelElement().size() == 0) {\n\t\t\t\temptyBlocks.add(block);\n\t\t\t}\n\t\t}\n\n\t\tfor (Block block : emptyBlocks) {\n\t\t\tcreateSquare(block);\n\t\t\tEcoreUtil.delete(block);\n\t\t}\n\n\t\tif (LOGGER.isInfoEnabled()) {\n\t\t\tLOGGER.info(\"Completed Transformation\");\n\t\t}\n\t}", "public void setTarget(CPointer<BlenderObject> target) throws IOException\n\t{\n\t\tlong __address = ((target == null) ? 0 : target.getAddress());\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeLong(__io__address + 128, __address);\n\t\t} else {\n\t\t\t__io__block.writeLong(__io__address + 104, __address);\n\t\t}\n\t}", "private void saveTree(File saveFile) throws FileNotFoundException {\r\n\t\tPrintStream ps = new PrintStream(saveFile); // Prepare to output to save file\r\n\t\tsaveTree(ps, getRootNode());\r\n\t\tps.close(); // Close the save file\r\n\t}", "@Test\n public void downloadToplevel_treeArtifacts() throws Exception {\n if (OS.getCurrent() == OS.WINDOWS) {\n return;\n }\n setDownloadToplevel();\n writeOutputDirRule();\n write(\n \"BUILD\",\n \"load(':output_dir.bzl', 'output_dir')\",\n \"output_dir(\",\n \" name = 'foo',\",\n \" content_map = {'file-1': '1', 'file-2': '2', 'file-3': '3'},\",\n \")\");\n\n buildTarget(\"//:foo\");\n\n assertValidOutputFile(\"foo/file-1\", \"1\");\n assertValidOutputFile(\"foo/file-2\", \"2\");\n assertValidOutputFile(\"foo/file-3\", \"3\");\n // TODO(chiwang): Make metadata for downloaded outputs local.\n // assertThat(getMetadata(\"//:foo\").values().stream().noneMatch(FileArtifactValue::isRemote))\n // .isTrue();\n }", "public void serialize(OutputStream outputStream) throws IOException {\n serializeInternalNode((InternalMNode) this.root, outputStream);\n }", "public void savePerformed(AjaxRequestTarget target) {\n\t\tprogressPanel.onBeforeSave();\n\t\tOperationResult result = new OperationResult(OPERATION_SAVE);\n\t\tpreviewRequested = false;\n\t\tsaveOrPreviewPerformed(target, result, false);\n\t}", "public INode saveChild2Snapshot(final INode child, final Snapshot latest,\r\n final INode snapshotCopy) throws NSQuotaExceededException {\r\n if (latest == null) {\r\n return child;\r\n }\r\n return replaceSelf4INodeDirectoryWithSnapshot()\r\n .saveChild2Snapshot(child, latest, snapshotCopy);\r\n }", "private URI createNewURI(String renamedFileName, URI outputFolderURI) {\n URI renamedFileURI = null;\r\n try {\r\n renamedFileURI = new URI(outputFolderURI.toASCIIString() + \"/\"\r\n + renamedFileName);\r\n\r\n log.info(\"New file URI: \" + renamedFileURI.toASCIIString());\r\n\r\n log.info(\"Storing file with new name: \" + renamedFileName\r\n + \" in DataRegistry...\");\r\n } catch (URISyntaxException e) {\r\n // TODO Auto-generated catch block\r\n e.printStackTrace();\r\n }\r\n return renamedFileURI;\r\n }", "public void storePartCapturedContent() {\n // storePart only works for the classic external index format.\n // for internal, we just ignore it (will be fully stored eventually by final call to store())\n\n getDocWriter().storeInContentStore(null, new TextContent(content), captureContentFieldName, \"contents\");\n }", "public abstract void setOutputUrl(String outputUrl);", "@Override\r\n public String getRootURI() {\r\n if (rootUri == null) {\r\n final StringBuilder buffer = new StringBuilder();\r\n appendRootUri(buffer, true);\r\n buffer.append(SEPARATOR_CHAR);\r\n rootUri = buffer.toString().intern();\r\n }\r\n return rootUri;\r\n }", "public void save() {\n\n\t\tint[][] rawData = new int[2][CHUNK_SIZE * CHUNK_SIZE];\n\n\t\tfor (int l = 0; l < 2; l++) {\n\t\t\tLayer layer = Layer.get(l);\n\t\t\tfor (int y = 0; y < CHUNK_SIZE; y++) {\n\t\t\t\tfor (int x = 0; x < CHUNK_SIZE; x++) {\n\t\t\t\t\trawData[l][x + y * CHUNK_SIZE] = getTileId(layer, x, y);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.saveData = new RawChunkData(rawData);\n\t}", "public void OTTOLNameDump(Node rootNode, String outFileName) {\n \n // create file access variables\n File outFileMain = null;\n File outFileMetadata = null;\n FileWriter fwMain = null;\n FileWriter fwMetadata = null;\n BufferedWriter bwMain = null;\n BufferedWriter bwMetadata = null;\n \n // initialize files\n try {\n \n outFileMain = new File(outFileName);\n outFileMetadata = new File(outFileName+\".metadata\");\n \n if (!outFileMain.exists()) { outFileMain.createNewFile(); }\n if (!outFileMetadata.exists()) { outFileMetadata.createNewFile(); }\n \n fwMain = new FileWriter(outFileMain.getAbsoluteFile());\n fwMetadata = new FileWriter(outFileMetadata.getAbsoluteFile());\n \n bwMain = new BufferedWriter(fwMain);\n bwMetadata = new BufferedWriter(fwMetadata);\n \n System.out.println(\"Test: writing names from \" + rootNode.getProperty(\"name\") + \" to \" + outFileName + \", \" + outFileName + \".metadata\");\n \n } catch (IOException e) {\n e.printStackTrace();\n } \n \n String sourceJSON = \"\\\"externalSources\\\":{\";\n // first need to get list of sources, currently including 'nodeid' source\n Index<Node> taxSources = ALLTAXA.getNodeIndex(NodeIndexDescription.TAX_SOURCES);\n IndexHits<Node> sourceNodes = taxSources.query(\"source\", \"*\");\n boolean first0 = true;\n for (Node metadataNode : sourceNodes) {\n String sourceName = String.valueOf(metadataNode.getProperty(\"source\"));\n String author = String.valueOf(metadataNode.getProperty(\"author\"));\n String uri = String.valueOf(metadataNode.getProperty(\"uri\"));\n String urlPrefix = String.valueOf(metadataNode.getProperty(\"urlprefix\"));\n String weburl = String.valueOf(metadataNode.getProperty(\"weburl\"));\n if (first0) {\n first0 = false;\n } else {\n sourceJSON += \",\";\n }\n sourceJSON += \"\\\"\" + sourceName + \"\\\":{\\\"author\\\":\\\"\" + author + \"\\\",\\\"uri\\\":\\\"\" + uri + \"\\\",\\\"urlprefix\\\":\\\"\" + urlPrefix + \"\\\",\\\"weburl\\\":\\\"\" + weburl + \"\\\"}\";\n }\n sourceNodes.close();\n \n String metadata = \"{\\\"metadata\\\":{\\\"version\\\":\\\"0\\\",\\\"treestoreMetadata\\\":{\\\"treestoreShortName\\\":\\\"ottol\\\",\\\"treestoreLongName\\\":\\\"Open Tree of Life\\\",\\\"weburl\\\":\\\"\\\",\\\"urlPrefix\\\":\\\"\\\"},\";\n metadata += sourceJSON + \"}\";\n \n // write the namedump metadata and source metadata\n try {\n bwMain.write(metadata);\n bwMetadata.write(metadata + \"}}\");\n bwMetadata.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n \n \n // will contain data for all taxon nodes with their sources\n HashMap<Node, HashMap<String, String>> nodeSourceMap = new HashMap<Node, HashMap<String, String>>();\n \n for (Node n : PREFTAXCHILDOF_TRAVERSAL.traverse(rootNode).nodes()) {\n // System.out.println(\"name: \" + n.getProperty(\"name\") + \"; id: \" + String.valueOf(n.getId()));\n \n // source name : source UID\n HashMap<String, String> sourceIdMap = new HashMap<String, String>();\n \n for (Relationship l : n.getRelationships(Direction.OUTGOING, RelType.TAXCHILDOF)) {\n // System.out.println(\"start node: \" + String.valueOf(l.getStartNode().getId()) + \"; end node: \" + String.valueOf(l.getEndNode().getId()));\n \n String sourceName = \"\";\n if (l.hasProperty(\"source\")) {\n sourceName = String.valueOf(l.getProperty(\"source\"));\n }\n \n String taxUId = \"\";\n if (l.hasProperty(\"childid\")) {\n taxUId = String.valueOf(l.getProperty(\"childid\"));\n }\n \n if (sourceName != \"\") {\n sourceIdMap.put(sourceName, taxUId);\n }\n }\n \n // add source info for this taxon to the map\n nodeSourceMap.put(n, sourceIdMap);\n \n }\n \n try {\n bwMain.write(\",\\\"names\\\":[\");\n } catch (IOException e1) {\n // TODO Auto-generated catch block\n e1.printStackTrace();\n }\n \n boolean first = true;\n for (Entry<Node, HashMap<String, String>> nameData : nodeSourceMap.entrySet()) {\n Node taxNode = nameData.getKey();\n String taxName = String.valueOf(taxNode.getProperty(\"name\"));\n HashMap<String, String> nameIds = nameData.getValue();\n \n String treestoreId = \"\";\n String sourceIdString = \"\";\n boolean first2 = true;\n for (Entry<String, String> source : nameIds.entrySet()) {\n String sourceName = source.getKey();\n String id = source.getValue();\n \n // set the treestore id using an id we recognize\n if (treestoreId == \"\") {\n if (id != \"\") {\n treestoreId = sourceName + \":\" + id;\n }\n }\n \n if (first2) { first2 = false; } else { sourceIdString += \",\"; } \n sourceIdString += \"\\\"\" + sourceName + \"\\\":\\\"\" + id + \"\\\"\";\n }\n \n // for those things that we don't have UIDs for (i.e. gbif names), we are currently spoofing them\n // using the neo4j node ids. this should be unnecessary once we have external UIDs for all our names\n if (treestoreId == \"\") {\n treestoreId = \"nodeid:\" + String.valueOf(taxNode.getId());\n }\n \n String nameString = \"\";\n if (first) { first = false; } else { nameString += \",\"; }\n nameString += \"{\\\"name\\\":\\\"\" + taxName + \"\\\",\\\"treestoreId\\\":\\\"\" + treestoreId + \"\\\",\\\"sourceIds\\\":{\" + sourceIdString + \"}}\";\n \n try {\n bwMain.write(nameString);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n \n try {\n bwMain.write(\"]}}\");\n bwMain.close();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "CreateS3VolumeRequestBuilder setRootUrl(String rootUrl);", "public void serialize(OutputStream output) throws IOException {\n ObjectOutputStream outputStream = new ObjectOutputStream(output);\n outputStream.writeObject(root);\n }", "private void writeBlock(DataInputStream in) throws IOException {\n //\n // Read in the header\n //\n DataOutputStream reply = \n new DataOutputStream(new BufferedOutputStream(s.getOutputStream()));\n try {\n boolean shouldReportBlock = in.readBoolean();\n Block b = new Block();\n b.readFields(in);\n int numTargets = in.readInt();\n if (numTargets <= 0) {\n throw new IOException(\"Mislabelled incoming datastream.\");\n }\n DatanodeInfo targets[] = new DatanodeInfo[numTargets];\n for (int i = 0; i < targets.length; i++) {\n DatanodeInfo tmp = new DatanodeInfo();\n tmp.readFields(in);\n targets[i] = tmp;\n }\n byte encodingType = (byte) in.read();\n long len = in.readLong();\n \n //\n // Make sure curTarget is equal to this machine\n //\n DatanodeInfo curTarget = targets[0];\n \n //\n // Track all the places we've successfully written the block\n //\n Vector mirrors = new Vector();\n \n //\n // Open local disk out\n //\n DataOutputStream out = new DataOutputStream(new BufferedOutputStream(data.writeToBlock(b)));\n InetSocketAddress mirrorTarget = null;\n String mirrorNode = null;\n try {\n //\n // Open network conn to backup machine, if \n // appropriate\n //\n DataInputStream in2 = null;\n DataOutputStream out2 = null;\n if (targets.length > 1) {\n // Connect to backup machine\n mirrorNode = targets[1].getName();\n mirrorTarget = createSocketAddr(mirrorNode);\n try {\n Socket s2 = new Socket();\n s2.connect(mirrorTarget, READ_TIMEOUT);\n s2.setSoTimeout(READ_TIMEOUT);\n out2 = new DataOutputStream(new BufferedOutputStream(s2.getOutputStream()));\n in2 = new DataInputStream(new BufferedInputStream(s2.getInputStream()));\n \n // Write connection header\n out2.write(OP_WRITE_BLOCK);\n out2.writeBoolean(shouldReportBlock);\n b.write(out2);\n out2.writeInt(targets.length - 1);\n for (int i = 1; i < targets.length; i++) {\n targets[i].write(out2);\n }\n out2.write(encodingType);\n out2.writeLong(len);\n myMetrics.replicatedBlocks(1);\n } catch (IOException ie) {\n if (out2 != null) {\n LOG.info(\"Exception connecting to mirror \" + mirrorNode \n + \"\\n\" + StringUtils.stringifyException(ie));\n try {\n out2.close();\n in2.close();\n } catch (IOException out2close) {\n } finally {\n out2 = null;\n in2 = null;\n }\n }\n }\n }\n \n //\n // Process incoming data, copy to disk and\n // maybe to network.\n //\n boolean anotherChunk = len != 0;\n byte buf[] = new byte[BUFFER_SIZE];\n \n while (anotherChunk) {\n while (len > 0) {\n int bytesRead = in.read(buf, 0, (int)Math.min(buf.length, len));\n if (bytesRead < 0) {\n throw new EOFException(\"EOF reading from \"+s.toString());\n }\n if (bytesRead > 0) {\n try {\n out.write(buf, 0, bytesRead);\n myMetrics.wroteBytes(bytesRead);\n } catch (IOException iex) {\n if (iex.getMessage().startsWith(\"No space left on device\")) {\n \t throw new DiskOutOfSpaceException(\"No space left on device\");\n } else {\n shutdown();\n throw iex;\n }\n }\n if (out2 != null) {\n try {\n out2.write(buf, 0, bytesRead);\n } catch (IOException out2e) {\n LOG.info(\"Exception writing to mirror \" + mirrorNode \n + \"\\n\" + StringUtils.stringifyException(out2e));\n //\n // If stream-copy fails, continue \n // writing to disk. We shouldn't \n // interrupt client write.\n //\n try {\n out2.close();\n in2.close();\n } catch (IOException out2close) {\n } finally {\n out2 = null;\n in2 = null;\n }\n }\n }\n len -= bytesRead;\n }\n }\n \n if (encodingType == RUNLENGTH_ENCODING) {\n anotherChunk = false;\n } else if (encodingType == CHUNKED_ENCODING) {\n len = in.readLong();\n if (out2 != null) {\n try {\n out2.writeLong(len);\n } catch (IOException ie) {\n LOG.info(\"Exception writing to mirror \" + mirrorNode \n + \"\\n\" + StringUtils.stringifyException(ie));\n try {\n out2.close();\n in2.close();\n } catch (IOException ie2) {\n // NOTHING\n } finally {\n out2 = null;\n in2 = null;\n }\n }\n }\n if (len == 0) {\n anotherChunk = false;\n }\n }\n }\n \n if (out2 != null) {\n try {\n out2.flush();\n long complete = in2.readLong();\n if (complete != WRITE_COMPLETE) {\n LOG.info(\"Conflicting value for WRITE_COMPLETE: \" + complete);\n }\n LocatedBlock newLB = new LocatedBlock();\n newLB.readFields(in2);\n in2.close();\n out2.close();\n DatanodeInfo mirrorsSoFar[] = newLB.getLocations();\n for (int k = 0; k < mirrorsSoFar.length; k++) {\n mirrors.add(mirrorsSoFar[k]);\n }\n } catch (IOException ie) {\n LOG.info(\"Exception writing to mirror \" + mirrorNode \n + \"\\n\" + StringUtils.stringifyException(ie));\n try {\n out2.close();\n in2.close();\n } catch (IOException ie2) {\n // NOTHING\n } finally {\n out2 = null;\n in2 = null;\n }\n }\n }\n if (out2 == null) {\n LOG.info(\"Received block \" + b + \" from \" + \n s.getInetAddress());\n } else {\n LOG.info(\"Received block \" + b + \" from \" + \n s.getInetAddress() + \n \" and mirrored to \" + mirrorTarget);\n }\n } finally {\n try {\n out.close();\n } catch (IOException iex) {\n shutdown();\n throw iex;\n }\n }\n data.finalizeBlock(b);\n myMetrics.wroteBlocks(1);\n \n // \n // Tell the namenode that we've received this block \n // in full, if we've been asked to. This is done\n // during NameNode-directed block transfers, but not\n // client writes.\n //\n if (shouldReportBlock) {\n synchronized (receivedBlockList) {\n receivedBlockList.add(b);\n receivedBlockList.notifyAll();\n }\n }\n \n //\n // Tell client job is done, and reply with\n // the new LocatedBlock.\n //\n reply.writeLong(WRITE_COMPLETE);\n mirrors.add(curTarget);\n LocatedBlock newLB = new LocatedBlock(b, (DatanodeInfo[]) mirrors.toArray(new DatanodeInfo[mirrors.size()]));\n newLB.write(reply);\n } finally {\n reply.close();\n }\n }", "public void save() {\n Path root = Paths.get(storagePath);\n try {\n Files.copy(file.getInputStream(), root.resolve(file.getOriginalFilename()),\n StandardCopyOption.REPLACE_EXISTING);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void writeDocumentToOutput() {\n log.debug(\"Statemend of XML document...\");\r\n // writeDocumentToOutput(root,0);\r\n log.debug(\"... end of statement\");\r\n }", "@Override\n\tpublic void export(DataConfig storeConfig) {\n\t\t\n\t\tsuper.export(storeConfig);\n\t\t\n\t\tUriAdapter adapter = new UriAdapter(storeConfig);\n\t\tsaveBnetMap(adapter, bnetMap, storeConfig.getStoreUri(), getName());\n\t\tadapter.close();\n\t}", "void save(String output);", "public final void ruleOutStoreReference() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:944:2: ( ( ( rule__OutStoreReference__Group__0 ) ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:945:1: ( ( rule__OutStoreReference__Group__0 ) )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:945:1: ( ( rule__OutStoreReference__Group__0 ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:946:1: ( rule__OutStoreReference__Group__0 )\n {\n before(grammarAccess.getOutStoreReferenceAccess().getGroup()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:947:1: ( rule__OutStoreReference__Group__0 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:947:2: rule__OutStoreReference__Group__0\n {\n pushFollow(FOLLOW_rule__OutStoreReference__Group__0_in_ruleOutStoreReference1756);\n rule__OutStoreReference__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOutStoreReferenceAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "public void saveOffers() {\n System.out.println(this.currentChild);\n // TODO [assignment_final] ulozeni aktualnich nabidek do souboru (vyberte si nazev souboru a format jaky uznate za vhodny - CSV nebo JSON)\n }", "public void setTargetLocation(Location targetLocation) \n {\n this.targetLocation = targetLocation;\n }", "public final void rule__OutStoreReference__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5692:1: ( rule__OutStoreReference__Group__0__Impl rule__OutStoreReference__Group__1 )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5693:2: rule__OutStoreReference__Group__0__Impl rule__OutStoreReference__Group__1\n {\n pushFollow(FOLLOW_rule__OutStoreReference__Group__0__Impl_in_rule__OutStoreReference__Group__011164);\n rule__OutStoreReference__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__OutStoreReference__Group__1_in_rule__OutStoreReference__Group__011167);\n rule__OutStoreReference__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public static void saveDataCenter(SynchronizedDataCenter dataCenter) {\n\t\tFileOutputStream fileOut = null;\n\t\tBufferedOutputStream bufferedOut = null;\n\t\ttry {\n\t\t\tfileOut = new FileOutputStream(FILENAME+\".SAV\");\n\t\t\tbufferedOut = new BufferedOutputStream(fileOut);\n\t\t\tbufferedOut.write(getByteArray(dataCenter));\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n//\t\t\tcloseCloseable(fileOut);\n\t\t\tcloseCloseable(bufferedOut); // we need to close either fileOut or bufferedOut but not both (don't understand why)\n\t\t}\n\t}", "@Test\n public void treeOutputsFromLocalFileSystem_works() throws Exception {\n if (OS.getCurrent() == OS.WINDOWS) {\n return;\n }\n // Test that tree artifact generated locally can be consumed by other actions.\n // See https://github.com/bazelbuild/bazel/issues/16789\n\n // Disable remote execution so tree outputs are generated locally\n addOptions(\"--modify_execution_info=OutputDir=+no-remote-exec\");\n setDownloadToplevel();\n writeOutputDirRule();\n write(\n \"BUILD\",\n \"load(':output_dir.bzl', 'output_dir')\",\n \"output_dir(\",\n \" name = 'foo',\",\n \" content_map = {'file-1': '1'},\",\n \")\",\n \"genrule(\",\n \" name = 'foobar',\",\n \" srcs = [':foo'],\",\n \" outs = ['out/foobar.txt'],\",\n \" cmd = 'cat $(location :foo)/file-1 > $@ && echo bar >> $@',\",\n \")\");\n\n buildTarget(\"//:foobar\");\n waitDownloads();\n\n assertValidOutputFile(\"out/foobar.txt\", \"1bar\\n\");\n }", "public final void entryRuleOutStoreReference() throws RecognitionException {\n\n \tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n\n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:928:1: ( ruleOutStoreReference EOF )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:929:1: ruleOutStoreReference EOF\n {\n before(grammarAccess.getOutStoreReferenceRule()); \n pushFollow(FOLLOW_ruleOutStoreReference_in_entryRuleOutStoreReference1719);\n ruleOutStoreReference();\n\n state._fsp--;\n\n after(grammarAccess.getOutStoreReferenceRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleOutStoreReference1726); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \tmyHiddenTokenState.restore();\n\n }\n return ;\n }", "void setRoot(Node<K, V> root) throws IOException;", "void save() {\n File file = new File(main.myPath + \"state.xml\");\n Framework.backup(main.myPath + \"state.xml\");\n Framework.transform(stateDoc, new StreamResult(file), null);\n setDirty(false);\n }", "private void saveOutputFile() {\n FileChooser fileChooser = new FileChooser();\n if (textMergeScript.hasCurrentDirectory()) {\n fileChooser.setInitialDirectory (textMergeScript.getCurrentDirectory());\n }\n chosenOutputFile = fileChooser.showSaveDialog (ownerWindow);\n if (fileChooser != null) {\n writeOutput();\n openOutputDataName.setText (tabNameOutput);\n }\n }", "public void saveGlobalSigns()\n\t{\n\t\tplugin.fileio.saveGlobalSigns();\n\t}", "public abstract void saveLocationXml(Location location);", "BuildingBlock saveBuildingBlock(BuildingBlock buildingBlock) throws BusinessException;", "public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }", "@Override\n\tpublic void saveBlocks() {\n\t\tint saved = 0;\n\t\ttry {\n\t\t\tsaved = ZoneVolumeMapper.saveZoneBlocksAndEntities(this, this.zone.getName());\n\t\t} catch (SQLException ex) {\n\t\t\tWar.war.log(\"Failed to save warzone \" + zone.getName() + \": \" + ex.getMessage(), Level.WARNING);\n\t\t\tex.printStackTrace();\n\t\t}\n\t\tWar.war.log(\"Saved \" + saved + \" blocks in warzone \" + this.zone.getName() + \".\", java.util.logging.Level.INFO);\n\t\tthis.isSaved = true;\n\t}", "private void refreshTargetNode(IOrganiserContainer targetParent) {\n fViewer.refresh(targetParent);\n if(targetParent != OrganiserIndex.getInstance()) {\n fViewer.expandToLevel(targetParent, AbstractTreeViewer.ALL_LEVELS);\n fViewer.setSelection(new StructuredSelection(targetParent));\n }\n }", "public void setRoot(String root);", "public void write(PrintStream output) {\r\n writeHelper(output, overallRoot);\r\n }", "public File getRetrieveRoot() {\n return retrieveRoot;\n }", "@Override\n\tpublic void save(DataConfig storeConfig) throws RemoteException {\n\t\t\n\t\tsuper.save(storeConfig);\n\t\t\n\t\tUriAdapter adapter = new UriAdapter(storeConfig);\n\t\tsaveBnetMap(adapter, bnetMap, storeConfig.getStoreUri(), getName());\n\t\tadapter.close();\n\t}", "@Test\n public void downloadToplevel_symlinkToGeneratedFile() throws Exception {\n assumeFalse(OS.getCurrent() == OS.WINDOWS);\n\n setDownloadToplevel();\n writeSymlinkRule();\n write(\n \"BUILD\",\n \"load(':symlink.bzl', 'symlink')\",\n \"genrule(\",\n \" name = 'foo',\",\n \" srcs = [],\",\n \" outs = ['out/foo.txt'],\",\n \" cmd = 'echo foo > $@',\",\n \")\",\n \"symlink(\",\n \" name = 'foo-link',\",\n \" target_artifact = ':foo',\",\n \")\");\n\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"out/foo.txt\").asFragment());\n assertValidOutputFile(\"foo-link\", \"foo\\n\");\n\n // Delete link, re-plant symlink\n getOutputPath(\"foo-link\").delete();\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"out/foo.txt\").asFragment());\n assertValidOutputFile(\"foo-link\", \"foo\\n\");\n\n // Delete target, re-download it\n getOutputPath(\"out/foo.txt\").delete();\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"out/foo.txt\").asFragment());\n assertValidOutputFile(\"foo-link\", \"foo\\n\");\n }", "private void saveTree(PrintStream saveStream, BinaryNode<String> current) {\r\n\t\t// TODO: Implement and comment based on comments above and assignment description: 10 points\r\n\t\t//The current node is null, save it as NULL in the txt file. This indicates the presence of a leaf and the end of a portion of the \r\n\t\t//tree.\r\n\t\tif(current == null) {\r\n\t\t\tsaveStream.println(\"NULL\");\r\n\t\t}\r\n\t\t//Else, print the data of the current node to the save file in the preorder style\r\n\t\telse {\r\n\t\t\t//Save current\r\n\t\t\tsaveStream.println(current.getData());\r\n\t\t\t//Save left\r\n\t\t\tsaveTree(saveStream, current.getLeftChild());\r\n\t\t\t//Save right\r\n\t\t\tsaveTree(saveStream, current.getRightChild());\r\n\r\n\t\t}\r\n\t}", "public void save() throws Exception {\n // create a File object for the output file\n File outputFile = new File(MinuteUpdater.mapDir, this.fileName);\n // outputFile.mkdirs();\n outputFile.createNewFile();\n FileOutputStream fileOutputStream = new FileOutputStream(outputFile);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n\n objectOutputStream.writeObject(this);\n objectOutputStream.close();\n }", "@Test\n public void downloadToplevel_symlinkToDirectory() throws Exception {\n assumeFalse(OS.getCurrent() == OS.WINDOWS);\n\n setDownloadToplevel();\n writeSymlinkRule();\n writeOutputDirRule();\n write(\n \"BUILD\",\n \"load(':output_dir.bzl', 'output_dir')\",\n \"load(':symlink.bzl', 'symlink')\",\n \"output_dir(\",\n \" name = 'foo',\",\n \" content_map = {'file-1': '1', 'file-2': '2', 'file-3': '3'},\",\n \")\",\n \"symlink(\",\n \" name = 'foo-link',\",\n \" target_artifact = ':foo',\",\n \")\");\n\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"foo\").asFragment());\n assertValidOutputFile(\"foo-link/file-1\", \"1\");\n assertValidOutputFile(\"foo-link/file-2\", \"2\");\n assertValidOutputFile(\"foo-link/file-3\", \"3\");\n\n // Delete link, re-plant symlink\n getOutputPath(\"foo-link\").deleteTree();\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"foo\").asFragment());\n assertValidOutputFile(\"foo-link/file-1\", \"1\");\n assertValidOutputFile(\"foo-link/file-2\", \"2\");\n assertValidOutputFile(\"foo-link/file-3\", \"3\");\n\n // Delete target, re-download them\n getOutputPath(\"foo\").deleteTree();\n\n buildTarget(\"//:foo-link\");\n\n assertSymlink(\"foo-link\", getOutputPath(\"foo\").asFragment());\n assertValidOutputFile(\"foo-link/file-1\", \"1\");\n assertValidOutputFile(\"foo-link/file-2\", \"2\");\n assertValidOutputFile(\"foo-link/file-3\", \"3\");\n }", "void setROOT(amdocs.iam.pd.webservices.quotation.getquoteinput.GetQuoteInput root);", "private RootBlock copy(RootBlock sourceRootBlock) {\n\t\tCopier copier = new Copier(true);\n\t\tRootBlock result = (RootBlock) copier.copy(sourceRootBlock);\n\t\tcopier.copyReferences();\n\t\treturn result;\n\t}", "public URI getSnapshotDataRoot() {\n return snapshotDataRoot;\n }", "@Override\n\tprotected void onSaveInstanceState(Bundle outState) {\n\t\tsuper.onSaveInstanceState(outState);\n\t\toutState.putStringArrayList(SELFIE_KEY, selfiesURI);\n\t\tif (pathToSaveSelfie != null) {\n\t\t\toutState.putString(SELFIE_PATH, pathToSaveSelfie.toString());\n\t\t}\t\n\t}", "public final void rule__OutStoreReference__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5704:1: ( ( () ) )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5705:1: ( () )\n {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5705:1: ( () )\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5706:1: ()\n {\n before(grammarAccess.getOutStoreReferenceAccess().getOutStoreReferenceAction_0()); \n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5707:1: ()\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:5709:1: \n {\n }\n\n after(grammarAccess.getOutStoreReferenceAccess().getOutStoreReferenceAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public static void putRoot(final Container root, final String rootName) {\n\t\tgetRootMap().put(rootName, root.getChecksum());\n\t}", "public void setStorageBlock(Long StorageBlock) {\n this.StorageBlock = StorageBlock;\n }", "public void writeToFile(byte[] output) {\r\n try {\r\n file.seek(currOffset);\r\n file.write(output);\r\n currOffset += output.length;\r\n }\r\n catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "public void setRoot(Node root) {\n this.root = root;\n }", "public void save(){\n try{\n Date date = new Date();\n \n PrintWriter writer = new PrintWriter(\"data.MBM\", \"UTF-8\");\n \n writer.println(\"version:\"+MBMDriver.version);\n writer.println(\"numworlds:\" + worlds.size());\n writer.println(\"lastclosed:\" + date.toString());\n writer.println(\"outDir:\"+outputDir.toPath());\n \n for(int i = 0; i < worlds.size(); i++){\n \n writer.println(\"MBMWORLD:\"+worlds.get(i).getWorldFile().getName()+\":\"+worlds.get(i).getName()+\":\"+worlds.get(i).getWorldFile().toPath()+\":\"+worlds.get(i).getLastBackupDate());\n }\n \n writer.close();\n }catch(FileNotFoundException e){\n System.out.println(\"ERROR: Failed to Find File\");\n }catch(UnsupportedEncodingException e){\n System.out.println(\"ERROR: Unsupported Encoding Exception\");\n }\n }", "protected void actionPerformedExport ()\n {\n Preferences root = Preferences.userRoot ();\n Preferences node = root.node (OpenMarkovPreferences.OPENMARKOV_NODE_PREFERENCES);\n System.out.println (\"Export selected\");\n if (chooser.showSaveDialog (PreferencesDialog.this) == JFileChooser.APPROVE_OPTION)\n {\n try\n {\n OutputStream out = new FileOutputStream (chooser.getSelectedFile ());\n node.exportSubtree (out);\n out.close ();\n }\n catch (Exception e)\n {\n e.printStackTrace ();\n JOptionPane.showMessageDialog (this, stringDatabase.getString (e.getMessage ()),\n stringDatabase.getString (e.getMessage ()),\n JOptionPane.ERROR_MESSAGE);\n }\n }\n }", "public void saveQuestions(PrintStream output){\n if (output == null) {\n throw new IllegalArgumentException();\n }\n QuestionNode current = questionTree;\n writeTree(current,output); \n }", "public void setOutput(File output) {\r\n this.output = output;\r\n }", "public void saveRemote() throws IOException {\n File f = Utils.join(Main.REMOTE, _name);\n f.createNewFile();\n Utils.writeObject(f, this);\n }", "private String generateTargetFileUri(String fileUri) {\n return folderName.concat(fileUri);\n }", "@Override\n\tprotected void saveRegSetInfo(String uvmBlockClassName, String blockIdOverride, RegNumber addrOffsetOverride) {\n\t\t// get parent name\n\t\tString parentID = this.getParentInstancePath().replace('.', '_');\n\t\t// block id\n\t\tboolean hasInstanceNameOverride = (blockIdOverride != null);\n\t\tString blockId = hasInstanceNameOverride? blockIdOverride : regSetProperties.getId();\n\t\t// escaped block id \n\t\tString escapedBlockId = escapeReservedString(blockId);\n\t\t// save block define statements\n\t\tString repStr = (!hasInstanceNameOverride && regSetProperties.isReplicated()) ? \"[\" + regSetProperties.getRepCount() + \"]\" : \"\";\n\t\tString blockParameterStr = \" #(\" + getAltBlockParentType() + \", \" + getAltBlockType() + \") \"; \n\t\tsubcompDefList.addStatement(parentID, uvmBlockClassName + blockParameterStr + \" \" + escapedBlockId + repStr + \" = new(this);\");\n\t\t//System.out.println(\"UVMBuild saveRegSetInfo: \" + regSetProperties.getBaseName() + \", parent=\" + parentID + \", rel addr=\" + regSetProperties.getRelativeBaseAddress());\n\t\t// save register build statements\n\t\tif (!hasInstanceNameOverride && regSetProperties.isReplicated()) { \n\t\t\tsubcompBuildList.addStatement(parentID, \"foreach (this.\" + escapedBlockId + \"[i]) begin\");\n\t\t\tsubcompBuildList.addStatement(parentID, \" this.\" + escapedBlockId + \"[i].set_rep(i);\");\n\t\t\tsubcompBuildList.addStatement(parentID, \" this.\" + escapedBlockId + \"[i].build();\");\n\t\t\tsubcompBuildList.addStatement(parentID, \"end\");\n\t\t}\n\t\telse\n\t\t\tsubcompBuildList.addStatement(parentID, \"this.\" + escapedBlockId + \".build();\");\n\t}", "public void renderAndSave(VirtualDocument document, File output)\n\t\t\tthrows RenderingException, IOException {\n\t\tbyte[] data = renderBinary(document);\n\t\tFiles.write(output.toPath(), data);\n\t\tlogger.info(\"writeFile_done\", output);\n\t}", "public StorageUnit getRoot();", "public abstract URI target();", "@Override\n\tprotected void saveTo(Map<String, Object> map) {\n\t\tmap.put(\"rootElemId\", rootElemId);\n\t}", "@Override\n public boolean writeData(String uri, byte[] data) {\n\n File f = new File(uri);\n if (f.getName().equals(storageConfiguration.getProperty(\"postfix\"))) {\n f = f.getParentFile();\n Path file = new Path(String.valueOf(f));\n try {\n if (fileSystem.exists(file)) {\n fileSystem.delete(file, true);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n SequenceFile.Writer writer = getWriterFor(uri);\n HDFSByteChunk byteChunk = new HDFSByteChunk(data, uri);\n try {\n writer.append(new IntWritable(0), byteChunk);\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n return false;\n }\n return true;\n }", "public void setLink(FileNode target){\n\t\t/*link = target;\n\t\tsuper.setOffset(0);\n\t\tsuper.setLength(link.getLength());\n\t\tsuper.setSourcePath(link.getSourcePath());*/\n\t\tsuper.setVirtualSourceNode(target);\n\t\tsuper.setOffset(0);\n\t\tif(target != null){\n\t\t\tsuper.setLength(target.getLength());\n\t\t\tsuper.setSourcePath(target.getSourcePath());\n\t\t}\n\t}", "private void testGetRootUri002() {\n\t\tDmtSession session = null;\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testGetRootUri002\");\n\t\t\tsession = tbc.getDmtAdmin().getSession(null,\n\t\t\t\t\tDmtSession.LOCK_TYPE_ATOMIC);\n\t\t\tTestCase.assertEquals(\"Asserting root uri\", \".\", session.getRootUri());\n\t\t} catch (Exception e) {\n\t\t\ttbc.failUnexpectedException(e);\n\t\t} finally {\n\t\t\ttbc.closeSession(session);\n\t\t}\n\t}", "public com.autodesk.ws.avro.Call.Builder setTargetObjectUri(java.lang.CharSequence value) {\n validate(fields()[5], value);\n this.target_object_uri = value;\n fieldSetFlags()[5] = true;\n return this; \n }", "public DiskArtifactStore(File root) {\n this.root = root;\n }", "@Override\n public void fileGenerated(@NotNull String outputRoot, @NotNull String relativePath) {\n IntelliJEvent e = new IntelliJEvent(System.currentTimeMillis(), TYPE, \"file_generated\");\n e.addExtraData(\"root\", StringUtil.md5Encode(outputRoot));\n e.addExtraData(\"path\", StringUtil.md5Encode(relativePath));\n Persistence.getInstance().add(e);\n }", "public void branchSaved(Branch<K> parent, Branch<K> child);", "public void exportObject(Target paramTarget) throws RemoteException {\n/* 147 */ this.ep.exportObject(paramTarget);\n/* */ }", "public void writeBlock(boolean last) throws IOException {\n\t\t\tif (last) {\n\t\t\t\t// always fits, because of BLOCK's size\n\t\t\t\tblocksize = (short)writePos;\n\t\t\t\t// this is the last block, so encode least\n\t\t\t\t// significant bit in the first byte (little-endian)\n\t\t\t\tblklen[0] = (byte)(blocksize << 1 & 0xFF | 1);\n\t\t\t\tblklen[1] = (byte)(blocksize >> 7);\n\t\t\t} else {\n\t\t\t\t// always fits, because of BLOCK's size\n\t\t\t\tblocksize = (short)BLOCK;\n\t\t\t\t// another block will follow, encode least\n\t\t\t\t// significant bit in the first byte (little-endian)\n\t\t\t\tblklen[0] = (byte)(blocksize << 1 & 0xFF);\n\t\t\t\tblklen[1] = (byte)(blocksize >> 7);\n\t\t\t}\n\n\t\t\tout.write(blklen);\n\n\t\t\t// write the actual block\n\t\t\tout.write(block, 0, writePos);\n\n\t\t\tif (debug) {\n\t\t\t\tif (last) {\n\t\t\t\t\tlogTd(\"write final block: \" + writePos + \" bytes\");\n\t\t\t\t} else {\n\t\t\t\t\tlogTd(\"write block: \" + writePos + \" bytes\");\n\t\t\t\t}\n\t\t\t\tlogTx(new String(block, 0, writePos, \"UTF-8\"));\n\t\t\t}\n\n\t\t\twritePos = 0;\n\t\t}", "public void save(boolean close)\n {\n try {\n Editor rootEditor = Utils.getRootEditor(petal_model);\n Model rootModel = rootEditor.getModel();\n CatalogManager.save(rootModel, close);\n Utils.addMessagesText(\"Network \\\"\" + rootModel.getSuperBox().getLabel() +\n \"\\\" successfully saved to the catalog.\\n\");\n } catch(Throwable e) {\n ((Exception)e).printStackTrace();\n JOptionPane.showConfirmDialog(null,\n e,\n \"Exception\" ,\n JOptionPane.DEFAULT_OPTION,\n JOptionPane.ERROR_MESSAGE);\n }\n\n }", "private void testGetRootUri003() {\n\t\tDmtSession session = null;\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testGetRootUri003\");\n\t\t\tsession = tbc.getDmtAdmin().getSession(TestExecPluginActivator.LEAF_NODE,\n\t\t\t\t\tDmtSession.LOCK_TYPE_ATOMIC);\n\t\t\tTestCase.assertEquals(\"Asserting root uri\", TestExecPluginActivator.LEAF_NODE, session.getRootUri());\n\t\t} catch (Exception e) {\n\t\t\ttbc.failUnexpectedException(e);\n\t\t} finally {\n\t\t\ttbc.closeSession(session);\n\t\t}\n\t}", "public void releaseOutput() {\n output.releaseStation();\n }", "void setTarget(Node target) {\n\t\tthis.target = target;\n\t}", "@FXML\n public void saveFile(Event e) {\n String outputData = output.getText();\n\n File file = chooser.showSaveDialog(save.getScene().getWindow());\n\n if(file != null) {\n createFile(outputData, file);\n }\n }", "public void setTargetObjectUri(java.lang.CharSequence value) {\n this.target_object_uri = value;\n }", "private void save() throws FileNotFoundException {\n\t\tm.write(new FileOutputStream(OUTPUT), \"RDF/XML\");\n\t}", "public void store(Block fb) throws Exception {\r\n\t\tsuper.store(fb);\r\n\t}", "public void save() {\n RegionOwn.saveRegionOwner(this);\n }", "public void saveBlocks(String xml) {\n //System.out.println(\"saving blocks\");\n \n FileChooser fileChooser = new FileChooser();\n fileChooser.setInitialDirectory(new File(lastOpenedLocation));\n fileChooser.setTitle(\"Save\");\n fileChooser.getExtensionFilters().addAll(\n new FileChooser.ExtensionFilter(\"XML files\", \"*.xml\")\n );\n File selectedFile = fileChooser.showSaveDialog(ownerWindow);\n if (selectedFile != null) {\n if (selectedFile.getName().matches(\"^.*\\\\.xml$\")) {\n // filename is OK as-is\n } else {\n selectedFile = new File(selectedFile.toString() + \".xml\"); // append .xml if \"foo.jpg.xml\" is OK\n }\n lastOpenedLocation = selectedFile.getParent();\n try {\n BufferedWriter bWriter = new BufferedWriter(new FileWriter(selectedFile));\n bWriter.write(xml);\n bWriter.flush();\n bWriter.close();\n } catch (IOException ex) {\n Logger.getLogger(DwenguinoBlocklyServer.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }" ]
[ "0.4964732", "0.477452", "0.47608703", "0.4670955", "0.45193288", "0.45174736", "0.44901884", "0.4471825", "0.44480106", "0.4440858", "0.4437532", "0.44219714", "0.4421694", "0.44215012", "0.44199815", "0.44137937", "0.44051605", "0.4366275", "0.43622112", "0.4343631", "0.43351603", "0.4323672", "0.43217635", "0.4321517", "0.43172184", "0.43095082", "0.43092358", "0.4298998", "0.42918473", "0.42840815", "0.42781323", "0.42760342", "0.42617747", "0.42607692", "0.42592716", "0.42584842", "0.4250999", "0.4242084", "0.42393854", "0.42219737", "0.42194778", "0.42155105", "0.42152765", "0.42137304", "0.41935086", "0.419262", "0.4188133", "0.41878796", "0.4187789", "0.41868436", "0.41807356", "0.4176317", "0.4171538", "0.41698852", "0.41697147", "0.4167103", "0.4161717", "0.41550454", "0.41476044", "0.414501", "0.41435128", "0.41405696", "0.4133723", "0.41221938", "0.41221666", "0.4112876", "0.40968505", "0.40932816", "0.40815067", "0.40811408", "0.40787125", "0.40615076", "0.40581757", "0.40571016", "0.4045527", "0.40427023", "0.40341458", "0.40298265", "0.4029509", "0.40294078", "0.40287432", "0.40212905", "0.4008324", "0.40078884", "0.40051463", "0.40048265", "0.40011537", "0.3999593", "0.39929885", "0.399032", "0.3990177", "0.39898813", "0.39785844", "0.39769357", "0.39766887", "0.3976657", "0.39754876", "0.3972087", "0.39711455", "0.39697462" ]
0.52412933
0
Executes the transformation from a Shapes model to a new Shapes model. First copies the model, then selects every empty block and replaces it by a square with the same name.
public void transform() { this.targetRootBlock = copy(this.sourceRootBlock); List<BlockImpl> blocks = allSubobjectsOfKind(targetRootBlock, BlockImpl.class); List<Block> emptyBlocks = new LinkedList<Block>(); for (Block block : blocks) { if (block.getModelElement().size() == 0) { emptyBlocks.add(block); } } for (Block block : emptyBlocks) { createSquare(block); EcoreUtil.delete(block); } if (LOGGER.isInfoEnabled()) { LOGGER.info("Completed Transformation"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n\n for (IDrawShape copiedShape : shapeList.getClipBoard() ) {\n newShape = copiedShape;\n //offset the shape, per Prof instructions\n newShape.addX(100);\n newShape.addY(100);\n\n CreateShapeCommand shape = new CreateShapeCommand(appState, shapeList, newShape.getShapeInfo());\n\n shapeList.add(shape.shapeFactory.createShape(newShape.getShapeInfo()));\n\n }\n CommandHistory.add(this);\n }", "private void initializeShapesModel() {\n\t\t// Initialize the model\n\t\tShapesPackage.eINSTANCE.eClass();\n\t\tShapesPackage.eINSTANCE.setNsURI(METAMODEL_PATH_SHAPES);\n\n\t\t// Retrieve the default factory singleton\n\t\tfactory = ShapesFactory.eINSTANCE;\n\n\t\t// Create the content of the model via this program\n\t\ttargetRootBlock = factory.createRootBlock();\n\t}", "public void resetModel() {\n\t\twhitePieces.removeAll();\n\t\tblackPieces.removeAll();\n\t\tcapturedPieces.removeAll(capturedPieces);\n\t\tmoveList.removeAll(moveList);\n\n\t\tinitializeBoard();\n\t\tpopulateLists();\n\t}", "public void generateShape() {\n\n //TODO for tetris game - copy added to Tetris\n Shape newShape = null;\n //if(GAME_TO_TEST==GameEnum.TETRIS){\n //newShape = TetrisShapeFactory.getRandomShape(this.board);\n //} else if (GAME_TO_TEST== GameEnum.DRMARIO){\n //newShape = DrMarioShapeFactory.getRandomShape(this.board);\n //}\n\n //Temporary\n //-------------------------------------//\n Image image = null;\n try {\n image = new Image(new FileInputStream(\"resources/BlockPurple.png\"));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n int spawnColIndex = 0;\n int spawnRowIndex = 0;\n int tileSize = 0;\n boolean setColor = false;\n boolean setTileBorder = false; //toggle to add boarder to tile\n boolean setImage = true;\n spawnColIndex = (board.gridWidth-1)/2; //half of board width\n spawnRowIndex = 0;\n tileSize = board.tileSize;\n\n Tile tile1 = new Tile(tileSize, setColor, Color.VIOLET, setTileBorder, setImage, image, spawnColIndex,spawnRowIndex, 0 , Direction.DOWN); //Center Tile\n Tile tile2 = new Tile(tileSize, setColor, Color.VIOLET, setTileBorder, setImage, image, spawnColIndex,spawnRowIndex,1 , Direction.RIGHT);\n Tile tile3 = new Tile(tileSize, setColor, Color.VIOLET, setTileBorder, setImage, image, spawnColIndex,spawnRowIndex, 1 , Direction.LEFT);\n Tile tile4 = new Tile(tileSize, setColor, Color.VIOLET, setTileBorder, setImage, image, spawnColIndex,spawnRowIndex, 1 , Direction.DOWN);\n\n List<Tile> tiles = new ArrayList<Tile>();\n tiles.add(tile1);\n tiles.add(tile2);\n tiles.add(tile3);\n tiles.add(tile4);\n newShape = new Shape(tiles);\n\n //set newly created shape as the currently active shape\n this.currentActiveShape = newShape;\n\n //check if spawn area is occupied\n boolean isOccupied =false;\n for (Tile newTile : this.currentActiveShape.tiles) {\n if(this.board.getTile(newTile.columnIndex,newTile.rowIndex)!=null){\n isOccupied = true;\n }\n }\n\n //TODO\n //check if shape reaches top\n if(!isOccupied){\n //add tiles to board\n for (Tile newTile : this.currentActiveShape.tiles) {\n this.board.placeTile(newTile);\n }\n } else {\n //TODO later add Game Over JavaFx message\n System.out.println(\"GAME OVER\");\n\n //TODO Finishlater\n //Text gameoverText = new Text(10,20,\"GAME OVER\");\n //gameoverText.setFill(Color.RED);\n //gameoverText.setX( 100/*( ((board.gridWidth-1)*tileSize)/2)*/ );\n //gameoverText.setY( 100/*( ((board.gridHeight-1)*tileSize)/2)*/ );\n //gameoverText.setStyle(\"-fx-font: 70 arial;\");\n //this.group.getChildren().add(gameoverText);\n\n //Text t = new Text();\n //t.setX(20.0f);\n //t.setY(65.0f);\n //t.setX(100);\n //t.setY(200);\n //t.setText(\"Perspective\");\n //t.setFill(Color.YELLOW);\n //t.setFont(Font.font(null, FontWeight.BOLD, 36));\n //this.group.getChildren().add(t);\n //this.pane.getChildren().add(t);\n\n //System.exit(0);\n }\n\n }", "@Test\n public void testCloneShapes() {\n NativeLibraryLoader.loadNativeLibrary(\"bulletjme\", true);\n assetManager.registerLoader(AWTLoader.class, \"jpg\", \"png\");\n assetManager.registerLoader(BinaryLoader.class, \"j3o\");\n assetManager.registerLoader(J3MLoader.class, \"j3m\", \"j3md\");\n assetManager.registerLocator(null, ClasspathLocator.class);\n\n cloneShapesConcave();\n cloneShapesConvex();\n\n // CompoundCollisionShape\n CompoundCollisionShape compound = new CompoundCollisionShape(1);\n CollisionShape capsule = new CapsuleCollisionShape(1f, 1f);\n compound.addChildShape(capsule, 0f, 1f, 0f);\n setParameters(compound, 0f);\n verifyParameters(compound, 0f);\n CollisionShape compoundClone = Heart.deepCopy(compound);\n cloneTest(compound, compoundClone);\n Assert.assertEquals(0.04f, compoundClone.getMargin(), 0f);\n compound.setMargin(0.13f);\n Assert.assertEquals(0.04f, compoundClone.getMargin(), 0f);\n }", "public void assignShape() {\n\t\t\n\t}", "public void copyShape(RMShape aShape)\n{\n // Copy bounds\n setBounds(aShape._x, aShape._y, aShape._width, aShape._height);\n \n // Copy roll, scale, skew\n if(aShape.isRSS()) {\n setRoll(aShape.getRoll());\n setScaleXY(aShape.getScaleX(), aShape.getScaleY());\n setSkewXY(aShape.getSkewX(), aShape.getSkewY());\n }\n \n // Copy Stroke, Fill, Effect\n if(!RMUtils.equals(getStroke(), aShape.getStroke())) setStroke(RMUtils.clone(aShape.getStroke()));\n if(!RMUtils.equals(getFill(), aShape.getFill())) setFill(RMUtils.clone(aShape.getFill()));\n if(!RMUtils.equals(getEffect(), aShape.getEffect())) setEffect(RMUtils.clone(aShape.getEffect()));\n \n // Copy Opacity and Visible\n setOpacity(aShape.getOpacity());\n setVisible(aShape.isVisible());\n \n // Copy Name, Url, Hover, Locked\n setName(aShape.getName());\n setURL(aShape.getURL());\n setHover(aShape.getHover());\n setLocked(aShape.isLocked());\n \n // Copy LayoutInfo\n setLayoutInfo(aShape.getLayoutInfo());\n \n // Copy timeline (if this goes back, then RMAnimPathShape(shape) needs to go back to clearing it\n //if(aShape.getTimeline()!=null) setTimeline(aShape.getTimeline().clone(this));\n \n // Copy bindings\n while(getBindingCount()>0) removeBinding(0);\n for(int i=0, iMax=aShape.getBindingCount(); i<iMax; i++)\n addBinding(aShape.getBinding(i).clone());\n}", "@Override\n\t\tpublic void transform()\n\t\t{\n\t\t\tif(!isRed)\n\t\t\t{\n\t\t\t\tcells[0].setCol(cells[0].getCol()+1);\n\t\t\t\tcells[1].setCol(cells[1].getCol()+1);\n\t\t\t\tcells[2].setCol(cells[2].getCol()-1);\n\t\t\t\tcells[3].setCol(cells[3].getCol()-1);\n\t\t\t\t//Changes colors to red\n\t\t\t\tfor(int i = 0; i < cells.length; i ++)\n\t\t\t\t{\n\t\t\t\t\tBlock temp = cells[i].getBlock();\n\t\t\t\t\tcells[i].setBlock(new Block(Color.RED,temp.isMagic()));\n\t\t\t\t}\n\t\t\t\tisRed = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcells[0].setCol(cells[0].getCol()-1);\n\t\t\t\tcells[1].setCol(cells[1].getCol()-1);\n\t\t\t\tcells[2].setCol(cells[2].getCol()+1);\n\t\t\t\tcells[3].setCol(cells[3].getCol()+1);\n\t\t\t\t//changes colors to green\n\t\t\t\tfor(int i = 0; i < cells.length; i ++)\n\t\t\t\t{\n\t\t\t\t\tBlock temp = cells[i].getBlock();\n\t\t\t\t\tcells[i].setBlock(new Block(Color.GREEN,temp.isMagic()));\n\t\t\t\t}\n\t\t\t\tisRed = false;\n\t\t\t}\n\t\t\t\n\t\t}", "public void resetComputation()\n {\n for (Block block : this.blocks) {\n block.setShadow(null);\n block.deleteInputValues();\n }\n }", "Model copy();", "protected void copy(){\n\t\tthis.model.copy(this.color.getBackground());\n\t}", "@Override\n\t\t public Shape clone()\n\t\t {\n\t\t SZShape s = (SZShape)super.clone();\n\t\t s.position = new Position(position);\n\t\t s.cells = new Cell[cells.length];\n\t\t for(int i = 0; i < cells.length; i++)\n\t\t {\n\t\t \t s.cells[i] = new Cell(cells[i]);\n\t\t }\n\t\t return s;\n\t\t }", "public void save() {\n\t\t// Register the XMI resource factory for the .xmi extension\n\t\tResource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;\n\t\tMap<String, Object> m = reg.getExtensionToFactoryMap();\n\t\tm.put(\"xmi\", new XMIResourceFactoryImpl());\n\n\t\t// Obtain a new resource set\n\t\tResourceSet resSet = new ResourceSetImpl();\n\n\t\t// Create a resource\n\t\tResource resource = resSet.createResource(this.targetURI);\n\n\t\t// Get the first model element and cast it to the right type\n\t\tresource.getContents().add(targetRootBlock);\n\n\t\t// Now save the content.\n\t\tMap<String, Object> options = new HashMap<String, Object>();\n\t\toptions.put(XMIResource.OPTION_ENCODING, \"UTF-8\");\n\t\ttry {\n\t\t\tresource.save(options);\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"IOException when trying to save to \" + this.targetURI);\n\t\t}\n\n\t\tif (LOGGER.isInfoEnabled()) {\n\t\t\tLOGGER.info(\"Saved Shapes model to \" + this.targetURI);\n\t\t}\n\t}", "public void modelUntangle()\n {\n\tif (manim==null) return;\n\n\tmodelStop();\n\tmanim.rewind();\n\tmanim.generations().unTangle();\n\tmanim.scale(width,height);\n\tclearToBack();\n\tmodelFlush();\n }", "public RMShape clone()\n{\n // Do normal version, clear parent, LayoutInfoX, clone RSS\n RMShape clone = (RMShape)super.clone();\n clone._parent = null; clone._layoutInfoX = null;\n clone._rss = RMUtils.clone(_rss);\n \n // Clone stroke, fill, effect\n clone._stroke = null; clone._fill = null; clone._effect = null;\n if(getStroke()!=null) clone.setStroke(getStroke().clone());\n if(getFill()!=null) clone.setFill(getFill().clone());\n if(getEffect()!=null) clone.setEffect(getEffect().clone());\n \n // Copy attributes map\n clone._attrMap = _attrMap.clone();\n \n // If shape has timeline, clone it\n if(getTimeline()!=null)\n clone.setTimeline(getTimeline().clone(clone));\n \n // Clone bindings and add to clone (with hack to make sure clone has it's own, non-shared, attr map)\n for(int i=0, iMax=getBindingCount(); i<iMax; i++) {\n if(i==0) clone.put(\"RibsBindings\", null);\n clone.addBinding(getBinding(i).clone());\n }\n \n // Clone event adapter\n if(getEventAdapter(false)!=null) {\n clone.put(\"EventAdapter\", null);\n clone.getEventAdapter(true).setEnabledEvents(getEventAdapter(true).getEnabledEvents());\n }\n \n // Return clone\n return clone;\n}", "private void loadShapesModel(String modelPath) {\n\t\t// Initialize the model\n\t\tShapesPackage.eINSTANCE.eClass();\n\n\t\t// Register the XMI resource factory for the .shapes extension\n\t\tResource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;\n\t\tMap<String, Object> m = reg.getExtensionToFactoryMap();\n\t\tm.put(\"shapes\", new XMIResourceFactoryImpl());\n\n\t\t// Obtain a new resource set\n\t\tResourceSet resSet = new ResourceSetImpl();\n\n\t\t// Get the resource\n\t\tResource resource = resSet.getResource(URI.createURI(modelPath), true);\n\n\t\t// Get the first model element and cast it to the right type\n\t\tEObject obj = resource.getContents().get(0);\n\t\tif (obj instanceof RootBlock) {\n\t\t\tsourceRootBlock = (RootBlock) obj;\n\t\t} else {\n\t\t\tthrow new IllegalArgumentException(\n\t\t\t\t\t\"RootBlock has to be first element in \" + modelPath);\n\t\t}\n\n\t\tif (LOGGER.isInfoEnabled()) {\n\t\t\tLOGGER.info(\"Loaded Shapes model from \" + modelPath);\n\t\t}\n\t}", "private void reset() {\n \n ((Shape3D)((Group)model).getChildren().get(0)).setMaterial(red);\n ((Shape3D)((Group)model).getChildren().get(1)).setMaterial(blue);\n \n }", "public RMShape cloneDeep() { return clone(); }", "@Override\n\tpublic void modelChanged(DShapeModel model) {\n\t\tif(model.getSelected()==true){\n\t\t\tint row = 0;\n\t\t\tfor(DShapeModel d : theModelColumn){\n\t\t\t\tif(d.getSelected()==true){\n\t\t\t\t\tsetValueAt(model.getX(),row, 0);\n\t\t\t\t\tsetValueAt(model.getY(), row, 1);\n\t\t\t\t\tsetValueAt(model.getWidth(), row, 2);\n\t\t\t\t\tsetValueAt(model.getHeight(), row, 3);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trow++;\n\t\t\t}\n\t\t\tfireTableRowsUpdated(row, row);\n\t\t}\n\t\tif(model.getDeleted()==true){\n\t\t\tint row = 0;\n\t\t\tfor(DShapeModel d : theModelColumn){\n\t\t\t\tif(d.getDeleted()==true){\n\t\t\t\t\ttheModelColumn.remove(d);\n\t\t\t\t\t//removing the entire row\n\t\t\t\t\txData.remove(row);\n\t\t\t\t\tyData.remove(row);\n\t\t\t\t\twData.remove(row);\n\t\t\t\t\thData.remove(row);\n\t\t\t\t\tfireTableRowsDeleted(row, row);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\trow++;\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void undo() {\n\t\tfor (IShape shape : temp) {\n\t\t\tlist.add(shape);\n\t\t}\n\t}", "@Override\n public void run() {\n IShapesFactory shapeFactory = new ShapesFactory(appState);\n\n if (inShape == null) {\n if (appState.getActiveShapeType() == ShapeType.RECTANGLE)\n createdShape = shapeFactory.createRectangle(startPt, endPt);\n\n else if (appState.getActiveShapeType() == ShapeType.TRIANGLE)\n createdShape = shapeFactory.createTriangle(startPt, endPt);\n\n else if (appState.getActiveShapeType() == ShapeType.ELLIPSE)\n createdShape = shapeFactory.createEllipse(startPt, endPt);\n }\n else {\n List<IShapes> outlines = SharedContainers.getInstance().getOutlineList();\n createdShape = shapeFactory.createOutlineCopy(startPt, endPt, inShape);\n outlines.add(createdShape);\n }\n\n // if in select mode, add it to the seleted List\n if (appState.getActiveMouseMode() == MouseMode.SELECT) {\n SharedContainers.getInstance().getSelectList().add(createdShape);\n SharedContainers.getInstance().getPrevSelectList().add(createdShape);\n SharedContainers.getInstance().getOutlineList().add(createdShape);\n }\n\n shapesRepo.addShape(createdShape);\n CommandHistory.add(this);\n }", "public void clearShapes() {\n\t\tcollectionOfNodes.clear();\n\t}", "@Override\r\n\tpublic void run() {\n\t\tfor(IShape shape : shapeList.getSelectedList())\r\n\t\t{\r\n\t\t\t//Create the new start positions for the shape which is offset from the start position of selected shape\r\n\t\t\tnewStart = shape.getStart();\r\n\t\t\tnewEnd = shape.getEnd();\r\n\t\t\tnewStart.setX(newStart.getX() + 100);\r\n\t\t\tnewEnd.setX(newEnd.getX() + 100);\r\n\t\t\tnewStart.setY(newStart.getY() + 100);\r\n\t\t\tnewEnd.setY(newEnd.getY() + 100);\r\n\t\t\t\r\n\t\t\t//Create a new shape and add it to shapeList\r\n\t\t\t//add to tempList as well for undo/redo function\r\n\t\t\tnewShape = new Shape(newStart, newEnd, shape.getColor(), shape.getOutline(), shape.getShape(), shape.getShading()); \r\n\t\t\tshapeList.add(newShape);\r\n\t\t\ttempList.add(newShape);\r\n\t\t}\r\n\t\tCommandHistory.add(this);\r\n\r\n\t}", "private void copyToBoard(FallingPiece piece) {\r\n \ttablero.reverse();\r\n \tfor (BlockDrawable block : piece.allBlocks()){\r\n \t\tBlockDrawable aux = new BlockDrawable(piece.toOuterPoint(block.getPoint()), block.getStyle(), false, block.getTextureRegion()); \r\n\t\t\ttablero.add(aux);\r\n\t\t}\r\n \ttablero.reverse();\r\n }", "@Override\r\n\tpublic void redo() {\n\t\tfor(IShape shape : tempList)\r\n\t\t\tshapeList.add(shape);\r\n\t}", "private void updateBoxes(){\n if(model.getMap() != null) {\n DoubleVec position = invModelToView(new DoubleVec(canvas.getWidth()*0.5,canvas.getHeight()*0.5));\n inner = new Rectangle(position, 1.0/zoomFactor * fi * canvas.getWidth(), 1.0/zoomFactor * fi * canvas.getHeight(), 0);\n outer = new Rectangle(position, 1.0/zoomFactor * fo * canvas.getWidth(), 1.0/zoomFactor * fo * canvas.getHeight(), 0);\n }\n }", "public void copySpecies (int iSpeciesCopyFrom, int iSpeciesCopyTo) throws ModelException {\n TreePopulation oPop = m_oManager.getTreePopulation();\n ModelVector oCopyFrom = null, oCopyTo = null;\n ModelData oData;\n Float f1, f2;\n String sCopyFrom = oPop.getSpeciesNameFromCode(iSpeciesCopyFrom).replace('_', ' '),\n sCopyTo = oPop.getSpeciesNameFromCode(iSpeciesCopyTo).replace('_', ' ');\n int i;\n\n //Find the lambdas in our list\n for (i = 0; i < mp_oAllData.size(); i++) {\n oData = mp_oAllData.get(i);\n String sKey = oData.getDescriptor();\n if (sKey.indexOf(sCopyFrom) > -1 && sKey.toLowerCase().indexOf(\"nci crown radius lambda\") > -1) {\n oCopyFrom = (ModelVector) oData;\n }\n if (sKey.indexOf(sCopyTo) > -1 && sKey.toLowerCase().indexOf(\"nci crown radius lambda\") > -1) {\n oCopyTo = (ModelVector) oData;\n }\n }\n\n if (null == oCopyFrom || null == oCopyTo) {\n throw(new ModelException(ErrorGUI.CANT_FIND_OBJECT, \"JAVA\",\n \"Allometry could not find NCI lambdas for neighbor\"\n + \" species when copying species.\"));\n }\n\n //Do it differently depending on whether there are existing values or not\n //in the target array\n if (oCopyTo.getValue().size() > 0) {\n for (i = 0; i < oCopyFrom.getValue().size(); i++) {\n f1 = (Float)oCopyFrom.getValue().get(i);\n if (null == f1)\n f2 = null;\n else\n f2 = Float.valueOf(f1.floatValue());\n oCopyTo.getValue().remove(i);\n oCopyTo.getValue().add(i, f2);\n }\n } else {\n for (i = 0; i < oCopyFrom.getValue().size(); i++) {\n f1 = (Float)oCopyFrom.getValue().get(i);\n if (null == f1)\n f2 = null;\n else\n f2 = Float.valueOf(f1.floatValue());\n oCopyTo.getValue().add(i, f2);\n }\n }\n\n for (i = 0; i < mp_oAllData.size(); i++) {\n oData = mp_oAllData.get(i);\n String sKey = oData.getDescriptor();\n if (sKey.indexOf(sCopyFrom) > -1 && sKey.toLowerCase().indexOf(\"nci crown depth lambda\") > -1) {\n oCopyFrom = (ModelVector) oData;\n }\n if (sKey.indexOf(sCopyTo) > -1 && sKey.toLowerCase().indexOf(\"nci crown depth lambda\") > -1) {\n oCopyTo = (ModelVector) oData;\n }\n }\n\n if (null == oCopyFrom || null == oCopyTo) {\n throw(new ModelException(ErrorGUI.CANT_FIND_OBJECT, \"JAVA\",\n \"Allometry could not find NCI lambdas for neighbor\"\n + \" species when copying species.\"));\n }\n\n //Do it differently depending on whether there are existing values or not\n //in the target array\n if (oCopyTo.getValue().size() > 0) {\n for (i = 0; i < oCopyFrom.getValue().size(); i++) {\n f1 = (Float)oCopyFrom.getValue().get(i);\n if (null == f1)\n f2 = null;\n else\n f2 = Float.valueOf(f1.floatValue());\n oCopyTo.getValue().remove(i);\n oCopyTo.getValue().add(i, f2);\n }\n } else {\n for (i = 0; i < oCopyFrom.getValue().size(); i++) {\n f1 = (Float)oCopyFrom.getValue().get(i);\n if (null == f1)\n f2 = null;\n else\n f2 = Float.valueOf(f1.floatValue());\n oCopyTo.getValue().add(i, f2);\n }\n }\n\n super.copySpecies(iSpeciesCopyFrom, iSpeciesCopyTo);\n }", "private void bakeItemModels() {\n/* 754 */ Iterator<ResourceLocation> var1 = this.itemLocations.values().iterator();\n/* */ \n/* 756 */ while (var1.hasNext()) {\n/* */ \n/* 758 */ ResourceLocation var2 = var1.next();\n/* 759 */ ModelBlock var3 = (ModelBlock)this.models.get(var2);\n/* */ \n/* 761 */ if (func_177581_b(var3)) {\n/* */ \n/* 763 */ ModelBlock var4 = func_177582_d(var3);\n/* */ \n/* 765 */ if (var4 != null)\n/* */ {\n/* 767 */ var4.field_178317_b = var2.toString();\n/* */ }\n/* */ \n/* 770 */ this.models.put(var2, var4); continue;\n/* */ } \n/* 772 */ if (isCustomRenderer(var3))\n/* */ {\n/* 774 */ this.models.put(var2, var3);\n/* */ }\n/* */ } \n/* */ \n/* 778 */ var1 = this.field_177599_g.values().iterator();\n/* */ \n/* 780 */ while (var1.hasNext()) {\n/* */ \n/* 782 */ TextureAtlasSprite var5 = (TextureAtlasSprite)var1.next();\n/* */ \n/* 784 */ if (!var5.hasAnimationMetadata())\n/* */ {\n/* 786 */ var5.clearFramesTextureData();\n/* */ }\n/* */ } \n/* */ }", "void copy(Board model) {\r\n if (model == this) {\r\n return;\r\n }\r\n init();\r\n }", "@Test\n public void cloneTestPuttingBlocks() {\n Playground orginal = new Playground(5, 0.0);\n\n //Place two blocks on empty fields\n if (!orginal.take(1, 1, 1, 2))\n fail();\n if (!orginal.take(1, 4, 2, 4))\n fail();\n\n Playground clone = orginal.clone();\n\n //Try to place block on empty spot\n if (!clone.take(0, 1, 4, 1))\n fail();\n //Try to place block on taken spot\n if (clone.take(1, 1, 1, 2))\n fail();\n }", "public SquareIF clone();", "@Override\r\n\tpublic void undo() {\n\t\tfor(IShape shape : tempList)\r\n\t\t\tshapeList.remove(shape);\r\n\t}", "@Override\n public void run(){\n gameItem = shapeFactory.getShape(shapeButton, shapeName);\n if (gameItem != null) {\n gameItem.clearName(); //clears text\n gameItem.draw(); //draws new shape\n }\n }", "void clearShapeMap();", "public void reFormatPieceLayer() {\r\n\t\tbody.removeAll();\r\n\t\tfor (int i = 0; i < 8 * 8; i++) {\r\n\t\t\tChessPiece tmpPiece = piece.get(order[i]);\r\n\t\t\tif (tmpPiece == null) {\r\n\t\t\t\tspacePieces[i].position = order[i];\r\n\t\t\t\tpiece.put(order[i], spacePieces[i]);\r\n\t\t\t\tbody.add(spacePieces[i]);\r\n\t\t\t} else {\r\n\t\t\t\tpiece.put(order[i], tmpPiece);\r\n\t\t\t\tbody.add(tmpPiece);\r\n\t\t\t}\r\n\t\t}\r\n\t\tbody.repaint();\r\n\t}", "public Model coordinate(Model model)\n {\n ArrayList removedStmt = new ArrayList();\n ArrayList addedStmt = new ArrayList();\n\n String querystr = \" PREFIX owl: <http://www.w3.org/2002/07/owl#AllDifferent> \" \n + \" SELECT ?x ?y WHERE {?x owl:unionOf ?y} \";\n\n Query query = QueryFactory.create(querystr);\n QueryExecution qe = QueryExecutionFactory.create(query, model);\n ResultSet results = qe.execSelect();\n\n for (Iterator iter = results; iter.hasNext();) {\n QuerySolution res = (QuerySolution) iter.next();\n Resource x = (Resource) res.get(\"x\");\n Resource y = (Resource) res.get(\"y\");\n removedStmt.add(model.createStatement(x, OWL.unionOf, y));\n addedStmt.add(model.createStatement(x, RDF.type, OWL.Class));\n Resource rest = y;\n Resource first = null;\n Resource tempRest = y;\n boolean ended = false;\n while (!ended) {\n first = model.getProperty(rest, RDF.first).getResource();\n tempRest = model.getProperty(rest, RDF.rest).getResource();\n if (first == null || rest == null) {\n ended = true;\n continue;\n }\n removedStmt.add(model.createStatement(rest, RDF.first, first));\n removedStmt.add(model.createStatement(rest, RDF.rest, tempRest));\n if (!first.equals(RDF.nil)) {\n addedStmt.add(model.createStatement(first, RDFS.subClassOf,\n x));\n }\n rest = tempRest;\n if (rest.equals(RDF.nil)) {\n ended = true;\n }\n }\n }\n\n for (int i = 0; i < removedStmt.size(); i++) {\n model.remove((Statement) removedStmt.get(i));\n }\n for (int i = 0; i < addedStmt.size(); i++) {\n model.add((Statement) addedStmt.get(i));\n }\n return model;\n }", "public abstract Transformation updateTransform(Rectangle selectionBox);", "public WorkingMemory createInferredModel(IRI modelId) {\n\t\tSet<Statement> statements = JavaConverters.setAsJavaSetConverter(SesameJena.ontologyAsTriples(getModelAbox(modelId))).asJava();\n\t\tSet<Triple> triples = statements.stream().map(s -> Bridge.tripleFromJena(s.asTriple())).collect(Collectors.toSet());\n\t\ttry {\n\t\t\t// Using model's ontology IRI so that a spurious different ontology declaration triple isn't added\n\t\t\tOWLOntology schemaOntology = OWLManager.createOWLOntologyManager().createOntology(getOntology().getRBoxAxioms(Imports.INCLUDED), modelId);\n\t\t\tSet<Statement> schemaStatements = JavaConverters.setAsJavaSetConverter(SesameJena.ontologyAsTriples(schemaOntology)).asJava();\n\t\t\ttriples.addAll(schemaStatements.stream().map(s -> Bridge.tripleFromJena(s.asTriple())).collect(Collectors.toSet()));\n\t\t} catch (OWLOntologyCreationException e) {\n\t\t\tLOG.error(\"Couldn't add rbox statements to data model.\", e);\n\t\t}\n\t\treturn getRuleEngine().processTriples(JavaConverters.asScalaSetConverter(triples).asScala());\n\t}", "public void clearSelectionSquare() {\r\n\r\n\t\tsetSize(0, 0);\r\n\r\n\t}", "public void convertFromShape(RMShape aShape)\n{\n // Get center point in parent coords\n RMPoint cp = convertPointToShape(new RMPoint(getWidth()/2, getHeight()/2), _parent);\n\n // Coalesce transforms down the shape chain\n for(RMShape s=_parent; s!=aShape; s=s._parent) {\n setRoll(getRoll() - s.getRoll());\n setScaleX(getScaleX()/s.getScaleX()); setScaleY(getScaleY()/s.getScaleY());\n setSkewX(getSkewX() - s.getSkewX()); setSkewY(getSkewY() - s.getSkewY());\n }\n\n // Convert center point back from aShape, calc vector to old center from new center (in parent coords) & translate\n convertPointFromShape(cp, aShape);\n RMSize v = convertVectorToShape(new RMSize(cp.x - getWidth()/2, cp.y - getHeight()/2), _parent);\n offsetXY(v.width, v.height);\n}", "public void reset() {\n\t\tmodelVertices.clear();\n\t\ttextureVertices.clear();\n\t\tnormalVertices.clear();\n\t\tgroups.clear();\n\t\tsegments.clear();\n\t\tDebug.info(\"Jay3dModel\",\"OBJModel is empty\");\n\t}", "public void convertToShape(RMShape aShape)\n{\n // Get center point in shape coords\n RMPoint cp = convertPointToShape(new RMPoint(getWidth()/2, getHeight()/2), aShape);\n \n // Coalesce transforms up the parent chain\n for(RMShape s=_parent; s!=aShape; s=s._parent) {\n setRoll(getRoll() + s.getRoll());\n setScaleX(getScaleX() * s.getScaleX()); setScaleY(getScaleY() * s.getScaleY());\n setSkewX(getSkewX() + s.getSkewX()); setSkewY(getSkewY() + s.getSkewY());\n }\n \n // Convert center point back from _parent, calc vector to old center from new center (in parent coords) & translate\n convertPointFromShape(cp, _parent);\n RMSize v = convertVectorToShape(new RMSize(cp.x - getWidth()/2, cp.y - getHeight()/2), _parent);\n offsetXY(v.width, v.height);\n}", "public abstract Shape getCopy();", "public void clearAreaReset() {\n for(int x = 0; x < buildSize; x++) {\n for(int y = 4; y < 7; y++) {\n for(int z = 0; z < buildSize; z++) {\n myIal.removeBlock(x, y, z);\n }\n }\n }\n\n myIal.locx = 0; myIal.locy = 0; myIal.locz = 0;\n my2Ial.locx = 0; my2Ial.locy = 0; my2Ial.locz = 0;\n }", "public void moveShapes() {\n\t\tfor (int i=0;i<4;i++) {\n\t\t\tshapes[i].move(1, 1);\n\t\t}\n\t}", "public void setToOriginals(){\n\t\t//set all occupied nodes as empty\n\t\tif(nodeStatus == Status.occupied){\n\t\t\tsetAsEmpty();\n\t\t}\n\t\t//if the node had a unit end on it, reset that value\n\t\tif(ended == true){\n\t\t\tended=false;\n\t\t}\n\t\tf=0;\n\t\tg=0;\n\t\th=0;\n\t}", "void setModel(List<IShape> model);", "public abstract Shape transform(Transformation t);", "private void createModel() {\n model = new Node(\"Enemy\"+enemyCounter);\n Box b = new Box(.5f, 2, .5f);\n Geometry bg = new Geometry(\"Box\", b);\n Material bm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n Sphere sphere = new Sphere(32, 32, 1.5f, false, false);\n Geometry sg = new Geometry(\"Sphere\", sphere);\n Material sm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n bm.setColor(\"Color\", ColorRGBA.Blue);\n sm.setColor(\"Color\", ColorRGBA.Red);\n bg.setMaterial(bm); \n sg.setMaterial(sm);\n model.attachChild(bg);\n model.attachChild(sg);\n sg.setLocalTranslation(0,2.5f,0);\n \n attachChild(model);\n }", "@Test\n\tpublic final void testClone(){\n\t\tShape starting = shape.clone();\n\t\tassertNotNull( starting );\n\t\tshape.shiftDown();\n\t\tCell[] startingCells = starting.getCells();\n\t\tCell[] endingCells = shape.getCells();\n\t\tfor( int i = 0; i < startingCells.length; i++ ){\n\t\t\tassertNotEquals( \"Cell \" + i, startingCells[i], endingCells[i] );\n\t\t}\n\t}", "@Override\n\tpublic void redo() {\n\t\tfor (IShape shape : temp) {\n\t\t\tlist.delete(shape);\n\t\t}\n\t}", "Board(Board model) {\r\n copy(model);\r\n }", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameName() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }", "public void buildModel() {\r\n\t\tmRecursiveBoard = new RecursiveGameModelDecorator[boardSize][boardSize];\r\n\t\tmPanes = new JPanel[boardSize][boardSize];\r\n\t\t// Recursive game is composed of other games, create the actual model now\r\n\t\tfor (int i = 0; i < boardSize; i++) {\r\n\t\t\tfor (int j = 0; j < boardSize; j++) {\r\n\t\t\t\tmRecursiveBoard[i][j] = new RecursiveGameModelDecorator(new GameModel(boardSize*i+j), false);\r\n\t\t\t\tmPanes[i][j] = new JPanel();\r\n\t\t\t\tmPanes[i][j].setPreferredSize(new Dimension(105, 105));\r\n\t\t\t\tmPanes[i][j].setBorder(new LineBorder(boardSize*i+j == mTargetSubjectId ? Color.CYAN : Color.BLACK, 2));\r\n\t\t\t\tObject list = mRecursiveBoard[i][j].getBoard();\r\n\t\t if (list != null && list.getClass().isAssignableFrom(ArrayList.class)) {\r\n\t\t \tList cells = (List)list;\r\n\t\t \tfor (Object cell : cells) {\r\n\t\t \t\tif (OXOCell.class.isInstance(cell)) {\r\n\t\t \t\t\tmPanes[i][j].add(((OXOCell)cell).getUiCell());\r\n\t\t \t\t\t// This is very IMPORTANT - the play() events MUST be handled by single model, \r\n\t\t \t\t\t// and re-distributed to child models according the Recursive OXO logic.\r\n\t\t \t\t\t// Thus I have to override the default model in Cell with the common model, that is as parameter\r\n\t\t \t\t\t((OXOCell)cell).setModel(this); \r\n\t\t \t\t\t((OXOCell)cell).setSubjectId(boardSize*i+j);\r\n\t\t \t\t}\r\n\t\t \t}\r\n\t\t }\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void buildModel() {\n\t\trabbitSpace = new RabbitsGrassSimulationSpace(xSize, ySize);\n\n\t\trabbitSpace.spreadGrass(initGrass);\n\n\t\tfor (int i = 0; i < numRabbits && i < xSize * ySize; i++) {\n\t\t\taddNewRabbit();\n\t\t}\n\n\t\tfor (int i = 0; i < rabbitList.size(); i++) {\n\t\t\tRabbitsGrassSimulationAgent rabbit = rabbitList.get(i);\n\t\t\trabbit.report();\n\t\t}\n\t}", "@Override\n public void redo() {\n shapeList.add((newShape));\n }", "public abstract Shape clone() throws CloneNotSupportedException;", "public void blank() {\r\n\t\trunning = false;// sets the simulation to stopped\r\n\t\tfor (int i = 0; i < TOTAL_TILES; i++)// loops through all tiles\r\n\t\t\tnodes[i] = new Node(new Point(i / WIDTH_TILES * SIZE_TILES, i % HEIGHT_TILES * SIZE_TILES), new ImageIcon(\"empty.png\").getImage(), false, \"empty\");// sets empty tile\r\n\t}", "@Override\n PickShape transform(Transform3D t3d) {\n\t// If the bounds is a BoundingBox, then the transformed bounds will\n\t// get bigger. So this is a potential bug, and we'll have to deal with\n\t// if there is a complain.\n\tBounds newBds = (Bounds)bounds.clone();\n\tnewBds.transform(t3d);\n\tPickBounds newPB = new PickBounds(newBds);\n\n\treturn newPB;\n }", "protected abstract void setClueModels();", "@Test(expected = IllegalArgumentException.class)\n public void testRectangleScaleWidthToZero() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(200, 200),\n new Color(1, 0, 0), 1, 100, 50.0, 100.0));\n model1.addShape(Oval.createOval(\"C\", new Point.Double(500, 100),\n new Color(0, 0, 1), 6, 100, 60.0, 30.0));\n model1.addAction(ScaleRectangleAction.createScaleRectangleAction(\"R\", 10, 50,\n 50, 100, 0, 100));\n model1.addAction(new MoveAction(\"C\", 20, 70, new Point.Double(500, 100),\n new Point.Double(0, 300)));\n }", "@Override\n\tpublic void run() {\n\t\ttemp = new ArrayList<IShape>();\n\t\tfor (IShape shape : list.getSelectedShapesList()) {\n\t\t\ttemp.add(shape);\n\t\t\tlist.delete(shape);\n\t\t}\n\t\tlist.clearSelectedShapeList();\n\t\tCommandHistory.add(this);\n\t}", "public void updateModel() {\n\t\tIterator<Cell> itr = iterator();\n\t\twhile(itr.hasNext()) itr.next().update();\n\t\titr = iterator();\n\t\twhile(itr.hasNext()) {\n\t\t\t(itr.next()).nextGeneration();\n\t\t}\n\t\tupdateGraph();\n\t}", "public void refactor() {\n this.maxX = SnakeGame.getxSquares();\n this.maxY = SnakeGame.getySquares();\n snakeSquares = new int[this.maxX][this.maxY];\n fillSnakeSquaresWithZeros();\n createStartSnake();\n }", "public static Model copyModel(Model base) {\n BNodeReplacer rep = new BNodeReplacer();\n Model newModel = ModelFactory.createDefaultModel();\n StmtIterator it = base.listStatements();\n Statement st;\n Node s;\n Node p;\n Node o;\n while (it.hasNext()) {\n st = it.nextStatement();\n s = st.getSubject().asNode();\n p = st.getPredicate().asNode();\n o = st.getObject().asNode();\n if (s.isBlank()) s = newModel.createResource(rep.getNew(s.getBlankNodeId())).asNode();\n if (p.isBlank()) p = newModel.createResource(rep.getNew(p.getBlankNodeId())).asNode();\n if (o.isBlank()) o = newModel.createResource(rep.getNew(o.getBlankNodeId())).asNode();\n newModel.getGraph().add(new Triple(s, p, o));\n }\n it.close();\n newModel.setNsPrefixes(base.getNsPrefixMap());\n return newModel;\n }", "public final void clearTexture() {\n finalSkeleton = null;\n\n\n// for (Slot slot:emptySkeleton.getSlots()){\n// PolygonRegionAttachment attach=((PolygonRegionAttachment)slot.getAttachment()).se\n// }\n// emptySkeleton = null;\n// PolygonRegionAttachmentLoader attachmentLoader = new PolygonRegionAttachmentLoader(this, phase, assetProvider.getTextureAtlas(SpineToolFullEditorOverlay.getSelectedSkeleton()));\n// emptySkeleton = createSkeleton(attachmentLoader);\n// finalize(emptySkeleton);\n }", "void updateInterpretationBoards(){\n if (fShapes.size() > 0) {\r\n Iterator iter = fShapes.iterator();\r\n\r\n while (iter.hasNext()){\r\n TShape theShape=(TShape) iter.next();\r\n if (theShape.fTypeID==TShape.IDInterpretationBoard){\r\n theShape.setSelected(false);\r\n // ((TInterpretationBoard)theShape).updateInterpretationBoard();\r\n }\r\n }\r\n }\r\n\r\n\r\n }", "void eachPotentialShapeDo (FunctionalParameter doThis){\r\n\r\n if (fShapes.size() > 0) {\r\n Iterator iter = fShapes.iterator();\r\n\r\n while (iter.hasNext())\r\n doThis.execute(iter.next());\r\n\r\n // more here on replacement shapes\r\n }\r\n\r\n\r\n }", "public void resetSquares(){\n int x = 0;\n int y = 0;\n for (int i = 0; i < board.length;i++){\n if(x == row){\n x = 0;\n }\n x++;\n for(int j = 0; j < board.length; j++){\n if(y == column){\n y = 0;\n }\n y++;\n board[i][j] = new Square(x, y);\n }\n }\n }", "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\tLoader load = new Loader();\n\t\t\t\t\tClass nc = load.newCla();\n\t\t\t\t\tClass[] temp = Paintarea.allShapes;\n\t\t\t\t\tif (nc != null)\n\t\t\t\t\t\tfor (int i = 0; i < temp.length; i++) {\n\t\t\t\t\t\t\tif (nc.getName().equals(temp[i].getName())) {\n\t\t\t\t\t\t\t\tnc = null;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\tif (nc != null) {\n\n\t\t\t\t\t\tClass[] temp1 = new Class[temp.length + 1];\n\t\t\t\t\t\tfor (int i = 0; i < temp.length; i++) {\n\t\t\t\t\t\t\ttemp1[i] = temp[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t\ttemp1[temp.length] = nc;\n\t\t\t\t\t\tPaintarea.allShapes = temp1;\n\t\t\t\t\t\tPaintarea.item.removeAll();\n\t\t\t\t\t\tPaintarea.item.buttunset(temp.length + 1);\n\t\t\t\t\t}\n\t\t\t\t}", "public Square modelToView(Square s){\n\t\treturn new Square(s.x/zoom,height-s.y/zoom,s.w/zoom,s.isTarget);\n\t}", "private void createSquare(Block block) {\n\t\tSquare square = factory.createSquare();\n\t\tsquare.setName(block.getName());\n\t\tsquare.setBlock(block.getBlock());\n\t\tsquare.getInArrow().addAll(block.getInArrow());\n\t\tsquare.getOutArrow().addAll(block.getOutArrow());\n\t}", "abstract public Vertex cloneFamily();", "private void split () {\n\n if (firstClassList != null && firstClassList.size() > MAX_OBJECTS && depth < MAX_DEPTH) {\n\n // Set new bounds along each axis\n double[] xBounds = new double[] {bounds.getMinX(), bounds.getCenterX(), bounds.getMaxX()};\n double[] yBounds = new double[] {bounds.getMinY(), bounds.getCenterY(), bounds.getMaxY()};\n double[] zBounds = new double[] {bounds.getMinZ(), bounds.getCenterZ(), bounds.getMaxZ()};\n\n // Create each child\n children = new SceneOctTree[8];\n for (int x = 0; x <= 1; x++) {\n for (int y = 0; y <= 1; y++) {\n for (int z = 0; z <= 1; z++) {\n Bounds childBounds = new BoundingBox (\n xBounds[x], yBounds[y], zBounds[z],\n xBounds[x+1] - xBounds[x], yBounds[y+1] - yBounds[y], zBounds[z+1] - zBounds[z]\n );\n int index = x + y*2 + z*4;\n children[index] = new SceneOctTree (childBounds, this.depth+1);\n } // for\n } // for\n } // for\n\n // Insert first class objects into children. Note that we don't know\n // if the object will be first or second class in the child so we have\n // to perform a full insert.\n for (Node object : firstClassList) {\n Bounds objectBounds = object.getBoundsInLocal();\n for (SceneOctTree child : children) {\n if (objectBounds.intersects (child.bounds))\n child.insert (object);\n } // for\n } // for\n firstClassList = null;\n\n // Insert second class objects into children (if any exist). We know\n // that the object will be second class in the child, so we just\n // perform a second class insert.\n if (secondClassList != null) {\n for (Node object : secondClassList) {\n Bounds objectBounds = object.getBoundsInLocal();\n for (SceneOctTree child : children) {\n if (objectBounds.intersects (child.bounds))\n child.insertSecondClass (object, objectBounds);\n } // for\n } // for\n } // if\n secondClassList = null;\n\n // Perform a split on the children, just in case all the first class\n // objects that we just inserted all went into one child.\n for (SceneOctTree child : children) child.split();\n\n } // if\n\n }", "void retainOutlineAndBoundaryGrid() {\n\t\tfor (final PNode child : getChildrenAsPNodeArray()) {\n\t\t\tif (child != selectedThumbOutline && child != yellowSIcolumnOutline && child != boundary) {\n\t\t\t\tremoveChild(child);\n\t\t\t}\n\t\t}\n\t\tcreateOrDeleteBoundary();\n\t}", "@Test\n public void testShapeNameCaseDoesntMatter() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(200, 200),\n new Color(1, 0, 0), 1, 100, 50.0, 100.0));\n model1.addShape(Oval.createOval(\"C\", new Point.Double(500, 100),\n new Color(0, 0, 1), 6, 100, 60.0, 30.0));\n model1.addAction(new MoveAction(\"R\", 10, 50, new Point.Double(200, 200),\n new Point.Double(300, 300)));\n model1.addAction(new MoveAction(\"C\", 20, 70, new Point.Double(500, 100),\n new Point.Double(500, 400)));\n model1.addAction(new ChangeColorAction(\"C\", 50, 80,\n new Color(0, 0, 1), new Color(0, 1, 0)));\n model1.addAction(new ScaleRectangleAction(\"R\", 51, 70, 50,\n 100, 25, 100));\n model1.addAction(new MoveAction(\"R\", 70, 100, new Point.Double(300, 300),\n new Point.Double(200, 200)));\n textView1.animate(model1, 1, out);\n assertEquals(\"Shapes:\\n\"\n + \"Name: R\\n\"\n + \"Type: rectangle\\n\"\n + \"Lower-left corner: (200.0,200.0), Width: 50.0, Height: 100.0, Color: \"\n + \"(1.0,0.0,0.0)\\n\"\n + \"Appears at t=1.0s\\n\"\n + \"Disappears at t=100.0s\\n\"\n + \"\\n\"\n + \"Name: C\\n\"\n + \"Type: oval\\n\"\n + \"Center: (500.0,100.0), X radius: 60.0, Y radius: 30.0, Color: \"\n + \"(0.0,0.0,1.0)\\n\"\n + \"Appears at t=6.0s\\n\"\n + \"Disappears at t=100.0s\\n\"\n + \"\\n\"\n + \"Shape R moves from (200.0,200.0) to (300.0,300.0) from t=10.0s to t=50.0s\\n\"\n + \"Shape C moves from (500.0,100.0) to (500.0,400.0) from t=20.0s to t=70.0s\\n\"\n + \"Shape C changes color from (0.0,0.0,1.0) to (0.0,1.0,0.0) from t=50.0s to \"\n + \"t=80.0s\\n\"\n + \"Shape R scales from Width: 50.0 Height: 100.0 to Width: 25.0 Height: \"\n + \"100.0 from t=51.0s \"\n + \"to t=70.0s\\n\"\n + \"Shape R moves from (300.0,300.0) to (200.0,200.0) from t=70.0s to \"\n + \"t=100.0s\\n\",\n out.toString());\n }", "protected void establishTransformationModel() {\r\n\t \r\n\t\tTransformationModel transformModel ;\r\n\t\tArrayList<TransformationStack> modelTransformStacks ;\r\n\t\t\r\n\t\t\r\n\t\t// the variables needed for the profile\r\n\t\t// targetStruc = getTargetVector();\r\n\t\tsomData = soappTransformer.getSomData() ; \r\n\t\t// soappTransformer.setSomData( somApplication.getSomData() );\r\n\t\tsomApplication.setSomData(somData) ;\r\n\t\t\r\n\t\tsomData.getVariablesLabels() ;\r\n\t\t \r\n\t\t\r\n\t\t// from here we transfer...\r\n\t\tmodelTransformStacks = soappTransformer.getTransformationModel().getVariableTransformations();\r\n\t\ttransformModel = soappTransformer.getTransformationModel() ;\r\n\t\t \r\n\t\t\r\n\t\ttransformationModelImported = true;\r\n\t}", "public void reset() {\n\t\tif (getElementCount()!=0) {\n\t\t\tremoveAll();\n\t\t}\n\t\tint rightX=getWidth()/2;\t\t\n\t\tint leftX=rightX-BEAM_LENGTH;\n\t\tint midY=(getHeight()-BODY_LENGTH)/2-2*HEAD_RADIUS-DIFF;\n\t\tint upY=midY-ROPE_LENGTH;\n\t\tint lowY=upY+SCAFFOLD_HEIGHT;\n\t\tGLine scaffold=new GLine(leftX, upY, leftX, lowY);\n\t\tadd(scaffold);\n\t\tGLine beam=new GLine(leftX, upY, rightX, upY);\n\t\tadd(beam);\n\t\tGLine rope=new GLine(rightX, upY, rightX, midY);\n\t\tadd(rope);\n\t}", "public SquareImmutable(Square square)\n {\n this.x = square.getX();\n this.y = square.getY();\n this.isAmmoPoint = square.isAmmoPoint();\n this.isSpawnPoint = square.isSpawnPoint();\n this.color = square.getColor();\n this.playerList = square.getPlayerListColor();\n\n if (square.isSpawnPoint())\n {\n SpawnPoint s = (SpawnPoint) square;\n weaponCardList = s.getWeaponCardList().stream().map(WeaponCard::getName).collect(Collectors.toList());\n }\n else\n {\n AmmoPoint ammoPoint = (AmmoPoint) square;\n\n if (ammoPoint.getAmmoTiles() instanceof JustAmmo)\n {\n JustAmmo justAmmo = (JustAmmo) ammoPoint.getAmmoTiles();\n\n if (justAmmo == null)\n ammoTiles = null;\n else\n ammoTiles = new JustAmmoImmutable(justAmmo.getAmmoCardID(),justAmmo.getSingleAmmo(),justAmmo.getDoubleAmmo());\n }\n else\n {\n PowerAndAmmo powerAndAmmo = (PowerAndAmmo) ammoPoint.getAmmoTiles();\n if (powerAndAmmo == null)\n ammoTiles = null;\n else\n ammoTiles = new PowerAndAmmoImmutable(powerAndAmmo.getAmmoCardID(),powerAndAmmo.getSingleAmmo(),powerAndAmmo.getSecondSingleAmmo());\n }\n\n }\n }", "public void reset()\n\t{ removeAll();\n\t\t int center_y=(getHeight()/2);\n int center_x=(getWidth()/2);\n\t\tScaffoldEnd=new GPoint((center_x-BEAM_LENGTH),ARM_OFFSET_FROM_HEAD+(2*HEAD_RADIUS)+ROPE_LENGTH);\n\t\tGLine scaffold=new GLine((center_x-BEAM_LENGTH),ScaffoldEnd.getY()+SCAFFOLD_HEIGHT,ScaffoldEnd.getX(),ScaffoldEnd.getY());\n\t\tadd(scaffold);\n\t\tBeamEnd=new GPoint((center_x),ScaffoldEnd.getY());\n\t\tGLine beam=new GLine(ScaffoldEnd.getX(),ScaffoldEnd.getY(),BeamEnd.getX(),BeamEnd.getY());\n\t\tadd(beam);\n\t\tRopeEnd=new GPoint((center_x),(BeamEnd.getY()+ROPE_LENGTH));\n\t\tGLine rope=new GLine(BeamEnd.getX(),BeamEnd.getY(),RopeEnd.getX(),RopeEnd.getY());\n\t\tadd(rope);\n\t\tguessedLabel=new GLabel(\"-----\",20,20);\n\t\twrongLabel=new GLabel(\"-----\",20,40);\n\t\ti=1;\n\t\twrong=\"\";\n\t}", "@SuppressWarnings(\"rawtypes\")\n\tprivate void generatePipeModels(){\n\t\t//Pipe center model\n\t\tmodels().getBuilder(BLOCK_DIR + \"/pipe_center\")\n\t\t\t.element().from(5, 5, 5).to(11, 11, 11).allFaces((dir, face) -> face.texture(\"#side\")).end();\n\t\t\n\t\t//X+ facing pipe segment, to be rotated in blockstate json\n\t\tElementBuilder segmentBuilder = models().getBuilder(BLOCK_DIR + \"/pipe_segment\").texture(\"particle\", \"#side\")\n\t\t\t.element().from(5, 5, 11).to(11, 11, 16);\n\t\tfor(Direction dir : Direction.values()){ //TODO: This adds an extra face inside the center model\n\t\t\tif(dir.getAxis() == Direction.Axis.Z)continue;\n\t\t\tsegmentBuilder.face(dir).texture(\"#side\");\n\t\t}\n\t\t\n\t\t//Pipe inventory model\n\t\tmodels().withExistingParent(\"pipe_inventory\", BLOCK_DIR + \"/block\")\n\t\t\t.element().from(5, 0, 5).to(11, 16, 11).allFaces((dir, face) -> {\n\t\t\t\tface.texture(\"#side\");\n\t\t\t});\n\t}", "public NewShape() {\r\n\t\tsuper();\r\n\t}", "public void update() {\n\t\tif (loading) return;\n\t\t\n\t\tinstances.clear();\n\t\tfor (int x = 0; x < Board.DIMENSION; x++) {\n\t\t\tfor (int y = 0; y < Board.DIMENSION; y++) {\n\t\t\t\tTile tile = game.getBoard().getTile(x, y);\n\t\t\t\t\n\t\t\t\tif (tile != Tile.EMPTY) {\n\t\t\t\t\tModelInstance instance = new ModelInstance(ballModel);\n\t\t\t\t\t\n\t\t\t\t\tsetTransform(instance, x, y, tile);\n\t\t\t\t\t\n\t\t\t\t\tinstances.add(instance);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Test\n public void testShapesButNoMotions() throws IOException {\n AnimationModel am = new SimpleAnimationModel();\n StringBuilder sb = new StringBuilder();\n am.addShape(\"Reccy\", ShapeType.RECTANGLE);\n am.startAnimation();\n IAnimationView av = new SVGAnimationView(am, 2, sb);\n av.render();\n assertEquals(\"<svg viewBox = \\\"0 0 0 0\\\" version=\\\"1.1\\\" \"\n + \"xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\"\n + \"\\n\"\n + \"</svg>\", sb.toString());\n }", "public void clearSelectedSquares() {\n\t\tselectedsquares.clear();\n\t\trepaint();\n\t}", "public void apply() {\n\n if( this.vgcomponent instanceof VisualVertex ) {\n String selectedShape = (String) this.shapeList.getSelectedItem();\n Rectangle2D bounds = this.vgcomponent.getGeneralPath().getBounds2D();\n\n if( selectedShape.equals( \"Rectangle\")) {\n Rectangle2D rect = new Rectangle2D.Double(\n bounds.getMinX(), bounds.getMinY(), bounds.getWidth(), bounds.getHeight());\n this.vgcomponent.setGeneralPath( rect.getPathIterator( null ) );\n }\n else if( selectedShape.equals( \"RoundedRectangle\")) {\n RoundRectangle2D rect = new RoundRectangle2D.Double(\n bounds.getMinX(), bounds.getMinY(), bounds.getWidth(), bounds.getHeight(),\n 10, 10 );\n this.vgcomponent.setGeneralPath( rect.getPathIterator( null ) );\n }\n else if( selectedShape.equals( \"Ellipse\")) {\n Ellipse2D ellipse = new Ellipse2D.Double(\n bounds.getMinX(), bounds.getMinY(), bounds.getWidth(), bounds.getHeight());\n this.vgcomponent.setGeneralPath( ellipse.getPathIterator( null ) );\n }\n }\n\n this.vgcomponent.setFillcolor( this.fillColor.getColor() );\n this.vgcomponent.setOutlinecolor( this.outlineColorButton.getColor() );\n\n this.pathPanelList.setGeneralPath( this.vgcomponent.getGeneralPath() );\n this.pathPanelList.setOutlineColor( this.vgcomponent.getOutlinecolor() );\n }", "private Group genClearAndGradedMesh(String runwayId, Integer height){\n Dimension dim = controller.getRunwayDim(runwayId);\n Group meshGroup = new Group();\n //Create now TriangleMeshes for the top and side meshes.\n TriangleMesh meshTop = new TriangleMesh();\n TriangleMesh meshSide = new TriangleMesh();\n\n //Add all the vertexes for the top of the mesh.\n meshTop.getPoints().addAll(\n -75, -height/2, dim.width/2 +60,\n 75, -height/2, dim.width/2 +60,\n -75, -height/2, -dim.width/2 -60,\n 75, -height/2, -dim.width/2 -60,\n -75, -height/2, -dim.width/2 +150,\n -105, -height/2, -dim.width/2 +300,\n -105, -height/2, dim.width/2 -300,\n -75, -height/2, dim.width/2 -150,\n 75, -height/2, -dim.width/2 +150,\n 105, -height/2, -dim.width/2 +300,\n 105, -height/2, dim.width/2 -300,\n 75, -height/2, dim.width/2 -150);\n\n //Define all the faces on the top of the shape.\n meshTop.getFaces().addAll(\n 0,0,3,3,1,1, 0,0,2,2,3,3,\n 6,6,5,5,4,4, 6,6,4,4,7,7,\n 11,11,8,8,9,9, 11,11,9,9,10,10);\n\n //Since the object will not be UV unwrapped, we don't worry about the texture coordinates.\n for(int i =0; i < meshTop.getPoints().size()/3; i++){\n meshTop.getTexCoords().addAll(0,0);\n }\n //Create a MeshView for the mesh, set the material, and add it to the mesh group.\n MeshView topMeshView = new MeshView(meshTop);\n topMeshView.setMaterial(new PhongMaterial(convertToJFXColour(CLEAR_AND_GRADED_COLOUR)));\n meshGroup.getChildren().add(topMeshView);\n\n //Add all the vertices in topMesh to sideMesh.\n meshSide.getPoints().addAll(meshTop.getPoints());\n //Iterate over all the vertices and add a copy which is mirrored in the x=0, y=0 plane.\n for (int i = 0; i < meshTop.getPoints().size()/3; i++){\n meshSide.getPoints().addAll(meshTop.getPoints().get(i*3));\n meshSide.getPoints().addAll(-meshTop.getPoints().get(i*3+1));\n meshSide.getPoints().addAll(meshTop.getPoints().get(i*3+2));\n }\n\n //Define all the faces to connect the top and bottom faces.\n meshSide.getFaces().addAll(\n 0,0,13,13,12,12, 0,0,1,1,13,13,\n 2,2,14,14,15,15, 2,2,15,15,3,3,\n 6,6,18,18,17,17, 6,6,17,17,5,5,\n 9,9,21,21,22,22, 9,9,22,22,10,10,\n 0,0,12,12,19,19, 0,0,19,19,7,7,\n 11,11,23,23,13,13, 11,11,13,13,1,1,\n 4,4,16,16,14,14, 4,4,14,14,2,2,\n 3,3,15,15,20,20, 3,3,20,20,8,8,\n 7,7,19,19,18,18, 7,7,18,18,6,6,\n 10,10,22,22,23,23, 10,10,23,23,11,11,\n 5,5,17,17,16,16, 5,5,16,16,4,4,\n 8,8,20,20,21,21, 8,8,21,21,9,9\n );\n\n //Again, since the object will not be UV unwrapped, we don't worry about the texture coordinates.\n for(int i =0; i < meshSide.getPoints().size()/3; i++){\n meshSide.getTexCoords().addAll(0,0);\n }\n //Create a MeshView for the mesh, set the material, and add it to the mesh group.\n MeshView sideMeshView = new MeshView(meshSide);\n sideMeshView.setMaterial(new PhongMaterial(convertToJFXColour(CLEAR_AND_GRADED_COLOUR)));\n meshGroup.getChildren().add(sideMeshView);\n\n //return the group containing both meshes.\n return meshGroup;\n }", "private void repaint() {\n\t\tclear();\n\t\tfor (PR1Model.Shape c : m.drawDataProperty()) {\n\t\t\tif(!c.getText().equals(defaultshape))\n\t\t\t\tdrawShape(c, false);\n\t\t}\n\t\tif (getSelection() != null) {\n\t\t\tdrawShape(getSelection(), true);\n\t\t}\n\t}", "public void buildModel() {\n space = new RabbitsGrassSimulationSpace(gridSize);\n space.setModel(this);\n space.spreadGrass(numInitGrass);\n\n for (int i = 0; i < numInitRabbits; i++) {\n addNewRandomRabbit();\n }\n }", "public void reset() {\n\t\trabbitcount[1]=8;\n\t\trabbitcount[2]=8;\n\t\tpieces.clear();\n\t\tselectedsquares.clear();\n\t\trepaint();\n\t}", "public void undoAll() {\n firePropertyChange(\"array\", null, EMPTY_STRING);\n myDrawingArray.clear();\n myUndoStack.clear();\n myCurrentShape = new Drawing(new Line2D.Double(), Color.WHITE, 0);\n repaint();\n }", "public void clear() {\n\t\tshapes.clear();\n\t\tgroupedShapes.clear();\n\t\tthis.repaint();\n\t\tcounter = 0;\n\t\tnotifyObservers();\n\t}", "@Override\r\n\tpublic void unexecute() {\n\t\t\r\n\t\tCollections.swap(model.getListOfShapes(), model.getListOfShapes().size()-1, i); \r\n\t\t\r\n\t\t/*if(print == true) {\r\n\t\t\t\r\n\t\t\tFrame.textArea.append(\"UNDO >>> Bring to back: \" + s +\"\\n\");\r\n\t\t}\r\n\t\t\r\n\t\tprint = true;*/\r\n\t\r\n\t\t\r\n\t}", "protected Model makeModel()\n {\n LayerList layers = new LayerList();\n\n for (Layer layer : this.observered.getModel().getLayers())\n {\n if (layer instanceof TiledImageLayer) // share TiledImageLayers\n layers.add(layer);\n }\n\n Model model = new BasicModel();\n model.setGlobe(this.observered.getModel().getGlobe()); // share the globe\n model.setLayers(layers);\n\n return model;\n }", "protected abstract void setShapes();", "@Test\n\tpublic void testBlot() {\n\t\tmodel.move(17, 18);\n\t\tmodel.move(6, 7);\n\t\tassertEquals(\"W \\n 1 ##\\n 2 \\n 3 \\n 4 \\n 5 \\n 6 OOOO\\n 7 O\\n 8 OOO\\n 9 \\n10 \\n11 \\n12 #####\\n \\n \\n13 OOOOO\\n14 \\n15 \\n16 \\n17 ##\\n18 #\\n19 #####\\n20 \\n21 \\n22 \\n23 \\n24 OO\\nB \\n\", model.toString());\n\t\t// now blot\n\t\tmodel.move(12, 7);\n\t\tassertEquals(\"W \\n 1 ##\\n 2 \\n 3 \\n 4 \\n 5 \\n 6 OOOO\\n 7 #\\n 8 OOO\\n 9 \\n10 \\n11 \\n12 ####\\n O\\n \\n13 OOOOO\\n14 \\n15 \\n16 \\n17 ##\\n18 #\\n19 #####\\n20 \\n21 \\n22 \\n23 \\n24 OO\\nB \\n\", model.toString());\n\t\tmodel.move(13, 18);\n\t\tassertEquals(\"W \\n 1 ##\\n 2 \\n 3 \\n 4 \\n 5 \\n 6 OOOO\\n 7 #\\n 8 OOO\\n 9 \\n10 \\n11 \\n12 ####\\n O\\n #\\n13 OOOO\\n14 \\n15 \\n16 \\n17 ##\\n18 O\\n19 #####\\n20 \\n21 \\n22 \\n23 \\n24 OO\\nB \\n\", model.toString());\n\t}", "private void reset() {\n darkSquare.reset();\n lightSquare.reset();\n background.reset();\n border.reset();\n showCoordinates.setSelected(resetCoordinates);\n pieceFont.reset();\n }", "@Override\n public MetaprogramTargetNode deepCopy(BsjNodeFactory factory);", "@Override\n\tpublic void update(ShapeModelEvent event) {\n\t\t\n\t\tShapeModel source = event.source();\n\t\t\n\t\tint[] childIndices = new int[1];\n\t\tchildIndices[0] = event.index();\n\t\t\n\t\tShape[] children = new Shape[1];\n\t\tchildren[0] = event.operand();\n\t\t\n\t\t\n\t\t\n\t\tif(event.eventType().equals(EventType.ShapeAdded)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesInserted(treeModelEvent);\n\t\t\t\n\t\t}else if(event.eventType().equals(EventType.ShapeRemoved)){\n\t\t\tTreeModelEvent treeModelEvent = new TreeModelEvent(source, event.parent().path().toArray(), childIndices, children);\n\t\t\tfireTreeNodesRemoved(treeModelEvent);\n\t\t}\n\t\t\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testNoShapeWithSameNameCaseInsensitive() {\n model1.addShape(Rectangle.createRectangle(\"R\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n model1.addShape(Oval.createOval(\"r\", new Point.Double(500, 200),\n new Color(0, 0, 0), 0, 10, 10, 10));\n }" ]
[ "0.5910426", "0.5645483", "0.5436048", "0.5348355", "0.5280086", "0.5275384", "0.5201496", "0.5191914", "0.51804924", "0.513577", "0.5117421", "0.51023537", "0.5090049", "0.50857353", "0.5078868", "0.50661933", "0.5065795", "0.5043663", "0.5024968", "0.501743", "0.50102085", "0.50040066", "0.4989147", "0.49748927", "0.49604592", "0.4957142", "0.4926327", "0.49100488", "0.4903329", "0.4901287", "0.49009332", "0.4900509", "0.48979327", "0.48916107", "0.48870465", "0.4886001", "0.48755473", "0.48506957", "0.48492724", "0.48426124", "0.48407066", "0.48346022", "0.48256633", "0.48216006", "0.48191667", "0.48167387", "0.4811316", "0.47887474", "0.47858068", "0.47782725", "0.47749472", "0.47699162", "0.47594094", "0.4758979", "0.4751225", "0.47416145", "0.4736806", "0.47263741", "0.47081393", "0.47033542", "0.4702059", "0.46910176", "0.46891087", "0.4682981", "0.46802154", "0.46751058", "0.4664275", "0.46637937", "0.46534646", "0.46510977", "0.46418986", "0.46394512", "0.46373552", "0.46303797", "0.46225384", "0.46157372", "0.46145502", "0.46079165", "0.46076125", "0.4605667", "0.4603122", "0.4594845", "0.45928127", "0.45921904", "0.45904034", "0.45829645", "0.45720965", "0.4571275", "0.45689654", "0.45641792", "0.4563688", "0.45549086", "0.4540811", "0.4537531", "0.4534197", "0.45336917", "0.45251817", "0.45205104", "0.45175755", "0.45166713" ]
0.7287355
0
Returns iteratively all sub objects filtered by a type of an object.
@SuppressWarnings("unchecked") // caused by instanceof simulation private <T extends EObject> List<T> allSubobjectsOfKind(EObject rootObject, Class<T> type) { List<T> result = new LinkedList<T>(); TreeIterator<EObject> iterator = rootObject.eAllContents(); while (iterator.hasNext()) { EObject eObj = iterator.next(); if (eObj.getClass() == type) { // simulates instanceof result.add((T) eObj); } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n public <T extends Resource> List<T> getChildren(Class<T> type)\n {\n Resource[] allChildren = getChildren();\n List<T> filteredChildren = new ArrayList<T>();\n for(Resource child : allChildren)\n {\n if(type.isAssignableFrom(child.getClass()))\n {\n filteredChildren.add((T)child);\n }\n }\n return filteredChildren;\n }", "public abstract AbstractObjectIterator<LocalAbstractObject> getAllObjects();", "@SuppressWarnings(\"unchecked\")\n private static <T> Stream<T> all(Class<T> type, Iterator<Object> i) {\n requireNonNull(type);\n requireNonNull(i);\n \n return all(i).filter(o -> type.isAssignableFrom(o.getClass()))\n .map(o -> (T) o);\n }", "public Iterator<IEventType<T>> getDeepSuperTypes();", "static List getObjectsOfCandidateType(final ExecutionContext ec, final HBaseManagedConnection mconn,\r\n Class candidateClass, boolean subclasses, boolean ignoreCache, FetchPlan fetchPlan, Filter filter, StoreManager storeMgr)\r\n {\r\n List<AbstractClassMetaData> cmds = MetaDataUtils.getMetaDataForCandidates(candidateClass, subclasses, ec);\r\n if (NucleusLogger.DATASTORE_NATIVE.isDebugEnabled())\r\n {\r\n NucleusLogger.DATASTORE_NATIVE.debug(\"Retrieving objects for candidate=\" + candidateClass.getName() +\r\n (subclasses ? \" and subclasses\" : \"\") + (filter != null ? (\" with filter=\" + filter) : \"\"));\r\n }\r\n\r\n List results = new ArrayList();\r\n for (AbstractClassMetaData cmd : cmds)\r\n {\r\n if (cmd instanceof ClassMetaData && ((ClassMetaData)cmd).isAbstract())\r\n {\r\n // Omit any classes that are not instantiable (e.g abstract)\r\n }\r\n else\r\n {\r\n results.addAll(getObjectsOfType(ec, mconn, cmd, ignoreCache, fetchPlan, filter, storeMgr));\r\n }\r\n }\r\n\r\n return results;\r\n }", "private <T> List<T> filterList(Iterable<?> iterable, Class<T> clazz) {\n List<T> result = new ArrayList<>();\n for (Object object : iterable) {\n if (clazz.isInstance(object)) {\n @SuppressWarnings(\"unchecked\")\n // Checked using clazz.isInstance\n T tObject = (T) object;\n result.add(tObject);\n }\n }\n return result;\n }", "protected Collection getObjectsOfType(Collection allTypes, Collection curTypes) {\n Collection objectsOfType = new ArrayList();\n Iterator itA = allTypes.iterator();\n while (itA.hasNext()) {\n Object objAT = itA.next();\n if (objAT == null)\n continue;\n Iterator itB = curTypes.iterator();\n while (itB.hasNext()) {\n Object objCT = itB.next();\n if (objAT.equals(objCT))\n objectsOfType.add(objCT);\n } // while itB\n } // while itA\n return objectsOfType; \n }", "<T> IList<T> getObjects(Class<T> type);", "@Nonnull\n @jakarta.annotation.Nonnull\n CloseableIterator<Obj> scanAllObjects(\n @Nonnull @jakarta.annotation.Nonnull Set<ObjType> returnedObjTypes);", "public synchronized <T extends EnvironmentalObject> Iterable<T> getEnvironmentalObjects(int x, int y, Class<T> type) {\n\t\treturn new FilteringIterable<>(type, this.grid.getObjects(x, y));\n\t}", "protected List<Topic> doGetSubtypes(Topic type, int offset, int limit) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes(type));\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "@Override\n\tpublic List<T> findAll(Class<T> obj) {\n\t\tSession session=this.sessionFactory.getCurrentSession();\n\t\tCriteria crit=session.createCriteria(obj);\n\t\treturn crit.list();\n\t}", "final <E, T extends Collection<E>> T filter(\n Class<?>[] arr, Class<?> from, T c, int type, T prototype\n ) {\n T ret = null;\n\n\n// optimistic strategy expecting we will not need to filter\nTWICE: \n for (;;) {\n Iterator<E> it = c.iterator();\nBIG: \n while (it.hasNext()) {\n E res = it.next();\n\n if (!isObjectAccessible(arr, from, res, type)) {\n if (ret == null) {\n // we need to restart the scanning again \n // as there is an active filter\n ret = prototype;\n continue TWICE;\n }\n\n continue BIG;\n }\n\n if (ret != null) {\n // if we are running the second round from TWICE\n ret.add(res);\n }\n }\n\n // ok, processed\n break TWICE;\n }\n\n return (ret != null) ? ret : c;\n }", "public Iterator<ODocument> getAllAsList(@Generic(\"T\") final Class<?> type) {\n return getAll(type);\n }", "protected List<Topic> doGetSubtypes(Topic type, int offset, int limit, Comparator<Topic> comparator) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes(type));\r\n\t\tCollections.sort(cache, comparator);\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "public <T extends GameObject> T[] senseNearbyGameObjects(Class<T> type);", "static private List getObjectsOfType(final ExecutionContext ec, final HBaseManagedConnection mconn,\r\n final AbstractClassMetaData cmd, boolean ignoreCache, FetchPlan fp, final Filter filter, final StoreManager storeMgr)\r\n {\r\n List results = new ArrayList();\r\n\r\n StoreData sd = storeMgr.getStoreDataForClass(cmd.getFullClassName());\r\n if (sd == null)\r\n {\r\n storeMgr.manageClasses(ec.getClassLoaderResolver(), cmd.getFullClassName());\r\n sd = storeMgr.getStoreDataForClass(cmd.getFullClassName());\r\n }\r\n final Table table = sd.getTable();\r\n final String tableName = table.getName();\r\n final int[] fpMembers = fp.getFetchPlanForClass(cmd).getMemberNumbers();\r\n try\r\n {\r\n final ClassLoaderResolver clr = ec.getClassLoaderResolver();\r\n\r\n Scan scan = new Scan();\r\n if (filter != null)\r\n {\r\n scan.setFilter(filter);\r\n }\r\n\r\n // Retrieve all fetch-plan fields\r\n for (int i=0; i<fpMembers.length; i++)\r\n {\r\n AbstractMemberMetaData mmd = cmd.getMetaDataForManagedMemberAtAbsolutePosition(fpMembers[i]);\r\n RelationType relationType = mmd.getRelationType(clr);\r\n if (relationType != RelationType.NONE && MetaDataUtils.getInstance().isMemberEmbedded(ec.getMetaDataManager(), clr, mmd, relationType, null))\r\n {\r\n if (RelationType.isRelationSingleValued(relationType))\r\n {\r\n // 1-1 embedded\r\n List<AbstractMemberMetaData> embMmds = new ArrayList<AbstractMemberMetaData>();\r\n embMmds.add(mmd);\r\n addColumnsToScanForEmbeddedMember(scan, embMmds, table, ec);\r\n }\r\n }\r\n else\r\n {\r\n MemberColumnMapping mapping = table.getMemberColumnMappingForMember(mmd);\r\n int numCols = mapping.getNumberOfColumns();\r\n for (int colNo=0;colNo<numCols;colNo++)\r\n {\r\n Column col = mapping.getColumn(colNo);\r\n byte[] familyName = HBaseUtils.getFamilyNameForColumn(col).getBytes();\r\n byte[] qualifName = HBaseUtils.getQualifierNameForColumn(col).getBytes();\r\n scan.addColumn(familyName, qualifName);\r\n }\r\n }\r\n }\r\n\r\n VersionMetaData vermd = cmd.getVersionMetaDataForClass();\r\n if (cmd.isVersioned() && vermd.getMemberName() == null)\r\n {\r\n // Add version column\r\n byte[] familyName = HBaseUtils.getFamilyNameForColumn(table.getSurrogateColumn(SurrogateColumnType.VERSION)).getBytes();\r\n byte[] qualifName = HBaseUtils.getQualifierNameForColumn(table.getSurrogateColumn(SurrogateColumnType.VERSION)).getBytes();\r\n scan.addColumn(familyName, qualifName);\r\n }\r\n if (cmd.hasDiscriminatorStrategy())\r\n {\r\n // Add discriminator column\r\n byte[] familyName = HBaseUtils.getFamilyNameForColumn(table.getSurrogateColumn(SurrogateColumnType.DISCRIMINATOR)).getBytes();\r\n byte[] qualifName = HBaseUtils.getQualifierNameForColumn(table.getSurrogateColumn(SurrogateColumnType.DISCRIMINATOR)).getBytes();\r\n scan.addColumn(familyName, qualifName);\r\n }\r\n if (cmd.getIdentityType() == IdentityType.DATASTORE)\r\n {\r\n // Add datastore identity column\r\n byte[] familyName = HBaseUtils.getFamilyNameForColumn(table.getSurrogateColumn(SurrogateColumnType.DATASTORE_ID)).getBytes();\r\n byte[] qualifName = HBaseUtils.getQualifierNameForColumn(table.getSurrogateColumn(SurrogateColumnType.DATASTORE_ID)).getBytes();\r\n scan.addColumn(familyName, qualifName);\r\n }\r\n\r\n org.apache.hadoop.hbase.client.Table htable = mconn.getHTable(tableName);\r\n ResultScanner scanner = htable.getScanner(scan);\r\n if (ec.getStatistics() != null)\r\n {\r\n // Add to statistics\r\n ec.getStatistics().incrementNumReads();\r\n }\r\n Iterator<Result> it = scanner.iterator();\r\n\r\n // Instantiate the objects\r\n if (cmd.getIdentityType() == IdentityType.APPLICATION)\r\n {\r\n while (it.hasNext())\r\n {\r\n final Result result = it.next();\r\n Object obj = getObjectUsingApplicationIdForResult(result, cmd, ec, ignoreCache, fpMembers, tableName, storeMgr, table);\r\n if (obj != null)\r\n {\r\n results.add(obj);\r\n }\r\n }\r\n }\r\n else if (cmd.getIdentityType() == IdentityType.DATASTORE)\r\n {\r\n while (it.hasNext())\r\n {\r\n final Result result = it.next();\r\n Object obj = getObjectUsingDatastoreIdForResult(result, cmd, ec, ignoreCache, fpMembers, tableName, storeMgr, table);\r\n if (obj != null)\r\n {\r\n results.add(obj);\r\n }\r\n }\r\n }\r\n else\r\n {\r\n while (it.hasNext())\r\n {\r\n final Result result = it.next();\r\n Object obj = getObjectUsingNondurableIdForResult(result, cmd, ec, ignoreCache, fpMembers, tableName, storeMgr, table);\r\n if (obj != null)\r\n {\r\n results.add(obj);\r\n }\r\n }\r\n }\r\n }\r\n catch (IOException e)\r\n {\r\n throw new NucleusDataStoreException(e.getMessage(), e.getCause());\r\n }\r\n return results;\r\n }", "public Collection getChildren(int wantedMask)\n {\n final int mask = wantedMask & ALL_TYPES_MASK;\n\n return new ChildrenCollection(mask, objectNode.getChildren());\n }", "public org.semanticwb.model.GenericIterator<org.semanticwb.model.ResourceSubType> listSubTypes()\r\n {\r\n return new org.semanticwb.model.GenericIterator<org.semanticwb.model.ResourceSubType>(getSemanticObject().listObjectProperties(swb_hasPTSubType));\r\n }", "protected List<Topic> doGetSubtypes(int offset, int limit) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes());\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "protected Collection<Composite> find(Predicate<Composite> predicate, FindMode findMode) {\n List<Composite> foundComposites = new ArrayList<>();\n\n if (findMode != FindMode.childrenOnly) {\n if (predicate.test(this)) {\n foundComposites.add(this);\n }\n }\n\n if ((findMode == FindMode.childrenOnly || findMode == FindMode.selfWithChildren || findMode == FindMode.full)\n && this.getChildren() != null) {\n for (Composite child : this.getChildren()) {\n if (findMode == FindMode.full) {\n foundComposites.addAll(child.find(predicate, findMode));\n } else {\n if (predicate.test(child)) {\n foundComposites.add(child);\n }\n }\n }\n }\n\n return foundComposites;\n }", "protected List<Topic> doGetDirectSubtypes(Topic type, int offset, int limit) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getDirectSubtypes(type));\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "void printObjects(){\r\n\t\tIterator iterator = gc.getIterator();\r\n\t while(iterator.hasNext()){\r\n\t\t GameObject g = iterator.getNext();\r\n\t\t\t if (!(g instanceof Bar))System.out.println(g.toString());\r\n\t\t}\r\n\t}", "public JodeList search(Predicate<Jode> filter) {\n List<Node> ret = new ArrayList<>();\n if (filter.test(this)) {\n ret.add(this.extend());\n }\n for (Jode j : this.children()) {\n JodeList subResult = j.search(filter);\n for (Jode subJ : subResult) {\n ret.add(subJ.extend());\n }\n }\n return new JodeList(ret);\n }", "private List<String> retrieveObjectsInRoom(Room room) {\n List<String> retirevedInRoom = new ArrayList<>();\n for (String object : room.getObjects()) {\n if (wantedObjects.contains(object)) {\n retirevedInRoom.add(object);\n }\n }\n return retirevedInRoom;\n }", "@Override\n\t@SuppressWarnings(\"unchecked\")\n\tpublic <T extends FsSecureBusinessObject> Set<T> getChildren(Class<T> type) {\n\t\tif (FsComment.class.isAssignableFrom(type)){\n\t\t\treturn emptySet;\n\t\t} else {\n\t\t\treturn super.getChildren(type);\n\t\t}\n\t}", "protected List<Topic> doGetSubtypes(Collection<? extends Topic> types, boolean all, int offset, int limit) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes(types, all));\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "public List<Class<?>> getSubClasses(Class<?> aClass) {\n\t\treturn ModelClasses.getAllSubClasses(aClass);\n\t}", "List<Tag<? extends Type>> getChildren();", "protected Object[] getFilteredChildren(TableViewer viewer){\n\t\tObject parent = viewer.getInput();\n\t\tif(parent==null) return new Object[0];\n\t\tObject[] result = null;\n\t\tif (parent != null) {\n\t\t\tIStructuredContentProvider cp = (IStructuredContentProvider) viewer.getContentProvider();\n\t\t\tif (cp != null) {\n\t\t\t\tresult = cp.getElements(parent);\n\t\t\t\tif(result==null) return new Object[0];\n\t\t\t\tfor (int i = 0, n = result.length; i < n; ++i) {\n\t\t\t\t\tif(result[i]==null) return new Object[0];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tViewerFilter[] filters = viewer.getFilters();\n\t\tif (filters != null) {\n\t\t\tfor (ViewerFilter f:filters) {\n\t\t\t\tObject[] filteredResult = f.filter(viewer, parent, result);\n\t\t\t\tresult = filteredResult;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "public NestedObjects getNestedObjects(Class<?> aClass) {\n\t\treturn new NestedObjects(aClass);\n\t}", "Set<Concept> getSubclasses(Concept concept);", "public Set<Node> getChildByType(String type) {\n HashSet<Node> result = new HashSet<Node>();\n Iterable<Relationship> relations = gisNode.getRelationships(Direction.OUTGOING);\n for (Relationship relationship : relations) {\n Node node = relationship.getEndNode();\n if (type.equals(node.getProperty(INeoConstants.PROPERTY_TYPE_NAME, \"\"))) {\n result.add(node);\n }\n }\n return result;\n }", "@SuppressWarnings({ \"unchecked\"})\n\tpublic<T extends SubdocumentoIva<?, ?, ?>> List<T> getListaSubdocumentoIva(Class<T> classifClazz) {\n\t\t\n\t\tfinal List<T> result = new ArrayList<T>();\n\t\t\n\t\tfor (SDI c : listaSubdocumentoIva) {\n\t\t\tif(classifClazz.isInstance(c)){\n\t\t\t\tresult.add((T)c);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "protected List<Topic> doGetDirectSubtypes(Topic type, int offset, int limit, Comparator<Topic> comparator) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getDirectSubtypes(type));\r\n\t\tCollections.sort(cache, comparator);\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "public interface ObjectFilter<In, Out> {\n\n\t/**\n\t * Return an object of <code>Out</code> type initialized with the specified <code>In</code> object. \n\t * This object is displayed or is given to the next ObjectFilter of the chain. \n\t * @param value the specified object\n\t * @return an object of <code>Out</code> type or <code>null</code> (in this case, the filter chains ends) \n\t */\n public abstract Out apply(In value);\n \n}", "Set<Concept> getSuperclasses(Concept concept);", "<E extends CtElement> List<E> getElements(Filter<E> filter);", "protected List<Topic> doGetSubtypes(Collection<? extends Topic> types, boolean all, int offset, int limit, Comparator<Topic> comparator) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes(types, all));\r\n\t\tCollections.sort(cache, comparator);\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "@Override\n public List<Type> getProperlySubsumedTypes(Type type) {\n return ((TypeImpl) type).getAllSubtypes().collect(Collectors.toList());\n }", "public abstract Iterator getCascadableChildrenIterator(EventSource session, CollectionType collectionType, Object collection);", "private List<IClass> getChildren(IClass cls) {\n\t\tList<IClass> subclasses = new ArrayList<IClass>();\n\t\tCollections.addAll(subclasses, cls.getDirectSubClasses());\n\t\treturn subclasses;\n\t}", "public List<T> findAll() {\n\n\t\tConnection dbConnection = ConnectionFactory.getConnection();\n\t\tPreparedStatement findStatement = null;\n\t\tResultSet rs = null;\n\t\tString findStatementString = \"SELECT * FROM \" + type.getSimpleName();\n\n\t\ttry {\n\t\t\tfindStatement = dbConnection.prepareStatement(findStatementString);\n\t\t\trs = findStatement.executeQuery();\n\t\t\treturn createObjects(rs);\n\t\t} catch (SQLException e) {\n\t\t\tLOGGER.log(Level.WARNING, type.getName() + \"DAO:findAll\" + e.getMessage());\n\t\t} finally {\n\t\t\tConnectionFactory.close(rs);\n\t\t\tConnectionFactory.close(findStatement);\n\t\t\tConnectionFactory.close(dbConnection);\n\t\t}\n\t\treturn null;\n\t}", "private static Stream<? extends SchemaConcept<?>> filteredDirectSub(GraknClient.Transaction tx, String schemaType) {\n return tx.stream(\n Graql.match(\n Graql.var(\"x\").subX(schemaType))\n .get(\"x\"))\n .get()\n .map(map -> map.get(\"x\").asSchemaConcept())\n .filter(concept -> !concept.label().toString().equals(schemaType));\n }", "public <T> Collection<T> getChildrenCollection(Class<T> clz);", "private static Stream<Class<?>> superTypes(Class<?> type) {\n Class<?>[] interfaces = type.getInterfaces();\n return Stream.concat(\n Arrays.stream(interfaces).flatMap(SqlObjectFactory::superTypes),\n Arrays.stream(interfaces));\n }", "List<ObjectMessage> getObjects(long stream, long version, ObjectType... types);", "public Collection<ChildType> getChildren();", "protected List<Topic> doGetSubtypes(int offset, int limit, Comparator<Topic> comparator) {\r\n\t\tList<Topic> cache = HashUtil.getList(getParentIndex().getSubtypes());\r\n\t\tCollections.sort(cache, comparator);\r\n\t\treturn HashUtil.secureSubList(cache, offset, limit);\r\n\t}", "public List<Objet> getObjetsFindByIdTypeObjet(long idTypeObjet) {\n\t\treturn null;\n\t}", "public interface IChildrenQuery<C extends SuperVO> {\n\n List<C> queryByParentPk(String parentPk);\n}", "protected void recursivelyGetInnerTypes(Set<Type> allInnerTypes) {\n Collection<Type> currentInnerTypes = getInnerTypes().values();\n allInnerTypes.addAll(currentInnerTypes);\n for (Type type : currentInnerTypes) {\n type.recursivelyGetInnerTypes(allInnerTypes);\n }\n }", "private ArrayList findAllSubclasses(List listSuperClasses,\r\n\t\t\tList listAllClasses, boolean innerClasses) {\r\n\t\tIterator iterClasses = null;\r\n\t\tArrayList listSubClasses = null;\r\n\t\tString strClassName = null;\r\n\t\tClass tempClass = null;\r\n\t\tlistSubClasses = new ArrayList();\r\n\t\titerClasses = listSuperClasses.iterator();\r\n\t\twhile (iterClasses.hasNext()) {\r\n\t\t\tstrClassName = (String) iterClasses.next();\r\n\t\t\t// only check classes if they are not inner classes\r\n\t\t\t// or we intend to check for inner classes\r\n\t\t\tif ((strClassName.indexOf(\"$\") == -1) || innerClasses) {\r\n\t\t\t\t// might throw an exception, assume this is ignorable\r\n\t\t\t\ttry {\r\n\t\t\t\t\ttempClass = Class.forName(strClassName, false, Thread\r\n\t\t\t\t\t\t\t.currentThread().getContextClassLoader());\r\n\t\t\t\t\tfindAllSubclassesOneClass(tempClass, listAllClasses,\r\n\t\t\t\t\t\t\tlistSubClasses, innerClasses);\r\n\t\t\t\t\t// call by reference - recursive\r\n\t\t\t\t} catch (Throwable ignored) {\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn listSubClasses;\r\n\t}", "private List<String> getObjectsByType(String typeName) throws SQLException {\n return jdbcTemplate.queryForStringList(\"SELECT OBJECT_NAME FROM ALL_OBJECTS WHERE OWNER = ? AND OBJECT_TYPE = ?\",\n name, typeName);\n }", "@Override\n public List<Person> getChildren(Person object, boolean fullDepth) {\n return getChildren(object);\n }", "public final native KmlObjectList getElementsByType(String type) /*-{\r\n\t\treturn this.getElementsByType(type);\r\n\t}-*/;", "@Override\n public Vector<Type> getDirectlySubsumedTypes(Type type) {\n return new Vector<>(getDirectSubtypes(type));\n }", "public List<RealObject> getChildren();", "public List<T> accessReadChildElements(T obj);", "public TreeIterator<?> treeIterator(Object object)\n {\n return new DomainTreeIterator<Object>(this, object);\n }", "private Map<String, List<String>> getObjectsGroupedByType() throws SQLException {\n boolean xmlDbAvailable = dbSupport.isXmlDbAvailable();\n String query =\n // Most of objects are seen in ALL_OBJECTS\n \"SELECT OBJECT_TYPE, OBJECT_NAME FROM ALL_OBJECTS WHERE OWNER = ? \" +\n (xmlDbAvailable\n // XML tables are seen in a separate dictionary table\n ? \"UNION ALL SELECT 'TABLE', TABLE_NAME FROM ALL_XML_TABLES WHERE OWNER = ? \" +\n \"AND TABLE_NAME NOT LIKE 'BIN$________________________$_'\" //ignore recycle bin objects\n : \"\");\n\n // Count params\n int n = 1;\n if (xmlDbAvailable) n += 1;\n String[] params = new String[n];\n Arrays.fill(params, name);\n\n List<Map<String, String>> rows = jdbcTemplate.queryForList(query, params);\n Map<String, List<String>> result = new HashMap<String, List<String>>();\n for (Map<String, String> row : rows) {\n String objectType = row.get(\"OBJECT_TYPE\");\n String objectName = row.get(\"OBJECT_NAME\");\n if (result.containsKey(objectType)) {\n result.get(objectType).add(objectName);\n } else {\n List<String> newList = new ArrayList<String>();\n newList.add(objectName);\n result.put(objectType, newList);\n }\n }\n return result;\n }", "<T extends Component> Collection<T> getAllComponents(Class<T> type);", "public List<? extends IType> getSubtypes()\n {\n if( _subtypes == null )\n {\n _subtypes = new ArrayList<IGosuClassInternal>();\n Set<? extends CharSequence> typeNames = getTypeLoader().getAllTypeNames();\n for( CharSequence typeName : typeNames )\n {\n IType type = TypeSystem.getByFullNameIfValid(typeName.toString());\n if (type instanceof IGosuClassInternal) {\n IGosuClassInternal gosuClass = (IGosuClassInternal) type;\n if( getOrCreateTypeReference() != gosuClass && isAssignableFrom( gosuClass ) )\n {\n _subtypes.add( gosuClass );\n }\n }\n }\n }\n\n return _subtypes;\n }", "public List<Type> getAll();", "List<ITypeDescriptor> getSubTypes(String type) throws StoreException;", "public JodeList children(Predicate<Jode> filter) {\n return this.children().filter(filter);\n }", "@Test\r\n void multiLevelFilter() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream().filter(t -> t.getType() == Transaction.GROCERY).filter(t -> \"r3\".equals(t.getValue()));\r\n\t\tList<TransactionBean> afterStreamList = transactionBeanStream.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(0).getType());\r\n\t\tassertSame(\"wrong value\", \"r3\", afterStreamList.get(0).getValue());\r\n }", "public IMemberSet getChildren(IMember type) {\n\t\tString key = type.getHandleIdentifier();\n\t\treturn _map.get(key);\n\t}", "PropertiedObjectFilter<O> getFilter();", "public ArrayList get(typeFU T) {\n ArrayList<FunctionalUnit> valueParent = new ArrayList<>(); \n ArrayList<FunctionalUnit> filtered = new ArrayList<>();\n valueParent = FU.get(T);\n for (int i = 0; i < valueParent.size(); i++) {\n if (valueParent.get(i).isActive() == true) {\n filtered.add(valueParent.get(i));\n }\n } \n return filtered;\n }", "private EClass[] getTypedRelationships(EClass supertype) {\n ArrayList<EClass> list = new ArrayList<EClass>();\n \n for(EClass eClass : ArchimateModelUtils.getRelationsClasses()) {\n if(supertype.isSuperTypeOf(eClass)) {\n list.add(eClass);\n }\n }\n \n return list.toArray(new EClass[list.size()]);\n }", "public String getSubObjectType() {\n return subObjectType;\n }", "public List<ItemTypeDTO> getAll();", "public List<PlanNode> findAllFirstNodesAtOrBelow( Type typeToFind ) {\n List<PlanNode> results = new LinkedList<PlanNode>();\n LinkedList<PlanNode> queue = new LinkedList<PlanNode>();\n queue.add(this);\n while (!queue.isEmpty()) {\n PlanNode aNode = queue.poll();\n if (aNode.getType() == Type.PROJECT) {\n results.add(aNode);\n } else {\n queue.addAll(0, aNode.getChildren());\n }\n }\n return results;\n }", "private void findAllSubclassesOneClass(Class theClass,\r\n\t\t\tList listAllClasses, List listSubClasses) {\r\n\t\tfindAllSubclassesOneClass(theClass, listAllClasses, listSubClasses,\r\n\t\t\t\tfalse);\r\n\t}", "public Iterable<Object> getObjects(String key);", "public List<Resource> findByType(ResourceType type) {\n\t\tMap<String, Object> typeFilter = new HashMap<>(1);\n\n\t\ttypeFilter.put(\"type\", new ValueParameter(type));\n\n\t\treturn this.filter(typeFilter);\n\t}", "private static void traverseSmartContainer(Object o, SmartVisitor visitor) {\r\n checkSmartContainer(o);\r\n if (!visitor.visitSmartContainer(o)) return;\r\n for (Iterator it = iterator(o); it.hasNext();) {\r\n traverseGraph(it.next(), visitor);\r\n }\r\n }", "public Iterable<Relationship> getRelationships( RelationshipType... type );", "public List<o> selectAll();", "public Collection getSubclasses(OWLClass aClass, ReasonerTaskListener taskListener) throws DIGReasonerException;", "public Object[] getFilteredChildren() {\n\t\treturn getFilteredChildren(txTableViewer);\n\t}", "protected Set<NewType> getNewSubTypes() {\r\n\t\tfinal Set<NewType> subTypes = new HashSet<NewType>();\r\n\r\n\t\tfinal GeneratorContext context = this.getGeneratorContext();\r\n\t\tfinal Iterator<NewType> newTypesIterator = context.getNewTypes().iterator();\r\n\r\n\t\twhile (newTypesIterator.hasNext()) {\r\n\t\t\tfinal NewType newType = newTypesIterator.next();\r\n\t\t\tif (newType.getSuperType() == this) {\r\n\t\t\t\tsubTypes.add(newType);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn subTypes;\r\n\t}", "@Override\n\tpublic List<EvaluateCustom> getObjectsAll(QueryVo<EvaluateCustom> vo) {\n\t\treturn evaluateMapper.getObjectsAll(vo);\n\t}", "List<?> query(Object inputObject, Settings settings);", "public List<GameObject> getObjectsInRadius(int radius) {\n \n //filters and joins together both lists\n return objs.stream()\n .filter(go -> withinRadius(go, radius))\n .collect(Collectors.toList());\n }", "public void retractAll(ObjectFilter filter) {\n LOGGER.info(\"Retracting all facts matching filter...\");\n for (FactHandle handle : getFactHandles(filter)) {\n retract(handle);\n }\n }", "public <T extends Entity> List<T> getAllEntitiesOf(Class<T> type, Entity... exclude)\n\t{\n\t\treturn this.getEntitiesInRadius(0.0F, 0.0F, 9999F, type, exclude);\n\t}", "public List<Object> selectAllToObject(Class clazz) {\n Connection connection = ConnectionPoll.getConnection();\n CRUDService crudService = new CRUDService(connection, clazz);\n ConnectionPoll.releaseConnection(connection);\n return crudService.selectAll(clazz);\n }", "public Collection getSuperclasses(OWLClass aClass, ReasonerTaskListener taskListener) throws DIGReasonerException;", "private List<Entity> getListObjectByObject(final Entity entity){\n\t\tList<Entity> result = null;\n\t\tAbstractDao<Entity> aDao = new AbstractDao<Entity>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Class getEntityClass() {\n\t\t\t\t\treturn entity.getClass();\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tresult = aDao.findByExample(entity);\n\t\t\t} catch (DAOTechnicalException e) {\n\t\t\t\tLOG.debug(e.getMessage());\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "List<Subdivision> findAll();", "private ArrayList findAllSubclasses(List listSuperClasses,\r\n\t\t\tList listAllClasses) {\r\n\t\treturn findAllSubclasses(listSuperClasses, listAllClasses, false);\r\n\t}", "<T> IList<T> getImplementingObjects(Class<T> interfaceType);", "public Object[] getChildren(Object o) {\n\t\t\tIDocument entry = ((IDocument)o);\r\n\t\t\treturn entry.toArray();\t\t\t\t\t \r\n\t\t}", "public List<EntityObject> getComplexObjects(List<String> languages,List<String> types) {\n\t\tList<EntityObject> r = new ArrayList<EntityObject>();\n\t\tList<EntityObject> list = getEntities(languages,types);\n\t\tfor (EntityObject eo: list) {\n\t\t\tif (eo instanceof ComplexObject) {\n\t\t\t\tr.add(eo);\n\t\t\t}\n\t\t}\n\t\treturn r;\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<T> getAll(Class<T> type) {\n\t\treturn super.getSessionFactory().getCurrentSession().createQuery(\"from \"+type.getName()+\"\").list();\r\n\t}", "@Override\n\t@Transactional\n\tpublic List<T> getAll() {\n\t\tList<?> result = hibernateTemplate.getSessionFactory().getCurrentSession()\n\t\t\t\t.createCriteria(getGenericClass())\n\t\t\t\t.list();\n\t\treturn result.stream()\n\t\t\t\t.map(e -> initialize(checkType(e)))\n\t\t\t\t.filter(e -> e != null)\n\t\t\t\t.collect(Collectors.toList());\n\t}", "ObjectDeclaration objects( Predicate<? super ObjectAssembly> specification );", "public abstract List<Object> getAll();" ]
[ "0.5915628", "0.58206004", "0.56314266", "0.5593691", "0.5571098", "0.5471679", "0.5463788", "0.54595834", "0.5384056", "0.5366128", "0.53580177", "0.53299266", "0.5318827", "0.5309696", "0.5221722", "0.52195865", "0.51885897", "0.51775557", "0.51417947", "0.51060975", "0.51043767", "0.50646067", "0.50616837", "0.50553066", "0.50414133", "0.5020305", "0.5006754", "0.50064415", "0.50060445", "0.50046474", "0.50012517", "0.4985607", "0.497288", "0.4965477", "0.49567783", "0.49415278", "0.4935021", "0.4932942", "0.49299258", "0.49127382", "0.49120763", "0.4909003", "0.49068886", "0.49067956", "0.49011606", "0.4899989", "0.48931417", "0.4890067", "0.48887473", "0.48812845", "0.48767874", "0.48629794", "0.48621672", "0.48537356", "0.48476157", "0.48455584", "0.48431078", "0.48416802", "0.48376113", "0.48225302", "0.48155543", "0.48104703", "0.48089373", "0.48084334", "0.48019063", "0.47869015", "0.47807032", "0.47761512", "0.47733933", "0.4767449", "0.4764392", "0.4761302", "0.47430387", "0.47392046", "0.4716629", "0.4715046", "0.47149202", "0.4714642", "0.46975747", "0.4686144", "0.46840745", "0.4683326", "0.46828866", "0.46732125", "0.4673031", "0.4671671", "0.4662542", "0.46602595", "0.4651081", "0.4645493", "0.46429837", "0.46396434", "0.46298528", "0.46262366", "0.46238267", "0.46221364", "0.4620071", "0.4615586", "0.46127394", "0.46062037" ]
0.74435335
0
Creates a new square by using information from a given block.
private void createSquare(Block block) { Square square = factory.createSquare(); square.setName(block.getName()); square.setBlock(block.getBlock()); square.getInArrow().addAll(block.getInArrow()); square.getOutArrow().addAll(block.getOutArrow()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Block create(int xpos, int ypos);", "Block createBlock();", "private void createBlock() {\n\t\tblock = new Block(mouseX, mouseY, 25, 25);\r\n\t\tblock.addObserver(this);\r\n\t\tblock.start();\r\n\t\t// System.out.println(\"Block created (at Model.createBlock)\");\r\n\t}", "private SpawnSquare createSquare(boolean isSpawn, ColorOfFigure_Square color , boolean hasDoor, int row, int column){\n return new SpawnSquare(color, hasDoor, row, column);\n }", "public Block( Block block ) {\r\n _offSetRow = block._offSetRow;\r\n _offSetCol = block._offSetCol;\r\n _noOfRows = block._offSetRow;\r\n _noOfCols = block._noOfCols;\r\n }", "public Block(Vector2 position, float width, float height, int type){\n this.position = position;\n this.type = type;\n\n rectangle = new RectF(position.x, position.y, position.x + width, position.y + height);\n\n paint = new Paint();\n paint.setStyle(Paint.Style.FILL);\n }", "public Block( ) {\r\n _offSetRow = 0;\r\n _offSetCol = 0;\r\n _noOfRows = 0;\r\n _noOfCols = 0;\r\n }", "RclBlock createRclBlock();", "private void testAutoGenBlock(Class<Block> blockClass) {\n try {\n Block instance = blockClass.newInstance();\n\n instance.train(Matrices.randomMatrix(1, 1, 1234), Matrices.randomMatrix(1, 1, 4321), 2);\n instance.evaluateInput(Matrices.randomMatrix(1, 1, 1234));\n\n // No exception when training.\n assertTrue(true);\n\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "private static Square createSquare(String[] input) {\r\n int px = Integer.parseInt(input[1]);\r\n int py = Integer.parseInt(input[2]);\r\n int vx = Integer.parseInt(input[3]);\r\n int vy = Integer.parseInt(input[4]);\r\n boolean isFilled = Boolean.parseBoolean(input[5]);\r\n int side = Integer.parseInt(input[6]);\r\n float r = (float) Integer.parseInt(input[7]) / 255.0f;\r\n float g = (float) Integer.parseInt(input[8]) / 255.0f;\r\n float b = (float) Integer.parseInt(input[9]) / 255.0f;\r\n int insertionTime = Integer.parseInt(input[10]);\r\n boolean isFlashing = Boolean.parseBoolean(input[11]);\r\n float r1 = (float) Integer.parseInt(input[12]) / 255.0f;\r\n float g1 = (float) Integer.parseInt(input[13]) / 255.0f;\r\n float b1 = (float) Integer.parseInt(input[14]) / 255.0f;\r\n return new Square(insertionTime, px, py, vx, vy, side, new Color(r, g, b, 1), isFilled,\r\n isFlashing, new Color(r1, g1, b1, 1));\r\n }", "TestBlock createTestBlock();", "public Block() {\n this.xPos = 0;\n this.yPos = 0;\n this.width = 0;\n this.height = 0;\n this.color = Color.MINTCREAM;\n }", "void buildBlock(Tile t);", "public void putBlock(Block block){\n\t \n\t BlockPosX = 5;\n\t BlockPosY = 0;\n\t int posX = 5;\n\t int posY = 0;\n\t BlockInControl = block;\n\t \n\t int x = 0;\n\t for(int i=0;i<MAX_COL;i++){\n\t\tif(board[posY+1][i] == 1)\n\t\t x = 1;\n\t }\n\t if(x==1)\n\t\tthis.clearBoard();\n\t \n\t \n\t for(int r=0;r<4;r++){\n\t\tfor(int c=0;c<4;c++){\n\t\t if(block.getRowCol(r,c) == 1)\n\t\t\t{\n\t\t\t board[posY][posX]=1;\n\t\t\t \n\t\t\t switch(whichType){\n\t\t\t case 1: color[posY][posX] = 1;\n\t\t\t\tbreak;\n\t\t\t case 2: color[posY][posX] = 2;\n\t\t\t\tbreak;\n\t\t\t case 3: color[posY][posX] = 3;\n\t\t\t\tbreak;\n\t\t\t case 4: color[posY][posX] = 4;\n\t\t\t\tbreak;\n\t\t\t case 5: color[posY][posX] = 5;\n\t\t\t\tbreak;\n\t\t\t case 6: color[posY][posX] = 6;\n\t\t\t\tbreak;\n\t\t\t case 7: color[posY][posX] = 7;\n\t\t\t break;\n\t\t\t }\n\t\t\t}\n\t\t \n\t\t posX++;\n\t\t}\n\t posY++;\n\t posX-=4;\n\t }\n\t}", "public Block() {\r\n\t\t// TODO Auto-generated constructor stub\r\n\t\tthis.point_BlockTopRight = null;\r\n\t\tthis.point_BlockDownleft = null;\r\n\t\tthis.setpoint_BlockTopLeft(null);\r\n\t\tthis.IDBloack = 0;\r\n\t\tthis.type = \"\";\r\n\t}", "private NormalSquare createSquare(ColorOfFigure_Square color , boolean hasDoor, int row, int column){\n return new NormalSquare(color, hasDoor, row, column);\n }", "StatementBlock createStatementBlock();", "public void createSideBlocks() {\n Fill fill = new FillColor(Color.darkGray);\n Block topB = new Block(new Rectangle(new Point(0, 0), 800, 45), fill);\n Block rightB = new Block(new Rectangle(new Point(775, 25), 25, 576), fill);\n Block leftB = new Block(new Rectangle(new Point(0, 25), 25, 576), fill);\n //add each screen-side block to game and set 1 hitpoint.\n topB.addToGame(this);\n topB.setHitPoints(1);\n rightB.addToGame(this);\n rightB.setHitPoints(1);\n leftB.addToGame(this);\n leftB.setHitPoints(1);\n }", "public Block createBlock(Position pos, List<Stmt> stmts) {\n return xnf.Block(pos, stmts);\n }", "public Block(Block bl) {\r\n\t\tthis.type = bl.type;\r\n\t\tthis.point_BlockTopRight = new Point3D(bl.point_BlockTopRight);\r\n\t\tthis.point_BlockDownleft = new Point3D(bl.point_BlockDownleft);\r\n\t\tthis.setpoint_BlockTopLeft(new Point3D(bl.getpoint_BlockTopRight().y(),bl.getpoint_BlockDownleft().x()));\r\n\t\tthis.setPoint_BlockDownRight(new Point3D(bl.getpoint_BlockDownleft().y(),bl.getpoint_BlockTopRight().x()));\r\n\t\tthis.IDBloack = bl.IDBloack;\r\n\r\n\t}", "public static Geometry assembleBlock(Block block, Vector3f location) {\n Geometry g = createLimb(block.collisionShapeType, block.width, block.height, block.length, location, block.mass, block.rotation, block.rotationForYRP);\n block.applyProperties(g);\n return g;\n }", "public Block( int offSetRow, int offSetCol, int noOfRows, int noOfCols ) {\r\n _offSetRow = offSetRow;\r\n _offSetCol = offSetCol;\r\n _noOfRows = noOfRows;\r\n _noOfCols = noOfCols;\r\n }", "public Block( int noOfRows, int noOfCols ) {\r\n _offSetRow = 0;\r\n _offSetCol = 0;\r\n _noOfRows = noOfRows;\r\n _noOfCols = noOfCols;\r\n }", "private void createSquare(int x, int y, int row, int column) {\r\n grid[row][column] = new JLabel();\r\n grid[row][column].setOpaque(true);\r\n grid[row][column].setBackground(SQUARE_COLOR);\r\n grid[row][column].setBorder(SQUARE_BORDER);\r\n this.getContentPane().add(grid[row][column]);\r\n grid[row][column].setBounds(x,y,SQUARE_SIZE,SQUARE_SIZE);\r\n }", "public BuildingBlock(int setX, int setY, int size, int blockId) {\n\n this.blockId = blockId;\n revertColor = GameGrid.GAMEGRID_COLOR;\n createRectangle(setX, setY , size, revertColor);\n double circleAdjuster = size / 2.0;\n circle = new Circle(setX + circleAdjuster, setY + circleAdjuster, circleAdjuster);\n circle.setFill(revertColor);\n gridList.put(blockId, this);\n explosionSound = new AudioClip(getClass().getResource(\"explosion.wav\").toExternalForm());\n }", "Location(int x, int y, Block block)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.block = block;\n\t}", "Tetrisblock()\n {\n newblockparam();\n newmapparam();\n setboundary();\n }", "public void addBlock(int row, int col, Block block, GameplayState gps) {\n if (row < 4) {\n gps.setGameIsLost(true);\n }\n\n cells[row][col] = block;\n }", "Tetrisblock2()\n {\n newblockparam();\n newmapparam();\n setboundary();\n }", "public BlockExtra(Pixy2 pixy, Block block) {\n\t\tthis(pixy, block.getSignature(), block.getX(), block.getY(), block.getWidth(), block.getHeight(), block.getAngle(), block.getIndex(), block.getAge());\n\t}", "public Block(Point upperLeft, double width, double height, Background background) {\r\n this.rectangle = new Rectangle(upperLeft, width, height);\r\n this.background = background;\r\n this.borderColor = null;\r\n this.hitListeners = new ArrayList<>();\r\n }", "public Block() {\n this((byte) 0, (byte) 0);\n }", "public void fillBlock(TYPE typeOfBlock){\n isFull=true;\n type=typeOfBlock;\n return;\n }", "private static void addBlockToPixa(Pixa pixa, int x, int y, int width, int height, int depth) {\n final Pix pix = new Pix(width, height, depth);\n final Box box = new Box(x, y, width, height);\n\n pixa.add(pix, box, Constants.L_COPY);\n\n pix.recycle();\n box.recycle();\n }", "public void fillBlock(Block block) {\n\n\t\tfor (int j = block.UpperLeft().x; j <= block.LowerRight().x; j++) { \n\t\t\tfor (int k = block.UpperLeft().y; k <= block.LowerRight().y; k++) { \n\t\t\t\tblocksPosition.put(new Point(j,k), block); \n\t\t\t\t//Blocks.add(block); \n\t\t\t} \n\t\t} \n\t}", "Block getBlock(String congName, String blockName, String blockNumber);", "private Block(Location topLeft, short length, short width) {\n\t\tif (length<=0 || width<=0){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\telse if (topLeft==null) {\n\t\t\tthrow new NullPointerException();\n\t\t}\n\t\tthis.topLeft = topLeft;\n\t\tthis.length = length;\n\t\tthis.width = width;\n\t}", "Block (int start, int size)\n {\n this.start = start;\n this.size = size;\n }", "private static void craftSlab(Block block)\r\n\t{\r\n\t\tBlockExtraSlab input = ((BlockExtraSlab)block);\r\n\t\tBlock parent = input.getParent();\r\n\t\tint parentMeta = input.getParentMeta();\r\n\t\t\r\n\t\tGameRegistry.addRecipe(new ItemStack(block, 6, 0), new Object[] { \"###\", '#', new ItemStack(parent, 1, parentMeta) });\r\n\t\tGameRegistry.addRecipe(new ItemStack(parent, 1, parentMeta), new Object[] { \"#\", \"#\", '#', new ItemStack(block) });\r\n\t}", "public BlockMatrix (org.apache.spark.rdd.RDD<scala.Tuple2<scala.Tuple2<java.lang.Object, java.lang.Object>, org.apache.spark.mllib.linalg.Matrix>> blocks, int rowsPerBlock, int colsPerBlock) { throw new RuntimeException(); }", "private void setBlock(Block block) {\r\n this.block = block;\r\n }", "@Override\n\tvoid populateMethodImplBlock(Block block) {\n\t\tfinal DataConstructorExp newLocExp = new DataConstructorExp();\n\t\tnewLocExp.setConstructor(LOCATION_CONSTRUCTOR);\n\t\tfinal FnApp memExp = new FnApp();\n\t\tmemExp.setName(MEMORY_SELECTOR);\n\t\tmemExp.addParamNoTransform(arrayArg.getVarUse());\n\t\tnewLocExp.addParamNoTransform(memExp);\n\t\tfinal FnApp offsetExp = new FnApp();\n\t\toffsetExp.setName(OFFSET_SELECTOR);\n\t\toffsetExp.addParamNoTransform(arrayArg.getVarUse());\n\t\tnewLocExp.addParamNoTransform(new AddAddExp(offsetExp, new MultMultExp(sizeArg.getVarUse(), indexArg.getInnerExp())));\n\t\tfinal ReturnStmt returnStmt = new ReturnStmt();\n\t\treturnStmt.setRetExp(newLocExp);\n\t\tblock.addStmt(returnStmt);\n\t}", "public SquareImmutable(Square square)\n {\n this.x = square.getX();\n this.y = square.getY();\n this.isAmmoPoint = square.isAmmoPoint();\n this.isSpawnPoint = square.isSpawnPoint();\n this.color = square.getColor();\n this.playerList = square.getPlayerListColor();\n\n if (square.isSpawnPoint())\n {\n SpawnPoint s = (SpawnPoint) square;\n weaponCardList = s.getWeaponCardList().stream().map(WeaponCard::getName).collect(Collectors.toList());\n }\n else\n {\n AmmoPoint ammoPoint = (AmmoPoint) square;\n\n if (ammoPoint.getAmmoTiles() instanceof JustAmmo)\n {\n JustAmmo justAmmo = (JustAmmo) ammoPoint.getAmmoTiles();\n\n if (justAmmo == null)\n ammoTiles = null;\n else\n ammoTiles = new JustAmmoImmutable(justAmmo.getAmmoCardID(),justAmmo.getSingleAmmo(),justAmmo.getDoubleAmmo());\n }\n else\n {\n PowerAndAmmo powerAndAmmo = (PowerAndAmmo) ammoPoint.getAmmoTiles();\n if (powerAndAmmo == null)\n ammoTiles = null;\n else\n ammoTiles = new PowerAndAmmoImmutable(powerAndAmmo.getAmmoCardID(),powerAndAmmo.getSingleAmmo(),powerAndAmmo.getSecondSingleAmmo());\n }\n\n }\n }", "private void createBlocks(){\n for (int row=0; row < grid.length; row++) \n {\n for (int column=0; column < grid[row].length; column++)\n {\n boolean player = false;\n boolean walkable;\n \n switch (grid[row][column]){\n case(0) : \n returnImage = wall; \n walkable = false;\n break;\n case(2) : \n returnImage = start; \n walkable = true;\n player = true;\n break;\n case(4) : \n returnImage = finish; \n walkable = true;\n break;\n \n default :\n returnImage = pad; \n walkable = false;\n }\n \n \n Block blok;\n try {\n if(player==true) \n { \n blok = new Block(returnImage, blockSize, true);\n blok.setTopImage(held);\n }else\n {\n blok = new Block(returnImage, blockSize, false);\n }\n blocks.add(blok);\n } catch (Exception e) {\n \n }\n } \n \n }\n \n }", "Block saveBlock(Block block) throws BlockExistsException;", "public void pushComputedBlock(String block){\n JsonParser parser = new JsonParser();\n \tJsonObject Block = (JsonObject) parser.parse(block);\n\n processNewBlock(Block);\n\n }", "DefineBlock createDefineBlock();", "public MutableBlock createMutableBlock(String expression) {\r\n return new MutableBlock(passwordType, expression);\r\n }", "public MutableBlock createMutableBlock(TimeParameter timeValue) {\r\n return createMutableBlock(timeValue.getTextField());\r\n }", "private void prepare()\n {\n MazeBlock mazeBlock = new MazeBlock();\n addObject(mazeBlock,25,25);\n MazeBlock mazeBlock1 = new MazeBlock();\n addObject(mazeBlock1,25,75);\n MazeBlock mazeBlock2= new MazeBlock();\n addObject(mazeBlock2,75,75);\n MazeBlock mazeBlock3= new MazeBlock();\n addObject(mazeBlock3,75,125);\n MazeBlock mazeBlock4= new MazeBlock();\n addObject(mazeBlock4,125,125);\n MazeBlock mazeBlock5= new MazeBlock();\n addObject(mazeBlock5,175,125);\n MazeBlock mazeBlock6= new MazeBlock();\n addObject(mazeBlock6,225,125);\n MazeBlock mazeBlock7= new MazeBlock();\n addObject(mazeBlock7,275,125);\n MazeBlock mazeBlock8= new MazeBlock();\n addObject(mazeBlock8,275,175);\n MazeBlock mazeBlock9= new MazeBlock();\n addObject(mazeBlock9,275,225);\n MazeBlock mazeBlock10= new MazeBlock();\n addObject(mazeBlock10,275,275);\n MazeBlock mazeBlock11= new MazeBlock();\n addObject(mazeBlock11,275,325);\n MazeBlock mazeBlock12= new MazeBlock();\n addObject(mazeBlock12,325,325);\n MazeBlock mazeBlock13= new MazeBlock();\n addObject(mazeBlock13,375,325);\n MazeBlock mazeBlock14= new MazeBlock();\n addObject(mazeBlock14,425,275);\n MazeBlock mazeBlock15= new MazeBlock();\n addObject(mazeBlock15,475,275);\n MazeBlock mazeBlock16= new MazeBlock();\n addObject(mazeBlock16,125,325);\n MazeBlock mazeBlock17= new MazeBlock();\n addObject(mazeBlock17,125,375);\n MazeBlock mazeBlock18= new MazeBlock();\n addObject(mazeBlock18,125,425);\n MazeBlock mazeBlock19= new MazeBlock();\n addObject(mazeBlock19,175,425);\n MazeBlock mazeBlock20= new MazeBlock();\n addObject(mazeBlock20,225,425);\n\n EnemyFlyer enemyFlyer = new EnemyFlyer();\n addObject(enemyFlyer,29,190);\n EnemyFlyer enemyFlyer3 = new EnemyFlyer();\n addObject(enemyFlyer3,286,389);\n WalkingEnemy walkingEnemy = new WalkingEnemy(true);\n addObject(walkingEnemy,253,293);\n walkingEnemy.setLocation(125,275);\n WalkingEnemy walkingEnemy2 = new WalkingEnemy(false);\n addObject(walkingEnemy2,28,81);\n walkingEnemy2.setLocation(170,82);\n FinalLevel finalLevel = new FinalLevel();\n addObject(finalLevel, 508, 45);\n Hero hero = new Hero();\n addObject(hero,62,499);\n }", "void updateBlock(Block block) ;", "public void createSquares() {\n for (int row = 0; row < BOARD_SIZE; row++) {\n for (int col = 0; col < BOARD_SIZE; col++) {\n playingBoard[row][col] = new Square();\n }\n }\n }", "public Board(int[][] blocks) {\r\n\t\tif (blocks == null || blocks.length == 0) {\r\n\t\t\tthrow new IllegalArgumentException(\"argument cannot be null or empty\");\r\n\t\t}\r\n\t\tint n = blocks.length;\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tif (blocks[i].length != n) {\r\n\t\t\t\tthrow new IllegalArgumentException(\"argument must be square\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!(n >= 2 && n < 128)) {\r\n\t\t\tthrow new IllegalArgumentException(\"n must be between 2 and 127\");\r\n\t\t}\r\n\t\tint[] tmp = new int[n * n];\r\n\t\tfor (int i = 0; i < tmp.length; i++) {\r\n\t\t\ttmp[i] = -1;\r\n\t\t}\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tif (blocks[i][j] < tmp.length) {\r\n\t\t\t\t\ttmp[blocks[i][j]] = 0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tOptionalInt findFirst = Arrays.stream(tmp).filter(x -> x == -1).findFirst();\r\n\t\tif (findFirst.isPresent()) {\r\n\t\t\tthrow new IllegalArgumentException(\"argument is not consecutive numbers\");\r\n\t\t}\r\n\t\tthis.blocks = new int[n][n];\r\n\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\tfor (int j = 0; j < n; j++) {\r\n\t\t\t\tthis.blocks[i][j] = blocks[i][j];\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void placeColorBlock(int row, int column)\n {\n \t// Check that the color block is not being placed in a row or column that does not exist.\n \tif (row < 0 || row >= theGrid.numRows()) {\n \t\tJOptionPane.showMessageDialog(null,\n \t\t\t\t\"Row \" + row + \" does not exist. Skipping placing color block in position (\" + row + \",\" + column + \")\",\n \t\t\t\t\"Error\",\n JOptionPane.WARNING_MESSAGE);\n \t} else if (column < 0 || column >= theGrid.numCols()) {\n \t\tJOptionPane.showMessageDialog(null,\n \t\t\t\t\"Column \" + column + \" does not exist. Skipping placing color block in position (\" + row + \",\" + column + \")\",\n \t\t\t\t\"Error\",\n JOptionPane.WARNING_MESSAGE);\n \t}\n \telse {\n \t\n \t\t// First remove any color block that happens to be at this location.\n \t\tensureEmpty(row, column);\n\n \t\t// Determine the color to use for this color block.\n \t\tColor color = drawingColorChooser.currentColor();\n\n \t\t// Construct the color block and add it to the grid at the\n \t\t// specificed location. Then display the grid.\n \t\tLocation loc = new Location(row, column);\n \t\ttheGrid.add(new ColorBlock(color), loc);\n \t\tdisplay.showLocation(loc);\n \t}\n }", "public Code visitBlockNode(BlockNode node) {\n beginGen(\"Block\");\n /** Generate code to allocate space for local variables on\n * procedure entry.\n */\n Code code = new Code();\n code.genAllocStack(node.getBlockLocals().getVariableSpace());\n /* Generate the code for the body */\n code.append(node.getBody().genCode(this));\n /** Generate code for local procedures. */\n /* Static level is one greater for the procedures. */\n staticLevel++;\n node.getProcedures().accept(this);\n staticLevel--;\n endGen(\"Block\");\n return code;\n }", "public abstract void generateNextBlock();", "public static float[] createTexCube(float x, float y, Block block) {\r\n float offset = 1/16f;\r\n switch(type.getID()) {\r\n case 0:\r\n switch(block.getID()) {\r\n case 0:\r\n return new float[] {\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 0, y + offset * 1,\r\n x + offset * 0, y + offset * 0,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 4, y + offset * 0,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 4, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 4, y + offset * 0,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 4, y + offset * 0,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 3, y + offset * 1\r\n };\r\n case 1:\r\n return new float[] {\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1\r\n };\r\n case 2:\r\n return new float[] {\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12,\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12,\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12,\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12,\r\n x + offset * 14, y + offset * 13,\r\n x + offset * 13, y + offset * 13,\r\n x + offset * 13, y + offset * 12,\r\n x + offset * 14, y + offset * 12\r\n };\r\n case 3:\r\n return new float[] {\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 3, y + offset * 0\r\n };\r\n case 4:\r\n return new float[] {\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 1, y + offset * 0,\r\n x + offset * 2, y + offset * 0\r\n };\r\n case 5:\r\n return new float[] {\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1\r\n };\r\n }\r\n case 1:\r\n switch(block.getID()) {\r\n case 0:\r\n return new float[] {\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1,\r\n x + offset * 4, y + offset * 2,\r\n x + offset * 3, y + offset * 2,\r\n x + offset * 3, y + offset * 1,\r\n x + offset * 4, y + offset * 1\r\n };\r\n case 1:\r\n return new float[] {\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6,\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6,\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6,\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6,\r\n x + offset * 9, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 9, y + offset * 6\r\n };\r\n case 2:\r\n return new float[] {\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14,\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14,\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14,\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14,\r\n x + offset * 14, y + offset * 15,\r\n x + offset * 13, y + offset * 15,\r\n x + offset * 13, y + offset * 14,\r\n x + offset * 14, y + offset * 14\r\n };\r\n case 3:\r\n return new float[] {\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6,\r\n x + offset * 8, y + offset * 7,\r\n x + offset * 7, y + offset * 7,\r\n x + offset * 7, y + offset * 6,\r\n x + offset * 8, y + offset * 6\r\n };\r\n case 4:\r\n return new float[] {\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14,\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14,\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14,\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14,\r\n x + offset * 1, y + offset * 15,\r\n x + offset * 0, y + offset * 15,\r\n x + offset * 0, y + offset * 14,\r\n x + offset * 1, y + offset * 14\r\n };\r\n case 5:\r\n return new float[] {\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1,\r\n x + offset * 2, y + offset * 2,\r\n x + offset * 1, y + offset * 2,\r\n x + offset * 1, y + offset * 1,\r\n x + offset * 2, y + offset * 1\r\n };\r\n }\r\n }\r\n \r\n return new float[] {\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2,\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2,\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2,\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2,\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2,\r\n x + offset * 15, y + offset * 1,\r\n x + offset * 16, y + offset * 1,\r\n x + offset * 16, y + offset * 2,\r\n x + offset * 15, y + offset * 2\r\n };\r\n }", "public void setBlock(Block newBlock) {\n\t\tthis.block = newBlock;\n\t}", "BlockConstant createBlockConstant();", "public void buildBlock(BptSlotInfo slot, IBptContext context)\r\n/* 26: */ {\r\n/* 27:33 */ context.world().d(slot.x, slot.y, slot.z, amq.y.cm, slot.meta);\r\n/* 28: */ }", "public Square(int column, int row) {\n this.column = column;\n this.row = row;\n this.denotation = \"\" + resolveIntToChar(column) + row;\n }", "public static DeformableMesh3D createTestBlock(){\n return createTestBlock(2, 2, 2);\n }", "protected static Block createEmptyBlock(AST ast) {\n\t\treturn ast.newBlock();\n\t}", "public Square() {\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (# of coordinate values * 4 bytes per float)\n squareCoords.length * 4);\n bb.order(ByteOrder.nativeOrder());\n vertexBuffer = bb.asFloatBuffer();\n vertexBuffer.put(squareCoords);\n vertexBuffer.position(0);\n\n // initialize byte buffer for the draw list\n ByteBuffer dlb = ByteBuffer.allocateDirect(\n // (# of coordinate values * 2 bytes per short)\n drawOrder.length * 2);\n dlb.order(ByteOrder.nativeOrder());\n drawListBuffer = dlb.asShortBuffer();\n drawListBuffer.put(drawOrder);\n drawListBuffer.position(0);\n\n // prepare shaders and OpenGL program\n int vertexShader = MyGLRenderer.loadShader(\n GLES20.GL_VERTEX_SHADER,\n vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(\n GLES20.GL_FRAGMENT_SHADER,\n fragmentShaderCode);\n\n mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program\n GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program\n GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program\n GLES20.glLinkProgram(mProgram); // create OpenGL program executables\n }", "Stone create();", "public SBlock() {\n // todo\n cells = new boolean[rows][columns];\n cells[0][0] = false;\n cells[0][1] = true;\n cells[0][2] = true;\n cells[1][0] = true;\n cells[1][1] = true;\n cells[1][2] = false;\n cells[2][0] = false;\n cells[2][1] = false;\n cells[2][2] = false;\n }", "public Board(int[][] blocks) {\n N = blocks.length;\n matrix = new int[N][N];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n matrix[i][j] = blocks[i][j];\n if (matrix[i][j] == 0) {\n posX = i;\n posY = j;\n }\n }\n }\n }", "public Board(int[][] blocks) {\n N = blocks.length;\n tiles = new int[N][N];\n\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n tiles[i][j] = blocks[i][j];\n }\n }\n }", "public Block createBlock(Position pos, Term... terms) {\n return createBlock(pos, convertToStmtList(terms));\n }", "public MutableBlock createMutableBlock(ExpressionBuilder expression) {\r\n return new MutableBlock(passwordType, expression.toString());\r\n }", "public void addBlock(Block block)\n {\n SolrInputDocument solr_doc = new SolrInputDocument();\n solr_doc.setField(\"type\",\"Block\");\n solr_doc.setField(\"hash\", block.getHash_block());\n solr_doc.setField(\"block_num\", block.getBlock_num());\n solr_doc.setField(\"version\", block.getVersion());\n solr_doc.setField(\"transaction_merkle_root\", block.getTransac_merkle_root());\n solr_doc.setField(\"timestamps\", block.getTimestamp());\n solr_doc.setField(\"datetime\", block.getDatetime());\n solr_doc.setField(\"difficulty\", block.getDifficulty());\n solr_doc.setField(\"cumulative_difficulty\", block.getCumulative_difficulty());\n solr_doc.setField(\"nonce\", block.getNonce());\n solr_doc.setField(\"how_much_transaction\", block.getHow_much_transaction());\n solr_doc.setField(\"value_out\", block.getValue_out());\n solr_doc.setField(\"block_fee\", block.getBlock_fee());\n solr_doc.setField(\"avg_coin_out\", block.getAvg_coin_age());\n solr_doc.setField(\"coin_days_destroyed\", block.getCoin_days_destroyed());\n solr_doc.setField(\"cumulative_coin_days_destroyed\", block.getCumulative_coin_days_destroyed());\n\n try {\n client.add(solr_doc);\n } catch (SolrServerException | IOException e) {\n e.printStackTrace();\n }\n\n commit();\n }", "public Board(int[][] blocks) {\n this.blocks = new int[blocks.length][blocks.length];\n\n for (int i = 0; i < blocks.length; i++) {\n for (int j = 0; j < blocks[i].length; j++) {\n this.blocks[i][j] = blocks[i][j];\n updateHammingScore(i, j);\n updateManhattanScore(i, j);\n }\n }\n\n }", "public static Block createBlock(String edfRecord, String data) throws UnsupportedEncodingException {\r\n\t\tString[] values = edfRecord.split(\",\");\r\n\t\tTemporalProperties temporalProperties = new TemporalProperties(reformatDatetime(values[7]));\r\n\t\tSpatialProperties spatialProperties = new SpatialProperties(parseFloat(values[24]), parseFloat(values[25]));\r\n\t\tFeatureSet features = new FeatureSet();\r\n\t\tfeatures.put(new Feature(\"platform_id\", values[0]));\t\t\r\n\t\tfeatures.put(new Feature(\"date\", values[1]));\r\n\t\tfeatures.put(new Feature(\"time\", values[2]));\r\n\t\tfeatures.put(new Feature(\"datetime\", values[3]));\r\n\t\tfeatures.put(new Feature(\"frac_days_since_jan1\", parseFloat(values[4])));\r\n\t\tfeatures.put(new Feature(\"frac_hrs_since_jan1\", parseFloat(values[5])));\r\n\t\tfeatures.put(new Feature(\"julian_days\", parseFloat(values[6])));\r\n\t\tfeatures.put(new Feature(\"epoch_time\", reformatDatetime(values[7])));\r\n\t\tfeatures.put(new Feature(\"alarm_status\", parseFloat(values[8])));\r\n\t\tfeatures.put(new Feature(\"inst_status\", parseFloat(values[9])));\r\n\t\tfeatures.put(new Feature(\"cavity_pressure\", parseFloat(values[10])));\r\n\t\tfeatures.put(new Feature(\"cavity_temp\", parseFloat(values[11])));\r\n\t\tfeatures.put(new Feature(\"das_temp\", parseFloat(values[12])));\r\n\t\tfeatures.put(new Feature(\"etalon_temp\", parseFloat(values[13])));\r\n\t\tfeatures.put(new Feature(\"warm_box_temp\", parseFloat(values[14])));\r\n\t\tfeatures.put(new Feature(\"species\", parseFloat(values[15])));\r\n\t\tfeatures.put(new Feature(\"mvp_position\", parseFloat(values[16])));\r\n\t\tfeatures.put(new Feature(\"outlet_valve\", parseFloat(values[17])));\r\n\t\tfeatures.put(new Feature(\"solenoid_valves\", parseFloat(values[18])));\r\n\t\tfeatures.put(new Feature(\"co2\", parseFloat(values[19])));\r\n\t\tfeatures.put(new Feature(\"co2_dry\", parseFloat(values[20])));\r\n\t\tfeatures.put(new Feature(\"ch4\", parseFloat(values[21])));\r\n\t\tfeatures.put(new Feature(\"ch4_dry\", parseFloat(values[22])));\r\n\t\tfeatures.put(new Feature(\"h2o\", parseFloat(values[23])));\r\n\t\tfeatures.put(new Feature(\"gps_abs_lat\", parseFloat(values[24])));\r\n\t\tfeatures.put(new Feature(\"gps_abs_lon\", parseFloat(values[25])));\r\n\t\tfeatures.put(new Feature(\"gps_fit\", parseFloat(values[26])));\r\n\t\tfeatures.put(new Feature(\"gps_time\", parseFloat(values[27])));\r\n\t\tfeatures.put(new Feature(\"ws_wind_lon\", parseFloat(values[28])));\r\n\t\tfeatures.put(new Feature(\"ws_wind_lat\", parseFloat(values[29])));\r\n\t\tfeatures.put(new Feature(\"ws_cos_heading\", parseFloat(values[30])));\r\n\t\tfeatures.put(new Feature(\"ws_sin_heading\", parseFloat(values[31])));\r\n\t\tfeatures.put(new Feature(\"wind_n\", parseFloat(values[32])));\r\n\t\tfeatures.put(new Feature(\"wind_e\", parseFloat(values[33])));\r\n\t\tfeatures.put(new Feature(\"wind_dir_sdev\", parseFloat(values[34])));\r\n\t\tfeatures.put(new Feature(\"ws_rotation\", parseFloat(values[35])));\r\n\t\tfeatures.put(new Feature(\"car_speed\", parseFloat(values[36])));\r\n\t\tfeatures.put(new Feature(\"postal_code\", values[37]));\r\n\t\tfeatures.put(new Feature(\"locality\", values[38]));\r\n\t\tfeatures.put(new Feature(\"s2_30_int\", parseLong(values[39])));\r\n\t\t\t\r\n\t\tMetadata metadata = new Metadata();\r\n\t\tmetadata.setName(GeoHash.encode(parseFloat(values[24]), parseFloat(values[25]), 7));\r\n\t\tmetadata.setTemporalProperties(temporalProperties);\r\n\t\tmetadata.setsIndex(new SearchIndex(\"24\",\"25\",\"7\"));\r\n\t\tmetadata.setSpatialProperties(spatialProperties);\r\n\t\tmetadata.setSpatialHint(new SpatialHint(\"gps_abs_lat\", \"gps_abs_lon\"));\r\n\t\tmetadata.setAttributes(features);\r\n\t\t\r\n\t\treturn new Block(\"airview\", metadata, data.getBytes(\"UTF-8\"));\r\n\t}", "public Square(int w)\n {\n width = w;\n }", "public Block(){\r\n\t\tthis.altitude = 0;\r\n\t\tthis.river = false;\t\r\n\t\tthis.ocean = false;\r\n\t\tthis.river = false;\r\n\t\tborder = false;\r\n\t}", "public Square() {\r\n\r\n }", "public Square(int x, int y, int z) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t\tcontainingRows = new ArrayList<Row>();\n\t\tstate = null;\n\t}", "private static void registerBlock(Block b)\n\t{\n\t}", "@NotNull\r\n Block getBlock(int x, int y, int z);", "Square getSquare(int x, int y);", "public SquareGrid(int width, int height) {\n this.width = width;\n this.height = height;\n }", "public BlockIF newBlock(String label, SourceIF text) {\n\t\tif (text == null)\n\t\t\tthrow new NullPointerException(\"The argument text cannot be null\");\n\t\treturn new Block(label, text);\n\t}", "public static SquareCoordinate makeCoordinate(int x, int y)\n {\n \treturn new SquareCoordinate(x, y);\n }", "public BlockPanel(int row, int col) {\n\t\tthis.row = row;\n\t\tthis.col = col;\n\t\tthis.setBackground(Color.black);\n\n\t\t// create a panel inside the BlockPanel to display the number\n\t\tthis.displayNumberBlock = new JPanel();\n\t\tthis.add(this.displayNumberBlock);\n\n\t\t// create and set a new layout for the BlockPanel\n\t\tSpringLayout l = new SpringLayout();\n\t\tthis.setLayout(l);\n\t\t// set constraints for the BlockPanel\n\t\tl.putConstraint(SpringLayout.NORTH, this.displayNumberBlock, 3,\n\t\t\t\tSpringLayout.NORTH, this);\n\t\tl.putConstraint(SpringLayout.EAST, this.displayNumberBlock, -3,\n\t\t\t\tSpringLayout.EAST, this);\n\t\tl.putConstraint(SpringLayout.SOUTH, this.displayNumberBlock, -3,\n\t\t\t\tSpringLayout.SOUTH, this);\n\t\tl.putConstraint(SpringLayout.WEST, this.displayNumberBlock, 4,\n\t\t\t\tSpringLayout.WEST, this);\n\t\tl.putConstraint(SpringLayout.WIDTH, this.displayNumberBlock, 0,\n\t\t\t\tSpringLayout.HEIGHT, this.displayNumberBlock);\n\t\t// set a layout for the interior number panel\n\t\tthis.displayNumberBlock.setLayout(new BorderLayout());\n\t}", "public SquareBoard(Coordinates C, double hw, Color v)\r\n {\r\n r = new Rectangle(C.X(), C.Y(), hw, hw);\r\n r.setStroke(Color.BLACK);\r\n r.setFill(v);\r\n BoardPane.getPane().getChildren().add(r);\r\n }", "private static void buildSquare(Matrix4f matrix, BufferBuilder builder, int x1, int x2, int y1, int y2, int z, float u1, float u2, float v1, float v2) {\n builder.pos(matrix, x1, y2, z).tex(u1, v2).endVertex();\n builder.pos(matrix, x2, y2, z).tex(u2, v2).endVertex();\n builder.pos(matrix, x2, y1, z).tex(u2, v1).endVertex();\n builder.pos(matrix, x1, y1, z).tex(u1, v1).endVertex();\n }", "private void createBoard() {\n\t// An array of rows containing rows with squares are made\n\t\tfor (int i = 0; i < squares.length; i++) {\n\t \trows[i] = new Row(squares[i]);\n\t\t}\n\n\n\t// An array of columns containing columns with squares are made\n\t\tSquare[] columnArray = new Square[size];\n\t\tfor (int i = 0; i < size; i++) {\n\t\t for (int row = 0; row < size; row++) {\n\t\t\t\tcolumnArray[row] = squares[row][i];\n\t\t }\n\t\t columns[i] = new Column(columnArray);\n\t\t columnArray = new Square[size];\n\t\t}\n\n\n\t\tSquare[] boxArray;\n\t\tint counter;\n\t\t// Box nr i\n\t\tfor (int i = 0; i < size; i = i + height) {\n\t\t // Box nr j\n\t\t for (int j = 0; j < size; j = j + length) {\n\t\t\t\tcounter = 0;\n\t\t\t\tboxArray = new Square[size];\n\t\t\t\tint rowIndex = (i / height) * height;\n\t\t\t\tint columnIndex = (j / length) * length;\n\t\t\t\t// Row nr k\n\t\t\t\tfor (int k = rowIndex; k < rowIndex + height; k++) {\n\t\t\t\t // Column nr l\n\t\t\t\t for (int l = columnIndex; l < columnIndex + length; l++) {\n\t\t\t\t\t\tboxArray[counter] = squares[k][l];\n\t\t\t\t\t\tcounter++;\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\tboxes[j/length][i/height] = new Box(boxArray);\n\t\t }\n\t\t}\t\n\t\tcreatePointers();\n }", "public Square () {\r\n super();\r\n \r\n }", "public Block(){\n\t\tthis.type = Code.Type.NULL;\n\t}", "protected Block(int id, String hr_ident){\n super(id,hr_ident);\n\n //set some standards\n this.visible = true;\n this.solid = true;\n }", "private BufferedImage makeSquare(BufferedImage photo) {\n int width = photo.getWidth();\n int height = photo.getHeight();\n int size = Math.min(width, height);\n\n return photo.getSubimage((width/2) - (size/2), (height/2) - (size/2), size, size);\n }", "public Rectangle getSkinnyRect(Block a){\n\t\tRectangle rect = new Rectangle(a.getX()+5, a.getY(), 20,30);\n\t\treturn rect;\n\t}", "public Square(String name) {\r\n this(name.charAt(0), name.charAt(1));\r\n }", "BAnyBlock createBAnyBlock();", "LocalMaterialData withBlockData(int newData);", "BlockAssignmentType createBlockAssignmentType();", "public BiomeBlock(Location loc, Biome b) {\n this.world = loc.getWorld();\n this.x = loc.getBlockX();\n this.z = loc.getBlockZ();\n this.biome = b;\n this.wmChunk = new WMChunk(this.world, this.x, this.z, true);\n }", "public Square createGround() {Collect.Hit(\"BoardFactory.java\",\"createGround()\"); Collect.Hit(\"BoardFactory.java\",\"createGround()\", \"1746\");return new Ground(sprites.getGroundSprite()) ; }", "public void placeBlockInTopResSpace(Block block, TT tt){\n ResidualSpace res = rs_stack.pop();\n\n // Place the block, this also updates the locations of the parcels inside it\n block.setLocation(res.getLocation().clone());\n\n block_placements.add(block.getId()); // Add the id of the placed block\n\n for(Parcel p:block.getPacking()){\n packing.addParcel(p);\n }\n\n this.total_value = packing.getTotalValue();\n\n // Update the hashkey\n// hashKey = tt.updateHash(hashKey, block_placements.size(), block.getId());\n\n // Remove parcels from the availability\n removeFromBres(block);\n\n // Calculate the new residual spaces\n generateDaughterResSpaces(block, res);\n }", "private SquareCoordinate(int x, int y)\n {\n \tthis.x = x;\n \tthis.y = y;\n }" ]
[ "0.7242719", "0.7011449", "0.651676", "0.6474831", "0.6410351", "0.6287882", "0.62461907", "0.61900765", "0.610329", "0.60979724", "0.60901827", "0.60522103", "0.6023433", "0.595835", "0.5910358", "0.5909656", "0.5905397", "0.5838451", "0.5825973", "0.58237255", "0.57977545", "0.5770306", "0.57659686", "0.57601345", "0.5714258", "0.5713589", "0.57043755", "0.5693295", "0.5673986", "0.5668472", "0.5658423", "0.5635844", "0.55943906", "0.5593815", "0.558408", "0.5577065", "0.5573013", "0.55604136", "0.55452293", "0.5535022", "0.55187935", "0.5498434", "0.54827195", "0.54581696", "0.5443417", "0.5440695", "0.5432287", "0.54310393", "0.5422965", "0.54024315", "0.54022306", "0.538646", "0.53817934", "0.53814566", "0.5372347", "0.53684175", "0.53587407", "0.5354052", "0.53497165", "0.53463984", "0.5341473", "0.5339606", "0.53294116", "0.5320239", "0.5319233", "0.5318632", "0.5309182", "0.5299549", "0.5287352", "0.5276879", "0.5264947", "0.52530664", "0.5252611", "0.5249502", "0.52470547", "0.5246461", "0.52451247", "0.5244404", "0.5243647", "0.5238542", "0.52363753", "0.52328515", "0.522964", "0.52261347", "0.5220419", "0.5219646", "0.5216579", "0.5215086", "0.5209755", "0.5192363", "0.51796776", "0.51715034", "0.5169887", "0.51610446", "0.5155062", "0.5152005", "0.5147807", "0.5145528", "0.5144621", "0.5141261" ]
0.8205094
0
Returns a copy of the given sourceRootBlock.
private RootBlock copy(RootBlock sourceRootBlock) { Copier copier = new Copier(true); RootBlock result = (RootBlock) copier.copy(sourceRootBlock); copier.copyReferences(); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RawBlockContainer copy() {\n final RawBlockContainer container = new RawBlockContainer();\n container.setVersion(ArrayUtil.arrayCopy(getVersion()));\n container.setPreviousBlockHash(ArrayUtil.arrayCopy(getPreviousBlockHash()));\n container.setMerkleRoot(ArrayUtil.arrayCopy(getMerkleRoot()));\n container.setTimestamp(ArrayUtil.arrayCopy(getTimestamp()));\n container.setBits(ArrayUtil.arrayCopy(getBits()));\n container.setNonce(ArrayUtil.arrayCopy(getNonce()));\n return container;\n }", "public BinaryNode copy() {\n\t\tBinaryNode newRoot = new BinaryNode(data);\n\t\tif(leftChild != null)\n\t\t\tnewRoot.setLeftChild(leftChild.copy());\n\t\tif(rightChild != null)\n\t\t\tnewRoot.setRightChild(rightChild.copy());\n\t\treturn newRoot;\n\t}", "public Tree copy() {\n Tree cpTree = new Tree();\n if(!empty()) {\n Node cpNode = copyNodes(root);\n cpTree.setRoot(cpNode);\n }\n return cpTree;\n }", "public String getSourceRoot() {\n return sourceRoot;\n }", "public BlockLambdaBody treeCopy() {\n BlockLambdaBody tree = (BlockLambdaBody) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) getChild(i);\n if (child != null) {\n child = child.treeCopy();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public void setSourceRoot(String sourceRoot) {\n this.sourceRoot = sourceRoot;\n }", "public static BNode mirrorCopy(BNode source) {\n\t\tif (source == null) {\n\t\t\treturn null;\n\t\t}\n\t\tBNode target = new BNode();\n\t\ttarget.val = source.val;\n\t\ttarget.right = mirrorCopy(source.left);\n\t\ttarget.left = mirrorCopy(source.right);\n\t\t\n\t\treturn target;\n\t}", "protected String codeBlockSource(Block block) {\n block.removeFirstOperation(); // aload_0\n block.removeFirstOperation(); // aload_1\n block.removeFirstOperation(); // iload_2\n block.removeFirstOperation(); // invokespecial <init>\n\n if (getTopBlock().getOperations().size() == 1 &&\n getTopBlock().getOperations().get(0) instanceof ReturnView) {\n return null;\n }\n\n return super.codeBlockSource(block);\n }", "public Node source() {\n\t\treturn _source;\n\t}", "static ExpNode copy(ExpNode root) {\n\n if (root instanceof ConstNode) {\n return new ConstNode(((ConstNode).root).number);\n }\n else if (root instanceof VariableNode) {\n return new VariableNode();\n }\n else {\n Bin0pNode node = (Bin0pNode)root;\n // Left and right operand trees have to be copied not only referenced\n return new Bin0pNode(node.op, copy(node.left). copy(node.right));\n }\n }", "public Node source() {\n return source;\n }", "default FlowEventDumpData deepCopy(FlowEventDumpData source) {\n FlowEventDumpData result = new FlowEventDumpDataImpl();\n copy(source, result);\n return result;\n }", "public BlockLambdaBody treeCopyNoTransform() {\n BlockLambdaBody tree = (BlockLambdaBody) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) children[i];\n if (child != null) {\n child = child.treeCopyNoTransform();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "@Deprecated\n public BlockLambdaBody fullCopy() {\n return treeCopyNoTransform();\n }", "public Node getSource() {\n return this.source;\n }", "public Tree<K, V> copy() {\n\t\tTree<K, V> copy = EmptyTree.getInstance(), t = this;\n\t\treturn copy(t, copy);\n\t}", "protected Node getBlockNode(Node parent)\n {\n for (int i=0; i<parent.jjtGetNumChildren(); i++) {\n if (parent.jjtGetChild(i) instanceof ASTBlock)\n return parent.jjtGetChild(i);\n }\n return null;\n }", "public TreeNode cloneTree(TreeNode root) {\n if (root == null) {\n return null;\n }\n res = new TreeNode(root.val);\n res.left = helper(res.left, root.left);\n res.right = helper(res.right, root.right);\n return res;\n }", "@Override\r\n\tpublic BinaryNodeInterface<E> copy() {\n\t\treturn null;\r\n\t}", "public String getSourceNode() {\n return sourceNode;\n }", "public Gene parentCopy(Gene parent){\n\t\tGene copy = copy();\n\t\tif(isModulo()){\n\t\t\tdouble normDiff = Math.abs(getValue() - parent.getValue());\n\t\t\tdouble compare = Mutateable.compareModular(getValue(), parent.getValue(), getMax());\n\t\t\t\n\t\t\t//if the difference in species is close enough to being centered, use a normal parentCopy\n\t\t\tif(Math.abs(normDiff - compare) < 0.00000001) copy.setValue(Mutateable.parentCopyValue(getValue(), parent.getValue()));\n\t\t\t//otherwise set the gene value in the modular sense\n\t\t\telse copy.setValue(Math.max(getValue(), parent.getValue()) + Mutateable.parentCopyValue(compare, 0));\n\t\t}\n\t\telse{\n\t\t\tcopy.setValue(Mutateable.parentCopyValue(getValue(), parent.getValue()));\n\t\t}\n\t\treturn copy;\n\t}", "public Tree<T> clone() {\n Node<T> clonedRoot = this.root.clone();\n clone(this.root, this.root.clone());\n return new Tree<T>(clonedRoot);\n }", "Node getSourceNode();", "private void clone(Node<T> sourceNode, Node<T> cloneNode) {\n Node<T> tmp;\n Collection<Node<T>> collection = sourceNode.getChildren();\n for (Node<T> child : collection) {\n tmp = child.clone();\n if (sourceNode.getParent() != null) tmp.setParent(cloneNode);\n cloneNode.addChildren(tmp);\n clone(child, tmp);\n }\n }", "public JsonObject raw_block() {\n \tJsonObject block = new JsonObject();\n \tblock.addProperty(\"BlockID\", blockId);\n \tif(!BlockChain.isEmpty())\n \t block.addProperty(\"PrevHash\", Hash.getHashString(getLongestBranch().last_block.toString()));\n \telse {\n \t\tblock.addProperty(\"PrevHash\", \"0000000000000000000000000000000000000000000000000000000000000000\");\n \t}\n \tblock.addProperty(\"Nonce\", \"00000000\");\n block.addProperty(\"MinerID\", \"Server\"+String.format(\"%02d\", minerId));\n \n \tJsonArray newTxPool = new JsonArray();\n \tJsonArray transactions = new JsonArray();\n \tint N = TxPool_new.size();\n \tint i;\n \tfor (i=0; i<N && i<50; i++) {\n \t\ttransactions.add(TxPool_new.get(i));\n \t\t//TxPool_used.add(TxPool_new.get(i));\n \t}\n \tfor (; i<N; i++)\n \t\tnewTxPool.add(TxPool_new.get(i));\n \tblock.add(\"Transactions\", transactions);\n\n \treturn block;\n }", "public static ByteBuffer deepCopy(ByteBuffer source) {\n int sourceP = source.position();\n int sourceL = source.limit();\n\n ByteBuffer target = ByteBuffer.allocate(source.remaining());\n target.order(source.order());\n target.put(source);\n target.flip();\n\n source.position(sourceP);\n source.limit(sourceL);\n\n return target;\n }", "public FileBlock(Source source, int blockIndex, long start, long end) {\n this.source = source;\n this.start = start;\n this.end = end;\n this.blockIndex = blockIndex;\n }", "Node copy(Node r) {\r\n\t\tif (r == null)\r\n\t\t\treturn null;\r\n\t\tNode leftTree = copy(r.left);\r\n\t\tNode rightTree = copy(r.right);\r\n\t\treturn new Node(r.element, leftTree, rightTree);\r\n\t}", "public CopyBuilder copy() {\n return new CopyBuilder(this);\n }", "public void refreshSourceBlocks() {\n for (Location l : this.sourceBlocks.keySet())\n if (ChunkLocation.fromLocation(l).isChunkLoaded()) sourceBlocks.put(l, findSourceBlockState(l));\n }", "public static boldTree boldSubTreeCopy(boldTree root) {\n if (root == null)\n return null;\n\n boldTree tmp = copy(root);\n\n for(boldTree c : root.getChildren()){\n if(boldSubTreeCopy(c) != null){\n tmp.addChild(c);\n }\n }\n if(tmp.isBold ||tmp.getChildren().size() != 0)\n return tmp;\n else\n return null;\n }", "public Node cloneNode () {\n return new VcsGroupFileNode(shadowObject, originalNode);\n }", "public alluxio.proto.journal.File.NewBlockEntry getNewBlock() {\n return newBlock_;\n }", "public SubstitutedBodyDecl treeCopy() {\n SubstitutedBodyDecl tree = (SubstitutedBodyDecl) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) getChild(i);\n if (child != null) {\n child = child.treeCopy();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public Block getFrom() {\n\t\t\treturn Block.getBlockById(fromId);\n\t\t}", "protected BlockSnapshot prepareSnapshotFromVolume(Volume volume, String snapshotName, Volume targetVolume) {\n BlockSnapshot snapshot = new BlockSnapshot();\n snapshot.setId(URIUtil.createId(BlockSnapshot.class));\n URI cgUri = null;\n\n URIQueryResultList queryResults = new URIQueryResultList();\n _dbClient.queryByConstraint(AlternateIdConstraint.Factory\n .getVolumeByAssociatedVolumesConstraint(volume.getId().toString()),\n queryResults);\n if (queryResults.iterator().hasNext()) {\n Volume sourceVplexVolume = _dbClient.queryObject(Volume.class, queryResults.iterator().next());\n cgUri = sourceVplexVolume.getConsistencyGroup();\n snapshot.setProject(new NamedURI(sourceVplexVolume.getProject().getURI(), snapshotName));\n } else {\n cgUri = volume.getConsistencyGroup();\n snapshot.setProject(new NamedURI(volume.getProject().getURI(), snapshotName));\n }\n\n if (cgUri != null) {\n snapshot.setConsistencyGroup(cgUri);\n }\n\n snapshot.setSourceNativeId(volume.getNativeId());\n snapshot.setParent(new NamedURI(volume.getId(), snapshotName));\n String modifiedSnapshotName = snapshotName;\n\n // We want snaps of targets to contain the varray label so we can distinguish multiple\n // targets from one another\n if (targetVolume != null) {\n VirtualArray targetVarray = _dbClient.queryObject(VirtualArray.class, targetVolume.getVirtualArray());\n modifiedSnapshotName = modifiedSnapshotName + \"-\" + targetVarray.getLabel();\n }\n snapshot.setLabel(modifiedSnapshotName);\n\n snapshot.setStorageController(volume.getStorageController());\n snapshot.setVirtualArray(volume.getVirtualArray());\n snapshot.setProtocol(new StringSet());\n snapshot.getProtocol().addAll(volume.getProtocol());\n snapshot.setSnapsetLabel(ResourceOnlyNameGenerator.removeSpecialCharsForName(\n snapshotName, SmisConstants.MAX_SNAPSHOT_NAME_LENGTH));\n\n return snapshot;\n }", "private PlotBlockData getSnapshotForBlockLocation(Location location) {\n TownBlock townBlock = TownyAPI.getInstance().getTownBlock(location);\n\n // If the TownBlock is null (which means the location isn't in any town),\n // return null or handle accordingly.\n if (townBlock == null) {\n System.out.println(\"[TownyWars] No TownBlock found for location: \" + location);\n return null;\n }\n\n // 2. Fetch the snapshot data using Towny's API\n PlotBlockData snapshot = TownyRegenAPI.getPlotChunkSnapshot(townBlock);\n\n // Handle if the snapshot is null.\n if (snapshot == null) {\n System.out.println(\"[TownyWars] Snapshot is null for TownBlock at location: \" + location);\n }\n\n return snapshot;\n }", "public abstract Node copy();", "public T getSource() {\n return source;\n }", "public Call treeCopy() {\n Call tree = (Call) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) getChild(i);\n if (child != null) {\n child = child.treeCopy();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public abstract TreeNode copy();", "public SubstitutedBodyDecl treeCopyNoTransform() {\n SubstitutedBodyDecl tree = (SubstitutedBodyDecl) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) children[i];\n if (child != null) {\n child = child.treeCopyNoTransform();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public Git.Entry getRoot() { \n Node c = this; \n while (c.par != null) c = c.par;\n return c.getObject();\n }", "public Object getSource() {\n return source;\n }", "public Block getBlockNoTransform() {\n return (Block) getChildNoTransform(0);\n }", "public Block getBlock()\n {\n return block;\n }", "public FunctionLibrary copy() {\n return this;\n }", "public AST copy()\n {\n return new Implicate(left, right);\n }", "public LSGNode copy(LSGNode lsgNode){\n\t\tPartitionNodeElement partitionNodeElement = new PartitionNodeElement(_groupNodeData.copy(), _partitionFlags, _fileName, Helper.copy(_boundingBox), _area, Helper.copy(_vertexCountRange), Helper.copy(_nodeCountRange), Helper.copy(_polygonCountRange), Helper.copy(_untransformedBoundingBox));\n\t\tpartitionNodeElement.setAttributeNodes(getAttributeNodes());\n\t\tpartitionNodeElement.setPropertyNodes(getPropertyNodes());\n\t\tpartitionNodeElement.setParentLSGNode(lsgNode);\n\t\tfor(LSGNode childNode : getChildLSGNodes()){\n\t\t\tpartitionNodeElement.addChildLSGNode(childNode.copy(partitionNodeElement));\n\t\t}\n\t\treturn partitionNodeElement;\n\t}", "private static Document createCopiedDocument(Document originalDocument) {\n DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n DocumentBuilder db;\n Document copiedDocument = null;\n try {\n db = dbf.newDocumentBuilder();\n Node originalRoot = originalDocument.getDocumentElement();\n copiedDocument = db.newDocument();\n Node copiedRoot = copiedDocument.importNode(originalRoot, true);\n copiedDocument.appendChild(copiedRoot);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n return copiedDocument;\n }", "public Block getLatestBlock() {\n int totalLength = blockChain.size();\n return this.blockChain.get(totalLength - 1);\n }", "public Object getSource() {\n\t\treturn source;\n\t}", "public Object getSource() {\n\t\treturn source;\n\t}", "public com.google.protobuf.ByteString\n getSourceBytes() {\n Object ref = source_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public Block getBlockNoTransform() {\n return (Block)getChildNoTransform(0);\n }", "public static Block resource(Block block, Attribute.Source nsrc) {\r\n\t\tif(block == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tBlock nblock = new Block(block.numInputs());\r\n\t\tfor(Entry e : block) {\r\n\t\t\tnblock.append(e.code,nsrc);\r\n\t\t}\r\n\t\treturn nblock;\r\n\t}", "public Byte getSource() {\r\n return source;\r\n }", "@SuppressWarnings({\"unchecked\", \"cast\"})\n public TypeVariable fullCopy() {\n TypeVariable tree = (TypeVariable) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) children[i];\n if(child != null) {\n child = child.fullCopy();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public com.google.protobuf.ByteString\n getSourceBytes() {\n Object ref = source_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public Block getBlock() {\n return (Block)getChild(0);\n }", "public SourceElements getSourceAccess() {\n\t\treturn (pSource != null) ? pSource : (pSource = new SourceElements());\n\t}", "@Override\r\n\tpublic LogicalValue copy() {\r\n\t\treturn new Pointer(target);\r\n\t}", "private BinaryNode<AnyType> copy1(BinaryNode<AnyType> t)\r\n\t{\r\n\t\tBinaryNode<AnyType> newNode=null;\r\n\t\tif(t!=null)\r\n\t\t{\r\n\t\t\tnewNode = new BinaryNode<>(t.element,t.left,t.right);\r\n\t\t\tcopy1(t.left);\r\n\t\t\tcopy1(t.right);\r\n\t\t}\r\n\t\treturn newNode;\r\n\t}", "Block getBlock(String congName, String blockName, String blockNumber);", "@Override\n public Node clone() {\n Node node = null;\n try {\n node = (Node) super.clone();\n } catch (Exception e) {\n System.err.println(\"Unable to clone!\");\n e.printStackTrace();\n }\n return node;\n }", "@ASTNodeAnnotation.Child(name=\"Block\")\n public Block getBlock() {\n return (Block) getChild(0);\n }", "@VisibleForTesting\n public File getBlockFile() {\n return new File(getDir(), getBlockName());\n }", "@Override\n public MouseEvent copyFor(Object newSource, EventTarget newTarget) {\n MouseEvent e = (MouseEvent) super.copyFor(newSource, newTarget);\n e.recomputeCoordinatesToSource(this, newSource);\n return e;\n }", "public phaseI.Hdfs.BlockLocations getNewBlock() {\n return newBlock_ == null ? phaseI.Hdfs.BlockLocations.getDefaultInstance() : newBlock_;\n }", "public Region getRoot() {\r\n return root;\r\n }", "public abstract Type treeCopy();", "protected Block getBlock() {\r\n return this.block;\r\n }", "public com.google.protobuf.ByteString\n getSourceBytes() {\n java.lang.Object ref = source_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Deprecated public Block getBlock(){\n return this.block!=null?this.block.build():null;\n }", "BrainTreeCloneTransactionResult cloneTransaction(BrainTreeCloneTransactionRequest request);", "@SuppressWarnings({\"unchecked\", \"cast\"})\n public TryStmt fullCopy() {\n TryStmt tree = (TryStmt) copy();\n if (children != null) {\n for (int i = 0; i < children.length; ++i) {\n ASTNode child = (ASTNode) children[i];\n if(child != null) {\n child = child.fullCopy();\n tree.setChild(child, i);\n }\n }\n }\n return tree;\n }", "public LinkedList<Point> getAllBlock(Block block) {\n\t\tLinkedList<Point> list = new LinkedList<>();\n\n\t\tfor (int y = 0; y < height; y++)\n\t\t\tfor (int x = 0; x < width; x++)\n\t\t\t\tif (maze[x][y] == block) list.add(new Point(x, y));\n\n\t\treturn list;\n\t}", "@Override\n public void copyBlockdata(URI destination) throws IOException {\n getFileIoProvider().nativeCopyFileUnbuffered(\n getVolume(), getBlockFile(), new File(destination), true);\n }", "public void copy(FrameSample source)\n {\n completeTimeMs = source.completeTimeMs;\n size = source.size;\n timestamp = source.timestamp;\n timestampMs = source.timestampMs;\n }", "public Block getBlock() {\n\t\treturn this.block;\n\t}", "public Matrix copy(){\r\n \t if(this==null){\r\n \t return null;\r\n \t }\r\n \t else{\r\n \t int nr = this.nrow;\r\n \t int nc = this.ncol;\r\n \t Matrix b = new Matrix(nr,nc);\r\n \t double[][] barray = b.getArrayReference();\r\n \t b.nrow = nr;\r\n \t b.ncol = nc;\r\n \t for(int i=0; i<nr; i++){\r\n \t\tfor(int j=0; j<nc; j++){\r\n \t\tbarray[i][j]=this.matrix[i][j];\r\n \t\t}\r\n \t }\r\n \t for(int i=0; i<nr; i++)b.index[i] = this.index[i];\r\n \t return b;\r\n \t}\r\n \t}", "public Block getBlock()\n\t{\n\t\treturn this.block;\n\t}", "public void setSourceNode(String sourceNode) {\n this.sourceNode = sourceNode;\n }", "public alluxio.proto.journal.File.NewBlockEntry getNewBlock() {\n if (newBlockBuilder_ == null) {\n return newBlock_;\n } else {\n return newBlockBuilder_.getMessage();\n }\n }", "public Address copy() {\n\t\tAddress copy = new Address(this.street, this.city, this.state, this.zipCode);\n\t\treturn copy;\n\t}", "public phaseI.Hdfs.BlockLocations getNewBlock() {\n if (newBlockBuilder_ == null) {\n return newBlock_ == null ? phaseI.Hdfs.BlockLocations.getDefaultInstance() : newBlock_;\n } else {\n return newBlockBuilder_.getMessage();\n }\n }", "public Closure copy_function(){\n Closure newClosure = new Closure(this.getParent(), this.getNode());\n newClosure.isFunction = this.isFunction;\n newClosure.returning = this.returning;\n newClosure.belongObject = this.belongObject;\n return newClosure;\n }", "@java.lang.Override\n public com.google.protobuf.ByteString\n getSourceBytes() {\n java.lang.Object ref = source_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public AxisAlignedBB copy() {\n\t\treturn getAABBPool().getAABB(this.minX, this.minY, this.minZ, this.maxX, this.maxY, this.maxZ);\n\t}", "public com.google.protobuf.ByteString\n getSourceBytes() {\n java.lang.Object ref = source_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getSourceBytes() {\n java.lang.Object ref = source_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n source_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n public LocalStore<V> copy() {\n return this;\n }", "public Vertex getSource() {\n return source;\n }", "public Object getSource()\n {\n return this;\n }", "public Object getSource()\n {\n return this;\n }", "BlockStore getBlockStore();", "public CommitNode(CommitNode parent, CommitNode toCopy) {\r\n\t\tparentCommit = parent;\r\n\t\t//ID to be set in Gitlet.java\r\n\t\tmessage = toCopy.message();\r\n\t\tdate = Calendar.getInstance().getTime();\r\n\t\ttrackedFiles = toCopy.trackedFiles();\r\n\t\tbranchesPartOf = toCopy.branches();\r\n\t\tchildren = toCopy.getChildren();\r\n\t}", "@Override\n public Vertex getSource() {\n return sourceVertex;\n }", "public Object getSource() {return source;}", "public TreeNodeRandom cloneLeftRight(TreeNodeRandom root){\r\n\t\tif(root==null)\r\n\t\t\treturn null;\r\n\t\t//TreeNodeRandom clone = new TreeNodeRandom(root.val);\r\n\t\tTreeNodeRandom left = root.left;\r\n\t\troot.left = new TreeNodeRandom(root.val);\r\n\t\troot.left.left=left;\r\n\t\troot.left.left=left;\r\n\t\tif(left!=null)\r\n\t\t\tleft.left=cloneLeftRight(left);\r\n\t\troot.left.right = cloneLeftRight(root.right);\r\n\t\treturn root.left;\r\n\t}" ]
[ "0.6115428", "0.5996716", "0.57061344", "0.5639867", "0.55581987", "0.55399054", "0.5509816", "0.54047", "0.539594", "0.5351432", "0.53265125", "0.5241515", "0.5187295", "0.51522666", "0.51174515", "0.511535", "0.50773525", "0.5045187", "0.5025437", "0.50058657", "0.49923283", "0.49822614", "0.4980186", "0.4962663", "0.495506", "0.4953383", "0.4919858", "0.49194923", "0.489497", "0.48867157", "0.4885357", "0.48779774", "0.48566175", "0.48529896", "0.48300594", "0.47739065", "0.476796", "0.47619057", "0.4742759", "0.47339973", "0.4728894", "0.47229734", "0.47176903", "0.46983662", "0.46799746", "0.46761692", "0.46604276", "0.46600384", "0.46578962", "0.46570164", "0.46443307", "0.46300307", "0.46300307", "0.46281976", "0.46237564", "0.46201292", "0.4617644", "0.4608999", "0.46062958", "0.46047312", "0.4602283", "0.45900655", "0.45861855", "0.4582001", "0.4558619", "0.45491412", "0.45445493", "0.45414925", "0.45367578", "0.4532505", "0.45319885", "0.45295015", "0.4522699", "0.4522128", "0.45141912", "0.45092714", "0.4503102", "0.45005715", "0.44997838", "0.44962704", "0.44948384", "0.4488647", "0.4486552", "0.44818503", "0.44807988", "0.44798657", "0.44766364", "0.4473586", "0.44723463", "0.44698304", "0.44698304", "0.4466703", "0.44555178", "0.44533172", "0.44533172", "0.44503295", "0.44473538", "0.44463038", "0.4446252", "0.44458926" ]
0.8316542
0
This interface describes the property metadata storage.
public interface IPropertyMetadata { /** * This method gets the property metadata for this appender. * * @return The property metadata for this appender. */ ArrayList<PropertyMetadata> getProperties(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String metadata(String property);", "public interface Property extends Assignable\n{\n\t/**\n\t * Property name\n\t */\n\tString getName();\n\n\t/**\n\t * Type.\n\t * \n\t * If this is a getter, the returned value is the getter's return type.\n\t * If this is a setter, the returned value is the type of the input argument of the setter.\n\t */\n\tType getType();\n\n /**\n * [InstanceType]\n *\n * @return null if the instance type metadata is not available or if the\n * instance type is not specified.\n */\n Type getInstanceType();\n\n\t/**\n\t * Is this read only?\n\t */\n\tboolean readOnly();\n\n /**\n\t *\n\t */\n\tboolean hasPublic();\n\n // metadata\n\n\t/**\n\t * [Inspectable]\n\t */\n\tInspectable getInspectable();\n\n\t/**\n\t * [CollapseWhiteSpace]\n\t */\n\tboolean collapseWhiteSpace();\n\n /**\n * [RichTextContent]\n */\n boolean richTextContent();\n\n\t/**\n\t * [Deprecated]\n\t */\n\tDeprecated getDeprecated();\n\n\t/**\n\t * [ChangeEvent]\n\t */\n\tboolean hasChangeEvent(String name);\n\n\n\t/**\n\t * [PercentProxy]\n\t */\n\tString getPercentProxy();\n}", "public interface DatastoreText {\n\n /**\n * Stores a property.. The kind, name and property can be thought of as\n * corresponding roughly to table,column, row key.\n * \n * @param kind\n * @param name\n * @param property\n * @param value\n */\n void put(String kind, String name, String property, String value);\n\n /**\n * Returns a property value keyed by kind,name and property.\n * \n * @param kind\n * @param name\n * @param property\n * @return\n */\n String get(String kind, String name, String property);\n\n}", "public interface IImageMetadata {\n\n public String getImageType();\n\n public void setImageType(String imageType);\n\n public String getFilename();\n\n public void setFilename(String filename);\n\n public DateTime getLastModified();\n\n public void setLastModified(DateTime d);\n\n public DateTime getCreated();\n\n public void setCreated(DateTime d);\n\n public long getSize();\n\n public void setSize(long size);\n\n public String getReadableSize();\n\n}", "public interface MetadataValue<V> extends VersionedValue<V> {\n\n long getCreated();\n\n int getLifespan();\n\n long getLastUsed();\n\n int getMaxIdle();\n\n}", "public interface ImageMetadata extends Named, HasMetaTable {\n\n\t/** Sets width (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeX(long thumbSizeX);\n\n\t/** Sets height (in pixels) of thumbnail planes in this image. */\n\tvoid setThumbSizeY(long thumbSizeY);\n\n\t/**\n\t * Sets the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tvoid setPixelType(int pixelType);\n\n\t/** Sets the number of valid bits per pixel. */\n\tvoid setBitsPerPixel(int bitsPerPixel);\n\n\t/**\n\t * Sets whether or not we are confident that the dimension order is correct.\n\t */\n\tvoid setOrderCertain(boolean orderCertain);\n\n\t/** Sets whether or not each pixel's bytes are in little endian order. */\n\tvoid setLittleEndian(boolean littleEndian);\n\n\t/**\n\t * Sets whether or not the planes are stored as indexed color. An indexed\n\t * color image treats each pixel value as an index into a color table\n\t * containing one or more (typically 3) actual values for the pixel.\n\t */\n\tvoid setIndexed(boolean indexed);\n\n\t/**\n\t * Sets the number of planar axes in this image. This value represents the\n\t * number of dimensional axes constituting each {@link Plane} (as returned by\n\t * the {@link Reader#openPlane} methods). This value is necessary to determine\n\t * the total plane count for an N-dimensional image, as well as how many\n\t * pixels there are per plane.\n\t * <p>\n\t * For example, suppose we have a 4-dimensional image with axes (X, Y, Z, T)\n\t * and extents (768, 512, 7, 13). If there are two planar axes, then each\n\t * plane is 768 x 512 and there are 7 x 13 = 91 total planes. But if we have\n\t * three planar axes, then each plane is 768 x 512 x 7 and there are 13 total\n\t * planes.\n\t * </p>\n\t *\n\t * @see Reader#openPlane(int, long)\n\t */\n\tvoid setPlanarAxisCount(final int count);\n\n\t/**\n\t * Sets the number of interleaved axes in this image. This must be a value\n\t * between [0, planarAxisCount). Interleaved axes are planar axes that do not\n\t * constitute the \"canonical\" axes - e.g., in a CXY image with an interleaved\n\t * axis count of 1, the C axis is interleaved, and each plane is an XY plane\n\t * with C different representations.\n\t */\n\tvoid setInterleavedAxisCount(final int count);\n\n\t/** Sets whether or not we can ignore the color map (if present). */\n\tvoid setFalseColor(boolean falseColor);\n\n\t/**\n\t * Sets whether or not we are confident that all of the metadata stored within\n\t * the image has been parsed.\n\t */\n\tvoid setMetadataComplete(boolean metadataComplete);\n\n\t/**\n\t * Sets whether or not this image is a lower-resolution copy of another image.\n\t */\n\tvoid setThumbnail(boolean thumbnail);\n\n\t/**\n\t * Convenience method to set both the axis types and lengths for this\n\t * ImageMetadata.\n\t */\n\tvoid setAxes(CalibratedAxis[] axes, long[] axisLengths);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxisTypes(AxisType... axisTypes);\n\n\t/**\n\t * Sets the Axes types for this image. Order is implied by ordering within\n\t * this array\n\t */\n\tvoid setAxes(CalibratedAxis... axes);\n\n\t/**\n\t * Sets the lengths of each axis. Order is parallel of {@code axes}.\n\t * <p>\n\t * NB: axes must already exist for this method to be called. Use\n\t * {@link #setAxes(CalibratedAxis[])} or {@link #setAxes}\n\t */\n\tvoid setAxisLengths(long[] axisLengths);\n\n\t/**\n\t * Sets the length for the specified axis. Adds the axis if if its type is not\n\t * already present in the image.\n\t */\n\tvoid setAxisLength(CalibratedAxis axis, long length);\n\n\t/**\n\t * As {@link #setAxisLength(CalibratedAxis, long)} but requires only the\n\t * AxisType.\n\t */\n\tvoid setAxisLength(AxisType axis, long length);\n\n\t/**\n\t * Sets the axis at the specified index, if an axis with a matching type is\n\t * not already defined. Otherwise the axes are re-ordered, per\n\t * {@link java.util.List#add(int, Object)}.\n\t */\n\tvoid setAxis(int index, CalibratedAxis axis);\n\n\t/**\n\t * As {@link #setAxis(int, CalibratedAxis)} but using the default calibration\n\t * values, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid setAxisType(int index, AxisType axis);\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Sets the ROIs associated with this image. */\n\tvoid setROIs(Object rois);\n\n\t/** Sets the tables associated with this image. */\n\tvoid setTables(Object tables);\n\n\t/** Returns the size, in bytes, of all planes in this image. */\n\tlong getSize();\n\n\t/** Returns the size, in bytes, of one plane in this image. */\n\tlong getPlaneSize();\n\n\t/** Returns the width (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeX();\n\n\t/** Returns the height (in pixels) of the thumbnail planes in this image. */\n\tlong getThumbSizeY();\n\n\t/**\n\t * Returns the CalibratedAxis associated with the given type. Useful to\n\t * retrieve calibration information.\n\t */\n\tCalibratedAxis getAxis(AxisType axisType);\n\n\t/**\n\t * Returns the data type associated with a pixel. Valid pixel type constants\n\t * (e.g., {@link FormatTools#INT8}) are enumerated in {@link FormatTools}.\n\t */\n\tint getPixelType();\n\n\t/** Returns the number of valid bits per pixel. */\n\tint getBitsPerPixel();\n\n\t/**\n\t * Returns true if we are confident that the dimension order is correct.\n\t */\n\tboolean isOrderCertain();\n\n\t/** Returns true if each pixel's bytes are in little endian order. */\n\tboolean isLittleEndian();\n\n\t/** Returns true if the planes are stored as indexed color. */\n\tboolean isIndexed();\n\n\t/** Returns the number of planar axes in this image. */\n\tint getPlanarAxisCount();\n\n\t/**\n\t * Returns the number of interleaved axes in this image.\n\t */\n\tint getInterleavedAxisCount();\n\n\t/** Returns true if the {@link Axes#CHANNEL} axis is a planar axis. */\n\tboolean isMultichannel();\n\n\t/** Returns true if we can ignore the color map (if present). */\n\tboolean isFalseColor();\n\n\t/**\n\t * Returns true if we are confident that all of the metadata stored within the\n\t * image has been parsed.\n\t */\n\tboolean isMetadataComplete();\n\n\t/**\n\t * Determines whether or not this image is a lower-resolution copy of another\n\t * image.\n\t *\n\t * @return true if this image is a thumbnail\n\t */\n\tboolean isThumbnail();\n\n\t/**\n\t * Gets the axis of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Type of the desired plane.\n\t */\n\tCalibratedAxis getAxis(final int axisIndex);\n\n\t/**\n\t * Gets the length of the (zero-indexed) specified plane.\n\t *\n\t * @param axisIndex - index of the desired axis within this image\n\t * @return Length of the desired axis, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final int axisIndex);\n\n\t/**\n\t * A convenience method for looking up the length of an axis based on its\n\t * type. No knowledge of plane ordering is necessary.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final CalibratedAxis t);\n\n\t/**\n\t * As {@link #getAxisLength(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param t - CalibratedAxis to look up\n\t * @return Length of axis t, or 1 if the axis is not found.\n\t */\n\tlong getAxisLength(final AxisType t);\n\n\t/**\n\t * Returns the array index for the specified CalibratedAxis. This index can be\n\t * used in other Axes methods for looking up lengths, etc...\n\t * <p>\n\t * This method can also be used as an existence check for the target\n\t * CalibratedAxis.\n\t * </p>\n\t *\n\t * @param axis - axis to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final CalibratedAxis axis);\n\n\t/**\n\t * As {@link #getAxisIndex(CalibratedAxis)} but only requires the\n\t * {@link AxisType} of the desired axis.\n\t *\n\t * @param axisType - axis type to look up\n\t * @return The index of the desired axis or -1 if not found.\n\t */\n\tint getAxisIndex(final AxisType axisType);\n\n\t/**\n\t * Returns an array of the types for axes associated with the specified image\n\t * index. Order is consistent with the axis length (int) array returned by\n\t * {@link #getAxesLengths()}.\n\t * <p>\n\t * CalibratedAxis order is sorted and represents order within the image.\n\t * </p>\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxes();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that, together, define the bounds of a\n\t * single plane in the dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesPlanar();\n\n\t/**\n\t * Returns an array of the CalibratedAxis that define the number of planes in the\n\t * dataset.\n\t *\n\t * @return List of CalibratedAxes. Ordering in the list indicates the axis\n\t * order in the image.\n\t */\n\tList<CalibratedAxis> getAxesNonPlanar();\n\n\t/**\n\t * @return the number of planes in this image\n\t */\n\tlong getPlaneCount();\n\n\t/**\n\t * Returns an array of the lengths for axes associated with the specified\n\t * image index.\n\t * <p>\n\t * Ordering is consistent with the CalibratedAxis array returned by\n\t * {@link #getAxes()}.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths();\n\n\t/**\n\t * Returns an array of the lengths for axes in the provided CalibratedAxis list.\n\t * <p>\n\t * Ordering of the lengths is consistent with the provided ordering.\n\t * </p>\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengths(final List<CalibratedAxis> axes);\n\n\t/**\n\t * Returns an array of the lengths for the planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsPlanar();\n\n\t/**\n\t * Returns an array of the lengths for the non-planar axes in this image.\n\t *\n\t * @return Sorted axis length array\n\t */\n\tlong[] getAxesLengthsNonPlanar();\n\n\t// TODO: Consider typing rois and tables on more specific data structures.\n\n\t/** Retrieves the ROIs associated with this image. */\n\tObject getROIs();\n\n\t/** Retrieves the tables associated with this image. */\n\tObject getTables();\n\n\t/**\n\t * Appends the provided {@link CalibratedAxis} to the metadata's list of axes,\n\t * with a length of 1.\n\t *\n\t * @param axis - The new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis);\n\n\t/**\n\t * Appends the provided CalibratedAxis to the current CalibratedAxis array and\n\t * creates a corresponding entry with the specified value in axis lengths.\n\t *\n\t * @param axis - The new axis\n\t * @param value - length of the new axis\n\t */\n\tvoid addAxis(final CalibratedAxis axis, final long value);\n\n\t/**\n\t * As {@link #addAxis(CalibratedAxis, long)} using the default calibration\n\t * value, per {@link FormatTools#createAxis(AxisType)}.\n\t */\n\tvoid addAxis(final AxisType axisType, final long value);\n\n\t/**\n\t * @return A new copy of this ImageMetadata.\n\t */\n\tImageMetadata copy();\n\n\t/**\n\t * Populates this ImageMetadata using the provided instance.\n\t *\n\t * @param toCopy - ImageMetadata to copy\n\t */\n\tvoid copy(ImageMetadata toCopy);\n\n\t/**\n\t * As\n\t * {@link #populate(String, List, long[], int, boolean, boolean, boolean, boolean, boolean)}\n\t * but automatically determines bits per pixel.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, boolean orderCertain, boolean littleEndian, boolean indexed,\n\t\tboolean falseColor, boolean metadataComplete);\n\n\t/**\n\t * Convenience method for manually populating an ImageMetadata.\n\t */\n\tvoid populate(String name, List<CalibratedAxis> axes, long[] lengths,\n\t\tint pixelType, int bitsPerPixel, boolean orderCertain, boolean littleEndian,\n\t\tboolean indexed, boolean falseColor, boolean metadataComplete);\n}", "public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}", "public PropertyMetaData[] getPropertyMetaData() \n {\n return METADATA;\n }", "interface PropertyInfo {}", "public interface IPropertyType {\n\n /**\n * Returns PropertyType name\n *\n * @return PropertyType name\n */\n String getName();\n\n /**\n * Returns PropertyType schema\n *\n * @return PropertyType schema\n */\n String getSchema();\n\n}", "public interface MeasurePropertyType\n\t\t{\n\t\tpublic String getDesc();\n\t\t\n\t\t/**\n\t\t * Which properties, must be fixed and the same for all particles \n\t\t */\n\t\tpublic Set<String> getColumns();\n\t\t\n\t\t/**\n\t\t * Evaluate a stack, store in info. If a particle is not in the list it must be\n\t\t * created. All particles in the map must receive data.\n\t\t */\n\t\tpublic void analyze(ProgressHandle progh, EvStack stackValue, EvStack stackMask, ParticleMeasure.FrameInfo info);\n\t\t}", "public interface PropertyDefinition {\n\n String getLocalName();\n\n FormatConverter getConverter();\n\n List<String> getValues();\n\n boolean isMultiValued();\n\n}", "Metadata getMetaData();", "public Object getMetadata() {\n return this.metadata;\n }", "public Map<String, Variant<?>> GetMetadata();", "@Override\n public RavenJObject getMetadata() {\n return metadata;\n }", "public interface StorageModel {\n}", "public interface Storage {\n\n String getId();\n}", "public Map getMetadata() {\n return metadata;\n }", "public interface MetaData extends MetaSearch {\n\t/** place holder for mandatory meta data */\n\tpublic static String sPLACE_HOLDER = \"(...)\";\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get archive with which this MetaData instance is associated (null for\n\t * template meta data).\n\t * \n\t * @return open archive associated with these meta data.\n\t */\n\tpublic Archive getArchive();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set template meta data from which descriptions for matching database objects\n\t * are copied\n\t * \n\t * @param mdTemplate template meta data.\n\t * @throws IOException if an I/O error occurred.\n\t */\n\tpublic void setTemplate(MetaData mdTemplate) throws IOException;\n\n\t/*\n\t * ==================================================================== global\n\t * properties\n\t * ====================================================================\n\t */\n\t/**\n\t * get current version of SIARD format of XML. If an file of an older SIARD\n\t * format is opened, the older version is returned until a change in the meta\n\t * data is saved, at which point the meta data are saved in the current format.\n\t * \n\t * @return version of SIARD format of XML.\n\t */\n\tpublic String getVersion();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set name of the archived database (must not be null or empty!).\n\t * \n\t * @param sDbName name of the archived database.\n\t */\n\tpublic void setDbName(String sDbName);\n\n\t/**\n\t * get name of the archived database.\n\t * \n\t * @return name of the archived database.\n\t */\n\tpublic String getDbName();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set short free form description of the database content.\n\t * \n\t * @param sDescription short free form description of the database content.\n\t */\n\tpublic void setDescription(String sDescription);\n\n\t/**\n\t * get short free form description of the database content.\n\t * \n\t * @return short free form description of the database content.\n\t */\n\tpublic String getDescription();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set name of person responsible for archiving the database.\n\t * \n\t * @param sArchiver name of person responsible for archiving the database.\n\t */\n\tpublic void setArchiver(String sArchiver);\n\n\t/**\n\t * get name of person responsible for archiving the database.\n\t * \n\t * @return name of person responsible for archiving the database.\n\t */\n\tpublic String getArchiver();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set contact data (telephone number or email address) of archiver.\n\t * \n\t * @param sArchiverContact contact data (telephone number or email address) of\n\t * archiver.\n\t */\n\tpublic void setArchiverContact(String sArchiverContact);\n\n\t/**\n\t * get contact data (telephone number or email address) of archiver.\n\t * \n\t * @return contact data (telephone number or email address) of archiver.\n\t */\n\tpublic String getArchiverContact();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set name of data owner (section and institution responsible for data) of\n\t * database when it was archived.\n\t * \n\t * @param sDataOwner name of data owner.\n\t */\n\tpublic void setDataOwner(String sDataOwner);\n\n\t/**\n\t * get name of data owner (section and institution responsible for data) of\n\t * database when it was archived.\n\t * \n\t * @return name of data owner.\n\t */\n\tpublic String getDataOwner();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set time span during which data where entered into the database.\n\t * \n\t * @param sDataOriginTimespan time span during which data where entered into the\n\t * database.\n\t */\n\tpublic void setDataOriginTimespan(String sDataOriginTimespan);\n\n\t/**\n\t * get time span during which data where entered into the database.\n\t * \n\t * @return time span during which data where entered into the database.\n\t */\n\tpublic String getDataOriginTimespan();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set global folder for external LOB files. Can only be set if the field is not\n\t * null or the SIARD archive is open for modification of primary data and still\n\t * empty. It must not be set to null. It must start with \"..\", \"/\" or \"file:/\".\n\t * It must be terminated with \"/\" (because it denotes a folder). If the given\n\t * URI starts with \"file:/\", it refers to a remote absolute folder. If it starts\n\t * with \"/\" it refers to an absolute local folder. Otherwise it is a relative\n\t * URI. If the global lobFolder is set, it is to be resolved relative to it.\n\t * Otherwise it must start with \"..\" which refers to the folder containing the\n\t * SIARD file.\n\t * \n\t * @param uriLobFolder URI for global folder for external files.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setLobFolder(URI uriLobFolder) throws IOException;\n\n\t/**\n\t * get global folder for external LOB files.\n\t * \n\t * @return root folder for external LOB files.\n\t */\n\tpublic URI getLobFolder();\n\n\t/**\n\t * absolute global folder for external LOB files or null, if no global LOB\n\t * folder is set.\n\t * \n\t * @return absolute global folder for external LOB files or null, if no global\n\t * LOB folder is set.\n\t */\n\tpublic URI getAbsoluteLobFolder();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set name and version of program that generated the metadata file. Can only be\n\t * set if the SIARD archive is open for modification of primary data.\n\t * \n\t * @param sProducerApplication name and version of program that generated the\n\t * metadata file.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setProducerApplication(String sProducerApplication) throws IOException;\n\n\t/**\n\t * get name and version of program that generated the metadata file.\n\t * \n\t * @return name and version of program that generated the metadata file.\n\t */\n\tpublic String getProducerApplication();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get date of creation of archive (automatically generated by SIARD).\n\t * \n\t * @return date of creation of archive (automatically generated by SIARD).\n\t */\n\tpublic Calendar getArchivalDate();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get message digest codes over all primary data in folder \"content\".\n\t * \n\t * @return message digest codes over all primary data in folder \"content\".\n\t */\n\tpublic List<MessageDigestType> getMessageDigest();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set DNS name of client machine from which connection to the database was\n\t * established for archiving. Can only be set if the SIARD archive is open for\n\t * modification of primary data.\n\t * \n\t * @param sClientMachine DNS name of client machine from which connection to the\n\t * database was established for archiving.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setClientMachine(String sClientMachine) throws IOException;\n\n\t/**\n\t * get DNS name of client machine from which connection to the database was\n\t * established for archiving.\n\t * \n\t * @return DNS name of client machine from which connection to the database was\n\t * established for archiving.\n\t */\n\tpublic String getClientMachine();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set name of database product and version from which database originates. Can\n\t * only be set if the SIARD archive is open for modification of primary data.\n\t * \n\t * @param sDatabaseProduct name of database product and version from which\n\t * database originates.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setDatabaseProduct(String sDatabaseProduct) throws IOException;\n\n\t/**\n\t * get name of database product and version from which database originates.\n\t * \n\t * @return name of database product and version from which database originates.\n\t */\n\tpublic String getDatabaseProduct();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set connection string (JDBC URL) used for archiving. Can only be set if the\n\t * SIARD archive is open for modification of primary data.\n\t * \n\t * @param sConnection connection string (JDBC URL) used for archiving.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setConnection(String sConnection) throws IOException;\n\n\t/**\n\t * get connection string (JDBC URL) used for archiving.\n\t * \n\t * @return connection string (JDBC URL) used for archiving.\n\t */\n\tpublic String getConnection();\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * set database user used for archiving Can only be set if the SIARD archive is\n\t * open for modification of primary data.\n\t * \n\t * @param sDatabaseUser database user used for archiving.\n\t * @throws IOException if the value could not be set.\n\t */\n\tpublic void setDatabaseUser(String sDatabaseUser) throws IOException;\n\n\t/**\n\t * get database user used for archiving.\n\t * \n\t * @return database user used for archiving.\n\t */\n\tpublic String getDatabaseUser();\n\n\t/*\n\t * ==================================================================== list\n\t * properties\n\t * ====================================================================\n\t */\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get number of schema meta data entries.\n\t * \n\t * @return number of schema meta data entries.\n\t */\n\tpublic int getMetaSchemas();\n\n\t/**\n\t * get the schema meta data with the given index.\n\t * \n\t * @param iSchema index of schema meta data.\n\t * @return schema meta data.\n\t */\n\tpublic MetaSchema getMetaSchema(int iSchema);\n\n\t/**\n\t * get the schema meta data with the given name.\n\t * \n\t * @param sName name of schema meta data.\n\t * @return schema meta data.\n\t */\n\tpublic MetaSchema getMetaSchema(String sName);\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get number of user meta data entries.\n\t * \n\t * @return number of user meta data entries.\n\t */\n\tpublic int getMetaUsers();\n\n\t/**\n\t * get the user meta data with the given index.\n\t * \n\t * @param iUser index of user meta data.\n\t * @return user meta data.\n\t */\n\tpublic MetaUser getMetaUser(int iUser);\n\n\t/**\n\t * get the user meta data with the given user name.\n\t * \n\t * @param sName user name.\n\t * @return user meta data.\n\t */\n\tpublic MetaUser getMetaUser(String sName);\n\n\t/**\n\t * add new user to meta data. A new user can only be created if the SIARD\n\t * archive is open for modification of primary data.\n\t * \n\t * @param sName user name of the new user meta data.\n\t * @return user meta data.\n\t * @throws IOException if new user could be created.\n\t */\n\tpublic MetaUser createMetaUser(String sName) throws IOException;\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get number of role meta data entries.\n\t * \n\t * @return number of role meta data entries.\n\t */\n\tpublic int getMetaRoles();\n\n\t/**\n\t * get the role meta data with the given index.\n\t * \n\t * @param iRole index of role meta data.\n\t * @return role meta data.\n\t */\n\tpublic MetaRole getMetaRole(int iRole);\n\n\t/**\n\t * get the role meta data with the given role name.\n\t * \n\t * @param sName role name.\n\t * @return role meta data.\n\t */\n\tpublic MetaRole getMetaRole(String sName);\n\n\t/**\n\t * add new role meta data. A new role can only be created if the SIARD archive\n\t * is open for modification of primary data.\n\t * \n\t * @param sName role name of the new role meta data.\n\t * @param sAdmin name of administrator (user or role) of the new role.\n\t * @return role meta data.\n\t * @throws IOException if new user could be created.\n\t */\n\tpublic MetaRole createMetaRole(String sName, String sAdmin) throws IOException;\n\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * get number of privilege meta data entries.\n\t * \n\t * @return number of privilege meta data entries.\n\t */\n\tpublic int getMetaPrivileges();\n\n\t/**\n\t * get the privilege meta data with the given index.\n\t * \n\t * @param iPrivilege index of privilege meta data.\n\t * @return privilege meta data.\n\t */\n\tpublic MetaPrivilege getMetaPrivilege(int iPrivilege);\n\n\t/**\n\t * get the privilege meta data with the given content.\n\t * \n\t * @param sType type of privilege including ROLE privilege or ALL PRIVILEGES.\n\t * @param sObject object of privilege (or null for ROLE privilege).\n\t * @param sGrantor name of grantor of privilege (user or role).\n\t * @param sGrantee name od grantee of privilege (user or role).\n\t * @return privilege meta data.\n\t */\n\tpublic MetaPrivilege getMetaPrivilege(String sType, String sObject, String sGrantor, String sGrantee);\n\n\t/**\n\t * add new privilege meta data. A new privilege can only be created if the SIARD\n\t * archive is open for modification of primary data.\n\t * \n\t * @param sType type of privilege including ROLE privilege or ALL PRIVILEGES.\n\t * @param sObject privilege object (may be null for ROLE privilege)\n\t * @param sGrantor name of grantor (user or role).\n\t * @param sGrantee name of grantee (user or role).\n\t * @return privilge meta data.\n\t * @throws IOException if new user could be created.\n\t */\n\tpublic MetaPrivilege createMetaPrivilege(String sType, String sObject, String sGrantor, String sGrantee)\n\t\t\tthrows IOException;\n\n\t/*\n\t * ==================================================================== methods\n\t * ====================================================================\n\t */\n\t/*------------------------------------------------------------------*/\n\t/**\n\t * checks whether this is the meta data instance of a valid archive, i.e.\n\t * whether it contains at least one table containing at least one record of\n\t * primary data.\n\t * \n\t * @return true, if instance is valid.\n\t */\n\tpublic boolean isValid();\n\n}", "public interface TableMetaData {\n\n\t/** Adds normal column. */\n\tpublic void addColumn(final ColumnMetaData column);\n\n\t/** Adds primary key column. */\n\tpublic void addPrimaryKey(final ColumnMetaData column);\n\n\t/** Returns map of column meta data, keyed by the column label (the alias if provided in the query, otherwise the name). */\n\tpublic Map<String, ColumnMetaData> getColumns();\n\n\t/** Returns database name. */\n\tpublic String getDatabaseName();\n\n\t/** Returns ordered list of columns that are primary keys. */\n\tpublic List<ColumnMetaData> getPrimaryKeys();\n\n\t/**\n\t * Returns fully qualified table name in database-specific form for use in SQL statements. MySQL uses the form\n\t * <code>database.table</code>, for example <code>sakila.film</code>. PostgreSQL uses the form\n\t * <code>database.schema.table</code>, for example <code>sakila.public.film</code>.\n\t */\n\tpublic String getQualifiedTableName();\n\n\t/** Returns row alias. */\n\tpublic String getRowAlias();\n\t\n\t/** Returns row set alias. */\n\tpublic String getRowSetAlias();\n\t\n\t/**\n\t * Returns row alias.\n\t * \n * @deprecated As of 0.8.11 use {@link #getRowAlias()}\n\t */\n\t@Deprecated\n\tpublic String getTableAlias();\n\n\t/** Returns table name. */\n\tpublic String getTableName();\n\n\t/** Returns role of table in the SQL Resource. */\n\tpublic TableRole getTableRole();\n\n\t/** Returns true if the SQL Resource role is child. */\n\tpublic boolean isChild();\n\n\t/** Returns true if the SQL Resource role is parent. */\n\tpublic boolean isParent();\n\n\t/** Sets all the row and row set aliases. */\n\tpublic void setAliases(final String alias, final String rowAlias, final String rowSetAlias);\n\n\t/** Sets attributes. */\n\tpublic void setAttributes(final String tableName, final String qualifedTableName,\n\t\t\tfinal String databaseName, final TableRole tableRole);\n\n\t/**\n\t * Sets table alias.\n\t * \n * @deprecated As of 0.8.11 use {@link #setAliases(String, String, String)}\n\t */\n\t@Deprecated\n\tpublic void setTableAlias(final String tableAlias);\n\t\n\t/** Represents all of the roles a table may plan in a SQL Resource. */\n\t@XmlType(namespace = \"http://restsql.org/schema\")\n\tpublic enum TableRole {\n\t\tChild, ChildExtension, Join, Parent, ParentExtension, Unknown;\n\t}\n}", "@Override\n\tpublic X3DMetadataObject getMetadata();", "public MetaData getMetaData();", "public interface PropertyManager extends Manager {\n\t/**\n\t * The attribute \"attr\" has been added (instantiated for the first time).\n\t * \n\t * @param component\n\t * . The component (Spec, Implem, Instance) holding that\n\t * attribute.\n\t * @param attr\n\t * . The attribute name.\n\t * @param newValue\n\t * . The new value of that attribute.\n\t */\n\tpublic void attributeAdded(Component component, String attr, String newValue);\n\n\t/**\n\t * The attribute \"attr\" has been modified.\n\t * \n\t * @param component\n\t * . The component (Spec, Implem, Instance) holding that\n\t * attribute.\n\t * @param attr\n\t * . The attribute name.\n\t * @param newValue\n\t * . The new value of that attribute.\n\t * @param oldValue\n\t * . The previous value of that attribute.\n\t */\n\tpublic void attributeChanged(Component component, String attr, String newValue, String oldValue);\n\n\t/**\n\t * The attribute \"attr\" has been removed.\n\t * \n\t * @param component\n\t * . The component (Spec, Implem, Instance) holding that\n\t * attribute.\n\t * @param attr\n\t * . The attribute name.\n\t * @param oldValue\n\t * . The previous value of that attribute.\n\t */\n\tpublic void attributeRemoved(Component component, String attr, String oldValue);\n}", "public interface Property {\n /**\n * @return Type of the property.\n */\n PropertyType getPropertyType();\n\n /**\n * Gets propertyInfo of this property.\n *\n * @return PropertyInfo or null, if the property is not part of any model; and thus it has no info associated\n */\n PropertyInfo getPropertyInfo();\n\n /**\n * Casts the property value safely, possibly to more specific type.\n *\n * @param <T> expected type of a value (must be same type or supertype of the type defined in the propertyInfo of this property)\n * @param clazz clazz which represents type of a property value\n * @return property value\n * @throws UnsupportedPropertyException if this property represents another than requested, thus it is not possible to cast property\n * to the requested type.\n */\n <T extends Property> T cast(Class<T> clazz) throws UnsupportedPropertyException;\n\n void setPropertyInfo(PropertyInfo propertyInfo);\n\n /**\n * Gets Model which owns this property.\n *\n * @return Model which owns this property or null, if the preperty is not part of any model; and thus it has no model associated.\n */\n Model getModel();\n\n /**\n * Sets a model which owns this property.\n *\n * @param model model which owns this property.\n */\n void setModel(Model model);\n\n /**\n * This method performs validation of this property and determines if property is valid.\n *\n * @return true if and only if the content of a property is valid.\n */\n boolean isValid();\n\n /**\n * This method performs validation of this property and in case that property is invalid it returns error\n * description.\n *\n * @return validation error object or null if this property is valid.\n */\n ValidationError getValidationError();\n\n /**\n * Adds a listener for this property.\n *\n * @param listener listener of the property.\n */\n void addPropertyListener(PropertyListener listener);\n\n /**\n * Removes a listener for this property.\n *\n * @param listener listener to be removed\n */\n void removePropertyListener(PropertyListener listener);\n}", "public abstract Object getMetadata(String key);", "public AbstractMetadata getMetadata() {\n\t\treturn metadata;\n\t}", "public interface IStorageManager {\n public IStorageBook getValue(String key);\n\n public void addStorageBook(String key, IStorageBook book);\n\n public void clear();\n\n public boolean isEmpty();\n\n public void remove(String key);\n}", "public Map<String, Object> getMetadata() {\n return metadata;\n }", "interface Storage {\n String getStorageSize() ;\n}", "public SongMetada getMetadata() {\n\t\treturn metadata;\n\t}", "public interface IStorageManager {\n\n\tpublic String getStorageType();\n\n\tpublic String getStorageId();\n\n\tpublic void initialize(String configFile) throws Exception;\n}", "KeyMetadata metadata();", "public interface SqlResourceMetaData {\r\n\r\n\tpublic List<ColumnMetaData> getAllReadColumns();\r\n\r\n\tpublic TableMetaData getChild();\r\n\r\n\tpublic List<TableMetaData> getChildPlusExtTables();\r\n\r\n\tpublic List<ColumnMetaData> getChildReadColumns();\r\n\r\n\tpublic TableMetaData getJoin();\r\n\r\n\tpublic List<TableMetaData> getJoinList();\r\n\r\n\tpublic int getNumberTables();\r\n\r\n\tpublic TableMetaData getParent();\r\n\r\n\tpublic List<TableMetaData> getParentPlusExtTables();\r\n\r\n\tpublic List<ColumnMetaData> getParentReadColumns();\r\n\r\n\tpublic Map<String, TableMetaData> getTableMap();\r\n\r\n\tpublic List<TableMetaData> getTables();\r\n\r\n\tpublic List<TableMetaData> getWriteTables(final Type requestType, final boolean doParent);\r\n\r\n\tpublic boolean hasJoinTable();\r\n\r\n\tpublic boolean hasMultipleDatabases();\r\n\r\n\tpublic boolean isHierarchical();\r\n\r\n\tpublic void init(final String sqlResourceName, final SqlResourceDefinition definition, final SqlBuilder sqlBuilder)\r\n\t\t\tthrows SqlResourceException;\r\n\r\n\tpublic String toHtml();\r\n\r\n\tpublic String toXml();\r\n}", "public interface IStorage extends Serializable {\n\n /**\n * Removes all stored values.\n */\n void clear();\n\n /**\n * Removes the value stored under the given key (if one exists).\n *\n * @return {@code true} if a successful.\n */\n StoragePrimitive remove(String key);\n\n /**\n * Adds all mappings in {@code val} to this storage object, overwriting any existing values.\n *\n * @see #addAll(String, IStorage)\n */\n void addAll(IStorage val);\n\n /**\n * Adds all mappings in {@code val} to this storage object, where all keys are prefixed with\n * {@code prefix}. Any existing values are overwritten.\n */\n void addAll(String prefix, IStorage val);\n\n /**\n * @return All stored keys.\n * @see #getKeys(String)\n */\n Collection<String> getKeys();\n\n /**\n * @return A collection of all stored keys matching the given prefix, or all stored keys if the prefix is\n * {@code null}.\n */\n Collection<String> getKeys(@Nullable String prefix);\n\n /**\n * @return {@code true} if this storage object contains a mapping for the given key.\n */\n boolean contains(String key);\n\n /**\n * Returns raw value stored under the given key.\n */\n StoragePrimitive get(String key);\n\n /**\n * Returns value stored under the given key converted to a boolean.\n *\n * @param defaultValue This value is returned instead if no value was stored under the given key, or if\n * the value couldn't be converted to the desired return type.\n * @see #getString(String, String)\n */\n boolean getBoolean(String key, boolean defaultValue);\n\n /**\n * Convenience method for retrieving a 32-bit signed integer. This is equivalent to calling\n * {@link IStorage#getDouble(String, double)} and casting the result to int.\n *\n * @see #getDouble(String, double)\n */\n int getInt(String key, int defaultValue);\n\n /**\n * Convenience method for retrieving a 64-bit signed integer. This is equivalent to calling\n * {@link IStorage#getDouble(String, double)} and casting the result to long.\n *\n * @see #getDouble(String, double)\n */\n long getLong(String keyTotal, long defaultValue);\n\n /**\n * Returns value stored under the given key converted to a double.\n *\n * @param defaultValue This value is returned instead if no value was stored under the given key, or if\n * the value couldn't be converted to the desired return type.\n * @see #getString(String, String)\n */\n double getDouble(String key, double defaultValue);\n\n /**\n * Returns value stored under the given key converted to a string.\n *\n * @param defaultValue This value is returned instead if no value was stored under the given key.\n */\n String getString(String key, String defaultValue);\n\n /**\n * Stores a value under the given key. If {@code null}, removes any existing mapping for the given key\n * instead.\n */\n void set(String key, @Nullable StoragePrimitive val);\n\n /**\n * Stores a boolean value under the given key.\n *\n * @see #setString(String, String)\n */\n void setBoolean(String key, boolean val);\n\n /**\n * Convenience method for storing an integer. All values are stored as double-precision floating point\n * internally.\n *\n * @see #setDouble(String, double)\n */\n void setInt(String key, int val);\n\n /**\n * Convenience method for storing a long. All values are stored as double-precision floating point\n * internally.\n *\n * @see #setDouble(String, double)\n */\n void setLong(String key, long val);\n\n /**\n * Stores a double-precision floating point value under the given key.\n *\n * @see #setString(String, String)\n */\n void setDouble(String key, double val);\n\n /**\n * Stores a string value under the given key.\n *\n * @param val The value to store. If {@code null}, removes any existing mapping for the given key instead.\n */\n void setString(String key, String val);\n\n}", "public interface IPropertyInfo extends IAttributedFeatureInfo, IIntrinsicTypeReference\n{\n /**\n * @return true if the property is readable given the visibility constraint passed in,\n * false otherwise.\n */\n public boolean isReadable();\n\n /**\n * @return True if the property is writable given the visibility constraint passed in,\n * false otherwise.\n */\n public boolean isWritable();\n\n /**\n * @param whosAskin The type querying the property writability. For example, passing in the type the property is on will\n * allow properties that have private access in the setter to be written to. Passing in an unrelated type will only\n * allow properties that are public to be written to.\n *\n * @return True if the property is writable given the visibility constraint passed in,\n * false otherwise.\n */\n public boolean isWritable( IType whosAskin );\n\n /**\n * @return the PropertyAccessor (for getting and setting) this property.\n */\n public IPropertyAccessor getAccessor();\n\n public IPresentationInfo getPresentationInfo();\n}", "OStorage getStorage();", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "@Override\n public Object setMetadata(String key, Object value) {\n return null;\n }", "public interface PropertiesModel {\n\n /**\n * Clears all defined properties from this model, but does not modify the set of observers.\n */\n void clear();\n\n /**\n * Adds a new {@link Property} to this model.\n * <p>\n * All properties must have case insensitive unique names and aliases. If a property with the same name (or names)\n * exists, it will be replaced by this property.\n *\n * @param property The property to be added.\n */\n void add(Property property);\n\n /**\n * Sets the value bound to the identified property without notifying observers that the value has been changed. This\n * method is intended to handle cases where setting a value could cause a cycle in the notification chain or\n * otherwise produce unintended side effects.\n * <p>\n * In most situations, {@link #set(ExecutionContext, String, Value)} is more appropriate.\n *\n * @param context The execution context\n * @param propertyName The case insensitive name of the property\n * @param propertyValue The value to set the property to.\n * @throws HtUncheckedSemanticException Thrown if no such property exists.\n */\n void setQuietly(ExecutionContext context, String propertyName, Value propertyValue);\n\n /**\n * Sets the value bound to the identified property. This method is intended for WyldCard-internal (i.e., not\n * scripted) access to properties.\n *\n * @param context The execution context\n * @param propertyName The case insensitive name of the property\n * @param propertyValue The value to set the property to.\n * @throws HtUncheckedSemanticException Thrown if no such property exists.\n */\n void set(ExecutionContext context, String propertyName, Value propertyValue);\n\n /**\n * Attempts to set the value bound to the identified property, throwing an {@link HtException} when the value cannot\n * by set, either because it doesn't exist, it isn't writable, or an error occurred writing it. This method is\n * intended for use by script/programmatic-access to property values.\n *\n * @param context The execution context\n * @param propertyName The case insensitive name of the property to be set\n * @param propertyValue The value to be written into the property\n * @throws HtException Thrown if the property doesn't exist, cannot be written, or an error occurs writing to it.\n */\n void trySet(ExecutionContext context, String propertyName, Value propertyValue) throws HtException;\n\n /**\n * Gets the value bound to the identified property. This method is intended for WyldCard-internal (i.e., not\n * scripted) access to properties.\n *\n * @param context The execution context\n * @param propertyName The case insensitive name of the property (or one of its aliases).\n * @return The value bound to the property\n * @throws IllegalStateException Thrown if an error occurs while evaluating the property.\n * @throws IllegalArgumentException Thrown if the property does not exist.\n */\n Value get(ExecutionContext context, String propertyName);\n\n /**\n * Attempts to get the value bound to the identified property, throwing an {@link HtException} when the value\n * cannot be retrieved. This method is intended for use by script/programmatic-access to property values.\n *\n * @param context The execution context.\n * @param propertyName The case insensitive name of the property (or one of its aliases).\n * @return The value bound to this property.\n * @throws HtException Thrown if the property cannot be retreived, perhaps because it doesn't exist or an error\n * occurred while trying to evaluate it.\n */\n Value tryGet(ExecutionContext context, String propertyName) throws HtException;\n\n /**\n * Returns the property identified by the given name, or null, if no such property exists.\n *\n * @param propertyName The case insensitive name of the property (or one of its aliases).\n * @return The identified property, or null if it doesn't exist.\n */\n Property findProperty(String propertyName);\n\n /**\n * Determines if a property identified by a given name exists.\n *\n * @param propertyName The case insensitive name of the property (or one of its aliases).\n * @return True if the property exists, false otherwise.\n */\n boolean hasProperty(String propertyName);\n\n /**\n * Adds an observer of property value changes. Note that observers are always notified of property changes on the\n * Swing dispatch thread.\n *\n * @param observer The observer\n */\n void addPropertyChangedObserver(PropertyChangeObserver observer);\n\n /**\n * Adds an observer of property value changes and immediately fires the\n * {@link PropertyChangeObserver#onPropertyChanged(ExecutionContext, PropertiesModel, String, Value, Value)} method\n * for each property defined in the model.\n * <p>\n * This is a convenience method to use instead of {@link #addPropertyChangedObserver(PropertyChangeObserver)}\n * followed immediately by {@link #notifyPropertyChangedObserver(ExecutionContext, PropertyChangeObserver, boolean)}.\n *\n * @param context The execution context\n * @param observer The property change observer.\n */\n void addPropertyChangedObserverAndNotify(ExecutionContext context, PropertyChangeObserver observer);\n\n /**\n * Invokes the {@link PropertyChangeObserver#onPropertyChanged(ExecutionContext, PropertiesModel, String, Value, Value)} method for\n * all properties on the provided observer. Useful for listeners that wish to initialize themselves with the current\n * state of the model.\n *\n * @param context The execution context.\n * @param observer This listener to be notified; does not have to be an active listener of this model.\n * @param includeComputedGetters When false, do not notify computed/synthesized properties\n */\n void notifyPropertyChangedObserver(ExecutionContext context, PropertyChangeObserver observer, boolean includeComputedGetters);\n\n /**\n * Removes an observer of property value changes; this listener will not be notified of future changes.\n *\n * @param observer The property change observer\n */\n void removePropertyChangedObserver(PropertyChangeObserver observer);\n}", "ArrayList<PropertyMetadata> getProperties();", "public interface ColumnMetaData {\n\n\t/**\n\t * The uniqueness level of a column data type.\n\t */\n\tenum Uniqueness {\n\t\t/**\n\t\t * No limitations. Multiple instances of a single column meta data type can be attached to a table or even a\n\t\t * single column.\n\t\t */\n\t\tNONE,\n\n\t\t/**\n\t\t * Multiple instances of a single column meta data type can be attached to a table but at most one per column.\n\t\t */\n\t\tCOLUMN,\n\n\t\t/**\n\t\t * At most one instance of the column meta data type can be attached to a table.\n\t\t */\n\t\tTABLE\n\t}\n\n\t/**\n\t * The unique type id of the column meta data.\n\t *\n\t * @return the type id\n\t */\n\tString type();\n\n\t/**\n\t * The uniqueness level of the meta data. Defaults to {@link Uniqueness#NONE} (no restrictions).\n\t *\n\t * @return the uniqueness level\n\t */\n\tdefault Uniqueness uniqueness() {\n\t\treturn Uniqueness.NONE;\n\t}\n\n}", "public DataStorage getDataStorage();", "public interface IWritableStorage extends IStorage {\n\n\tpublic void setContents(InputStream source, IProgressMonitor monitor) throws CoreException;\n\t\n\tpublic IStatus validateEdit(Object context);\n}", "public interface Property {\n\n\t/**\n\t * <p>\n\t * Retrieves the name of the property.\n\t * </p>\n\t * \n\t * @return The property's name\n\t */\n\tPropertyName getName();\n\n\t/**\n\t * <p>\n\t * Adds the specified values to the statements of this property.\n\t * </p>\n\t * \n\t * @param value\n\t * The value to be added\n\t * @return A reference to the updated property\n\t */\n\tProperty addValue(PropertyValue<?, ?> value);\n\n\t/**\n\t * <p>\n\t * Adds the specified values to the statements of this property, after\n\t * removing all current values.\n\t * </p>\n\t * \n\t * @param value\n\t * The value to be added\n\t * @return A reference to the updated property\n\t */\n\tProperty clearAndAddValue(PropertyValue<?, ?> value);\n\n\t/**\n\t * <p>\n\t * Removes the specified value from the statements of this property.\n\t * <p>\n\t * \n\t * @param value\n\t * The value to be removed\n\t * @return A reference to the updated property\n\t */\n\tProperty removeValue(PropertyValue<?, ?> value);\n\n\t/**\n\t * <p>\n\t * Modifies a property statement changing its value.\n\t * </p>\n\t * \n\t * @param oldValue\n\t * The value that the property currently has\n\t * @param newValue\n\t * The new value that will replace the actual one\n\t * @return A reference to the updated property\n\t */\n\tProperty changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);\n\n\t/**\n\t * <p>\n\t * Lists all the values associated to this property.\n\t * </p>\n\t * \n\t * @return All values that this property has\n\t */\n\tPropertyValue<?, ?>[] values();\n\n\t/**\n\t * <p>\n\t * Check if the provided value is associated to this property.\n\t * </p>\n\t * \n\t * @param value\n\t * The value to be checked\n\t * @return True if associated, false otherwise\n\t */\n\tboolean hasValue(PropertyValue<?, ?> value);\n\n\t/**\n\t * <p>\n\t * Clones this entity.\n\t * </p>\n\t * \n\t * @return The clone entity\n\t */\n\tProperty clone();\n\n\t/**\n\t * <p>\n\t * Checks if this property extends the provided one.\n\t * </p>\n\t * \n\t * @param other\n\t * Another property to be checked against\n\t * @return True if extends, false otherwise\n\t */\n\tboolean isExtensionOf(Property other);\n\n\t/**\n\t * <p>\n\t * Pattern VISITOR.\n\t * </p>\n\t * \n\t * @param visitor\n\t * The visitor\n\t */\n\tvoid accept(LSAVisitor visitor);\n\n\t/**\n\t * <p>\n\t * Checks if the property is synthetic.\n\t * </p>\n\t * <p>\n\t * Synthetic Properties cannot be modified by a user agent.\n\t * </p>\n\t * \n\t * @return True if synthetic, false otherwise\n\t */\n\tboolean isSynthetic();\n}", "@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}", "public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }", "public interface PCSMetadata {\n\n /* Met Fields */\n String APPLICATION_SUCCESS_FLAG = \"ApplicationSuccessFlag\";\n\n String ON_DISK = \"OnDisk\";\n\n String TAPE_LOCATION = \"TapeLocation\";\n\n String PRODUCTION_LOCATION = \"ProductionLocation\";\n\n String PRODUCTION_LOCATION_CODE = \"ProductionLocationCode\";\n\n String DATA_VERSION = \"DataVersion\";\n\n String DATA_PROVIDER = \"DataProvider\";\n\n String COLLECTION_LABEL = \"CollectionLabel\";\n\n String COMMENTS = \"Comments\";\n\n String EXECUTABLE_PATHNAMES = \"ExecutablePathnames\";\n\n String EXECUTABLE_VERSIONS = \"ExecutableVersions\";\n\n String PROCESSING_LEVEL = \"ProcessingLevel\";\n\n String JOB_ID = \"JobId\";\n\n String TASK_ID = \"TaskId\";\n\n String PRODUCTION_DATE_TIME = \"ProductionDateTime\";\n\n String INPUT_FILES = \"InputFiles\";\n\n String PGE_NAME = \"PGEName\";\n\n String OUTPUT_FILES = \"OutputFiles\";\n \n String TEST_TAG = \"TestTag\";\n\n String SUB_TEST_TAG = \"SubTestTag\";\n\n String TEST_LOCATION = \"TestLocation\";\n\n String TEST_COUNTER = \"TestCounter\";\n\n String TEST_DATE = \"TestDate\";\n \n String START_DATE_TIME = \"StartDateTime\";\n\n String END_DATE_TIME = \"EndDateTime\";\n\n}", "public interface Properties {\r\n\r\n\t/**\r\n\t * Returns the raw value of the key, or null if not found.\r\n\t */\r\n\tpublic Object getObject(String key);\r\n\t\r\n\t/**\r\n\t * Returns an untyped Iterable for iterating through the raw contents of an array. \r\n\t */\r\n\tpublic Iterable<Object> getObjects(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as a string, or default value if not found.\r\n\t */\r\n\tpublic String getString(String key, String defaultValue);\r\n\t\r\n\t/**\r\n\t * Returns a string Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<String> getStrings(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as a boolean, or default value if not found.\r\n\t */\r\n\tpublic Boolean getBoolean(String key, Boolean defaultValue);\r\n\t\r\n\t/**\r\n\t * Returns a boolean Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Boolean> getBooleans(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as an integer, or default value if not found.\r\n\t */\r\n\tpublic Integer getInteger(String key, Integer defaultValue);\r\n\t\r\n\t/**\r\n\t * Returns an integer Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Integer> getIntegers(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as a long, or default value if not found.\r\n\t */\r\n\tpublic Long getLong(String key, Long defaultValue);\r\n\r\n\t/**\r\n\t * Returns a long Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Long> getLongs(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as an float, or default value if not found.\r\n\t */\r\n\tpublic Float getFloat(String key, Float defaultValue);\r\n\t\r\n\t/**\r\n\t * Returns a float Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Float> getFloats(String key);\r\n\r\n\t\r\n\t\r\n\t/**\r\n\t * Returns the value of the key as a double, or default value if not found.\r\n\t */\r\n\tpublic Double getDouble(String key, Double defaultValue);\r\n\r\n\t\r\n\t/**\r\n\t * Returns a double Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Double> getDoubles(String key);\r\n\t\r\n\r\n\t\r\n\t/**\r\n\t * Returns a nested set of properties for the specified key, or default value if not found.\r\n\t */\r\n\tpublic Properties getPropertiesSet(String key, Properties defaultValue);\r\n\r\n\t/**\r\n\t * Returns a Properties Iterable for iterating through a list of values. \r\n\t */\r\n\tpublic Iterable<Properties> getPropertiesSets(String key);\r\n\t\r\n}", "public interface Storage extends ClientListStorage, UserPrefsStorage, PolicyListStorage {\n\n @Override\n Optional<UserPrefs> readUserPrefs() throws DataConversionException, IOException;\n\n @Override\n void saveUserPrefs(ReadOnlyUserPrefs userPrefs) throws IOException;\n\n @Override\n Path getClientListFilePath();\n\n @Override\n Optional<ReadOnlyClientList> readClientList() throws DataConversionException, IOException;\n\n @Override\n void saveClientList(ReadOnlyClientList clientList) throws IOException;\n\n @Override\n Path getPolicyListFilePath();\n\n @Override\n Optional<PolicyList> readPolicyList() throws DataConversionException, IOException;\n\n @Override\n void savePolicyList(PolicyList policyList) throws IOException;\n}", "private void storeProperties() {\n storeValue(Variable.MODE);\n storeValue(Variable.ITEM);\n storeValue(Variable.DEST_PATH);\n storeValue(Variable.MAXTRACKS_ENABLED);\n storeValue(Variable.MAXTRACKS);\n storeValue(Variable.MAXSIZE_ENABLED);\n storeValue(Variable.MAXSIZE);\n storeValue(Variable.MAXLENGTH_ENABLED);\n storeValue(Variable.MAXLENGTH);\n storeValue(Variable.ONE_MEDIA_ENABLED);\n storeValue(Variable.ONE_MEDIA);\n storeValue(Variable.CONVERT_MEDIA);\n storeValue(Variable.CONVERT_COMMAND);\n storeValue(Variable.NORMALIZE_FILENAME);\n storeValue(Variable.RATING_LEVEL);\n }", "public interface IQueryMetadataInterface<F extends IFunctionLibrary, \n S extends IStoredProcedureInfo, \n Q extends IQueryNode, \n M extends IMappingNode> {\n\n /**\n * Unknown cardinality.\n */\n int UNKNOWN_CARDINALITY = -1;\n\n /**\n * Default empty set of properties\n */\n Properties EMPTY_PROPS = new Properties();\n\n /**\n * Support constants for metadata\n */\n public class SupportConstants {\n\n private SupportConstants() {}\n\n /**\n * Support contants for groups\n */\n public static class Group {\n private Group() {}\n\n @SuppressWarnings( \"javadoc\" )\n public static final int UPDATE = 0; \n }\n\n /**\n * Support constants for elements\n */\n @SuppressWarnings( \"javadoc\" )\n public static class Element {\n private Element() {}\n \n public static final int SELECT = 0;\n public static final int SEARCHABLE_LIKE = 1;\n public static final int SEARCHABLE_COMPARE = 2;\n public static final int SEARCHABLE_EQUALITY = 3;\n public static final int NULL = 4;\n public static final int UPDATE = 5;\n public static final int DEFAULT_VALUE = 7;\n public static final int AUTO_INCREMENT = 8;\n public static final int CASE_SENSITIVE = 9;\n public static final int NULL_UNKNOWN = 10;\n public static final int SIGNED = 11;\n }\n\n }\n\n /**\n * @return the version of teiid for which this metadata is applicable\n */\n ITeiidServerVersion getTeiidVersion();\n\n /**\n * Get the metadata-implementation identifier object for the given element name. \n * \n * @param elementName Fully qualified element name\n * \n * @return Metadata identifier for this element\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getElementID(String elementName) throws Exception;\n\n /**\n * Get the metadata-implementation identifier object for the given group name. \n * \n * @param groupName Fully qualified group name\n * \n * @return Metadata identifier for this group\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getGroupID(String groupName) throws Exception;\n\n /**\n * Get a collection of group names that match the partially qualified group name.\n * \n * @param partialGroupName Partially qualified group name\n * \n * @return A collection of groups whose names are matched by the partial name.\n * \n * @throws Exception implementation detected a problem during the request\n */\n Collection getGroupsForPartialName(String partialGroupName) throws Exception;\n\n /**\n * Get the metadata-implementation identifier object for the model containing the \n * specified group or element ID.\n * \n * @param groupOrElementID Metadata group or element ID \n * \n * @return Metadata identifier for the model\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getModelID(Object groupOrElementID) throws Exception;\n\n /**\n * Get the fully qualified (unique) name of the metadata identifier specified. This metadata\n * identifier was previously returned by some other method.\n * \n * @param metadataID Metadata identifier\n * \n * @return Metadata identifier for this model\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getFullName(Object metadataID) throws Exception;\n\n /**\n * Get the name of the metadata identifier specified. This metadata\n * identifier was previously returned by some other method.\n * \n * @param metadataID Metadata identifier\n * \n * @return Metadata identifier for this model\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getName(Object metadataID) throws Exception;\n\n /**\n * Get list of metadata element IDs for a group ID\n * \n * @param groupID Group ID\n * \n * @return List of Object, where each object is a metadata elementID for element within group\n * \n * @throws Exception implementation detected a problem during the request\n */\n List getElementIDsInGroupID(Object groupID) throws Exception;\n\n /**\n * Get containing group ID given element ID\n * \n * @param elementID Element ID\n * \n * @return Group ID containing elementID\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getGroupIDForElementID(Object elementID) throws Exception;\n\n /**\n * Get the the StoredProcedureInfo based on the fully qualified procedure name\n * \n * @param fullyQualifiedProcedureName the fully qualified stored procedure name\n * \n * @return StoredProcedureInfo containing the runtime model id\n * \n * @throws Exception implementation detected a problem during the request\n */\n IStoredProcedureInfo getStoredProcedureInfoForProcedure(String fullyQualifiedProcedureName) throws Exception;\n\n /**\n * Get the element type name for an element symbol. These types are defined in \n * {@link IDataTypeManagerService}.\n * \n * @param elementID\n * \n * @return The element data type\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getElementType(Object elementID) throws Exception;\n\n /**\n * Get the element's default value for an element symbol\n * \n * @param elementID The element ID\n * \n * @return The default value of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n @Updated(version=Version.TEIID_8_12_4)\n String getDefaultValue(Object elementID) throws Exception;\n\n /**\n * Get the element's minimum value for an element symbol\n * \n * @param elementID The element ID\n * \n * @return The minimum value of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getMinimumValue(Object elementID) throws Exception;\n\n /**\n * Get the element's default value for an element symbol\n * \n * @param elementID The element ID\n * \n * @return The maximum value of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getMaximumValue(Object elementID) throws Exception;\n\n /**\n * Get the element's position in the group\n * @param elementID The element ID\n * \n * @return The position of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getPosition(Object elementID) throws Exception;\n\n /**\n * Get the element's precision\n * \n * @param elementID The element ID\n * \n * @return The precision of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getPrecision(Object elementID) throws Exception;\n\n /**\n * Get the element's scale\n * \n * @param elementID The element ID\n * \n * @return The scale of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getScale(Object elementID) throws Exception;\n\n /**\n * Get the element's radix\n * \n * @param elementID The element ID\n * \n * @return The radix of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getRadix(Object elementID) throws Exception;\n\n /**\n * Get the element's format\n * \n * @param elementID The element ID\n * \n * @return The format of the element\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getFormat(Object elementID) throws Exception;\n\n /**\n * Get the number of distinct values for this column. Negative values (typically -1)\n * indicate that the NDV is unknown. Only applicable for physical columns.\n * \n * @param elementID The element ID\n * \n * @return The number of distinct values of this element in the data source\n * \n * @throws Exception implementation detected a problem during the request\n */\n float getDistinctValues(Object elementID) throws Exception;\n\n /**\n * Get the number of distinct values for this column. Negative values (typically -1)\n * indicate that the NDV is unknown. Only applicable for physical columns.\n * \n * @param elementID The element ID\n * \n * @return The number of distinct values of this element in the data source\n * \n * @throws Exception implementation detected a problem during the request\n */\n float getNullValues(Object elementID) throws Exception;\n\n /**\n * Determine whether a group is virtual or not.\n * \n * @param groupID\n * \n * @return True if virtual\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean isVirtualGroup(Object groupID) throws Exception;\n\n /**\n * Determine whether a model is virtual or not.\n * \n * @param modelID\n * \n * @return True if virtual\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean isVirtualModel(Object modelID) throws Exception;\n\n /**\n * Get virtual plan for a group symbol.\n * \n * @param groupID\n * \n * @return Root of tree of QueryNode objects\n * \n * @throws Exception\n */\n IQueryNode getVirtualPlan(Object groupID) throws Exception;\n\n /**\n * Get procedure defining the insert plan for this group.\n * \n * @param groupID\n * \n * @return A string giving the procedure for inserts.\n * \n * @throws Exception\n */\n String getInsertPlan(Object groupID) throws Exception;\n\n /**\n * Get procedure defining the update plan for this group.\n * \n * @param groupID\n * \n * @return A string giving the procedure for inserts.\n * \n * @throws Exception\n */\n String getUpdatePlan(Object groupID) throws Exception;\n\n /**\n * Get procedure defining the delete plan for this group.\n * \n * @param groupID\n * \n * @return A string giving the procedure for inserts.\n * \n * @throws Exception\n */\n String getDeletePlan(Object groupID) throws Exception;\n\n /**\n * Determine whether the specified model supports some feature. \n * \n * @param modelID Metadata identifier specifying the model\n * @param modelConstant\n * \n * @return True if model supports feature\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean modelSupports(Object modelID, int modelConstant) throws Exception;\n\n /**\n * Determine whether the specified group supports some feature. \n * \n * @param groupID Group metadata ID \n * @param groupConstant\n * \n * @return True if group supports feature\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean groupSupports(Object groupID, int groupConstant) throws Exception;\n\n /**\n * Determine whether the specified element supports some feature. \n * \n * @param elementID Element metadata ID\n * @param elementConstant\n * \n * @return True if element supports feature\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean elementSupports(Object elementID, int elementConstant) throws Exception;\n\n /**\n * Get all extension properties defined on this metadata object \n * \n * @param metadataID Typically element, group, model, or procedure\n * \n * @return All extension properties for this object or null for none\n * \n * @throws Exception implementation detected a problem during the request\n */\n Properties getExtensionProperties(Object metadataID) throws Exception;\n\n /**\n * Get the max set size for the specified model.\n * @param modelID Metadata identifier specifying model\n * \n * @return Maximum set size\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getMaxSetSize(Object modelID) throws Exception;\n\n /**\n * Get the indexes for the specified group \n * \n * @param groupID Metadata identifier specifying group\n * \n * @return Collection of Object (never null), each object representing an index\n * \n * @throws Exception implementation detected a problem during the request\n */\n Collection getIndexesInGroup(Object groupID) throws Exception;\n\n /**\n * Get the unique keys for the specified group (primary and unique keys)\n * \n * @param groupID Metadata identifier specifying group\n * \n * @return Collection of Object (never null), each object representing a unique key\n * \n * @throws Exception implementation detected a problem during the request\n */\n Collection getUniqueKeysInGroup(Object groupID) throws Exception;\n\n /**\n * Get the foreign keys for the specified group\n * \n * @param groupID Metadata identifier specifying group\n * \n * @return Collection of Object (never null), each object representing a key\n * \n * @throws Exception implementation detected a problem during the request\n */\n Collection getForeignKeysInGroup(Object groupID) throws Exception;\n\n /**\n * Get the corresponding primary key ID for the specified foreign\n * key ID\n * \n * @param foreignKeyID Metadata identifier of a foreign key\n * \n * @return Metadata ID of the corresponding primary key\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getPrimaryKeyIDForForeignKeyID(Object foreignKeyID) throws Exception;\n\n /**\n * Get the access patterns for the specified group\n * \n * @param groupID Metadata identifier specifying group\n * \n * @return Collection of Object (never null), each object representing an access pattern\n * \n * @throws Exception implementation detected a problem during the request\n */\n Collection getAccessPatternsInGroup(Object groupID) throws Exception;\n\n /**\n * Get the elements in the index\n * \n * @param index Index identifier, as returned by {@link #getIndexesInGroup}\n * \n * @return List of Object, where each object is a metadata element identifier\n * \n * @throws Exception implementation detected a problem during the request\n */\n List getElementIDsInIndex(Object index) throws Exception;\n\n /**\n * Get the elements in the key\n * \n * @param key Key identifier, as returned by {@link #getUniqueKeysInGroup}\n * \n * @return List of Object, where each object is a metadata element identifier\n * \n * @throws Exception implementation detected a problem during the request\n */\n List getElementIDsInKey(Object key) throws Exception;\n\n /**\n * Get the elements in the access pattern\n * \n * @param accessPattern access pattern identifier, as returned by {@link #getAccessPatternsInGroup}\n * \n * @return List of Object, where each object is a metadata element identifier\n * \n * @throws Exception implementation detected a problem during the request\n */\n List getElementIDsInAccessPattern(Object accessPattern) throws Exception;\n\n /**\n * Determine whether a group is an XML virtual document.\n * \n * @param groupID Group to check\n * \n * @return True if group is an XML virtual document\n * \n * @throws Exception\n */\n boolean isXMLGroup(Object groupID) throws Exception;\n \n /**\n * Return a mapping node from the given groupID\n * \n * @param groupID\n * @return mapping node\n * @throws Exception\n */\n IMappingNode getMappingNode(Object groupID) throws Exception;\n\n /**\n * Get the currently connected virtual database name. If the current metadata is not\n * virtual-database specific, then null should be returned.\n * \n * @return Name of current virtual database\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getVirtualDatabaseName() throws Exception;\n\n /**\n * Return a list of all the temp groups used in this document.\n * \n * @param groupID XML virtual document groupID \n * \n * @return List of all the temp groups used in this document.\n * \n * @throws Exception\n */\n <T> Collection<T> getXMLTempGroups(Object groupID) throws Exception;\n\n /**\n * Return the cardinality for this group\n * \n * @param groupID Metadata identifier specifying group\n * \n * @return cardinality for the given group. If unknown, return UNKNOWN_CARDINALITY. \n * \n * @throws Exception\n */\n float getCardinality(Object groupID) throws Exception;\n\n /**\n * Get XML schemas for a document group.\n * \n * @param groupID Document group ID\n * \n * @return List of String where each string is an XML schema for the document\n * \n * @throws Exception\n */\n List getXMLSchemas(Object groupID) throws Exception;\n\n /**\n * Get the name in source of the metadata identifier specified. This metadata\n * identifier was previously returned by some other method.\n * \n * @param metadataID Metadata identifier\n * \n * @return Name in source as a string.\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getNameInSource(Object metadataID) throws Exception;\n\n /**\n * Get the element length for a given element ID. These types are defined in \n * {@link IDataTypeManagerService}.\n * \n * @param elementID The element ID\n * \n * @return The element length\n * \n * @throws Exception implementation detected a problem during the request\n */\n int getElementLength(Object elementID) throws Exception;\n\n /**\n * Determine whether given virtual group has an associated <i>Materialization</i>.\n * A Materialization is a cached version of the representation of a virtual group. \n * \n * @param groupID the groupID of the virtual group in question. \n * \n * @return True if given virtual group has been marked as having a Materialization.\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean hasMaterialization(Object groupID) throws Exception;\n\n /**\n * Accquire the physical group ID (the <i>Materialization</i>) for the given virtual\n * group ID, or <code>null</code> if the given virtual group has no Materialization.\n * \n * @param groupID the groupID of a virtual group that has a Materialization.\n * \n * @return The groupID of the physical group that is a Materialization of the given virtual group.\n *\n * @throws Exception implementation detected a problem during the request\n */\n Object getMaterialization(Object groupID) throws Exception;\n\n /**\n * Accquire the physical group ID that is used for the staging area for loading\n * (the <i>Materialization</i>) for the given virtual group ID, or <code>null</code>\n * if the given virtual group has no Materialization. \n * \n * @param groupID the groupID of a virtual group that has a Materialization.\n * \n * @return The groupID of the physical group that is the staging table for loading\n * the Materialization of the given virtual group.\n * \n * @throws Exception implementation detected a problem during the request\n */\n Object getMaterializationStage(Object groupID) throws Exception;\n\n /**\n * Get the native type of the element specified. This element\n * identifier was previously returned by some other method.\n * \n * @param elementID Element identifier\n * \n * @return Native type name\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getNativeType(Object elementID) throws Exception;\n\n /**\n * Determine whether this is a procedure\n * \n * @param groupID Group identifier\n * \n * @return True if it is an procedure; false otherwise\n * \n * @throws Exception implementation detected a problem during the request\n */\n boolean isProcedure(Object groupID) throws Exception;\n \n /**\n * Determine whether this stored procedure contains a procedure\n * \n * @param procedureName\n * \n * @return true if it does\n * @throws Exception\n */\n boolean hasProcedure(String procedureName) throws Exception;\n\n /**\n * Gets the resource paths of all the resources in the VDB. \n * \n * @return an array of resource paths of the resources in the VDB\n * \n * @throws Exception implementation detected a problem during the request\n */\n String[] getVDBResourcePaths() throws Exception;\n \n /**\n * Get the modelled type for the given elementID\n * \n * @param elementID\n * @return name of the modelled type\n * \n * @throws Exception\n */\n String getModeledType(Object elementID) throws Exception;\n\n /**\n * Get the modelled base type for the given elementID\n * \n * @param elementID\n * @return name of the modelled base type\n * \n * @throws Exception\n */\n String getModeledBaseType(Object elementID) throws Exception;\n\n /**\n * Get the modelled primitive type for the given elementID\n * \n * @param elementID\n * @return name of the modelled primitive type\n * \n * @throws Exception\n */\n String getModeledPrimitiveType(Object elementID) throws Exception;\n\n /**\n * Gets the contents of a VDB resource as a String.\n * \n * @param resourcePath a path returned by getVDBResourcePaths()\n * \n * @return the contents of the resource as a String.\n * \n * @throws Exception implementation detected a problem during the request\n */\n String getCharacterVDBResource(String resourcePath) throws Exception;\n\n /**\n * Gets the contents of a VDB resource in binary form.\n * \n * @param resourcePath a path returned by getVDBResourcePaths()\n * \n * @return the binary contents of the resource in a byte[]\n * \n * @throws Exception implementation detected a problem during the request\n */\n byte[] getBinaryVDBResource(String resourcePath) throws Exception;\n \n /**\n * Get the primery key of the given metadata id\n * \n * @param metadataID\n * \n * @return primary key\n */\n Object getPrimaryKey(Object metadataID);\n\n /**\n * Get the function library\n * \n * @return the function library\n */\n IFunctionLibrary getFunctionLibrary();\n\n /**\n * @param groupID\n *\n * @return true if object is temporary table, false otherwise\n * @throws Exception\n */\n boolean isTemporaryTable(Object groupID) throws Exception;\n\n /**\n * @param metadataID\n * @param key\n * @param value\n * @return previous value associated with key or null if no mapping had been added\n * @throws Exception\n */\n Object addToMetadataCache(Object metadataID, String key, Object value) throws Exception;\n\n /**\n * @param metadataID\n * @param key\n * @return metadata associated with the given key parameters\n * @throws Exception\n */\n Object getFromMetadataCache(Object metadataID, String key) throws Exception;\n\n /**\n * @param groupID\n * @return true if group is scalar, false otherwise\n * @throws Exception\n */\n boolean isScalarGroup(Object groupID) throws Exception;\n\n /**\n * @param modelId\n * @return true if model is multi source, false otherwise\n * @throws Exception\n */\n boolean isMultiSource(Object modelId) throws Exception;\n\n /**\n * @param elementId\n * @return true if a multi source element, false otherwise\n * @throws Exception\n */\n boolean isMultiSourceElement(Object elementId) throws Exception;\n\n /**\n * @return design time metadata, if applicable\n */\n IQueryMetadataInterface getDesignTimeMetadata();\n\n /**\n * @return session metadata, if applicable\n */\n IQueryMetadataInterface getSessionMetadata();\n\n /**\n * @return imported models\n */\n Set<String> getImportedModels();\n\n /**\n * @param language\n * @return script engine for language\n * @throws Exception\n */\n ScriptEngine getScriptEngine(String language) throws Exception;\n\n /**\n * @param metadataID\n * @return true if metadata id is variadic, false otherwise\n */\n boolean isVariadic(Object metadataID);\n\n /**\n * @param metadataID\n * @return map of function-based expression for metadata id\n */\n Map<Expression, Integer> getFunctionBasedExpressions(Object metadataID);\n\n /**\n * @param elementId\n * @return true if pseudo element, false otherwise\n */\n boolean isPseudo(Object elementId);\n\n /**\n * @param modelName\n * @return model id for model with given name\n * @throws Exception\n */\n Object getModelID(String modelName) throws Exception;\n\n /**\n * @param metadataID\n * @param key\n * @param checkUnqualified\n * @return extension property for given parameters\n */\n String getExtensionProperty(Object metadataID, String key, boolean checkUnqualified);\n\n /**\n * @return whether to use output name\n */\n boolean useOutputName();\n\n /**\n * @return short name use property\n */\n boolean findShortName();\n\n /**\n * @return the widen comparison to string flag\n */\n boolean widenComparisonToString();\n}", "@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();", "StorageProperties(Properties properties) {\n String fragmentPathKey = PREFIX + \"vault-fragment\";\n String networkPropsKey = PREFIX + \"network-properties\";\n\n this.fragmentPath = properties.getProperty(fragmentPathKey);\n this.networkPropertiesPath = properties.getProperty(networkPropsKey);\n\n Objects.requireNonNull(this.fragmentPath, \"Missing property: \" + fragmentPathKey);\n Objects.requireNonNull(this.networkPropertiesPath, \"Missing property: \" + networkPropsKey);\n }", "@ProviderType\npublic interface Properties {\n\n\t/**\n\t * Returns a new builder of {@link TextProperty}.\n\t *\n\t * @param id the {@link Property#getId()} of the property\n\t * @param name the {@link Property#getName()} of the property\n\t * @return the new instance\n\t */\n\tTextProperty.Builder text(@NotNull String id, @NotNull String name);\n\n\t/**\n\t * Returns a new builder of {@link TextareaProperty}.\n\t *\n\t * @param id the {@link Property#getId()} of the property\n\t * @param name the {@link Property#getName()} of the property\n\t * @return the new instance\n\t */\n\tTextareaProperty.Builder textarea(@NotNull String id, @NotNull String name);\n\n\t/**\n\t * Returns a new builder of {@link BooleanProperty}.\n\t *\n\t * @param id the {@link Property#getId()} of the property\n\t * @param name the {@link Property#getName()} of the property\n\t * @return the new instance\n\t */\n\tBooleanProperty.Builder bool(@NotNull String id, @NotNull String name);\n\n\t/**\n\t * Returns a new builder of {@link DateProperty}.\n\t *\n\t * @param id the {@link Property#getId()} of the property\n\t * @param name the {@link Property#getName()} of the property\n\t * @return the new instance\n\t */\n\tDateProperty.Builder date(@NotNull String id, @NotNull String name);\n}", "public Properties getImageMetaData() {\n\t\treturn null;\n\t}", "private void getMetadata() {\n masterRoot = AbstractMetadata.getAbstractedMetadata(sourceProduct);\n masterMetadata = new MetadataDoris(masterRoot);\n masterOrbit = new OrbitsDoris();\n masterOrbit.setOrbit(masterRoot);\n \n // SLAVE METADATA\n // hash table or just map for slaves - now it supports only a single sourceSlave image\n slaveRoot = sourceProduct.getMetadataRoot().getElement(AbstractMetadata.SLAVE_METADATA_ROOT).getElementAt(0);\n slaveMetadata = new MetadataDoris(slaveRoot);\n slaveOrbit = new OrbitsDoris();\n slaveOrbit.setOrbit(slaveRoot);\n }", "public edu.ustb.sei.mde.morel.resource.morel.IMorelMetaInformation getMetaInformation();", "public List<Metadata> getMetadata()\n\t{\n\t\treturn mMetadata;\n\t}", "@Required\n public void setAssetMetadataProperty(String assetMetadataProperty) {\n this.assetMetadataProperty = assetMetadataProperty;\n }", "public void defineMetadataTypes(Properties properties) throws ThinklabException {\r\n\t\t\r\n\t\tfor (Object p : properties.keySet()) {\r\n\t\t\t\r\n\t\t\tif (p.toString().startsWith(KBOX_METADATA_PREFIX)) {\r\n\t\t\t\tString cid = properties.getProperty(p.toString());\r\n\t\t\t\t\r\n\t\t\t\tString[] ss = p.toString().split(\"\\\\.\");\r\n\t\t\t\tString metadataName = ss[ss.length - 1];\r\n\t\t\t\t\r\n\t\t\t\tIConcept cc = KnowledgeManager.get().requireConcept(cid);\r\n\t\t\t\tmetadataTypes.put(metadataName, cc);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }", "<E extends CtElement> E putMetadata(String key, Object val);", "public MetaData getMetaData() {\n return metaData;\n }", "com.google.cloud.compute.v1.Metadata getMetadata();", "public interface AEntityProperty {\n}", "public interface Meta {\r\n\r\n /**\r\n * Get the Type of the OSM object\r\n * \r\n * @return the Type\r\n */\r\n @NotNull\r\n default Type getType() {\r\n throw new IllegalArgumentException(\"getType is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM elements tags\r\n * \r\n * @return a Map of KV tupels\r\n */\r\n @Nullable\r\n default Map<String, String> getTags() {\r\n throw new IllegalArgumentException(\"getTags is unsupported\");\r\n }\r\n\r\n /**\r\n * Get the OSM display name\r\n * \r\n * @return the OSM display name\r\n */\r\n String getUser();\r\n\r\n /**\r\n * Get the OSM id of the object\r\n * \r\n * @return the OSM id of the object\r\n */\r\n long getId();\r\n\r\n /**\r\n * Get the version of the object\r\n * \r\n * @return the version of the object\r\n */\r\n long getVersion();\r\n\r\n /**\r\n * Get the changeset id for this object\r\n * \r\n * @return the changeset id for this object\r\n */\r\n long getChangeset();\r\n\r\n /**\r\n * Get the timestamp (when this version of the object was created)\r\n * \r\n * @return the timestamp in seconds since the Unic EPOCH\r\n */\r\n long getTimestamp();\r\n\r\n /**\r\n * Get the state of the object\r\n * \r\n * @return a State\r\n */\r\n @NotNull\r\n State getState();\r\n\r\n /**\r\n * If the object is a Way check if it is closed\r\n * \r\n * @return true if the way is closed\r\n */\r\n boolean isClosed();\r\n\r\n /**\r\n * If the object is a Way return the number of way nodes\r\n * \r\n * @return the number of way nodes\r\n */\r\n int getNodeCount();\r\n\r\n /**\r\n * If the object is a Node return the number of ways it is a member of\r\n * \r\n * @return the number of ways the Node is a member of\r\n */\r\n int getWayCount();\r\n\r\n /**\r\n * If the object is a Relation return the number of members it has\r\n * \r\n * If not implemented this returns -1 which should always evaluate to false\r\n * \r\n * @return the number of members the Relation has\r\n */\r\n default int getMemberCount() {\r\n return Range.UNINITALIZED;\r\n }\r\n\r\n /**\r\n * If the object is a Way and closed return the area it covers\r\n * \r\n * @return the area it covers in m^2\r\n */\r\n int getAreaSize();\r\n\r\n /**\r\n * If the object is a Way return its length\r\n * \r\n * @return the the length in m\r\n */\r\n int getWayLength();\r\n\r\n /**\r\n * Get any roles the element has in Relations\r\n * \r\n * @return a Collection containing the roles\r\n */\r\n @NotNull\r\n Collection<String> getRoles();\r\n\r\n /**\r\n * Check if the element is selected\r\n * \r\n * @return true if selected\r\n */\r\n boolean isSelected();\r\n\r\n /**\r\n * Check if a relation has a member with role\r\n * \r\n * @param role the role\r\n * @return true if there is a member with the role\r\n */\r\n boolean hasRole(@NotNull String role);\r\n\r\n /**\r\n * Get a preset from a path specification\r\n * \r\n * @param presetPath the path\r\n * @return an Object that should be a instance of a preset for the syste,\r\n */\r\n @Nullable\r\n Object getPreset(@NotNull String presetPath);\r\n\r\n /**\r\n * Check if the object matches with a preset or a preset group\r\n * \r\n * @param preset the path to the preset or group\r\n * @return true if the object matches\r\n */\r\n boolean matchesPreset(@NotNull Object preset);\r\n\r\n /**\r\n * Check if the element is incomplete (this is not defined in the documentation)\r\n * \r\n * @return true if incomplete\r\n */\r\n boolean isIncomplete();\r\n\r\n /**\r\n * Check if the element is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInview();\r\n\r\n /**\r\n * Check if the element and all member elements is in the current view\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInview();\r\n\r\n /**\r\n * Check if the element is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isInDownloadedArea();\r\n\r\n /**\r\n * Check if the element and all member elements is in the downloaded areas\r\n * \r\n * @return true if in view\r\n */\r\n boolean isAllInDownloadedArea();\r\n\r\n /**\r\n * Check if the current element is a child of an element\r\n * \r\n * @param type type of the element\r\n * @param element the meta interface to the element\r\n * @param parents a List of elements\r\n * @return true if element is a child\r\n */\r\n default boolean isChild(@NotNull Type type, @NotNull Meta element, @NotNull List<Object> parents) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Check if the current element is a parent of an element\r\n * \r\n * @param type type of the element\r\n * @param meta the meta interface to the element\r\n * @param children a List of elements\r\n * @return true if element is a parent\r\n */\r\n default boolean isParent(@NotNull Type type, @NotNull Meta meta, @NotNull List<Object> children) {\r\n return false;\r\n }\r\n\r\n /**\r\n * Return a List of Elements that match the condition c\r\n * \r\n * This is necessary so that we can cache these results in the caller\r\n * \r\n * @param c the Condition\r\n * @return a List of elements\r\n */\r\n @NotNull\r\n default List<Object> getMatchingElements(@NotNull Condition c) {\r\n return new ArrayList<>();\r\n }\r\n \r\n /**\r\n * Get an Meta implementing object \r\n * \r\n * @param o imput object\r\n * @return returns something that implements this interface\r\n */\r\n @NotNull\r\n Meta wrap(Object o);\r\n}", "void put(String kind, String name, String property, String value);", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public MetaData getMetaData() {\r\n \treturn metaData;\r\n }", "public interface NestedMetaProperty<METADATA_TYPE, PROPERTY_TYPE, NESTED_PROPERTIES> extends MetaProperty<METADATA_TYPE, PROPERTY_TYPE> {\n NESTED_PROPERTIES nested();\n}", "Map<String, Object> getAllMetadata();", "public interface Property<T> {\n T value();\n}", "public interface PropertyConsumer {\n\n /**\n * Key in the associated propertyInfo object. Holds a list of\n * property names, which should be displayed and editable when\n * configuring a PropertyConsumer object interatively. List is\n * space seperated and the order is the order in which the\n * properties will appear (initProperties).\n */\n public static final String initPropertiesProperty = \"initProperties\";\n\n /**\n * Keyword for PropertyEditor class from PropertyInfo Property\n * object (editor).\n */\n public static final String EditorProperty = \"editor\";\n /**\n * Scoped keyword for PropertyEditor class from PropertyInfo\n * Property object, same as EditorProperty with a period in front\n * (.editor).\n */\n public static final String ScopedEditorProperty = \".editor\";\n /**\n * Scoped keyword for PropertyEditor class from PropertyInfo\n * Property object, to scope the label for the property as\n * displayed in the Inspector (label).\n */\n public static final String LabelEditorProperty = \".label\";\n\n /**\n * Method to set the properties in the PropertyConsumer. It is\n * assumed that the properties do not have a prefix associated\n * with them, or that the prefix has already been set.\n * \n * @param setList a properties object that the PropertyConsumer\n * can use to retrieve expected properties it can use for\n * configuration.\n */\n public void setProperties(Properties setList);\n\n /**\n * Method to set the properties in the PropertyConsumer. The\n * prefix is a string that should be prepended to each property\n * key (in addition to a separating '.') in order for the\n * PropertyConsumer to uniquely identify properties meant for it,\n * in the midst of of Properties meant for several objects.\n * \n * @param prefix a String used by the PropertyConsumer to prepend\n * to each property value it wants to look up -\n * setList.getProperty(prefix.propertyKey). If the prefix\n * had already been set, then the prefix passed in should\n * replace that previous value.\n * @param setList a Properties object that the PropertyConsumer\n * can use to retrieve expected properties it can use for\n * configuration.\n */\n public void setProperties(String prefix, Properties setList);\n\n /**\n * Method to fill in a Properties object, reflecting the current\n * values of the PropertyConsumer. If the PropertyConsumer has a\n * prefix set, the property keys should have that prefix plus a\n * separating '.' prepended to each property key it uses for\n * configuration.\n * \n * @param getList a Properties object to load the PropertyConsumer\n * properties into. If getList equals null, then a new\n * Properties object should be created.\n * @return Properties object containing PropertyConsumer property\n * values. If getList was not null, this should equal\n * getList. Otherwise, it should be the Properties object\n * created by the PropertyConsumer.\n */\n public Properties getProperties(Properties getList);\n\n /**\n * Method to fill in a Properties object with values reflecting\n * the properties able to be set on this PropertyConsumer. The key\n * for each property should be the raw property name (without a\n * prefix) with a value that is a String that describes what the\n * property key represents, along with any other information about\n * the property that would be helpful (range, default value,\n * etc.).\n * \n * @param list a Properties object to load the PropertyConsumer\n * properties into. If getList equals null, then a new\n * Properties object should be created.\n * @return Properties object containing PropertyConsumer property\n * values. If getList was not null, this should equal\n * getList. Otherwise, it should be the Properties object\n * created by the PropertyConsumer.\n */\n public Properties getPropertyInfo(Properties list);\n\n /**\n * Set the property key prefix that should be used by the\n * PropertyConsumer. The prefix, along with a '.', should be\n * prepended to the property keys known by the PropertyConsumer.\n * \n * @param prefix the prefix String.\n */\n public void setPropertyPrefix(String prefix);\n\n /**\n * Get the property key prefix that is being used to prepend to\n * the property keys for Properties lookups.\n * \n * @return the prefix string\n */\n public String getPropertyPrefix();\n\n}", "public HashMap getMetaData() ;", "public interface PropsViewsContainer {\n\n /**\n * Adds a new properties view configuration. The id must be unique. The\n * configuration must be an string with the namespace of the entity to be\n * loaded at a minimum.\n */\n void addPropsView(String id, String className);\n\n /**\n * Sets the configuration for the properties view. Each value of the map\n * can be an string (full name of an entity) or a map with options to be\n * passed to the builder.<br/>\n * See <b>addPropsView</b> method for details.\n * @param configuration\n */\n void setPropsViews(Map<String, String> propertiesView);\n\n /**\n * Gets the configuration for the properties view\n * @return the map with the configuration\n */\n Map<String, String> getPropsViews();\n}", "public interface Storage {\n\n public Collection<Developers> values();\n\n public int add(final Developers developer);\n\n public void edit(final Developers developer);\n\n public void delete(final int id);\n\n public Developers get(final int id);\n\n public Developers findByName(String name);\n\n public void close();\n}", "public interface Members<T extends Member> {\n\n /**\n * Declare a new property\n *\n * @param name the name of property\n * @param propertySupplier the property to add\n */\n void declare(String name, Supplier<T> propertySupplier);\n\n /**\n * Declare a new property\n *\n * @param property the property to add\n */\n default void declare(T property) {\n declare(property.getSimpleName(), () -> property);\n }\n\n /**\n * Get amount of properties\n *\n * @return the amount of properties\n */\n int size();\n\n /**\n * Check if container contains property with the given name\n *\n * @param name the name to search for\n * @return true if container contains property with the given name, otherwise false\n */\n boolean hasPropertyLike(String name);\n\n /**\n * Get properties with the given name\n *\n * @param name the name to search for\n * @return list of properties with the given name\n */\n List<? extends T> getPropertiesLike(String name);\n\n /**\n * Get properties declared in this container\n *\n * @return list of properties\n */\n List<? extends T> getDeclaredProperties();\n\n /**\n * Get all available properties\n *\n * @return the list of properties\n */\n List<? extends T> getProperties();\n\n /**\n * Get associated type\n *\n * @return the type\n */\n Type getType();\n\n}", "@java.lang.Override\n public io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }", "public HashMap<String, T> getStorage();", "Object getMetadata(String key);", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "public interface DistributeStorage<T> {\n public void store(String path, T t, boolean create) throws StorageException;\n\n public T get(String path, Class<T> tClass) throws StorageException;\n\n public void del(String path) throws StorageException;\n\n public boolean exist(String path) throws StorageException;\n}", "public interface PropertyHolder extends EObject {\n\t\n\t/**\n\t * Returns the list of properties of this object.\n\t * The list contents are of type {@link org.ect.reo.Property}.\n\t * \n\t * @see org.ect.reo.ReoPackage#getPropertyHolder_Properties()\n\t * @model containment=\"true\" keys=\"key\"\n\t * @generated\n\t */\n\tEList<Property> getProperties();\n\n}", "public interface WebDavProperty<T> extends PropEntry, ExtendedDavConstants {\n\n /**\n * <p>\n * Returns the text content of the property value as a string. The string\n * is calculated by concatening the text and character data content of\n * every element in the value.\n * </p>\n */\n String getValueText();\n\n /**\n * Returns the name of this property\n *\n * @return the name of this property\n */\n DavPropertyName getName();\n\n /**\n * Returns the value of this property\n *\n * @return the value of this property\n */\n T getValue();\n\n /**\n * Return <code>true</code> if this property should be suppressed\n * in a PROPFIND/{@link DavConstants#PROPFIND_ALL_PROP DAV:allprop}\n * response. See RFC 4918, Section 9.1.\n *\n * @return true, if this property should be suppressed in a PROPFIND/allprop response\n */\n boolean isInvisibleInAllprop();\n}", "public interface BookMetadata extends DocumentMetadata {\n}", "public interface FS2MetaSnapshot {\r\n\r\n Date createdOn();\r\n\r\n String createdBy();\r\n \r\n void dump(PrintStream printStream);\r\n\r\n // obtain a single header\r\n String[] getHeader(String key);\r\n\r\n // get the set of all header names\r\n Set<String> getHeaderNames();\r\n\r\n // set of key/value pairs providing metadata for this object\r\n FS2ObjectHeaders getHeaders();\r\n\r\n URI getURI();\r\n\r\n // when was this snapshot taken?\r\n Date snapshotTime();\r\n\r\n // TODO add these later... should be pluggable config...\r\n // boolean isEncrypted();\r\n // boolean isCompressed();\r\n\r\n // JSON representation of this snapshot\r\n String toJSON();\r\n\r\n}" ]
[ "0.710663", "0.66491467", "0.63555825", "0.63257545", "0.6320634", "0.63167566", "0.6275248", "0.62539315", "0.621682", "0.6202757", "0.6165527", "0.6121463", "0.61060274", "0.6028724", "0.6019668", "0.6014717", "0.6007939", "0.59817374", "0.59626126", "0.59419113", "0.5891484", "0.5889908", "0.5889233", "0.5884703", "0.5869659", "0.5868646", "0.58427596", "0.58251226", "0.5823232", "0.5821422", "0.5809311", "0.5788282", "0.5773901", "0.5773573", "0.577122", "0.5762503", "0.57591265", "0.5749807", "0.5749807", "0.5747866", "0.5747103", "0.5698274", "0.5686021", "0.5679692", "0.56790674", "0.56748986", "0.56680465", "0.566704", "0.565152", "0.5629561", "0.56285733", "0.5624399", "0.5620115", "0.5611991", "0.5609464", "0.56002486", "0.55867547", "0.55673945", "0.55588925", "0.5558289", "0.55531514", "0.55510575", "0.55317795", "0.55317795", "0.55317795", "0.55317795", "0.55317795", "0.55289716", "0.5525663", "0.55199367", "0.5519408", "0.5513371", "0.5509038", "0.5504507", "0.54882073", "0.54882073", "0.54818517", "0.54805684", "0.5478127", "0.54769135", "0.5471258", "0.54631615", "0.5457938", "0.5442152", "0.5438884", "0.5436242", "0.5426627", "0.54251254", "0.5422346", "0.5422346", "0.54186636", "0.54186636", "0.54186636", "0.54186636", "0.54186636", "0.5417557", "0.5416436", "0.5415095", "0.5412611", "0.5411194" ]
0.6152675
11
This method gets the property metadata for this appender.
ArrayList<PropertyMetadata> getProperties();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IPropertyMetadata\r\n{\r\n /**\r\n * This method gets the property metadata for this appender.\r\n *\r\n * @return The property metadata for this appender.\r\n */\r\n ArrayList<PropertyMetadata> getProperties();\r\n}", "public PropertyMetaData[] getPropertyMetaData() \n {\n return METADATA;\n }", "public abstract String metadata(String property);", "public Object getMetadata() {\n return this.metadata;\n }", "@JsonGetter(\"metadata\")\n public Object getMetadata ( ) {\n return this.metadata;\n }", "java.lang.String getProperties();", "public Map<String, Object> getMetadata() {\n return metadata;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public Map<String, String> getMetadata() {\n return metadata;\n }", "public Map getMetadata() {\n return metadata;\n }", "protected java.util.Map get_PropertyInfo()\n {\n java.util.Map mapInfo = super.get_PropertyInfo();\n \n // property AutoStart\n {\n mapInfo.put(\"AutoStart\", new Object[]\n {\n \"True when the Reporter starts automatically with the node.\",\n \"isAutoStart\",\n null,\n \"Z\",\n null,\n });\n }\n \n // property ConfigFile\n {\n mapInfo.put(\"ConfigFile\", new Object[]\n {\n \"The configuration file for the Reporter.\",\n \"getConfigFile\",\n \"setConfigFile\",\n \"Ljava/lang/String;\",\n null,\n });\n }\n \n // property CurrentBatch\n {\n mapInfo.put(\"CurrentBatch\", new Object[]\n {\n \"The batch identifier for the Reporter.\",\n \"getCurrentBatch\",\n \"setCurrentBatch\",\n \"J\",\n null,\n });\n }\n \n // property IntervalSeconds\n {\n mapInfo.put(\"IntervalSeconds\", new Object[]\n {\n \"The interval between executions in seconds.\",\n \"getIntervalSeconds\",\n \"setIntervalSeconds\",\n \"J\",\n null,\n });\n }\n \n // property LastExecuteTime\n {\n mapInfo.put(\"LastExecuteTime\", new Object[]\n {\n \"The last time a report batch was executed.\",\n \"getLastExecuteTime\",\n null,\n \"Ljava/util/Date;\",\n null,\n });\n }\n \n // property LastReport\n {\n mapInfo.put(\"LastReport\", new Object[]\n {\n \"The last report to execute.\",\n \"getLastReport\",\n null,\n \"Ljava/lang/String;\",\n null,\n });\n }\n \n // property OutputPath\n {\n mapInfo.put(\"OutputPath\", new Object[]\n {\n \"The path where report output will be located.\",\n \"getOutputPath\",\n \"setOutputPath\",\n \"Ljava/lang/String;\",\n null,\n });\n }\n \n // property Reports\n {\n mapInfo.put(\"Reports\", new Object[]\n {\n \"The list of reports executed.\",\n \"getReports\",\n null,\n \"[Ljava/lang/String;\",\n null,\n });\n }\n \n // property RunAverageMillis\n {\n mapInfo.put(\"RunAverageMillis\", new Object[]\n {\n \"The average batch runtime in milliseconds since the statistics were last reset.\",\n \"getRunAverageMillis\",\n null,\n \"D\",\n null,\n });\n }\n \n // property RunLastMillis\n {\n mapInfo.put(\"RunLastMillis\", new Object[]\n {\n \"The last batch runtime in milliseconds since the statistics were last reset.\",\n \"getRunLastMillis\",\n null,\n \"J\",\n null,\n });\n }\n \n // property RunMaxMillis\n {\n mapInfo.put(\"RunMaxMillis\", new Object[]\n {\n \"The maximum batch runtime in milliseconds since the statistics were last reset.\",\n \"getRunMaxMillis\",\n null,\n \"J\",\n null,\n });\n }\n \n // property State\n {\n mapInfo.put(\"State\", new Object[]\n {\n \"The state of the Reporter. Valid values are:\\n\\nRunning (reports are being executed);\\nWaiting (the reporter is waiting for the interval to complete);\\nStarting (the reporter is being started);\\nStopping (the reporter is attempting to stop execution and waiting for running reports to complete);\\nStopped (the reporter is stopped).\",\n \"getState\",\n null,\n \"Ljava/lang/String;\",\n null,\n });\n }\n \n return mapInfo;\n }", "@Override\n public ConfigurablePropertyMap getProperties() {\n return properties;\n }", "public Map<String, Object> getMetaData() {\n\t\treturn metaData;\n\t}", "@Override\n public RavenJObject getMetadata() {\n return metadata;\n }", "protected java.util.Map getProperties() {\n return properties;\n }", "@java.lang.Override\n public org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata() {\n return instance.getMetadata();\n }", "Metadata getMetaData();", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public AbstractMetadata getMetadata() {\n\t\treturn metadata;\n\t}", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {\n return internalGetMetadata().getMap();\n }", "public Properties getProperties() { return props; }", "PropertyInfo getPropertyInfo();", "public Map<String, String> getProperties() {\n\t\treturn this.properties;\n\t}", "public Map<String, String> properties() {\n return this.properties;\n }", "public Properties getProperty() {\r\n return properties;\r\n }", "public MetaData getMetaData();", "public Properties getProperties()\n {\n return this.properties;\n }", "public Map<String, String> getAllProperties()\n {\n return _propertyEntries;\n }", "@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }", "public MetaData getMetaData() {\r\n \treturn metaData;\r\n }", "@Override\r\n\tpublic String getFormat() {\r\n\t\treturn \"properties\";\r\n\t}", "public Map<String, String> getProperties() {\n\t\tif (propertiesReader == null) {\n\t\t\tpropertiesReader = new PropertyFileReader();\n\t\t}\n\t\tpropertyMap = propertiesReader.getPropertyMap();\n\t\tlog.info(\"fetched all properties\");\n\t\treturn propertyMap;\n\t}", "@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}", "public MetaData getMetaData() {\n return metaData;\n }", "java.lang.String getProperty();", "public Properties getProperties() {\n\t\treturn this.properties;\n\t}", "public HashMap getMetaData() ;", "@java.lang.Override\n public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {\n return internalGetProperties().getMap();\n }", "public abstract AbstractProperties getProperties();", "@NotNull\n\tpublic StringBuilder getMetadata() {\n\t\tStringBuilder metadata = new StringBuilder();\n\t\tif (title != null)\n\t\t\tmetadata.append(title).append(\" \");\n\t\tif (authors != null)\n\t\t\tfor (String author : authors)\n\t\t\t\tmetadata.append(author).append(\" \");\n\t\tif (miscMetadata != null)\n\t\t\tfor (String metadata0 : miscMetadata)\n\t\t\t\tmetadata.append(metadata0).append(\" \");\n\t\treturn metadata;\n\t}", "private String getPropertyValue() {\n return EmfPropertyHelper.getValue(itemPropertyDescriptor, eObject);\n }", "public Vector getApplicationProperties() {\n return appProperties;\n }", "public Map<String, String> getProperties() {\n return properties;\n }", "public Map<String, String> getProperties() {\n return properties;\n }", "@Override\n public Map<String, Serializable> getOutputProperties() {\n Log.w(TAG, \"Output properties is not supported.\");\n return new HashMap<>();\n }", "public Map<String, String> getProperties() {\n return properties;\n }", "public Properties getImageMetaData() {\n\t\treturn null;\n\t}", "public Map getProperties();", "public String getProperts() {\n\t\t// TODO Auto-generated method stub\n\t\treturn arquivo+\" - \"+tamanho;\n\t}", "@InputFile\n @Incremental\n @PathSensitive(PathSensitivity.NAME_ONLY)\n @Optional\n public abstract RegularFileProperty getAppMetadata();", "public org.LexGrid.commonTypes.Properties getProperties() {\n return properties;\n }", "private String getPropertyCatalog() {\n return this.property;\n }", "public Hashtable getUserProperties() {\n PropertyHelper ph = PropertyHelper.getPropertyHelper(this);\n return ph.getUserProperties();\n }", "public String annotation() {\n return this.innerProperties() == null ? null : this.innerProperties().annotation();\n }", "protected Map<String, Object> getAdditionalProperties()\n {\n return additionalProperties;\n }", "public DocumentationSchema getAdditionalProperties()\n\t{\n\t\treturn additionalProperties;\n\t}", "Map<String, String> getCustomMetadata();", "Properties getProperties();", "@Schema(description = \"Details of properties for the worklog. Optional when creating or updating a worklog.\")\n public List<EntityProperty> getProperties() {\n return properties;\n }", "public DatatypeProp getProperty() {\n return property;\n }", "public Hashtable getProperties() {\n PropertyHelper ph = PropertyHelper.getPropertyHelper(this);\n return ph.getProperties();\n }", "public abstract Properties getProperties();", "EProperties getProperties();", "@java.lang.Override\n public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {\n return internalGetProperties().getMap();\n }", "private void writePropertyData() {\n\t\ttry (PrintStream out = new PrintStream(openResultFileOuputStream(\n\t\t\t\tresultDirectory, \"properties.json\"))) {\n\t\t\tout.println(\"{\");\n\n\t\t\tint count = 0;\n\t\t\tfor (Entry<Integer, PropertyRecord> propertyEntry : this.propertyRecords\n\t\t\t\t\t.entrySet()) {\n\t\t\t\tif (count > 0) {\n\t\t\t\t\tout.println(\",\");\n\t\t\t\t}\n\t\t\t\tout.print(\"\\\"\" + propertyEntry.getKey() + \"\\\":\");\n\t\t\t\tmapper.writeValue(out, propertyEntry.getValue());\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tout.println(\"\\n}\");\n\n\t\t\tSystem.out.println(\" Serialized information for \" + count\n\t\t\t\t\t+ \" properties.\");\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public Object getProperties() {\n return this.properties;\n }", "public Properties getProperties() {\n return properties;\n }", "public Properties getProperties() {\n return properties;\n }", "protected String getPropertyStrings() {\n\t\treturn \"Active:\" + activeProperty().getValue() + \", FromDataset:\" + isFromDataset() + \", Modified:\" + isModified();\n\t}", "@java.lang.Override\n public org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto getMetadata() {\n return metadata_ == null ? org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto.getDefaultInstance() : metadata_;\n }", "public String getProperty();", "public Map<String, Property> getProperties()\n {\n return properties;\n }", "public Map<String, Schema> getProperties() {\n\t\treturn properties;\n\t}", "public java.util.Map<String,String> getProperties() {\n \n if (properties == null) {\n properties = new java.util.HashMap<String,String>();\n }\n return properties;\n }", "Map<String, String> properties();", "Map<String, String> properties();", "public Map getMessageProperties()\r\n\t{\r\n\t\treturn this.properties;\r\n\t}", "java.lang.String getMetadataJson();", "@NonNull\n public Map<String, byte[]> getAdditionalProperties() {\n Map<String, byte[]> additionalProps = new HashMap<>();\n\n for (KeyValuePair pair : mProto.additionalProps) {\n byte[] value = pair.value != null ? pair.value.toByteArray() : null;\n additionalProps.put(pair.name, value);\n }\n\n return additionalProps;\n }", "public Map<String, Object> getProperties()\n {\n return m_props;\n }", "public io.grafeas.v1.Metadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }", "public Properties getProperties();", "private ConfigProperties getProperties() {\n return properties;\n }", "public Map<String, Object> getProperties() {\n return properties;\n }", "public Map<String, Object> getProperties() {\n return properties;\n }", "public JobMetadata getMetaData() {\n return this.metaData;\n }", "public Map<String, Object> getProperties() {\n return properties;\n }", "@Override\n\t\tpublic Map<String, Object> getAllProperties() {\n\t\t\treturn null;\n\t\t}", "Map<String, String> getProperties();", "Map<String, String> getProperties();", "public String toMetadata() {\n\t\tGson gson = new Gson();\n\t\treturn gson.toJson(toMetadataHash());\n\t}", "@NonNull\n JsonMap getMetadata();", "public String getPropertyPart() {\n return this.PROPERTY_PART;\n }", "public Properties getProperties()\n {\n Properties properties = null;\n List<Props.Entry> props = this.props.getEntry();\n if ( props.size() > 0 )\n {\n properties = new Properties();\n //int size = props.size();\n for ( Props.Entry entry : props )\n {\n String key = entry.getKey();\n String val = entry.getValue();\n properties.setProperty( key, val );\n }\n }\n return properties;\n }", "@Kroll.getProperty(name = \"properties\")\n public KrollDict getRevisionProperties() {\n return super.getRevisionProperties();\n }", "public Map<String, Object> getProperties() {\n return mProperties;\n }", "public SchemaOrBoolean getAdditionalProperties() {\n\t\treturn additionalProperties;\n\t}", "Properties getExtensionProperties(Object metadataID) throws Exception;" ]
[ "0.7616325", "0.71158403", "0.6802805", "0.6172911", "0.6107156", "0.6103743", "0.60908985", "0.60404253", "0.60404253", "0.6005328", "0.59813094", "0.5958015", "0.5893463", "0.58725965", "0.58682024", "0.58615845", "0.5858996", "0.5843877", "0.5843877", "0.58388597", "0.58363223", "0.58363223", "0.58106625", "0.5804991", "0.5796285", "0.5795798", "0.5793088", "0.57737523", "0.57506144", "0.574743", "0.57458246", "0.57413834", "0.57405716", "0.57143915", "0.5713317", "0.5703601", "0.5700327", "0.5696081", "0.5695928", "0.567885", "0.56743366", "0.56738865", "0.5670215", "0.56699723", "0.5667096", "0.5667096", "0.56651354", "0.5662833", "0.5661388", "0.5657955", "0.5644865", "0.56447184", "0.56434417", "0.56396294", "0.56389326", "0.5636564", "0.56320333", "0.5619248", "0.56190354", "0.5615913", "0.5615504", "0.561239", "0.5603911", "0.56022125", "0.5597727", "0.5595204", "0.559138", "0.55817056", "0.5581053", "0.5578124", "0.55764884", "0.55737704", "0.55661005", "0.55621463", "0.5553741", "0.5552703", "0.5543484", "0.5543484", "0.5536377", "0.55243564", "0.5522146", "0.5513487", "0.55099183", "0.5504031", "0.55020547", "0.5499107", "0.5499107", "0.5495091", "0.5491991", "0.548267", "0.548219", "0.548219", "0.5478234", "0.5470146", "0.5468155", "0.5464833", "0.54642195", "0.54557234", "0.5453288", "0.54516053" ]
0.6336553
3
Constructs new instance of CM_LEGION packet
public CM_LEGION(int opcode, State state, State... restStates) { super(opcode, state, restStates); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ef l()\r\n/* 293: */ {\r\n/* 294:240 */ Packet211TileDesc packet = new Packet211TileDesc();\r\n/* 295:241 */ packet.subId = 9;\r\n/* 296:242 */ packet.xCoord = this.l;packet.yCoord = this.m;\r\n/* 297:243 */ packet.zCoord = this.n;\r\n/* 298:244 */ writeToPacket(packet);\r\n/* 299:245 */ packet.encode();\r\n/* 300:246 */ return packet;\r\n/* 301: */ }", "public LCMultiblockPacket() {\n\t}", "public Packet() {\n\t}", "public LSRPacket() {\n linkID = \"\";\n adv_router = \"\";\n }", "public LcpPacketFactory(PppParser parent) {\n parent.super(0xc021);\n packetFactories = new LcpPacketMap(this);\n configFactories = new LcpConfigMap(this);\n\n // Register LCP configuration option factories\n new LcpConfigMruFactory(this);\n new LcpConfigAccmFactory(this);\n new LcpConfigAuthFactory(this);\n new LcpConfigQualityFactory(this);\n new LcpConfigMagicNumFactory(this);\n new LcpConfigPfcFactory(this);\n new LcpConfigAcfcFactory(this);\n\n // Register LCP packet parser factories\n new LcpPacketConfigureFactory(this, configFactories, Types.REQ);\n new LcpPacketConfigureFactory(this, configFactories, Types.ACK);\n new LcpPacketConfigureFactory(this, configFactories, Types.NAK);\n new LcpPacketConfigureFactory(this, configFactories, Types.REJ);\n new LcpPacketTerminateFactory(this, LcpPacketTerminateFactory.Types.REQ);\n new LcpPacketTerminateFactory(this, LcpPacketTerminateFactory.Types.ACK);\n \n }", "public LCAmsg2 () { }", "public MAVLinkPacket pack(){\n MAVLinkPacket packet = new MAVLinkPacket(MAVLINK_MSG_LENGTH);\n packet.sysid = 255;\n packet.compid = 190;\n packet.msgid = MAVLINK_MSG_ID_GIMBAL_DEVICE_INFORMATION;\n \n packet.payload.putUnsignedInt(time_boot_ms);\n \n packet.payload.putUnsignedInt(firmware_version);\n \n packet.payload.putFloat(tilt_max);\n \n packet.payload.putFloat(tilt_min);\n \n packet.payload.putFloat(tilt_rate_max);\n \n packet.payload.putFloat(pan_max);\n \n packet.payload.putFloat(pan_min);\n \n packet.payload.putFloat(pan_rate_max);\n \n packet.payload.putUnsignedShort(cap_flags);\n \n \n for (int i = 0; i < vendor_name.length; i++) {\n packet.payload.putUnsignedByte(vendor_name[i]);\n }\n \n \n \n for (int i = 0; i < model_name.length; i++) {\n packet.payload.putUnsignedByte(model_name[i]);\n }\n \n \n return packet;\n }", "public UTFBlockLexiconBuilder() {\n\t\tsuper();\n\t\tlexiconOutputStream = UTFBlockLexiconOutputStream.class;\n\t\tlexiconInputStream = UTFBlockLexiconInputStream.class;\n\t\tLexiconMapClass = BlockLexiconMap.class;\n\t\ttry{ TempLex = (LexiconMap) LexiconMapClass.newInstance(); } catch (Exception e) {logger.error(e);}\n\t}", "private BusRouteLegendOverlay createBusRouteLegendOverlay() {\n ResourceProxy rp = new DefaultResourceProxyImpl(context);\n return new BusRouteLegendOverlay(rp, BusesAreUs.dpiFactor());\n }", "public PacketBuilder() {\n\t\tthis(1024);\n\t}", "public Packet createPacket() {\n\t\treturn new Packet((ByteBuffer) buffer.flip());\n\t}", "Layer createLayer();", "public Packet(final long unique) {\r\n\t\ttype = EvidenceType.NONE;\r\n\t\tcommand = EvidenceBuilder.LOG_CREATE;\r\n\t\tid = unique;\r\n\t\tdata = null;\r\n\t}", "@Override\n protected void createLocationCLI() {\n /*The rooms in the hallway01 location are created---------------------*/\n \n /*Hallway-------------------------------------------------------------*/\n Room hallway = new Room(\"Hallway 01\", \"This hallway connects the Personal, Laser and Net\");\n super.addRoom(hallway);\n }", "public RoutePacket() {\n super(DEFAULT_MESSAGE_SIZE);\n amTypeSet(AM_TYPE);\n }", "public ResponsePacket() {\n MacAddr = new ArrayList<String>();\n content = new ArrayList<String>();\n }", "Lehrkraft createLehrkraft();", "public CapsPacketExtension()\n {\n }", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, short le) {\n\tthis(cla, ins, p1, p2, le & 0xFFFF);\n }", "ComplicationOverlayWireFormat() {}", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, byte[] data, short le) {\n\tthis(cla, ins, p1, p2, data, le & 0xFFFF);\n }", "public Ligacao(TipoLigacao tipo, String nomeLigacao, int distancia, int custo) {\r\n this.tipo = tipo;\r\n this.nomeLigacao = nomeLigacao;\r\n this.distancia = distancia;\r\n this.custo = custo;\r\n }", "public Lunge() {\n super(SkillFactory.LUNGE, \"Lunge\", SkillDescription.lunge, 15, Pokemon.Type.BUG,\n SkillCategory.PHYSICAL, 100, 80, 1, 1.0);\n secondaryEffects.add(new AttackEffect(SecondaryEffect.Target.ENEMY, 1,\n SecondaryEffect.StatDirection.DECREASE));\n makesPhysicalContact = true;\n }", "private void makePacket() throws PacketMappingNotFoundException {\r\n\t\tfinal PacketIdMapping mapping = mapCon.getMappingFor(packetId); //Mapping for id\r\n\t\tif(mapping == null)\r\n\t\t\tthrow new PacketMappingNotFoundException(\"mapping not found for id while constructing packet\", packetId);\r\n\t\tfinal Packet newPacket = mapping.getNewInstance(); //make a packet\r\n\t\tfinal ReadableArrayData packetData = new ReadableArrayData(tempData, false);\r\n\t\tnewPacket.readData(packetData); //read the packet data\r\n\t\tfinishedPacketReceiver.accept(newPacket); //send the packet to the connection\r\n\t}", "public static Dissector create(String mapping) {\n Dissector dissector = new Dissector();\n dissector.handleMapping(mapping);\n return dissector;\n }", "public TurtleMapDescriptor() {}", "private void constructACLMessage()\n {\n PlayIntroAction playIntroObject = new PlayIntroAction();\n playIntroObject.setLenght(numberOfMeasures);\n playIntroObject.setNow(true);\n playIntroObject.setDuration(-1);\n msg = new ACLMessage(ACLMessage.CFP);\n msg.setLanguage(codec.getName());\n msg.setOntology(ontology.getName());\n for(int i = 0; i < receivers.size(); i++)\n {\n try\n {\n //fill the content using the Ontology concept\n myAgent.getContentManager().fillContent(msg,new Action((AID)receivers.elementAt(i),playIntroObject));\n }catch (Exception ex) { ex.printStackTrace(); }\n //Set the receiver of the message\n msg.addReceiver((AID)receivers.elementAt(i));\n\n }\n\n //Set the protocol that we gonna use\n msg.setProtocol(FIPANames.InteractionProtocol.FIPA_CONTRACT_NET);\n //We indicate the deadline of the reply\n msg.setReplyByDate(new Date(System.currentTimeMillis() + 30000));\n\n\n }", "private Layer(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Message newMessage(String type) {\n\tString address = null;\n\n\t/*\n * Provide the default address from the original open.\n */\n\n\tif (((m_mode & Connector.WRITE) > 0) && (host != null)) {\n\t address = ADDRESS_PREFIX + host;\n\t if (m_iport != 0) {\n\t\taddress = address + \":\" + String.valueOf(m_iport);\n\t }\n\t}\n\n\treturn newMessage(type, address);\n }", "public WMS100MapRequest() {\n\n }", "public RoutePacket(int data_length, int base_offset) {\n super(data_length, base_offset);\n amTypeSet(AM_TYPE);\n }", "public Label() {\n\t\tthis(\"L\");\n\t}", "public MapTile() {}", "MAP createMAP();", "public GoogleMarker(double l, double lg, String c, String lab, String cat){\r\n\t\tlatitude = l;\r\n\t\tlongitude = lg;\r\n\t\tcolor = c;\r\n\t\tlabel = lab;\r\n\t\tcategory = cat;\r\n\t\t\r\n\t}", "private AllianceHelpInfoChangeNotic2GTell(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public RoutePacket(net.tinyos.message.Message msg, int base_offset, int data_length) {\n super(msg, base_offset, data_length);\n amTypeSet(AM_TYPE);\n }", "public WifiProtocol(){\r\n// messages = new String[100];\r\n// index = 0;\r\n }", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, int le) {\n\tthis(cla, ins, p1, p2);\n\tthis.le = le;\n }", "public Character() {\n\t\tlocation = new Location[21];\n\t\t\n\t\t/***********************ERSTELLEN DER RÄUME***************************************/\n\t\tlocation[0] = new Location(\"Büro\", \"In deinem Büro ist mittig ein überfüllter Schreibtisch [desk] an dem ein Scott Chefsessel mit original Kunstleder im Wert von 500€ \"\n\t\t\t\t+ \"steht [chair]. Außerdem stehen zwei Schränke in jeweils einer Ecke des Raumes.\");\n\t\tlocation[1] = new Location(\"Korridor 2 Etage\", \"Im Korridor angekommen siehst du mehrere Räume.\");\n\t\tlocation[2] = new Location(\"Kaffeeraum\", \"Dies ist der Kaffee- und Kuchenraum der Lehrer.\"\n\t\t\t\t+ \"\\nDu siehst eine neumodische Ikea Küche, mit vielen Küchenschränken [cupboards] auf denen eine uralte verrostete vermutlich aus dem \"\n\t\t\t\t+ \"1. Weltkrieg stammende Kaffeemaschine [coffeemachine] und eine Mikrowelle steht!\");\n\t\tlocation[3] = new Location(\"Konferenzraum\", \"In diesem Raum werden Konferenzen zu wichtigen Themen abgehalten und unwichtigen, aber die betreffen dich ja eh nicht!\"\n\t\t\t\t+ \"\\nEinem Konferenzraum entsprechend befindet sich in der Mitte ein Tisch in der Form eines U's. Außerdem hängt an der Wand ein \"\n\t\t\t\t+ \"Stundenplan und ein Schrank mit den Fächern für die Lehrer.\");\n\t\tlocation[4] = new Location(\"Kammer der Leere\", \"Dieser Raum sieht aus als wenn hier seit Jahren niemand mehr drin gewesen wäre.\", false);\n\t\tlocation[5] = new Location(\"Ventilationraum\", \"Ein Ventilationsraum. Alt, veranzt und staubig. Gelüftet wurde hier schon seit Jahren nicht mehr!\", false);\n\t\tlocation[6] = new Location(\"Damentoilette\", \"In der Damentoilette angekommen, sieht Kollegin Stelz dich irritiert an und geht mit den Worten: \\\"Sie überraschen mich immer wieder\\\" raus.\"\n\t\t\t\t+ \"\\nBeschreibung: Warst du noch nie in einer Damentoilette?\");\n\t\tlocation[7] = new Location(\"Herrentoilette\", \"Als du die Herrentoilette betrittst, weht dir ein animalischer Duft entgegen, welchen du dem ebenfalls \\\"leicht\\\" animalischen Direktor zuordnest!\");\n\t\tlocation[8] = new Location(\"Schulleiterraum\", \"Das Büro des Direktors ist ähnlich wie deines, über den vermüllten Schreibtisch schaut dich ein grimmiger Haufen Kalorien an. Dies müsste \"\n\t\t\t\t+ \"deiner mathematisch hoch komplexen Überlegungen nach der Direktor sein.\");\n\t\tlocation[9] = new Location(\"Fahrstuhl\", \"An einer der blank geputzten grauen Fahrstuhlwände steht:\\\"Im Brandfall nicht benutzbar!\\\".\");\n\t\tlocation[10] = new Location(\"Treppenhaus\", \"Ein Treppenhaus... es brennt!\");\n\t\tlocation[11] = new Location(\"Korridor 1 Etage\", \"Ein langer Korridor...\"\n\t\t\t\t+ \"\\nAn ihm liegen vier vom Aufbau her identische Hörsäle, jedoch gehört der erste den musischen Wissenschaften, der \"\n\t\t\t\t+ \"zweite zu den literarischen, der dritte zu den gesellschaftlichen und als letztes kommt endlich der naturwissenschaftliche Hörsal.\", false);\n\t\tlocation[12] = new Location(\"Hörsaal 1\", \"Man darf sich bekanntlich nicht mehr fragen, ob musische Wissenschaften überhaupt als eine Wissenschaft gelten, da Künstler und Freidenker \"\n\t\t\t\t+ \"sich sonst angegriffen fühlen, aber ein Naturwissenschaftler wie du hat wohl besseres verdient!\");\n\t\tlocation[13] = new Location(\"Spindraum\", \"Modrig steigt der Geruch ranziger Käsebrote durch die Lüftungsschlitze einiger Schließfächer, welche jedoch alle durch Algen in einem schönen \"\n\t\t\t\t+ \"Armee-Grünton gehalten werden. Alle? Nein, nicht alle! Eine glanzpolierte Marmorvariante, die dem Hausmeister gehört, koexistiert tatsächlich noch in diesem Raum.\");\n\t\tlocation[14] = new Location(\"Abstellraum\", \"Ein Mob, ein Eimer, ein Feuchttuch.... dich verwundert es, wie der Hausmeister nur mit diesen Sachen zumindest sein Revier so poliert\");\n\t\tlocation[15] = new Location(\"Hörsaal 2\", \"Im vorderen Teil liest der Professor aus einem Buch einen Text in einer Sprache, die du nicht verstehst, während im hinteren Teil sich Schüler \"\n\t\t\t\t+ \"mit Käsekästchen, Schere-Stein-Papier und Battlefield die Zeit vertreiben.\");\n\t\tlocation[16] = new Location(\"Hörsaal 3\", \"Der Lehrende zeigt aufgeregt auf eine Karte, welchen Schwerpunkt diese Vorlesung auch immer hat, eine Karte macht alles spannender! \"\n\t\t\t\t+ \"Sein Gegenspieler gewinnt in dem Pokerduell und jubelt laut auf!\");\n\t\tlocation[17] = new Location(\"Hörsaal 4\", \"Dein Reich ist gerade von einem Chemieprofessor belegt. Dieser ist grade dabei mit peinlicher Sorgfalt den Tisch in alle vier \"\n\t\t\t\t+ \"Himmelsrichtungen gleichzeitig zu katapultieren!\");\n\t\tlocation[18] = new Location(\"Damentoilette\", \"Es riecht herrlich nach Einhorn und Regenbogen, und nach dem alkohoisierten Hausmeister, der dabei ist den Lippenstift vom Spiegel zu \"\n\t\t\t\t+ \"entfernen und dich nicht bemerkt.\");\n\t\tlocation[19] = new Location(\"Herrentoilette\", \"Das Putzfrauenspecialcorps hat sich gestern zur Aufgabe gemacht den grünen Schleim von der Wand zu entfernen... \"\n\t\t\t\t+ \"Nur noch ein wenig Neutralreiniger auf dem Boden und eine Cap, mit dem Wort \\\"Obey\\\", schaukelnd an einer Lampe, sind noch übrig geblieben.\");\n\t\tlocation[20] = new Location(\"Fahrstuhlschacht\", \"Im Raum angekommen fällt dir sofort die ganze Elektronik hier unten auf. Ob hier noch mehr ist?\", false);\n\t\t\n\t\t\n\t\t\n\t\t/*************************BESCHREIBUNG BEIM EXPLOREN******************************/\n\t\tlocation[0].getDescriptions().setExploreDescription(\"Das Büro ist nicht besonders groß, aber du bist trotzdem stolz auf deinen Chefsessel. Außerdem steht eine Vitrine in dem \"\n\t\t\t\t+ \"Raum, in der deine Preise und Trophäen stehen.\");\n\t\tlocation[1].getDescriptions().setExploreDescription(\"Was willst du wissen? Es ist nur ein typischer langweiliger Korridor, mit einem Kaffeelöscherkasten [extinguisher box], wie man's in Uni's gewohnt ist!\");\n\t\tlocation[2].getDescriptions().setExploreDescription(\"Du fragst dich, was in den ganzen Küchenschränken [cupboards] sein könnte und warum der Boden hier höher ist!\");\n\t\tlocation[3].getDescriptions().setExploreDescription(\"Die Lehrer starren dich aus großen Augen an. Du bist wohl mitten in eine Versammlung reingeplatzt. Kann dir auch egal sein, \"\n\t\t\t\t+ \"ist keine Konferenz von der du weißt. Dir fällt der Ventilationsschacht [ventilation shaft] auf, bei dem das Gitter nur noch an den Schacht gelehnt ist.\");\n\t\tlocation[4].getDescriptions().setExploreDescription(\"Du siehst eine deiner Notizen [note] zwischen zwei Kartons gequetscht. Keine Ahnung wie der Windstoß das verursachen konnte...\");\n\t\tlocation[5].getDescriptions().setExploreDescription(\"Du siehst eine deiner Notizen [note].\");\n\t\tlocation[6].getDescriptions().setExploreDescription(\"Jetzt bloß nicht spülen. Es sei denn du magst keine Skillbooks... [skillbook]. Bei diesem Skillbook scheinst du eine Beamfähigkeit \"\n\t\t\t\t+ \"erlernen zu können.\");\n\t\tlocation[7].getDescriptions().setExploreDescription(\"Der Geruch ist wirklich unerträglich. Lange wirst du es hier nicht mehr aushalten können.\");\n\t\tlocation[8].getDescriptions().setExploreDescription(\"Meisterhaft in Inneneinrichtung hat der Direktor hier einen braunen Tisch, zwei graue Stühle und eine Ansammlung von an Krawatten erhängten Skelette.\\nEr ist damit beschäftigt, Frederic Chopin's neunte Death Metal Komposition zu hören.\");\n\t\tlocation[9].getDescriptions().setExploreDescription(\"Erst jetzt fällt dir der Gully [gully] auf dem Boden auf. Wo der wohl hinführt...\\n\"\n\t\t\t\t+ \"Um das herauszufinden wirst du definitiv so etwas wie einen Hebel benötigen.\"\n\t\t\t\t+ \"\\nDie Feueraxt [fire ax] ist dir eigentlich schon vorher aufgefallen, doch vielleicht wird sie jetzt wichtig?\");\n\t\tlocation[10].getDescriptions().setExploreDescription(\"Das Feuer ist echt frech! Es blockiert dir doch tatsächlich den Weg in den ersten Stock [floor 1].\");\n\t\tlocation[11].getDescriptions().setExploreDescription(\"Grau.Und unspektakulär. Der Mülleimer muss unbedingt mal geleert werden.\");\n\t\tlocation[12].getDescriptions().setExploreDescription(\"Der Professor liegt in ziemlich bizarren Posen auf dem Tisch und erklärt den Studenten(und Studentinnen), welche Pose welche Wirkung hat.\"\n\t\t\t\t+ \"\\nDu kannst das Geld, dass für jede Pose gazahlt wird, förmlich von dem Direktor in die Tasche des Professors wandern sehen.\\nHier steht noch Maribelle [student], obwohl sie wesentlich kleiner ist, schaut sie hochnäsig auf dich herab.\");\n\t\tlocation[13].getDescriptions().setExploreDescription(\"So viele Schließfächer [locker], und alle sind nummeriert. Verhindert wird jedoch eine genaue Identifikation des Hausmeisterfaches [shiny locker], da die Nummer wegpoliert wurde.\");\n\t\tlocation[14].getDescriptions().setExploreDescription(\"Dir fällt ein Spachtel [spatula] auf, der eindeutig aus der Chemiesammlung genommen wurde. Hol zurück, was dir gehört!\");\n\t\tlocation[15].getDescriptions().setExploreDescription(\"Schon wieder eine Runde 4-1 KD, der Schüler ist wirklich gut darin, Minen im richtigen Moment hochzujagen. Der Professer liest weiterhin monoton aus dem Buch vor.\"\n\t\t\t\t+ \"\\nJochen [student] ist so gelangweilt, dass er deinen Schritten Aufmerksamkeit schenkt.\");\n\t\tlocation[16].getDescriptions().setExploreDescription(\"Alle Studierenden sind inzwischen wieder drin, während der Professor eine Runde in der Ecke schmollt.\"\n\t\t\t\t+ \"\\nOh-oh, da kommt Anthon [student]\");\n\t\tlocation[17].getDescriptions().setExploreDescription(\"Die Frau braucht wieder einmal zu lange, du musst den Vortrag wohl beginnen, während sie noch Chemikalien mischt.\"\n\t\t\t\t+ \"\\nGerhard [student], dein persöhnlicher Fanboy, starrt dich mit großen Augen an.\");\n\t\tlocation[18].getDescriptions().setExploreDescription(\"Es ist ein Graus, Steven hat sich von Rebecca getrennt, und Grün ist das neue Schwarz, zumindest nach den Tratschtanten auf dem Klo.\");\n\t\tlocation[19].getDescriptions().setExploreDescription(\"Der Schleim heißt Wilhelm von Kaiser [wilhelm] und verkauft während der Pausen Katzenbabys für diejenigen in Not, ein sehr angenehmer Geselle.\");\n\t\tlocation[20].getDescriptions().setExploreDescription(\"Hier liegt eine Kaffeetasse mit, wer hätte es gedacht, heißem Kaffee [cup coffee] drin.\");\n\t\t\n\t\t\n\t\t/******************BESCHREIBUNG FÜR BEREITS UNTERSUCHTE RÄUME*********************/\n\t\tlocation[0].getDescriptions().setAlreadyExploredDescription(\"Der Raum ist nicht besonders groß, aber auf deinen Chefsessel bist du trotzdem stolz und natürlich auf deine Preis und Trophäen \"\n\t\t\t\t+ \"in deiner Vitrine.\");\n\t\tlocation[1].getDescriptions().setAlreadyExploredDescription(\"Ein typischer Korridor mit einem Kaffeelöscherkasten [extinguisher box]. Ist halt 'ne Uni!\");\n\t\tlocation[2].getDescriptions().setAlreadyExploredDescription(\"Weißt du noch als du dich gefragt hast was in den ganzen Küchenschränken sein könnte und warum der Boden hier höher ist?\");\n\t\tlocation[3].getDescriptions().setAlreadyExploredDescription(\"Die Konferenz wird wohl nie zu Ende gehen. Der Ventilationssacht [ventilation shaft] ist auch echt auffällig.\");\n\t\tlocation[4].getDescriptions().setAlreadyExploredDescription(\"Eine deiner Notiz [note] liegt zwischen zwei Kartons.\");\n\t\tlocation[5].getDescriptions().setAlreadyExploredDescription(\"Aber immerhin liegt hier eine deiner Notizen\");\n\t\tlocation[6].getDescriptions().setAlreadyExploredDescription(\"Naja, hier liegt halt noch ein Skillbook [skillbook].\");\n\t\tlocation[7].getDescriptions().setAlreadyExploredDescription(\"Der Geruch ist wirklich unerträglich. Lange wirst du es hier nicht mehr aushalten können.\");\n\t\tlocation[8].getDescriptions().setAlreadyExploredDescription(\"Der Direktor hört noch immer laute Musik von Frederic Chopin.\");\n\t\tlocation[9].getDescriptions().setAlreadyExploredDescription(\"Auch ein Gullideckel ist hier noch. #normal\");\n\t\tlocation[10].getDescriptions().setAlreadyExploredDescription(\"Das Feuer blockiert dir immer noch den Weg in den ersten Stock [floor 1]!\");\n\t\tlocation[11].getDescriptions().setAlreadyExploredDescription(\"Grau. Und unspektakulär.\");\n\t\tlocation[12].getDescriptions().setAlreadyExploredDescription(\"Maribelle [student] stolziert hier immer noch herum.\");\n\t\tlocation[13].getDescriptions().setAlreadyExploredDescription(\"Jedoch sind sowohl die Normalen [locker] als auch der Besondere [shiny locker] relativ uninteressant.\");\n\t\tlocation[14].getDescriptions().setAlreadyExploredDescription(\"Hier liegt ein Spachtel [spatula], der eindeutig aus der Chemiesammlung genommen wurde.\");\n\t\tlocation[15].getDescriptions().setAlreadyExploredDescription(\"Der Professer liest noch immer aus dem Buch vor, während dir Jochen noch immer hinterher starrt.\");\n\t\tlocation[16].getDescriptions().setAlreadyExploredDescription(\"Anthon [student] bemerkt dich sofort, als du den Raum betrittst.\");\n\t\tlocation[17].getDescriptions().setAlreadyExploredDescription(\"Gerhards Blick bleibt sofort auf dir haften, als du in Raum gehst.\");\n\t\tlocation[18].getDescriptions().setAlreadyExploredDescription(\"Die Tratschtanten reden noch immer.\");\n\t\tlocation[19].getDescriptions().setAlreadyExploredDescription(\"Wilhelm von Kaiser [wilhelm] schleimt noch immer hier rum.\");\n\t\t\n\t\t\n\t\t/****************************AUSGÄNGE*********************************************/\n\t\tlocation[0].setExits(\"Korridor [corridor]\");\n\t\tlocation[1].setExits(\"Büro [office]\" + \"\\nKaffeeraum [coffeeroom]\" + \"\\nKonferenzraum [conference room]\" + \"\\nSchulleiterraum [principalsroom]\"\n\t\t\t\t\t\t\t+ \"\\nHerrentoilette [gentlemenstoilet]\" + \"\\nTreppenhaus [stairwell]\" + \"\\nFahrstuhl [elevator]\");\n\t\tlocation[2].setExits(\"Korridor [corridor]\" + \"\\nKonferenzraum [conference room]\");\n\t\tlocation[3].setExits(\"Korridor [corridor]\" + \"\\nKaffeeraum [coffeeroom]\");\n\t\tlocation[4].setExits(\"Kaffeeraum [coffeeroom]\");\n\t\tlocation[5].setExits(\"Konferenzraum [conference room]\");\n\t\tfor (int i = 6; i < 10; i++) {\n\t\t\tlocation[i].setExits(\"Korridor [corridor]\");\n\t\t}\n\t\tlocation[10].setExits(\"Lehreretage [floor 2]\" + \"\\nSchüleretage [floor 1]\");\n\t\tlocation[11].setExits(\"Hörsaal <1-4> [lecture hall <1-4>]\" + \"\\nSpindraum [lockerroom]\" + \"\\nAbstellraum [storeroom]\" + \"\\nDamentoilette [ladiestoilet]\"\n\t\t\t\t\t\t\t\t+ \"\\nHerrentoilette [gentlemenstoilet]\" + \"\\nFahrstuhl [elevator]\" + \"\\nTreppenhaus [stairwell]\");\n\t\tfor (int i = 12; i <= 19; i++) {\t\t// Die restlichen Räume haben anfangs alle den Korridor als einzigen Ausgang\n\t\t\tlocation[i].setExits(\"Korridor [corridor]\");\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t/**********************ERSTELLEN VON GEGENSTÄNDEN*********************************/\n\t\tlocation[0].createItem(0, \"Schrank\", 0, 000);\t\t\t\t\t\t\t// wird nie benutzt oder erwähnt TODO\n\t\tlocation[0].createItem(1, \"Stuhl\", 0, 001);\n\t\tlocation[0].createItem(2, \"Schreibtisch\", 0, 002);\n\t\tlocation[0].createItem(3, \"Rätsellösung\", 0, 003, false);\n\t\tlocation[1].createItem(0, \"Kaffeelöscherkasten\", 1, 100, false);\n\t\tlocation[1].createItem(1, \"Kaffeelöscher\", 1, 101, false);\n\t\tlocation[2].createItem(0, \"Kaffeemaschine\", 2, 200);\n\t\tlocation[2].createItem(1, \"Küchenschränke\", 2, 201);\n\t\tlocation[3].createItem(0, \"Lüftungsschacht\", 3, 300, false);\n\t\tlocation[4].createItem(0, \"Notiz\", 4, 400, false);\n\t\tlocation[5].createItem(0, \"Notiz\", 5, 500, false);\n\t\tlocation[6].createItem(0, \"Skillbook\", 6, 600, false);\n\t\tlocation[9].createItem(0, \"Feueraxt\", 9, 900);\n\t\tlocation[9].createItem(1, \"Gulli\", 9, 901, false);\n\t\tlocation[13].createItem(0, \"Notiz\", 13, 1300, false);\n\t\tlocation[13].createItem(1, \"Spind 42\", 13, 1301, false);\n\t\tlocation[14].createItem(0, \"Spachtel\", 14, 1400, false);\n\t\tlocation[19].createItem(0, \"Notiz\", 19, 1900);\n\t\tlocation[20].createItem(0, \"Kaffeetasse\", 20, 2000, false);\n\t\t\n\t\t\n\t\t/***********************BESCHREIBUNGEN DER GEGENSTÄNDE****************************/\n\t\tlocation[0].getItemByName(\"Schrank\").setDescription(\"Funzt >> desSchrank!\");\n\t\tlocation[0].getItemByName(\"Stuhl\").setDescription(\"Ein Scott Chefsessel aus original Kunstleder im Wert von 500€, der nur dir gehört.\");\n\t\tlocation[0].getItemByName(\"Schreibtisch\").setDescription(\"Dieser Schreibtisch braucht eine neue Lackierung. Achso, und ein Putzkommando!\"\n\t\t\t\t+ \"\\nTrotz der Unordnung fällt dir ein vollgekritzeltes Papier [paper] auf, auf dem du dein letztes Meisterwerk, das Ergebnis der unendlichen Summe, niedergeschrieben hast!\");\n\t\tlocation[0].getItemByName(\"Rätsellösung\").setDescription(\"Du hast hier die Summe der Unendlichkeit errechnet. Sie lautet -1/12!\");\n\t\tlocation[1].getItemByName(\"Kaffeelöscherkasten\").setDescription(\"Dieser Kasten beinhaltet einen Kaffeelöscher [coffee extinguisher], dieser ist der (un)natürlichste Bestandteil einer Feuerwehrausrüstung! \"\n\t\t\t\t+ \"Der Kasten ist durch ein elektronisches Sicherheitsschloss gesichert!\");\n\t\tlocation[1].getItemByName(\"Kaffeelöscher\").setDescription(\"Ein Feuerlöscher mit komisch riechendem Kaffee gefüllt.\");\n\t\tlocation[2].getItemByName(\"Kaffeemaschine\").setDescription(\"Eine hochwertig billige Kaffeemaschine. Die nicht funktoniert, irgendwer muss wohl das Stromkabel rausgezogen haben.\");\n\t\tlocation[2].getItemByName(\"Küchenschränke\").setDescription(\"Unter einem der Schränke ist ein Hohlraum, welcher unter dem ganzen Kaffeeraum hindurch führt zu einem\"\n\t\t\t\t+ \"\\ngeheimen Raum [chamber].\");\n\t\tlocation[3].getItemByName(\"Lüftungsschacht\").setDescription(\"Du entdeckst einen Geheimraum [ventilationroom].\");\n\t\tlocation[4].getItemByName(\"Notiz\").setDescription(\"Funzt >> desNotiz4!\");\n\t\tlocation[5].getItemByName(\"Notiz\").setDescription(\"Funzt >> desNotiz5!\");\n\t\tlocation[6].getItemByName(\"Skillbook\").setDescription(\"Dies ist das verstaubte Skillbook des toten Beammeisters.\");\n\t\tlocation[9].getItemByName(\"Feueraxt\").setDescription(\"Es ist eine Feueraxt!\");\n\t\tlocation[9].getItemByName(\"Gulli\").setDescription(\"Ein Gullideckel... er ist eckig, er ist halt auch ein Individuum.\"\n\t\t\t\t+ \"\\nDu brauchst irgendeinen Trick um den Gullideckel anheben zu können.\");\n\t\tlocation[14].getItemByName(\"Spachtel\").setDescription(\"Du wolltest ihn eigentlich der Chemiesammlung wiedergeben, aber er glänzt so schön.\");\n\t\tlocation[20].getItemByName(\"Kaffeetasse\").setDescription(\"Frischer Kaffee... Yammy\");\n\t\t\n\t\t\n\t\t/**********************BESCHREIBUNGEN BEIM INTERAGIEREN***************************/\n\t\tlocation[0].getItemByName(\"Stuhl\").setInteractDescription(\"Du setzt dich auf deinen Stuhl.\"\n\t\t\t\t+ \"\\nEs macht knack und du sitzt auf'm Boden... Das Steak zum Frühstück war wohl doch zu viel.\");\n\t\tlocation[1].getItemByName(\"Kaffeelöscherkasten\").setInteractDescription(\"Das kannst du nicht machen. Das elektronische Sicherheitsschloss will das nicht! \"\n\t\t\t\t+ \"Ob du einen Weg findest es zu bezwingen?\");\n\t\tlocation[1].getItemByName(\"Kaffeelöscher\").setInteractDescription(\"Jetzt bist du ein wahrer Feuerwehrmann.... Naja, nicht ganz, aber fast.\");\n\t\tlocation[2].getItemByName(\"Kaffeemaschine\").setInteractDescription(\"Du willst den Stecker in die Steckdose stecken, aber die Steckdose will das nun halt nicht und gibt dir deswegen einen tödlichen Stromschlag.\");\n\t\tlocation[6].getItemByName(\"Skillbook\").setInteractDescription(\"Du kannst dich nun beamen!\");\n\t\tlocation[9].getItemByName(\"Feueraxt\").setInteractDescription(\"Diese Axt gehört zur Grundausstattung eines Feuerbekämpfers.\");\n\t\tlocation[20].getItemByName(\"Kaffeetasse\").setInteractDescription(\"Bei dem Versuch die Kaffeetasse hochzuheben, schmeißt du sie um, wodurch du einen schönen Kurzschluss verursachst.\"\n\t\t\t\t+ \"Wenn du Glück hast, hast du nur dich damit getötet und nicht gleich die ganze Welt!\");\n\t\t\n\t\t\n\t\t\n\t\t/*************************ERSTELLEN DER STUDENTEN*********************************/\n\t\tlocation[12].createStudent(\"Maribelle\", 12);\n\t\tlocation[15].createStudent(\"Jochen\", 15);\n\t\tlocation[16].createStudent(\"Anthon\", 16);\n\t\tlocation[17].createStudent(\"Gerhard\", 17);\n\t\t\n\t\t/****************************SETZEN DER FRAGE*************************************/\n\t\tlocation[12].getStudent().setQuestionText(\"Ahh, Sie lassen sich also hier blicken, Herr Euler! Beantworten sie mir doch, wie Chopin mit Vornamen hieß.\");\n\t\tlocation[15].getStudent().setQuestionText(\"Greetings Mate! Is english DLC working right know?\");\n\t\tlocation[16].getStudent().setQuestionText(\"Ehehe Euler, was sind Dreipacken minus Zweipacken?\");\n\t\tlocation[17].getStudent().setQuestionText(\"Moin Euler, sagen Sie doch mal Ihre Summe des Unendlichen!\");\n\t\t\n\t\t\n\t\t/***************************SETZEN DER ANTWORT************************************/\n\t\tlocation[12].getStudent().setAnswerText(\"Frederic\");\n\t\tlocation[15].getStudent().setAnswerText(\"No\");\n\t\tlocation[16].getStudent().setAnswerText(\"Einpacken\");\n\t\tlocation[17].getStudent().setAnswerText(\"-1/12\");\n\t\t\n\t\t/******************SETZEN DES HINWEISES AUF DIE NOTIZEN***************************/\n\t\tlocation[12].getStudent().setHint(\"Ahh, woher wissen Sie denn das. Als ich das letzte Mal im Konferenzraum war, war die Luft so stickig!\\nJemand müsste mal den Lüftungsschacht untersuchen.\");\n\t\tlocation[15].getStudent().setHint(\"Oh, I see. Do you think locker 42 is somewhat special? Because I do think so!\");\n\t\tlocation[16].getStudent().setHint(\"Ihihi, fürchte dich vor Kaffe, der ist Tödlich!\");\n\t\tlocation[17].getStudent().setHint(\"Boah, darauf wäre ich nicht gekommen!\\nWissen Sie, warum der Boden im Kaffeeraum so hoch ist? Na, egal...\");\n\t}", "public ARPDatagram(String ll3P){\n HeaderFieldFactory fieldFactory = HeaderFieldFactory.getInstance();\n ll3pAddress = fieldFactory.getItem(Constants.LL3P_DESTINATION_ADDRESS_FIELD_ID, ll3P);\n }", "public PacketAssembler()\n {\n \tthis.theTreeMaps = new TreeMap<Integer, TreeMap<Integer,String>>();\n \tthis.countPerMessage = new TreeMap<Integer,Integer>();\n }", "private void createLeverSpace() {\n\t\tGridBagConstraints leverConstraints = new GridBagConstraints();\n\t\t\n\t\tif (cleanedLever) {\n\t\t\tleverImage.setIcon(leverIconClean);\n\t\t} else if (!cleanedLever) {\n\t\t\tleverImage.setIcon(leverIconRusty);\n\t\t} else if (eventsMain.getEventsLogic().getLeverSetting()) {\n\t\t\tleverImage.setIcon(leverIconOn);\n\t\t}\n\t\t\n\t\tleverImage.addMouseListener(eventsMain);\n\t\tleverImage.addMouseMotionListener(eventsMain);\n\t\t\n\t\t// add the lever image to the container\n\t\tleverPanel.add(leverImage, leverConstraints);\n\t\tleverPanel.setOpaque(false);\n\t}", "protected abstract void createPacketData();", "public MMCAgent() {\n\n\t}", "private flightLeg(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, byte le) {\n\tthis(cla, ins, p1, p2, le & 0xFF);\n }", "private ServerEntityMetadataPacket() {}", "public Packet(int id, ArrayList<Node> biDirectionalLinks, ArrayList<Integer> receivedHelloFrom) {\n this.biDirectionalLinks = biDirectionalLinks;\n this.receivedHelloFrom = receivedHelloFrom;\n packetType = 0;\n this.id = id;\n }", "public TTL_CIL_Communicator()\n {\n }", "public LE(AbstractC0242hn hnVar, C0246hr hrVar, h6 h6Var, AbstractC0237hg hgVar) {\n this.A02 = hnVar;\n this.A01 = hrVar;\n this.A05 = h6Var;\n this.A03 = hgVar;\n }", "private MessageType(String abbrev) {\n tla = abbrev;\n }", "public suiluppo_equip_allocation create(long equip_allocat_id);", "public LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN() {}", "private AppLnmMcaBl() {\n\t\tsuper(\"APP_LNM_MCA_BL\", Wetrn.WETRN);\n\t}", "FJPacket( AutoBuffer ab, int ctrl ) { _ab = ab; _ctrl = ctrl; }", "public LoansInfoPolitics()\n\t{\n\t\tsuper(new BorderLayout());\n\t}", "public RoutePacket(byte[] data, int base_offset) {\n super(data, base_offset);\n amTypeSet(AM_TYPE);\n }", "public LcpPacketMap(LcpPacketFactory parent) {\n this.parent = parent;\n this.packetFactories = new HashMap<Integer, PacketFactory>();\n }", "public HLCContactDetails() {\n }", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, byte[] data, byte le) {\n\tthis(cla, ins, p1, p2, data, le & 0xFF);\n }", "AliciaLab createAliciaLab();", "public Legend() {\n }", "public RoutePacket(byte[] data, int base_offset, int data_length) {\n super(data, base_offset, data_length);\n amTypeSet(AM_TYPE);\n }", "RS3PacketBuilder buildPacket(T node);", "@SuppressWarnings(\"UnusedReturnValue\")\n\tpublic static LexUnit_Governor make(final int luid, final Governor governor)\n\t{\n\t\tvar ug = new LexUnit_Governor(luid, governor);\n\t\tSET.add(ug);\n\t\treturn ug;\n\t}", "private MsgInstantiateContractResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public RoutePacket(int data_length) {\n super(data_length);\n amTypeSet(AM_TYPE);\n }", "public PacketHandler() {}", "public MapGameRequest(String map){\n super(map);\n this.content=\"MapRequest\";\n }", "public Hagrid(String characterName) {\r\n\t\tsuper(characterName);\r\n\t}", "public interface NewLine extends ClouBausteinElement {\n\n static NewLine create(CodePosition codePosition){\n return new NewLineImpl(codePosition);\n }\n\n}", "public LayerDto() {}", "Obligacion createObligacion();", "private Road()\n\t{\n\t\t\n\t}", "private MsgInstantiateContract(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private BTNode createNode() {\n BTNode btNode;\n btNode = new <DataPair>BTNode ();\n btNode.mIsLeaf = true;\n btNode.mCurrentKeyNum = 0;\n return btNode;\n }", "@Override\r\n\tpublic void buildImpl() {\n\t\tint nbLasers =(int)Math.ceil((double)lanesPerLink.length / (double)linksPerLaser);\r\n\t\tlasers = new Laser[nbLasers];\r\n\t\tpoweredChannelForLaserI = new int[nbLasers];\r\n\t\tpoweredHorizonForLaserI = new double[nbLasers];\r\n\t\tcanBeExtended = new boolean[nbLasers];\r\n\t\tboolean timeLine = lue.isWithTimeLine();\r\n\t\tfor (int i = 0; i < nbLasers ; i++) {\r\n\t\t\tlasers[i] = laserTemplate.getCopy(i, nbLasers, timeLine);\r\n\t\t\tlasers[i].setLinkUtilisationExperiment(lue);\r\n\t\t}\r\n\t}", "public LSystemBuilderImpl() {\n\t\tthis.commands = new Dictionary();\n\t\tthis.productions = new Dictionary();\n\t\tunitLength = 0.1;\n\t\tunitLengthDegreeScaler = 1;\n\t\torigin = new Vector2D(0, 0);\n\t\tangle = 0;\n\t\taxiom = \"\";\n\t}", "public CardCommandAPDU(byte cla, byte ins, byte p1, byte p2, byte[] data, int le) {\n\tthis(cla, ins, p1, p2, data);\n\n\tsetLE(le);\n }", "public RoutePacket(net.tinyos.message.Message msg, int base_offset) {\n super(msg, base_offset, DEFAULT_MESSAGE_SIZE);\n amTypeSet(AM_TYPE);\n }", "public NPC(NPCDefinition definition) {\n\t\tsuper();\n\t\tthis.definition = definition;\n\t\tthis.gamedef = CacheNPCDefinition.forId(definition.getId());\n\t\tthis.combatdef = NPCCombatDefinition.forId(definition.getId());\n\t\tthis.health = combatdef.getMaxHealth();\n\t}", "public Labyrinthe (int h, int l) {\n\thauteur = h;\n\tlargeur = l;\n\ttailleRoute = 0;\n\tGenererLab (h, l);\n }", "public Layer(double h, List<String> cmds)\n\t{\n\t\tcommands = cmds;\t\n\t\theight = h;\n\t}", "Position_changerAbscisse createPosition_changerAbscisse();", "@Override\n\tpublic void ConstructNetwork() {\n\t\t\n\t\tAddUnit add_r_t=new AddUnit();\n\t\tUnitIterator ui=new UnitIterator();\n\t\tui.unit=add_r_t;\n\n\t\tnetwork=new UnitList();\n\t\tnetwork.unitList.add(ui);\n\t\tnetwork.unitList.add(new AddUnit());\n\t\t\t\n\t}", "public Case(int posX, int posY, LivingBeing lb){\n\t\tthis.posX=posX; \n\t\tthis.posY=posY;\n\t\tthis.lb=lb; \n\t}", "ShipmentGatewayDhl createShipmentGatewayDhl();", "public ArtPollPacket() {\n this((byte) 0b00000110, ArtNetPriorityCodes.DP_CRITICAL);\n }", "public AirAndPollen() {\n\n\t}", "public Lotto2(){\n\t\t\n\t}", "private CircleInformationMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public Packet1Login () { \n }", "public abstract LivingObject createLife(Cell locat);", "public TrackClientPacketHandler() \n {\n super(Constants.DEVICE_CODE);\n }", "private void construireGrilleParDefaut() {\r\n\t\tthis.m_builder = new BuilderHerbe();\r\n\t\tCircuit.getInstance().clearElements();\r\n\t\t\r\n\t\tfor(int x=0;x<this.m_nbLignes;x++) {\r\n\t\t\tfor(int y=0;y<this.m_nbColonnes;y++) {\r\n\t\t\t\tthis.m_builder.creerElement(this,x+\"_\"+y);\r\n\t\t\t\tthis.m_builder.getElement().setBorderElement(new PointillerBorder(Color.GRAY,1));\r\n\t\t\t\tthis.m_panelGrid.add((Element)this.m_builder.getElement());\r\n\t\t\t\t\r\n\t\t\t\tCircuit.getInstance().addElement(this.m_builder.getElement());\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public LCMultiblockPacket(DimensionPos target, NBTTagCompound compound) {\n\t\tthis.target = target;\n\t\tthis.compound = compound;\n\t}", "public void initMessage(String agent, String protocol, String content, int performative) {\n out = new ACLMessage();\n out.setSender(getAID());\n out.addReceiver(new AID(agent, AID.ISLOCALNAME));\n out.setProtocol(protocol);\n out.setContent(content);\n out.setEncoding(_myCardID.getCardID());\n out.setPerformative(performative);\n this.send(out);\n }", "Dimension_longueur createDimension_longueur();", "@Override\r\n\tpublic int type() {\n\t\treturn Packets.CREATE;\r\n\t}" ]
[ "0.55524224", "0.5432264", "0.5392202", "0.53268844", "0.51341504", "0.5065475", "0.5060205", "0.5048894", "0.50207335", "0.4992702", "0.49578485", "0.49115768", "0.48717582", "0.48632237", "0.48498523", "0.48428366", "0.48377293", "0.48269257", "0.4805859", "0.47836912", "0.47805125", "0.47715908", "0.47704405", "0.47578388", "0.4746309", "0.47460106", "0.47450545", "0.47386593", "0.4736729", "0.47345945", "0.47251505", "0.47200269", "0.4711828", "0.4694476", "0.46808666", "0.46776012", "0.46750733", "0.46742305", "0.4671291", "0.4670172", "0.46688327", "0.4663774", "0.466356", "0.46632937", "0.4653652", "0.46475524", "0.46359697", "0.46353543", "0.46348378", "0.46335623", "0.46310598", "0.46284106", "0.46256304", "0.46193248", "0.46188945", "0.46116483", "0.46050787", "0.46014336", "0.46010667", "0.46000475", "0.4599626", "0.4587016", "0.45869216", "0.45693368", "0.4568237", "0.45671672", "0.45520875", "0.45510483", "0.45465976", "0.45459217", "0.45324105", "0.45205328", "0.45194092", "0.45153782", "0.45103687", "0.4507374", "0.45036536", "0.45032302", "0.45014814", "0.45000628", "0.4498099", "0.44973984", "0.44880697", "0.4476694", "0.4472619", "0.44725394", "0.4470027", "0.44687322", "0.4467034", "0.4464188", "0.44633186", "0.44608402", "0.44558808", "0.44550726", "0.44470918", "0.44397545", "0.44389898", "0.44319937", "0.44314122", "0.44305795" ]
0.5415829
2
TODO Autogenerated method stub
public static void main(String[] args) { int [] input = {10,50,20,60,30}; bubble_srt(input); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Parse whether it's in debug mode.
@Override public void parse(JsonNode data) throws InvalidCaseException { JsonNode node = getConfValue(DEBUG); if (node != null && (node.getBooleanValue() || Boolean.parseBoolean(node.getTextValue()))) { debug = true; } int daemonsPerSection = 0; boolean enableTTL = false; // Whether ttl feature is enabled. node = getConfValue(CACHE_ENABLE_TTL); if (node != null && (node.getBooleanValue() || Boolean.parseBoolean(node.getTextValue()))) { enableTTL = true; } // Parse daemons number per section. node = getConfValue(CACHE_DAEMONS_PER_SECTION); daemonsPerSection = node.getIntValue(); cacheConf = CacheConfig.getConfig(daemonsPerSection, enableTTL); MailConf conf = MailConf.getConf(); conf.setHost(getConfValue("mail.host").getTextValue()); conf.setPort(getConfValue("mail.port").getIntValue()); conf.setUsername(getConfValue("mail.username").getTextValue()); conf.setPasswd(getConfValue("mail.password").getTextValue()); conf.setSsl(getConfValue("mail.ssl").getBooleanValue()); conf.setSender(getConfValue("mail.sender").getTextValue()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDebug();", "boolean isDebug();", "boolean isDebug();", "private final boolean isDebugMode() {\r\n\tString debug = m_ctx.getInitParameter(\"gateway.debug\");\r\n\tif (debug == null)\r\n\t return false;\r\n\tif (debug.equalsIgnoreCase(\"true\"))\r\n\t return true;\r\n\telse\r\n\t return false;\r\n }", "public boolean isDebugEnabled();", "boolean isDebugEnabled();", "public boolean isDebug( ) {\n\t\treturn debug;\n\t}", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "public boolean isDebug() {\n\t\treturn debug;\n\t}", "public boolean isDebugMode() {\n return debugMode;\n }", "public boolean isDebug()\n\t{\n\t\treturn this.debug;\n\t}", "public static boolean isDebugMode(Context context) {\n SharedPreferences preference=context.getSharedPreferences(AppSectionsConstant.Storage.PREFERENCE_CONF_SETTING, Context.MODE_PRIVATE);\n boolean bDebugMode=preference.getBoolean(KEY_SETTING_GENERAL_DEBUGMODE, DEFAULT_VAL_DEBUGMODE);\n return bDebugMode;\n }", "public boolean isDebug() {\n\t\treturn _debug;\n\t}", "public boolean getDebugMode() { return debugMode; }", "public boolean getDebugStatus() {\r\n return DEBUG;\r\n }", "protected boolean isDebugging() {\n\t\treturn debugging;\n\t}", "public final boolean isDebugOn()\n {\n return this.getPropertyValue(GUILoggerSeverityProperty.DEBUG);\n }", "public boolean getDebugMode()\n {\n return debugMode;\n }", "static boolean debug(Configuration conf) {\n return conf.getBoolean(DEBUG_FLAG, false);\n }", "public boolean getDebug() {\n return debug;\n }", "public boolean getDebug() {\n return debug;\n }", "private static boolean development() {\n final String mode = mode();\n return \"dev\".equalsIgnoreCase(mode);\n }", "public static boolean isDebugging(final String trace) {\n return getDefault().isDebugging()\n && \"true\".equalsIgnoreCase(Platform.getDebugOption(trace)); //$NON-NLS-1$ \n }", "protected boolean isContinueDebug() {\n\t\treturn continueDebug;\n\t}", "protected final boolean hasDebug() {\n return m_debug;\n }", "public boolean isDisplayDebug() {\n return displayDebug;\n }", "public static boolean UnityAdsGetDebugMode() {\n Log.d(\"Unity cocos2dx Sample\", \"[UnityAds Demo] UnityAdsGetDebugMode\");\n return UnityAds.getDebugMode();\n }", "public boolean isDebugEnabled() {\n return debugEnabled;\n }", "public boolean supportsDebugArgument();", "protected boolean isDebugEnable() {\n return BlurDialogEngine.DEFAULT_DEBUG_POLICY;\n }", "public static boolean debugging()\n {\n return info;\n }", "public boolean isDebugged() {\r\n\t\treturn debugged;\r\n\t}", "public boolean getDebug() {\n return this.debug;\n }", "public boolean getDebug() {\n return this.debug;\n }", "@Override\r\n public boolean isDebug() {\n return BuildConfig.DEBUG;\r\n }", "@Override\n public boolean isDebug() {\n return BuildConfig.DEBUG;\n }", "private void checkProductionMode() {\n if (getApplicationOrSystemProperty(SERVLET_PARAMETER_DEBUG, \"true\")\n .equals(\"false\")) {\n // \"Debug=true\" is the old way and should no longer be used\n productionMode = true;\n } else if (getApplicationOrSystemProperty(\n SERVLET_PARAMETER_PRODUCTION_MODE, \"false\").equals(\"true\")) {\n // \"productionMode=true\" is the real way to do it\n productionMode = true;\n }\n \n if (!productionMode) {\n /* Print an information/warning message about running in debug mode */\n // TODO Maybe we need a different message for portlets?\n logger.warning(NOT_PRODUCTION_MODE_INFO);\n }\n }", "@Input\n public boolean isDebuggable() {\n return debug;\n }", "public static boolean debugOn()\r\n {\r\n on = true;\r\n System.out.println(\"Debug Mode On\");\r\n return on;\r\n }", "@Override\n\tpublic boolean isDebugEnabled() {\n\t\treturn debugEnabled;\n\t}", "public static final boolean isDebugInfo() { return true; }", "public static void syncIsDebug(Context context) {\n if (isDebug == null) {\n isDebug = context.getApplicationInfo() != null\n && (context.getApplicationInfo().flags\n & ApplicationInfo.FLAG_DEBUGGABLE) != 0;\n }\n }", "public void setDebug(boolean b) { debug = b; }", "public void setDebugMode(final boolean dMode) { debugMode = dMode; }", "public void setDebug(boolean value) {\n\t\tdebug = value;\n\t}", "public boolean isDebugEnabled() {\n return getFormat().getConverterService().isDebugEnabled();\n }", "void setDebugEnabled(boolean value) {\r\n debug_enabled = value;\r\n }", "public void setDebugMode(boolean status)\n {\n debugMode = status;\n }", "@Override\n\tpublic void setDebug(boolean isDebug) {\n\t\t\n\t}", "@Override\n\tpublic void setDebugMode(boolean debug) {\n\n\t}", "public static void setDebug(boolean d) {\n\t\tdebug = d;\n\t}", "public void setDebug(boolean debug) {\n this.debug=debug;\n }", "public static void setDebugMode(boolean debugMode) {\n mDebug = debugMode;\n }", "public static boolean debugOff()\r\n {\r\n on = false;\r\n System.out.println(\"Debug Mode Off\");\r\n return on;\r\n }", "public static boolean isDebuggable(Application app) {\n ApplicationInfo info = app.getApplicationInfo();\n return (info.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;\n }", "public static void enableDebugging(){\n DEBUG = true;\n }", "public IRubyObject getDebug() {\n return debug ? trueObject : falseObject;\n }", "public IRubyObject getDebug() {\n return debug ? trueObject : falseObject;\n }", "public void setDebug(boolean debug) {\n this.debug = debug;\n }", "public void setDebug(boolean debug) {\n this.debug = debug;\n }", "public boolean isDebugEnabled()\n/* */ {\n/* 250 */ return getLogger().isDebugEnabled();\n/* */ }", "public void setDebugMode(boolean debugMode)\r\n {\r\n this.debugMode = debugMode;\r\n }", "private static boolean _parseBoolean(String boolStr, boolean dft)\n {\n\n /* blank boolean value */\n if (StringTools.isBlank(boolStr)) {\n // -- boolean value is blank/null\n return dft;\n }\n\n /* trim and check for debug condition */\n if (boolStr.startsWith(\"d\") ||boolStr.startsWith(\"D\")) {\n // -- parse as conditional debug boolean [\"dtrue\" | \"dfalse\"]\n // - \"dtrue\" : \"true\" unless debugMode\n // - \"dfalse\" : \"false\" unless debugMode\n boolean val = StringTools.parseBoolean(boolStr.substring(1), dft);\n return RTConfig.isDebugMode()? !val : val;\n }\n\n /* parse as traditional boolean value */\n return StringTools.parseBoolean(boolStr, dft);\n\n }", "public void setDebug(boolean f) {\n debug = f;\n }", "public static boolean isDebugEnabled() {\n\n return debugLogger.isDebugEnabled();\n }", "public void setDebug(final boolean debug)\n {\n this.debug = debug;\n }", "public void toggleDebug() {\n\t\tdebug = debug ? false : true;\n\t}", "private static native boolean isDevelopmentMode()/*-{\n return typeof $wnd.__gwt_sdm !== 'undefined';\n }-*/;", "public void setDebugMode(boolean debugMode) {\n this.debugMode = debugMode;\n }", "public static void debug(boolean d) {\n D = d;\n }", "public static boolean isDevEnv() {\n return (Boolean) Launch.blackboard.get(\"fml.deobfuscatedEnvironment\");\n }", "public static boolean canShowDebugMessage() {\r\n\t\treturn showDebugMessage;\r\n\t}", "public boolean isDojoDebug() {\n return mDojoDebug;\n }", "public void setDebug(boolean debug) {\n\t\tthis._debug = debug;\n\t}", "public static void setDebug(boolean db) {\n\n\t\tdebug = db;\n\n\t}", "public static boolean debug(int keyCode, boolean debug) {\n if (keyCode == 32) { \n return !debug;\n } else {\n return debug;\n }\n\n }", "@Override\n protected boolean isDebugEnable() {\n return false;\n }", "public void toggleDebugMode() {\r\n DEBUG = !DEBUG;\r\n }", "@Override\n\tpublic void setDebugMode(int debugMode) {\n\n\t}", "public void setDebuggable(boolean debug) {\n this.debug = debug;\n }", "void setDebug(boolean mode) {\n\t\tdebug = mode;\n\t}", "public void setDebug(boolean isDebug)\n {\n this.isDebug = isDebug;\n this.repaint();\n }", "public static void setDebug(boolean flag)\n\t{\n\t\tm_debugFlag = flag;\n\t}", "public void enableDebug() {\n this.debug = true;\n }", "public boolean debug(Class<?> eventClass) {\n return debugGlobal?(debugPrivates.containsKey(eventClass)?debugPrivates.get(eventClass):defaultee(eventClass)):false;\n }", "protected String getDebugParameter() {\n return debug ? \"/debug\" : null;\n }", "public boolean getSpecifyDebugCcl() {\n return specifyDebugCcl;\n }", "public static void setDebug(int b) {\n debug = b;\n }", "private static void checkDebug() {\n try {\n if (Boolean.getBoolean(\"gfAgentDebug\")) {\n mx4j.log.Log.setDefaultPriority(mx4j.log.Logger.TRACE); // .DEBUG\n }\n } catch (VirtualMachineError err) {\n SystemFailure.initiateFailure(err);\n // If this ever returns, rethrow the error. We're poisoned\n // now, so don't let this thread continue.\n throw err;\n } catch (Throwable t) {\n // Whenever you catch Error or Throwable, you must also\n // catch VirtualMachineError (see above). However, there is\n // _still_ a possibility that you are dealing with a cascading\n // error condition, so you also need to check to see if the JVM\n // is still usable:\n SystemFailure.checkFailure();\n /* ignore */\n }\n }", "public boolean getDevelopment();", "@Override\n\tpublic boolean isDebugEnabled(Marker marker) {\n\t\treturn false;\n\t}", "public void setDebug( boolean debugF ) {\n\t\tthis.debug = debugF;\n\t\t}", "public static boolean isDebugAccessible() {\r\n\t\treturn DEBUG_DEPENDENCY;\r\n\t}", "public void setDebugEnabled(boolean debugEnabled) {\n this.debugEnabled = debugEnabled;\n }", "public void setDebugging(boolean on)\n\t{\n\t\t_options.setDebugging(on);\n\t}", "@Override\n public boolean isLoggable(int priority, String tag) {\n return BuildConfig.DEBUG;\n }", "public static void setDebug(boolean debug) {\n IsDebug = debug;\n if (debug)\n setLevel(VERBOSE);\n else\n setLevel(INFO);\n }", "public void setDebug(IRubyObject debug) {\n this.debug = debug.isTrue();\n }", "public void setDebug(IRubyObject debug) {\n this.debug = debug.isTrue();\n }", "static void debug() {\n ProcessRunnerImpl.setGlobalDebug(true);\n }", "public void setDisplayDebug(boolean displayDebug) {\n this.displayDebug = displayDebug;\n }" ]
[ "0.73967475", "0.7373957", "0.7373957", "0.7242601", "0.712117", "0.70865816", "0.7078991", "0.7008296", "0.7008296", "0.6877575", "0.6832702", "0.6808817", "0.6807516", "0.67707485", "0.67309374", "0.66611546", "0.66505843", "0.66320294", "0.6577881", "0.65135795", "0.65135795", "0.649417", "0.6474792", "0.6420872", "0.63947564", "0.63923967", "0.6386764", "0.63779885", "0.63234985", "0.6312428", "0.6300084", "0.6284705", "0.62806344", "0.62806344", "0.62788534", "0.62507147", "0.6204745", "0.6190142", "0.61807257", "0.6170451", "0.6142808", "0.6137164", "0.61262923", "0.60755754", "0.6032052", "0.6024924", "0.5952433", "0.5940061", "0.59371334", "0.5916604", "0.58904964", "0.57774925", "0.5765754", "0.57571495", "0.57307655", "0.5729346", "0.57211536", "0.57211536", "0.5715319", "0.5715319", "0.5665054", "0.56633174", "0.5652325", "0.56174845", "0.5611942", "0.55895966", "0.5578307", "0.557179", "0.5562835", "0.5558158", "0.5550257", "0.5541931", "0.5518709", "0.5518115", "0.5509867", "0.5503113", "0.55018574", "0.55016804", "0.54794383", "0.54561865", "0.5445017", "0.5421137", "0.5416031", "0.54112697", "0.5409582", "0.5407718", "0.53761315", "0.53716093", "0.53702337", "0.53588367", "0.534103", "0.5327931", "0.53161305", "0.5298116", "0.52909154", "0.5269624", "0.5258271", "0.52540416", "0.52540416", "0.5250722", "0.52471036" ]
0.0
-1
alterando a linguagem automatica do compilador para a desejada
public static void main(String[] args) { Locale.setDefault(Locale.US); //criando objeto do tipo Scanner que irá realizar a leitura padrão do teclado Scanner sc = new Scanner(System.in); //cria uma lista do tipo TaxPlayer recebendo um new ArrayList List<TaxPlayer> list = new ArrayList<>(); //solicita a informação de quantos contribuintes terão os dados lidos System.out.println("Enter the number of tax payers: "); //armazena a quantidade de contribuintes no atributo numberTaxPlayer int numberTaxPlayer = sc.nextInt(); //laço for para que ocorra um loop conforme a quantidade de contribuintes que foi informado for(int i=1; i<=numberTaxPlayer; i++) { System.out.println("\nTax payer #" + i + " data: "); //solicitando que informe se é pessoa física ou jurídica System.out.println("Individual or company (i/c)? "); //armazenando no atributo op o caracter que foi digitado pelo usuário char op = sc.next().charAt(0); //limpando o buffer sc.nextLine(); //solicita a informação do nome do contribuinte System.out.println("Name: "); //armazena o nome do contribuinte no atributo name String name = sc.nextLine(); //solicita a informação de quanto é a renda anual do contribuinte System.out.println("Anual income: "); //armazenando o valor da renda anual do contribuinte no atributo currentIncome double currentIncome = sc.nextDouble(); //verifica se foi informado que o contribuinte é pessoa física ou jurídica if(op == 'i') { //solicita o valor dos gatos com saúde que o contribuinte teve durante o ano System.out.println("Health expenditures: "); //armazena no atributo healthExpenses o valor dos gastos com saúde double healthExpenses = sc.nextDouble(); //adiciona na lista um new PhysicalPerson chamando o construtor da classe passando os dados do contribuinte como parâmetro list.add(new PhysicalPerson(name, currentIncome, healthExpenses)); } else if(op == 'c') { //solicita que o contribuinte informe quantos funcionários possui System.out.println("Number of employees: "); //armazena no atributo numberEmployees o número de funcionários int numberEmployees = sc.nextInt(); //adiciona na lista um new LegalPerson chamando o construtor da classe passando os dados do contribuinte como parâmetro list.add(new LegalPerson(name, currentIncome, numberEmployees)); } } //instanciando e inicializando atributo que irá armazenar a soma da arrecadação de imposto double totalTax = 0; //percorre cada posição na lista System.out.println("\nTAXES PAID: "); for(TaxPlayer x : list) { //printando ome do contribuinte e a taxa de imposto a ser paga pelo contribuinte System.out.println(x.getName() + ": $" + String.format("%.2f", x.tax())); //somando a taxa de imposto a ser paga por cada contribuinte totalTax += x.tax(); } //printando a arrecação total de imposto System.out.println("\nTOTAL TAXES: $" + String.format("%.2f", totalTax)); //encerrando o objeto do tipo scanner que permite a entrada de dados padrão do teclado sc.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reestablecerComponentes()\n {\n tokenslist = new LinkedList<LineaToken>();\n tokenslistErrores = new LinkedList<LineaToken>();\n info_tabla_tokens.clear();\n info_tabla_errores.clear();\n ta_errores_sintacticos_id.clear();\n ta_errores_semanticos_id.clear();\n ta_tabla_simbolos_id.clear();\n ta_codigo_ensamblador_id.clear();\n Generador.contadorEtiq = 1;\n Generador.etiqAnterior = \"L0\";\n EliminarArchivoASM();\n }", "public void limpiar() {\n\t//txtBuscar.setText(\"\");\n\n\t// codTemporal.setText(\"\");\n\thabilita(true, false, false, false, false, true, false, true, true);\n }", "void localizationChaneged();", "private void limparComponentes() {\n textCodigo.setText(\"0\");\n textDescricao.setText(\"\");\n tableCategorias.clearSelection();\n }", "public void limpiar() {\n\t\taut_empleado.limpiar();\n\t\tutilitario.addUpdate(\"aut_empleado\");// limpia y refresca el autocompletar\n\n\n\t}", "private void atualizarTela() {\n\t\tif(this.primeiraJogada == true) {//SE FOR A PRIMEIRA JOGADA ELE MONTA O LABEL DOS NUMEROS APOS ESCOLHER A POSICAO PELA PRIMEIRA VEZ\r\n\t\t\tthis.primeiraJogada = false;\r\n\t\t\tthis.montarLabelNumeros();\r\n\t\t}\r\n\r\n\t\tthis.esconderBotao();\r\n\t\t\r\n\t\tthis.acabarJogo();\r\n\t}", "void changeLanguage() {\n\n this.currentLocaleIndex++;\n if(this.currentLocaleIndex > this.locales.size() - 1) this.currentLocaleIndex = 0;\n this.updateBundle();\n }", "static private void setLanguage(String strL) {\r\n\r\n\t\tstrLanguage = strL;\r\n\r\n\t\t// need to reload it again!\r\n\t\tloadBundle();\r\n\t}", "public void applyI18n(){\n if (lastLocale != null && \n lastLocale == I18n.getCurrentLocale()) {\n return;\n }\n lastLocale = I18n.getCurrentLocale();\n \n strHelpLabel= I18n.getString(\"label.help1\")+ version;\n strHelpLabel+=I18n.getString(\"label.help2\");\n strHelpLabel+=I18n.getString(\"label.help3\");\n strHelpLabel+=I18n.getString(\"label.help4\");\n strHelpLabel+=I18n.getString(\"label.help5\");\n strHelpLabel+=I18n.getString(\"label.help6\");\n strHelpLabel+=I18n.getString(\"label.help7\");\n strHelpLabel+=I18n.getString(\"label.help8\");\n helpLabel.setText(strHelpLabel);\n }", "public void setLang() {\n new LanguageManager() {\n @Override\n public void engLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_eng);\n mSaleTitle = getString(R.string.converter_sale_eng);\n mPurchaseTitle = getString(R.string.converter_purchase_eng);\n mCountTitle = getString(R.string.converter_count_of_currencies_eng);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_eng));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleEng().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleEng());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleEng().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_eng);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_eng);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_eng);\n mToastFailure = getString(R.string.converter_toast_failure_eng);\n mTitle = getResources().getString(R.string.drawer_item_converter_eng);\n mMessage = getString(R.string.dialog_template_text_eng);\n mTitleButtonOne = getString(R.string.dialog_template_edit_eng);\n mTitleButtonTwo = getString(R.string.dialog_template_create_eng);\n mToastEdited = getString(R.string.converter_toast_template_edit_eng);\n mToastCreated = getString(R.string.converter_toast_template_create_eng);\n mMessageFinal = getString(R.string.converter_final_dialog_text_eng);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_eng);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_eng);\n }\n\n @Override\n public void ukrLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_ukr);\n mSaleTitle = getString(R.string.converter_sale_ukr);\n mPurchaseTitle = getString(R.string.converter_purchase_ukr);\n mCountTitle = getString(R.string.converter_count_of_currencies_ukr);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_ukr));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleUkr().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleUkr());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleUkr().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_ukr);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_ukr);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_ukr);\n mToastFailure = getString(R.string.converter_toast_failure_ukr);\n mTitle = getResources().getString(R.string.drawer_item_converter_ukr);\n mMessage = getString(R.string.dialog_template_text_ukr);\n mTitleButtonOne = getString(R.string.dialog_template_edit_ukr);\n mTitleButtonTwo = getString(R.string.dialog_template_create_ukr);\n mToastEdited = getString(R.string.converter_toast_template_edit_ukr);\n mToastCreated = getString(R.string.converter_toast_template_create_ukr);\n mMessageFinal = getString(R.string.converter_final_dialog_text_ukr);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_ukr);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_ukr);\n }\n\n @Override\n public void rusLanguage() {\n mFirstCurrencyTitle = getString(R.string.converter_main_currency_rus);\n mSaleTitle = getString(R.string.converter_sale_rus);\n mPurchaseTitle = getString(R.string.converter_purchase_rus);\n mCountTitle = getString(R.string.converter_count_of_currencies_rus);\n eTTitle.setText(getResources().getString(R.string.drawer_item_converter_rus));\n tVChosenCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleRus().toUpperCase());\n tVChosenOrganizationTitle.setText(mMainListForActions.get(mPositionOfCurInList)\n .getOrganizations().get(mPositionOfOrgInList).getTitleRus());\n tVSecondCurrency.setText(mMainListForActions.get(mPositionOfCurInList)\n .getCurrency().getTitleRus().toUpperCase().concat(\" (\").concat(mCurrencyShortForm).concat(\")\"));\n mCurrencyDialogTitle = getString(R.string.drawer_item_currencies_rus);\n mOrganizationDialogTitle = getString(R.string.drawer_item_organizations_rus);\n mActionDialogTitle = getString(R.string.converter_dialog_action_title_rus);\n mToastFailure = getString(R.string.converter_toast_failure_rus);\n mTitle = getResources().getString(R.string.drawer_item_converter_rus);\n mMessage = getString(R.string.dialog_template_text_rus);\n mTitleButtonOne = getString(R.string.dialog_template_edit_rus);\n mTitleButtonTwo = getString(R.string.dialog_template_create_rus);\n mToastEdited = getString(R.string.converter_toast_template_edit_rus);\n mToastCreated = getString(R.string.converter_toast_template_create_rus);\n mMessageFinal = getString(R.string.converter_final_dialog_text_rus);\n mTitleButtonOneFinal = getString(R.string.converter_final_dialog_yes_rus);\n mTitleButtonTwoFinal = getString(R.string.converter_final_dialog_no_rus);\n }\n };\n getDataForActionDialog();\n setData();\n }", "public void componentsLocaleChanged() {\n\t\ttextRes = PeralexLibsBundle.getResource();\n\n\t\tlocaleChanged();\n\t}", "@Override\n\tpublic void delComLanguage(int id) {\n\t\t\n\t}", "private void atualizarPalitos() {\n Jogador jogador = servidor.getJogador(nomeJogador);\n LugarModelo lugarModelo = listaLugares.get(jogador.lugar - 1);\n lugarModelo.getMao().setText(jogador.quantidadePalitosApostados + \" Palitos\");\n lugarModelo.getQuantidadePalitosRestantes().setText(\"Palitos Restante: \" + jogador.quantidadePalitosRestantes + \"\");\n }", "@Override\n\tvoid desligar() {\n\t\tsuper.desligar();\n\t\tSystem.out.println(\"Automovel desligando\");\n\t}", "public void cambiarIdioma(String lenguaje){\n\n Locale idioma=new Locale(lenguaje);\n Locale.setDefault(idioma);\n\n\n\n Configuration configuraciontelefono=getResources().getConfiguration();\n configuraciontelefono.locale=idioma;\n getBaseContext().getResources().updateConfiguration(configuraciontelefono,getBaseContext().getResources().getDisplayMetrics());\n }", "public void definirCompraAutomatica() {\n this.compra_automatica = true;\n }", "public void resetLanguage() {\n BlockConnectorShape.resetConnectorShapeMappings();\n getWorkspace().getEnv().resetAllGenuses();\n BlockLinkChecker.reset();\n }", "public DetalharLembrete() {\n initComponents();\n CarregaLembrete();\n DesabilitarCampos();\n DadosEmpresa();\n }", "private static void resetDescontoMenosCompras(){\n for(Apps a : apps){\n if(a.isDescontoMenosCompras()){\n a.setDescontoMenosCompras(false);\n }\n }\n }", "public ElegirTipoBienWizard(String locale)\r\n {\r\n \t this.locale=locale;\r\n try{\r\n initComponents();\r\n renombrarComponentes();\r\n \r\n } catch (Exception e){\r\n logger.error(\"Error al importar actividades economicas\",e);\r\n }\r\n }", "public void limpacampos() {\n textFieldMarca.setText(null);\n textFieldModelo.setText(null);\n jtcor.setText(null);\n jfano.setText(null);\n comboBoxCombustivel.setSelectedIndex(-1);\n textFormattedValor.setText(null);\n comboBoxPortas.setSelectedIndex(-1);\n textFieldChassi.setText(null);\n jfplaca.setText(null);\n textFormattedPlaca.setText(null);\n textFieldTipo.setSelectedIndex(-1);\n textFieldStatus.setText(\"Disponível\");\n }", "@Override\n\tpublic void atualizar() {\n\t\t\n\t\t \n\t\t String idstring = id.getText();\n\t\t UUID idlong = UUID.fromString(idstring);\n\t\t \n\t\t PedidoCompra PedidoCompra = new PedidoCompra();\n\t\t\tPedidoCompra.setId(idlong);\n\t\t\tPedidoCompra.setAtivo(true);\n//\t\t\tPedidoCompra.setNome(nome.getText());\n\t\t\tPedidoCompra.setStatus(StatusPedido.valueOf(status.getSelectionModel().getSelectedItem().name()));\n//\t\t\tPedidoCompra.setSaldoinicial(saldoinicial.getText());\n\t\t\tPedidoCompra.setData(new Date());\n\t\t\tPedidoCompra.setIspago(false);\n\t\t\tPedidoCompra.setData_criacao(new Date());\n//\t\t\tPedidoCompra.setFornecedor(fornecedores.getSelectionModel().getSelectedItem());\n\t\t\tPedidoCompra.setFornecedor(cbfornecedores.getSelectionModel().getSelectedItem());\n\t\t\tPedidoCompra.setTotal(PedidoCompra.CalcularTotal(PedidoCompra.getItems()));\n\t\t\tPedidoCompra.setTotalpago(PedidoCompra.CalculaTotalPago(PedidoCompra.getFormas()));\n\t\t\t\n\t\t\t\n\t\t\tgetservice().edit(PedidoCompra);\n\t\t\tupdateAlert(PedidoCompra);\n\t\t\tclearFields();\n\t\t\tdesligarLuz();\n\t\t\tloadEntityDetails();\n\t\t\tatualizar.setDisable(true);\n\t\t\tsalvar.setDisable(false);\n\t\t\t\n\t\t \n\t\t \n\t\tsuper.atualizar();\n\t}", "protected void setLeadSurrogates() {\n /*\n // Can't load method instructions: Load method exception: null in method: android.icu.impl.coll.CollationDataBuilder.setLeadSurrogates():void, dex: in method: android.icu.impl.coll.CollationDataBuilder.setLeadSurrogates():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.setLeadSurrogates():void\");\n }", "public void comenzarDiaLaboral() {\n\t\tSystem.out.println(\"AEROPUERTO: Inicio del dia laboral, se abren los puestos de informe, atención y freeshops al público, el conductor del tren llega a tiempo como siempre\");\n\t\tthis.turnoPuestoDeInforme.release();\n\t\t}", "public void cargarModelo() {\n\t}", "public void applyI18n(){\r\n // Start autogenerated code ----------------------\r\n jButton1.setText(I18n.getString(\"oracleOptions.button1\",\"Save\"));\r\n jButton2.setText(I18n.getString(\"oracleOptions.button2\",\"Cancel\"));\r\n jLabel1.setText(I18n.getString(\"oracleOptions.label1\",\"Language\"));\r\n jLabel2.setText(I18n.getString(\"oracleOptions.label2\",\"Territory\"));\r\n // End autogenerated code ----------------------\r\n ((javax.swing.border.TitledBorder)jPanel1.getBorder()).setTitle(I18n.getString(\"oracleOptions.panelBorder.OracleOptions\",\"OracleOptions\") );\r\n }", "@Override\n\tpublic void alterar() {\n\t\t\n\t}", "public void aplicarDescuento();", "public void mudarIdioma() {\n\t\tString localeStr = facesUtil.getParam(\"locale\");\n\n\t\tif (localeStr.length() == 2) {\n\t\t\tlocale = new Locale(localeStr);\n\n\t\t} else {\n\t\t\tlocale = new Locale(localeStr.substring(0, 2), localeStr.substring(3));\n\t\t}\n\n\t\tfacesUtil.setLocale(locale);\n\t\tLog.setLogger(ConfigBean.class, facesUtil.getMessage(\"MGL064\", new String[] { localeStr }), Level.INFO);\n\t}", "private void inicializarComponentes() {\n universidadesIncluidos = UniversidadFacade.getInstance().listarTodosUniversidadOrdenados();\n universidadesIncluidos.removeAll(universidadesExcluidos);\n Comunes.cargarJList(jListMatriculasCatastrales, universidadesIncluidos);\n }", "public void choixDeJeu () {\n\t\t//Affichage d'une fenetre qui permet de choisir entre un labyrinthe genere aleatoirement et un fichier txt\n\t\tString[] choixPossibles = {\"Generer un labyrinthe aleatoirement\", \"Ouvrir un labyrinthe en .txt\"};\n\t\tString choix = (String)JOptionPane.showInputDialog(null, \"Que voulez-vous faire ?\", \"Labyrinthe\", JOptionPane.QUESTION_MESSAGE, new ImageIcon(getClass().getResource(\"/images/icone.gif\")), choixPossibles, choixPossibles[0]);\n\t\t\n\t\t//Si le bouton \"Annuler\" n'est pas presse\n\t\tif (choix != null) {\n\t\t\t//Affichage d'une fenetre qui permet de choisir le theme du jeu\n\t\t\tString[] choixTheme = {\"Theme par defaut\", \"Theme d'ancien labyrinthe en pierre\", \"Theme de The legend of zelda\", \"Theme de Métroid\", \"Theme d'incendie dans un batiment\", \"Theme de Mario\"};\n\t\t\tString theme = (String)JOptionPane.showInputDialog(null, \"Quel theme voulez-vous ?\", \"Choix du theme\", JOptionPane.QUESTION_MESSAGE, new ImageIcon(getClass().getResource(\"/images/icone.gif\")), choixTheme, choixTheme[1]);\n\n\t\t\t//Si le bouton \"Annuler\" n'est pas presse\n\t\t\tif (theme != null) {\n\t\t\t\t\n\t\t\t\t//Enregistrement du theme et changement de la couleur de fond de la fenetre.\t\n\t\t\t\tswitch (theme) {\n\t\t\t\tcase \"Theme par defaut\" : \n\t\t\t\t\tthemeJeu = 0;\n\t\t\t\t\tgrille.setBackground(new Color(91, 60, 17));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Theme de The legend of zelda\" : \n\t\t\t\t\tthemeJeu = 2; \n\t\t\t\t\tgrille.setBackground(Color.BLACK);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Theme de Métroid\" : \n\t\t\t\t\tthemeJeu = 3; \n\t\t\t\t\tgrille.setBackground(Color.white);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Theme d'incendie dans un batiment\" : \n\t\t\t\t\tthemeJeu = 4; \n\t\t\t\t\tgrille.setBackground(new Color(61, 43, 31));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Theme de Mario\" : \n\t\t\t\t\tthemeJeu = 5; \n\t\t\t\t\tgrille.setBackground(Color.cyan);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tthemeJeu = 1;\n\t\t\t\t\tgrille.setBackground(new Color(69, 69, 69));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//Si l'utilisateur a choisi d'ouvrir un fichier texte\n\t\t\t\tif (choix.equals(\"Ouvrir un labyrinthe en .txt\")) {\t\t\t\t\n\t\t\t\t\t//On ouvre un explorateur qui permet de ne selectionner que des fichiers .txt\n\t\t\t\t\tJFileChooser exploreur = new JFileChooser();\n\t\t\t\t\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\".txt\", \"txt\");\n\t\t\t\t\texploreur.setFileFilter(filter);\n\t\t\t\t\texploreur.setAcceptAllFileFilterUsed(false);\n\t\t\t\t\tint valeurRetournee = exploreur.showOpenDialog(null);\n\n\t\t\t\t\t//Si le fichier est correct, on enregistre le nom de ce dernier, et on initie une partie.\n\t\t\t\t\tif (valeurRetournee == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\t\tpartie.fichier = exploreur.getSelectedFile().getPath();\n\t\t\t\t\t\tpartie.largeur = 0;\n\t\t\t\t\t\tpartie.hauteur = 0;\n\t\t\t\t\t\tpartie.nbFilons = 0;\n\t\t\t\t\t\tinitialisation();\n\t\t\t\t\t}\n\t\t\t\t\t//Sinon, on quitte le programme.\n\t\t\t\t\tif (valeurRetournee == JFileChooser.CANCEL_OPTION) {\n\t\t\t\t\t\tpartie.quitter();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//Si l'utilisateur a choisi de generer un labyrinthe aleatoirement\n\t\t\t\telse {\n\t\t\t\t\t//On cree une nouvelle fenetre\n\t\t\t\t\tJFrame fenetreDimensions = new JFrame();\n\n\t\t\t\t\t//On cree un premier panneau qui contient un texte et un slider afin de regler la hauteur du labyrinthe\n\t\t\t\t\tJPanel panneauHauteur = new JPanel();\n\t\t\t\t\tJLabel labelHauteur = new JLabel(\"25 cases :\");\n\t\t\t\t\tJSlider sliderHauteur = new JSlider();\t\t\t\t\n\t\t\t\t\tsliderHauteur.setMaximum(21);\n\t\t\t\t\tsliderHauteur.setMinimum(6);\n\t\t\t\t\tsliderHauteur.setValue(13);\n\t\t\t\t\tsliderHauteur.addChangeListener(new ChangeListener(){\n\t\t\t\t\t\t//Action liee au deplacement du slider\n\t\t\t\t\t\tpublic void stateChanged(ChangeEvent event){\n\t\t\t\t\t\t\tlabelHauteur.setText(2*((JSlider)event.getSource()).getValue()-1 + \" cases :\");\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tpanneauHauteur.setBorder(BorderFactory.createTitledBorder(\"Hauteur du labyrinthe\"));\n\t\t\t\t\tpanneauHauteur.add(labelHauteur);\n\t\t\t\t\tpanneauHauteur.add(sliderHauteur);\n\n\t\t\t\t\t//On cree un second panneau qui contient un texte et un slider afin de regler la largeur du labyrinthe\n\t\t\t\t\tJPanel panneauLargeur = new JPanel();\n\t\t\t\t\tJLabel labelLargeur = new JLabel(\"25 cases :\");\n\t\t\t\t\tJSlider sliderLargeur = new JSlider();\n\t\t\t\t\tsliderLargeur.setMaximum(38);\n\t\t\t\t\tsliderLargeur.setMinimum(6);\n\t\t\t\t\tsliderLargeur.setValue(13);\n\t\t\t\t\tsliderLargeur.addChangeListener(new ChangeListener(){\n\t\t\t\t\t\tpublic void stateChanged(ChangeEvent event){\n\t\t\t\t\t\t\t//Action liee au deplacement du slider\n\t\t\t\t\t\t\tlabelLargeur.setText(2*((JSlider)event.getSource()).getValue()-1 + \" cases :\");\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tpanneauLargeur.setBorder(BorderFactory.createTitledBorder(\"Largeur du labyrinthe\"));\n\t\t\t\t\tpanneauLargeur.add(labelLargeur);\n\t\t\t\t\tpanneauLargeur.add(sliderLargeur);\n\n\t\t\t\t\t//On cree un bouton \"Continuer\"\n\t\t\t\t\tJButton boutonContinuer = new JButton(\"Continuer\");\n\t\t\t\t\tboutonContinuer.addActionListener(new ActionListener() {\n\t\t\t\t\t\t//Action liee a l'appui sur le bouton \"continuer\"\n\t\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\t\t//On efface la fenetre precedente et on en recree une\n\t\t\t\t\t\t\tfenetreDimensions.dispose();\n\t\t\t\t\t\t\tJFrame fenetreFilons = new JFrame();\n\n\t\t\t\t\t\t\t//On enregistre les valeurs des sliders precedents\n\t\t\t\t\t\t\tpartie.largeur = 2*sliderLargeur.getValue()-1;\n\t\t\t\t\t\t\tpartie.hauteur = 2*sliderHauteur.getValue()-1;\n\n\t\t\t\t\t\t\t//On cree un nouveau panneau qui contient un texte et un slider afin de regler le nombre de filons\n\t\t\t\t\t\t\tJPanel panneauFilons = new JPanel();\n\t\t\t\t\t\t\tJLabel labelFilons = new JLabel(1 + \" filon(s) :\");\n\t\t\t\t\t\t\tJSlider sliderFilons = new JSlider();\n\t\t\t\t\t\t\tsliderFilons.setMinimum(0);\n\t\t\t\t\t\t\tsliderFilons.setMaximum((partie.largeur*partie.hauteur-partie.largeur-partie.hauteur+3)/4);\n\t\t\t\t\t\t\tsliderFilons.setValue(1);\n\t\t\t\t\t\t\tsliderFilons.setMajorTickSpacing((partie.largeur*partie.hauteur-partie.largeur-partie.hauteur+3)/8);\n\t\t\t\t\t\t\tsliderFilons.setPaintTicks(true);\n\t\t\t\t\t\t\tsliderFilons.setPaintLabels(true);\n\t\t\t\t\t\t\tsliderFilons.addChangeListener(new ChangeListener(){\n\t\t\t\t\t\t\t\tpublic void stateChanged(ChangeEvent event) {\n\t\t\t\t\t\t\t\t\t//Action liee au deplacement du slider\n\t\t\t\t\t\t\t\t\tlabelFilons.setText(((JSlider)event.getSource()).getValue() + \" filons :\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tpanneauFilons.setBorder(BorderFactory.createTitledBorder(\"Nombre de filons\"));\t\n\t\t\t\t\t\t\tpanneauFilons.add(labelFilons);\n\t\t\t\t\t\t\tpanneauFilons.add(sliderFilons);\t\n\n\t\t\t\t\t\t\t//On cree un bouton \"Jouer\"\n\t\t\t\t\t\t\tJButton boutonJouer = new JButton(\"Jouer\");\n\t\t\t\t\t\t\tboutonJouer.addActionListener(new ActionListener() {\n\t\t\t\t\t\t\t\t//Action liee a l'appui sur le bouton \"jouer\"\n\t\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\t\t\t\tfenetreFilons.dispose();\n\t\t\t\t\t\t\t\t\tpartie.nbFilons = sliderFilons.getValue();\n\t\t\t\t\t\t\t\t\tinitialisation();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t//On cree un bouton \"Annuler\"\n\t\t\t\t\t\t\tJButton annulerFilons = new JButton(\"Annuler\");\n\t\t\t\t\t\t\tannulerFilons.addActionListener(new ActionListener() {\n\t\t\t\t\t\t\t\t//Action liee a l'appui sur le bouton \"jouer\"\n\t\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\t\t\t\tfenetreFilons.dispose();\n\t\t\t\t\t\t\t\t\tpartie.quitter();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t//On cree un panneau recueillant deux bontons\n\t\t\t\t\t\t\tJPanel boutonsFilons = new JPanel();\n\t\t\t\t\t\t\tboutonsFilons.add(boutonJouer);\n\t\t\t\t\t\t\tboutonsFilons.add(annulerFilons);\t\n\n\t\t\t\t\t\t\t//On parametre la fenetre et agence les differents panneaux, puis on l'affiche\n\t\t\t\t\t\t\tfenetreFilons.setSize(320, 140);\n\t\t\t\t\t\t\tfenetreFilons.setTitle(\"Choix du nombre de filons\");\n\t\t\t\t\t\t\tfenetreFilons.setIconImage(new ImageIcon(getClass().getResource(\"/images/icone.gif\")).getImage());\n\t\t\t\t\t\t\tfenetreFilons.setLocationRelativeTo(null);\n\t\t\t\t\t\t\tfenetreFilons.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\t\t\t\t\tfenetreFilons.getContentPane().add(panneauFilons, BorderLayout.CENTER);\n\t\t\t\t\t\t\tfenetreFilons.getContentPane().add(boutonsFilons, BorderLayout.SOUTH);\n\t\t\t\t\t\t\tfenetreFilons.setVisible(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\t//On cree un bouton \"Annuler\"\n\t\t\t\t\tJButton annulerDimension = new JButton(\"Annuler\");\n\t\t\t\t\tannulerDimension.addActionListener(new ActionListener() {\n\t\t\t\t\t\t//Un appui sur le bouton \"annuler\" quitte le jeu\n\t\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\t\tfenetreDimensions.dispose();\n\t\t\t\t\t\t\tpartie.quitter();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\t//On cree un panneau recueillant deux bontons\n\t\t\t\t\tJPanel boutonsDimensions = new JPanel();\n\t\t\t\t\tboutonsDimensions.add(boutonContinuer);\n\t\t\t\t\tboutonsDimensions.add(annulerDimension);\t\n\n\t\t\t\t\t//On parametre la fenetre et agence les differents panneaux, puis on l'affiche\n\t\t\t\t\tfenetreDimensions.setSize(575, 120);\n\t\t\t\t\tfenetreDimensions.setTitle(\"Choix des dimensions du labyrinthe\");\n\t\t\t\t\tfenetreDimensions.setIconImage(new ImageIcon(getClass().getResource(\"/images/icone.gif\")).getImage());\n\t\t\t\t\tfenetreDimensions.setLocationRelativeTo(null);\n\t\t\t\t\tfenetreDimensions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\t\t\tfenetreDimensions.getContentPane().add(panneauHauteur, BorderLayout.EAST);\n\t\t\t\t\tfenetreDimensions.getContentPane().add(panneauLargeur, BorderLayout.WEST);\n\t\t\t\t\tfenetreDimensions.getContentPane().add(boutonsDimensions, BorderLayout.SOUTH);\n\t\t\t\t\tfenetreDimensions.setVisible(true);\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Un appui sur le bouton \"annuler\" quitte le jeu\n\t\t\telse {\n\t\t\t\tpartie.quitter();\n\t\t\t}\n\t\t}\n\t\t//Un appui sur le bouton \"annuler\" quitte le jeu\n\t\telse {\n\t\t\tpartie.quitter();\n\t\t}\n\t}", "public void inizializza() {\n Navigatore nav;\n Portale portale;\n\n super.inizializza();\n\n try { // prova ad eseguire il codice\n\n Modulo modulo = getModuloRisultati();\n modulo.inizializza();\n// Campo campo = modulo.getCampoChiave();\n// campo.setVisibileVistaDefault(false);\n// campo.setPresenteScheda(false);\n// Vista vista = modulo.getVistaDefault();\n// vista.getElement\n// Campo campo = vista.getCampo(modulo.getCampoChiave());\n\n\n\n /* aggiunge il Portale Navigatore al pannello placeholder */\n nav = this.getNavigatore();\n portale = nav.getPortaleNavigatore();\n this.getPanNavigatore().add(portale);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "public static void removelanguage(Context ctx) {\n\n\t\tgetSharedPreferences(ctx).edit().putString(language, null)\n\t\t\t\t.commit();\n\n\t}", "private void updateBundle() {\n\n this.bundle = ResourceBundle.getBundle(\"languages\", this.locales.get(this.currentLocaleIndex));\n }", "@Override\n public final void switchTemporarily(ClassicLang newLang) {\n }", "private void resetLexeme(){\n\t\tcola = \"\";\n\t}", "public void deleteLanguages(){\n editor.remove(PRIMARY_LANGUAGE);\n editor.remove(SECONDARY_LANGUAGE);\n editor.apply();\n }", "protected void aktualisieren() {\r\n\r\n\t}", "@Override\n\tpublic void iniciarLabores() {\n\t\t\n\t}", "@Override\n\tpublic void iniciarLabores() {\n\t\t\n\t}", "public void inicializar() {\r\n\t\ttry {\r\n\t\t\tsetDefaultLookAndFeelDecorated(true);\r\n\t\t\tcom.jtattoo.plaf.hifi.HiFiLookAndFeel.setTheme(\"Large-Font\", \"INSERT YOUR LICENSE KEY HERE\",\r\n\t\t\t\t\t\"Gallery of Fantastic Puzzles\");\r\n\t\t\tUIManager.setLookAndFeel(\"com.jtattoo.plaf.hifi.HiFiLookAndFeel\");\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\t//Configuración del JDialog\r\n\t\tsetBounds(100, 100, 450, 300);\r\n\t\tthis.setLocationRelativeTo(null);\r\n\t\t\r\n\t\tgetContentPane().setLayout(new BorderLayout());\r\n\t\tcontentPanel.setLayout(new FlowLayout());\r\n\t\tcontentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));\r\n\t\tgetContentPane().add(contentPanel, BorderLayout.CENTER);\r\n\t\t\r\n\t\t//Componentes del JDialog\r\n\t\t{\r\n\t\t\t//TEXTO DE BIENVENIDA\r\n\t\t\tdtrpnBienve = new JEditorPane();\r\n\t\t\tdtrpnBienve.setOpaque(false);\r\n\t\t\tdtrpnBienve.setEditable(false);\r\n\t\t\tdtrpnBienve.setPreferredSize(new Dimension(400, 130));\r\n\t\t\tdtrpnBienve.setFont(new Font(\"Segoe UI\", Font.BOLD, 15));\r\n\t\t\tdtrpnBienve.setText(\r\n\t\t\t\t\t\"Bienvenido/a a GFPuzzles, la aplicación desarrollada por \\r\\nAlige Development para la Gestión de su Galería de Arte\\r\\n\\r\\nPara más información, consulte los siguientes \\r\\napartados del menú Ayuda.\");\r\n\t\t\tcontentPanel.add(dtrpnBienve);\r\n\t\t}\r\n\t\t{\r\n\t\t\t//ICONO CORPORATIVO\r\n\t\t\tlblNewLabel = new JLabel(\"\");\r\n\t\t\tlblNewLabel.setVerticalAlignment(SwingConstants.BOTTOM);\r\n\t\t\tlblNewLabel.setIcon(new ImageIcon(DialogBienve.class.getResource(\"/images/19-70x70.png\")));\r\n\t\t\tcontentPanel.add(lblNewLabel);\r\n\t\t}\r\n\t\t{\r\n\t\t\t//PANEL DESTINADO PARA LOS BOTONES\r\n\t\t\tbuttonPane = new JPanel();\r\n\t\t\tbuttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));\r\n\t\t\tgetContentPane().add(buttonPane, BorderLayout.SOUTH);\r\n\t\t\t{\r\n\t\t\t\t//BOTON OK\r\n\t\t\t\tbtnOkBienve = new JButton(\"OK\");\r\n\t\t\t\tbtnOkBienve.addActionListener(new ActionListener() {\r\n\t\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t\t\tDialogBienve.this.dispose();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\tbtnOkBienve.setActionCommand(\"OK\");\r\n\t\t\t\tbuttonPane.add(btnOkBienve);\r\n\t\t\t\tgetRootPane().setDefaultButton(btnOkBienve);\r\n\t\t\t}\r\n\t\t\t{\r\n\t\t\t\t//etiqueta utilizada para separar el icono del cuadro de texto\r\n\t\t\t\tlblNewLabel_1 = new JLabel(\"\");\r\n\t\t\t\tlblNewLabel_1.setPreferredSize(new Dimension(30, 14));\r\n\t\t\t\tlblNewLabel_1.setMinimumSize(new Dimension(246, 14));\r\n\t\t\t\tlblNewLabel_1.setMaximumSize(new Dimension(246, 14));\r\n\t\t\t\tbuttonPane.add(lblNewLabel_1);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "public void reversarComprobanteContabilidad() {\r\n String ide_cnccc = ser_comprobante.reversarComprobante(tab_tabla1.getValorSeleccionado(), null);\r\n if (guardarPantalla().isEmpty()) {\r\n utilitario.agregarMensaje(\"Se genero el Comprobante Num: \", ide_cnccc);\r\n }\r\n }", "public void UpdateLang() {\n for (ParamButton selected : this.mBtnLang) {\n selected.setSelected(false);\n }\n int lang = FtSet.GetLangDef();\n if (lang < 0 || lang >= this.mBtnLang.length) {\n this.mBtnLang[0].setSelected(true);\n } else {\n this.mBtnLang[lang].setSelected(true);\n }\n }", "public void limpiar() {\n Menus.jTTraducido.setText(null);\n Menus.jTTraducir.setText(null);\n }", "public void devolucionLibro(libro lib1)\n {\n System.out.println(\"Bienvenido al sistema de devolucion! \");\n System.out.println(\"El libro que desea devolver es: \");\n System.out.println(lib1);\n System.out.println(\"Realizaremos la devolucion\");\n lib1.setDispoLibro(true);\n System.out.println(\"Transaccion realizada!! \");\n }", "public void verarbeite() {\n\t\t\r\n\t}", "private void procedureBasePrDessin(){\n if(courante == null){\n reset();\n courante = new Tortue(simpleLogo.getFeuille(), true);\n simpleLogo.setBarreOutilsVisible(true);\n }\n }", "private void setCurrentOperation(){ \r\n boolean isNamesVisible = true; //Valor logico si los campos de nombres y apellidos seran visibles\r\n Integer[] disables; //Se declara el arreglo que contendra las posiciones de la TOOLBAR que seran DESHABILITADOS para cada operacion\r\n loadToolBar(); //Se Refresca la barra de Herramientas\r\n lb_Title.setText(\"\"); //Se deja en blanco la etiqueta del Titulo\r\n //Se evalua el tipo de Operacion\r\n switch(tipoOperacion){\r\n case 0: //SOLO LECTURA \r\n tf_nroguia.setEditable(true);\r\n tf_nrorguia.setEditable(false);\r\n tf_chofer.setEditable(false);\r\n tf_veh1.setEditable(false);\r\n tf_veh2.setEditable(false);\r\n tf_ayud1.setEditable(false);\r\n tf_ayud2.setEditable(false);\r\n tf_cheqp.setEditable(false);\r\n tf_supruta.setEditable(false);\r\n\r\n dt_fcarga.setDisable(true);\r\n dt_relacion.setDisable(true);\r\n\r\n im_check.setVisible(false);\r\n im_val.setVisible(false);\r\n\r\n bt_c1.setDisable(true);\r\n bt_c2.setDisable(true);\r\n bt_c3.setDisable(true);\r\n bt_c4.setDisable(true);\r\n bt_c5.setDisable(true);\r\n bt_c6.setDisable(true);\r\n bt_c7.setDisable(true);\r\n\r\n //SE PERMITE: NUEVO, CANCELAR Y BUSCAR\r\n disables = new Integer[]{2,5,6,9,10};\r\n disableAllToolBar(disables); \r\n hb_1.setVisible(true);\r\n break;\r\n case 1: //NUEVO\r\n lb_Title.setText(\"NUEVO\");\r\n\r\n tf_nroguia.setEditable(false);\r\n tf_nrorguia.setEditable(true);\r\n\r\n dt_relacion.setDisable(false);\r\n\r\n im_check.setVisible(true);\r\n im_val.setVisible(false);\r\n\r\n //SE PERMITE: NUEVO,GUARDAR Y CANCELAR \r\n disables = new Integer[]{0,1,3,4,6,7,8,9,10,11};\r\n disableAllToolBar(disables); \r\n break;\r\n case 2: //EDITAR\r\n lb_Title.setText(\"EDITAR\");\r\n\r\n tf_nroguia.setEditable(false);\r\n tf_nrorguia.setEditable(true);\r\n\r\n dt_relacion.setDisable(false);\r\n \r\n im_check.setVisible(true);\r\n im_val.setVisible(false);\r\n \r\n //SE PERMITE: EDITAR,GUARDAR Y CANCELAR\r\n disables = new Integer[]{0,1,3,4,6,7,8,9,10,11};\r\n disableAllToolBar(disables); \r\n break;\r\n case 3: //GUARDAR\r\n tf_nroguia.setEditable(true);\r\n tf_nrorguia.setEditable(false);\r\n\r\n dt_relacion.setDisable(true);\r\n \r\n im_check.setVisible(false);\r\n im_val.setVisible(false);\r\n\r\n //SE PERMITE: GUARDAR Y CANCELAR\r\n disables = new Integer[]{0,1,3,4,6,7,8,9,10,11};\r\n disableAllToolBar(disables); \r\n break;\r\n case 4: //CAMBIAR STATUS \r\n tf_nroguia.setEditable(true);\r\n tf_nrorguia.setEditable(false);\r\n\r\n dt_relacion.setDisable(true);\r\n \r\n im_check.setVisible(false);\r\n im_val.setVisible(false);\r\n\r\n //SE PERMITE: GUARDAR,CAMBIO STATUS Y CANCELAR\r\n disables = new Integer[]{2,5,6,7,8,9,10};\r\n disableAllToolBar(disables); \r\n break;\r\n } \r\n init_FocusArray(tipoOperacion); \r\n Gui.getInstance().setTipoOperacion(tipoOperacion);\r\n }", "private void setComponentTexts(){\n\t\tsetTitle(translations.getRegexFileChanger());\n\t\tbuttonCopyToClipboard.setText(translations.getCopyToClipboard());\n\t\tregexTo.setToolTipText(wrapHTML(translations.getRegexToInfo()));\n\t\tregexFrom.setToolTipText(wrapHTML(translations.getRegexFromInfo()));\n\t\tregexFromLabel.setText(translations.getGiveRegexFrom());\n\t\tregexToLabel.setText(translations.getGiveRegexTo());\n\t\tgiveRegexLabel.setText(translations.getBelowGiveRegexRules());\n\t\tbuttonChooseDestinationDirectory.setText(translations.getChooseDestinationDirectory());\n\t\tbuttonSimulateChangeFileNames.setToolTipText(wrapHTML(translations.getSimulateFileChangesInfo()));\n\t\tbuttonSimulateChangeFileNames.setText(translations.getSimulateChangeNames());\n\t\tbuttonChangeFileNames.setToolTipText(wrapHTML(translations.getChangeFileNamesInfo()));\n\t\tbuttonChangeFileNames.setText(translations.getChangeNames());\n\t\tbuttonCopyToClipboard.setToolTipText(wrapHTML(translations.getCopyToClipBoardInfo()));\n\t\tbuttonCopyToClipboard.setText(translations.getCopyToClipboard());\n\t\tbuttonResetToDefaults.setToolTipText(wrapHTML(translations.getResetToDefaultsInfo()));\n\t\tbuttonResetToDefaults.setText(translations.getDeleteSettings());\n\t\tbuttonExample.setText(translations.getShowExample());\n\t\tbuttonExample.setToolTipText(translations.getButtonShowExSettings());\n\t\tcheckboxSaveStateOn.setToolTipText(wrapHTML(translations.getSaveStateCheckBoxInfo()));\n\t\tcheckboxSaveStateOn.setText(translations.getSaveStateOnExit());\n\t\tchooseLanguageLabel.setText(translations.getChooseLanguage());\n\t\tsetDirectoryInfoLabel(translations.getSeeChoosedDirPath());\n\t\tcheckboxRecursiveSearch.setText(translations.getRecursiveSearch());\n\t\tcheckboxRecursiveSearch.setToolTipText(translations.getRecursiveSearchToolTip());\n\t\tcheckboxShowFullPath.setToolTipText(translations.getShowFullPathCheckboxTooltip());\n\t\tcheckboxShowFullPath.setText(translations.getShowFullPathCheckbox());\n\t\tbuttonClear.setText(translations.getButtonClear());\n\t\tbuttonClear.setToolTipText(translations.getButtonClearTooltip());\n\t}", "public void changerJoueur() {\r\n\t\t\r\n\t}", "private void initlocale() {\n java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle(\"bundles/statusbundle\",locale); // NOI18N\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, bundle.getString(\"status.jPanel1.border.title\"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.TOP, new java.awt.Font(\"Tahoma\", 1, 18))); // NOI18N\n \n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel2.setText(bundle.getString(\"status.jLabel2.text\")); // NOI18N\n\n\n jComboBox1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n\n jLabel_bookname.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel_bookname.setText(bundle.getString(\"status.jLabel_bookname.text\")); // NOI18N\n\n\n jButton2.setFont(new java.awt.Font(\"Tahoma\", 1, 16)); // NOI18N\n jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Image/approved.png\"))); // NOI18N\n jButton2.setText(bundle.getString(\"status.jButton2.text\")); // NOI18N\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel1.setText(bundle.getString(\"status.jLabel1.text\")); // NOI18N\n\n \n\n jLabel_status.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n\n jLabel_status.setText(bundle.getString(\"status.jLabel_status.text\")); // NOI18N\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel4.setText(bundle.getString(\"status.jLabel4.text\")); // NOI18N\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel5.setText(bundle.getString(\"status.jLabel5.text\")); // NOI18N\n \n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel6.setText(bundle.getString(\"status.jLabel6.text\")); // NOI18N\n \n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel7.setText(bundle.getString(\"status.jLabel7.text\")); // NOI18N\n \n\n jLabe_reg.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabe_reg.setText(bundle.getString(\"status.jLabe_reg.text\")); // NOI18N\n\n\n jLabel_phone.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel_phone.setText(bundle.getString(\"status.jLabel_phone.text\")); // NOI18N\n jLabel_phone.setOpaque(true);\n\n jLabel_date.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel_date.setText(bundle.getString(\"status.jLabel_date.text\")); // NOI18N\n \n\n jLabel_time.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel_time.setText(bundle.getString(\"status.jLabel_time.text\")); // NOI18N\n\n\n\n\n\n jButton1.setFont(new java.awt.Font(\"Tahoma\", 1, 16)); // NOI18N\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Image/back.jpg\"))); // NOI18N\n jButton1.setText(bundle.getString(\"status.jButton1.text\")); // NOI18N\n \n \n\n jLabel8.setFont(new java.awt.Font(\"Tahoma\", 1, 36)); // NOI18N\n jLabel8.setText(bundle.getString(\"status.jLabel8.text\")); // NOI18N\n \n\n jLabel9.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n\n jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Image/logO.png\"))); // NOI18N\n jLabel9.setText(bundle.getString(\"status.jLabel9.text\")); // NOI18N\n\n \n\n }", "private void habilitar() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void desligar() {\n\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "private void xuLyThanhToanDVReload() {\n txtThanhToanDVGiaDV.setText(\"\");\n txtThanhToanDVSoLuong.setText(\"\");\n txtThanhToanDVSoLuongMoi.setText(\"\");\n txtThanhToanDVSoLuongCu.setText(\"\");\n txtThanhToanTongCong.setText(\"0\");\n tongCong=0;\n cbbThanhToanMaKH.removeAllItems();\n hienThiMaKHSuDungDV();\n }", "private void changeLanguage(Language lang) {\n this.resources = ResourceBundle.getBundle(UIController.RESOURCE_PATH + lang);\n uiController.setLanguage(lang);\n fileLoadButton.setText(resources.getString(\"LoadSimulationXML\"));\n uiController.setTitle(resources.getString(\"Launch\"));\n }", "public void prepareLang(){\n\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n\n // first time in this page, no settings yet.\n if(!sharedPreferences.contains(studySetId+\":front:\"+studySetSupportedLanguages[0])){\n lang1 = studySetSupportedLanguages[0];\n lang2 = studySetSupportedLanguages[1];\n return ;\n }\n\n // 2nd time+\n for(String lang :studySetSupportedLanguages){\n if(sharedPreferences.getBoolean(studySetId+\":front:\"+lang, false)) lang1 = lang;\n if(sharedPreferences.getBoolean(studySetId+\":back:\"+lang, false)) lang2 = lang;\n }\n }", "public void unsetCompraAutomatica() {\n this.compra_automatica = false;\n }", "public String desactivarEditarLicencia() {\r\n\r\n this.bandMod = true;\r\n if (puntAnt.compareTo(\"2\") == 0) {\r\n this.activeTabIndex = Constantes.TAB_BUSQUEDA;\r\n } else {\r\n\r\n if (puntAnt.compareTo(\"1\") == 0) {\r\n\r\n this.activeTabIndex = Constantes.TAB_MODIFICAR;\r\n \r\n }\r\n }\r\n\r\n Mensaje.guardarMensajeExito(\"Cancelar, Editar Licencia !!!\", \"Licencias\");\r\n\r\n return null;\r\n }", "private void inicializarcomponentes() {\n Comunes.cargarJList(jListBecas, becasFacade.getTodasBecasVigentes());\n \n }", "private void setLanguageScreen(){\n\t\t\n\t\tscreenUI.clearScreen();\n\t\tscreenUI.drawText(2, 1, \"Choose a language/Wybierz język:\");\n\t\tscreenUI.drawText(1, 3, \"[a]: English\");\n\t\tscreenUI.drawText(1, 4, \"[b]: Polski\");\n\t}", "public void lancerJeu () {\n switch (choixModeJeu) {\n case \"C\":\n Jeu jeuJoueC = new JeuChallenger(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueC.unJeu();\n break;\n case \"U\":\n Jeu jeuJoueU = new JeuDuel(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueU.unJeu();\n break;\n case \"D\":\n Jeu jeuJoueD = new JeuDefenseur(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueD.unJeu();\n break;\n default:\n LOG.error(\"Cas du choix du mode de jeu non géré\");\n break;\n }\n }", "public void actualizarFechaComprobantes() {\r\n if (utilitario.isFechasValidas(cal_fecha_inicio.getFecha(), cal_fecha_fin.getFecha())) {\r\n tab_tabla1.setCondicion(\"fecha_trans_cnccc between '\" + cal_fecha_inicio.getFecha() + \"' and '\" + cal_fecha_fin.getFecha() + \"' and ide_cntcm=\" + com_tipo_comprobante.getValue());\r\n tab_tabla1.ejecutarSql();\r\n tab_tabla2.ejecutarValorForanea(tab_tabla1.getValorSeleccionado());\r\n utilitario.addUpdate(\"tab_tabla1,tab_tabla2\");\r\n calcularTotal();\r\n utilitario.addUpdate(\"gri_totales\");\r\n } else {\r\n utilitario.agregarMensajeInfo(\"Rango de fechas no válidas\", \"\");\r\n }\r\n\r\n }", "@Override\n\tpublic void desligar() {\n\t\t\n\t}", "public void inicializar(Component comp) {\r\n\r\n\t\tList<Tematica> tematica = servicioTematica.buscarTematicasDeArea(area);\r\n\t\tltbTematica.setModel(new ListModelList<Tematica>(tematica));\r\n\r\n\t}", "public void desplegarMenuAdministrativo() {\n// //Hacia arriba\n// paneles.jLabelYDown(-50, 40, WIDTH, HEIGHT, jLabelTextoBienvenida);\n// \n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelEntregas);\n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelClientes);\n// paneles.jLabelYUp(580, 82, WIDTH, HEIGHT, jLabelNotas);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoEntrega);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoClientes);\n// paneles.jLabelYUp(736, 238, WIDTH, HEIGHT, jLabelTextoNotas);\n// \n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelTrabajadores);\n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelEntregasActivas);\n// paneles.jLabelYUp(793, 295, WIDTH, HEIGHT, jLabelEditarDatosPersonales);\n// \n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoTrabajadores);\n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoEntregasProgreso);\n// paneles.jLabelYUp(949, 451, WIDTH, HEIGHT, jLabelTextoEditarPersonales);\n }", "private void inicializarVista() {\n this.vista.jtfNombreRol.setText(this.modelo.getRol().getDescripcion());\n this.vista.jbAgregar.setEnabled(false);\n this.vista.jbQuitar.setEnabled(false);\n this.vista.jtPermisosDisponibles.setModel(modelo.obtenerAccesosDispon());\n this.vista.jtPermisosSeleccionados.setModel(modelo.obtenerAccesoSelecc());\n Utilities.c_packColumn.packColumns(this.vista.jtPermisosDisponibles, 1);\n Utilities.c_packColumn.packColumns(this.vista.jtPermisosSeleccionados, 1);\n }", "private void CargaInicial() {\r\n this.setTitle(\"\" + gui.getTitle().concat(\"\").concat(\" - [Modulo: Precio por Producto/Servicio]\"));\r\n }", "public void inicializar() {\n\t\t/*======================================\n\t\t * Instância as label da tela de login\n\t\t * =====================================\n\t\t */\t\t\n\t\tlblIdioma = new JLabel(LocaleUtils.getLocaleView().getString(\"lbl_escolha_idioma\"));\n\t\tlblIdioma.setFont(new Font(\"Lucida Sans\", Font.PLAIN, 13));\n\t\tlblIdioma.setHorizontalAlignment(SwingConstants.RIGHT);\n\n\t\tlblUsuario = new JLabel(LocaleUtils.getLocaleView().getString(\"lbl_usuario\"));\n\t\tlblUsuario.setHorizontalAlignment(SwingConstants.RIGHT);\n\n\t\tlblSenha = new JLabel(LocaleUtils.getLocaleView().getString(\"lbl_senha\"));\n\t\tlblSenha.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\t\n\t\tlblCodigoAgencia = new JLabel(LocaleUtils.getLocaleView().getString(\"lbl_codigo_agencia\"));\n\t\tlblCodigoAgencia.setHorizontalAlignment(SwingConstants.RIGHT);\n\n\t\t// Cria o cabecalho\n\t\tpanelCabecalho = new JPanel(null);\n\t\tpanelCabecalho.setBounds(0, 5, 400, 160);\n\t\t// logo para exibição no login\n\t\tImageIcon iconLogoSistema = new ImageIcon(ClassLoader.getSystemResource(\"br/com/locadora/resoureces/images/logo-default.png\"));\n\t\tJLabel logoSistema = new JLabel(iconLogoSistema);\n\t\tlogoSistema.setBounds(100, 60, 180, 90);\n\t\t\n\t\tlblIdioma.setBounds(100, 15, 100, 34);\n\t\tpanelCabecalho.add(lblIdioma);\n\t\t\n\t\t//ComboBox customizado para escolha do idioma\n\t\tcbxSelecaoIdioma = new CustomComboBox();\n\t\t\n\t\t// Obtém o index do idioma default selecionado \n\t\tint index = LocaleEnum.getValueByDisplay(LocaleUtils.getDisplayLocale());\n\t\t// Deixa selecionado o idioma default no combobox\n\t\tcbxSelecaoIdioma.bandeiraList.setSelectedIndex(index);\n\t\tcbxSelecaoIdioma.bandeiraList.addItemListener(this);\n\t\tcbxSelecaoIdioma.setBounds(200, -5, 200, 55);\n\t\tpanelCabecalho.add(cbxSelecaoIdioma);\n\t\tpanelCabecalho.add(lblIdioma);\n\t\t\n\t\t// Adiciona a logo ao panel\n\t\tpanelCabecalho.add(logoSistema);\n\t\t\n\t\t// Cria o panel com as informações do login\n\t\tpanelLogin = new JPanel(null);\n\t\tpanelLogin.setBounds(25, 160, 350, 110);\n\t\t\n\t\t// Input campo usuário\n\t\tInputSoTexto inputSoTexto = new InputSoTexto(false);\n\t\ttxtUsuario = new JTextField(20);\n\t\ttxtUsuario.setInputVerifier(inputSoTexto);\n\t\tlblUsuario.setBounds(10, 5, 100, 30);\n\t\ttxtUsuario.setBounds(115, 5, 180, 30);\n\t\tpanelLogin.add(lblUsuario);\n\t\tpanelLogin.add(txtUsuario);\n\t\t\n\t\t// Input campo senha\n\t\tinputSenha inputSenha = new inputSenha();\n\t\tpasswordField = new JPasswordField();\n\t\tpasswordField.setInputVerifier(inputSenha);\n\t\tlblSenha.setBounds(10, 40, 100, 30);\n\t\tpasswordField.setBounds(115, 40, 180, 30);\n\t\tpanelLogin.add(lblSenha);\n\t\tpanelLogin.add(passwordField);\n\t\t\n\t\t// Input campo códifo agência\n\t\tInputSoNumeros soNumeros = new InputSoNumeros();\n\t\ttxtCodigoAgencia = new JTextField(10);\n\t\ttxtCodigoAgencia.setInputVerifier(soNumeros);\n\t\tlblCodigoAgencia.setBounds(10, 80, 100, 30);\n\t\ttxtCodigoAgencia.setBounds(115, 80, 75, 30);\n\t\tpanelLogin.add(lblCodigoAgencia);\n\t\tpanelLogin.add(txtCodigoAgencia);\n\t\t\n\t\t// Cria o panel dos botões da tela de login\n\t\tpanelBotoesLogin = new JPanel(null);\n\t\tpanelBotoesLogin.setBounds(180, 270, 220, 50);\n\t\t\n\t\tbtnAcessar = new JButton(LocaleUtils.getLocaleView().getString(\"btn_acessar\"));\n\t\tbtnAcessar.setBounds(5, 10, 100, 30);\n\t\tpanelBotoesLogin.add(btnAcessar);\n\t\t\n\t\tbtnCancelar = new JButton(LocaleUtils.getLocaleView().getString(\"btn_cancelar\"));\n\t\tbtnCancelar.setBounds(110, 10, 100, 30);\n\t\tpanelBotoesLogin.add(btnCancelar);\n\t\t\n\t\t\n\t\tJPanel panelcontainer = new JPanel(null);\n\t\tpanelcontainer.setSize(new Dimension(400, 350));\n\t\tpanelcontainer.add(panelCabecalho);\n\t\tpanelcontainer.add(panelLogin);\n\t\tpanelcontainer.add(panelBotoesLogin);\n\t\t\n\t\tContainer container = getContentPane();\n\t\tcontainer.add(panelcontainer);\n\t\t\n\t\tthis.setLayout(null);\n\t\tthis.add(panelcontainer);\n\t\tthis.setSize(400, 350);\n\t\tthis.setAlwaysOnTop(true);\n\t\tthis.setResizable(false);\n\t\tthis.setLocationRelativeTo(null);\n\t\tthis.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);\n\t\tthis.setVisible(true);\n\t\t\n\t\t/*==========================================================\n\t\t * Eventos dos botões\n\t\t *===========================================================*/\n\t\t\n\t\t// Encerra a execução do sistema\n\t\tbtnCancelar.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdispose();\n\t\t\t\tSystem.exit(EXIT_ON_CLOSE);\n\t\t\t}\n\t\t});\n\t\t\n\t\t// Faz a validação do login\n\t\tbtnAcessar.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// Armazena a mensagem de erro do login\n\t\t\t\tStringBuilder mensagemErro = new StringBuilder();\n\t\t\t\tString usuario = txtUsuario.getText(); // Obtém a String que representa o usuário\n\t\t\t\tString senha = String.valueOf(passwordField.getPassword()); // Obtém a String que representa a senha\n\t\t\t\tString codigoAgencia = txtCodigoAgencia.getText();\n\t\t\t\t\n\t\t\t\t// Verifica se usuário foi preenchido\n\t\t\t\tif (SystemUtils.isNuloOuVazio(usuario) || usuario.length() == 0 ) {\n\t\t\t\t\tmensagemErro.append(LocaleUtils.getLocaleMessages().getString(\"falha_login_usuariobranco\"));\n\t\t\t\t\n\t\t\t\t// Verifica se a senha foi preenchida\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\tif (SystemUtils.isNuloOuVazio(senha) || senha.length() == 0) {\n\t\t\t\t\tmensagemErro.append(LocaleUtils.getLocaleMessages().getString(\"falha_login_senhabranco\"));\n\t\t\t\t\n\t\t\t\t// Verifica se foi gerada uma mesagem de erro\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\tif (SystemUtils.isNuloOuVazio(codigoAgencia) || codigoAgencia.length() == 0){\n\t\t\t\t\tmensagemErro.append(LocaleUtils.getLocaleMessages().getString(\"falha_login_agenciabranco\"));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (mensagemErro.length() > 0) {\n\t\t\t\t\tJOptionPane.showMessageDialog(panelCabecalho, mensagemErro);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Valida o usuário, senha e código da agência\n\t\t\t\tif (Autenticacao.autenticar(usuario, senha, codigoAgencia)) {\n\t\t\t\t\tdispose();\n\t\t\t\t\tnew TelaPrincipalGUI();\n\t\t\t\t} else {\n\t\t\t\t\t// Limpa o campo senha\n\t\t\t\t\tpasswordField.setText(\"\");\n\t\t\t\t\tJOptionPane.showMessageDialog(panelCabecalho, LocaleUtils.getLocaleMessages().getString(\"falha_login\"));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\t\n\t}", "public void limpiar(){\n\t\tfCargaI=new Date();\n\t\tfCargaF=new Date();\n\t\tlistaMarcacion=null;\n\t\tlistaMarcacionPDF=null;\n\t}", "private void setStatusTelaExibir () {\n setStatusTelaExibir(-1);\n }", "private void addTranslations() {\n addTranslation(\"org.argouml.uml.diagram.ui.FigNote\",\n \"org.argouml.uml.diagram.static_structure.ui.FigComment\");\n addTranslation(\"org.argouml.uml.diagram.static_structure.ui.FigNote\",\n \"org.argouml.uml.diagram.static_structure.ui.FigComment\");\n addTranslation(\"org.argouml.uml.diagram.state.ui.FigState\",\n \"org.argouml.uml.diagram.state.ui.FigSimpleState\");\n addTranslation(\"org.argouml.uml.diagram.ui.FigCommentPort\",\n \"org.argouml.uml.diagram.ui.FigEdgePort\");\n addTranslation(\"org.tigris.gef.presentation.FigText\",\n \"org.argouml.uml.diagram.ui.ArgoFigText\");\n addTranslation(\"org.tigris.gef.presentation.FigLine\",\n \"org.argouml.gefext.ArgoFigLine\");\n addTranslation(\"org.tigris.gef.presentation.FigPoly\",\n \"org.argouml.gefext.ArgoFigPoly\");\n addTranslation(\"org.tigris.gef.presentation.FigCircle\",\n \"org.argouml.gefext.ArgoFigCircle\");\n addTranslation(\"org.tigris.gef.presentation.FigRect\",\n \"org.argouml.gefext.ArgoFigRect\");\n addTranslation(\"org.tigris.gef.presentation.FigRRect\",\n \"org.argouml.gefext.ArgoFigRRect\");\n addTranslation(\n \"org.argouml.uml.diagram.deployment.ui.FigMNodeInstance\",\n \"org.argouml.uml.diagram.deployment.ui.FigNodeInstance\");\n addTranslation(\"org.argouml.uml.diagram.ui.FigRealization\",\n \"org.argouml.uml.diagram.ui.FigAbstraction\");\n }", "public String changeLeguage(){\r\n\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\tLocale miLocale = new Locale(\"en\",\"US\");\r\n\t\tcontext.getViewRoot().setLocale(miLocale);\r\n\t\treturn \"login\";\r\n\t}", "@Override\n public void reiniciarRodada(int lugar, int quantidadePalitosRestantes) {\n LugarModelo lugarModelo = listaLugares.get(lugar - 1);\n lugarModelo.getNumeroPalpite().setVisible(false);\n Platform.runLater(() -> lugarModelo.getMao().setText(\"\"));\n lugarModelo.getMao().getGraphic().getStyleClass().remove(\"mao-fechada\");\n lugarModelo.getMao().getGraphic().getStyleClass().add(\"mao-aberta\");\n lugarModelo.getQuantidadePalitosRestantes().setText(\"Palitos Restante: \" + quantidadePalitosRestantes);\n }", "void build(android.icu.impl.coll.CollationData r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll.CollationDataBuilder.build(android.icu.impl.coll.CollationData):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.build(android.icu.impl.coll.CollationData):void\");\n }", "public void limpar() {\n\t\talunosMilitarPraca.setId(null);\n\t\talunosMilitarPraca.setMasculino(null);\n\t\talunosMilitarPraca.setFeminino(null);\n\t\t\n\t\talunosMilitarOficial.setId(null);\n\t\talunosMilitarOficial.setMasculino(null);\n\t\talunosMilitarOficial.setFeminino(null);\n\t}", "private static void generModeloDePrueba() {\n\t\tCSharpArchIdPackageImpl.init();\n // Retrieve the default factory singleton\n\t\tCSharpArchIdFactory factory = CSharpArchIdFactory.eINSTANCE;\n // create an instance of myWeb\n\t\tModel modelo = factory.createModel();\n\t\tmodelo.setName(\"Prueba\"); \n // create a page\n\t\tCompileUnit cu = factory.createCompileUnit();\n\t\tcu.setName(\"archivo.cs\");\n\t\tClassDeclaration clase = factory.createClassDeclaration();\n\t\t//clase.setName(\"Sumar\");\n\t\t//cu.getTypeDeclaration().add(clase);\n modelo.getCompileUnits().add(cu);\n \n Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE;\n Map<String, Object> m = reg.getExtensionToFactoryMap();\n m.put(\"model\", new XMIResourceFactoryImpl());\n\n // Obtain a new resource set\n ResourceSet resSet = new ResourceSetImpl();\n\n // create a resource\n Resource resource = resSet.createResource(URI\n .createURI(\"CSharpArchId.model\"));\n // Get the first model element and cast it to the right type, in my\n // example everything is hierarchical included in this first node\n resource.getContents().add(modelo);\n\n // now save the content.\n try {\n resource.save(Collections.EMPTY_MAP);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n\t\t\n // and so on, and so on\n // as you can see the EMF model can be (more or less) used as standard Java\n\t}", "public de_gestionar_contrato_añadir() {\n initComponents();\n lbl_error_nombre_cliente.setVisible(false);\n lbl_error_numero_contrato.setVisible(false);\n lbl_error_fecha_inicio.setVisible(false);\n lbl.setVisible(false);\n lbl_fecha_expira_contrato.setVisible(false);\n\n // detectar cambio en jdateChoser (fecha de inicio en agregar contrato)\n fecha_inicio_contrato.getDateEditor().addPropertyChangeListener(\n new PropertyChangeListener() {\n @Override\n public void propertyChange(PropertyChangeEvent e) {\n if (\"date\".equals(e.getPropertyName())) {\n System.out.println(e.getPropertyName()\n + \": \" + (Date) e.getNewValue());\n if(fecha_inicio_contrato.getDate()!=null){\n lbl_fecha_expira_contrato.setText(toma_fecha(fecha_inicio_contrato).substring(0,6)+String.valueOf(Integer.parseInt(toma_fecha(fecha_inicio_contrato).substring(6))+1));\n lbl.setVisible(true);\n lbl_fecha_expira_contrato.setVisible(true);\n }\n }else{\n lbl_fecha_expira_contrato.setText(\"\");\n lbl_error_fecha_inicio.setVisible(false);\n lbl.setVisible(false);\n lbl_fecha_expira_contrato.setVisible(false);\n }\n }\n });\n this.add(fecha_inicio_contrato);\n \n deshabilitarPegar();\n }", "private void iniFormLectura()\r\n\t{\r\n\t\tboolean permisoNuevoEditar = this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_CONCILIACION, VariablesPermisos.OPERACION_NUEVO_EDITAR);\r\n\t\tboolean permisoEliminar = this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_CONCILIACION, VariablesPermisos.OPERACION_BORRAR);\r\n\t\t\r\n\t\tgridDetalle.setSelectionMode(SelectionMode.NONE);\r\n\t\tthis.importeConciliado.setVisible(false);\r\n\t\tthis.lblConciliado.setVisible(false);\r\n\t\tthis.horizontalImportes.setCaption(\"Importe\");\r\n\t\t\r\n\t\t/*Si tiene permisos de editar habilitamos el boton de \r\n\t\t * edicion*/\r\n\t\tif(permisoNuevoEditar){\r\n\t\t\t\r\n\t\t\tthis.btnEditar.setVisible(true);\r\n\t\t\tthis.conciliar.setVisible(false);\r\n\t\t\t//this.enableBotonesLectura();\r\n\t\t\t\r\n\t\t}else{ /*de lo contrario lo deshabilitamos*/\r\n\t\t\t\r\n\t\t\tthis.btnEditar.setVisible(false);\r\n\t\t\tthis.conciliar.setVisible(false);\r\n\t\t\t//this.disableBotonLectura();\r\n\t\t}\r\n\t\t\r\n\t\tif(permisoEliminar){\r\n\t\t\tthis.btnEliminar.setVisible(true);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthis.btnEliminar.setVisible(false);\r\n\t\t}\r\n\t\t\r\n\t\tthis.comboBancos.setEnabled(false);\r\n\t\tthis.comboCuentas.setEnabled(false);\r\n\t\tthis.nroDocum.setEnabled(false);\r\n\t\tthis.impTotMo.setEnabled(false);\r\n\t\tthis.fecDoc.setEnabled(false);\r\n\t\tthis.fecValor.setEnabled(false);\r\n\t\tthis.observaciones.setEnabled(false);\r\n\t\tthis.nroDocum.setVisible(true);\r\n\t\tthis.lblComprobante.setVisible(true);\r\n\t\t\r\n\t\t/*Seteamos la grilla con los formularios*/\r\n\t\tthis.container = \r\n\t\t\t\tnew BeanItemContainer<ConciliacionDetalleVO>(ConciliacionDetalleVO.class);\r\n\t\t\r\n\t\t/*No mostramos las validaciones*/\r\n\t\tthis.setearValidaciones(false);\r\n\t\t\r\n\t\t/*Dejamos todods los campos readonly*/\r\n\t\t//this.readOnlyFields(true);\r\n\t\t\r\n\t\tif(this.lstDetalle != null)\r\n\t\t{\r\n\t\t\tfor (ConciliacionDetalleVO detVO : this.lstDetalle) {\r\n\t\t\t\tcontainer.addBean(detVO);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//this.actualizarGrillaContainer(container);\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t}", "@Override\n public void redimensionarPantalla(ComponentEvent e) {}", "public void inicializarActualizarBindingManualLibroContable() throws Exception {\n\t\t\r\n\t\tthis.inicializarActualizarBindingBotonesManualLibroContable(true);\r\n\t\t\r\n\t\t//FUNCIONALIDAD_RELACIONADO\r\n\t\tif(!this.librocontableSessionBean.getEsGuardarRelacionado()) {\r\n\t\t\t\r\n\t\t\tthis.inicializarActualizarBindingBusquedasManualLibroContable();\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//this.inicializarActualizarBindingtiposArchivosReportesAccionesLibroContable() ;\r\n\t\t\t\r\n\t\t\tthis.inicializarActualizarBindingParametrosReportesPostAccionesManualLibroContable(false) ;\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t}", "void initForTailoring(android.icu.impl.coll.CollationData r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.initForTailoring(android.icu.impl.coll.CollationData):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.initForTailoring(android.icu.impl.coll.CollationData):void\");\n }", "private void cargarModelo() {\n dlmLibros = new DefaultListModel<>();\n listaLibros.setModel(dlmLibros);\n }", "public void refrescarForeignKeysDescripcionesLibroContable() throws Exception {\n\t\tif(Constantes.ISUSAEJBLOGICLAYER) {\r\n\t\t\tLibroContableConstantesFunciones.refrescarForeignKeysDescripcionesLibroContable(this.librocontableLogic.getLibroContables());\r\n\t\t} else if(Constantes.ISUSAEJBREMOTE || Constantes.ISUSAEJBHOME) {\r\n\t\t\tLibroContableConstantesFunciones.refrescarForeignKeysDescripcionesLibroContable(this.librocontables);\r\n\t\t}\r\n\t\t\r\n\t\t/*\r\n\t\tArrayList<Classe> classes=new ArrayList<Classe>();\r\n\t\t\r\n\t\tclasses.add(new Classe(Empresa.class));\r\n\t\t\t\r\n\t\tif(Constantes.ISUSAEJBLOGICLAYER) {\r\n\t\t\t//USA LOS OBJETOS DE LOGIC DIRECTAMENTE\r\n\t\t\t//librocontableLogic.setLibroContables(this.librocontables);\r\n\t\t\tlibrocontableLogic.deepLoadsWithConnection(false, DeepLoadType.INCLUDE, classes,\"\");\r\n\t\r\n\t\t} else if(Constantes.ISUSAEJBREMOTE) {\r\n\t\t} else if(Constantes.ISUSAEJBHOME) {\r\n\t\t}\r\n\t\t*/\t\t\t\t\r\n\t}", "private void editLibraries() {\n\t\tJOptionPane.showMessageDialog(this, \"No implemented yet!\");\n\t}", "void updateLang() {\n if (lang == null)\n lang = game.q;\n }", "public AlterarDadosTarAtrasadas() {\n initComponents();\n }", "private void m145782l() {\n this.f119477j.f119578d |= 16;\n if ((this.f119477j.f119578d & 16) == 0) {\n String locale = this.f119477j.f119580f.toString();\n nativeRegisterLocalizedCollators(this.f119482o, locale);\n if (!this.f119478k) {\n try {\n mo115433a(\"CREATE TABLE IF NOT EXISTS android_metadata (locale TEXT)\", null, null);\n String c = mo115440c(\"SELECT locale FROM android_metadata UNION SELECT NULL ORDER BY locale DESC LIMIT 1\", null, null);\n if (c == null || !c.equals(locale)) {\n mo115433a(\"BEGIN\", null, null);\n mo115433a(\"DELETE FROM android_metadata\", null, null);\n mo115433a(\"INSERT INTO android_metadata (locale) VALUES(?)\", new Object[]{locale}, null);\n mo115433a(\"REINDEX LOCALIZED\", null, null);\n mo115433a(\"COMMIT\", null, null);\n }\n } catch (RuntimeException e) {\n StringBuilder sb = new StringBuilder(\"Failed to change locale for db '\");\n sb.append(this.f119477j.f119576b);\n sb.append(\"' to '\");\n sb.append(locale);\n sb.append(\"'.\");\n throw new SQLiteException(sb.toString(), e);\n } catch (Throwable th) {\n mo115433a(\"ROLLBACK\", null, null);\n throw th;\n }\n }\n }\n }", "public void borrarTablaCompleta() {\r\n\tvista.getBorrarTabla().addActionListener(r->{\r\n\t\tFile bd= new File(\"Database.db\");\r\n\t\tif(bd.exists() && bd.length()>10){\r\n\t\t\tBorrarDatos.borraTablaEntera(con);\r\n\t\t\tvista.getTxtBarraStatus().setText(\"TABLA ELIMINADA\");\r\n\t\t\ttableModelArte=null;\r\n\t\t\tautoRefresh();\r\n\t\t}else{\r\n\t\t\tvista.getTxtBarraStatus().setText(\"NO HAY NINGUNA TABLA QUE ELIMINAR\");\r\n\t\t}\r\n\t});\r\n\t}", "private void limpiar2() {\n txtValorRel.setText(null);\n txtImptoRel.setText(null);\n txtNotariaRel.setText(null);\n txtReperRel.setText(null);\n jcFechaConstitucion.setCalendar(null);\n txtRutRelac.setText(null);\n// txtFolioRelac.setText(null);\n txtApellMatRelac.setText(null);\n txtApellPatRel.setText(null);\n txtNombreRelac.setText(null);\n txtDescripcionRelac.setText(null);\n txtOtroComentarioRelac.setText(null);\n btnGuardarRelac.setVisible(false);\n }", "public void iniciaGUISesion() {\n\t\ttabbed.removeTabAt(1);\n\t\ttabbed.removeTabAt(1);\n\t\ttabbed.insertTab(\"Evolución bolsa\", null, getPanelControl(), \"Control de los usuarios\", 1);\n\t\ttabbed.insertTab(\"Eventos\", null, getPanelEventos(), \"Control de los eventos\", 2);\n\t}", "public abstract void setLibelle(String unLibelle);", "public void updateComboLang() {\n this.pawnSwitcher.updatePrompt();\n }", "public v_pembelian() {\n initComponents();\n disable_info();\n setTabel();\n initFaktur();\n }", "public void lance() {\n\t\tthis.laRequete.ecrireMessage(\"202\",\" Commande Non implementee\"); //502 ou 202?\n\t\tthis.laRequete.ecrireLog(\"Commande Non implementee\");\n\t}", "public void activeCompilerChanged() { }", "public void fixImports(Module module, Collection<SLanguage> addedLanguages) {\n }", "protected void localeChanged() {\n\t}", "@Override\n\tpublic void transmetDonnee() {\n\n\t}", "public TelaCidadaoDescarte() {\n initComponents();\n }", "public void \n updateMenus()\n {\n UIMaster master = UIMaster.getInstance();\n UICache cache = master.getUICache(pChannel);\n try {\n String tname = cache.getCachedDefaultToolsetName();\n master.updateEditorPluginField(pChannel, tname, pField);\n }\n catch(PipelineException ex) {\n master.showErrorDialog(ex);\n }\n }" ]
[ "0.6119323", "0.60384876", "0.60117126", "0.6002113", "0.59931725", "0.59666437", "0.5910644", "0.58546114", "0.5826451", "0.58119255", "0.5804374", "0.57891566", "0.5782238", "0.5771088", "0.57656854", "0.5765185", "0.5698224", "0.5645925", "0.56416124", "0.5640984", "0.5640114", "0.5605572", "0.5596637", "0.5595569", "0.55950665", "0.559448", "0.55720174", "0.5559683", "0.55418545", "0.5529736", "0.54985005", "0.5490094", "0.5475694", "0.54692256", "0.5468309", "0.54665273", "0.545353", "0.5448337", "0.5447745", "0.5447745", "0.5444551", "0.5444225", "0.5429969", "0.5429349", "0.5425158", "0.5411791", "0.5407269", "0.53687537", "0.5355011", "0.53398937", "0.5339578", "0.53386945", "0.53379965", "0.5332116", "0.533175", "0.53299165", "0.5327826", "0.53197604", "0.53169626", "0.53168774", "0.5313415", "0.53129065", "0.5310727", "0.53100985", "0.53083", "0.53034616", "0.5300685", "0.5293973", "0.5293077", "0.52888554", "0.52689743", "0.5264446", "0.52642167", "0.5253573", "0.5252865", "0.52505577", "0.52494293", "0.52483654", "0.5246295", "0.5245393", "0.5222948", "0.5222767", "0.5221324", "0.5217669", "0.520926", "0.52090716", "0.5207711", "0.5203594", "0.5197849", "0.51946944", "0.5191207", "0.5187615", "0.5184383", "0.5183386", "0.5182349", "0.5173948", "0.5172912", "0.5169265", "0.51680535", "0.51662546", "0.5164662" ]
0.0
-1
this method is called by asynchronous or synchronous client and adds response to queueToMemaslap
public void send(SocketChannel socket, byte[] data) { synchronized (this.changeKeyQueue) { // since we now have something to write we change // key for this channel to WRITE state this.changeKeyQueue .add(new ChangeKey(socket, SelectionKey.OP_WRITE)); synchronized (this.queueToMemaslap) { List<ByteBuffer> queue = (List<ByteBuffer>) this.queueToMemaslap .get(socket); if (queue == null) { queue = new ArrayList<ByteBuffer>(); this.queueToMemaslap.put(socket, queue); } queue.add(ByteBuffer.wrap(data)); } } // wakes up selector's blocking .select() method this.selector.wakeup(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void responseFail(){\n\t\tqueue.clear();\n\t}", "private void getData() {\n\n //Adding the method to the queue by calling the method getDataFromServer\n requestQueue.add(getDataFromServer(pos));\n\n }", "@Override\n public int getResponseQueueLength() {\n return 0;\n }", "public void onQueue();", "public void addQueue(){\n StringRequest stringRequest = new StringRequest(Request.Method.GET, page.getUrl(),\n new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n //textView.setText(getBody(response));\n textView.setText(HtmlCompat.fromHtml(getBody(response),0));\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n textView.setText(\"Invalid URL\");\n }\n });\n\n queue.add(stringRequest);\n }", "@Override\n public long getResponseQueueSize() {\n return 0;\n }", "protected void addChannelToReadCompletePendingQueue() {\n/* 354 */ while (!Http2MultiplexHandler.this.readCompletePendingQueue.offer(this)) {\n/* 355 */ Http2MultiplexHandler.this.processPendingReadCompleteQueue();\n/* */ }\n/* */ }", "@Override\n\tpublic void addToQueue() {\n\t}", "private void workOnQueue() {\n }", "public void updateList()\r\n\t{\r\n\t\tclientQueue.offer(name);\r\n\t}", "public void receiveResponse(String queueName) throws MessagingException {\n \t\t\n \t}", "public void receiveResponse(Priority priorityQueue)\n \t\t\tthrows MessagingException {\n \t\t\n \t}", "@Override\n public void onCompleted() {\n responseObserver.onCompleted();\n }", "@Override\n public void onCompleted() {\n System.out.println(\"Server has completed sending us response\");\n // on completed will be called right after onNext\n // Whenever server is done sending data latch is going down by 1\n latch.countDown();\n }", "@Override\n public void onCompleted() {\n builder.setMessage(\"All request data received completely!\");\n responseObserver.onNext(builder.build());\n responseObserver.onCompleted();\n }", "protected void onQueued() {}", "@Override\n public void onCompleted() {\n System.out.println(\"Sending final response as client is done\");\n //as client done, setting the result to response observer object\n responseObserver.onNext(LongGreetResponse.newBuilder().setResult(result).build());\n //complete the response\n responseObserver.onCompleted();\n }", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n public void onResponse(String response) {\n loadSentMessages();\n }", "public void callCompleted(InetAddress clientId, int xid, RpcResponse response) {\n ClientRequest req = new ClientRequest(clientId, xid);\n CacheEntry e;\n synchronized(map) {\n e = map.get(req);\n }\n e.response = response;\n }", "@Override\n\t\t\t\t\t\t public void run() {\n\t\t\t\t\t\t\t getResponse();\n\t\t\t\t\t\t }", "private void createQueue(RoutingContext routingContext) {\n LOGGER.debug(\"Info: createQueue method started;\");\n JsonObject requestJson = routingContext.getBodyAsJson();\n HttpServerRequest request = routingContext.request();\n HttpServerResponse response = routingContext.response();\n String instanceID = request.getHeader(HEADER_HOST);\n JsonObject authenticationInfo = new JsonObject();\n authenticationInfo.put(API_ENDPOINT, \"/management/queue\");\n requestJson.put(JSON_INSTANCEID, instanceID);\n if (request.headers().contains(HEADER_TOKEN)) {\n authenticationInfo.put(HEADER_TOKEN, request.getHeader(HEADER_TOKEN));\n authenticator.tokenInterospect(requestJson.copy(), authenticationInfo, authHandler -> {\n LOGGER.debug(\"Info: Authenticating response ;\".concat(authHandler.result().toString()));\n if (authHandler.succeeded()) {\n Future<Boolean> validNameResult =\n isValidName(requestJson.copy().getString(JSON_QUEUE_NAME));\n validNameResult.onComplete(validNameHandler -> {\n if (validNameHandler.succeeded()) {\n Future<JsonObject> brokerResult = managementApi.createQueue(requestJson, databroker);\n brokerResult.onComplete(brokerResultHandler -> {\n if (brokerResultHandler.succeeded()) {\n LOGGER.info(\"Success: Creating Queue\");\n handleSuccessResponse(response, ResponseType.Created.getCode(),\n brokerResultHandler.result().toString());\n } else if (brokerResultHandler.failed()) {\n LOGGER.error(\"Fail: Bad request\" + brokerResultHandler.cause().getMessage());\n processBackendResponse(response, brokerResultHandler.cause().getMessage());\n }\n });\n } else {\n LOGGER.error(\"Fail: Bad request\");\n handleResponse(response, ResponseType.BadRequestData, MSG_INVALID_EXCHANGE_NAME);\n }\n\n });\n } else if (authHandler.failed()) {\n LOGGER.error(\"Fail: Unauthorized;\" + authHandler.cause().getMessage());\n handleResponse(response, ResponseType.AuthenticationFailure);\n }\n });\n } else {\n LOGGER.error(\"Fail: Unauthorized\");\n handleResponse(response, ResponseType.AuthenticationFailure);\n }\n }", "public void addMessage(Response response)\n {\n if (response == null)\n {\n //leave a mark to skip a message\n messageSequence.add(false);\n }\n else\n messageSequence.add(response);\n }", "private void sendResultQueue() {\n\t\tfor (PluginResult pluginResult : resultQueue) {\n\t\t\tmainCallback.sendPluginResult(pluginResult);\n\t\t}\n\t\tresultQueue.clear();\n\t}", "private void ackit(String queryId){\n ResponseSender sender = responseSenderQueueForQuery.get(queryId).remove();\n sender.send(new Response(RpcType.ACK, Acks.OK));\n }", "@Override\n public void onMessage(Message message) {\n try {\n // Generate data\n QueueProcessor processor = getBean(QueueProcessor.class);\n ServiceData serviceData = processor.parseResponseMessage(response, message);\n\n // If return is a DataList or Data, parse it with the query\n if (serviceData.getClientActionList() == null || serviceData.getClientActionList().isEmpty()) {\n serviceData = queryService.onSubscribeData(query, address, serviceData, parameterMap);\n } else {\n // Add address to client action list\n for (ClientAction action : serviceData.getClientActionList()) {\n action.setAddress(getAddress());\n }\n }\n\n // Broadcast data\n broadcastService.broadcastMessageToUID(address.getSession(), serviceData.getClientActionList());\n\n // Log sent message\n getLogger().log(QueueListener.class, Level.DEBUG,\n \"New message received from subscription to address {0}. Content: {1}\",\n getAddress().toString(), message.toString());\n } catch (AWException exc) {\n broadcastService.sendErrorToUID(address.getSession(), exc.getTitle(), exc.getMessage());\n\n // Log error\n getLogger().log(QueueListener.class, Level.ERROR, \"Error in message from subscription to address {0}. Content: {1}\", exc,\n getAddress().toString(), message.toString());\n } catch (Exception exc) {\n broadcastService.sendErrorToUID(address.getSession(), null, exc.getMessage());\n\n // Log error\n getLogger().log(QueueListener.class, Level.ERROR, \"Error in message from subscription to address {0}. Content: {1}\", exc,\n getAddress().toString(), message.toString());\n }\n }", "public void getResponse(final VolleyCallback callback) {\n JsonObjectRequest request = new JsonObjectRequest\n (Request.Method.GET, url, null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n callback.onSuccess(response);\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.d(\"MYMOVIES\", error.getMessage());\n }\n });\n\n queue.add(request);\n }", "String addReceiveQueue();", "private void addMessageToQueue( byte[] buffer ){\n \tsynchronized (this.messages) {\n byte message[] = new byte[buffer.length\n - Constants.MESSAGE_ID_LEN - 1];\n for (int i = Constants.MESSAGE_ID_LEN + 1; i < buffer.length; i++) {\n message[i - Constants.MESSAGE_ID_LEN - 1] = buffer[i];\n }\n messages.add(message);\n }\n }", "protected void awaitResult(){\t\n\t\ttry {\n\t\t\t/*place thread/tuple identifier in waitlist for future responses from web service*/\n\t\t\tResponses.getInstance().addToWaitList(this.transId, this);\n\t\t\tthis.latch.await();\n\t\t\t\n\t\t} catch (InterruptedException e) {\n\n\t\t\tLogger.getLogger(\"RSpace\").log(Level.WARNING, \"Transaction #\" + transId + \" response listener was terminated\");\n\t\t}\n\t}", "private int serve() {\n\t\tMyQueue toServeQueue = allHeads.first();\n\t\tremoveQueue(toServeQueue);\n\t\tint angriness = toServeQueue.queue.poll();\n\t\tallQueues.add(toServeQueue);\n\t\tif (toServeQueue.queue.size() > 0) {\n\t\t\tallHeads.add(toServeQueue);\n\t\t}\n\t\treturn angriness;\n\t}", "public synchronized MRPublisherResponse sendBatchWithResponse() {\n if (fPending.isEmpty()) {\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(\"No Messages to send\");\n return pubResponse;\n }\n\n final long nowMs = Clock.now();\n\n host = this.fHostSelector.selectBaseHost();\n\n final String httpUrl = MRConstants.makeUrl(host, fTopic, props.getProperty(DmaapClientConst.PROTOCOL),\n props.getProperty(DmaapClientConst.PARTITION));\n OutputStream os = null;\n try (ByteArrayOutputStream baseStream = new ByteArrayOutputStream()) {\n os = baseStream;\n final String propsContentType = props.getProperty(DmaapClientConst.CONTENT_TYPE);\n if (propsContentType.equalsIgnoreCase(MRFormat.JSON.toString())) {\n JSONArray jsonArray = parseJSON();\n os.write(jsonArray.toString().getBytes());\n } else if (propsContentType.equalsIgnoreCase(CONTENT_TYPE_TEXT)) {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n } else if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA.toString())\n || (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString()))) {\n if (propsContentType.equalsIgnoreCase(MRFormat.CAMBRIA_ZIP.toString())) {\n os = new GZIPOutputStream(baseStream);\n }\n for (TimestampedMessage m : fPending) {\n os.write((\"\" + m.fPartition.length()).getBytes());\n os.write('.');\n os.write((\"\" + m.fMsg.length()).getBytes());\n os.write('.');\n os.write(m.fPartition.getBytes());\n os.write(m.fMsg.getBytes());\n os.write('\\n');\n }\n os.close();\n } else {\n for (TimestampedMessage m : fPending) {\n os.write(m.fMsg.getBytes());\n\n }\n }\n\n final long startMs = Clock.now();\n if (ProtocolType.DME2.getValue().equalsIgnoreCase(protocolFlag)) {\n\n try {\n configureDME2();\n\n this.wait(5);\n\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), url + subContextPath, nowMs - fPending.peek().timestamp);\n }\n sender.setPayload(os.toString());\n\n String dmeResponse = sender.sendAndWait(5000L);\n\n pubResponse = createMRPublisherResponse(dmeResponse, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n final String logLine = String.valueOf((Clock.now() - startMs)) + dmeResponse.toString();\n getLog().info(logLine);\n fPending.clear();\n\n } catch (DME2Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(x.getErrorCode());\n pubResponse.setResponseMessage(x.getErrorMessage());\n } catch (URISyntaxException x) {\n\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n throw e;\n } catch (Exception x) {\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n logger.error(\"exception: \", x);\n\n }\n\n return pubResponse;\n }\n\n if (ProtocolType.AUTH_KEY.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postAuthwithResponse(httpUrl, baseStream.toByteArray(), contentType, authKey,\n authDate, username, password, protocolFlag);\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n logTime(startMs, result);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.AAF_AUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postWithResponse(httpUrl, baseStream.toByteArray(), contentType, username,\n password, protocolFlag);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n\n if (ProtocolType.HTTPNOAUTH.getValue().equalsIgnoreCase(protocolFlag)) {\n if (fPending.peek() != null) {\n logSendMessage(fPending.size(), httpUrl, nowMs - fPending.peek().timestamp);\n }\n final String result = postNoAuthWithResponse(httpUrl, baseStream.toByteArray(), contentType);\n\n // Here we are checking for error response. If HTTP status\n // code is not within the http success response code\n // then we consider this as error and return false\n pubResponse = createMRPublisherResponse(result, pubResponse);\n\n if (Integer.parseInt(pubResponse.getResponseCode()) < 200\n || Integer.parseInt(pubResponse.getResponseCode()) > 299) {\n\n return pubResponse;\n }\n\n final String logLine = String.valueOf((Clock.now() - startMs));\n getLog().info(logLine);\n fPending.clear();\n return pubResponse;\n }\n } catch (IllegalArgumentException | HttpException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST));\n pubResponse.setResponseMessage(x.getMessage());\n\n } catch (IOException x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n } catch (InterruptedException e) {\n getLog().warn(\"Interrupted!\", e);\n // Restore interrupted state...\n Thread.currentThread().interrupt();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(x.getMessage());\n\n } finally {\n if (!fPending.isEmpty()) {\n getLog().warn(\"Send failed, \" + fPending.size() + \" message to send.\");\n pubResponse.setPendingMsgs(fPending.size());\n }\n if (os != null) {\n try {\n os.close();\n } catch (Exception x) {\n getLog().warn(x.getMessage(), x);\n pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_INTERNAL_SERVER_ERROR));\n pubResponse.setResponseMessage(\"Error in closing Output Stream\");\n }\n }\n }\n\n return pubResponse;\n }", "private void retainQueue() {\n if (mRequestQueue == null) {\n mRequestQueue = new RequestQueue(mProxy.getContext());\n }\n mQueueRefCount++;\n }", "public void queueMessage(ByteBuffer bb) {\n queue.add(bb);\n processOut();\n updateInterestOps();\n }", "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"application/json\");\n try (PrintWriter out = response.getWriter()) {\n JSONArray jArr = new JSONArray();\n ArrayList<Queue> queueList = QueueDAO.getQueue();\n for(Queue q : queueList){\n JSONObject queue = new JSONObject();\n queue.put(\"patientID\", q.getPatientID());\n queue.put(\"visitID\", q.getVisitID());\n queue.put(\"timestamp\", q.getTimestamp());\n queue.put(\"status\", q.getStatus());\n queue.put(\"name\", q.getName());\n jArr.add(queue);\n }\n out.println(jArr.toString());\n response.setStatus(HttpServletResponse.SC_OK);\n }\n }", "@Override\n public void result(Message[] messages) {\n synchronized (semaphore) {\n responseMessages[0] = messages;\n notified = true;\n semaphore.notifyAll();\n }\n }", "private void queueModified() {\n\tmServiceExecutorCallback.queueModified();\n }", "private void sendQueueToWear() {\n new APITask(new APICallback() {\n @Override\n public void r(String result) {\n try {\n JSONArray normalOrderQueue = new JSONObject(result).getJSONArray(\"queue\");\n\n for (int i = 0; i < normalOrderQueue.length(); i++) {\n if (gettingHelp(normalOrderQueue.getJSONObject(i)))\n if (mAdapter.helpedByMe(normalOrderQueue.getJSONObject(i))) {\n JSONObject attendedUser = normalOrderQueue.getJSONObject(i);\n normalOrderQueue = new JSONArray();\n normalOrderQueue.put(attendedUser);\n break;\n } else {\n normalOrderQueue.remove(i);\n i--;\n }\n }\n\n String queue = normalOrderQueue.toString();\n\n PutDataMapRequest putDataMapReq = PutDataMapRequest.create(\"/stayawhile/queue\");\n putDataMapReq.getDataMap().putString(QUEUE_KEY, queue);\n PutDataRequest putDataReq = putDataMapReq.asPutDataRequest();\n putDataReq.setUrgent();\n PendingResult<DataApi.DataItemResult> pendingResult =\n Wearable.DataApi.putDataItem(mGoogleApiClient, putDataReq);\n }\n catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }).execute(\"method\", \"queue/\" + Uri.encode(mQueueName));\n }", "public void queueMessage(ByteBuffer bb) {\n\t\tqueue.add(bb);\n\t\tprocessOut();\n\t\tupdateInterestOps();\n\t}", "void processQueue();", "public void receivedHttpResponse(ProxyMessageContext context) {\n\t\ttry {\n\t\t\thttpOutQueue.put(context);\n\t\t\t\n synchronized (httpResponder) {\n \thttpResponder.notify();\n }\n \n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@Override\r\n\t\tpublic void onHttpResponse(String response) {\n\t\t\tif(WebApi.isRespSuccess(response)){\r\n\t\t\t\thandler.sendEmptyMessage(HANDLER_MSG_APKINFO_SYNC);\r\n\t\t\t\tBundle bundle = new Bundle();\r\n\t\t\t\tbundle.putInt(HANDLER_DATA_APK_INDEX, this.getApkIndex());\r\n\t\t\t\tMessage msg =new Message();\r\n\t\t\t\tmsg.setData(bundle);\r\n\t\t\t\tmsg.what = HANDLER_MSG_APK_ADD;\r\n\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tString resp_msg = WebApi.getRespMsg(response);\r\n\t\t\tMessage msg = new Message();\r\n\t\t\tmsg.what = HANDLER_MSG_TOAST;\r\n\t\t\tBundle bundle = new Bundle();\r\n\t\t\tbundle.putString(HANDLER_DATA_TOAST_TEXT, resp_msg);\r\n\t\t\tmsg.setData(bundle);\r\n\t\t\thandler.sendMessage(msg);\r\n\t\t}", "@Override\n public void onResponse(String response, int id) {\n processData(response);\n\n }", "public void serve()\r\n {\r\n\tCustomerNode temp;\r\n\t\r\n\t// next customer button was pushed\r\n\r\n\ttry // to get the front item\r\n\t{\r\n temp = q.dequeue();\r\n nextField.setText(temp.getName());\r\n lengthField.setText(\"\" + q.size());\r\n messageLabel.setText(\"OK\");\r\n\t}\r\n\tcatch (QueueEmptyException qee)\r\n\t{\r\n messageLabel.setText(qee.getMessage()); // no queue\r\n nextField.setText(\"\");\r\n phoneField.setText(\"\");\r\n\t}\r\n }", "private void putOneQueue(BlockingQueue q, List buffer) throws InterruptedException {\n q.put(buffer);\n// System.err.println(Thread.currentThread().getName() + \"[MC] puts \" + buffer.size() + \" on \" + q.hashCode() + \" done\");\n// System.err.println(Thread.currentThread().getName() + \"[MC] puts \" + buffer.size() + \" on \" + q.hashCode() + \" first record \" + buffer.get(0));\n }", "protected void responseBodyConsumed() {\n\n // make sure this is the initial invocation of the notification,\n // ignore subsequent ones.\n responseStream = null;\n responseConnection.setLastResponseInputStream(null);\n\n if (shouldCloseConnection(responseConnection)) {\n responseConnection.close();\n }\n\n doneWithConnection = true;\n if (!inExecute) {\n ensureConnectionRelease();\n }\n }", "void addToQueue(WebhookMessage msg);", "protected void doConsumeResponse() throws Exception {\n if (response.getEntity() != null)\n response_data = EntityUtils.toByteArray(response.getEntity());\n }", "@Override\n public void onResponse(String response) {\n finalData(response);\n }", "public void addTicket(){\n RequestQueue rq = Volley.newRequestQueue(getApplicationContext());\n\n StringRequest request = new StringRequest(Request.Method.POST, ticketURL, new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n //display\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error)\n {\n error.printStackTrace();\n }\n }) {\n @Override\n public String getBodyContentType() {\n return \"application/json; charset=utf-8\";\n }\n\n @Override\n public byte[] getBody() {\n Gson gson = new Gson();\n String json = gson.toJson(1);\n\n try{ return (json).getBytes(\"utf-8\"); }\n catch (UnsupportedEncodingException e) { return null; }\n }\n };\n rq.add(request);\n }", "public void unloadQueue(Response response) {\n\t\t\tfor (Cookie cookie : this.queue) {\n\t\t\t\tresponse.addHeader(\"Set-Cookie\", cookie.getHTTPHeader());\n\t\t\t}\n\t\t}", "private void addFromQueue()\n\t{\n\t\twhile( humanQueue.size()>0 )\n\t\t\thumans.add(humanQueue.remove(0));\n\t\twhile( zombieQueue.size()>0 )\n\t\t\tzombies.add(zombieQueue.remove(0));\n\t}", "private void clientResponse(String msg) {\n JSONObject j = new JSONObject();\n j.put(\"statuscode\", 200);\n j.put(\"sequence\", ++sequence);\n j.put(\"response\", new JSONArray().add(msg));\n output.println(j);\n output.flush();\n }", "@Override\n public void onSuccess(int statusCode, Header[] headers, JSONObject response) {\n\n try {\n JSONArray jsonArray = response.getJSONArray(\"value\");\n\n for (int i = 0; i < jsonArray.length(); i++) {\n JSONObject mPJSONArray = jsonArray.getJSONObject(i);\n\n Log.i(\"AsyncHttpClient1\", jsonArray.toString());\n\n String description = mPJSONArray.getString(\"Description\");\n\n addRecord( description);\n }\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }", "@Override\n\t\t\tprotected void deliverResponse(String response) {\n\n\t\t\t}", "public void sendQuery(Message query, Object id, ResponseQueue responseQueue, long endTime) {\n this.responseQueue = responseQueue;\n this.id = id;\n this.query = query;\n this.endTime = endTime;\n startTimer();\n startConnect();\n }", "public synchronized void addResponse( Serializable o ) {\n if ( o instanceof MessageEvent ) {\n MessageEvent event = (MessageEvent) o ;\n event.setSeqId( numSent );\n }\n responses.add( o ) ;\n numSent ++ ;\n\n // Toggle the respond changed.\n if ( !responseChanged ) {\n responseChanged = true ;\n }\n }", "private void getResponse() {\n response = new Response();\n\n getResponseCode();\n getResponseMessage();\n getResponseBody();\n\n LOG.info(\"--- RESPONSE ---\");\n LOG.info(\"Code: \" + response.getResponseCode());\n LOG.info(\"Message: \" + response.getResponseMessage());\n LOG.info(\"Body: \" + response.getResponseBody());\n LOG.info(\"*************************************\");\n }", "@Override\n public void onResponse(String response) {\n System.out.print(\"respuesta Server\"+response);\n responseRequest(sync_id);\n /*if (sync_id != 0) {\n responseRequest(sync_id);\n } else {\n background_response = \"ID Sync null\";\n restartRequest(background_response);\n }*/\n }", "public void start() {\n retainQueue();\n mRequestHandle = mRequestQueue.queueRequest(mUrl, \"GET\", null, this, null, 0);\n }", "@Override\n\t\t\tprotected void deliverResponse(Bitmap response) {\n\n\t\t\t}", "@Override\n public void onSuccess(int statusCode, Header[] headers, byte[] response) {\n\n String decoded = null; // example for one encoding type\n try {\n decoded = new String(response, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n Log.v(TAG, \"API call onSuccess = \" + statusCode + \", Headers: \" + headers[0] + \", response.length: \" + response.length +\n \", decoded:\" + decoded);\n JSONObject jObj = null;\n try {\n jObj = new JSONObject(decoded);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n try {\n DeviceSingleton deviceSingleton = DeviceSingleton.getInstance();\n JSONArray list = new JSONArray(decoded);\n Log.d(TAG, \"API Call getroommessages returned list.length: \" + list.length());\n // Reset messages so they don't duplicate\n deviceSingleton.clearMessages();\n for (int i = 0; i < list.length(); i++) {\n JSONObject obj = list.getJSONObject(i);\n\n // JSON format is {\"message_id\":\"1051\",\"user_id\":\"8BF13A775C1844669F678DBB36F6D73D\",\"nickname\":\"gramma null\",\"message\":\"Good night all love you guys\",\"location\":\"39.941742, -85.916614\",\"secret_code\":\"harnk\",\"time_posted\":\"2015-09-25 01:11:52\"},\n String senderName = obj.getString(\"nickname\");\n String text = obj.getString(\"message\");\n String location = obj.getString(\"location\");\n String dateStr = obj.getString(\"time_posted\");\n Message message = new Message(senderName, dateStr, text, location);\n// Message message = new Message();\n// message.setSenderName(senderName);\n// message.setText(text);\n // Now add the message to the ArrayList\n deviceSingleton.addMessage(message);\n\n //Need to get these into the adapter\n Log.v(TAG, senderName + \" - \" + dateStr + \" - \" + location + \" ADDED to Singleton ArrayList messages message: \" + text);\n }\n hookUpMessageListAdapter();\n scrollMyListViewToBottom();\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n // called when response HTTP status is \"200 OK\"\n }", "public InMemoryQueueService(){\n this.ringBufferQueue = new QueueMessage[10000];\n }", "@Override\n public void onResponse(ArrayList<Transaction> response) {\n if (response.size() != transactions.size()) {\n transactions = response;\n notifyListeners(true);\n } else {\n notifyListeners(false);\n }\n }", "private void sendReceiveRes(){\n\t}", "public void startResponse()\n\t\t\t{\n\t\t\t\tsend(\"<response>\", false);\n\t\t\t}", "@Override\r\n public void handleMessage(Message inputMessage){\n Log.i(\"graphqlgetall\", \"made it to the callback\");\r\n List<ListBuyableItemsQuery.Item> items = response.data().listBuyableItems().items();\r\n buyableItems.clear();\r\n for(ListBuyableItemsQuery.Item item : items){\r\n buyableItems.add(new BuyableItem(item));\r\n }\r\n recyclerView.getAdapter().notifyDataSetChanged();\r\n\r\n\r\n }", "@Override\n\tpublic void processResponse(Response response)\n\t{\n\t\t\n\t}", "private void AsyncPush(String topic){\n\t\t\t\t \t\n\t \t/**\n\t \t * output a map, delete existed items\n\t \t */\n\t \t//Map<Key, Integer> deduplicatedBuff = mergeDuplicatedItemsAndDelte(buff);\n\t \t\n\t \t//not in, create, delay\n\t \tif(!producerMap.containsKey(topic)){\n\t \t\ttry {\n\t\t\t\t\t\t\tCreateProducer(topic,LogicController.batchMessagesMaxMessagesPerBatch);\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t} catch (ExecutionException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\t \t\t \n\t \t}\n\t \tlog.info(\"#publish\"+topic+\", \"+buffMap.size());\n\t \tProducer<byte[]> producer = producerMap.get(topic);\n\t \t/**\n\t \t * init set, copy to hash set\n\t \t */\n\t \t//Set<Key> Keys = Sets.newConcurrentHashSet(buffMap.keySet());\n\t \t\n\t \t \n\t \tfor (Key key : buffMap.keySet()){\n\t \t\t \n\t \t\t //if(buffMap.containsKey(key)){\n\t \t\t \n\t \t\t \n\t \t\t if(buffMap.containsKey(key)){\n\t \t\t\t Integer val = buffMap.get(key);\n\t \t\t\t //clear,skip\n\t \t\t\t if(val<=0){buffMap.remove(key);continue;}\n\t \t\t\t //concenate\n\t \t\t\t byte[] out = createKVByte(key,val);\n\t \t\t\t \n\t \t\t\t//get producer\n\t\t\t \t\t\t \n\t\t\t \t\t\t //byte[] tempTable = new byte[](buffMap);\n\t\t producer.sendAsync(out).thenRun(() -> {\n\t\t\t messagesSent.increment();\n\t\t\t bytesSent.add(out.length);\n\t\t\t //update\n\t\t\t TopicMap.replace(topic, TopicMap.get(topic)+out.length);\t\n\t\t\t \n\t\t\t //delete\n\t\t\t rescaleBufferMap(buffMap,key,val);\n\t\t\t \n\t\t\t //CheckNumberPacketsEnoughEndMessageAndSend(topic);\n\t\t\t //buffMap.remove(key);\n\t\t\t //remove from the set\n\t\t\t //ier.remove();\n\t\t\t \t\t \t\t \n\t\t\t }).exceptionally(ex -> {\n\t\t\t log.warn(\"Write error on message\", ex);\n\t\t\t //System.exit(-1);\n\t\t\t return null;\n\t\t\t });\n\t \t\t }\n\t \t\t }\n\t \t\t \n\t \t }", "protected void postResponse(final AlarmResponse<E> response) {\n\t\tif (callBack == null) return;\n\t\tnew Thread(new Runnable() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tcallBack.alarmResponse(response);\n\t\t\t}\n\t\t}).start();\n\t}", "synchronized void flushQueueOnSuccess(Session session) {\n awaitingSession.set(false);\n\n while (!queue.isEmpty()) {\n final Callback<Session> request = queue.poll();\n request.success(new Result<>(session, null));\n }\n }", "public void serveOrder ()\n\t\t{\n\t\t\ticeCreamLine.dequeue();\n\t\t\tconeList.remove(0);\n\t\t}", "void onEnqueue(boolean success, long rowCount);", "public void addNluResult(String sessionId, NluResponse response) {\n String nluId = NLU_RESULT_PREFIX + sessionId;\n if (dialogCache.getQueueLen(nluId) == MAX_QUEUE_SIZE) {\n dialogCache.popFromQueue(nluId);\n }\n dialogCache.pushToQueue(nluId, JSON.toJSONString(response));\n }", "public void readResponse()\n\t{\n\t\tDataObject rec = null;\n\t\tsynchronized(receive)\n\t\t{\n\t\t\trec = receive.get();\n\t\t}\n\t\tAssertArgument.assertNotNull(rec, \"Received packet\");\n\t\tpublishResponse(rec);\n\t}", "public void setRequestQueue(BlockingQueue q)\n {\n queue = q;\n }", "private void addCommandToQueue(CancellableCommand command) {\n outstandingRequests.add(command);\n while (outstandingRequests.size() > maxOutstandingRequests) {\n outstandingRequests.poll().onCancelled();\n }\n }", "@Override\n public void completed(Integer result, AsynchronousSocketChannel channel ) {\n\n //ipaddress\n String ipAdr = \"\";\n try{\n\n //Print IPAdress\n ipAdr = channel.getRemoteAddress().toString();\n System.out.println(ipAdr);\n }catch(IOException e) {\n e.printStackTrace();\n }\n\n //if client is close ,return\n buf.flip();\n if (buf.limit() == 0) return;\n\n //Print Message\n String msg = getString(buf);\n\n //time\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss.SSS\");\n sdf.setTimeZone(TimeZone.getTimeZone(\"Asia/Taipei\"));\n System.out.println(sdf.format(new Date()) + \" \" + buf.limit() + \" client: \"+ ipAdr + \" \" + msg);\n\n //\n order ord = null;\n try{\n ord = ParseOrder(sdf.format(new Date()), msg, ipAdr);\n }catch(Exception ex){\n startRead( channel );\n return;\n }\n //2021/05/23 15:55:14.763,TXF,B,10000.0,1,127.0.0.1\n //2021/05/23 15:55:14.763,TXF,S,10000.0,1,127.0.0.1\n\n if (ord.BS.equals(\"B\")) {\n limit(ord, bid);\n }\n if (ord.BS.equals(\"S\")) {\n limit(ord, ask);\n }\n if (trade(bid, ask, match) == true){\n startWrite(clientChannel, \"Mat:\" + match.get(match.size()-1).sysTime + \",\" + match.get(match.size()-1).stockNo+\",\"+\n match.get(match.size()-1).BS+\",\"+match.get(match.size()-1).qty+\",\"+match.get(match.size()-1).price+\"\\n\");\n }\n\n //send to all \n startWrite(clientChannel, \"Ord:\" + getAllOrder(bid, ask)+\"\\n\");\n \n //bid size and ask size\n System.out.println(\"Blist:\" + bid.size() + \" Alist:\" + ask.size());\n\n // echo the message\n//------------------> //startWrite( channel, buf );\n \n //start to read next message again\n startRead( channel );\n }", "@Override\r\n public void onResponse(@Nonnull com.apollographql.apollo.api.Response<OnCreateBuyableItemSubscription.Data> response) {\n Log.i(TAG, \"new data added\");\r\n final BuyableItem newItem = new BuyableItem(response.data().onCreateBuyableItem().title(), response.data().onCreateBuyableItem().priceInCents());\r\n Handler handler = new Handler(Looper.getMainLooper()) {\r\n @Override\r\n public void handleMessage(Message inputMessage) {\r\n buyableItemAdapter.addItem(newItem);\r\n }\r\n };\r\n\r\n handler.obtainMessage().sendToTarget();\r\n\r\n }", "@Override\n public void run() {\n chatListAdapter.add(response);\n chatListAdapter.notifyDataSetChanged();\n getListView().setSelection(chatListAdapter.getCount() - 1);\n }", "@Override\n public void run() {\n while (!bShutDown || !messageCache.isEmpty()) {\n try {\n while (!messageCache.isEmpty()) {\n HttpMessage httpMessage = messageCache.poll();\n if (httpMessage != null) {\n SendResult result = sendMessageWithHostInfo(\n httpMessage.getBodies(), httpMessage.getGroupId(),\n httpMessage.getStreamId(), httpMessage.getDt(),\n httpMessage.getTimeout(), httpMessage.getTimeUnit());\n httpMessage.getCallback().onMessageAck(result);\n }\n }\n TimeUnit.MILLISECONDS.sleep(proxyClientConfig.getAsyncWorkerInterval());\n } catch (Exception exception) {\n logger.error(\"exception caught\", exception);\n }\n }\n }", "public void makeJsonArrayRequest() {\n JsonArrayRequest req = new JsonArrayRequest(url,\n new Response.Listener<JSONArray>() {\n @Override\n public void onResponse(JSONArray response) {\n if (response.length() == hla.adapter.getItemCount()){\n\n }\n else{\n try {\n // Parsing json array response\n // loop through each json object\n jsonResponse = \"\";\n for (int i = 0; i < response.length(); i++) {\n\n JSONObject heroes = (JSONObject) response.get(i);\n\n name = heroes.getString(\"PrimaryName\");\n imageurl = heroes.getString(\"ImageURL\");\n tgroup = heroes.getString(\"Group\");\n stgroup = heroes.getString(\"SubGroup\");\n\n jsonResponse += name;\n jsonResponse += imageurl;\n jsonResponse += tgroup;\n jsonResponse += stgroup;\n addItem(createheroes(i, name));\n completepicurl = \"http://d1i1jxrdh2kvwy.cloudfront.net/Images/Heroes/Portraits/\"+ imageurl + \".png\";\n VolleyLog.d(completepicurl);\n addItemPic(createheroepics(i, completepicurl));\n\n VolleyLog.d(\"Loaded No. \" + i);\n int check = hla.adapter.getItemCount();\n VolleyLog.d(\"Items = \" + check);\n hla.adapter.notifyItemInserted(check);\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }}\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n VolleyLog.d(\"Error:\");\n addItem(createheroes(1, \"yolo\"));\n }\n });\n\n AppController.getInstance().addToRequestQueue(req);\n VolleyLog.d(\"Requestqueue Job added\");\n }", "private void getMasechtotListFromServer() {\n\n\n RequestManager.getMasechtotList().subscribe(new Observer<Result<MasechetList>>() {\n @Override\n public void onSubscribe(Disposable d) {\n\n }\n\n @Override\n public void onNext(Result<MasechetList> masechetListResult) {\n\n saveMasechtotList(masechetListResult.getData());\n mMasechtotList = masechetListResult.getData();\n\n }\n\n @Override\n public void onError(Throwable e) {\n\n }\n\n @Override\n public void onComplete() {\n\n }\n });\n\n\n }", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "@Override\n public void processResult(HttpResponseMessage response) {\n }", "BaseRequest<T> queue(RequestQueue queue) {\n queue.add(this);\n return this;\n }", "public void recv(BlockingQueue<String> rcvqueue) {\r\n\t\tDatagramPacket receivedPacket = new DatagramPacket(new byte[100], 100); //Creates a new packet for receiving\r\n\t\ttry {\r\n\t\t\trcvSocket.receive(receivedPacket);\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} //Receive the response\r\n\t\tString msg = new String(receivedPacket.getData(), StandardCharsets.UTF_8);\r\n\t rcvqueue.add(msg);\r\n\t\t\r\n\t}", "public void sendRequest() {\n Cache cache = new DiskBasedCache(getCacheDir(), 1024 * 1024); // 1MB capacity\n // Set up the network to use HttpURLConnection as the HTTP client.\n Network network = new BasicNetwork(new HurlStack());\n String api = URL;\n String api2 = URL2;\n\n // Instantiate the RequestQueue with the cache and network.\n mRequestQueue = new RequestQueue(cache, network);\n // Start the queue\n mRequestQueue.start();\n\n\n answer = new String();\n // Formulate the request and handle the response.\n StringRequest stringRequest = new StringRequest(Request.Method.GET, api,\n new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n //save the response to shared preference\n SharedPreferences result = getSharedPreferences(\"PREF\", 0);\n SharedPreferences.Editor editor = result.edit();\n editor.putString(\"results\", response.toString());\n editor.commit();\n\n\n }\n },\n new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n // Handle error\n Toast.makeText(getApplicationContext(), \"Please check connection\", Toast.LENGTH_SHORT).show();\n\n }\n });\n StringRequest stringRequest2 = new StringRequest(Request.Method.GET, api2,\n new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n //save the response to shared preference\n SharedPreferences result = getSharedPreferences(\"PREF2\", 0);\n SharedPreferences.Editor editor = result.edit();\n editor.putString(\"results\", response.toString());\n editor.commit();\n\n\n }\n },\n new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n // Handle error\n Toast.makeText(getApplicationContext(), \"Please check connection\", Toast.LENGTH_SHORT).show();\n\n }\n });\n\n\n // Add the request to the RequestQueue.\n stringRequest.setTag(REQUESTTAG);\n //mRequestQueue.stop();\n mRequestQueue.add(stringRequest);\n mRequestQueue.add(stringRequest2);\n\n }", "@Override\n public void onReceivedResponse(WebSocketResponseMessage responseMessage) {\n System.err.println(\"[JVDBG] Got response with status \" + responseMessage.getStatus()+\n \" and requestId = \"+responseMessage.getRequestId());\n long id = responseMessage.getRequestId();\n if (pending.containsKey(id)) {\n Consumer f = pending.get(id);\n f.accept(responseMessage);\n pending.remove(id);\n }\n System.err.println(\"Message = \" + responseMessage);\n if (responseMessage.getBody().isPresent()) {\n System.err.println(\"[JVDBG] Got response body: \" + new String(responseMessage.getBody().get()));\n }\n }", "void notifySuccess(final List<ShotBO> response);", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "public void answer(Message response) throws IOException {\n out.writeObject(response);\n out.flush();\n }", "@Override\n\tpublic void sendResponse() {\n\n\t}", "@Override public void deliverResponse(T response) {\n if (listener != null) {\n listener.onResponse(response);\n }\n }", "public void queryServer() {\n final String lastTime = \"2020-11-17 00:00:00\";\n final OkHttpClient client = HttpHelper.getOkHttpClient();\n final RequestBody requestBody = new FormBody.Builder()\n .add(Config.STR_TIME, lastTime)\n .build();\n final Request request = new okhttp3.Request.Builder()\n .post(requestBody)\n .url(Config.URL_TALK_QUERY)\n .build();\n client.newCall(request).enqueue(new Callback() {\n @Override\n public void onFailure(@NonNull Call call, @NonNull IOException e) {\n uniApiResult.postValue(new UniApiResult.Fail(Config.ERROR_NET, Arrays.toString(e.getStackTrace())));\n Log.e(\"Contacts\", Config.ERROR_NET);\n }\n @Override\n public void onResponse(@NonNull Call call, @NonNull Response response) throws IOException {\n if( !response.isSuccessful() ) {\n uniApiResult.postValue(new UniApiResult.Fail(Config.ERROR_NET, String.valueOf(response.code())));\n return;\n }\n assert response.body() != null;\n String resJson = response.body().string();\n try {\n JSONObject jsonO = new JSONObject(resJson);\n uniApiResult.postValue(new UniApiResult<>(jsonO.getString(Config.STR_STATUS), \"\"));\n\n JSONArray jsonA = (JSONArray) jsonO.get(Config.STR_STATUS_DATA);\n// List<TMessage> newTMessages = new ArrayList<>();\n for (int i = 0; i < jsonA.length(); ++i) {\n TMessage message = TMessage.jsonToTMessage((JSONObject) jsonA.get(i));\n if (!tMessageDao.isMessageExist(message.getAccount1(), message.getAccount2(),message.getSendTime())) {\n tMessageDao.InsertMessage(message);\n// newTMessages.add(message);\n }\n }\n// TMessageList.postValue(newTMessages);\n ThreadPoolHelper.getInstance().execute(TalkViewModel.this::queryLocalMessageList);\n //new Thread(TalkViewModel.this::queryLocalMessageList).start();\n } catch (JSONException e) {\n e.printStackTrace();\n uniApiResult.postValue(new UniApiResult.Fail(Config.ERROR_UNKNOWN, Arrays.toString(e.getStackTrace())));\n }\n }\n });\n }", "@Override\n public void onResponse(Call<CommunicationDM> call, Response<CommunicationDM> response) {\n progressDialog.dismiss();\n\n if (response.isSuccessful()) {\n try {\n commList.clear();\n commList.addAll(response.body().getSpecificCommRecord());\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n adapter.notifyDataSetChanged();\n }\n\n }\n }", "@Override\n protected Response<JSONArray> parseNetworkResponse (NetworkResponse response){\n// This thread is on background thread\n// Handle parsing logic here?\n try {\n String jsonString =\n new String(\n response.data,\n HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET));\n JSONArray jsonArray = new JSONArray(jsonString);\n\n// Parse on background thread\n parseResponse(jsonArray);\n\n return Response.success(jsonArray, HttpHeaderParser.parseCacheHeaders(response));\n } catch (UnsupportedEncodingException | JSONException e) {\n return Response.error(new ParseError(e));\n }\n }", "@Override\r\n\t\tpublic void onHttpResponse(String response) {\n\t\t\tif (WebApi.isRespSuccess(response)){\r\n\t\t\t\tJSONArray array = WebApi.getRespArray(response);\r\n\t\t\t\tif (array != null){\r\n\t\t\t\t\tPrefProxy.setSupplierList(context, array.toString());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}", "protected void finish() {\n writerServerTimingHeader();\n\n try {\n\n // maybe nobody ever call getOutputStream() or getWriter()\n if (bufferedOutputStream != null) {\n\n // make sure the writer flushes everything to the underlying output stream\n if (bufferedWriter != null) {\n bufferedWriter.flush();\n }\n\n // send the buffered response to the client\n bufferedOutputStream.writeBufferTo(getResponse().getOutputStream());\n\n }\n\n } catch (IOException e) {\n throw new IllegalStateException(\"Could not flush response buffer\", e);\n }\n\n }", "public void putAResult(Result result) {\n restTemplate.exchange(\n queueUrl + \"/putAResult\",\n HttpMethod.POST,\n new HttpEntity<>(result),\n String.class);\n }" ]
[ "0.6402677", "0.6074872", "0.60125256", "0.6009841", "0.60006607", "0.5919973", "0.58714545", "0.5820607", "0.58156836", "0.58086884", "0.5806129", "0.5785281", "0.5777755", "0.57407737", "0.57388604", "0.5691357", "0.56819856", "0.56613225", "0.56613225", "0.5656594", "0.5655351", "0.5643436", "0.5638526", "0.56274885", "0.5565723", "0.5560512", "0.5557603", "0.55530775", "0.55474865", "0.5524826", "0.55162483", "0.55154085", "0.550009", "0.54638004", "0.5461429", "0.5431283", "0.54219747", "0.54073346", "0.5395699", "0.5394593", "0.53885704", "0.5380246", "0.5355734", "0.53535277", "0.53530216", "0.5346405", "0.5307507", "0.52972865", "0.52972555", "0.5295328", "0.5287909", "0.5283685", "0.5279648", "0.52766806", "0.52744347", "0.5271921", "0.52715874", "0.5264797", "0.526293", "0.5262601", "0.5259943", "0.5257608", "0.5251624", "0.5241328", "0.523937", "0.5229487", "0.5228782", "0.52285516", "0.52221835", "0.52217484", "0.52204007", "0.5216936", "0.5216811", "0.5213633", "0.5212057", "0.51958996", "0.51913786", "0.5186999", "0.51779205", "0.517739", "0.51743156", "0.5170149", "0.5168602", "0.5166981", "0.51664436", "0.5160456", "0.51500845", "0.51476073", "0.5144333", "0.514378", "0.5130511", "0.5126133", "0.51187557", "0.5117251", "0.5113969", "0.51111037", "0.5107836", "0.5103596", "0.51003677", "0.5100141", "0.5096003" ]
0.0
-1
helper method accepts socketchannels and registers them with our selector
private void accept(SelectionKey key) throws IOException { ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key .channel(); SocketChannel socketChannel = serverSocketChannel.accept(); // as usual, non blocking fashion here socketChannel.configureBlocking(false); // after registering, this socket channel goes to READ state // since we expect some request from it socketChannel.register(this.selector, SelectionKey.OP_READ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void registerSockets() {\n if (!registerQueue.isEmpty()) {\n SocketChannel chan;\n while ((chan = registerQueue.poll()) != null) {\n System.out.println(Thread.currentThread().getName() + \": registering a new socket\");\n try {\n chan.configureBlocking(false);\n chan.register(selector, SelectionKey.OP_READ);\n } catch (IOException e) {\n //ignore the failure of not registering a socket\n //it shouldn't affect the rest of the program\n this.logger().log(e);\n e.printStackTrace();\n }\n }\n }\n }", "public void setSocketChannel(SocketChannel socketChannel);", "private void handleAcceptable(@NotNull SelectionKey selectionKey) throws IOException {\n logger.debug(\"handling acceptable\");\n ServerSocketChannel serverChannel = (ServerSocketChannel) selectionKey.channel();\n SocketChannel socketChannel = serverChannel.accept();\n logger.debug(\"got client socket channel :\" + socketChannel.toString());\n\n socketChannel.configureBlocking(false);\n SelectionKey clientKey = socketChannel.register(selector, SelectionKey.OP_READ);\n MessageReader reader = new MessageReader((SocketChannel) clientKey.channel());\n clientKey.attach(reader);\n }", "public void registerSocket(SocketChannel socket) {\n registerQueue.add(socket);\n selector.wakeup();\n }", "private static void accept(SelectionKey key) throws IOException {\n\t\tServerSocketChannel ssc = (ServerSocketChannel) key.channel();\r\n\t\t\r\n\t\t// We use the original SSC to NON-BLOCKINGLY accept the new Socket (Channel)\r\n\t\tSocketChannel sc = ssc.accept(); // nonblocking and never null (we know it has a client socket waiting)\r\n\t\t\r\n\t\t// We similarly set the SocketChannel to be non-blocking\r\n\t\tsc.configureBlocking(false);\r\n\t\t\r\n\t\t// now that we have the new SocketChannel, we must register it with the Selector.\r\n\t\t// -- The SAME Selector That the original ServerSocketChannel is using.\r\n\t\t// -- We can get this Selector from key.selector()\r\n\t\t//\r\n\t\t// We register it for READs Only at this point\r\n\t\t// -- For this socket, we want to know if anything is ready for reading\r\n\t\t// -- E.g.: The moment anybody writes something to this socket, we want to be ready to read it\r\n\t\t// Q: Why not reg it for reads AND writes?\r\n // A: Because we don't care about whether the SocketChannel is ready for WRITEs until after\r\n // we have actually READ something\r\n\t\tsc.register(key.selector(), SelectionKey.OP_READ);\r\n\t\t\r\n\t\t// recall: LinkedList implements Queue\r\n\t\t\r\n\t\t// Here, we prepare the new socket with a place to write pending data to\r\n // E.q.: We create a LinkedList that can hold ByteBuffers, keyed by the SocketChannel\r\n\t\t//\r\n\t\t// pendingData is a Map<SocketChannel, java.util.Queue<ByteBuffer>>\r\n\t\tpendingData.put(sc, new LinkedList<>());\t\t\t// recall: LinkedList implements Queue\r\n\t}", "private static DatagramChannel newSocket(SelectorProvider provider) {\n/* */ try {\n/* 86 */ return provider.openDatagramChannel();\n/* 87 */ } catch (IOException e) {\n/* 88 */ throw new ChannelException(\"Failed to open a socket.\", e);\n/* */ } \n/* */ }", "public NioDatagramChannel(SelectorProvider provider) {\n/* 124 */ this(newSocket(provider));\n/* */ }", "public void acceptedSocket(long socketId) {}", "private void handleRegisterSocketEvent(RegisterSocketEvent event) throws AppiaException {\n \t\tif(event.getDir() == Direction.DOWN){\n \t\t\tSystem.err.println(\"VsProxySession - No one should be above \" +\n \t\t\t\"me sending a RSE Event\");\n \t\t}\n \n \t\t//Create the matchers to find out what is the channel (For group or clients)\n \t\tMatcher listenMatcher = textPattern.matcher(event.getChannel().getChannelID());\n \t\tMatcher vsMatcher = drawPattern.matcher(event.getChannel().getChannelID());\n \n \t\tif(listenMatcher.matches()){\n \t\t\tlistenAddress = (InetSocketAddress) event.getLocalSocketAddress();\n \t\t\tSystem.out.println(\"listenAddress Registered at: \" + listenAddress);\n \n \t\t\t//We may now launch our pong manager\n \t\t\tlaunchPongManagerThread();\n \t\t}\n \n \t\telse if(vsMatcher.matches()){\n \t\t\tvsAddress = (InetSocketAddress) event.getLocalSocketAddress();\n \t\t\tSystem.out.println(\"vsAddress Registered at: \" + vsAddress);\n \t\t\t//Create a Virtual Sinchrony channel for the servers\n \t\t\tsendGroupInit();\t\n \t\t}\n \n \t\tevent.go();\n \t}", "private Selector initSelector() throws IOException {\n Selector socketSelector = SelectorProvider.provider().openSelector();\n\n // Create a new non-blocking server socket channel\n this.serverChannel = ServerSocketChannel.open();\n serverChannel.configureBlocking(false);\n\n // Bind the server socket to the specified address and port\n InetSocketAddress isa = new InetSocketAddress(this.myAddress, this.myPort);\n serverChannel.socket().bind(isa);\n\n // Register the server socket channel, indicating an interest in\n // accepting new connections\n serverChannel.register(socketSelector, SelectionKey.OP_ACCEPT);\n\n return socketSelector;\n }", "private void manageConnectedSocket(BluetoothSocket acceptSocket) {\n\n }", "public AcceptThread() throws IOException {\n setName(\"TcpHarvester AcceptThread\");\n setDaemon(true);\n selector = Selector.open();\n for (ServerSocketChannel channel : serverSocketChannels) {\n channel.configureBlocking(false);\n channel.register(selector, SelectionKey.OP_ACCEPT);\n }\n }", "private void channelPolling() throws IOException {\n\t\tSemaphore acceptLock = new Semaphore(1);\n\n\t\twhile (true) {\n\t\t\t//Waits until there is activity on one of the registered channels\n\t\t\tif (selector.selectNow() == 0) continue;\n\t\t\t//get list of all keys\n\t\t\tIterator<SelectionKey> keys = selector.selectedKeys().iterator();\n\n\t\t\twhile (keys.hasNext()) {\n\t\t\t\t//get key and find its activity\n\t\t\t\tSelectionKey key = keys.next();\n\n//\t\t\t\tSystem.out.printf(\"Key Value: Interest: %d, Ready: %d%n\", key.interestOps(), key.readyOps());\n\n\t\t\t\tif (!key.isValid()) {\n\t\t\t\t\tSystem.out.println(\"Canceled key encountered. Ignoring.\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif ( key.isAcceptable()) {\n\n\t\t\t\t\t//Stops redundant task creation. The lock is unlocked as soon as a thread handles\n\t\t\t\t\t//the registration of a client. Should never really bottleneck program\n\t\t\t\t\tif (!acceptLock.tryAcquire()) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t//Put new AcceptClientConnection in Queue with this key data\n\t\t\t\t\taddTask(new AcceptClientConnection(selector, serverChannel, acceptLock, this));\n\n\t\t\t\t}\n\n\t\t\t\tif ( key.isReadable()) {\n\t\t\t\t\t//deregister this key, as it's now not part of the serverSocketChannel, only a specific\n\t\t\t\t\t//client. Will reregister read interests as soon as it's read from\n\t\t\t\t\tkey.interestOps(0);\n\t\t\t\t\t//put new ReadClientData in Queue, which this key data\n\t\t\t\t\tSocketChannel client = (SocketChannel) key.channel();\n\n\t\t\t\t\t//Make sure the channelsToHandle isn't edited by a thread mid add/size check\n\t\t\t\t\t//also synchronized with the Thread's work when it handles the batch organization\n\t\t\t\t\tsynchronized (channelsToHandle) {\n\t\t\t\t\t\tchannelsToHandle.add(new ClientData(client, key));\n//\t\t\t\t\t\tSystem.out.printf(\"Client_Data: Appending '%s' to list. Size: %d%n\", client.getRemoteAddress(), channelsToHandle.size());\n\n\t\t\t\t\t\t//if there are more than enough clients to handle, hand it off to a client and move on\n\t\t\t\t\t\tif (channelsToHandle.size() >= batchSize && organizeLock.tryAcquire()) {\n\t\t\t\t\t\t\taddTask(new OrganizeBatch(channelsToHandle, queue, hashList, batchSize, organizeLock, this));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tif ( key.isWritable()) {\n//\t\t\t\t\tSystem.out.println(\"Client can be written to\");\n\t\t\t\t}\n\t\t\t\t//done with the key this iteration, check again for any new activity next select\n\t\t\t\tkeys.remove();\n\t\t\t}\n\t\t}\n\t}", "public SocketChannel accept(SelectionKey key, Selector selector, Pool<String, RequestWorker> clientReqPool, Server parentThread) throws IOException{\r\n\t\t// Step 1- Get the SocketChannel of Server.\r\n\t\tServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();\r\n\r\n\t\t/*\r\n\t\t * Accept the connection and make it non-blocking\r\n\t\t * Socket can be achieved from client's socketchannel\r\n\t\t * as well as Server Socket channel.\r\n\t\t */\r\n\t\tSocketChannel clientSocketChannel = serverSocketChannel.accept();\r\n\t\tSocket socket = clientSocketChannel.socket();\r\n\t\tclientSocketChannel.configureBlocking(false);\r\n\t\t/*\r\n\t\t * Register the Client's Socket Channel with selector and Key as 'READ'.\r\n\t\t */\t\t\r\n\t\tclientSocketChannel.register(selector, SelectionKey.OP_READ);\t\t\t\t\r\n\r\n\t\tlogger.info(\"Check Point 2 :CLIENT CONNECTED : \"+socket.getRemoteSocketAddress() + \" -- PASS\");\r\n\t\tparentThread.getReqPool().add(socket.getRemoteSocketAddress().toString(), new RequestWorker(key, socket.getRemoteSocketAddress()+\"\",parentThread));\t\t\r\n\t\treturn clientSocketChannel;\r\n\t}", "private void initSelectorLoops() {\n ServerConfiguration configuration = getContext().getServerConfiguration();\n String eventLoopName = \"nio-process(tcp-\" + configuration.getSERVER_PORT() + \")\";\n int core_size = configuration.getSERVER_CORE_SIZE();\n this.selectorEventLoopGroup = new SocketSelectorEventLoopGroup(getContext(), eventLoopName,\n core_size);\n LifeCycleUtil.start(selectorEventLoopGroup);\n }", "private void accept(SelectionKey key) throws IOException {\n ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();\n\n // Accept the connection and make it non-blocking\n SocketChannel socketChannel = serverSocketChannel.accept();\n Socket socket = socketChannel.socket();\n // ABHIGYAN:\n socketChannel.socket().setKeepAlive(true);\n socketChannel.configureBlocking(false);\n // lookup ID for this hostIP and port.\n//\t\tincludeSocketChannelInConnectedList(socketChannel);\n\n // Register the new SocketChannel with our Selector, indicating\n // we'd like to be notified when there's data waiting to be read\n socketChannel.register(this.selector, SelectionKey.OP_READ);\n }", "private Selector initSelector() throws IOException {\n\t\tfinal Selector socketSelector = SelectorProvider.provider()\n\t\t\t\t.openSelector();\n\n\t\t// Create a new non-blocking server socket channel\n\t\tServerSocketChannel serverChannel = ServerSocketChannel.open();\n\t\tserverChannel.configureBlocking(false);\n\n\t\t// Bind the server socket to the specified address and port\n\t\tfinal InetSocketAddress isa = new InetSocketAddress(this.hostAddress,\n\t\t\t\tthis.port);\n\t\tserverChannel.socket().bind(isa);\n\n\t\t// Register the server socket channel, indicating an interest in\n\t\t// accepting new connections\n\t\tserverChannel.register(socketSelector, SelectionKey.OP_ACCEPT);\n\n\t\treturn socketSelector;\n\t}", "public static void main(String[] args) throws Exception {\n final SocketChannel socketChannel = SocketChannel.open(new InetSocketAddress(\"127.0.0.1\", 8088));\n socketChannel.configureBlocking(false);\n\n //客户端建立连接\n// socketChannel.register(selector, SelectionKey.OP_CONNECT);\n// socketChannel.isConnected();\n\n\n// new Thread(new Runnable() {\n// @Override\n// public void run() {\n// System.out.println(\"客户端发送消息~~~\");\n// String clientMsg = \"客户端首发信息\";\n// ByteBuffer byteBuffer = ByteBuffer.allocate(clientMsg.getBytes().length);\n// byteBuffer.put(clientMsg.getBytes());\n// byteBuffer.flip();\n// try {\n// socketChannel.write(byteBuffer);\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// }\n// }).start();\n\n System.out.println(\"客户端发送消息~~~\");\n String clientMsg = \"客户端首发信息\";\n ByteBuffer byteBuffer = ByteBuffer.allocate(clientMsg.getBytes().length);\n byteBuffer.put(clientMsg.getBytes());\n byteBuffer.flip();\n try {\n socketChannel.write(byteBuffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()){\n byteBuffer.flip();\n String str = scanner.next();\n byteBuffer.put(str.getBytes());\n byteBuffer.flip();\n socketChannel.write(byteBuffer);\n }\n socketChannel.close();\n// System.out.println(\"客户端接收消息~~~\");\n// ByteBuffer bbf = ByteBuffer.allocate(1024);\n// int num = socketChannel.read(bbf);\n// if (num > 0) {\n// bbf.flip();\n// byte[] bytes = new byte[bbf.remaining()];\n// bbf.get(bytes);\n// System.out.println(\"客户端接收到服务端信息:\" + (new String(bytes, \"UTF-8\")));\n// }\n\n// while (true) {\n//// selector.select(1000);\n// Set<SelectionKey> selectionKeys = selector.selectedKeys();\n// Iterator<SelectionKey> iterator = selectionKeys.iterator();\n// System.out.println(\"--1\");\n// while (iterator.hasNext()) {\n// System.out.println(\"--2\");\n// SelectionKey key = iterator.next();\n// System.out.println(\"--3\");\n//\n// final SocketChannel channel = (SocketChannel) key.channel();\n// new Thread(new Runnable() {\n// @Override\n// public void run() {\n// System.out.println(\"客户端发送消息~~~\");\n// String clientMsg = \"客户端首发信息\";\n// ByteBuffer byteBuffer = ByteBuffer.allocate(clientMsg.getBytes().length);\n// byteBuffer.put(clientMsg.getBytes());\n// byteBuffer.flip();\n// try {\n// channel.write(byteBuffer);\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// }\n// }).start();\n// System.out.println(\"--4\");\n// if (key.isReadable()) {\n// System.out.println(\"客户端接收消息~~~\");\n// ByteBuffer bbf = ByteBuffer.allocate(1024);\n// int num = channel.read(bbf);\n// if (num > 0) {\n// bbf.flip();\n// byte[] bytes = new byte[bbf.remaining()];\n// bbf.put(bytes);\n// System.out.println(\"客户端接收到服务端信息:\" + (new String(bytes, \"UTF-8\")));\n// }\n// }\n// iterator.remove();\n// }\n// }\n\n }", "private void selectLoop() {\n \t\tlong timeout = 0; // wait indefinitely\n \t\n \t\tregisterPending();\n \t\n \t\twhile (!Thread.interrupted()) {\n \t\t\tif (contextMap.isEmpty() && currentlyOpenSockets.get() == 0 && currentlyConnectingSockets.get() == 0) {\n \t\t\t\tassert logger != null;\n \t\t\t\tlogger.debug(\"SocketEngineService clean\");\n \t\t\t\ttimeout = 0;\n \t\t\t} else {\n\t\t\t\t//XXX remove\n//\t\t\t\tlogger.debug(\"active contexts: \"+contextMap.size()+\" selection keys: \"+selector.keys().size());\n//\t\t\t\tlogger.debug(\"open sockets: \"+currentlyOpenSockets.get()+\" connecting sockets: \"+currentlyConnectingSockets.get());\n \t\t\t\ttimeout = Math.max(timeout, 500); // XXX\n \t\t\t}\n \n \t\t\ttry {\n \t\t\t\tselector.select(timeout);\n \t\t\t\tassert selector != null;\n \t\t\t\tif (selector.isOpen() == false) {\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t} catch (IOException e) {\n \t\t\t\tassert logger != null;\n \t\t\t\tlogger.error(\"I/O error in Selector#select()\", e);\n \t\t\t\treturn;\n \t\t\t}\n \t\t\t\n \t\t\tregisterPending();\n \n \t\t\tfor (SelectionKey key : selector.selectedKeys()) {\n \t\t\t\tSelectionContext context = (SelectionContext)key.attachment();\n \t\t\t\ttry {\n \t\t\t\t\tcontext.testKey(key);\n \t\t\t\t} catch (CancelledKeyException e) {\n \t\t\t\t\t// a selected key is cancelled\n\t\t\t\t\t// XXX remove\n//\t\t\t\t\tlogger.warning(\"Cancelled selector key (on selected key)\", e);\n \t\t\t\t\t// do something about it\n \t\t\t\t\tcontext.close();\n \t\t\t\t}\n \t\t\t}\n \n \t\t\tlong now = System.currentTimeMillis();\n \t\t\ttimeout = Long.MAX_VALUE;\n \t\t\tfor (SelectionKey key : selector.keys()) {\n \t\t\t\tSelectionContext context = (SelectionContext)key.attachment();\n \t\t\t\ttry {\n \t\t\t\t\ttimeout = Math.min(timeout, context.testTimeOut(key, now));\n \t\t\t\t} catch (CancelledKeyException e) {\n\t\t\t\t\t//XXX remove\n//\t\t\t\t\tlogger.warning(\"Cancelled selector key (when testing timeout of unselected key)\", e);\n \t\t\t\t\t// do something about it. should close?\n \t\t\t\t}\n \t\t\t}\n \t\t\tif (timeout == Long.MAX_VALUE) timeout = 0; // 0 means wait indefinitely\n \t\t}\n \t}", "private void handleChannelInit(ChannelInit init) throws AppiaEventException {\n \n \t\tMatcher listenMatcher = textPattern.matcher(init.getChannel().getChannelID());\n \t\tMatcher vsMatcher = drawPattern.matcher(init.getChannel().getChannelID());\n \n \t\tSystem.out.println(\"Registering at : \" + init.getChannel().getChannelID()\n \t\t\t\t+ \" port: \" + localport);\n \n \t\t//Create a socket for clients to connect to\n \t\tif(listenMatcher.matches()){\n \t\t\tlistenChannel = init.getChannel();\n \t\t\tnew RegisterSocketEvent(listenChannel,Direction.DOWN,this,localport).go();\n \t\t}\n \n \t\t//Create a socket for the group communication occur\n \t\telse if (vsMatcher.matches()){\n \t\t\tvsChannel = init.getChannel();\n \t\t\tnew RegisterSocketEvent(vsChannel,Direction.DOWN,this,localport + 1).go();\t\n \t\t}\n \n \t\t//Let the event go\n \t\tinit.go();\n \t}", "@Override\n protected void initChannel (SocketChannel ch) throws Exception {\n // can utilize channel to push message to different client since one channel correspond to one client\n System.out.println(\"client socket channel hashcode = \" + ch.hashCode());\n ch.pipeline().addLast(new NettyServerHandler());\n }", "private void handleAccept(SelectionKey sk) throws IOException {\n\t\t\tSocketChannel accepted_channel = server_socket_channel.accept();\n\t\t\tif (accepted_channel != null) {\n\t\t\t\taccepted_channel.configureBlocking(false);\n\t\t\t\t\n\t\t\t\t//Create an SSL engine for this connection\n\t\t\t\tssl_engine = ssl_context.createSSLEngine(\"localhost\", accepted_channel.socket().getPort());\n\t\t\t\tssl_engine.setUseClientMode(false);\n\t\t\t\t\n\t\t\t\t// Create a SSL Socket Channel for the channel & engine\n\t\t\t\tSSLSocketChannel ssl_socket_channel = new SSLSocketChannel(accepted_channel, ssl_engine);\n\t\t\t\t\n\t\t\t\t// Create a new session class for the user\n\t\t\t\tSSLClientSession session = new SSLClientSession(ssl_socket_channel);\n\t\t\t\t\n\t\t\t\t// Register for OP_READ with ssl_socket_channel as attachment\n\t\t\t\tSelectionKey key = accepted_channel.register(server_selector, SelectionKey.OP_READ, session);\n\t\t\t\t\n\t\t\t\tsession.setSelectionKey(key);\n\t\t\t\t\n\t\t\t\tnum_players_connected++;\n\n\t\t\t\t// Add client to open channels map\n\t\t\t\topen_client_channels.put(ssl_socket_channel, session);\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Thread with ID - \" + this.getName() + \" - accepted a connection.\");\n\t\t\t}\n\t\t}", "private void initSocketWithHandlers() {\n\t\tfor(String key: eventHandlerMap.keySet()) {\n\t\t\tmSocket.on(key, eventHandlerMap.get(key));\n\t\t}\n\t}", "public interface SocketControl {\n\n /**\n * 获取服务的IP和端口\n * @return 格式:ip:port,如127.0.0.1:8080\n */\n String getIpPort();\n\n /**\n * 获取服务的ServiceId\n * @return 服务的ServiceId\n */\n String getServiceId();\n\n /**\n * 获取服务的InstanceId\n * @return 服务的InstanceId\n */\n String getInstanceId();\n\n\n /**\n * 获取模块名称,也可以直接调用getIpPort()\n * @return 模块名称\n */\n String getModelName();\n\n\n /**\n * 模块下连接的标示\n * @param channel 管道对象\n * @return uk\n */\n String getUniqueKey(Channel channel);\n\n\n /**\n * 模块下连接的标示\n * @param ctx 管道对象\n * @return uk\n */\n String getUniqueKey(ChannelHandlerContext ctx);\n\n\n /**\n * 绑定key\n * @param ctx 当前连接对象\n * @param key key\n */\n void bindKey(ChannelHandlerContext ctx,String key);\n\n /**\n * 绑定key\n * @param ctx 当前连接对象\n * @param key key\n */\n void bindKey(Channel ctx,String key);\n\n /**\n * 获取key\n * @param ctx 当前链接对象\n * @return key\n */\n String getKey(Channel ctx);\n\n /**\n * 获取key\n * @param ctx 当前链接对象\n * @return key\n */\n String getKey(ChannelHandlerContext ctx);\n\n\n /**\n * 重置心跳时间\n * @param ctx 当前连接对象\n * @param heartTime 心跳时间(秒)\n */\n void resetHeartTime(Channel ctx,int heartTime);\n\n\n\n}", "public NioDatagramChannel(SelectorProvider provider, InternetProtocolFamily ipFamily) {\n/* 141 */ this(newSocket(provider, ipFamily));\n/* */ }", "private void setSockets()\n {\n String s = (String) JOptionPane.showInputDialog(null,\n \"Select Number of Sockets:\", \"Sockets\",\n JOptionPane.PLAIN_MESSAGE, null, socketSelect, \"1\");\n\n if ((s != null) && (s.length() > 0))\n {\n totalNumThreads = Integer.parseInt(s);\n }\n else\n {\n totalNumThreads = 1;\n }\n\n recoveryQueue.setMaxSize(totalNumThreads * 10);\n }", "@Override\r\n\tpublic void updateNiakworkHostAccept(NiakworkHostSocket nssocket) {\n\t\t\r\n\t}", "public void registerChannel(int eventType, SelectableChannel channel)\n\t\t\tthrows Exception {\n\t\tchannel.register(demultiplexer, eventType);\n\t}", "private void accept(final SelectionKey key) throws IOException {\n\t\tfinal ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key\n\t\t\t\t.channel();\n\n\t\t// Accept the connection and make it non-blocking\n\t\tfinal SocketChannel socketChannel = serverSocketChannel.accept();\n\n\t\tLOG.info(String.format(\"%s connected\", socketChannel.socket()\n\t\t\t\t.getRemoteSocketAddress()));\n\n\t\tthis.worker.addClient(new SocketConnectedClientImpl(socketChannel));\n\n\t\tsocketChannel.configureBlocking(false);\n\n\t\t// Register the new SocketChannel with our Selector, indicating\n\t\t// we'd like to be notified when there's data waiting to be read\n\t\tsocketChannel.register(this.selector, SelectionKey.OP_READ);\n\t}", "@Override\r\n\tprotected void initChannel(SocketChannel ch) throws Exception {\n\t\tch.pipeline().addLast(\"tcpDecoder\", new MessageDecoder());\r\n\t\tch.pipeline().addLast(\"tcpHandler\", new TcpServerHandler(ac)); \r\n\t\t\r\n\t}", "SocketChannel getChannel();", "public void acceptSocket(AsynchronousSocketChannel arg0) {\n\r\n\t\tnew TCPClient(arg0);\r\n\t}", "@Override\n protected void initChannel(SocketChannel ch) throws Exception {\n //4. Add ChannelHandler to intercept events and allow to react on them\n ch.pipeline().addLast(new ChannelHandlerAdapter() {\n @Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n //5. Write message to client and add ChannelFutureListener to close connection once message written\n ctx.write(buf.duplicate()).addListener(ChannelFutureListener.CLOSE);\n }\n });\n }", "private static void read(SelectionKey key) throws IOException {\r\n\t\t// socket def. has something to say (not 0). But may be -1\r\n\t\t\r\n\t\tSocketChannel sc = (SocketChannel) key.channel();\r\n\t\tByteBuffer buf = ByteBuffer.allocateDirect(1024);\r\n\t\t\r\n\t\t// READ data fom channel into buf\r\n\t\t// CHANNEL--read--> --write-->BUF\r\n\t\tint read = sc.read(buf);\r\n\t\tif(read == -1) {\r\n\t\t\tpendingData.remove(sc);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t// Note: We do not need to check for read == 0, since this would not have been called if\r\n\t\t// there was no data to read (or the socket had closed)\r\n\r\n\t\t// PREPARE FOR READING from BUF into CHANNEL\r\n\t\t\r\n\t\t// set BUF into WRITE mode\r\n\t\t// e.g.: sets the limit to 'max read position' and set position to 0\r\n\t\tbuf.flip();\r\n\t\t\r\n\t\t// BUF--read--> <PROCESS-DATA> --write-->BUF\r\n\t\tfor(int i = 0; i < buf.limit(); ++i)\r\n\t\t\tbuf.put(i, (byte) Util.switchCase(buf.get(i)));\r\n\t\t\r\n\t\t// note: We only want to write once socket is ready for writing\r\n\t\t// therefore instead make a queue of data to written onto\r\n\t\t// this socket\r\n\t\t//socket.write(buf);\r\n\t\t\t\t\r\n\t\t// save processed data until selector says channel is ready for WRITING\r\n\t\tpendingData.get(sc).add(buf);\r\n\t\t\r\n\t\t// Let selector know we want to know when socket is ready to \r\n\t\t// have pending data written\r\n\t\tsc.register(key.selector(), SelectionKey.OP_WRITE);\r\n\t\t\r\n\t\t// NOTE: For the SocketChannel sc, multiple calls to \r\n\t\t// IOServerTest6.read() may have been before it is ready to be\r\n\t\t// written to. Therefore, this is why we use an ordered Collection\r\n\t\t// (like a FIFO Queue or LinkedList) to store pending writes, so\r\n\t\t// that they are written back to SocketChannel in the correct order.\t\t\r\n\t}", "@Override\n\tprotected void initChannel(SocketChannel ch) throws Exception {\n\t\tch.pipeline().addLast(\"tcpDecoder\", new MessageDecoder());\n\t\tch.pipeline().addLast(\"tcpHandler\", new TcpServerHandler(ac)); \n\t\t\n\t}", "@Override\n protected void initChannel(SocketChannel ch) throws Exception {\n NettyCodecAdapter adapter = new NettyCodecAdapter();\n\n ch.pipeline()\n .addLast(\"logging\", new LoggingHandler(LogLevel.INFO))//for debug\n .addLast(\"decoder\", adapter.getDecoder())\n// .addLast(\"http-aggregator\", new HttpObjectAggregator(65536))\n .addLast(\"encoder\", adapter.getEncoder())\n// .addLast(\"http-chunked\", new ChunkedWriteHandler())\n// .addLast(\"server-idle-handler\", new IdleStateHandler(0, 0, 60 * 1000, MILLISECONDS))\n .addLast(\"handler\", nettyServerHandler);\n }", "public static void main(String[] args) throws Exception {\n\n ServerSocket socket = new ServerSocket(80);\n ServerSocketChannel channel = socket.getChannel();\n channel.configureBlocking(false);\n\n Selector selector = Selector.open();\n\n int interestSet = SelectionKey.OP_READ | SelectionKey.OP_WRITE;\n\n SelectionKey selectionKey = channel.register(selector, interestSet);\n\n String a = \"a\";\n\n selectionKey.attach(a);\n\n Object attachedObj = selectionKey.attachment();\n\n SelectionKey key = channel.register(selector, SelectionKey.OP_READ, a);\n\n selector.wakeup();\n\n }", "@Override\n protected void initChannel(NioSocketChannel nioSocketChannel) throws Exception {\n nioSocketChannel.pipeline().addLast(new FirstClientHandler());\n }", "public void initChannel() {\n //or channelFactory\n bootstrap().channel(NioServerSocketChannel.class);\n }", "@Override\n\t\t\t\t\tprotected void initChannel(SocketChannel ch)\n\t\t\t\t\t{\n\t\t\t\t\t\tch.pipeline().addLast(new LengthFieldPrepender(2));\n\t\t\t\t\t\tch.pipeline().addLast(new LengthFieldBasedFrameDecoder(0xFFFF, 0, 2));\n\t\t\t\t\t\tch.pipeline().addLast(new PacketCodec());\n\t\t\t\t\t\tch.pipeline().addLast(new ServerChannelHandler(instance));\n\t\t\t\t\t}", "private void processPendingRegistrations()\n throws ClosedChannelException {\n Iterator<SocketChannel> it = pendingRegistrations.iterator();\n while (it.hasNext() == true) {\n SocketChannel channel = it.next();\n it.remove();\n\n TransmissionTracker tracker = socketToTracker.get(channel);\n channel.register(selector, SelectionKey.OP_CONNECT, tracker);\n }\n }", "public void registerChannel(SelectableChannel channel, int operations, Object handler)\r\n throws IOException {\r\n assert this == Thread.currentThread() : \"Method not called from selector thread\";\r\n\r\n if (!channel.isOpen()) {\r\n throw new IOException(\"Channel is closed\");\r\n }\r\n\r\n if (channel.isRegistered()) {\r\n SelectionKey key = channel.keyFor(selector);\r\n assert key != null : \"The channel is not registered to selector?\";\r\n key.interestOps(operations);\r\n key.attach(handler);\r\n } else {\r\n channel.configureBlocking(false);\r\n channel.register(selector, operations, handler);\r\n }\r\n }", "private void treatAccept(SelectionKey key) throws IOException\n {\n ServerSocketChannel ssc = (ServerSocketChannel) key.channel();\n SocketChannel sc = ssc.accept();\n sc.configureBlocking(false);\n SelectionKey clientKey = sc.register(selector, SelectionKey.OP_READ,\n new RequestCommandHandler(root));\n\n System.out\n .println(\"New connection accepted for : \"\n + sc.socket().getRemoteSocketAddress() + \", key : \"\n + clientKey);\n }", "@Override\n\tprotected void initChannel(SocketChannel ch) throws Exception {\n\t\tch.pipeline().addLast(new DisardServerHandle());\n\t}", "@Override\n protected void startListener(){\n Socket socket = null;\n while (isRunning()){\n socket = acceptSocket();\n if (socket == null) {\n continue;\n }\n \n try {\n handleConnection(socket);\n } catch (Throwable ex) {\n getLogger().log(Level.FINE, \n \"selectorThread.handleConnectionException\",\n ex);\n try {\n socket.close(); \n } catch (IOException ioe){\n // Do nothing\n }\n continue;\n }\n } \n }", "public abstract void handle(Socket socket);", "@Override\n protected void initChannel(SocketChannel ch) throws Exception {\n ch.pipeline().addLast(new TimeServerHandler());\n }", "public void register() throws ClosedChannelException {\n\t\tint clientOps = 0;\n\t\tif (serverBuffer.isReadyToWrite()) {\n\t\t\tclientOps |= SelectionKey.OP_READ;\n\t\t}\n\t\tif (clientBuffer.isReadyToRead()) {\n\t\t\tclientOps |= SelectionKey.OP_WRITE;\n\t\t}\n\t\tclientChannel.register(selector, clientOps, this);\n\n\t\tint serverOps = 0;\n\t\tif (clientBuffer.isReadyToWrite()) {\n\t\t\tserverOps |= SelectionKey.OP_READ;\n\t\t}\n\t\tif (serverBuffer.isReadyToRead()) {\n\t\t\tserverOps |= SelectionKey.OP_WRITE;\n\t\t}\n\t\tserverChannel.register(selector, serverOps, this);\n\t}", "@Override\n protected void initChannel(SocketChannel ch){\n ch.pipeline().addLast(new IdleStateHandler(3,5,7, TimeUnit.SECONDS));\n ch.pipeline().addLast(new ServerHandler());\n }", "public UTIL_SET_CHANNELS() {\n }", "private void updateChannelSelection() {\n channelSelect.removeAllItems(); //reset JComboBox\n \n for (Channel c : channelList) {\n channelSelect.addItem(c.toString());\n }\n }", "@Override\n\tpublic void channelRegistered(ChannelHandlerContext ctx) throws Exception {\n\t\tLog.i(\"MySocketHandler\", \"channelRegistered\");\n\t\tsuper.channelRegistered(ctx);\n\t}", "public void setSocket(SocketWrapper socket);", "public void registerTargets(){\n synchronized(targets){\n while(targets.size()>0){\n Target target= (Target) targets.removeFirst();\n try {\n target.socketChannel.register(selector,SelectionKey.OP_CONNECT,target);\n } catch (ClosedChannelException e) {\n// e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\n try {\n target.socketChannel.close();\n } catch (IOException e1) {\n e1.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\n }\n target.failure=e;\n addFinishedTarget(target);\n }\n }\n }\n }", "public Server(int port, String pickrequest) {\n\t\tString[] request = new String[3];\n\t\tif(pickrequest.equals(fcfs){\n\t\t\t\n\t\t}\n\t\tchannel = new TCPChannel(port);\n\t\tchannel.setMessageListener(this);\n\t\t\n\t\t\n\t}", "@Override\n protected void initChannel(SocketChannel ch) throws Exception {\n ChannelPipeline pipeline = ch.pipeline();\n\n // add SOCKS decoder and encoder\n pipeline.addLast(new SocksInitRequestDecoder());\n pipeline.addLast(new SocksMessageEncoder());\n\n // add handlers\n pipeline.addLast(new SocksProxyHandler(port != null ? new InetSocketAddress(port) : null, false));\n }", "@Override\n public void onSubscribe(String channel, int subscribedChannels) {\n System.out.println(\"Client is Subscribed to channel : \"+ channel);\n }", "public NioDatagramChannel() {\n/* 116 */ this(newSocket(DEFAULT_SELECTOR_PROVIDER));\n/* */ }", "protected final void registerEvents() {\n LogUtils.i(TAG, \"Register socket event\");\n if (disposables == null || disposables.isDisposed())\n disposables = new CompositeDisposable();\n Disposable socketEvent = RxSocket.getSocketEvent()\n .subscribeOn(Schedulers.io())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribe(new Consumer<SocketEvent>() {\n @Override\n public void accept(SocketEvent socketEvent) throws Exception {\n\n if (socketEvent == null || socketEvent.getEventType() != SocketEvent.EVENT_RECEIVE) {\n LogUtils.w(TAG, \"socket Event -------> null!\");\n return;\n }\n\n UserPreferences userPreferences = UserPreferences.getInstance();\n if (userPreferences.getCurrentFriendChat().equals(socketEvent.getMessage().getSenderId())) {\n //Yourself online in chat room\n LogUtils.w(TAG, \"socket Event ------->Yourself online in chat room\");\n return;\n }\n\n //Send broad cast to show notification panel if has new message from all friend if need\n if (socketEvent.getMessage() != null && socketEvent.getMessage().getMessageType() != null) {\n LogUtils.i(TAG, \"socket Event ------->Show notification on the SnackBar: \" + socketEvent.getMessage().getMessageType().intern());\n onShowNotification(socketEvent.getMessage());\n }\n\n }\n }, new Consumer<Throwable>() {\n @Override\n public void accept(Throwable throwable) throws Exception {\n LogUtils.e(TAG, \"throwable socket \" + throwable.getMessage());\n throwable.printStackTrace();\n }\n });\n\n disposables.add(socketEvent);\n }", "@Override\n public void channelActive(ChannelHandlerContext ctx) throws Exception {\n RemoteSensor remoteSensor = RemoteSensorManager.getInstance().addSensorChannel(ctx);\n QueuerManager.getInstance().addClient(remoteSensor);\n// System.out.println(RemoteSensorManager.getInstance().getRemoteSensorsNamesList().size());\n }", "private void handleEvents(SelectionKey key) throws IOException {\n SocketChannel socketChannel = (SocketChannel) key.channel();\n\n // Download a file.\n if (fileChannels.containsKey(key)) {\n FileChannelHelper fileChannelHelper = fileChannels.get(key);\n\n OperationHandler.getFile(key, fileChannelHelper);\n\n if (!fileChannelHelper.getFileChannel().isOpen()) {\n fileChannels.remove(key);\n }\n }\n // Read data.\n else {\n String data = OperationHandler.readData(socketChannel);\n\n // Check if the data is user credentials.\n User user = checkForUserCredentials(data);\n if (user != null) {\n // Check if the user has account.\n if (isActiveAccount(user)) {\n connectedUsers.put(user, socketChannel);\n connectedChannels.put(socketChannel, user);\n }\n // If not, cancel the connection.\n else {\n OperationHandler.sendData(socketChannel, Constants.INVALID_USER);\n }\n }\n // Check if the user wants to logout.\n else if (data.contains(Constants.LOGOUT)) {\n OperationHandler.sendData(socketChannel, \"Server message: You have been logged out!\");\n\n User logout = connectedChannels.get(socketChannel);\n\n connectedChannels.remove(socketChannel);\n connectedUsers.remove(logout);\n }\n // Check if a file is being sent to the server.\n else if (data.contains(Constants.FILE_UPLOAD)) {\n String[] details = data.split(\"-\");\n\n File file = new File(Constants.FILE_DIR + details[1]);\n file.createNewFile();\n FileOutputStream fileOutputStream = new FileOutputStream(file);\n FileChannel fileChannel = fileOutputStream.getChannel();\n\n System.out.println(\"Receiving file\");\n fileChannels.put(key, new FileChannelHelper(Integer.parseInt(details[2]), fileChannel));\n }\n // Check if a user wants to download a file.\n else if (data.contains(Constants.FILE_DOWNLOAD)) {\n String[] details = data.split(\"-\");\n\n File file = new File(Constants.FILE_DIR + details[1]);\n\n if (file.exists()) {\n System.out.println(\"Server is sending file.\");\n OperationHandler.sendFile(file, socketChannel);\n }\n else {\n OperationHandler.sendData(socketChannel, Constants.FILE_NOT_FOUND);\n socketChannel.close();\n key.cancel();\n }\n }\n // Check if the user requests the list of files stored on the server.\n else if (data.equals(Constants.GET_FILE_LIST)) {\n File dir = new File(Constants.FILE_DIR);\n File[] fileList = dir.listFiles();\n\n for (File file : fileList) {\n OperationHandler.sendData(socketChannel, file.getName());\n }\n }\n // If none from above, broadcast the message.\n else {\n // Get the user who sent the message and exclude it.\n User currentUser = connectedChannels.get(socketChannel);\n\n broadcastData(data, currentUser);\n }\n }\n }", "public void run(){\n\t\tsetRunning(true);\n\n\t\twhile(isRunning()){\n\t\t\ttry{\n\t\t\t\tgetSelector().select();\n\t\t\t}catch(IOException ioex){\n\t\t\t\tLogger.getInstance().log(\"An exception occured during the exection of the multiplexer (select())\", Logger.ERROR, ioex);\n\t\t\t}\n\n\t\t\tSet readyKeys = getSelector().selectedKeys();\n\t\t\tIterator iterator = readyKeys.iterator();\n\t\t\twhile(iterator.hasNext()){\n\t\t\t\tfinal SelectionKey key = (SelectionKey) iterator.next();\n\t\t\t\titerator.remove();\n\n\t\t\t\t// Acception a connection is a relatively fast operation, so there is no need to do this concurrently.\n\t\t\t\tif(getMode() == SERVERMODE && key.isAcceptable()){\n\t\t\t\t\ttry{\n\t\t\t\t\t\taccept(key);\n\t\t\t\t\t}catch(IOException ioex){\n\t\t\t\t\t\tLogger.getInstance().log(\"An exception occured during the exection of the multiplexer (read()). The connection on which the exception occurred will be closed.\", Logger.ERROR, ioex);\n\n\t\t\t\t\t\tcloseDueToDisconnect(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(key.isReadable()){\n\t\t\t\t\tregister(key.channel(), 0, key.attachment());\n\t\t\t\t\t\n\t\t\t\t\tthreadPool.addJob(new Runnable(){\n\t\t\t\t\t\tpublic void run(){\n\t\t\t\t\t\t\tread(key);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Only re-register when the key is still valid (not cancelled).\n\t\t\t\t\t\t\tif(key.isValid()) register(key.channel(), SelectionKey.OP_READ, key.attachment());\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsynchronized(selectorCreator.getSelectionPreventionLock()){\n\t\t\t\t// This is just a barrier, hopefully the compiler doesn't remove\n\t\t\t\t// this empty block.\n\t\t\t\t// If it does we have a problem, since we have no way of\n\t\t\t\t// preventing the select() call from obtaining the lock we need\n\t\t\t\t// for registering a channel.\n\t\t\t\t// If the design for the selector wasn't so severly broken we\n\t\t\t\t// wouldn't need this crap.\n\t\t\t}\n\t\t}\n\t}", "void addChannel(IChannel channel);", "@Override\n public void initChannel(SocketChannel ch) throws Exception {\n ch.pipeline().addLast(new OutMessageHandler());\n\n }", "private SSLSocketChannel registerSocketChannelForJavaServer(SocketChannel java_server_socket_channel, String username) {\n\t\t\ttry {\n\t\t\t\tssl_engine = ssl_context.createSSLEngine(\"10.20.221.152\", java_server_socket_channel.socket().getPort());\n\t\t\t\tssl_engine.setUseClientMode(true);\n\t\t\t\tSSLSocketChannel ssl_socket_channel = new SSLSocketChannel(java_server_socket_channel, ssl_engine);\n\t\t\t\tSSLClientSession session = new SSLClientSession(ssl_socket_channel);\n\t\t\t\tSelectionKey key = java_server_socket_channel.register(server_selector, SelectionKey.OP_READ, session);\n\t\t\t\t\n\t\t\t\topen_java_server_channels.put(ssl_socket_channel, session);\n\t\t\t\t\n\t\t\t\tssl_socket_channel.startHandshake(); // begin the handshake with server\n\t\t\t\t\n\t\t\t\tsession.setUsername(username);\n\t\t\t\t\n\t\t\t\treturn ssl_socket_channel;\n\n\t\t\t} catch (ClosedChannelException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}", "@Override\n protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception { // (4)\n Channel incoming = ctx.channel();\n\n String remoteAddress = incoming.remoteAddress().toString();\n logger.info(\"[BudsRpc ][Registry-server] receive data=[{}] from {}\", msg, remoteAddress);\n\n String[] cmd = msg.split(\"\\r\\n\");\n ActionEnum action = ActionEnum.getAction(cmd[0]);\n String service = cmd[1];\n String address = cmd[2];\n String port = cmd[3];\n\n switch (action) {\n case ACTION_REGISTRY:\n Set<Channel> channelSet = registryMap.get(service);\n if (channelSet == null) {\n channelSet = new HashSet<>();\n registryMap.put(service, channelSet);\n }\n channelSet.add(incoming);\n\n Set<String> serviceSet = providerMap.get(remoteAddress);\n if (serviceSet == null) {\n serviceSet = new HashSet<>();\n providerMap.put(remoteAddress, serviceSet);\n }\n serviceSet.add(service);\n\n // 通知订阅者\n notify(service);\n\n case ACTION_SUBSCRIBE:\n ChannelGroup channelGroup = subscribMap.get(service);\n if (channelGroup == null) {\n channelGroup = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);\n subscribMap.put(service, channelGroup);\n }\n channelGroup.add(incoming);\n break;\n\n }\n\n for (Channel channel : channels) {\n if (channel != incoming) {\n channel.writeAndFlush(\"[\" + incoming.remoteAddress() + \"]\" + msg + \"\\n\");\n } else {\n channel.writeAndFlush(\"[you]\" + msg + \"\\n\");\n }\n }\n }", "@Override\n public void add(Selectable selectable) throws IOException {\n if (selectable.getChannel() != null) {\n selectable.getChannel().configureBlocking(false);\n SelectionKey key = selectable.getChannel().register(selector, 0);\n key.attach(selectable);\n }\n selectables.add(selectable);\n update(selectable);\n }", "@Override\n public void completed(AsynchronousSocketChannel sockChannel, AsynchronousServerSocketChannel serverSock ) {\n serverSock.accept( serverSock, this );\n\n try{\n //Print IP Address\n System.out.println( sockChannel.getLocalAddress().toString());\n\n //Add To Client List\n list.add(list.size(), sockChannel);\n\n }catch(IOException e) {\n e.printStackTrace();\n }\n\n //start to read message from the client\n startRead( sockChannel );\n \n }", "public void packetReceiver(Socket socket);", "private void acceptClient(ServerSocketChannel serverSocketChannel) throws ClosedChannelException, IOException {\n SocketChannel socketChannel = serverSocketChannel.accept();\n if (socketChannel != null) {\n\n Socket socket = socketChannel.socket();\n\n socket.setReceiveBufferSize(this._clientReceiveBufferSize);\n socket.setSendBufferSize(this._clientSendBufferSize);\n socket.setTcpNoDelay(true);\n socketChannel.configureBlocking(false);\n ClientManager client = new ClientManager(socketChannel, totSizeHolderBytesCount, pinnedBufferSize);\n\n client.addClientDisposedListner(new NEventStart() {\n @Override\n public Object hanleEvent(Object... obj) throws SocketException, Exception {\n OnClientDisposed((String) obj[1]);\n return null;\n }\n }, null);\n\n if (SocketServer.getLogger().getIsDetailedLogsEnabled()) {\n SocketServer.getLogger().getCacheLog().Info(\"ConnectionManager.AcceptCallback\", \"accepted client : \" + socket.getInetAddress().toString());\n }\n\n socketChannel.register(socketSelector, SelectionKey.OP_READ, client);\n\n }\n\n }", "@Override\n public void completed(AsynchronousSocketChannel sockChannel, AsynchronousServerSocketChannel serverSockMain ) {\n serverSockMain.accept( serverSockMain, this );\n\n //Print IP Address\n try{\n System.out.println( sockChannel.getLocalAddress());\n clientChannel = sockChannel;\n }catch(IOException e) {\n\n e.printStackTrace();\n }\n\n //Add To Client List\n //list.add(list.size(), sockChannel);\n\n //start to read message from the client\n startRead( sockChannel );\n \n }", "@Override\n protected void initChannel(SocketChannel ch) throws Exception {\n ChannelPipeline pipeline = ch.pipeline();\n\n // add HTTP decoder and encoder\n pipeline.addLast(\"logger\", new LoggingHandler());\n pipeline.addLast(new HttpServerCodec());\n pipeline.addLast(new HttpObjectAggregator(Integer.MAX_VALUE));\n pipeline.addLast(new MockServerServerCodec(false));\n\n // add handlers\n pipeline.addLast(new HttpProxyHandler(logFilter, HttpProxy.this, securePort != null ? new InetSocketAddress(securePort) : null));\n }", "ProtocolSelector getProtocolSelector();", "@Override\n\tpublic void onSocketAdded(ISocketInstance childSocket) {\n\t\t\n\t}", "private void handleConnection(Socket socket) throws IOException{\n \n if (isMonitoringEnabled()) {\n getGlobalRequestProcessor().increaseCountOpenConnections();\n getPipelineStat().incrementTotalAcceptCount();\n }\n\n getReadBlockingTask(socket).execute();\n }", "protected SocketChannel getSocket() {\n\t\treturn channel;\n\t}", "public NioDatagramChannel(DatagramChannel socket) {\n/* 148 */ super(null, socket, 1);\n/* 149 */ this.config = (DatagramChannelConfig)new NioDatagramChannelConfig(this, socket);\n/* */ }", "private SocketChannel getChannel(){\n if ( key == null ) {\n return getSocket().getChannel();\n } else {\n return (SocketChannel)key.channel();\n }\n }", "@Override\n public void run() {\n ServerChannel channel;\n if (socketFactory == null) {\n socketFactory = this;\n }\n serverLoop : while (!shutdown) {\n try {\n serverSocket = socketFactory.createServerSocket(port);\n\n Logger.log (new LogEvent (this, \"iso-server\",\n \"listening on \" + (bindAddr != null ? bindAddr + \":\" : \"port \") + port\n + (backlog > 0 ? \" backlog=\"+backlog : \"\")\n ));\n while (!shutdown) {\n try {\n if (pool.getAvailableCount() <= 0) {\n try {\n serverSocket.close();\n fireEvent(new ISOServerShutdownEvent(this));\n } catch (IOException e){\n Logger.log (new LogEvent (this, \"iso-server\", e));\n relax();\n }\n\n for (int i=0; pool.getIdleCount() == 0; i++) {\n if (shutdown) {\n break serverLoop;\n }\n if (i % 240 == 0 && cfg.getBoolean(\"pool-exhaustion-warning\", true)) {\n LogEvent evt = new LogEvent (this, \"warn\");\n evt.addMessage (\n \"pool exhausted \" + serverSocket.toString()\n );\n evt.addMessage (pool);\n Logger.log (evt);\n }\n ISOUtil.sleep (250);\n }\n serverSocket = socketFactory.createServerSocket(port);\n }\n channel = (ServerChannel) clientSideChannel.clone();\n channel.accept (serverSocket);\n\n if (cnt[CONNECT]++ % 100 == 0) {\n purgeChannels ();\n }\n WeakReference wr = new WeakReference (channel);\n channels.put (channel.getName(), wr);\n channels.put (LAST, wr);\n pool.execute (createSession(channel));\n setChanged ();\n notifyObservers (this);\n fireEvent(new ISOServerAcceptEvent(this));\n if (channel instanceof Observable) {\n ((Observable)channel).addObserver (this);\n }\n } catch (SocketException e) {\n if (!shutdown) {\n Logger.log (new LogEvent (this, \"iso-server\", e));\n relax();\n continue serverLoop;\n }\n } catch (IOException e) {\n Logger.log (new LogEvent (this, \"iso-server\", e));\n relax();\n }\n } // while !shutdown\n } catch (Throwable e) {\n Logger.log (new LogEvent (this, \"iso-server\", e));\n relax();\n }\n }\n }", "@Override\r\n\t\t\t\t\tpublic void initChannel(SocketChannel ch)throws Exception {\n\t\t\t\t ChannelPipeline pipeline = ch.pipeline();\r\n\t\t\t\t \r\n\t\t\t\t /**\r\n\t\t\t\t * http-request解码器\r\n\t\t\t\t * http服务器端对request解码\r\n\t\t\t\t */\r\n\t\t\t\t pipeline.addLast(\"decoder\", new HttpRequestDecoder());\r\n\t\t\t\t /**\r\n\t\t\t\t * http-response解码器\r\n\t\t\t\t * http服务器端对response编码\r\n\t\t\t\t */\r\n\t\t\t\t pipeline.addLast(\"encoder\", new HttpResponseEncoder());\r\n\t\t\t\t \r\n\t\t\t\t /**\r\n\t\t\t\t * 压缩\r\n\t\t\t\t * Compresses an HttpMessage and an HttpContent in gzip or deflate encoding\r\n\t\t\t\t * while respecting the \"Accept-Encoding\" header.\r\n\t\t\t\t * If there is no matching encoding, no compression is done.\r\n\t\t\t\t */\r\n\t\t\t\t //pipeline.addLast(\"deflater\", new HttpContentCompressor());\r\n\t\t\t\t /* pipeline.addLast(new LoggingDiyHandler(InternalLogLevel.INFO));\r\n\t\t\t\t \r\n\t\t\t\t pipeline.addLast(\"handler\", new HttpServerHandler());*/\r\n\t\t\t\t\t}", "public interface PacketChannelListener\r\n{\r\n\r\n /**\r\n * Called when a packet is fully reassembled.\r\n *\r\n * @param pc The source of the event.\r\n * @param pckt The reassembled packet\r\n */\r\n public void packetArrived(PacketChannel pc, ByteBuffer pckt) throws InterruptedException;\r\n\r\n /**\r\n * Called when some error occurs while reading or writing to the socket.\r\n *\r\n * @param pc The source of the event.\r\n * @param ex The exception representing the error.\r\n */\r\n public void socketException(PacketChannel pc, Exception ex);\r\n\r\n /**\r\n * Called when the read operation reaches the end of stream. This means that\r\n * the socket was closed.\r\n *\r\n * @param pc The source of the event.\r\n */\r\n public void socketDisconnected(PacketChannel pc, boolean failed);\r\n}", "private void doSelect() throws IOException\n {\n selector.select();\n\n // Iterate over the set of keys for which events are available\n Set<SelectionKey> keySet = selector.selectedKeys();\n Iterator<SelectionKey> selectedKeys = keySet.iterator();\n \n while (selectedKeys.hasNext()) {\n SelectionKey key = selectedKeys.next();\n \n if (!key.isValid()) {\n selectedKeys.remove();\n disconnect(key);\n continue;\n }\n \n // Check what event is available and deal with it\n try {\n \n if (key.isValid() && key.isReadable()) {\n selectedKeys.remove();\n read(key);\n }\n else if (key.isValid() && key.isWritable()) {\n selectedKeys.remove();\n write(key);\n }\n } catch (IOException e) {\n log.log(Level.WARNING, \"[\"+Thread.currentThread().getName()+\"] Ignoring exception and removing connection\", e);\n disconnect(key);\n }\n }\n \n }", "@Override\r\n\tprotected void initChannel(SocketChannel ch) throws Exception {\n ChannelPipeline pipeline = ch.pipeline();\r\n\r\n if (isSSL) {\r\n SSLEngine engine = SecureSSLContextFactory.getServerContext().createSSLEngine();\r\n engine.setUseClientMode(false);\r\n pipeline.addLast(\"ssl\", new SslHandler(engine));\r\n }\r\n\r\n pipeline.addLast(\"decoder\", new HttpRequestDecoder());\r\n pipeline.addLast(\"encoder\", new HttpResponseEncoder());\r\n\r\n // Remove the following line if you don't want automatic content\r\n // compression.\r\n pipeline.addLast(\"deflater\", new HttpContentCompressor());\r\n \r\n pipeline.addLast( \"http-aggregator\", new HttpObjectAggregator( Integer.MAX_VALUE ) );\r\n\t\t\r\n pipeline.addLast(\"chunkedWriter\",new ChunkedWriteHandler());\r\n\r\n pipeline.addLast(\"handler\", receiveHandler);\r\n\t\t\r\n\t}", "@Override\n protected void initChannel(NioSocketChannel nioSocketChannel) throws Exception {\n\n nioSocketChannel.pipeline().addLast(new LoginServerHandler());\n }", "public void send(SocketChannel socket, byte[] data) {\n\t\tsynchronized (this.changeKeyQueue) {\n\t\t\t// since we now have something to write we change\n\t\t\t// key for this channel to WRITE state\n\t\t\tthis.changeKeyQueue\n\t\t\t\t\t.add(new ChangeKey(socket, SelectionKey.OP_WRITE));\n\n\t\t\tsynchronized (this.queueToMemaslap) {\n\t\t\t\tList<ByteBuffer> queue = (List<ByteBuffer>) this.queueToMemaslap\n\t\t\t\t\t\t.get(socket);\n\t\t\t\tif (queue == null) {\n\t\t\t\t\tqueue = new ArrayList<ByteBuffer>();\n\t\t\t\t\tthis.queueToMemaslap.put(socket, queue);\n\t\t\t\t}\n\t\t\t\tqueue.add(ByteBuffer.wrap(data));\n\t\t\t}\n\t\t}\n\t\t// wakes up selector's blocking .select() method\n\t\tthis.selector.wakeup();\n\t}", "private ISocket acceptISocket() throws IOException {\n // Manage client depending the connection\n if (serverSocket instanceof AdHocServerSocketBluetooth) {\n return new AdHocSocketBluetooth((BluetoothSocket) serverSocket.accept());\n } else {\n return new AdHocSocketWifi((Socket) serverSocket.accept());\n }\n }", "public void run() {\n\n // Start threadPool\n for (int i = 0; i < nbThreads; i++) {\n ThreadClient threadClient = new ThreadClient(listSocketDevice, String.valueOf(i), handler);\n arrayThreadClients.add(threadClient);\n threadClient.start();\n }\n\n while (true) {\n try {\n if (v) Log.d(TAG, \"Server is waiting on accept...\");\n ISocket isocket = acceptISocket();\n\n if (v) Log.d(TAG, isocket.getRemoteSocketAddress() + \" accepted\");\n listSocketDevice.addSocketClient(isocket);\n\n // Notify handler\n handler.obtainMessage(Service.CONNECTION_PERFORMED,\n isocket.getRemoteSocketAddress()).sendToTarget();\n\n } catch (SocketException e) {\n handler.obtainMessage(Service.LOG_EXCEPTION, e).sendToTarget();\n break;\n } catch (IOException e) {\n handler.obtainMessage(Service.LOG_EXCEPTION, e).sendToTarget();\n break;\n }\n }\n }", "public static void main(String[] args) throws IOException, UnknownHostException, RemoteException, MalformedURLException, NotBoundException {\n System.out.println(\"Enter Group Server IP :\");\n BufferedReader r;\n r = new BufferedReader(new InputStreamReader(System.in));\n String group_server_ip = r.readLine();\n int group_server_registry_port = 5555;\n String group_server_name = \"AmarRaj\";\n new ClientUDPListenThread();\n Registry registry = LocateRegistry.getRegistry(group_server_ip, group_server_registry_port);\n Communicate communicate = (Communicate) registry.lookup(group_server_name);\n String myip = Utility.getIP();\n // Menu for CLIENT\n while(true) {\n System.out.println(\"\\n\\nJoin Group Server - 1\\nSubscribe - 2 \\nUnsubscribe - 3\\nPing - 4\\nPublish - 5\\nLeave - 6\\nEnter Your Choice : \");\n Scanner reader = new Scanner(System.in);\n switch (reader.nextInt()){ \n case 1:\n System.out.println(\"Joining Group..\");\n try {\n boolean succ = communicate.Join(myip, Utility.client_listen_port);\n if(succ == true) {\n System.out.println(\"Successfully Joined Group Server\");\n } else {\n System.out.println(\"Sorry, Client Limit already reached..\");\n }\n } catch (Exception e) {\n System.out.println(\"Join Error !!\");\n }\n break;\n case 2:\n try {\n System.out.println(\"Enter Article : \");\n BufferedReader in=new BufferedReader(new InputStreamReader(System.in));\n String ar = in.readLine();\n boolean b = communicate.Subscribe(myip, Utility.client_listen_port, ar);\n if (b == true) {\n System.out.println(\"Successfully Subscribed\");\n } else {\n System.out.println(\"Unsuccessfull .. \");\n }\n } catch (Exception e) {\n System.out.println(\"Subscribe Error !!\");\n }\n break;\n case 3:\n try {\n System.out.println(\"Enter Article to unsubscribe : \");\n BufferedReader in=new BufferedReader(new InputStreamReader(System.in));\n String ar = in.readLine();\n boolean b = communicate.Unsubscribe(myip, Utility.client_listen_port, ar);\n if (b == true) {\n System.out.println(\"Successfully Unsubscribed\");\n } else {\n System.out.println(\"Unsuccessfull.. \");\n }\n } catch (Exception e) {\n System.out.println(\"Unsubscribe Error !!\");\n }\n break;\n case 4:\n try {\n boolean b = communicate.Ping();\n if (b == true) {\n System.out.println(\"Group Server Alive !!\");\n } else {\n System.out.println(\"Group Server not responding..\");\n }\n } catch (Exception e) {\n System.out.println(\"Ping not responded by group server !!\");\n }\n break;\n case 5:\n try {\n System.out.println(\"Enter Article to Publish : \");\n BufferedReader in=new BufferedReader(new InputStreamReader(System.in));\n String ar = in.readLine();\n boolean b = communicate.Publish(ar, myip, Utility.client_listen_port);\n if (b == true) {\n System.out.println(\"Successfully Published\");\n } else {\n System.out.println(\"Unsuccessfull..\");\n }\n } catch (Exception e) {\n }\n break;\n case 6:\n System.out.println(\"Leaving Group..\");\n try {\n boolean succ = communicate.Leave(myip, Utility.client_listen_port);\n if(succ == true) {\n System.out.println(\"Successfully Left Group Server\");\n } else {\n System.out.println(\"Unsuccessfull\");\n }\n } catch (Exception e) {\n System.out.println(\"Leave Error !!\");\n }\n break;\n case 7:\n boolean b = communicate.Check();\n break;\n }\n } \n}", "public Collection<String> getChannels();", "@Override\n public void onConnectionRequest(Socket socket) {\n ConnectionHandler connectionHandler = makeConnection(socket);\n if(connectionHandler != null){\n readOnlyConnections.add(connectionHandler);\n onConnectionEstablished(connectionHandler);\n }\n }", "@Override\n public void socket() {\n }", "public ClientHandle(Socket cs) {\r\n \t\r\n this.threadSocket = cs;\r\n\r\n }", "public void registerReceiver(Channel.Receiver receiver);", "@Override\r\n\t\tpublic void run() {\n\t\t\ttry {\r\n\t\t\t\twhile (mClient.mSelector.select() > 0) {\r\n\t\t\t\t\tif (DEBUG) Log.e(TAG, \" In while 135\");\r\n\t\t\t\t\tfor (SelectionKey next : mClient.mSelector.selectedKeys()) {\r\n\t\t\t\t\t\tif (next.isReadable()) {\r\n\t\t\t\t\t\t\tSocketChannel socketChannel = (SocketChannel) next.channel();\r\n\t\t\t\t\t\t\tByteBuffer buffer = ByteBuffer.allocate(500);\r\n\t\t\t\t\t\t\tbuffer.clear();\r\n\t\t\t\t\t\t\tint length = socketChannel.read(buffer);\r\n//\t\t\t\t\t\t\tif (DEBUG) Log.e(TAG, Arrays.toString(buffer.array()));\r\n\t\t\t\t\t\t\tif (length == -1) continue;\r\n\t\t\t\t\t\t\tbuffer.flip();\r\n\t\t\t\t\t\t\tif (buffer.get(0) == MessageBean.MESSAGE_TYPE_TEXT) {\r\n\t\t\t\t\t\t\t\tMessageBean messageBean = MessageBean.createMessage(buffer.array());\r\n\t\t\t\t\t\t\t\t// send message to activity\r\n\t\t\t\t\t\t\t\tIntent intent = new Intent(ReceiveReceiver.ACTION);\r\n\t\t\t\t\t\t\t\tintent.putExtra(\"data\", messageBean.getByteArray());\r\n\t\t\t\t\t\t\t\tsendBroadcast(intent);\r\n\t\t\t\t\t\t\t\tnext.interestOps(SelectionKey.OP_READ);\r\n\t\t\t\t\t\t\t\tif (DEBUG) \r\n\t\t\t\t\t\t\t\t\tLog.e(TAG, \"message : \" + messageBean.getSendId() + \" \" + \r\n\t\t\t\t\t\t\t\t\t\t\tmessageBean.getReceiveId() + \" \" + messageBean.getSendMessageLength() + \" \" +\r\n\t\t\t\t\t\t\t\t\t\t\tmessageBean.getMessageText());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tmClient.mSelector.selectedKeys().remove(next);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\ttry {\r\n\t\t\t\t\tusers.add(socket);\r\n\t\t\t\t\t\r\n\t\t\t\t\tBufferedReader mBuf = new BufferedReader(new InputStreamReader(socket.getInputStream()));\r\n\t\t\t\t\twhile (socket.isConnected()) {\r\n\t\t\t\t\t\tString msg = mBuf.readLine();\r\n\t\t\t\t\t\tcastChatMsg(msg);\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\te.getStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}", "public void SetChannel(int channel);", "@Override\n\t\t\tprotected void initChannel(SocketChannel ch) throws Exception {\n\t\t\t\tch.pipeline().addLast(new ProtobufVarint32FrameDecoder());\n\t\t\t\tch.pipeline().addLast(new ProtobufDecoder(PersonMsg.Person.getDefaultInstance()));\n\t\t\t ch.pipeline().addLast(new ProtobufVarint32LengthFieldPrepender());\n\t\t\t ch.pipeline().addLast(new ProtobufEncoder());\n\t\t\t}", "public abstract void handleCurrentConnection(Socket socket) throws IOException;", "public void onChannelSelect(TVChannel ch) {\n\t\t\tif (mSelListeners != null && mSelListeners.size() > 0) {\n\t\t\t\tendShiftChannelTime = System.currentTimeMillis();\n\t\t\t\tMtkLog.v(TAG, \"*************start time \"\n\t\t\t\t\t\t+ startShiftChannelTime);\n\t\t\t\tMtkLog.v(TAG, \"*************end time \" + endShiftChannelTime);\n\t\t\t\tMtkLog.v(TAG, \"*************Shift channel cost \"\n\t\t\t\t\t\t+ (endShiftChannelTime - startShiftChannelTime)\n\t\t\t\t\t\t+ \"millsecond****************************************\");\n\t\t\t\tfor (IChannelSelectorListener mSelListener : mSelListeners) {\n\t\t\t\t\tmSelListener.updateChannel(ch);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "private void initBinding() throws IOException {\n serverSocketChannel.bind(new InetSocketAddress(0));\n serverSocketChannel.configureBlocking(false);\n serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n\n sc.configureBlocking(false);\n var key = sc.register(selector, SelectionKey.OP_CONNECT);\n uniqueContext = new ClientContext(key, this);\n key.attach(uniqueContext);\n sc.connect(serverAddress);\n }" ]
[ "0.65097684", "0.6421057", "0.602015", "0.58573467", "0.58445746", "0.5798804", "0.5788903", "0.57695997", "0.5761578", "0.56976", "0.56933486", "0.565152", "0.56159586", "0.5582227", "0.5567714", "0.5560144", "0.55555815", "0.5554785", "0.55370665", "0.55241156", "0.55010474", "0.5477333", "0.5435003", "0.539842", "0.5353601", "0.5350455", "0.53384125", "0.53353703", "0.5315784", "0.53131515", "0.53093874", "0.5304384", "0.5275431", "0.52733535", "0.52361983", "0.521727", "0.52017057", "0.51825327", "0.51816887", "0.51743156", "0.5164887", "0.5162701", "0.5154857", "0.5154279", "0.5139085", "0.51365477", "0.5124284", "0.5107944", "0.5105303", "0.5102354", "0.5091763", "0.5087892", "0.5055593", "0.50459886", "0.5030451", "0.50280255", "0.5018207", "0.50096506", "0.4998937", "0.49864125", "0.49845293", "0.49429974", "0.49385136", "0.49342", "0.4925612", "0.49059013", "0.48891115", "0.4885296", "0.48839977", "0.48771918", "0.48771173", "0.4877068", "0.4874212", "0.48617035", "0.48499122", "0.4846731", "0.4845429", "0.48448312", "0.4829132", "0.48259255", "0.48201603", "0.48063192", "0.4805131", "0.48008618", "0.4799655", "0.47994244", "0.47940156", "0.4793623", "0.47913805", "0.47903806", "0.4773353", "0.4770681", "0.4769145", "0.47643286", "0.4757004", "0.47546858", "0.4747116", "0.4743424", "0.47402605", "0.4733864" ]
0.5731044
9
Conectar ao banco de dados
public void connectToDb() { try { con = DriverManager.getConnection(url, user, password); } catch (SQLException ex) { JOptionPane.showMessageDialog(null, "Erro: " + ex.getMessage(), "Mensagem de Erro", JOptionPane.ERROR_MESSAGE); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void conectar_bd() throws SQLException, ClassNotFoundException {\n\t\t\n\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\tconn = DriverManager.getConnection(url, user,pass);\n\n\t}", "public ConectarBD(String pNombreServidor, String pNumeroPuerto, String pNombreBD, String pUsuario, String pPassword) {\n try {\n Class.forName(\"org.postgresql.Driver\").newInstance();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n try {\n String cone = \"jdbc:postgresql://\" + pNombreServidor + \":\" + pNumeroPuerto + \"/\" + pNombreBD;\n dbConecta = DriverManager.getConnection(cone, pUsuario, pPassword);\n } catch (SQLException sqlEx) {\n sqlEx.printStackTrace();\n }\n }", "public void conectarABD() throws SQLException, Exception\r\n\t{\r\n\t\tString driver = config.getProperty( \"admin.db.driver\" );\r\n\t\tClass.forName( driver ).newInstance();\r\n\r\n\t\tString url = config.getProperty( \"admin.db.url\" );\r\n\t\tconexion = DriverManager.getConnection( url );\r\n\t\tverificarInvariante();\r\n\r\n\t}", "private Conexao() {\r\n\t\ttry {\r\n\t\t\tconnection = DriverManager.getConnection(\"jdbc:hsqldb:mem:.\", \"sa\", \"\");\r\n\t\t\tnew LoadTables().creatScherma(connection);\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"Erro ao conectar com o banco: \"+e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public void conectar() throws Exception\r\n {\n Class.forName(\"com.mysql.jdbc.Driver\");\r\n //obtenemos la conexión\r\n connection = DriverManager.getConnection(url,usuario,contraseña);\r\n \r\n if (connection==null){\r\n throw new Exception(\"Problemas con la conexión\");\r\n }\r\n }", "public Connection conectarBD() {\n\t\tConnection con = null;\t\t\n\t\t\n\t\ttry {\n\t\t\tProperties p = new Properties();\n\t\t\tp.load(new FileInputStream(\"config/parametros.txt\"));\n\t\t\tdriver = p.getProperty(\"driver\");\n\t\t\tClass.forName(driver);\n\t\t\t//System.out.println(\"driver: \" + driver);\n\t\t\t\n\t\t\tusername = p.getProperty(\"usuario\");\n\t\t\tpass = p.getProperty(\"password\");\n\t\t\turl = p.getProperty(\"url\");\n\t\t\tbase = p.getProperty(\"bdatos\");\n\t\t\t\n\t\t\tcon = DriverManager.getConnection(url + base, username, pass);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t\treturn con;\n\t}", "@Override\r\n\tpublic void Conectar() {\n\r\n\t\tSystem.out.println(\"Estoy conectado a un servidor MySql...\");\r\n\t}", "public ConnexionBD() throws ClassNotFoundException, SQLException {\n\t\tClass.forName(\"com.mysql.jdbc.Driver\") ;\n\t\tconnexion = DriverManager.getConnection(dbURL,user,password) ;\n\t}", "Bd(String baseDatos) {\n\t\tthis.servidor = \"jdbc:mysql://\" + this.maquina + \":\" + this.puerto\n\t\t\t\t+ \"/\" + baseDatos;\n\n\t\t// Registrar el driver\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.err.println(\"ERROR AL REGISTRAR EL DRIVER\");\n\t\t\tSystem.exit(0); // parar la ejecución\n\t\t}\n\n\t\t// Establecer la conexión con el servidor\n\t\ttry {\n\t\t\tconexion = DriverManager.getConnection(this.servidor, this.usuario,\n\t\t\t\t\tthis.clave);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(\"ERROR AL CONECTAR CON EL SERVIDOR\");\n\t\t\tSystem.exit(0); // parar la ejecución\n\t\t}\n\t\tSystem.out.println(\"Conectado a \" + baseDatos);\n\t}", "public ConnexioBD() {\n try {\n Class.forName(driver);\n connection = DriverManager.getConnection(url, user, password);\n\n\n } catch (ClassNotFoundException | SQLException e) {\n System.out.println(\"Error al connectar amb la base de dades:\" + e);\n }\n }", "public void conectar() {\r\n try {\r\n Class.forName(driver); //se carga el driver en memoria\r\n conexionDB = DriverManager.getConnection(connectString, user, password);//conexion a la base de datos\r\n System.out.println(\"SE CONECTA\");\r\n sentenciaSQL = conexionDB.createStatement();//variable que permite ejecutar las sentencias SQL \r\n System.out.println(\"SE CREA STATEMENT\");\r\n } catch (ClassNotFoundException | SQLException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n }", "public Connection conectar(){//Con com.mysql.dbc\r\n try { \r\n Class.forName(\"com.mysql.jdbc.Driver\"); //Seleccionamos los packetes de la libreria que se cargo\r\n conect= DriverManager.getConnection(\"jdbc:mysql://localhost/viaje\",\"root\",\"\"); //Si en la vida real va la ip de servidor\r\n //JOptionPane.showMessageDialog(null, \"Se conectó correctamente\");\r\n } catch (Exception ex) {// Recoge todas las exepcipnes\r\n JOptionPane.showMessageDialog(null, \"Sin conexión\");\r\n }\r\n return conect;\r\n }", "public Conexion() throws ClassNotFoundException, SQLException {\n Class.forName(DRIVER);//Cargamos las clases\n conn = DriverManager.getConnection(URL, \"root\", \"\");//Obtenemos la conexion\n System.out.println(\"Conectado a la base de datos\");//Confirmamos que todo salio bien\n }", "public void conectar() {\n try {\n //Class.forName(\"com.mysql.jdbc.Driver\").newInstance();\n Class.forName(\"org.mariadb.jdbc.Driver\"); \n\n //con = DriverManager.getConnection(\"jdbc:mariadb://192.168.194.131:3306/arquitectura\", \"root\", \"duocadmin\"); \n con = DriverManager.getConnection(\"jdbc:mariadb://192.168.194.131:3306/arquitectura\", \"root\", \"duocadmin\");\n state = con.createStatement();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "public void conexaoL() {\n try {\n System.setProperty(\"jdbc.Drivers\", driver);\n con = DriverManager.getConnection(caminho, usuario, senha);\n //JOptionPane.showMessageDialog(null, \"Conectou\");\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"Falha ao se conectar com banco de Dados:\\n\" + ex);\n new ArquivoLog(\"...Erros 1\"+ex);\n }\n }", "public conectar(){\r\n \r\n }", "public void iniciar(String user, String pass, String db_name) {\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n Conexion = DriverManager.getConnection(\"jdbc:mysql://\" + serverMySQL + \":3306/\" + db_name, user, pass);\n conectado = true;\n printLog(\"Conexion establecida con el sevidor de MySQL en \" + serverMySQL);\n //JOptionPane.showMessageDialog(null, \"Bien\");\n } catch (ClassNotFoundException ex) {\n Logy.me(ex.getMessage());\n } catch (SQLException ex) {\n Logy.me(ex.getMessage());\n }\n }", "public static boolean conectarDB(){\n\t\tString servidor = \"jdbc:mysql://localhost:3306/sistemaprefectura\";\n\t\tString usuario = \"root\";\n\t\tString password = \"root\";\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tconexion = DriverManager.getConnection(servidor,usuario,password);\n\t\t\treturn true;\n\t\t} catch (ClassNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"Algo salio mal\");\n\t\t}\n\t\treturn false;\n\t}", "private GestionBD(){\r\n\t\tlineConnection=SingleDBConnection.getConexionBD().conectarBD();\r\n\t}", "public paciente()\n {\n con = new bdconexion(); //instancia la clase bdconexion\n }", "public Conectar() {//creamos un constructor\n conn = null;//iniciamos la variable conn en null\n try {//en caso de error creamos un try/catch\n Class.forName(driver);//carga la clase con el nombre indicado\n conn = (Connection) DriverManager.getConnection(url, user, password);//se le envian los datos\n if (conn != null) {//para saber si se realizo la coneccion\n //JOptionPane.showMessageDialog(null,\"Conexion establecida..\");//genera un cuadro de dialogo con el mensaje establecido\n //System.out.println(\"Conexion establecida..\");//genera un mensaje por consola \n }\n } catch (ClassNotFoundException | SQLException e) {//capturo los errores posibles\n JOptionPane.showMessageDialog(null, \"Error al conectar \" + e);//genera un cuadro de dialogo con el mensaje establecido\n System.out.println(\"Error al conectar \" + e);//genera un mensaje por consola \n\n }\n }", "private Connection darConexion() throws SQLException {\n\t\tSystem.out.println(\"[ALOHA APP] Attempting Connection to: \" + url + \" - By User: \" + user);\n\t\treturn DriverManager.getConnection(url, user, password);\n\t}", "public static Connection getConnection() {\n Connection conn = null;\n try {\n Class.forName(\"org.hsqldb.jdbcDriver\");\n //conn = DriverManager.getConnection(\"jdbc:hsqldb:hsql://localhost/bancodb\", \"sa\", \"\");\n conn = DriverManager.getConnection(\"jdbc:hsqldb:hsql://localhost/paciente2db\", \"sa\", \"\");\n } catch (SQLException e) {\n System.out.println(\"Problemas ao conectar no banco de dados\");\n } catch (ClassNotFoundException e) {\n System.out.println(\"O driver não foi configurado corretamente\");\n }\n\n return conn;\n }", "private ConexionBD() {\n\t\testablecerConexion();\n\t}", "private Connection darConexion() throws SQLException {\n\t\tSystem.out.println(\"[ALOHANDES APP] Attempting Connection to: \" + url + \" - By User: \" + user);\n\t\treturn DriverManager.getConnection(url, user, password);\n\t}", "public static void abrirConexao() throws SQLException {\n\t\tDriverManager.registerDriver(new FBDriver());\n\t\tobjcon = DriverManager.getConnection(\n\t\t\t\t\"jdbc:firebirdsql:server1b/3050:D:/PROGRAM FILES/FIREBIRD/LTP4/BDPRODUTOS.GDB\", \n\t\t\t\t\"SYSDBA\", \"masterkey\");\n\t}", "public static void abrirConexao() throws SQLException {\n\t\tDriverManager.registerDriver(new FBDriver());\n\t\tobjcon = DriverManager.getConnection(\n\t\t\t\t\"jdbc:firebirdsql:server1b/3050:D:/PROGRAM FILES/FIREBIRD/LTP4/BDVendas.GDB\", \n\t\t\t\t\"SYSDBA\", \"masterkey\");\n\t}", "public void connect() {\n\n DatabaseGlobalAccess.getInstance().setEmf(Persistence.createEntityManagerFactory(\"PU_dashboarddb\"));\n DatabaseGlobalAccess.getInstance().setEm(DatabaseGlobalAccess.getInstance().getEmf().createEntityManager());\n DatabaseGlobalAccess.getInstance().getDatabaseData();\n DatabaseGlobalAccess.getInstance().setDbReachable(true);\n }", "public static Connection obtener() \n {\n try\n {\n //sentencia de driver que se va a manejar\n Class.forName(\"com.mysql.jdbc.Driver\");\n \n String url = \"jdbc:mysql://127.0.0.1:3306/biblioteca?serverTimezone=\" + TimeZone.getDefault().getID();\n cnx = DriverManager.getConnection(url, \"root\", \"625387\");\n } \n catch (SQLException ex) {\n \n JOptionPane.showMessageDialog(null, \"Se presento error al conectar a la base de datos \"+ex.getMessage());\n } catch (ClassNotFoundException ex) {\n JOptionPane.showMessageDialog(null, \"Se presento error al conectar a la base de datos \"+ex.getMessage());\n }\n return cnx;\n }", "private void apriConnessione() throws SQLException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ClassNotFoundException {\n\t\tString password, user;\n\t\tDatabaseProps dbConf = config.getDb();\n\n\t\tClass.forName(dbConf.getDriver()).getDeclaredConstructor().newInstance();\n\n\t\tuser = dbConf.getUsername();\n\t\tpassword = dbConf.getPassword();\n\n\t\tString uri = String.format(\"jdbc:%s://%s:%d/%s\", dbConf.getDbms(), dbConf.getHost(), dbConf.getPort(), dbConf.getName());\n\n\t\tconnessioneDB = DriverManager.getConnection(uri, user, password);\n\t}", "public BeneficiaireDAO() {\n\t\t// chargement du pilote de bases de donn闂佹唶\n\t\t\n\t\ttry {\n\t\t\t Class.forName( \"com.mysql.jdbc.Driver\" );\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.err\n\t\t\t\t\t.println(\"Impossible de charger le pilote de BDD, ne pas oublier d'importer le fichier .jar dans le projet\");\n\t\t}\n\n\t}", "private void baueVerbindung() throws SQLException, ClassNotFoundException\n\t{\n\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\tconnec = DriverManager.getConnection(url+datenbank,user,password);\n\t}", "public static Connection CrearConexion(){\n String clave=\"inacap\";\r\n String usuario=\"inacap\";\r\n String url=\"jdbc:derby://localhost:1527/aereopuerto\";\r\n \r\n //crear conexion a la Base de datos\r\n \r\n try{\r\n Connection conn=DriverManager.getConnection(url,usuario,clave);\r\n return conn;\r\n }\r\n catch(SQLException e){\r\n System.out.println(\"Excepcion de sql:\"+e);\r\n return null;\r\n }\r\n \r\n \r\n }", "private void connectToDB() throws Exception\n\t{\n\t\tcloseConnection();\n\t\t\n\t\tcon = Env.getConnectionBradawl();\n\t}", "public boolean connectDB(){\r\n\t\ttry{\r\n\t\t\t//Lo primero es cargar el controlador MySQL el cual automáticamente se registra\r\n\t\t\tClass.forName(CONTROLADOR_MYSQL);\r\n\t\t\t//Conectarnos a la BBDD\r\n\t\t\tconexion = DriverManager.getConnection(this.url,this.user,this.pass);\r\n\t\t}\r\n\t\tcatch( SQLException excepcionSql ) \r\n\t\t{\r\n\t\t\texcepcionSql.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tcatch( ClassNotFoundException noEncontroClase)\r\n\t\t{\r\n\t\t\tnoEncontroClase.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "public Connection conexion(){\n try {\r\n Class.forName(\"org.gjt.mm.mysql.Driver\");\r\n conectar=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/poo\",\"root\",\"19931017\");\r\n \r\n } catch (ClassNotFoundException | SQLException e) {\r\n System.out.println(\"Error ┐\"+e);\r\n }\r\n return conectar; \r\n }", "public void establecerConexion() {\n\n\t\ttry {\n\t\t\tClass.forName(\"org.sqlite.JDBC\");\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.out.println(\"conexion de driver no establecida\");\n\t\t}\n\n\t\ttry {\n\n\t\t\tconexion = DriverManager.getConnection(\"jdbc:sqlite:\" + nombreBD);\n\t\t\tstmt = conexion.createStatement();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(\"problema con conexion\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public BaseDatos(String url, String user, String pass) {\n \n //asignacion de los atributos de clase\n this.url = url;\n this.user = user;\n this.pass = pass;\n \n try{\n Class.forName(\"com.mysql.jdbc.Driver\"); // importamos el driver de la base de datos \n conexion= DriverManager.getConnection(url,user,pass); // creamos la conexion a la base de datos\n }catch(SQLException e){\n System.out.println(\"Error de sql:_ \"+e.getMessage());\n }catch(ClassNotFoundException ex){\n System.out.println(\"No se pudo cargar el driver MySQL:_\"+ex.getMessage());\n }\n \n }", "public boolean connexion(){\n try{\n Class.forName(\"com.mysq.jdbc.Driver\").newInstance();\n this.bdConnect = DriverManager.getConnection(\"jdbc:mysql:\" + this.url, this.identifiant, this.mdp);\n this.bdStatement = this.bdConnect.createStatement();\n return true;\n }catch (SQLException | ClassNotFoundException | InstantiationException | IllegalAccessException ex) {\n Logger.getLogger(ConnexionBD.class.getName()).log(Level.SEVERE, null, ex);\n }\n return false;\n }", "private void criarConexao(){\n try{\n testeOpenHelper = new TesteOpenHelper(this);\n conexao = testeOpenHelper.getWritableDatabase();\n Toast.makeText(this,\"Conexao executada com sucesso\", Toast.LENGTH_SHORT).show();\n produtoRepositorio = new ProdutoRepositorio(conexao);\n }catch(SQLException e){\n AlertDialog.Builder dlg = new AlertDialog.Builder(this);\n dlg.setTitle(\"Erro\");\n dlg.setMessage(e.getMessage());\n dlg.setNeutralButton(\"Ok\", null);\n dlg.show();\n Toast.makeText(this,\"ERRO na conexao\", Toast.LENGTH_LONG).show();\n }\n }", "@Override\n\tpublic Connection getConnection() {\n\t\ttry {\n\t\t\tSystem.out.println(\"Conectando ao MySQL. . .\");\n\t\t\treturn DriverManager.getConnection(\"jdbc:mysql://localhost/test\", \"root\", \"1234\");\n\t\t\t//O Driver Manager serve para registrar os Drivers dos Bancos de Dados\n\t\t} catch (SQLException e) { //CHECKED EXCEPTION - SQLEXCEPTION\n\t\t\t// TODO Auto-generated catch block\n\t\t\tthrow new RuntimeException(\"Impossível realizar a conexão com o Banco de Dados MySql!\", e);\n\t\t}\n\t}", "public void conectionSql(){\n conection = connectSql.connectDataBase(dataBase);\n }", "public static Connection getConexion() throws SipsaExcepcion {\n if (DB.conn == null) {\n try {\n Configuracion configuracion = Configuracion.getInstancia();\n Class.forName(configuracion.getDBDriver()).newInstance();\n String connectionUrl = configuracion.getDBCadenaConexion();\n String usuario = configuracion.getDBUsuario();\n String password = configuracion.getDBPassword();\n DB.conn = DriverManager.getConnection(connectionUrl, usuario, password);\n } catch (Exception ex) {\n ex.printStackTrace();\n throw new SipsaExcepcion(\"Error al conectarse a la base de datos de Sipsa\");\n }\n }\n return conn;\n }", "public void PrepararBaseDatos() { \r\n try{ \r\n conexion=DriverManager.getConnection(\"jdbc:ucanaccess://\"+this.NOMBRE_BASE_DE_DATOS,this.USUARIO_BASE_DE_DATOS,this.CLAVE_BASE_DE_DATOS);\r\n \r\n } \r\n catch (Exception e) { \r\n JOptionPane.showMessageDialog(null,\"Error al realizar la conexion \"+e);\r\n } \r\n try { \r\n sentencia=conexion.createStatement( \r\n ResultSet.TYPE_SCROLL_INSENSITIVE, \r\n ResultSet.CONCUR_READ_ONLY); \r\n \r\n System.out.println(\"Se ha establecido la conexión correctamente\");\r\n } \r\n catch (Exception e) { \r\n JOptionPane.showMessageDialog(null,\"Error al crear el objeto sentencia \"+e);\r\n } \r\n }", "public Connection OpenConnection() {\n try {\n //obtenemos el driver para SQLSERVER\n Class.forName(driver);\n //obtenemos la conexion\n con = DriverManager.getConnection(url, user, pass);\n if (con != null) {\n System.out.println(\"OK base de datos \" + bd + \" listo\");\n }\n } catch (ClassNotFoundException | SQLException e) {\n e.printStackTrace();\n }\n return con;\n }", "private static void connect() {\n\t\ttry {\n\t\t\tif (connection == null) {\n\t\t\t\tClass.forName(\"org.mariadb.jdbc.Driver\");\n\t\t\t\tconnection = DriverManager.getConnection(url, user, password);\n\t\t\t\tconnection.setAutoCommit(false);\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\n\t\t}\n\t}", "public static Connection connectarMySQL(){\n Connection conn = null;\n\n try {\n Class.forName(\"com.mysql.jdbc.Driver\").newInstance();\n } catch (Exception e) {\n System.out.println(\"Error paquete\");\n System.out.println(e.getMessage());\n }\n try{\n conn = DriverManager.getConnection(getConnectionDB(), user, password);\n\n } catch(SQLException e){\n System.out.println(\"SQLException\"+ e.getMessage());\n System.out.println(\"SQLState\"+ e.getSQLState());\n System.out.println(\"VendorError\"+ e.getErrorCode());\n }\n return conn;\n }", "private static void setConnection(){\n try{\n Class.forName(\"com.mysql.jdbc.Driver\");\n con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/novel_rental\",\"root\",\"\");\n } catch (Exception e) {\n Logger.getLogger(NovelRepository.class.getName()).log(Level.SEVERE, null, e);\n System.out.println(e.getMessage());\n }\n }", "public void openConnection(){\r\n try {\r\n Driver dr = new FabricMySQLDriver();\r\n DriverManager.registerDriver(dr);\r\n log.info(\"registrable driver\");\r\n } catch (SQLException e) {\r\n log.error(e.getMessage());\r\n e.printStackTrace();\r\n }\r\n try {\r\n connection = DriverManager.getConnection(URL, USERNAME, PASSWORD);\r\n log.info(\"get connection\");\r\n } catch (SQLException e) {\r\n log.error(e.getMessage());\r\n e.printStackTrace();\r\n }\r\n }", "public static void inicializarBD() {\n\t\ts = new StandardServiceRegistryBuilder().configure().build();\r\n\t\tsf = new MetadataSources(s).buildMetadata().buildSessionFactory();\r\n\t}", "private void criarConexao(){\n\n try {\n\n clientOpenHelper = new ClientOpenHelper(this);\n\n conexao = clientOpenHelper.getWritableDatabase();\n\n Snackbar.make(layoutMain, R.string.Aviso, Snackbar.LENGTH_SHORT)\n .setAction(R.string.ok,null)\n .show();\n clienteRepositorio = new ClienteRepositorio(conexao);\n }catch (SQLException ex){\n AlertDialog.Builder dlg = new AlertDialog.Builder(this);\n dlg.setTitle(\"Error\");\n dlg.setMessage(ex.getMessage());\n dlg.setNeutralButton(\"OK\",null);\n dlg.show();\n }\n }", "public Connection connectToDb() throws Exception\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tString url= \"jdbc:mysql://83.212.122.254:3306/travlos\";\r\n\t\t\tString username=\"travlos\";\r\n\t\t\tString password=\"travlos\";\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"found\");\r\n\t\t\t\r\n\t\t\t\r\n\t\tConnection con=null;\t\r\n\t\t\tcon=DriverManager.getConnection(url, username, password);\r\n\t\t\tStatement statement= con.createStatement();\r\n\t\t\t\r\n\t System.out.println(\"egine syndesh!\");\r\n\t return con;\r\n\t\t\r\n\t\t}\r\n\t\tcatch (SQLException ee)\r\n\t\t{\r\n\t\t\tthrow new RuntimeException(\"cannot connect the database!\", ee);\r\n\t\t}\r\n\t\r\n\t\r\n\t}", "public void conectar() {\n\t\tif (isOnline()) {\n\t\t\tregister_user();\n\n\t\t} else {\n\t\t\tToast notification = Toast.makeText(this,\n\t\t\t\t\t\"Activa tu conexión a internet\", Toast.LENGTH_SHORT);\n\t\t\tnotification.setGravity(Gravity.CENTER, 0, 0);\n\t\t\tnotification.show();\n\t\t\t//progreso.setVisibility(View.GONE);\n\t\t\tsetProgressBarIndeterminateVisibility(false);\n\t\t}\n\t}", "protected boolean conectar(String servicio) throws Exception {\n\n /*\n * Para conectarse con Tomcat en el archivo de coniguracion se\n * especifican los parametros de conexion.\n */\n long t = System.currentTimeMillis();\n //Context es un objeto que encapsula el contexto de la aplicacion\n Context ctx = new InitialContext();\n //DataSource es el origen de datos, \n //un servicio JDBC proporcionado mediante java naming\n //El nombre del servicio deberia ser recibido como\n //argumento\n DataSource ds = (DataSource) ctx.lookup(servicio);\n\n //Ahora si obtiene la conexion\n this.conexion = ds.getConnection();\n\n return this.conexion != null;\n }", "public static Connection getConexao() throws SQLException {\n\t\t\n\t\t\n\n\t\tConnection conexao = null;\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\t\t\n\n\t\t\tconexao = DriverManager.getConnection( // Com JDBC precisamos setar no banco de dados o comando SET @@global.time_zone = '+3:00';\n\t\t\t\t\t\"jdbc:mysql://localhost:3306/dbcarro2?useTimezone=true&ampserverTimezone=UTC​​&relaxAutoCommit=true\", \"root\",\"12345\");\n\t\t\tSystem.out.println(\"Conexão bem sucedida.\");\n\t\t\n\t\t} catch (ClassNotFoundException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\treturn conexao;\n\t}", "public void connect() {\n try {\n Class.forName(\"com.mysql.jdbc.Connection\");\n //characterEncoding=latin1&\n //Class.forName(\"org.apache.derby.jdbc.EmbeddedDriver\");\n //Connection conn = new Connection();\n url += \"?characterEncoding=latin1&useConfigs=maxPerformance&useSSL=false\";\n conn = DriverManager.getConnection(url, userName, password);\n if (conn != null) {\n System.out.println(\"Established connection to \"+url+\" Database\");\n }\n }\n catch(SQLException e) {\n throw new IllegalStateException(\"Cannot connect the database \"+url, e);\n }\n catch(ClassNotFoundException e) {\n e.printStackTrace();\n }\n\n }", "public BOEmpresa() {\r\n\t\tdaoEmpresa = new DAOEmpresaJPA();\r\n\t}", "public static Connection establecerConexion() throws SQLException {\r\n Connection con = DriverManager.getConnection(getDatabase(), getUser(), getPassword());\r\n \r\n return con;\r\n \r\n }", "public Connection connect(){\n try{\n Class.forName(\"com.mysql.jdbc.Driver\");\n System.out.println(\"Berhasil koneksi ke JDBC Driver MySQL\");\n }catch(ClassNotFoundException ex){\n System.out.println(\"Tidak Berhasil Koneksi ke JDBC Driver MySQL\");\n }\n //koneksi ke data base\n try{\n String url=\"jdbc:mysql://localhost:3306/enginemounting\";\n koneksi=DriverManager.getConnection(url,\"root\",\"\");\n System.out.println(\"Berhasil koneksi ke Database\");\n }catch(SQLException e){\n System.out.println(\"Tidak Berhasil Koneksi ke Database\");\n }\n return koneksi;\n}", "private Connection getConnection() throws SQLException, Exception {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\").newInstance();\r\n\t\t\t\r\n\t\t\tString sURL = URL + DB_NAME;\r\n\t\t\tcon = DriverManager.getConnection(sURL, USUARIO, PASSWORD);\r\n\t\t\t\r\n\t\t\treturn con;\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t}", "public Connection getConnection() throws ClassNotFoundException, SQLException {\n logger.info(\"Create DB connection\");\n Class.forName(\"com.mysql.cj.jdbc.Driver\");\n return DriverManager.getConnection(\n \"jdbc:mysql://localhost:3306/prod\",\"root\",\"rootroot\");\n }", "public static void connect() {\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n DataBaseConnect.connect = DriverManager\n .getConnection(\"jdbc:mysql://localhost/magazyn?\"\n + \"user=root&password=\");\n } catch (SQLException e1) {\n e1.printStackTrace();\n } catch (ClassNotFoundException e1) {\n e1.printStackTrace();\n }\n }", "public boolean abrirConexion(){\n try{\n Class.forName(\"com.mysql.jdbc.Driver\").newInstance();\n conexion=DriverManager.getConnection(this.sRutaBaseDatos,this.sUsuario,this.sPassword);\n this.bConexcionOk=true;\n //statment=conexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);//para las consultas\n if(this.bDebug){\n System.out.println(\"Conexion exitosa\");\n }\n return this.isConexcionOk();\n }catch(Exception e){\n System.out.println(e.getMessage());\n if(this.bDebug){\n System.out.println(\"No se ha podido cargar el Driver JDBC-ODBC\");\n }\n return false;\n }\n }", "private void makeConnection() {\n try {\n InitialContext ic = new InitialContext();\n DataSource ds = (DataSource) ic.lookup(dbName);\n\n con = ds.getConnection();\n } catch (Exception ex) {\n throw new EJBException(\"Unable to connect to database. \" + ex.getMessage());\n }\n }", "public Connection connectdb(){\n Connection con = null;\n try {\n Class.forName(\"com.mysql.cj.jdbc.Driver\");\n con = DriverManager.getConnection(url, user, pass);\n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(ILocker.class.getName()).log(Level.SEVERE, null, ex);\n }\n return con;\n }", "public static void main(String[] args) {\n Connection connection = null;\r\n\r\n try{\r\n // establezco la connecion con la base de datos jdbc en el puerto 3306 con usuario y contrasenia root\r\n connection = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/jdbc\",\"root\",\"root\");\r\n // pongo auto commit en false esto hace que no se comite cada cueri y que se cada vez que lance\r\n // el comando commit se ejecuta el bloque query\r\n connection.setAutoCommit(false);\r\n\r\n // hago la sentencia preparada\r\n PreparedStatement preparedStatement = connection.prepareStatement(\"INSERT INTO estudiante (dni, nombre, apellido) VALUES (?, ?, ?);\");\r\n // modifico los \"?\" de la sentencia preparada con mis datos\r\n preparedStatement.setInt(1,40640217);\r\n preparedStatement.setString(2,\"Santiago\");\r\n preparedStatement.setString(3,\"Lampropulos\");\r\n\r\n // ejecuto la consulta preparada\r\n preparedStatement.executeUpdate();\r\n\r\n //traigo los datos de la tabla estudiante\r\n ResultSet resultSet = preparedStatement.executeQuery(\"SELECT * FROM estudiante\");\r\n\r\n // realizo el commit para que se guarden los cambios\r\n connection.commit();\r\n\r\n //muestro toda la tabla\r\n while(resultSet.next()){\r\n System.out.println(resultSet.getString(2)+\"\\t\"+resultSet.getString(\"nombre\")+\"\\t\"+resultSet.getString(\"apellido\"));\r\n }\r\n\r\n }catch (SQLException exceptionConnection){\r\n System.out.println(exceptionConnection);\r\n try{\r\n // si se creo la base de datos revierte el commit que se hizo\r\n if(connection!=null){\r\n connection.rollback();\r\n }\r\n }catch (SQLException exceptionCarth){\r\n //atrapo excepciones\r\n System.out.println(exceptionCarth);\r\n }\r\n\r\n\r\n }finally {\r\n // el bloque finally se ejecute sin inportar si viene de un catch o del try\r\n try{\r\n //si se crea una coneccion con base de datos la cierro\r\n if(connection!= null){\r\n connection.close();\r\n }\r\n }catch (SQLException eFinally){\r\n //atrapo excepciones\r\n System.out.println(eFinally);\r\n }\r\n }\r\n\r\n }", "public static Connection getConexion() {\r\n Connection cn=null;\r\n try{\r\n /**\r\n * conexion a la Base de datos\r\n */\r\n \r\n cn=DriverManager.getConnection(\"jdbc:mysql://127.0.0.1:3307/stockcia\",\"root\",\"\");\r\n //cn=DriverManager.getConnection(\"jdbc:mysql://raspberry-tic41.zapto.org:3306/StockCia\", \"tic41\", \"tic41\");//conexion local \r\n }\r\n catch(Exception e){\r\n System.out.println(String.valueOf(e));}\r\n return cn;\r\n }", "private void getConnection() {\n con = this.dbc.getMySQLConnection();\n Logger.getLogger(SettingImplementation.class.getName()).log(Level.SEVERE, \"Connection Basic >>>>>\" + con);\n }", "private static void getConnection() throws ClassNotFoundException, SQLException {\n\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\tconnection = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/yuechu\", \"root\", \"1\");\n\t}", "public void connect() {\n\n\t\ttry {\n\n\t\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\t} catch (ClassNotFoundException ex) {\n\t\t\tSystem.err.println(\"Unable to load MySQL Driver\");\n\t\t\t\n\t\t}\n\n\t\tString jdbcUrl = \"jdbc:mysql://localhost:3306/userinfo?useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false\";\n\t\ttry {\n\t\t\t// DriverManager.registerDriver(new com.mysql.jdbc.Driver());\n\t\t\tConnection con = DriverManager.getConnection(jdbcUrl, \"root\", \"smmk143143\");\n\t\t\tconn = con;\n\t\t\t// Set auto commit as false.\n\t\t\tconn.setAutoCommit(false);\n\t\t\tSystem.out.println(\"接続済み/Connected\");\n\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"接続エラーが発生しました/Connection Error Occured\");\n\t\t\tSystem.out.println(e.getMessage());\n\n\t\t}\n\t}", "public CriaBanco (Context context){\n\n super (context, NOME_BD, null, VERSAO);\n }", "public static Connection getConnexion() throws ClassNotFoundException, SQLException{\n\t\tif(connexion == null){\n\t\t\tnew ConnexionBD() ;\n\t\t}\n\t\treturn connexion ;\n\t}", "public static Connection conectDB(){\r\n \r\n \r\n try {\r\n Class.forName(\"org.sqlite.JDBC\");\r\n Connection conn = DriverManager.getConnection(\"jdbc:sqlite:Users.sqlite\"); //povezava \r\n System.out.println(\"Povezano z sql\"); // to sm naredu zato da vidim ce dela oz ce se je pravilno connectalo \r\n return conn;\r\n \r\n \r\n \r\n \r\n } catch (Exception e) {\r\n JOptionPane.showMessageDialog(null, e);\r\n return null;\r\n \r\n \r\n }\r\n }", "public static Connection con(){\n \n try{\n Class.forName(\"com.mysql.jdbc.Driver\");\n con=(Connection)DriverManager.getConnection(\"jdbc:mysql://localhost:3306/nsbm?\",\"root\",\"\");\n // our SQL SELECT query. \n // if you only need a few columns, specify them by name instead of using \"*\"\n \n }catch(ClassNotFoundException | SQLException e){\n }\n return con;\n }", "public static Connection getConnection() throws Exception{\r\n\t\t\tConnection dbConn = null;\r\n\t try{\r\n\t\tString url = \"jdbc:mysql://localhost:3307/durgadb\";\r\n\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\r\n\t\tdbConn = DriverManager.getConnection(url, \"root\", \"root\");\r\n\t\t}\r\n\t catch (SQLException sqle) {\r\n\t\t sqle.printStackTrace();\r\n\t\t throw sqle;\r\n\t\t}\r\n catch(Exception e) {\r\n\t\t e.printStackTrace();\r\n\t\t throw e;\r\n\t\t}\r\n\treturn dbConn;\r\n\t}", "public void saveToDB() throws java.sql.SQLException\n\t{\n\t\tStringBuffer sSQL=null;\n Vector vParams=new Vector();\n\t\t//-- Chequeamos a ver si es un objeto nuevo\n\t\tif(getID_BBDD()==-1) {\n\t\t\tsSQL = new StringBuffer(\"INSERT INTO INF_BBDD \");\n\t\t\tsSQL.append(\"(NOMBRE,DRIVER,URL,USUARIO,CLAVE,JNDI\");\n\t\t\tsSQL.append(\") VALUES (?,?,?,?,?,?)\");\n\n vParams = new Vector();\n vParams.add(getNOMBRE());\n vParams.add(getDRIVER());\n vParams.add(getURL());\n vParams.add(getUSUARIO());\n vParams.add(getCLAVE());\n vParams.add(getJNDI());\n\t\t}\n\t\telse {\n\t\t\tsSQL = new StringBuffer(\"UPDATE INF_BBDD SET \");\n sSQL.append(\" NOMBRE=?\");\n sSQL.append(\", DRIVER=?\");\n sSQL.append(\", URL=?\");\n sSQL.append(\", USUARIO=?\");\n sSQL.append(\", CLAVE=?\");\n\t\t\tsSQL.append(\", JNDI=?\");\n\t\t\tsSQL.append(\" WHERE ID_BBDD=?\");\n\n vParams = new Vector();\n vParams.add(getNOMBRE());\n vParams.add(getDRIVER());\n vParams.add(getURL());\n vParams.add(getUSUARIO());\n vParams.add(getCLAVE());\n vParams.add(getJNDI());\n vParams.add(new Integer(getID_BBDD()));\n\t\t}\n\n\t\tAbstractDBManager dbm = DBManager.getInstance();\n dbm.executeUpdate(sSQL.toString(),vParams);\n\n // Actualizamos la caché\n com.emesa.bbdd.cache.QueryCache.reloadQuery(\"base_datos\");\n\t}", "public static Statement usarBD( Connection con ) {\n\t\ttry {\n\t\t\tStatement statement = con.createStatement();\n\t\t\tstatement.setQueryTimeout(30); // poner timeout 30 msg\n\t\t\treturn statement;\n\t\t} catch (SQLException e) {\n\t\t\tlastError = e;\n\t\t\tlog( Level.SEVERE, \"Error en uso de base de datos\", e );\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "public static Connection fetchDBConnection() throws ClassNotFoundException,SQLException\n\t{\n\t//load type IV MySql supplies JDBC driver class, under method area(meta space)\n\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\n\t\t//get the fix connection to DB\n\t\tString url=\"jdbc:mysql://localhost:3306/acts?useSSl=false\";\n\t\treturn DriverManager.getConnection(url, \"root\", \"manoj1997\");\n\t}", "protected boolean conectar(String usuario, String clave) throws Exception {\n\n //Registra el controlador de manera implicita\n Class.forName(controlador).newInstance();\n //Obtiene la conexion\n System.err.println(url + \",\" + usuario + \",\" + clave + \":ON!!!\");\n this.conexion = DriverManager.getConnection(url, usuario, clave);\n //Actualiza usuario y clave del middler\n this.usuario = usuario;\n this.clave = clave;\n return this.conexion != null;\n }", "public void openConnection(){\n\n\t\tString dbIP = getConfig().getString(\"mysql.ip\");\n\t\tString dbDB = getConfig().getString(\"mysql.databaseName\");\n\t\tString dbUN = getConfig().getString(\"mysql.username\");\n\t\tString dbPW = getConfig().getString(\"mysql.password\");\n\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tconnection = DriverManager.getConnection(\"jdbc:mysql://\" + dbIP + \"/\" + dbDB, dbUN, dbPW);\n\t\t\tgetLogger().info(\"Connected to databse!\");\n\t\t} catch (SQLException ex) {\n\t\t\t// handle any errors\n\t\t\tgetLogger().info(\"SQLException: \" + ex.getMessage());\n\t\t\tgetLogger().info(\"SQLState: \" + ex.getSQLState());\n\t\t\tgetLogger().info(\"VendorError: \" + ex.getErrorCode());\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tgetLogger().info(\"Gabe, you done goof'd!\");\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "private static Connection getConnection() throws SQLException, IOException {\n Properties properties = new Properties();\n properties.setProperty(\"user\", \"root\");\n properties.setProperty(\"password\", \"bulgariavarna\");\n\n return DriverManager.getConnection(CONNECTION_STRING + \"minions_db\", properties);\n }", "public libroBean() throws SQLException\r\n {\r\n variables = new VariablesConexion();\r\n variables.iniciarConexion();\r\n conexion=variables.getConexion();\r\n \r\n }", "public Connection prepareDBConnection() {\n Connection con = null;\n try {\n con = DriverManager.getConnection(DBAddress, DBUser, DBPass);\n } catch (SQLException ex) {\n System.err.println(\"Uppkopplingen till databasen misslyckades. \\n Förmodligen p.g.a för många användare aktiva\");\n }\n return con;\n }", "private DAOOfferta() {\r\n\t\ttry {\r\n\t\t\tClass.forName(driverName);\r\n\r\n\t\t\tconn = getConnection(usr, pass);\r\n\r\n\t\t\tps = conn.prepareStatement(createQuery);\r\n\r\n\t\t\tps.executeUpdate();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (ConnectionException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\t/*closeResource()*/;\r\n\t\t}\r\n\t}", "public TelaCliente() {\n initComponents();\n conexao=ModuloConexao.conector();\n }", "public void openConn()\r\n {\r\n try\r\n {\r\n Class.forName(\"com.mysql.cj.jdbc.Driver\");\r\n con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/voteandordersystem\",\"root\",\"hello\");\r\n \r\n \r\n }\r\n catch (ClassNotFoundException | SQLException e)\r\n {\r\n JOptionPane.showMessageDialog(null,\"Invalid Entry\\n(\" + e + \")\");\r\n }\r\n }", "public vistaAlojamientos() {\n initComponents();\n \n try {\n miConn = new Conexion(\"jdbc:mysql://localhost/turismo\", \"root\", \"\");\n ad = new alojamientoData(miConn);\n \n } catch (ClassNotFoundException ex) {\n Logger.getLogger(vistaAlojamientos.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n \n }", "private static Connection baglan() {\n Connection baglanti = null;\n try {\n baglanti = DriverManager.getConnection(\"jdbc:postgresql://localhost:5432/SogutucuKontrolCihazi\",\n \"postgres\", \"159753\");\n if (baglanti != null) //bağlantı varsa\n System.out.println(\"Veritabanına bağlandı!\");\n else\n System.out.println(\"Bağlantı girişimi başarısız!\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n return baglanti;\n }", "@Override\n public void initializeConnection() throws SQLException, ClassNotFoundException {\n \n Class.forName(\"com.mysql.jdbc.Driver\");\n //setConnection(DriverManager.getConnection(\"jdbc:mysql://localhost/rabidusDB\",\"root\",\"password\"));\n setConnection(DriverManager.getConnection( host + \":3306/\" + databaseName, user, password));\n \n }", "void getConnectiondb() throws SQLException, ClassNotFoundException{\n // TODO code application logic here\n \n String user = \"root\";\n String pass = \"test\";\n\n myConn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/aud_jdbms\", user, pass);\n \n\n \n }", "public static Connection getConnection() throws ClassNotFoundException, SQLException {\r\n\t\tString username=\"root\";\r\n\t\tString password=\"123\";\r\n\t\tClass.forName(\"com.mysql.cj.jdbc.Driver\");\r\n\t\tConnection connection = DriverManager.getConnection(\"jdbc:mysql://localhost:3308/bkdb?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC\", username, password);\r\n\t\treturn connection;\r\n\t}", "public Connection connectToBDD() throws ClassNotFoundException {\n\t \t\t\n\t \t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t \t\t\n\t \t\tString url = \"jdbc:mysql://localhost:3306/fund_transfer\";\n\t \t\tString user = \"root\";\n\t \t\tString pwd = \"\";\n\t \t\tcnx = null;\n\t \t\t\n\t \t\ttry {\n\t \t\t cnx = DriverManager.getConnection(url, user, pwd);\n\t \t\t} catch (SQLException e) {\n\t \t\t\te.printStackTrace();\n\t \t\t}\n\t \t\t\n\t \t\treturn cnx;\n\t \t}", "public void connect(){\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n } catch (ClassNotFoundException ex) {\n System.out.println(\"ClassNotFoundException in connect()\");\n }\n try {\n connection = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/pmt\", \"root\", \"\");\n } catch (SQLException ex) {\n System.out.println(\"SQLException in connect()\");\n }\n \n }", "public void gravarBd(Aluno a) {\n\t\t\n\t\t\n\t\ttry {\n\t\t\tConnection con = DBUtil.getInstance().getConnection();\n\t\t\tPreparedStatement stmt = con.prepareStatement(\"INSERT INTO Aluno\"\n\t\t\t\t\t+ \"(idAluno, Nome)\"+\n\t\t\t\t\t\"VALUES(?,?)\");\n\t\t\tstmt.setInt(1,a.getNumero());\n\t\t\tstmt.setString(2, a.getNome());\n\t\t\tstmt.executeUpdate();\n\t\t\tJOptionPane.showMessageDialog(null,\"Cadastrado com sucesso!\");\n\t\t} \n\t\tcatch(com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Numero ja existe\", \"ERRO\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\t catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Erro no Sql, verifique o banco\", \"ERRO\", JOptionPane.ERROR_MESSAGE);\n\n\t\t\t}\n\t\n\t\t\n\t}", "private static Connection connectToDB() {\n\t\t\tConnection con = null;\n\t\t\ttry {\n\t\t\t\t// Carichiamo un driver di tipo 1 (bridge jdbc-odbc).\n\t\t\t\t//String driver = \"sun.jdbc.odbc.JdbcOdbcDriver\";\n\t\t\t\tClass.forName(DRIVER);\n\t\t\t\t// Creiamo la stringa di connessione.\n\t\t\t\t// Otteniamo una connessione con username e password.\n\t\t\t\tcon = DriverManager.getConnection (URL, USER, PSW);\n\t\t\t\t\n\t\t\t\t\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn con;\n\t\t}", "public void connectToDB(){\n\ttry {\n\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\tconnection=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/patient\",\"root\",\"7417899737\");\n\t} catch (ClassNotFoundException e) {\n\t\t\n\t\te.printStackTrace();\n\t} catch (SQLException e) {\n\t\t\n\t\te.printStackTrace();\n\t}\n\t\n}", "private Connection connect_db() {\n MysqlDataSource dataSource = new MysqlDataSource();\n dataSource.setUser(db_user);\n dataSource.setPassword(db_pass);\n dataSource.setServerName(db_url);\n dataSource.setDatabaseName(db_database);\n\n Connection conn = null;\n try {\n conn = dataSource.getConnection();\n conn.setAutoCommit(false);\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n return conn;\n }", "private void open_db() {\n try {\n Class.forName(\"com.mysql.jdbc.Driver\"); \n Con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/projectlaundry\",\"root\",\"\");\n stm = Con.createStatement();\n }\n catch (Exception e){\n JOptionPane.showMessageDialog(null,\"Koneksi gagal\");\n System.out.println(e.getMessage());\n }\n }", "public static Connection retornaConexao(Venda venda) {\r\n\r\n if (conexao == null) {\r\n\r\n try {\r\n conexao = DriverManager.getConnection(URL, usuario, senha);\r\n } catch (SQLException ex) {\r\n VendaDaoJDBC vendaDao = new VendaDaoJDBC();\r\n String path = System.getProperty(\"user.dir\");\r\n SalvaArquivos vendaOffline = vendaDao.gravaVenda(venda, path);\r\n\r\n ex.printStackTrace();\r\n }\r\n }\r\n return conexao;\r\n }", "public void createConnection()\n\t{\n\t\ttry\n {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n // Get a connection\n conn = DriverManager.getConnection(dbURL, \"root\", \"root\"); \n System.out.println(\"Connected...\");\n }\n catch (Exception except)\n {\n except.printStackTrace();\n }\n\t}" ]
[ "0.73236877", "0.71082073", "0.7099319", "0.70497787", "0.7012259", "0.6933867", "0.6911927", "0.6863526", "0.6841416", "0.6828152", "0.6741934", "0.67047995", "0.6651859", "0.6635213", "0.66235197", "0.65881515", "0.65135413", "0.6491387", "0.6435819", "0.6414965", "0.6407629", "0.63963175", "0.63952726", "0.63715786", "0.635878", "0.6328397", "0.6313271", "0.63094676", "0.63003844", "0.62943065", "0.627282", "0.6260903", "0.6258995", "0.6257238", "0.62202233", "0.61972463", "0.6186424", "0.61717695", "0.61555564", "0.6152786", "0.61456454", "0.61424077", "0.6125601", "0.611035", "0.60879827", "0.60778713", "0.6058306", "0.6045002", "0.6040434", "0.60228604", "0.5995124", "0.5985452", "0.59773225", "0.5972833", "0.5959443", "0.59527236", "0.5951597", "0.5942938", "0.59392077", "0.5922729", "0.59136343", "0.5912665", "0.5903186", "0.5896657", "0.5891333", "0.58897084", "0.58860564", "0.5880092", "0.5879494", "0.58775383", "0.58573836", "0.5851696", "0.5829127", "0.58280516", "0.58232695", "0.5818449", "0.5808779", "0.58038086", "0.58019245", "0.580017", "0.5797647", "0.5791899", "0.57911086", "0.57874477", "0.5785554", "0.5774792", "0.57695246", "0.5756137", "0.5740197", "0.5739854", "0.57390964", "0.573703", "0.5736297", "0.5727115", "0.5721108", "0.5718614", "0.57162607", "0.5716218", "0.5712434", "0.57105285" ]
0.6130327
42
Reads 128 bytes of Id3V1 tag data.
public static byte[] readId3V1Data(File file) { final byte[] buffer = new byte[128]; try (RandomAccessFile mp3File = new RandomAccessFile(file, "r")) { mp3File.seek(mp3File.length() - 128); mp3File.read(buffer, 0, 128); } catch (FileNotFoundException e) { } catch (IOException e) { } return buffer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString\n getField1283Bytes();", "com.google.protobuf.ByteString\n getField1281Bytes();", "com.google.protobuf.ByteString\n getField1128Bytes();", "com.google.protobuf.ByteString\n getField1323Bytes();", "com.google.protobuf.ByteString\n getField1321Bytes();", "public com.google.protobuf.ByteString\n getField1283Bytes() {\n java.lang.Object ref = field1283_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1283_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getField1283Bytes() {\n java.lang.Object ref = field1283_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1283_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public abstract void readTagPayload(DataInput in) throws IOException;", "com.google.protobuf.ByteString\n getTagBytes();", "com.google.protobuf.ByteString\n getField1163Bytes();", "public com.google.protobuf.ByteString\n getField1281Bytes() {\n java.lang.Object ref = field1281_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1281_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1013Bytes();", "com.google.protobuf.ByteString\n getField1331Bytes();", "public com.google.protobuf.ByteString\n getField1281Bytes() {\n java.lang.Object ref = field1281_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1281_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1121Bytes();", "public java.lang.String getField1283() {\n java.lang.Object ref = field1283_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1283_ = s;\n return s;\n }\n }", "public byte[] tag();", "com.google.protobuf.ByteString\n getField1161Bytes();", "public java.lang.String getField1283() {\n java.lang.Object ref = field1283_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1283_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1168Bytes();", "public com.google.protobuf.ByteString\n getField1128Bytes() {\n java.lang.Object ref = field1128_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1128_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public Builder setField1283Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1283_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getField1124Bytes();", "public com.google.protobuf.ByteString\n getField1323Bytes() {\n java.lang.Object ref = field1323_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1323_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString getDataIdBytes();", "public com.google.protobuf.ByteString\n getField1323Bytes() {\n java.lang.Object ref = field1323_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1323_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getField1128Bytes() {\n java.lang.Object ref = field1128_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1128_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public static CompressedCADTagType1Data read(WorkingContext workingContext) throws UnsupportedCodecException {\r\n\t\treturn new CompressedCADTagType1Data(\tInt32CDP2.readVecI32(workingContext, PredictorType.PredLag1),\r\n\t\t\t\t\t\t\t\t\t\t\t\tInt32CDP2.readVecI32(workingContext, PredictorType.PredLag1));\r\n\t}", "public java.lang.String getField1281() {\n java.lang.Object ref = field1281_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1281_ = s;\n return s;\n }\n }", "public Tag readTag() throws IOException {\n/* 78 */ char[] arrayOfChar = new char[1024];\n/* */ \n/* 80 */ int j = -1;\n/* */ \n/* 82 */ Integer integer1 = null;\n/* 83 */ Integer integer2 = null;\n/* */ \n/* 85 */ int i = read(2);\n/* 86 */ if (i < 0) {\n/* 87 */ throw new IOException(\"stop.\");\n/* */ }\n/* 89 */ if (i > arrayOfChar.length) {\n/* 90 */ throw new IOException(\"Invalid tag length.\");\n/* */ }\n/* 92 */ while (i > 0) {\n/* 93 */ j = read(2);\n/* 94 */ int k = read(2);\n/* 95 */ switch (j) {\n/* */ case 1:\n/* 97 */ integer1 = new Integer(read(4));\n/* 98 */ integer2 = new Integer(read(4));\n/* */ break;\n/* */ } \n/* */ \n/* 102 */ i -= 4 + k;\n/* */ } \n/* 104 */ return new Tag(i, j, integer1, integer2);\n/* */ }", "public void readPacketData(DataInputStream par1DataInputStream) throws IOException {\n\t\tthis.entityID = par1DataInputStream.readInt();\n\t\tthis.field_73622_e = par1DataInputStream.readByte();\n\t\tthis.bedX = par1DataInputStream.readInt();\n\t\tthis.bedY = par1DataInputStream.readByte();\n\t\tthis.bedZ = par1DataInputStream.readInt();\n\t}", "com.google.protobuf.ByteString\n getS1Bytes();", "com.google.protobuf.ByteString\n getField1328Bytes();", "com.google.protobuf.ByteString\n getC3Bytes();", "public java.lang.String getField1281() {\n java.lang.Object ref = field1281_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1281_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1324Bytes();", "com.google.protobuf.ByteString getUnknown1();", "com.google.protobuf.ByteString getUnknown1();", "com.google.protobuf.ByteString\n getDataIdBytes();", "public void read(int param1, byte[] param2, int param3, int param4) {\n }", "com.google.protobuf.ByteString\n getField1320Bytes();", "ITaggedData Create(short tag, byte[] data, int offset, int count);", "com.google.protobuf.ByteString\n getField1127Bytes();", "public MP3RetaggingInputStream(final InputStream in, byte[] newID3ByteArray) throws IOException {\r\n this.in = new MP3AudioOnlyInputStream(in);\r\n this.tagArray = newID3ByteArray;\r\n }", "byte[] getData();", "byte[] getData();", "byte[] getData();", "byte[] getData();", "com.google.protobuf.ByteString\n getField1325Bytes();", "public Asn1Object read() throws IOException {\n\n\t\t\tint tag = this.in.read();\n\n\t\t\tif (tag == -1) {\n\t\t\t\tthrow new IllegalStateException(\"Invalid DER: stream too short, missing tag\");\n\t\t\t}\n\n\t\t\tint length = getLength();\n\n\t\t\tif (tag == BIT_STRING) {\n\t\t\t\t// Not sure what to do with this one.\n\t\t\t\tint padBits = this.in.read();\n\t\t\t\tlength--;\n\t\t\t}\n\n\t\t\tbyte[] value = new byte[length];\n\t\t\tint n = this.in.read(value);\n\t\t\tif (n < length) {\n\t\t\t\tthrow new IllegalStateException(\"Invalid DER: stream too short, missing value\");\n\t\t\t}\n\n\t\t\treturn new Asn1Object(tag, length, value);\n\t\t}", "com.google.protobuf.ByteString\n getField1334Bytes();", "com.google.protobuf.ByteString\n getField1333Bytes();", "com.google.protobuf.ByteString\n getField1125Bytes();", "public java.lang.String getField1128() {\n java.lang.Object ref = field1128_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1128_ = s;\n return s;\n }\n }", "public final int getByte() throws IOException {\r\n b3 = 0;\r\n\r\n b3 = (tagBuffer[bPtr] & 0xff);\r\n bPtr += 1;\r\n\r\n return b3;\r\n }", "public Builder setField1281Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1281_ = value;\n onChanged();\n return this;\n }", "short getDQ1( byte[] buffer, short offset );", "com.google.protobuf.ByteString\n getNum1Bytes();", "com.google.protobuf.ByteString\n getField1103Bytes();", "void setDQ1( byte[] buffer, short offset, short length) throws CryptoException;", "com.google.protobuf.ByteString\n getField1164Bytes();", "public int getOneof1283() {\n if (hugeOneofCase_ == 1283) {\n return (java.lang.Integer) hugeOneof_;\n }\n return 0;\n }", "com.google.protobuf.ByteString\n getField1327Bytes();", "public TagHeader_v2_3(byte[] data, InputStream in)\n throws IOException\n {\n super(data);\n if (usesExtendedHeader())\n extHeader = makeExtendedHeader(in);\n }", "public java.lang.String getField1128() {\n java.lang.Object ref = field1128_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1128_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n public final int readVarint32() throws IOException {\n return (int) readVarint64();\n }", "com.google.protobuf.ByteString\n getField1160Bytes();", "byte[] readBytes();", "public int getOneof1283() {\n if (hugeOneofCase_ == 1283) {\n return (java.lang.Integer) hugeOneof_;\n }\n return 0;\n }", "com.google.protobuf.ByteString\n getField1322Bytes();", "public Builder setField1323Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1323_ = value;\n onChanged();\n return this;\n }", "public Builder setField1128Bytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n field1128_ = value;\n onChanged();\n return this;\n }", "com.google.protobuf.ByteString\n getField1335Bytes();", "com.google.protobuf.ByteString\n getField1329Bytes();", "public short getElement_data(int index1) {\n return (short)getUIntBEElement(offsetBits_data(index1), 8);\n }", "public abstract byte[] readData(int address, int length);", "com.google.protobuf.ByteString\n getField1326Bytes();", "public Asn1Object read() throws IOException {\n int tag = in.read();\n\n if ( tag == -1 ) {\n throw new IOException(\n BaseMessages.getString( MQTTPublisherMeta.PKG, \"MQTTClientSSL.Error.InvalidDERStreamToShortMissingTag\" ) );\n }\n\n int length = getLength();\n\n byte[] value = new byte[length];\n int n = in.read( value );\n if ( n < length ) {\n throw new IOException( BaseMessages\n .getString( MQTTPublisherMeta.PKG, \"MQTTClientSSL.Error.InvalidDERStreamToShortMissingValue\" ) );\n }\n\n Asn1Object o = new Asn1Object( tag, length, value );\n\n return o;\n }", "public int getInt1() {\n\t\tfinal byte b1 = payload.get();\n\t\tfinal byte b2 = payload.get();\n\t\tfinal byte b3 = payload.get();\n\t\tfinal byte b4 = payload.get();\n\t\treturn b3 << 24 & 0xFF | b4 << 16 & 0xFF | b1 << 8 & 0xFF | b2 & 0xFF;\n\t}", "public void readFromNBT(NBTTagCompound par1NBTTagCompound);", "public com.google.protobuf.ByteString\n getField1321Bytes() {\n java.lang.Object ref = field1321_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1321_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public abstract byte read_octet();", "public com.google.protobuf.ByteString\n getTagBytes() {\n java.lang.Object ref = tag_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n tag_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1503Bytes();", "com.google.protobuf.ByteString\n getField1338Bytes();", "public com.google.protobuf.ByteString\n getTagBytes() {\n java.lang.Object ref = tag_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n tag_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "com.google.protobuf.ByteString\n getField1603Bytes();", "protected Object readUnknownData() throws IOException {\r\n byte[] bytesValue;\r\n Byte[] bytesV;\r\n Preferences.debug(\"Unknown data; length is \" + elementLength + \" fp = \" + getFilePointer() + \"\\n\", 2);\r\n\r\n if (elementLength <= 0) {\r\n Preferences.debug(\"Unknown data; Error length is \" + elementLength + \"!!!!!\\n\", 2);\r\n\r\n return null;\r\n }\r\n\r\n bytesValue = new byte[elementLength];\r\n read(bytesValue);\r\n bytesV = new Byte[elementLength];\r\n\r\n for (int k = 0; k < bytesValue.length; k++) {\r\n bytesV[k] = new Byte(bytesValue[k]);\r\n }\r\n\r\n return bytesV;\r\n }", "public com.google.protobuf.ByteString\n getField1321Bytes() {\n java.lang.Object ref = field1321_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n field1321_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public java.lang.String getField1323() {\n java.lang.Object ref = field1323_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n field1323_ = s;\n return s;\n }\n }", "com.google.protobuf.ByteString\n getField1120Bytes();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();", "com.google.protobuf.ByteString getData();" ]
[ "0.61828905", "0.6105163", "0.60774505", "0.5916089", "0.57804585", "0.5703642", "0.5666822", "0.560567", "0.5515033", "0.5429968", "0.54055774", "0.5393763", "0.5379272", "0.5369811", "0.53616434", "0.5323805", "0.53072625", "0.52976674", "0.5280638", "0.5279563", "0.524556", "0.52381754", "0.5237945", "0.5232247", "0.5229425", "0.5216105", "0.5198654", "0.51864755", "0.5183321", "0.5179618", "0.5178212", "0.5157282", "0.51532483", "0.514424", "0.5141786", "0.5140588", "0.51347166", "0.51347166", "0.5129094", "0.51126015", "0.51094043", "0.5108932", "0.50844663", "0.50532925", "0.5052424", "0.5052424", "0.5052424", "0.5052424", "0.5033025", "0.50301594", "0.502877", "0.5028391", "0.50272214", "0.5009166", "0.5008265", "0.5006777", "0.49947742", "0.49890935", "0.4988408", "0.49879482", "0.49831864", "0.49753878", "0.49749288", "0.49735922", "0.49691954", "0.49614796", "0.49599394", "0.49469894", "0.4926687", "0.49216107", "0.49075073", "0.4903501", "0.49024802", "0.49004656", "0.48995355", "0.48857126", "0.48732436", "0.487253", "0.48722187", "0.48663378", "0.48502797", "0.48444906", "0.4842686", "0.48339263", "0.48332533", "0.48310292", "0.48189092", "0.48156518", "0.48131117", "0.48076332", "0.47977045", "0.4794942", "0.4794942", "0.4794942", "0.4794942", "0.4794942", "0.4794942", "0.4794942", "0.4794942", "0.4794942" ]
0.6890951
0
refresh table on refresh event
@Override public void onEventRaised(Event evt) { if (evt.equals(EventType.SLAVE_STATE_CHANGED)) { refreshSlaveTable(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void refreshTable() {\n data = getTableData();\n updateTable();\n }", "public void refresh() {\n calcDataInTable();\n fireTableDataChanged();\n\n}", "public void refreshTable() {\n\t\tmyTable.refreshTable();\n\t}", "public void refreshData() {\r\n\t\tfireTableDataChanged();\r\n\t\tgetTable().tableChanged(new TableModelEvent(this));\r\n\t}", "public void refresh() {\n\t\tgetTableViewer().refresh();\n\t}", "public void refreshJTable()\n {\n \n \n }", "synchronized void refresh() {\n\n\t\t// We must not call fireTableDataChanged, because that would clear the\n\t\t// selection in the task window\n\t\tfireTableRowsUpdated(0, size - 1);\n\n\t}", "private void refreshTable(){\n DefaultTableModel dm = (DefaultTableModel)table.getModel();\r\n dm.getDataVector().removeAllElements();\r\n System.out.println(\"Refresh Table\");\r\n\r\n //calling method addRows\r\n addRows();\r\n }", "public void refreshTable() {\r\n\t\t// THIS is the key method to ensure JTable view is synchronized\r\n\t\tjtable.revalidate();\r\n\t\tjtable.repaint();\r\n\t\tthis.revalidate();\r\n\t\tthis.repaint();\r\n\t}", "public void refreshFnkt() {\r\n\t\ttransactionList = refreshTransactions();\r\n\t\tfillTable();\r\n\t}", "private void refresh() {\n\t\t\tRunnable run = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif(table.isDisposed())return;\n\t\t\t\t\tviewer.refresh();\n\t\t\t\t}\t\t\t\n\t\t\t};\n\t\t\tDisplay.getDefault().asyncExec(run);\n\t\t}", "public static void refreshTable() {\n tableView.setItems(FXCollections.observableArrayList(customerVehicleIssueTable.getAllOpenCustomerVehicleIssues()));\n tableView.refresh();\n }", "final void refresh() {\n try {\n Class.forName(\"com.mysql.jdbc.Driver\");\n String conURL = \"jdbc:mysql://localhost/enoriadb?\"\n + \"user=root&password=\";\n java.sql.Connection con = DriverManager.getConnection(conURL);\n\n java.sql.PreparedStatement pstmt = con.prepareStatement(\"SELECT * FROM tblproducts ORDER BY id DESC\");\n ResultSet rs = pstmt.executeQuery();\n DefaultTableModel tblmodel = (DefaultTableModel) prodTBL.getModel();\n tblmodel.setRowCount(0);\n\n while (rs.next()) {\n tblmodel.addRow(new Object[]{rs.getString(\"id\"),\n rs.getString(\"P_name\"),\n rs.getString(\"Qty\"),\n rs.getString(\"price\")});\n }\n\n //TFrCode.requestFocus();\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(ProductClass.class.getName()).log(Level.SEVERE, null, ex);\n } catch (SQLException ex) {\n Logger.getLogger(ProductClass.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }", "private void refreshTable() {\n dataPanel.getModel().setRowCount(0);\n try {\n ResultSet resultSet = reg.get();\n while (resultSet.next()) {\n dataPanel.getModel().addRow(new Object[]{\n resultSet.getInt(\"id\"),\n resultSet.getString(\"first_name\"),\n resultSet.getString(\"last_name\"),\n resultSet.getString(\"username\"),\n resultSet.getString(\"password\"),\n resultSet.getInt(\"age\"),\n resultSet.getString(\"gender\"),\n });\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n }", "public void updatedTable() {\r\n\t\tfireTableDataChanged();\r\n\t}", "@Override\n public void onRefresh() {\n loadData();\n }", "@Override\n\tpublic void refresh() {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\t// Create local copy so table not backed by map ensuring thread\n\t\t\t\t// safety. This is done as an alternative to locking customers\n\t\t\t\t// whilst refreshing due to the reduced time the lock is required.\n\t\t\t\tCollection<Customer> customers;\n\t\t\t\tsynchronized (model.customers) {\n\t\t\t\t\t// Convert collection of values to set so serialisable\n\t\t\t\t\tfinal Set<Customer> modelCustomers = new HashSet<>(model.customers.values());\n\t\t\t\t\t// Cast safe due to known functionality of deep clone\n\t\t\t\t\tcustomers = (Collection<Customer>) SerializationUtils.deepClone(modelCustomers);\n\t\t\t\t}\n\t\t\t\t// Refresh using local copy\n\t\t\t\trefreshTable(new ArrayList<>(customers));\n\t\t\t}\n\t\t});\n\t}", "private void reloadShoppingCarTable() {\n\t\t\r\n\t}", "private void refreashTableView() {\n this.scoreboard.refresh();\n sortScoreboard();\n }", "public void refresh() {\n sqlTable = \"Select * from users, roles where users.role_ID = roles.Roles_ID ORDER BY users.user_ID ASC\";\n try{\n jTable1 = Domains.getTable(header, columns, sqlTable);\n jScrollPane1.getViewport().removeAll();\n jScrollPane1.getViewport().add(jTable1);\n jScrollPane1.repaint();\n }catch(Exception err){\n err.printStackTrace();\n }\n }", "public void refreshPressed() {\n //refresh the content of the tableView\n ObservableList<String[]> data = PresentationCtrl.getInstance().getHistories();\n tableView.setItems(data);\n }", "@Override\n public void onRefresh() {\n refreshData();\n }", "public void refresh() {\n }", "public void refresh()\n\t{\n\t\tLogger.debug(\"Updating executors table\", Level.GUI, this);\n\t\tm_executorsTable.refreshAll();\n\t\tupdateButtons();\n\t}", "public void refresh();", "public void refresh();", "public void refresh();", "public void refresh();", "public void refresh();", "public void refresh();", "public void refresh();", "private void reloadPlanTable() {\n\t\t\r\n\t}", "protected void refresh() {\n\t}", "private void refreshData() {\n try {\n setDataSource(statement.executeQuery(\"select * from \" + sourceTableName));\n } catch (SQLException e) {\n System.err.println(\"Can't execute statement\");\n e.printStackTrace();\n }\n }", "private void actuallyRefresh() {\n synchronized (this) {\n if (table != null) {\n table.recomputeModel(book, getDisplayedSecurities(), allowMissingPrices, timelySnapshotInterval);\n }\n }\n if (tablePane != null) {\n tablePane.setVisible(true);\n tablePane.revalidate();\n }\n }", "public void updateTable()\r\n {\r\n ((JarModel) table.getModel()).fireTableDataChanged();\r\n }", "@Override\n public void onRefresh() {\n load_remote_data();\n }", "public void reloadTable() {\n\n this.removeAllData();// borramos toda la data \n for (int i = 0; i < (list.size()); i++) { // este for va de la primera casilla hast ael largo del arreglo \n Balanza object = list.get(i);\n this.AddtoTable(object);\n }\n\n }", "public void refresh()\n {\n refresh( null );\n }", "protected void reloadAndReformatTableData()\n {\n logTable.loadAndFormatData();\n }", "public void Refresh()\r\n \t{\r\n\t try{\r\n\t\t rsTution=db.stmt.executeQuery(\"Select * from Tution\");\r\n\t\t rsTution.next();\r\n\t\t Display();\r\n\t }catch(SQLException sqle)\r\n\t {System.out.println(\"Refresh Error:\"+sqle);\r\n\t }\r\n \t}", "@Override\n public void refresh() {\n }", "@Override\n\tpublic void refresh() {\n\t\t\n\t}", "@Override\n\tpublic void refresh() {\n\t\t\n\t}", "@Override\n public void onRefresh() {\n getData();\n }", "@Override\n\tpublic void refresh() {\n\n\t}", "public abstract void refresh();", "public abstract void refresh();", "public abstract void refresh();", "void refresh();", "void refresh();", "void refresh();", "void refresh();", "void refresh();", "public void updateTable() {\n ((AbstractTableModel) table.getModel()).fireTableDataChanged();\n }", "@Override\n public void onRefresh() {\n\n GetFirstData();\n }", "abstract void refresh();", "@Override\r\n\tpublic void onRefresh() {\n\t\tloadFourmData(true);\r\n\t}", "private void refreshJTable() {\n\n\t\tConnection connection = null;\n\t\tStatement statement = null;\n\n\t\ttry {\n\t\t\tconnection = DriverManager.getConnection(DATABASE_URL, UserName_SQL, Password_SQL);\n\t\t\tstatement = connection.createStatement();\n\t\t\tResultSet resultSet = statement.executeQuery(\n\t\t\t\t\t\"SELECT customerID, productId, qtyProduct, invoiceDate, invoiceTime FROM invoice ORDER BY invoiceDate DESC, invoiceTime DESC\");\n\t\t\tResultSetMetaData metaData = resultSet.getMetaData(); /* create for the columns count */\n\t\t\tint numberOfColumns = metaData.getColumnCount(); /* get the number of columns for Query Table */\n\t\t\tint numberOfRows = getJTableNumberOfRows(); /* get the number of rows for Query Table */\n\t\t\tObject[][] data = new Object[numberOfRows][numberOfColumns]; /* create a storage for the database */\n\n\t\t\tmodel.getDataVector().removeAllElements(); /* remove JTable all elements */\n\n\t\t\t/* While loop for getting all database into object */\n\t\t\tint j = 0, k = 0;\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tfor (int i = 1; i <= numberOfColumns; i++) {\n\t\t\t\t\tdata[j][k] = resultSet.getObject(i);\n\t\t\t\t\tk++;\n\t\t\t\t}\n\t\t\t\tObject[] addRow = { data[j][0], data[j][1], data[j][2], data[j][3], data[j][4] };\n\t\t\t\tmodel.addRow(addRow);\n\t\t\t\tk = 0;\n\t\t\t\tj++;\n\t\t\t} // end while\n\t\t\t\t// model.fireTableDataChanged(); /* no use at the moment*/\n\t\t} // end try\n\t\tcatch (SQLException sqlException) {\n\t\t\tsqlException.printStackTrace();\n\t\t\tSystem.exit(1);\n\t\t} // end catch\n\t\tfinally // ensure statement and connection are closed properly\n\t\t{\n\t\t\ttry {\n\t\t\t\tstatement.close();\n\t\t\t\tconnection.close();\n\t\t\t} // end try\n\t\t\tcatch (Exception exception) {\n\t\t\t\texception.printStackTrace();\n\t\t\t\tSystem.exit(1);\n\t\t\t} // end catch\n\t\t} // end finally\n\t}", "private void UpdateTable() {\n\t\t\t\t\n\t\t\t}", "@Override\n public void refresh() {\n refresher.enqueueRefresh();\n }", "private void updateTable() {\n updateTableData();\n TableModelEvent e = new TableModelEvent(articleTableModel);\n\n articleTable.tableChanged(e);\n }", "public void update() {\n tableChanged(new TableModelEvent(this));\n }", "private void refresh(){\r\n if (!clientList.isEmpty()){\r\n clientList.clear();\r\n clientList = FXCollections.observableArrayList(Client.clientList());\r\n } \r\n table.setItems(clientList);\r\n }", "public abstract void refreshing();", "@Override\n public void refreshDataEntries() {\n }", "private void repopulateTableForDelete()\n {\n clearTable();\n populateTable(null);\n }", "protected void refresh()\n {\n refresh(System.currentTimeMillis());\n }", "@Override\n public void onRefresh() {\n }", "@Override\n\tpublic void refreshData(){\n\t\tpageNum = 1;\n\t\tlist.clear();\n\t\tloadData();\n\t}", "public void refreshTablePanel(String records[][]) {\r\n tableModel.setDataVector(records, tableHeaders);\r\n }", "@Override\r\n\tpublic void onRefresh() {\n\r\n\t}", "@Override\r\n\t\t\tpublic void onRefresh() {\n\t\t\t\tgetLichHoc();\r\n\t\t\t}", "public void refresh() {\n\t\tgetData();\n\t\trender();\n\t}", "private void refreshTableForUpdate()\n {\n //Was updating the values but don't believe this is necessary, as like budget items\n //a loss amount will stay the same unless changed by the user (later on it might be the\n //case that it can increase/decrease by a percentage but not now...)\n /*\n BadBudgetData bbd = ((BadBudgetApplication) this.getApplication()).getBadBudgetUserData();\n for (MoneyLoss loss : bbd.getLosses())\n {\n TextView valueView = valueViews.get(loss.expenseDescription());\n valueView.setText(BadBudgetApplication.roundedDoubleBB(loss.lossAmount()));\n }\n */\n }", "@Override\n public void reloadGridsData() {\n \n }", "@Override\n\tpublic void onRefresh() {\n\t\tpage = 1;\n\t\tSystem.out.println(\"onRefresh1\");\n\t\tmyList.clear();\n\t\tSystem.out.println(\"onRefresh2\");\n\t\tgetData();\n\t}", "@FXML private void refreshData(){\n\t\tclearFields();\n\t\treadUsers();\n\t\tshowUsers();\n\t\trefreshInformationsFromTableView(null);\n\t}", "public void doUpdateTable() {\r\n\t\tlogger.info(\"Actualizando tabla books\");\r\n\t\tlazyModel = new LazyBookDataModel();\r\n\t}", "@Override\n\tprotected void getDataRefresh() {\n\t\t\n\t}", "public void refresh() {\r\n\t\tinit();\r\n\t}", "@Override\r\n\t\t\tpublic void onRefresh() {\n\r\n\t\t\t}", "public void refreshGUI() {\n try {\n // get all clerk theough the DAO to a tempory List\n List<Clerk> clerkList = clerkDAO.getAllClerk();\n\n // create the model and update the \"table\"\n ClerkTableModel model = new ClerkTableModel(clerkList);\n table.setModel(model);\n\n } catch (Exception exc) {\n JOptionPane.showMessageDialog(ClerkViewer.this, \"Error: \" + exc, \"Error\", JOptionPane.ERROR_MESSAGE);\n }\n }", "@Override\n\tpublic void onRefresh() {\n\n\t}", "public void refreshAll() {\n}", "@Override\n public void onRefresh() {\n }", "public void Refresh()\n\t{\n\t}", "private void repopulateTableForAdd()\n {\n clearTable();\n populateTable(null);\n }", "public static void triggerRefresh() {\n TableView transplantWaitingList = (TableView) App.getWindow().getScene()\n .lookup(\"#transplantWaitingList\");\n if (transplantWaitingList == null) {\n // Handle case were accountsList is not initialised.\n throw new NullPointerException(\n \"TableView object 'transplantWaitingList' is not initialised in the main window.\");\n } else {\n // Trigger instantiated update.\n transplantWaitingList.refresh();\n }\n }", "public void refresh() {\n getIndexOperations().refresh();\n }", "@Override\n public void onRefresh() {\n synchronizeContent();\n }", "@Transactional(readOnly = true)\n\tpublic void refresh() {\n\t\tswitch (actualView) {\n\t\tcase LIST:\n\t\t\trefreshList();\n\t\t\tbreak;\n\t\tcase EDIT:\n\t\t\t// refreshForm(); // TODO\n\t\t\tbreak;\n\t\t}\n\t}", "public void reloadRoomTable() {\r\n\t\t// controller for table methods\r\n\t\tIntfCtrlGenericTables genericTablesController = new CtrlGenericTables();\r\n\t\t// set the Semester label\r\n\t\tthis.lblvaluesemester_.setText(ViewManager.getInstance()\r\n\t\t\t\t.getCoreBaseTab().getComboBoxSemesterFilter().getSelectedItem()\r\n\t\t\t\t.toString());\r\n\t\t// get the room allocations from the temprary storage\r\n\t\tList<IntfRoomAllocation> roomAllocationList = this.roomAllocList_;\r\n\t\t// call the reload method\r\n\t\tgenericTablesController.reloadTable(getStundenplanTable(),\r\n\t\t\t\troomAllocationList, true, true);\r\n\r\n\t\t// Set the maximum size of the scroll pane (don't forget to add the\r\n\t\t// table header!)\r\n\t\tscrollPane_.setMaximumSize(new Dimension(32767, ((int) timetableTable_\r\n\t\t\t\t.getPreferredSize().getHeight() + 26)));\r\n\t\tthis.updateUI();\r\n\t}", "private void refreshTableForEdit()\n {\n BadBudgetData bbd = ((BadBudgetApplication) this.getApplication()).getBadBudgetUserData();\n for (MoneyLoss loss : bbd.getLosses())\n {\n TextView valueView = valueViews.get(loss.expenseDescription());\n TextView frequencyView = frequencyViews.get(loss.expenseDescription());\n TextView nextLossView = nextLossViews.get(loss.expenseDescription());\n\n valueView.setText(BadBudgetApplication.roundedDoubleBB(loss.lossAmount()));\n frequencyView.setText(BadBudgetApplication.shortHandFreq(loss.lossFrequency()));\n nextLossView.setText(BadBudgetApplication.dateString(loss.nextLoss()));\n }\n\n double total = getLossTotal(BadBudgetApplication.DEFAULT_TOTAL_FREQUENCY);\n this.totalAmountView.setText(BadBudgetApplication.roundedDoubleBB(total));\n this.totalFreqView.setText(BadBudgetApplication.shortHandFreq(BadBudgetApplication.DEFAULT_TOTAL_FREQUENCY));\n\n //Should also reset the budget row to the default freq\n double budgetTotal = BudgetSetActivity.getBudgetItemTotal(this, BadBudgetApplication.DEFAULT_TOTAL_FREQUENCY);\n this.budgetAmountView.setText(BadBudgetApplication.roundedDoubleBB(budgetTotal));\n this.budgetFreqView.setText(BadBudgetApplication.shortHandFreq(BadBudgetApplication.DEFAULT_TOTAL_FREQUENCY));\n }", "private void jButtonRefreshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonRefreshActionPerformed\n // TODO add your handling code here:\n refreshDatabaseTables();\n }", "public void reloadData() {\n\t\tinitializeStormData();\n\t\tsuper.reloadData();\n\t}", "Snapshot refresh();", "@Override\n\t\tpublic void onRefresh() {\n\t\t\tloadInfo(1, 0);\n\t\t}", "private void loadData(){\n Dh.refresh();\n }", "@Override\n public void onRefresh() {\n updateListings();\n new GetDataTask().execute();\n }", "public void reload(){\n populateList();\n }" ]
[ "0.8391871", "0.83580077", "0.8244073", "0.80488396", "0.78698766", "0.77911794", "0.766687", "0.76434106", "0.75811356", "0.7386529", "0.7370868", "0.7320721", "0.7317911", "0.72794795", "0.7277001", "0.72448486", "0.7240147", "0.7200344", "0.71998334", "0.71651626", "0.714378", "0.71186996", "0.70993674", "0.7095715", "0.7046396", "0.7046396", "0.7046396", "0.7046396", "0.7046396", "0.7046396", "0.7046396", "0.70418507", "0.7026418", "0.69825834", "0.6972643", "0.6936859", "0.69007206", "0.6893952", "0.6893752", "0.6890508", "0.68877524", "0.68826336", "0.6875469", "0.6875469", "0.6874741", "0.68438274", "0.68273276", "0.68273276", "0.68273276", "0.6806339", "0.6806339", "0.6806339", "0.6806339", "0.6806339", "0.6792979", "0.67851955", "0.6784924", "0.6777726", "0.6760919", "0.67529804", "0.67480606", "0.6726283", "0.6725977", "0.67252946", "0.6715222", "0.6710053", "0.6697642", "0.66903794", "0.6684936", "0.6658682", "0.6651753", "0.6648564", "0.6631848", "0.6622716", "0.6610966", "0.6607022", "0.66012806", "0.660045", "0.65844876", "0.65797174", "0.65491074", "0.6546485", "0.6545176", "0.6541247", "0.65394664", "0.6531519", "0.6523796", "0.65109694", "0.65101653", "0.65009445", "0.65000325", "0.64995915", "0.6493545", "0.6476807", "0.64724994", "0.6468972", "0.6464705", "0.6462688", "0.6457337", "0.6455103", "0.64375013" ]
0.0
-1
A rule for applicationspecific objects. Rule determines whether given object has correct data.
public interface Rule<T> { /** * Validate the supplied target object. * * @param regData the object that is to be validated (can be null) * @param errors contextual state about the validation process */ void validate(T regData, Errors errors); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean validCheckForObject(final AtlasObject object)\n {\n return object instanceof Edge\n // Make sure that the object has an iso_country_code\n && object.getTag(ISOCountryTag.KEY).isPresent()\n // Make sure that the edges are instances of roundabout\n && JunctionTag.isRoundabout(object)\n // And that the Edge has not already been marked as flagged\n && !this.isFlagged(object.getIdentifier())\n // Make sure that we are only looking at master edges\n && ((Edge) object).isMasterEdge()\n // Check for excluded highway types\n && !this.isExcludedHighway(object);\n }", "@Override\r\n\tpublic boolean validate(Object object) {\n\t\treturn this.validate(object);\r\n\t}", "@Override\r\n\tpublic boolean validaObj() {\n\t\treturn false;\r\n\t}", "public abstract boolean canHandle(ObjectInformation objectInformation);", "@Test\n\tpublic void testClassIsValidDataObject() throws Exception {\n\t\tDataObjectTester<LeaderboardRanking> tester = new DataObjectTester<>(LeaderboardRanking.class,\n\t\t\t\tleaderboardRanking);\n\t\ttester.run();\n\t}", "public boolean evaluateWithObject(java.lang.Object object){\n return false; //TODO codavaj!!\n }", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "boolean hasObject();", "public boolean validateFurnitureItem(Object object) {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "abstract public boolean isMainBusinessObjectApplicable(Object mainBusinessObject);", "@Override\n public boolean validateObject(MongoTemplate obj) {\n return true;\n }", "@Override\n\t\tpublic boolean matches(EObject eObject) {\n\t\t\treturn false;\n\t\t}", "protected boolean isObject() {\n long mark = 0;\n try {\n mark = this.createMark();\n boolean bl = this.getObject() != null;\n return bl;\n }\n catch (MathLinkException e) {\n this.clearError();\n boolean bl = false;\n return bl;\n }\n finally {\n if (mark != 0) {\n this.seekMark(mark);\n this.destroyMark(mark);\n }\n }\n }", "@Override\n\tpublic boolean isObjectTypeExpected() {\n\t\treturn false;\n\t}", "protected boolean findObject(Object obj){\n \n }", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "public boolean validate(Object o){\r\n\t\treturn false;\r\n\t}", "boolean mo10605a(Object obj);", "protected boolean isObjectDataBinding(String text)\n\t{\n\t\tif (text!= null && RegexpPatterns.REGEXP_CRUX_OBJECT_DATA_BINDING.matcher(text).matches())\n\t\t{\n\t\t\tString[] parts = ViewFactoryCreator.getDataObjectParts(text);\n\t\t\treturn (DataObjects.getDataObject(parts[0]) != null);\n\t\t}\n\t\treturn false;\n\t}", "public static boolean isValidSrMetadata(Objective obj) {\n long meta = 0;\n if (obj instanceof FilteringObjective) {\n FilteringObjective filtObj = (FilteringObjective) obj;\n if (filtObj.meta() == null) {\n return true;\n }\n Instructions.MetadataInstruction metaIns = filtObj.meta().writeMetadata();\n if (metaIns == null) {\n return true;\n }\n meta = metaIns.metadata() & metaIns.metadataMask();\n } else if (obj instanceof ForwardingObjective) {\n ForwardingObjective fwdObj = (ForwardingObjective) obj;\n if (fwdObj.meta() == null) {\n return true;\n }\n MetadataCriterion metaCrit = (MetadataCriterion) fwdObj.meta().getCriterion(Criterion.Type.METADATA);\n if (metaCrit == null) {\n return true;\n }\n meta = metaCrit.metadata();\n }\n return meta != 0 && (meta ^ METADATA_MASK) <= METADATA_MASK;\n }", "@Override\n public boolean isObject() {\n return false;\n }", "void validate(T object);", "default boolean checkDbObj(Object object) {\n return false;\n }", "boolean isConditionFullfilled(DataObject object, HttpServletRequest req) throws ASGRuntimeException;", "public boolean isNotASummarizedObject() {\n checkNotPolymorphicOrUnknown();\n if (object_labels == null) {\n return true;\n }\n for (ObjectLabel object_label : object_labels) {\n if (!object_label.isSingleton()) {\n return false;\n }\n }\n return true;\n }", "static public boolean isSavable(Object obj) {\n\tboolean rc = false;\n\n\tif ((obj instanceof Short) ||\n\t (obj instanceof Integer) ||\n\t (obj instanceof Long) ||\n\t (obj instanceof Float) ||\n\t (obj instanceof Double) ||\n\t (obj instanceof Boolean) ||\n\t (obj instanceof String) ||\n\t (obj instanceof Byte) ||\n\t (obj instanceof Color) ||\n\t (obj instanceof Font) ||\n\t (obj instanceof Rectangle2D) ||\n\t (obj instanceof AffineTransform) ||\n\t (obj instanceof Image) ||\n\t (obj instanceof ZSerializable)) {\n\t rc = true;\n\t}\n\n\treturn rc;\n }", "protected abstract boolean processData(Object data);", "public boolean isValid(T object) throws PoolException {\n return true;\n }", "public void testEqualsObject() {\n\t\t\tTipoNodoLeisure tipo1 = new TipoNodoLeisure(Messages.getString(\"TipoNodoLeisureTest.0\")); //$NON-NLS-1$\n\t\t\tTipoNodoLeisure tipo2= new TipoNodoLeisure(Messages.getString(\"TipoNodoLeisureTest.1\")); //$NON-NLS-1$\n\t\t\tTipoNodoLeisure tipo3= new TipoNodoLeisure(Messages.getString(\"TipoNodoLeisureTest.2\")); //$NON-NLS-1$\n\t\t\tif (tipo1 != tipo1)\n\t\t\t\tfail(Messages.getString(\"TipoNodoLeisureTest.3\")); //$NON-NLS-1$\n\t\t\tif (!tipo1.equals(tipo2))\n\t\t\t\tfail(Messages.getString(\"TipoNodoLeisureTest.4\"));\t\t\t //$NON-NLS-1$\n\t\t\tif (tipo1.equals(tipo3))\n\t\t\t\tfail(Messages.getString(\"TipoNodoLeisureTest.5\"));\t //$NON-NLS-1$\n\t\t}", "boolean isCustom(Object custom);", "public boolean evaluate(Object obj) {\n\t\tif (authorityData.size() == 0) {\n\t\t\treturn true;\n\t\t}\n\t\tif (obj instanceof Map) {\n\t\t\tMap record = (Map) obj;\n\t\t\tif (record.get(field) != null) {\n\t\t\t\tString data = record.get(field).toString();\n\n\t\t\t\treturn (pos ? authorityData.containsKey(data) : !authorityData\n\t\t\t\t\t\t.containsKey(data));\n\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public abstract boolean isObject(T type);", "public boolean handlesObject(Object object);", "@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }", "private static void validate(final Object object) {\n if (object instanceof Object[]) {\n final Object[] array = (Object[]) object;\n for (int idx = 1; idx < array.length; ++idx) {\n SameDimensionCheck.validate(array[0], array[idx]);\n }\n }\n }", "public static boolean m60891a(Object obj) {\n if (obj instanceof Feed) {\n if (m60884a((Feed) obj) != NullDispatcherHolder.class) {\n return true;\n }\n return false;\n } else if (obj instanceof TemplateFeed) {\n if (m60886a((TemplateFeed) obj) != NullDispatcherHolder.class) {\n return true;\n }\n return false;\n } else if (!(obj instanceof MarketCardModel) || m60887a((MarketCardModel) obj) != NullDispatcherHolder.class) {\n return true;\n } else {\n return false;\n }\n }", "public boolean doesNotMatch(NakedObject nakedObject);", "public boolean isObject() {\n return false;\n }", "public static boolean isCycLObject(Object obj) {\n return (obj instanceof CycObject ||\n obj instanceof InferenceParameters ||\n obj instanceof Boolean ||\n obj instanceof String ||\n obj instanceof Integer ||\n obj instanceof Long ||\n obj instanceof BigInteger ||\n obj instanceof Guid || //@hack this is wrong GUIDs are not CycL objects --APB\n obj instanceof Float ||\n obj instanceof Double);\n }", "boolean isAttribute(Object object);", "protected boolean isValidData() {\n return true;\n }", "private void validateUserObject(User user) {\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Rule)) {\n return false;\n }\n Rule other = (Rule) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "private void validateUserObject(User user) {\n }", "private void validateUserObject(User user) {\n\t }", "@Override\n\t\tpublic boolean addCheckNodeObject(Node node, IRdfModel rdfModelObject) {\n\t\t\treturn false;\n\t\t}", "public boolean valid(Object obj) {\n return !validator.valid(obj);\n }", "protected boolean isPrimitiveObject(Object object) {\r\n return PropertyType.PRIMITIVE.equals(determinePropertyType(object));\r\n }", "@Test\n\tpublic void testEqualsObject_True() {\n\t\tbook3 = new Book(DEFAULT_TITLE, DEFAULT_AUTHOR, DEFAULT_YEAR, DEFAULT_ISBN);\n\t\tassertEquals(book1, book3);\n\t}", "public /* bridge */ /* synthetic */ boolean mo23140a(C7059Ec ec, Object obj) {\n return super.mo23140a(ec, obj);\n }", "@Override\r\n\tpublic boolean equals(Object ob){\n\t\tItem itemob=(Item)ob;\t//transfer object type to Item type\r\n\t\tif(this.UID==itemob.UID && this.TITLE==itemob.TITLE && this.NOOFCOPIES==itemob.NOOFCOPIES) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "protected void checkAfterAnalyse(AbstractObjectWapper<?> srcObject, AbstractObjectWapper<?> destObject) {\n\t}", "void checkReconstructible() throws InvalidObjectException {\n // subclasses can override\n }", "@Test\n\tpublic void validObjectShouldValidate() {\n\t\tT validObject = buildValid();\n\t\tAssertions.assertThat(isValid(validObject))\n\t\t\t\t.as(invalidMessage(validObject))\n\t\t\t\t.isTrue();\n\t}", "public IValidationResult isValid(T object);", "@Override\r\n\tpublic boolean hasObjectOption1(GlobalObject obj) {\n\t\treturn false;\r\n\t}", "@Override\r\n\tpublic boolean hasObjectOption1(GlobalObject obj) {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic Boolean validate(Object obj) throws BusinessException {\n\t\treturn null;\n\t}", "@Override\n\t\tpublic boolean validateObject(Object key, Object obj) {\n\t\t\tTConnection tc = (TConnection) obj;\n\t\t\tboolean result = false;\n\t\t\ttry {\n\t\t\t\tbyte[] k = \"foo\".getBytes();\n\t\t\t\tint partition = keyPartitioner.getPartition(k);\n\t\t\t\tKey keyK = new Key(ByteBuffer.wrap(k));\n\t\t\t\tkeyK.setPartition(partition);\n\t\t\t\tGetRequest request = new GetRequest(keyK);\n\t\t\t\tboolean b = tc.kv.exists(request);\n\t\t\t\tresult = true;\n\t\t\t} catch(Exception e) {\n\t\t\t}\n\t\t\treturn result;\n\t\t}", "public void checkValid(ObjectEntity object) {\n if (object == null) {\n throw new SgtBackendRequirementException(\"No se ha especificado un tipo de objeto\");\n }\n\n if (object.getRepository() == null) {\n throw new SgtBackendRequirementException(\"No hay ninguna entidad asociada\");\n }\n\n if (!objectEntityRepository.existsById(object.getCode())) {\n throw new SgtBackendRequirementException(\"La entidad objeto \" + object.getCode() + \" no existe\");\n }\n }", "public void testObjectAttribute() throws IOException {\n Attribute attribute = new Attribute();\n Request request = EasyMock.createMock(Request.class);\n EasyMock.replay(request);\n boolean exceptionFound = false;\n\n attribute.setValue(SAMPLE_INT);\n try {\n container.render(attribute, request);\n } catch (CannotRenderException e) {\n exceptionFound = true;\n }\n\n assertTrue(\"An attribute of 'object' type cannot be rendered\", exceptionFound);\n }", "@Test\n\tpublic void test_TCM__boolean_equals_Object() {\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\");\n\n assertFalse(\"attribute equal to null\", attribute.equals(null));\n\n final Object object = attribute;\n assertTrue(\"object not equal to attribute\", attribute.equals(object));\n assertTrue(\"attribute not equal to object\", object.equals(attribute));\n\n // current implementation checks only for identity\n// final Attribute clonedAttribute = (Attribute) attribute.clone();\n// assertTrue(\"attribute not equal to its clone\", attribute.equals(clonedAttribute));\n// assertTrue(\"clone not equal to attribute\", clonedAttribute.equals(attribute));\n\t}", "public boolean checkAccess(HasUuid object) {\n // Allow newly-instantiated objects\n if (!wasResolved(object)) {\n return true;\n }\n // Allow anything when there are no roles in use\n if (getRoles().isEmpty()) {\n return true;\n }\n Principal principal = getPrincipal();\n // Check for superusers\n if (!principalMapper.isAccessEnforced(principal, object)) {\n return true;\n }\n\n List<PropertyPath> paths = typeContext.getPrincipalPaths(object.getClass());\n PropertyPathChecker checker = checkers.get();\n for (PropertyPath path : paths) {\n path.evaluate(object, checker);\n if (checker.getResult()) {\n return true;\n }\n }\n addWarning(object, \"User %s does not have permission to edit this %s\", principal,\n typeContext.getPayloadName(object.getClass()));\n return false;\n }", "public abstract boolean collisionWith(CollisionObject obj);", "public void checkSaveObjectData() {\r\n\t\tif (this.objectDescriptionTabItem != null) this.objectDescriptionTabItem.checkSaveObjectData();\r\n\t}", "@Override\n\tpublic boolean isSatisfied(Object arg0, Object arg1, OValContext arg2,\n\t\t\tValidator arg3) throws OValException {\n\t\treturn false;\n\t}", "public boolean hasObject(){\n return _object != null;\n }", "@Override\n public int validate(Object object, Object value, Errors errors) {\n AMEEUnitType thisUnitType = (AMEEUnitType) object;\n if (thisUnitType != null) {\n if (!unitService.isUnitTypeUniqueByName(thisUnitType)) {\n errors.rejectValue(\"name\", \"duplicate\");\n }\n }\n return ValidationSpecification.CONTINUE;\n }", "void mo3207a(Object obj);", "protected boolean filterOutObject(PhysicalObject object) {\n return false;\n }", "boolean isValid(PooledObject<T> t);", "@SuppressWarnings(\"unchecked\")\n \tpublic static boolean isDataWatcher(final Object obj) {\n \t\treturn getDataWatcherClass().isAssignableFrom(obj.getClass());\n \t}", "boolean add(Object object) ;", "public boolean equal(Object obj) {\n\t\tif((super.equal(obj))==false) {return false;}\n\t\tif (!(this.purpose).equals(((Airborne)obj).purpose)) {return false;}\n\t\treturn true;\n\t}", "private static int m6083a(Object obj) {\n if (obj == null) {\n return 1;\n }\n if (obj == Undefined.f6689a) {\n return 0;\n }\n if (obj instanceof CharSequence) {\n return 4;\n }\n if (obj instanceof Number) {\n return 3;\n }\n if (obj instanceof Boolean) {\n return 2;\n }\n if (obj instanceof Scriptable) {\n if (obj instanceof NativeJavaClass) {\n return 5;\n }\n if (obj instanceof NativeJavaArray) {\n return 7;\n }\n if (obj instanceof Wrapper) {\n return 6;\n }\n return 8;\n } else if (obj instanceof Class) {\n return 5;\n } else {\n if (obj.getClass().isArray()) {\n return 7;\n }\n return 6;\n }\n }", "@Test\n public void testConstructTaintFromObjectLabel() {\n Integer label = 5;\n Taint t = Taint.withLabel(label);\n assertTrue(t.containsOnlyLabels(new Object[]{label}));\n }", "protected void processDataObject() throws Exception\r\n\t{\r\n\t\tif (maximalRecordsToPass > 0 && currentPassedRecord > maximalRecordsToPass)\r\n\t\t{\r\n\t\t\t// simulate conversion end\r\n\t\t\tendDocument();\r\n\t\t\tthrow new RuntimeException(\"Converter ended after \"\t+ maximalRecordsToPass\t+ \" records (this is debug mode)\");\r\n\t\t}\r\n\t\tDataObject dataObject = getDataObject();\r\n\t\tObjectRule rule = dataObject.getDataObjectRule();\r\n\n\t\tString subject = null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tValue checkedSubjectValue = rule.checkConditionsAndGetSubject(dataObject);\n\t\t\tif (checkedSubjectValue != null) {\n\t\t\t\tsubject = checkedSubjectValue.getValue();\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new Exception(\"Problem with preprocessor on object rule\\n\"\t+ getDataObject().getDataObjectRule().toString(), e);\r\n\t\t}\r\n\r\n\t\tif (subject == null)\r\n\t\t{\r\n\t\t\t// this object should be ignored, remove unprocessed children from the\r\n\t\t\t// queue\r\n\t\t\tfor (DataObject childDataObject : dataObject.findAllChildren())\r\n\t\t\t{\r\n\t\t\t\tif (childDataObject == dataObject)\r\n\t\t\t\t\tthrow new Exception(\"Internal error: when removing child object fo the parent that should not be converted - a child is the same as the father\");\r\n\t\t\t\tpartsCompleted.remove(childDataObject);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t// process this object\r\n\t\t\ttry\r\n\t\t\t{\n\t\t\t\trule.processDataObject(subject, this);\r\n\t\t\t}\r\n\t\t\tcatch (Exception e)\r\n\t\t\t{\n\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\"Exception with running property rules on object rule\\n\"\r\n\t\t\t\t\t\t+ getDataObject().getDataObjectRule().toString(), e);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private boolean checkForbiddenObjs(\r\n\t\t\tfinal OrdinaryMorphism nac,\r\n\t\t\tfinal Graph g,\r\n\t\t\tfinal Iterator<?> iter,\r\n\t\t\tfinal List<GraphObject> toCreate) {\r\n\t\t\r\n\t\tboolean found = false;\r\n\t\t\r\n\t\twhile (iter.hasNext()) {\r\n\t\t\tGraphObject elem = (GraphObject) iter.next();\r\n\t\t\tif (!nac.getInverseImage(elem).hasMoreElements()) {\r\n\t\t\t\tType t = elem.getType();\r\n\t\t\t\t// check RHS of rule\r\n\t\t\t\tfor (int i=0; i<toCreate.size(); i++) {\r\n\t\t\t\t\tGraphObject newgo = toCreate.get(i);\r\n\t\t\t\t\tif (elem.isNode()) {\r\n\t\t\t\t\t\tif (t.isParentOf(newgo.getType())) {\r\n\t\t\t\t\t\t\tfound = true;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (t == newgo.getType()\r\n\t\t\t\t\t\t\t\t&& ((Arc)elem).getSource().getType().isParentOf(((Arc)newgo).getSource().getType())\r\n\t\t\t\t\t\t\t\t&& ((Arc)elem).getTarget().getType().isParentOf(((Arc)newgo).getTarget().getType())) {\r\n\t\t\t\t\t\t\tfound = true;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (!found) {\r\n\t\t\t\t\t// check graph\r\n\t\t\t\t\tHashtable<String, HashSet<GraphObject>> \r\n\t\t\t\t\ttype2objects = g.getTypeObjectsMap();\r\n\t\t\t\t\tif (elem.isNode()) {\r\n\t\t\t\t\t\tString key = elem.convertToKey();\r\n\t\t\t\t\t\tif (type2objects.get(key) != null\r\n\t\t\t\t\t\t\t\t&& !type2objects.get(key).isEmpty()) {\r\n\t\t\t\t\t\t\tfound = true;\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tString key = ((Arc) elem).convertToKey();\r\n\t\t\t\t\t\tif (type2objects.get(key) != null\r\n\t\t\t\t\t\t\t\t&& !type2objects.get(key).isEmpty()) {\r\n\t\t\t\t\t\t\tfound = true;\r\n\t\t\t\t\t\t}\t\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\t\t\t\t\r\n\t\t\t}\r\n\t\t}\t\t\r\n\t\treturn found;\r\n\t}", "public void validateObject(Object object) throws AppointmentInvalidInputException {\r\n\t\ttry {\r\n\t\t\tobject.toString();\r\n\t\t}catch(NullPointerException exception) {\r\n\t\t\tthrow new AppointmentNotFoundException(String.format(AppointmentConstants.INVALID_INPUT, object), exception);\r\n\t\t}\r\n\t}", "ObjectSelectionRule createObjectSelectionRule();", "public boolean equals(Object object) {\n boolean bl = true;\n boolean bl2 = false;\n if (this == object) {\n return true;\n }\n boolean bl3 = bl2;\n if (object == null) return bl3;\n bl3 = bl2;\n if (this.getClass() != object.getClass()) return bl3;\n object = (BPMeasurementsDescription)object;\n if (this.userName != null) {\n bl3 = bl2;\n if (!this.userName.equals(((BPMeasurementsDescription)object).userName)) return bl3;\n } else if (((BPMeasurementsDescription)object).userName != null) {\n return false;\n }\n if (this.date != null) {\n bl3 = bl2;\n if (!this.date.equals(((BPMeasurementsDescription)object).date)) return bl3;\n } else if (((BPMeasurementsDescription)object).date != null) {\n return false;\n }\n if (this.sys != null) {\n bl3 = bl2;\n if (!this.sys.equals(((BPMeasurementsDescription)object).sys)) return bl3;\n } else if (((BPMeasurementsDescription)object).sys != null) {\n return false;\n }\n if (this.dia != null) {\n bl3 = bl2;\n if (!this.dia.equals(((BPMeasurementsDescription)object).dia)) return bl3;\n } else if (((BPMeasurementsDescription)object).dia != null) {\n return false;\n }\n if (this.pulse == null) {\n if (((BPMeasurementsDescription)object).pulse != null) return false;\n return bl;\n }\n bl3 = bl;\n if (this.pulse.equals(((BPMeasurementsDescription)object).pulse)) return bl3;\n return false;\n }", "public synchronized boolean add(ContentObject obj) {\n if (null == data) {\n this.data = obj;\n return true;\n } else {\n _stats.increment(StatsEnum.ContentObjectsIgnored);\n if (Log.isLoggable(Log.FAC_NETMANAGER, Level.WARNING)) Log.warning(Log.FAC_NETMANAGER, \"{0} is not handled - data already pending\", obj.name());\n return false;\n }\n }", "boolean isDocument(Object object);", "@Test\n public void testObjFunction() {\n for (XGBoostMojoModel.ObjectiveType type : XGBoostMojoModel.ObjectiveType.values()) {\n assertNotNull(type.getId());\n assertFalse(type.getId().isEmpty());\n // check we have an implementation of ObjFunction\n assertNotNull(XGBoostJavaMojoModel.getObjFunction(type.getId()));\n }\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Acarsdata)) {\r\n return false;\r\n }\r\n Acarsdata other = (Acarsdata) object;\r\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public ValidateObject(String requestId, LocalDate onDate, O object) {\n this.requestId = requestId;\n this.onDate = onDate;\n this.object = object;\n }", "@Test\n public void collidableObjects() {\n radar.loop();\n assertTrue(radar.getObjectsSeenByRadar().stream().anyMatch(t -> t.getId().equals(\"roadsign_speed_40_1\")));\n assertFalse(radar.getObjectsSeenByRadar().stream().anyMatch(t -> t.getId().equals(\"parking_2\")));\n }", "@SuppressWarnings(\"unchecked\")\n public boolean stillExists(Object obj) {\n \treturn true;\n }", "public abstract void mo1184a(Object obj);", "public abstract boolean ContainsContactObjects();", "@Override\n\tpublic boolean checkData() {\n\t\treturn false;\n\t}", "@Override\n\tpublic void check() throws ApiRuleException {\n\t\t\n\t}", "private void assertIsType(SymObject object) {\n assertIsOfKind(object, SymObject.KIND_TYPE,\n object.name + \" can't be resolved to a type\");\n }" ]
[ "0.6405629", "0.6312128", "0.6196425", "0.5967659", "0.5967012", "0.59502786", "0.594578", "0.594578", "0.594578", "0.594578", "0.594578", "0.594578", "0.594578", "0.5904973", "0.58956665", "0.5877121", "0.58612806", "0.5839447", "0.58134955", "0.57982856", "0.57766265", "0.575959", "0.575959", "0.575959", "0.57572407", "0.57365304", "0.56820685", "0.56691974", "0.56439465", "0.5639596", "0.5627393", "0.56260437", "0.56150323", "0.5588686", "0.5578162", "0.5568189", "0.5559638", "0.55546504", "0.5553744", "0.5552468", "0.55287486", "0.55241734", "0.55178213", "0.55061823", "0.54759", "0.547392", "0.54710394", "0.5460327", "0.54355097", "0.5428117", "0.5402117", "0.5398102", "0.539642", "0.53874546", "0.538458", "0.5378675", "0.5362249", "0.53620446", "0.5354079", "0.5342845", "0.5341449", "0.53304917", "0.5329289", "0.5328413", "0.5328413", "0.5324806", "0.5323244", "0.5311718", "0.53112996", "0.5308062", "0.5307577", "0.5306839", "0.5302231", "0.52829593", "0.5279691", "0.5269784", "0.5258863", "0.52583915", "0.52529764", "0.52512324", "0.52417266", "0.5225629", "0.5223954", "0.5221628", "0.5219672", "0.5216673", "0.5215241", "0.5214715", "0.52081066", "0.52011275", "0.51973236", "0.5181383", "0.517457", "0.51597667", "0.51595104", "0.5157697", "0.51570785", "0.51519823", "0.51506215", "0.51461947", "0.51454383" ]
0.0
-1
Validate the supplied target object.
void validate(T regData, Errors errors);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void validate(Object target, Errors errors) {\n\t }", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\t\n\t}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\t\n\t\t\n\t}", "public void validate(Object target, Errors errors) {\n\t\tInvoiceDTO invoiceDTO = (InvoiceDTO) target;\n\t\tif(invoiceDTO.getQuantity() <= 0) {\n\t\t\terrors.rejectValue(\"quantity\", \"msg.wrong\");\n\t\t}\n \t\t\n\t}", "@Override\r\n\tpublic boolean validate(Object object) {\n\t\treturn this.validate(object);\r\n\t}", "@Override\n\tpublic IStatus validate(IValidationContext ctx) {\n\n\t\tEObject target = ctx.getTarget();\n\n\t\tif (query.check(target)) {\n\t\t\treturn ctx.createSuccessStatus();\n\t\t} else {\n\t\t\t// OCL constraints only support the target object as an extraction\n\t\t\t// variable and result locus, as OCL has no way to provide\n\t\t\t// additional extractions. Also, there is no way for the OCL\n\t\t\t// to access the context object\n\t\t\tfinal CustomTypeHandlersService service = OCLActivator.getDefault().getService(CustomTypeHandlersService.class);\n\n\t\t\treturn ctx.createFailureStatus(service.wrapObjectIfNeeded(target));\n\t\t}\n\t}", "void validate(T object);", "public boolean validate(Object o){\r\n\t\treturn false;\r\n\t}", "public void validate(Object target, Errors errors) {\n\t\tAuthorDTO authorDTO = (AuthorDTO) target;\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"name\", \"msg.required\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"code\", \"msg.required\");\n\t\tif(!StringUtils.isEmpty(authorDTO.getCode()) && !StringUtils.isEmpty(authorDTO.getName())) {\n\t\t\tList<AuthorDTO> authorDTOs = authorService.findByProperty(\"code\", authorDTO.getCode());\n\t\t\tif(authorDTOs !=null && !authorDTOs.isEmpty()) {\n\t\t\t\tif(authorDTO.getId() != 0) {\n\t\t\t\t\tAuthorDTO dto = authorService.findById(authorDTO.getId());\n\t\t\t\t\tif(!dto.getCode().equals(authorDTO.getCode())) {\n\t\t\t\t\t\tif(!authorDTOs.isEmpty()) {\t\t\t\t\t\t\n\t\t\t\t\t\t\terrors.rejectValue(\"code\", \"msg.code.exist\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tif(!authorDTOs.isEmpty()) {\n\t\t\t\t\t\terrors.rejectValue(\"code\", \"msg.code.exist\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (object != null) {\n object.validate();\n }\n }", "@Override\r\n\tpublic void validate(Object target, Errors errors) {\n\t\tUser user = (User) target;\r\n\t\t//System.out.println(\"user\"+user.getUsername());\r\n\t\tif(!StringUtils.hasText(user.getUsername()))\r\n\t\t{\r\n\t\t\tSystem.out.println(\"uname\");\r\n\t\t\terrors.rejectValue(\"username\", \"error.username.empty\");\r\n\t\t}\r\n\t\tif(!StringUtils.hasText(user.getPassword()))\r\n\t\t{\t\r\n\t\t\tSystem.out.println(\"pwd\");\r\n\t\t\terrors.rejectValue(\"password\", \"error.password.empty\");}\r\n\t\t\r\n\t}", "@Override\n public void validate (Object target, Errors errors) {\n if (errors.hasErrors()) {\n return;\n }\n\n validateProposedWorkout(errors, (ProposedWorkoutDTO) target);\n }", "@Test\n\tpublic void validObjectShouldValidate() {\n\t\tT validObject = buildValid();\n\t\tAssertions.assertThat(isValid(validObject))\n\t\t\t\t.as(invalidMessage(validObject))\n\t\t\t\t.isTrue();\n\t}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\tVoyage voyageValidator=(Voyage) target;\n\t\tif(voyageValidator.getDepartureDate()==null)\n\t\t\terrors.rejectValue(\"departureDate\", \"\",\"departureDate.required\");\n\t\tif(voyageValidator.getDepartureHourId()==null)\n\t\t\terrors.rejectValue(\"departureHour\", \"\",\"departureHourId.required\");\n\t\tif(voyageValidator.getPathId()==null)\n\t\t\terrors.rejectValue(\"path\", \"\",\"pathId.required\");\n\t\tif(!Utils.isNumeric(voyageValidator.getNumberOfPlace()+\"\"))\n\t\t\terrors.rejectValue(\"numberOfPlace\", \"\",\"numberOfPlace.numeric\");\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (sourceCharged != null) {\n sourceCharged.validate();\n }\n if (targetDeposit != null) {\n targetDeposit.validate();\n }\n }", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "public void validateObjectMetier() throws NSValidation.ValidationException {\n\n\t}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors,\"nombre\",\"NotEmpty.usuario.nombre\");\n\t\t\n\t\t//if(usuario.getIdentificador().matches(\"[0-9]{2}[.][0-9]{3}[.][0-9]{3}[-][A-Z]{1}\") == false){\n\t\t//\terrors.rejectValue(\"identificador\", \"Pattern.usuario.identificador\");\n\t\t//}\n\t}", "@Override\n\tpublic boolean validObject() {\n\t\treturn valid;\n\t}", "public abstract void validateCommand(FORM target, Errors errors);", "@Override\r\n\tpublic void validate(Object target, Errors errors) {\n\t\tUsuario usuario = (Usuario)target; // se castea al objeto tipo usuario\r\n\t\t\r\n\t\t//clase helpers de spring, rejectIfEmptyOrWhitespace se le pasa el error, el campo y el mensaje del error (mandamos al properties) \r\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"nombre\", \"requerido.usuario.nombre\"); //Reject the given field with the given error code if the value is emptyor just contains whitespace.\r\n\t\t\r\n\t\t// si el identificador no coincide con la expresion regular\r\n\t\tif(!usuario.getIdentificador().matches(\"[0-9]{2}[.][\\\\d]{3}[.][\\\\d]{3}[-][A-Z]{1}\")) {\r\n\t\t\terrors.rejectValue(\"identificador\", \"pattern.usuario.identificador\");// se le manda el campo y el mensaje de error del properties\r\n\t\t}\r\n\r\n\t}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"title\", \"field.required\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"description\", \"field.required\");\n\t\t\n\t\tProduct product = (Product) target;\n\t\tif(product.getPages()==0){\n\t\t\terrors.rejectValue(\"pages\", \"field.required\");\n\t\t}\n\t}", "private void validateUserObject(User user) {\n }", "@Override\n\tpublic void validate(Object arg0, Errors arg1) {\n\n\t}", "public boolean valid(Object obj) {\n return !validator.valid(obj);\n }", "public void validate(Object object)\n throws ValidationException\n {\n validate(object, (ClassDescriptorResolver)null);\n }", "public IValidationResult isValid(T object);", "private void validateUserObject(User user) {\n }", "@Test(expected = IllegalArgumentException.class)\n\tpublic void testErroneousObjPropTargetShape() throws IllegalArgumentException {\n\t GraphRequestModel requestModel = createCustomPropertyGraphRequestModel();\n\t requestModel.setObjPropTargetShape(SPACE);\n\t GraphRequestValidator.validateRequest(requestModel);\n\t}", "@Override\r\n\tpublic boolean validaObj() {\n\t\treturn false;\r\n\t}", "@Override\r\n public void validate() {\r\n }", "private void validateUserObject(User user) {\n\t }", "void validate(Inspector inspector) throws ValidationException;", "@Override\n\tpublic void validate(Object obj, Errors errors) {\n\t\tReservationCommand command = (ReservationCommand)obj; \n\t\tReservation reservation = command.getReservation();\n\t\t\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"reservation.numOfPeople\", \"NUMOFPEOPLE_REQUIRED\", \"num of people is required.\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"reservation.visit_date\", \"VISIT_DATE_REQUIRED\", \"visit date is required.\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"reservation.visit_time\", \"VISIT_TIME_REQUIRED\", \"visit time is required.\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"reservation.name\", \"NAME_REQUIRED\", \"name is required.\");\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"reservation.phone\", \"PHONE_REQUIRED\", \"Phone number is required.\");\n\n\t\t\n\t}", "protected ForInstanceCheck(Class<?> target) {\n this.target = target;\n }", "@Override\r\n\tpublic void validate() {\n\t\t\r\n\t}", "public void validate() throws org.apache.thrift.TException {\n if (!is_set_destApp()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'destApp' is unset! Struct:\" + toString());\n }\n\n if (!is_set_destPellet()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'destPellet' is unset! Struct:\" + toString());\n }\n\n if (!is_set_data()) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'data' is unset! Struct:\" + toString());\n }\n\n // check for sub-struct validity\n }", "public void validate(Object obj, Errors arg1) {\n\t\tForumInfo f=(ForumInfo)obj;\n\t}", "void checkReconstructible() throws InvalidObjectException {\n // subclasses can override\n }", "@Override\n public boolean validCheckForObject(final AtlasObject object)\n {\n return object instanceof Edge\n // Make sure that the object has an iso_country_code\n && object.getTag(ISOCountryTag.KEY).isPresent()\n // Make sure that the edges are instances of roundabout\n && JunctionTag.isRoundabout(object)\n // And that the Edge has not already been marked as flagged\n && !this.isFlagged(object.getIdentifier())\n // Make sure that we are only looking at master edges\n && ((Edge) object).isMasterEdge()\n // Check for excluded highway types\n && !this.isExcludedHighway(object);\n }", "public void validate() {}", "public boolean isValid(T object) throws PoolException {\n return true;\n }", "protected void validate() {\n // no op\n }", "@Override\n\tpublic void validate()\n\t{\n\n\t}", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\n\t\tUser user= (User) target;\n\t\t\n\t\tif (!(user.getEmail() != null && user.getEmail().isEmpty())) \n\t\t{ \n\t\t\tpattern = Pattern.compile(EMAIL_PATTERN); \n\t\t\tmatcher = pattern.matcher(user.getEmail()); \n\t\t\tif (!matcher.matches())\n\t\t\t { \n\t\t\t\terrors.rejectValue(\"email\",null,\"Enter a correct email\"); \n\t\t\t } \n\t\t}\t\n\t\t\n\t\t}", "@Override\n\tpublic Boolean validate(Object obj) throws BusinessException {\n\t\treturn null;\n\t}", "@Override\n\tpublic void validate() {\n\t}", "@Override\n public boolean validateObject(MongoTemplate obj) {\n return true;\n }", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "boolean isValid(PooledObject<T> t);", "public ValidateObject(String requestId, LocalDate onDate, O object) {\n this.requestId = requestId;\n this.onDate = onDate;\n this.object = object;\n }", "protected void validate() {\n // no implementation.\n }", "static void checkTargetClass(Class<?> targetClass)\n {\n if (targetClass == null)\n {\n throw new IllegalArgumentException(\"Target class must not be null!\");\n }\n }", "public static void validate(Object obj) {\n try {\n getMonitorTags(obj);\n } catch (Exception e) {\n throw new IllegalArgumentException(\n \"invalid MonitorTags annotation on object \" + obj, e);\n }\n\n List<AnnotatedAttribute> attrs = getMonitoredAttributes(obj);\n if (attrs.isEmpty()) {\n throw new IllegalArgumentException(\n \"no Monitor annotations on object \" + obj);\n }\n String ctype = obj.getClass().getCanonicalName();\n for (AnnotatedAttribute attr : attrs) {\n Monitor m = attr.getAnnotation();\n Object value = null;\n try {\n value = attr.getValue();\n } catch (Exception e) {\n throw new IllegalArgumentException(\n \"failed to get value for \" + m + \" on \" + ctype, e);\n }\n\n if (m.type() != DataSourceType.INFORMATIONAL) {\n String vtype = (value == null)\n ? null\n : value.getClass().getCanonicalName();\n Number n = asNumber(value);\n if (n == null) {\n throw new IllegalArgumentException(\n \"expected java.lang.Number, but received \" + vtype +\n \" for \" + m + \" on \" + ctype);\n }\n }\n }\n }", "public ValidateObject() {\n this.requestId = UUID.randomUUID().toString();\n }", "@Override\r\n public boolean validate() {\n return true;\r\n }", "protected boolean validateLocation (BodyObject source, Location loc)\n {\n return true;\n }", "@Override\n\tpublic void validate(Object pTarget, Errors pErrors) {\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(pErrors, TITLE_ATTRIBUTE_NAME, ERROR_CODE_REQUIRED_ATTRIBUTE);\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(pErrors, DESCRIPTION_ATTRIBUTE_NAME, ERROR_CODE_REQUIRED_ATTRIBUTE);\n\t\t\n\t\tProduct product = (Product) pTarget;\n\t\t\n\t\tif ( product.getPages() <= 0 ) {\n\t\t\tpErrors.rejectValue(PAGES_ATTRIBUTE_NAME, ERROR_CODE_REQUIRED_ATTRIBUTE);\n\t\t}\n\t}", "public void validate(Object obj, Errors errors) {\n\t\t\n\t\tBooking booking = (Booking) obj;\n\t\t\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"aptNo\", \"error.invalid.aptNo\", \"Apartment Number Required\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"street\", \"error.invalid.street\", \"Street Required\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"city\", \"error.invalid.city\", \"City Required\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"state\", \"error.invalid.state\", \"State Required\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"zipCode\", \"error.invalid.zipCode\", \"Zipcode Required\");\n \n\t}", "@Override\r\n\tprotected void validate() {\n\t}", "public void validate(Object target, Errors errors) {\n\t\tPwChangeCommand pw = (PwChangeCommand) target;\n\t\tValidationUtils.rejectIfEmpty(errors, \"pw\", \"required\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"newPw\", \"required\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"reNewPw\", \"required\");\n\t\tif(!pw.getNewPw().isEmpty()) {\n\t\t\tif(!pw.getNewPw().equals(pw.getReNewPw())) {\n\t\t\t\terrors.rejectValue(\"reNewPw\", \"nomatch\");\n\t\t\t}\n\t\t}\n\t\t\n\t}", "protected void checkAfterAnalyse(AbstractObjectWapper<?> srcObject, AbstractObjectWapper<?> destObject) {\n\t}", "public void validate(Object obj, Errors errors) {\n\t\tSystem.out.println(\" ------------------------ in validator ----------------,,,\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"username\", \"user.name.empty\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"password\", \"user.password.empty\");\n\t\t/*ValidationUtils.rejectIfEmpty(errors, \"exist\", \"user.exist.empty\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"notexist\", \"user.notexist.empty\");\n\t\tLoginBean lb = (LoginBean) obj;\n\t\tif(!lb.isExist()){\n\t\t\terrors.rejectValue(\"exist\", \"user.exist.empty\");\n\t\t}*/\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testErroneousSubclassOfTargetShape() throws IllegalArgumentException {\n GraphRequestModel requestModel = createCustomClassGraphRequestModel();\n requestModel.setSubclassOfTargetShape(SPACE);\n GraphRequestValidator.validateRequest(requestModel);\n }", "public void validate(Object obj, Errors errors)\n {\n User user = (User) obj;\n //errors.rejectValue(\"userName\", \"error.userName.required\",\"User name or password incorrect!\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"userName\", \"error.invalid.name\", \"UserName Required\");\n ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"passWord\", \"error.invalid.password\", \"Password Required\");\n \n UserDAO userDao = new UserDAO();\n try {\n User temp = userDao.get(user.getUserName(), user.getPassWord());\n if(temp == null){\n errors.rejectValue(\"userName\", \"error.userName.required\",\"User name or password incorrect!\");\n }\n } catch (AdException ex) {\n Logger.getLogger(MyAccountValidator.class.getName()).log(Level.SEVERE, null, ex);\n errors.rejectValue(\"userName\", \"error.userName.required\",\"User or password incorrect!\");\n }\n userDao.close();\n }", "protected abstract Object validateParameter(Object constraintParameter);", "private void checkMandatoryArgs(UserResource target, Errors errors) {\n final String proc = PACKAGE_NAME + \".checkMandatoryArgs.\";\n final String email = target.getEmail();\n final String password = target.getPassword();\n final String lastName = target.getLastName();\n\n logger.debug(\"Entering: \" + proc + \"10\");\n\n if (TestUtils.isEmptyOrWhitespace(email)) {\n errors.rejectValue(\"email\", \"user.email.required\");\n }\n logger.debug(proc + \"20\");\n\n if (TestUtils.isEmptyOrWhitespace(password)) {\n errors.rejectValue(\"password\", \"user.password.required\");\n }\n logger.debug(proc + \"30\");\n\n if (TestUtils.isEmptyOrWhitespace(lastName)) {\n errors.rejectValue(\"lastName\", \"userLastName.required\");\n }\n logger.debug(\"Leaving: \" + proc + \"40\");\n }", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean validate() {\n\t\treturn true;\r\n\t}", "public void checkValid(ObjectEntity object) {\n if (object == null) {\n throw new SgtBackendRequirementException(\"No se ha especificado un tipo de objeto\");\n }\n\n if (object.getRepository() == null) {\n throw new SgtBackendRequirementException(\"No hay ninguna entidad asociada\");\n }\n\n if (!objectEntityRepository.existsById(object.getCode())) {\n throw new SgtBackendRequirementException(\"La entidad objeto \" + object.getCode() + \" no existe\");\n }\n }", "public abstract boolean validate();", "public void validate() {\n\t\tClass<?> clazz = this.getModelObject().getClass();\n\t\tif (!ArenaUtils.isObservable(clazz)) {\n\t\t\tthrow new RuntimeException(\"La clase \" + clazz.getName() + \" no tiene alguna de estas annotations \" + ArenaUtils.getRequiredAnnotationForModels() + \" que son necesarias para ser modelo de una vista en Arena\");\n\t\t}\n\t\t// TODO: Validate children bindings?\n\t}", "ValidationResponse validate();", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\t\n\t\tLoginModel form = (LoginModel) target;\n\t\t \n\t if(form.getUsername().length()<1)\n\t {\n\t \tValidationUtils.rejectIfEmptyOrWhitespace(errors, \"username\", \"valid.username\");\n\t }\n\t \n\t if(form.getPassword().length()<1)\n\t {\n\t \t ValidationUtils.rejectIfEmptyOrWhitespace(errors, \"password\", \"valid.password\");\n\t }\n\n\t \n\t \n\t else if(form.getUsername().length()>1 && form.getPassword().length()>1)\n\t {\n\t \t DatabaseConnector connector = new DatabaseConnector();\n\t \t //System.out.println(\"the password is \"+DatabaseUtil.getCredentials(connector.getConnection(), form.getUsername(), form.getPassword()).get(0).getPassword());\n\t \t if(LoginHelper.getCredentials(connector.getConnection(), form.getUsername(), form.getPassword()).isEmpty())\n\t \t {\n\t \t \tValidationUtils.rejectIfEmpty(errors, \"loginCredentialError\", \"valid.loginCredential\");\n\t \t }\n\t }\n\t\t\n\t}", "private void validate() {\n\n if (this.clsname == null)\n throw new IllegalArgumentException();\n if (this.dimension < 0)\n throw new IllegalArgumentException();\n if (this.generics == null)\n throw new IllegalArgumentException();\n }", "void validate();", "void validate();", "public static void validate(ObjectReference objectReference, String objRefType, String objName)\n throws InvalidArgumentException {\n if (objectReference == null) {\n throw new InvalidArgumentException(\n String.format(\"%s of %s must not be null.\", objRefType, objName));\n } else if (objectReference.getCompany() == null || objectReference.getCompany().isEmpty()) {\n throw new InvalidArgumentException(\n String.format(\"Company of %s of %s must not be empty\", objRefType, objName));\n } else if (objectReference.getType() == null || objectReference.getType().length() == 0) {\n throw new InvalidArgumentException(\n String.format(\"Type of %s of %s must not be empty\", objRefType, objName));\n } else if (objectReference.getValue() == null || objectReference.getValue().length() == 0) {\n throw new InvalidArgumentException(\n String.format(\"Value of %s of %s must not be empty\", objRefType, objName));\n }\n }", "@Override\n\tpublic void validate(CarRegistrationNumber object) {\n\t}", "@Override\n protected Result validate() {\n return successful(this);\n }", "@Override\n public void validate(Object o, Errors errors)\n {\n ParametersSelectedForTourPackages parametersSelectedForTourPackages = (ParametersSelectedForTourPackages) o;\n String minDay = parametersSelectedForTourPackages.getMinDay();\n String maxDay = parametersSelectedForTourPackages.getMaxDay();\n\n if (minDay != null && maxDay != null\n && !minDay.isEmpty() && !maxDay.isEmpty()\n && Integer.parseInt(minDay) > Integer.parseInt(maxDay))\n {\n errors.rejectValue(\"minDay\", \"illegal.range.days\");\n }\n\n String minPrice = parametersSelectedForTourPackages.getMinPrice();\n String maxPrice = parametersSelectedForTourPackages.getMaxPrice();\n\n if (minPrice != null && maxPrice != null\n && !minPrice.isEmpty() && !maxPrice.isEmpty()\n && Integer.parseInt(minPrice) > Integer.parseInt(maxPrice))\n {\n errors.rejectValue(\"minPrice\", \"illegal.range.prices\");\n }\n }", "@Override\n\tpublic void validate(Object target, Errors errors) {\n\t\tConvenzioneForm convenzioneForm = (ConvenzioneForm) target;\n\t\t\n\t\t// Validazione del campo nome\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaNome(convenzioneForm.getNome());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo cognome\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaCognome(convenzioneForm.getCognome());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\t\t\n\t\t\n\t\t// Validazione del campo indirizzo\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaIndirizzo(convenzioneForm.getIndirizzo());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo sesso\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaSesso(convenzioneForm.getSesso());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo ruolo\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaRuolo(convenzioneForm.getRuolo());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo email\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaEmail(convenzioneForm.getEmail());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo password\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaPassword(convenzioneForm.getPassword());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo confermaPsw\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaConfermaPassword(convenzioneForm.getPassword(), convenzioneForm.getConfermaPassword());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo condizioniDelegato\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaCondizioniDelegato(convenzioneForm.getCondizioniDelegato());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo ragioneSociale\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaRagioneSociale(convenzioneForm.getRagioneSociale());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo sede\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaSede(convenzioneForm.getSede());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\t\t\n\t\t\n\t\t// Validazione del campo piva\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaPiva(convenzioneForm.getpIva());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo settore\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaSettore(convenzioneForm.getSettore());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo descrizione\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaDescrizione(convenzioneForm.getDescrizione());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t\t\n\t\t// Validazione del campo condizioniAzienda\n\t\ttry {\n\t\t\trichiestaConvenzionamentoService.validaCondizioniAzienda(convenzioneForm.getCondizioniAzienda());\n\t\t} catch (RichiestaConvenzionamentoNonValidaException e) {\n\t\t\terrors.reject(e.getTarget(), e.getMessage());\n\t\t}\n\t}", "public void validate(Object object, ClassDescriptorResolver resolver)\n throws ValidationException\n {\n if (object == null) {\n throw new ValidationException(\"Cannot validate a null object.\");\n }\n if (!getJavaClass().isAssignableFrom(object.getClass())) {\n String err = \"The given object is not an instance of the class\"+\n \" described by this ClassDecriptor.\";\n throw new ValidationException(err);\n }\n\n switch (_compositor) {\n\n case CHOICE:\n\n boolean found = false;\n XMLFieldDescriptor fieldDesc = null;\n //-- handle elements, affected by choice\n for (int i = 0; i < elementDescriptors.size(); i++) {\n XMLFieldDescriptor desc =\n (XMLFieldDescriptor) elementDescriptors.get(i);\n FieldHandler handler = desc.getHandler();\n\n if (handler.getValue(object) != null) {\n //Special case if we have a Vector, an ArrayList\n //or an Array --> need to check if it is not empty\n if (desc.isMultivalued()) {\n Object temp = handler.getValue(object);\n //-- optimize this?\n if (java.lang.reflect.Array.getLength(temp) == 0) {\n temp = null;\n continue;\n }\n temp = null;\n }\n\n if (found) {\n String err = null;\n if (desc.isContainer()) {\n err = \"The group '\" + desc.getFieldName();\n err += \"' cannot exist at the same time that \";\n if (fieldDesc.isContainer())\n err += \"the group '\" + fieldDesc.getFieldName();\n else err += \"the element '\" + fieldDesc.getXMLName();\n err +=\"' also exists.\";\n }\n else {\n err = \"The element '\" + desc.getXMLName();\n err += \"' cannot exist at the same time that \";\n err += \"element '\" + fieldDesc.getXMLName() + \"' also exists.\";\n }\n throw new ValidationException(err);\n }\n found = true;\n fieldDesc = desc;\n\n FieldValidator fieldValidator = desc.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n }//for\n\n //if there is nothing, we check if at least one field is required\n //and print the grammar that the choice must match.\n if (!found) {\n StringBuffer buffer = new StringBuffer(40);\n boolean error = false;\n for (int i = 0; i < elementDescriptors.size(); i++) {\n XMLFieldDescriptor desc = (XMLFieldDescriptor) elementDescriptors.get(i);\n FieldValidator fieldValidator = desc.getValidator();\n if (fieldValidator.getMinOccurs() > 0) {\n error = true;\n buffer.append('(');\n buffer.append(desc.getXMLName());\n buffer.append(\") \");\n }\n }\n if (error) {\n String err = \"In the choice contained in <\"+ this.getXMLName()\n +\">, at least one of these elements must appear:\\n\"\n + buffer.toString();\n throw new ValidationException(err);\n }\n\n }\n //-- handle attributes, not affected by choice\n for (int i = 0; i < attributeDescriptors.size(); i++) {\n XMLFieldDescriptor desc =\n (XMLFieldDescriptor) attributeDescriptors.get(i);\n FieldValidator fieldValidator = desc.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n //-- handle content, not affected by choice\n if (contentDescriptor != null) {\n FieldValidator fieldValidator = contentDescriptor.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n break;\n //-- Currently SEQUENCE is handled the same as all\n case SEQUENCE:\n //-- ALL\n default:\n //-- handle elements\n for (int i = 0; i < elementDescriptors.size(); i++) {\n XMLFieldDescriptor desc =\n (XMLFieldDescriptor) elementDescriptors.get(i);\n FieldValidator fieldValidator = desc.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n //-- handle attributes\n for (int i = 0; i < attributeDescriptors.size(); i++) {\n XMLFieldDescriptor desc =\n (XMLFieldDescriptor) attributeDescriptors.get(i);\n FieldValidator fieldValidator = desc.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n //-- handle content\n if (contentDescriptor != null) {\n FieldValidator fieldValidator = contentDescriptor.getValidator();\n if (fieldValidator != null)\n fieldValidator.validate(object, resolver);\n }\n break;\n }\n\n }", "@Override\n\tpublic void selfValidate() {\n\t\t\n\t}", "@Override\n public boolean isValid() {\n if(width < 0){\n return false;\n }\n\n if(height < 0){\n return false;\n }\n\n //no null objects\n if(origin == null){\n return false;\n }\n\n if(color == null){\n return false;\n }\n\n //if texture doesn't exist, sprite is not buildable\n if(!Gdx.files.internal(texture).exists()){\n Gdx.app.log(TAG, \"Texture cannot be found: \" + texture);\n return false;\n }\n\n return true;\n }", "@Override\n\tpublic boolean isSatisfied(Object arg0, Object arg1, OValContext arg2,\n\t\t\tValidator arg3) throws OValException {\n\t\treturn false;\n\t}", "public AbstractObjectAssert<?,?> validationError() {\n return Assertions.assertThat(validationError(Object.class));\n }", "private void assertTargetNotNull() throws IllegalStateException {\n if (this.targetInstance == null || this.targetName == null)\n throw new IllegalStateException(\"Target field name or target instance is null.\");\n }", "@Test(expected = IllegalArgumentException.class)\n\tpublic void testErroneousObjPropSourceShape() throws IllegalArgumentException {\n\t GraphRequestModel requestModel = createCustomPropertyGraphRequestModel();\n\t requestModel.setObjPropSourceShape(SPACE);\n\t GraphRequestValidator.validateRequest(requestModel);\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testErroneousTypeOfTargetShape() throws IllegalArgumentException {\n GraphRequestModel requestModel = createCustomIndividualGraphRequestModel();\n requestModel.setTypeOfTargetShape(SPACE);\n GraphRequestValidator.validateRequest(requestModel);\n }", "public T caseValidation(Validation object) {\n\t\treturn null;\n\t}", "@Override\r\n\t\tpublic boolean validateDrop(Object target, int operation, TransferData transferType) {\n\t\t\treturn true;\r\n\t\t}", "void validate() throws ValidationException;", "boolean canHandle(Object source, TypeToken<?> targetTypeToken);", "protected abstract boolean isValid();", "public void validate() throws ValidationException {\r\n/* 522 */ Validator validator = new Validator();\r\n/* 523 */ validator.validate(this);\r\n/* */ }", "public void validate() throws org.apache.thrift.TException {\n if (op == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'op' was not present! Struct: \" + toString());\n }\n // check for sub-struct validity\n }", "@Override\n\tpublic void validate(Object obj, Errors errors) {\n\n\t\tUser user = (User) obj;\n\t\t\n\t\t // Check validate for values in form\n\t\tValidationUtils.rejectIfEmpty(errors, \"user_fullName\", \"user.user_fullName.emplty\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"user_mail\", \"user.user_mail.emplty\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"user_passWord\", \"user.user_passWord.emplty\");\n\t\tValidationUtils.rejectIfEmpty(errors, \"role_id\", \"user.role_id.emplty\");\n\n\t\tPattern pattern = Pattern.compile(\"^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\\\.[A-Z]{2,6}$\", Pattern.CASE_INSENSITIVE);\n\t\tif (!(pattern.matcher(user.getUser_mail()).matches())) {\n\t\t\terrors.rejectValue(\"user_mail\", \"user.user_mail.invalid\");\n\t\t}\n\n\t\tif (user.getUser_fullName().length() <= 3 || user.getUser_fullName().length() >= 50) {\n\t\t\terrors.rejectValue(\"user_fullName\", \"user.user_fullName.limit\");\n\t\t}\n\n\t\tif (user.getUser_passWord().length() <= 4 || user.getUser_passWord().length() >= 15) {\n\t\t\terrors.rejectValue(\"user_passWord\", \"user.user_passWord.limit\");\n\n\t\t}\n\n\t}", "@Override\r\n\tpublic void validate(Object object, Errors error) {\n\t\t\r\n\t\tStudent student = (Student)object;\r\n\t\t\r\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(error, \"name\", \"valid.name\");\r\n\t\tValidationUtils.rejectIfEmptyOrWhitespace(error, \"address\", \"valid.address\");\r\n\t\r\n\t\tif(student.getName().length() < 5){\r\n\t\t\terror.rejectValue(\"name\", \"valid.name.min.required\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n public void validateOnDelete(Object object) {\n }" ]
[ "0.7403877", "0.73158455", "0.72946876", "0.67275214", "0.6644854", "0.663728", "0.6534916", "0.647433", "0.63166475", "0.627885", "0.62506545", "0.6238298", "0.6200014", "0.61723524", "0.60628", "0.6003592", "0.6003592", "0.6003592", "0.59952486", "0.5988793", "0.59393305", "0.59184164", "0.5903298", "0.5859818", "0.5856203", "0.5818618", "0.5814984", "0.58010644", "0.5787", "0.5782027", "0.57378036", "0.5704628", "0.5692302", "0.5666354", "0.56507325", "0.56211334", "0.5596859", "0.5589101", "0.5587554", "0.55808836", "0.5579981", "0.55770606", "0.5572119", "0.5568859", "0.5557842", "0.5544909", "0.55417377", "0.5534796", "0.5529443", "0.55273736", "0.55259335", "0.55149686", "0.54899085", "0.5489028", "0.54885995", "0.54727876", "0.54618835", "0.5458505", "0.54513896", "0.5439522", "0.5437218", "0.5431171", "0.5427759", "0.54119456", "0.53962207", "0.53868574", "0.5383733", "0.53796357", "0.5377433", "0.5377433", "0.5360365", "0.53468716", "0.53382146", "0.5324292", "0.5302532", "0.52922964", "0.52921873", "0.52921873", "0.52908957", "0.5287385", "0.5270051", "0.5268909", "0.5258027", "0.52398247", "0.52177215", "0.5216257", "0.5212878", "0.5211939", "0.52099717", "0.51971054", "0.51930225", "0.51907456", "0.5187935", "0.5184434", "0.51796395", "0.5159895", "0.5142609", "0.5141172", "0.5125038", "0.5116281", "0.5110912" ]
0.0
-1
Description : Action Performed by Assign button.
public final void actionPerformed(final ActionEvent actionEvent) { ViewEditDescriptionListener.LOGGER.info("Enter ViewEditDescriptionListener:actionPerformed()"); String priorityCode = null; DcsMessagePanelHandler.clearAllMessages(); if (controller.getDefaultSPFilterTablePanel() != null && controller.getDefaultSPFilterTablePanel().getTable() != null) { final int selectedRowCount = controller.getDefaultSPFilterTablePanel().getTable().getSelectedRowCount(); if (selectedRowCount == 1) { final int selectedRow = controller.getDefaultSPFilterTablePanel().getTable().getSelectedRow(); if (controller.getDefaultSPFilterTablePanel().getTable().getValueAt(selectedRow, 2) != null) { priorityCode = controller.getDefaultSPFilterTablePanel().getTable().getValueAt(selectedRow, 2) .toString(); } final DefaultTableModel dm = (DefaultTableModel) controller.getDefaultSPFilterTablePanel().getModel(); JFrame parentFrame = NGAFParentFrameUtil.getParentFrame().getNGAFParentFrame(); final StandbyPriorityUtil standbyPriorityUtil = new StandbyPriorityUtil(parentFrame, dm.getValueAt(selectedRow, THREE).toString(), priorityCode, controller, selectedRow); //if (standbyPriorityUtil != null) { ViewEditDescriptionListener.LOGGER.info("ViewEditDescriptionListener:actionPerformed()" + standbyPriorityUtil); //} } } ViewEditDescriptionListener.LOGGER.info("Exit ViewEditDescriptionListener:actionPerformed()"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void chooseOptionAssignToOnBulkActionsDropDown() {\n getLogger().info(\"Choose option: Assign to.\");\n clickElement(optionAssignTo, \"Assign To Option\");\n }", "void onSaveAssignmentClick(View view);", "public void chooseOptionAssignToAssigneeOnBulkActionsDropDownWithName(String assigneeName) {\n getLogger().info(String.format(\"Choose Assignee '%s' in Bulk Dropdown list\", assigneeName));\n try {\n String listUser = \"\";\n boolean result = false;\n clickElement(optionAssignTo, \"Assign To Option\");\n for (int i = 0; i < childItemAssigneeBulkDrpEle.size(); i++) {\n listUser = childItemAssigneeBulkDrpEle.get(i).getText();\n if (listUser.contains(assigneeName)) {\n result = clickElement(childItemAssigneeBulkDrpEle.get(i), \"Child Item Assignee\");\n NXGReports.addStep(\"Choose first assignee(any) to assign.\", LogAs.PASSED, null);\n break;\n }\n }\n if (result) {\n NXGReports.addStep(\"Choose first assignee(any) to assign.\", LogAs.PASSED, null);\n } else {\n // getDriver().findElement(By.xpath(\"//button[contains(text(),'\" + assigneeName + \"')]\")).click();\n getLogger().info(String.format(\"Cannot choose assignee '%s' in Bulk Dropdown list\", assigneeName));\n AbstractService.sStatusCnt++;\n NXGReports.addStep(\"Fail: Choose first assignee(any) to assign.\", LogAs.FAILED,\n new CaptureScreen(CaptureScreen.ScreenshotOf.BROWSER_PAGE));\n }\n } catch (Exception ex) {\n getLogger().info(ex);\n AbstractService.sStatusCnt++;\n NXGReports\n .addStep(\"Fail: Choose first assignee(any) to assign.\", LogAs.FAILED, new CaptureScreen(CaptureScreen.ScreenshotOf.BROWSER_PAGE));\n }\n }", "public void actionPerformed(ActionEvent arg0) \n\t\t\t{\n\t\t\t\tatten = 2;\n\t\t\t\te.overrideStatus(marker, atten);\n\t\t\t\tgr.respring();\n\t\t\t\t//PrintServ.print(\"Wtf\");\n\t\t\t\ttry {\n\t\t\t\t\te.save();\n\t\t\t\t\tnew RestartToSaveChanges().setVisible(true);\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t//PrintServ.exc.add(e1);\n\t\t\t\t\tnew Errors.AMDNCError(\n\t\t\t\t\t\t\tErrors.EHAND.Type.THROWN, //TYPE\n\t\t\t\t\t\t\t\"AttendanceOptions.java \"//CLASS\n\t\t\t\t\t\t\t+ \"AttendanceOptions(Event e, long marker, GetReport gr) \"//METHOD\n\t\t\t\t\t\t\t+ \"btnPresent.ActionListener\"//<<EXTRA>>\n\t\t\t\t\t\t\t, \"Unable to save Event E\" //DESCRIPTION\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tao.dispose();\n\t\t\t}", "public void actionPerformed(ActionEvent arg0) {\n\t\t\t\tjdbc.assignQuals(lastClickeduserID, availQuals, listAvailableQuals.getSelectedIndices());\n\t\t\t\tcreateQualLists(lastClickeduserID);\n\t\t\t}", "public void setAction(String action);", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public String getAssignid() {\n return assignid;\n }", "@Override\n\tpublic void setAction() {\n\t}", "public void actionOffered();", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t\t\t}", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tSaveAction();\r\n\t\t\t\r\n\t\t}", "public void actionPerformed(ActionEvent arg0) \n\t\t\t{\n\t\t\t\tatten = 1;\n\t\t\t\te.overrideStatus(marker, atten);\n\t\t\t\tgr.respring();\n\t\t\t\ttry {\n\t\t\t\t\te.save();\n\t\t\t\t\tnew RestartToSaveChanges().setVisible(true);\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t//PrintServ.exc.add(e1);\n\t\t\t\t\tnew Errors.AMDNCError(\n\t\t\t\t\t\t\tErrors.EHAND.Type.THROWN, //TYPE\n\t\t\t\t\t\t\t\"AttendanceOptions.java \"//CLASS\n\t\t\t\t\t\t\t+ \"AttendanceOptions(Event e, long marker, GetReport gr) \"//METHOD\n\t\t\t\t\t\t\t+ \"btnAbsentexcused.ActionListener\"//<<EXTRA>>\n\t\t\t\t\t\t\t, \"Unable to save Event E\" //DESCRIPTION\n\t\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tao.dispose();\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t}", "public void setAction(String action) { this.action = action; }", "public void actionPerformed(ActionEvent arg0) \n\t\t\t{\n\t\t\t\tatten = 5;\n\t\t\t\te.overrideStatus(marker, atten);\n\t\t\t\ttry {\n\t\t\t\t\te.save();\n\t\t\t\t\tnew RestartToSaveChanges().setVisible(true);\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t//PrintServ.exc.add(e1);\n\t\t\t\t\tnew Errors.AMDNCError(\n\t\t\t\t\t\t\tErrors.EHAND.Type.THROWN, //TYPE\n\t\t\t\t\t\t\t\"AttendanceOptions.java \"//CLASS\n\t\t\t\t\t\t\t+ \"AttendanceOptions(Event e, long marker, GetReport gr) \"//METHOD\n\t\t\t\t\t\t\t+ \"btnAbsentunexcused.ActionListener\"//<<EXTRA>>\n\t\t\t\t\t\t\t, \"Unable to save Event E\" //DESCRIPTION\n\t\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tgr.respring();\n\t\t\t\tao.dispose();\n\t\t\t}", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmActivity.pushFragments(AppConstants.FRAG_ASSIGN, new FragViewAssign(), true, true);\r\n\t\t\t}", "@Override\n\tpublic void setButtonAction() {\n\t}", "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmActivity.pushFragments(AppConstants.FRAG_ASSIGN, new FragViewAssign(), true, true);\r\n\r\n\t\t\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\n\t\t}", "public void actionPerformed(ActionEvent arg0) \n\t\t\t{\n\t\t\t\tatten = 3;\n\t\t\t\te.overrideStatus(marker, atten);\n\t\t\t\tgr.respring();\n\t\t\t\ttry {\n\t\t\t\t\te.save();\n\t\t\t\t\tnew RestartToSaveChanges().setVisible(true);\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t//PrintServ.exc.add(e1);\n\t\t\t\t\tnew Errors.AMDNCError(\n\t\t\t\t\t\t\tErrors.EHAND.Type.THROWN, //TYPE\n\t\t\t\t\t\t\t\"AttendanceOptions.java \"//CLASS\n\t\t\t\t\t\t\t+ \"AttendanceOptions(Event e, long marker, GetReport gr) \"//METHOD\n\t\t\t\t\t\t\t+ \"btnLate.ActionListener\"//<<EXTRA>>\n\t\t\t\t\t\t\t, \"Unable to save Event E\" //DESCRIPTION\n\t\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tao.dispose();\n\t\t\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }", "public void toSelectingAction() {\n }", "public void actionPerformed(ActionEvent arg0) \n\t\t\t{\n\t\t\t\tatten = 0;\n\t\t\t\te.overrideStatus(marker, atten);\n\t\t\t\ttry {\n\t\t\t\t\te.save();\n\t\t\t\t\tnew RestartToSaveChanges().setVisible(true);\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t//PrintServ.exc.add(e1);\n\t\t\t\t\tnew Errors.AMDNCError(\n\t\t\t\t\t\t\tErrors.EHAND.Type.THROWN, //TYPE\n\t\t\t\t\t\t\t\"AttendanceOptions.java \"//CLASS\n\t\t\t\t\t\t\t+ \"AttendanceOptions(Event e, long marker, GetReport gr) \"//METHOD\n\t\t\t\t\t\t\t+ \"btnAbsentunexcused.ActionListener\"//<<EXTRA>>\n\t\t\t\t\t\t\t, \"Unable to save Event E\" //DESCRIPTION\n\t\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tgr.respring();\n\t\t\t\tao.dispose();\n\t\t\t}", "public void setButtonSelection(String action);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "private void assignIntoGrade() {\n }", "private void add_grant_perches_textActionPerformed(java.awt.event.ActionEvent evt) {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n\tpublic void action() {\n\n\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent arg0) \n\t\t{\n\t\t\t\n\t\t}", "public void actionPerformed(ActionEvent arg0) {\r\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() == attendBut) {\n\t\t\tAppt appt = new Appt();\n\t\t\tappt.setID(con.getusableid());\n\t\t\tappt.setTimeSpan(inviteAppt.TimeSpan());\n\t\t\tappt.setstarttime(inviteAppt.getstarttime());\n\t\t\tappt.setendtime(inviteAppt.getendtime());\n\t\t\tappt.setTitle(inviteAppt.getTitle());\n\t\t\tappt.setInfo(inviteAppt.getInfo());\n\t\t\tappt.setJoint(true);\n\t\t\tappt.setJoinID(inviteAppt.getID());\n\t\t\tappt.setusername(con.getusername());\n\t\t\tappt.setLocation(inviteAppt.getLocation());\n\t\t\tcon.ManageAppt(appt, con.NEW);\n\t\t\tinviteAppt.addAttendant(con.getDefaultUser().ID());\n\t\t\tinviteAppt.removeWaitingList(con.getDefaultUser().ID());\n\t\t\tcon.ManageAppt(inviteAppt, con.MODIFY);\n\t\t}\n\t\tif (e.getSource() == rejectBut) {\n//\t\t\tinviteAppt.addReject(con.getDefaultUser().ID());\n//\t\t\tinviteAppt.removeWaitingList(con.getDefaultUser().ID());\n \t\tfor (Object key : con.mApptStorage.mAppts.keySet()){\n \t\t\tif(con.mApptStorage.mAppts.get(key).getID()==inviteAppt.getID()){\n \t\t\t\tcon.mApptStorage.mAppts.remove(key);\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif(con.mApptStorage.mAppts.get(key).getJoinID()==inviteAppt.getID())\n \t\t\t{con.mApptStorage.mAppts.remove(key);}\n \t\t}\n \tcon.mApptStorage.saveApptToTxt();\t\n\t\t}\n\t\tdispose();\n\t}", "public void setAction(String str) {\n\t\taction = str;\n\t}", "Assign createAssign();", "@Override\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "public void actionPerformed(ActionEvent arg0) {\n\t\t\t}", "public void actionPerformed(ActionEvent arg0) {\n\t\t\t}", "@Override\n public void onActionPerformed(String actionName) {\n Log.d(TAG, \"Inside onActionPerformed.\" + actionName);\n\n switch (actionName) {\n case HanselHelper.ACTION_OPEN_PROFILE_ACTIVITY: {\n SmartechHelper.openDeeplink(this, ProfileActivity.class, null);\n }\n break;\n\n case HanselHelper.ACTION_OPEN_REGISTER_ACTIVITY: {\n SmartechHelper.openDeeplink(this, RegisterActivity.class, null);\n }\n break;\n\n default: {\n Log.e(TAG, \"Failed to perform the action.\");\n }\n break;\n }\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\r\n\t}", "public void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tbtnSubmit_click(e);\n\t\t\t}", "public void setAction(int value) {\n this.action = value;\n }", "public void setAction (String action) {\n this.action = action;\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void settingBtnClick() {\n\t}", "public void getAssignment() {\n \n }", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\n\t}", "protected void pushAction(iNamedObject node)\n\t{\n\t}", "@Override\n public void actionPerformed(ActionEvent e) {\n setOnVacationOk(atc, guiD, sm);\n }", "protected IAction createAction(IEvent event, String label, String assign)\n\t\t\tthrows RodinDBException {\n\t\tIAction action = event.createChild(IAction.ELEMENT_TYPE, null, null);\n\t\taction.setLabel(label, null);\n\t\taction.setAssignmentString(assign, null);\n\t\treturn action;\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t}", "void jAssignButton_actionPerformed(ActionEvent e) {\n int indexInter = jInterfaceList.getSelectedIndex();\n int indexPlug = jEventSourcesList.getSelectedIndex();\n \n Class interf = null;\n try {\n interf = Class.forName(((String) (jInterfaceList.getModel().getElementAt(indexInter))));\n } catch (ClassNotFoundException ex1) {\n ex1.printStackTrace();\n }\n String plgid = (String) jEventSourcesList.getModel().getElementAt(indexPlug);\n DefaultMutableTreeNode node = (DefaultMutableTreeNode) jComponentTree.getLastSelectedPathComponent();\n PluginDescriptor value = (PluginDescriptor) (((EGTreeNode) node).getComponent());\n Object eventSource = PluginRegistry.getPluginDescriptor(plgid).getPlugin();\n try {\n if (Class.forName(\"org.geworkbench.engine.config.events.EventSource\").isAssignableFrom(eventSource.getClass())) {\n ((EventSource) eventSource).addEventListener(interf, (AppEventListener) value.getPlugin());\n \n ((DefaultListModel) jEventSourcesList.getModel()).removeElementAt(indexPlug);\n ((DefaultListModel) jAssignedList.getModel()).addElement(plgid);\n JOptionPane.showMessageDialog(null, \"assignment successful.\");\n } else {\n JOptionPane.showMessageDialog(null, \"assignment unsuccessful.\");\n }\n } catch (AppEventListenerException ex) {\n ex.printStackTrace();\n } catch (ListenerEventMismatchException ex) {\n ex.printStackTrace();\n } catch (ClassNotFoundException ex) {\n ex.printStackTrace();\n }\n \n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\taddOrUpdate();\n\t\t\t}", "assign_op getAssign_op();", "public void actionPerformed(ActionEvent arg0) {\n }", "private IAssignmentElement createAssignment() throws RodinDBException {\n\t\tfinal IMachineRoot mch = createMachine(\"mch\");\n\t\tfinal IEvent event = createEvent(mch, \"event\");\n\t\treturn event.createChild(IAction.ELEMENT_TYPE, null, null);\n\t}", "public void setE(PDAction e) {\n/* 88 */ this.actions.setItem(\"E\", (COSObjectable)e);\n/* */ }", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t\t\n\t}", "public void actionPerformed(ActionEvent e) {\r\n\t\t\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) \n\t\t{\n\t\t\t\n\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\tchosenRestaurantId = restId;\n\t\t\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t}", "@Override\n\t public void actionPerformed(ActionEvent e){\n\t }", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t}", "@Override\n\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\t\n\t\t\t\tString toSave = assignmentObjectiveView.getAssignmentObjective().getText();\n\t\t\t\tint jobCreationId = selectedJobId;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tAuditEngagement e = new AuditEngagement();\n\t\t\t\te.setAssignmentObj(toSave);\n\t\t\t\t\n\t\t\t\tJobCreation j = new JobCreation();\n\t\t\t\tj.setJobCreationId(jobCreationId);\n\t\t\t\te.setJobCreation(j);\n\t\t\t\t\n\t\t\t\trpcService.updateAuditEngagement(e, \"assignmentObj\", new AsyncCallback<Boolean>() {\n\t\t\t\t\t\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onSuccess(Boolean arg0) {\n\t\t\t\t\t\tWindow.alert(\"success\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t\t\tWindow.alert(\"fail\");\n\t\t\t\t\t\t\n\n\t\t\t\t\t\tlogger.log(Level.INFO, \"FAIL: updateAuditEngagement .Inside Audit AuditAreaspresenter\");\n\t\t\t\t\t\tif(caught instanceof TimeOutException){\n\t\t\t\t\t\t\tHistory.newItem(\"login\");\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.println(\"FAIL: updateAuditEngagement .Inside AuditAreaspresenter\");\n\t\t\t\t\t\t\tWindow.alert(\"FAIL: updateAuditEngagement\");// After FAIL ... write RPC Name NOT Method Name..\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// call rpc from here.. and save this data to this selectedJobId.. in our new table under column assignmentObjective\n\t\t\t}", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\r\n\t\t}", "public void selected(String action);", "@Override\n public void actionPerformed(ActionEvent actionEvent) {\n }", "@Override\n\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\n\t}", "public void buttonSaveList(ActionEvent actionEvent) {\n }", "public void setAction(A action) {\r\n\t\tthis.action = action;\r\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\n\t}", "@Override\r\n public void actionPerformed( ActionEvent e )\r\n {\n }" ]
[ "0.69966304", "0.64712566", "0.63446325", "0.6290253", "0.6285531", "0.6248528", "0.61783236", "0.61560076", "0.6097485", "0.60862625", "0.6079095", "0.6079095", "0.6060371", "0.6040255", "0.60331917", "0.6016987", "0.6005958", "0.60027885", "0.5977652", "0.59688354", "0.5965488", "0.5965488", "0.59645265", "0.59614545", "0.59559107", "0.59521776", "0.59430295", "0.59367824", "0.59225756", "0.5912906", "0.5891068", "0.58822864", "0.58822864", "0.58822864", "0.5878607", "0.5876533", "0.5874357", "0.5870055", "0.5857212", "0.58557844", "0.58540356", "0.5852484", "0.5852484", "0.5850778", "0.5848158", "0.5848158", "0.5848158", "0.5848158", "0.5834544", "0.5834544", "0.5834544", "0.5834544", "0.5834544", "0.5834544", "0.58070296", "0.58030933", "0.5792571", "0.5788725", "0.57876945", "0.57873505", "0.57873505", "0.57873505", "0.57840574", "0.57823586", "0.5778131", "0.5778131", "0.5778131", "0.577325", "0.5772031", "0.5770626", "0.57692546", "0.57662505", "0.5765142", "0.5756117", "0.57514995", "0.5728606", "0.57212234", "0.5719295", "0.5715207", "0.57138777", "0.5713561", "0.571287", "0.5711685", "0.57092863", "0.5705041", "0.5701122", "0.5701019", "0.5697178", "0.5694054", "0.569384", "0.56936544", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56916296", "0.56873614" ]
0.0
-1
Description : Get the 'controller' attribute value.
public final StandbyPriorityController getController() { return controller; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Controller getController() {\n\t\treturn this.controller;\n\t}", "public Controller getController() {\n\t\treturn this.controller;\n\t}", "public Controller getController() {\n\t\treturn controller;\n\t}", "public Controller getController() {\n\t\treturn controller;\n\t}", "public Controller getController()\n {\n return this.controller;\n }", "public Controller getController();", "public int getControllerID() {\n\t\treturn this.controllerID;\n\t}", "public java.lang.String getControllername() {\n\treturn controllername;\n}", "public static BaseStationController getController()\r\n {\r\n \treturn controller;\r\n }", "public DuxComController getController() {\n return this.controller;\n }", "public String getRestController() {\n\t\treturn this.restController;\n\t}", "public final AbstractControlComponent getController() {\n\t\treturn this.controller;\n\t}", "public IController getController();", "public Player getController() {\n return sourceCard.getController();\n }", "public MediaController getController() {\n return mController;\n }", "String getController(String clientId);", "public FactionType getControllerFaction() {\n\t\treturn this.controllerFaction;\n\t}", "public ControllerConfig getControllerConfig() {\n return config;\n }", "IAnjaroController getController();", "public Controller getController(ApplicationContext applicationContext, HttpServletRequest request) {\n\t\tString uri=request.getRequestURI();\n\t\t//System.out.println(uri);\n\t\tString contextPath = request.getContextPath();\n\t\t//System.out.println(contextPath);\n\t\tint sIndex = contextPath.length();\n\t\t//System.out.println(sIndex);\n\t\tString key = uri.substring(sIndex);\n\t\t//System.out.println(key);\n\t\tString beanName = map.get(key);\n\t\tSystem.out.println(\"\t\t@ 빈네임: \"+beanName);\n\t\treturn (Controller)(applicationContext.getBean(beanName));\n\t}", "public static GameController getGameController() {\n\t\treturn controller;\n\t}", "@Override\n\tpublic GameController getController() {\n\t\treturn gameController;\n\t}", "public WizardController controller()\r\n\t{\r\n\t\treturn _controller;\r\n\t}", "public MediaSessionManager.RemoteUserInfo getCurrentControllerInfo() {\n }", "public ProcessController processController() {\r\n\t\treturn modelController;\r\n\t}", "@Override\r\n\tpublic ControllerType getIdentifiedControllerType() {\r\n\t\treturn this.identifiedControllerType;\r\n\t}", "public FileController getFileController() {\n return fileController;\n }", "@Override\n\tpublic ControllerFace getControllerFace() {\n\t\treturn ControllerFace.Controller_Cross_A;\n\t}", "public final TRUtilController getTrUtilController() {\r\n\t\treturn trUtilController;\r\n\t}", "String getControllerConfiguration(String clientId);", "public DeploymentController getDeploymentController() {\n return this.deploymentController;\n }", "public ChatController getBaseController()\n\t{\n\t\treturn botController;\n\t}", "public void setController (Controller controller)\n {\n _controller = controller;\n }", "public AccountController getAccountController(){\n return this.userController;\n }", "private BaseController getController()\n {\n BaseController controller = null;\n\n //check who has stared the background task\n if (tag == null) {\n //this is an instance of a normal activity starting the background\n //task, use its controller's function to execute the actual task\n //in background.\n \tif (activity != null) {\n \t\tcontroller = activity.getController();\n \t}\n }\n else {\n //this is an instance of a activity's fragment starting the backgroundH\n //task, use the fragment's controller function to execute the\n //actual task in background\n if (activity != null) {\n BaseFragment fragment = (BaseFragment) activity.getFragmentManager().findFragmentByTag(tag);\n if (fragment != null) {\n controller = fragment.getController();\n }\n }\n }\n\n return controller;\n }", "ControllerStatusEntity getControllerStatus(String clientId);", "@Override\n\tpublic SceneObject getController() {\n\t\treturn null;\n\t}", "public CayenneModelerController getFrameController() {\n return frameController;\n }", "public float getControllerStateForAction(Action action, Controller controller) {\n\t\tif (action == null) {\n\t\t\tthrow new IllegalArgumentException(\"action is null\");\n\t\t}\n\t\tif (controller == null) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn getControllerBindingForAction(action).getControllerStateForAction(controller);\n\t}", "public ValidationController getValidationController()\r\n\t{\r\n\t\treturn validationController;\r\n\t}", "@Override\n public DcMotorController getController() {\n return null;\n }", "public DatabaseInterface getDbController() {\n\t\treturn dbController;\n\t}", "public void setController(Controller controller);", "public static IControllerInfo getInstance() {\r\n\t\treturn instance;\r\n\t}", "public MainScreenController getMainScreenController() {\n return mainScreenController;\n }", "public CharacterDisplayController getDisplayController() {\n\t\treturn displayController;\n\t}", "public MetaDataController getMetaDataController() {\n return metaDataController;\n }", "public WsrdUtilController getWsrdUtilController() {\r\n\t\treturn wsrdUtilController;\r\n\t}", "public void setController(Controller controller) {\n this.controller = controller;\n }", "public KeyboardController getKeyboardController() {\n\t\treturn keyboardController;\n\t}", "public testDatabaseController getDataController()\n\t{\n\t\treturn dataController;\n\t}", "public final WsrdUtilController getWsrdUtilController() {\r\n\t\treturn wsrdUtilController;\r\n\t}", "public ControllerRegister getCr() {\n return cr;\n }", "public int getNumberOfControllers() {\n return numberOfControllers;\n }", "public ConsoleController consoleController() {\r\n\t\treturn consoleController;\r\n\t}", "CardController getCardController() { return cardController; }", "public void setValue(IController controller){\n this.value = controller;\n }", "public long getPropertyCurrentAction()\n {\n return iPropertyCurrentAction.getValue();\n }", "public static Controller getController(String name) {\n\t\treturn controllers.get(name);\n\t}", "public LogController logController() {\r\n\t\treturn logsController;\r\n\t}", "public interface Controller {\n\tpublic void fire(Class type, Object data);\n\tpublic void register(Class type, View rec);\n\tpublic Controller getParent();\n\tpublic int getLineNumber();\n\tpublic int getSpineNumber();\n\tpublic Writer getErrStream();\n}", "public QueueController getQueueController() {\n return queueController;\n }", "public static synchronized ControllerHelper getControllerHelper() {\n\n if (controllerHelper == null) {\n controllerHelper = new ControllerHelper();\n }\n\n return controllerHelper;\n }", "public int getAction() {\n\t\treturn action;\n\t}", "public FilmstripController getFilmstripController();", "@Test\n public void testGetterSetterController() {\n UserDao userDao = new UserDao();\n userDao.setController(controller);\n assertEquals(controller, userDao.getController());\n }", "String getControllerAbout(String clientId);", "String getControllingAttributeName();", "public long getPropertyCurrentAction();", "public ViewerController getViewerController() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn this.ruleController.toString();\n\t}", "public int getAction() {\n return action_;\n }", "public static ApplicationController instance() {\r\n\t\treturn controller;\r\n\t}", "public String getAgentContactor() {\n return agentContactor;\n }", "public int getAction() {\n return action;\n }", "public CtrlPorta getCtrlP() {\r\n return this.ctrlPorta;\r\n }", "public int getAction() {\n return action_;\n }", "public MainWindowViewController getMainWindowViewController() {\n return mainWindowViewController;\n }", "public CtrlFuncionario getCtrlF() {\r\n return this.ctrlFuncionario;\r\n }", "public NavigationController getNavigationController();", "public String getAction() {\n\t\treturn action.get();\n\t}", "@Override\n\tprotected void setController() {\n\t\t\n\t}", "public Cliente getDoCadastroController() {\r\n\t\tif(doCadastroController == null){\r\n\t\t\tdoCadastroController = new Cliente();\r\n\t\t}\r\n\t\t\r\n\t\treturn doCadastroController;\r\n\t}", "public void setController(Prompter aController) {\n controller = aController;\n }", "public static SinglController getController(){\n if (scl==null) {\n TemperatureSensor tmpsen = new TemperatureSensor(\"Kitchen\");\n LightSensor lsen = new LightSensor (\"Kitchen\");\n scl=new SinglController(tmpsen,lsen);\n }\n return scl;\n }", "public int getActuatorType() \n\t{\n\t\treturn this.actuatorType;\n\t}", "public String getNetController(String TenantId) throws Exception{\n String result= key.servicetGetEndpoint(\"Network_controller\");//>>>BEACON verify this field and modify with correct field\n if(result!=null)\n return result;\n else\n throw new Exception(\"Exception is occurred because the service named ....is not present.\\n\"\n + \"It is impossible retrieve Network Controller Endpoint\");\n }", "public static Controller getInstance() { return INSTANCE; }", "public static StudentController get() {\n\t\tif (instance == null) {\n\t\t\tinstance = new StudentController();\n\t\t}\t\t\n\t\treturn instance;\n\t}", "public CtrlAcesso getCtrlA() {\r\n return this.ctrlAcesso;\r\n }", "public PlatformController getPlatformController() throws ControllerException {\n\t\tinitPlatformController();\n\t\treturn myPlatformController;\n\t}", "static public LnTrafficController findLNController() {\n\t\tList<LocoNetSystemConnectionMemo> list = InstanceManager.getList(LocoNetSystemConnectionMemo.class);\n\t\tif (list.isEmpty()) {\n\t\t\tlog.fatal(\"No Loconet connection was detected\");\n\t\t\treturn null;\n\t\t}\n\t\tif (list.size() == 1) {\n\t\t\treturn list.get(0).getLnTrafficController();\n\t\t}\n\t\tfor (Object memo : list) {\n\t\t\tif (\"L\".equals(((SystemConnectionMemo) memo).getSystemPrefix())) {\n\t\t\t\treturn ((LocoNetSystemConnectionMemo) memo).getLnTrafficController();\n\t\t\t}\n\t\t}\n\t\treturn list.get(0).getLnTrafficController();\n\t}", "public java.lang.String getDiskControllerType() {\r\n return diskControllerType;\r\n }", "public String getCn() {\n return (String)getAttributeInternal(CN);\n }", "public abstract Class<? extends HateaosController<T, Identifier>> getClazz();", "public String getContainerName() throws ControllerException {\n\t\tif(myImpl == null) {\n\t\t\tthrow new ControllerException(\"Stale proxy.\");\n\t\t}\n\t\treturn myImpl.here().getName();\n\t}", "public BreakController getBreakController() {\n return breakController;\n }", "public INavigationNodeController getNextNavigationNodeController() {\n \t\tif (navigationNodeController != null) {\n \t\t\treturn navigationNodeController;\n \t\t} else if (getParent() != null) {\n \t\t\treturn getParent().getNavigationNodeController();\n \t\t} else {\n \t\t\treturn null;\n \t\t}\n \t}", "private Controller getPartitionPanel() {\n return controller;\n }", "public MWPlayerDataController getPlayerDataController() {\n\t\treturn dataController;\n\t}" ]
[ "0.73775405", "0.73775405", "0.73196405", "0.73196405", "0.7308155", "0.71600574", "0.71213436", "0.7109088", "0.6865914", "0.6770441", "0.6724184", "0.6700672", "0.6561611", "0.6406022", "0.6310537", "0.63030493", "0.6224041", "0.6220626", "0.6208185", "0.61449265", "0.60932046", "0.6074598", "0.59695417", "0.596621", "0.58779955", "0.58265704", "0.5723248", "0.5679167", "0.5670177", "0.5650336", "0.5635049", "0.55898184", "0.5581411", "0.5573359", "0.55616117", "0.55464953", "0.55418384", "0.5519038", "0.54967487", "0.5430629", "0.5415838", "0.541005", "0.5404689", "0.537348", "0.53702784", "0.53689766", "0.5352651", "0.5352122", "0.5343722", "0.53401136", "0.532485", "0.53163755", "0.5310845", "0.52936155", "0.52437854", "0.5240085", "0.5239711", "0.52333343", "0.5197967", "0.5192742", "0.51699746", "0.51677454", "0.5162389", "0.5155166", "0.51262546", "0.51177394", "0.5106589", "0.5102673", "0.5097184", "0.50955856", "0.50847614", "0.5076738", "0.50510794", "0.5045321", "0.50423855", "0.5040436", "0.5026528", "0.5021765", "0.50071853", "0.5002014", "0.49803287", "0.497526", "0.49570808", "0.49338207", "0.49228287", "0.49162203", "0.490964", "0.49076143", "0.49046782", "0.48946533", "0.48833475", "0.48817834", "0.48777866", "0.48757505", "0.48633057", "0.48626715", "0.48618942", "0.48553616", "0.48313898", "0.48312068" ]
0.6511735
13
Description : Set the 'controller' attribute value.
public final void setController(final StandbyPriorityController controllerParam) { controller = controllerParam; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setController(Controller controller);", "public void setController (Controller controller)\n {\n _controller = controller;\n }", "public void setController(Controller controller) {\n this.controller = controller;\n }", "public void setValue(IController controller){\n this.value = controller;\n }", "public void setController(MainController controller) {\n this.controller = controller;\n initValues();\n }", "public void setController(ShannonsController ctl){\n\t\tcontroller = ctl;\n\t}", "@Override\n\tprotected void setController() {\n\t\t\n\t}", "public void setController(Prompter aController) {\n controller = aController;\n }", "public void setController(final @NotNull GameController controller) {\n this.controller = controller;\n }", "public void setController(NewsController controller)\n {\n this.controller = controller;\n theLogger.info(\"Set reference to NewsController\");\n }", "public void setController(GameController cont) {\n this.controller = cont;\n }", "@Override\n\tpublic void setController(BotController controller) {\n\t}", "public void setController() {\n\t\tthis.controller = CarcassonneController.getInstance(null, this);\n\t\tcontroller.setControl(ClientControl.getInstance(controller,\n\t\t\t\ttxtAdress.getText(), Integer.parseInt(txtPort.getText())));\n\t\tthis.controller.getControl().addObserver(this);\n\t}", "public void setController(Controller controller) {\n\t\teditor.removeCaretListener(this.controller);\n\t\teditor.removeCaretListener(this.controller);\n\t\teditor.removeMouseListener(this.controller);\n\t\tthis.controller = controller;\n\t\tcontroller.setTextPart(this);\n\t\teditor.addCaretListener(controller);\n\t\teditor.addMouseListener(controller);\n\t\tdesigner = controller.getDesigner();\n\t\tcontroller.doAction();\n\t}", "public void setController(DuxComController duxComController) {\n controller = duxComController;\n }", "public void setViewController (UIViewController viewController) {\n\t\tthis.viewController = viewController;\n\t}", "public Controller getController() {\n\t\treturn controller;\n\t}", "public Controller getController() {\n\t\treturn controller;\n\t}", "public void setControllername(java.lang.String newControllername) {\n\tcontrollername = newControllername;\n}", "public void setController(ServerPlayersController spc) {\n this.controller = spc;\n }", "public int getControllerID() {\n\t\treturn this.controllerID;\n\t}", "public Controller getController()\n {\n return this.controller;\n }", "public void setDbController(DatabaseInterface dbController) {\n\t\tthis.dbController = dbController;\n\t}", "public void setGameController(GameController gameController) {\n this.gameController = gameController;\n }", "public Controller getController() {\n\t\treturn this.controller;\n\t}", "public Controller getController() {\n\t\treturn this.controller;\n\t}", "public void setAndroidController(AndroidController androidController) {\n this.androidController = androidController;\n }", "public void associateController(MainClientController mcc) {\n this.mcc = mcc;\n }", "public void setControl(EmployeeController control) {\r\n\t\tthis.control = control;\r\n\t}", "@Override\r\n\tpublic void setStageController(StageController stageController) {\n\t\tmyController = stageController;\r\n\t}", "public void setMainController(MainController mainController) {\n this.mainController = mainController;\n }", "public void setAppMainController(AppMainController ctrl) {\n appMainController = ctrl;\n }", "public void setController(ActionListener c) {\n\t\tthis.create.addActionListener(c);\n\t\tthis.cancel.addActionListener(c);\n\t}", "public void setTableroController(TableroController tabcontroller) {\n\t\t\n\t}", "public void setController(TimedControllerIfc controller);", "private void setupController() {\n setupWriter();\n Controller controller1 = new Controller(writer);\n controller = controller1;\n }", "@ConfDisplayName(\"Controller type\")\r\n\t@ConfXMLTag(\"ControllerName\")\r\n\tpublic void setControllerName(String name) {\r\n\t\tcontrollerName = name;\r\n\t\ttry {\r\n\t\t\tcontrollerParams = (ControllerParams) Class.forName(controllerName + \"Params\")\r\n\t\t\t\t\t.getConstructor(SimulationParams.class)\r\n\t\t\t\t\t.newInstance((SimulationParams) this);\r\n\t\t} catch (InstantiationError | ClassNotFoundException | NoSuchMethodException |\r\n\t\t\t\tInstantiationException | IllegalAccessException | InvocationTargetException ex) {\r\n\t\t\tthrow new RuntimeException(\"Could not set up controller\", ex);\r\n\t\t}\r\n\t}", "public void setAcadController(AcademicsController acadCtrl) {\n\t\tthis.acadCtrl = acadCtrl;\n\t}", "public void setNumberOfControllers(int value) {\n this.numberOfControllers = value;\n }", "@Override\n\tpublic boolean setController(String ctrl)\n\t{\n\t\tController selection = map.get(ctrl);\n\n\t\tif (selection == null)\n\t\t\treturn false;\n\n\t\tthis.ctrl = selection;\n\n\t\tpollController();\n\t\treturn true;\n\t}", "public void injectMainController(Controller controller) {\n\t\tthis.controller = controller;\n\t}", "DefaultAgent(Controller controller) {\r\n\t\tthis.controller = controller;\r\n\t}", "@Override\r\n public void AddListener(IController controller) {\r\n this.controller = controller;\r\n }", "@Override\r\n\tpublic void setController(Control which) {\n\t\tthis.controller=which;\r\n\t\t\r\n\t\tthis.model=which.getModel();\r\n\t\tthis.view=which.getView();\r\n\r\n\t\t\r\n\t\tthis.view.setControl(this);\r\n\t\t//if(!this.view.isFileChoosed()){\r\n\t\t//\tthis.view.disableStartMenuItem();\r\n\t\t//}\r\n\t\tthis.view.pack();\r\n\r\n\t}", "public java.lang.String getControllername() {\n\treturn controllername;\n}", "@Test\n public void testGetterSetterController() {\n UserDao userDao = new UserDao();\n userDao.setController(controller);\n assertEquals(controller, userDao.getController());\n }", "public final void setTrUtilController(TRUtilController trUtilController) {\r\n\t\tthis.trUtilController = trUtilController;\r\n\t}", "public Controller getController();", "public static BaseStationController getController()\r\n {\r\n \treturn controller;\r\n }", "public DuxComController getController() {\n return this.controller;\n }", "public void setPlayerControllerMessage(String controllerMessage){\n currentPlayer.setControllerMessage(controllerMessage);\n }", "private <T extends AbstractController> T configureController(T controller)\n {\n // Configuring the controller\n controller.setEventManager(eventManager);\n\n if (controller instanceof PropertiesAwareInterface) {\n ((PropertiesAwareInterface) controller).setProperties(settings);\n }\n\n controller.completeSetup();\n\n return controller;\n }", "void setSimulationController(SimulationController simulationController);", "public void setCurrentControllerInfo(MediaSessionManager.RemoteUserInfo param1) {\n }", "void setParentController(IMSFXMLDocumentController documentController) {\n this.documentController = documentController;\n }", "public void setOrgScheduleController(){\n setChanged();\n notifyObservers(orgScheduleController);\n }", "public final AbstractControlComponent getController() {\n\t\treturn this.controller;\n\t}", "public void setController(ChooserControl control) {\n controller = control;\n propTitle.setText(controller.toString());\n ArrayList<String> choices = controller.getChoices();\n if (choices != null) {\n for (String val : choices) {\n choicesModel.addElement(val);\n }\n }\n\n ArrayList<String> chosen = controller.getChosen();\n if (chosen != null) {\n for (String val : chosen) {\n chosenModel.addElement(val);\n }\n\n }\n }", "public ConfigureNetpathTab(ConfigureNetpathController controller) {\n this.controller = controller;\n initComponents();\n }", "public String getRestController() {\n\t\treturn this.restController;\n\t}", "public final StandbyPriorityController getController() {\n return controller;\n }", "public void initData(Controller controller) {\r\n //Initialise controller.\r\n this.controller = controller;\r\n }", "@Override\n\tpublic void setRoot(BaseController root) {\n\t\t\n\t}", "public void setValidationController(ValidationController ordemServicoValidationController)\r\n\t{\r\n\t\tvalidationController = ordemServicoValidationController;\r\n\t}", "protected void setManagementControllerDomain() {\n \tmanagementCurrent = managementDomain;\n }", "public void setDeploymentController(DeploymentController deploymentController) {\n this.deploymentController = deploymentController;\n }", "public MainController() {\n\t\tcontroller = new Controller(this);\n\t}", "public void setParentController(HomeController parent) {\n\t\tthis.parent = parent;\n\t}", "public void setSpeakerScheduleController(){\n setChanged();\n notifyObservers(speakerScheduleController);\n }", "public BBSuperContBuilder setFxml(Class<? extends BBSuperController> controller) {\n fxml = controller.getName() + \"#\" + BBSuperController.resPathForClass(controller);\n return this;\n }", "public void setFrontlineController(FrontlineSMS frontlineController) {\n \t\tthis.frontlineController = frontlineController;\n \t}", "private void setController() {\n if (controller == null) {\n controller = new MusicController(this);\n }\n controller.setPrevNextListeners(\n new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n playNext();\n }\n }, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n playPrev();\n }\n }\n );\n\n controller.setMediaPlayer(this);\n controller.setAnchorView(findViewById(R.id.song_list));\n controller.setEnabled(true);\n }", "public WizardController controller()\r\n\t{\r\n\t\treturn _controller;\r\n\t}", "public abstract void initController();", "@Test\n public void testSetUser() {\n System.out.println(\"setUser\");\n User user = null;\n ModelController instance = new ModelController();\n instance.setUser(user);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "public void setRestaurantFinderController(RestaurantFinderController restaurantFinderController) {\n\t\tthis.restaurantFinderController = restaurantFinderController;\n\t}", "private Controller() {\n\t\tthis.gui = GUI.getInstance();\n\t\tthis.gui.setController(this);\n\t}", "public static void setConductor( Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(model, instanceResource, CONDUCTOR, value);\r\n\t}", "public Controller() {\n\t\tthis(null);\n\t}", "@Override\n\tpublic void setController(ControladorVista[] controllers) {\n\t\tboton.addActionListener((ActionListener) controllers[0]);\n\t}", "public IController getController();", "@Override\n public DcMotorController getController() {\n return null;\n }", "protected void setManagementControllerStandalone() {\n \tmanagementCurrent = managementStandalone;\n }", "public void setConductor( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), CONDUCTOR, value);\r\n\t}", "public void addController(String name, ControlledScreen controller) {\r\n controllers.put(name, controller);\r\n }", "public MediaController getController() {\n return mController;\n }", "public void setConductor(Contact value) {\r\n\t\tBase.set(this.model, this.getResource(), CONDUCTOR, value);\r\n\t}", "@Override\n public void loadController(Object presenter, Stage stage, ControllerBuilder builder) {\n this.stage = stage;\n this.builder = builder;\n }", "public void setProcessControllerAdapter(ProcessControllerAdapter aPca) {\n pca = aPca;\n }", "public interface Controller {\n\tpublic void fire(Class type, Object data);\n\tpublic void register(Class type, View rec);\n\tpublic Controller getParent();\n\tpublic int getLineNumber();\n\tpublic int getSpineNumber();\n\tpublic Writer getErrStream();\n}", "public static void setConductor(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, Contact value) {\r\n\t\tBase.set(model, instanceResource, CONDUCTOR, value);\r\n\t}", "public ProcessController processController() {\r\n\t\treturn modelController;\r\n\t}", "public FormView(final ApplicationController controller) {\n\t\tthis.controller = controller;\n\t}", "@Override\n\tpublic SceneObject getController() {\n\t\treturn null;\n\t}", "public AngularPageConfigurator setControllerInsertions(@NotNull Set<String> controllerInsertions)\n\t{\n\t\tthis.controllerInsertions = controllerInsertions;\n\t\treturn this;\n\t}", "private static CompanyController initializeController() {\n\n controller = new CompanyController();\n return controller;\n }", "public void setValue(Object value) {\n\t\tthis.value = value;\n\t\tsetValueAction(value);\n\t}", "public ControllerConfig getControllerConfig() {\n return config;\n }", "public void setStatusControllerUiModel(PresenceStatusControllerUIModel statusController)\n\t{\n\t\tcontactList.setStatusControllerModel(statusController);\n\t}", "public void setController(PopupNotificationController pnc) {\r\n\t\tthis.popupNotificationController = pnc;\r\n\t}" ]
[ "0.79600465", "0.7922843", "0.7885558", "0.7501773", "0.74382174", "0.7259206", "0.71584517", "0.7153405", "0.6924139", "0.6901849", "0.6741281", "0.66009295", "0.6466467", "0.6332204", "0.62375003", "0.62348986", "0.61240554", "0.61240554", "0.6117156", "0.6057175", "0.60281926", "0.6016987", "0.600339", "0.5999235", "0.59979063", "0.59979063", "0.5974924", "0.59632266", "0.5961756", "0.59463745", "0.5932829", "0.5928336", "0.5925487", "0.59039295", "0.58861417", "0.58763736", "0.5870672", "0.5800349", "0.5781688", "0.5776997", "0.5768862", "0.571133", "0.56938195", "0.56882036", "0.56552553", "0.5602287", "0.55944955", "0.55210793", "0.54997367", "0.54993725", "0.54973966", "0.54869854", "0.5482015", "0.54532856", "0.5447672", "0.5431033", "0.5422331", "0.5390139", "0.5338943", "0.5311282", "0.5305437", "0.53002846", "0.5288744", "0.52864903", "0.5277166", "0.52738863", "0.5231391", "0.52262366", "0.52145076", "0.52057105", "0.51871395", "0.51863116", "0.5184687", "0.5178559", "0.51697373", "0.5162391", "0.51597965", "0.51527876", "0.5140797", "0.5122043", "0.51143414", "0.50843203", "0.5081541", "0.50789034", "0.5075372", "0.50711715", "0.5038244", "0.5037854", "0.5036778", "0.5033378", "0.50288916", "0.50206953", "0.50062805", "0.49752283", "0.4971475", "0.49608347", "0.49534267", "0.49531165", "0.4933408", "0.4931983" ]
0.7029245
8
Description : Get the 'defaultSPFilterTablePanel' attribute value.
public final NGAFFilterTablePanel getDefaultSPFilterTablePanel() { return defaultSPFilterTablePanel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDefaultSPFilterTablePanel(final NGAFFilterTablePanel defaultSPFilterTablePanelParam) {\n defaultSPFilterTablePanel = defaultSPFilterTablePanelParam;\n }", "PreferenceDefaultValueAttribute getDefaultValue();", "public Object getDefault() {\n\t\treturn defaultField;\n\t}", "public String getFirstComboDefaultValue() {\r\n Group theDefaultGroup = this.getDefaultGroup();\r\n return theDefaultGroup == null ? null : theDefaultGroup.getUuid();\r\n }", "protected Object getDisplayParameterBean() {\n return findBaseObject(\"pmb\");\n }", "@Override\r\n\tpublic ArrayList<PopUp> getPopUpDefault(String personId, Boolean Default) {\n\t\treturn null;\r\n\t}", "String getDefaultValue();", "String getDefaultValue();", "public String getDefaultValue() {\n\t\t\treturn null;\r\n\t\t}", "public String getDefaultValue() {\n\t\t\treturn null;\r\n\t\t}", "public String getDefault(){\n return _default;\n }", "public int getDefaultFacetWidth() {\r\n return getAttributeAsInt(\"defaultFacetWidth\");\r\n }", "CartogramWizardPanelZero getPanelZero ()\n\t{\n\t\treturn mPanelZero;\n\t}", "public String getDefaultRuleSetName()\n/* */ {\n/* 1364 */ if ((this.defaultRuleSet != null) && (this.defaultRuleSet.isPublic())) {\n/* 1365 */ return this.defaultRuleSet.getName();\n/* */ }\n/* 1367 */ return \"\";\n/* */ }", "public String getDefaultIconCls() {\n\t\tif (null != this.defaultIconCls) {\n\t\t\treturn this.defaultIconCls;\n\t\t}\n\t\tValueExpression _ve = getValueExpression(\"defaultIconCls\");\n\t\tif (_ve != null) {\n\t\t\treturn (String) _ve.getValue(getFacesContext().getELContext());\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}", "public String getDefaultName()\r\n {\r\n System.out.println(\"returning default name: \" + m_default );\r\n return m_default;\r\n }", "@Test\n public void getDefaultValueForSetting_noPlatformPropertyForKeyDefined_propertyHasDefault()\n throws Throwable {\n clearAllPlatformSettings();\n\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n String value = ldapSettingsMgmtSvc\n .getDefaultValueForSetting(SettingType.LDAP_CONTEXT_FACTORY);\n assertEquals(\"Returned value must correspond to default value\",\n SettingType.LDAP_CONTEXT_FACTORY.getDefaultValue(),\n value);\n return null;\n }\n });\n }", "public String getDefaultValue() {\n return type.getDefaultValue();\n }", "String getDefaultPreference(String preferenceName) throws OntimizeJEERuntimeException;", "public static synchronized CatalogSettings getDefault() {\n if (instance == null) {\n instance = Lookup.getDefault().lookup(CatalogSettings.class);\n }\n return instance;\n }", "public int getLBR_Collection_Default_ID();", "public String getLBR_Collection_Default_UU();", "@Updated(version=Version.TEIID_8_12_4)\n String getDefaultValue(Object elementID) throws Exception;", "user_filter_reference getUser_filter_reference();", "public abstract String getDefaultFilter ();", "public T getDefault() {\r\n return dflt;\r\n }", "public String getDefault();", "public String getFilterLabel( )\n {\n return _strFilterLabel;\n }", "public String getDisplayValue()\n {\n return null;\n }", "public String getJP_SalesRep_Value();", "IngestModuleGlobalSettingsPanel getGlobalSettingsPanel();", "public static T_ITM_DSPLY getDefaultRecordDisplay(HttpServletRequest request) {\r\n\t\treturn getUserProfile(request.getSession(false))\r\n\t\t\t\t.getDefaultRecordDisplay();\r\n\t}", "String getDefaultDisabledByPolicyTitle();", "public Object getDefaultValue();", "public Object getDefaultValue();", "public String getColDefault() {\r\n\t\treturn colDefault;\r\n\t}", "protected KDTable getTableForPrintSetting() {\n\t\treturn tblMain;\n\t}", "public String getDefaultSearchFieldEnum() {\r\n return SearchFieldEnum.DISPLAY_EXTENSION.getLabel();\r\n }", "ParameterableElement getDefault();", "AdminPreference getDefaultAdminPreference();", "ParameterableElement getOwnedDefault();", "public String getFirstComboDefaultText() {\r\n Group theDefaultGroup = this.getDefaultGroup();\r\n return theDefaultGroup == null ? null : theDefaultGroup.getDisplayName();\r\n }", "AdPartner getAdDefaultPartner();", "public InterpolationMethod getDefault() {\n if (_default == null) {\n return InterpolationMethod.NEAREST_NEIGHBOR;\n } else {\n return _default;\n }\n }", "public Object getDefaultBean() {\n Object obj = this._defaultBean;\n if (obj == null) {\n obj = this._beanDesc.instantiateBean(this._config.canOverrideAccessModifiers());\n if (obj == null) {\n obj = NO_DEFAULT_MARKER;\n }\n this._defaultBean = obj;\n }\n if (obj == NO_DEFAULT_MARKER) {\n return null;\n }\n return this._defaultBean;\n }", "public String getDefaultValue () {\n return defaultValue;\n }", "String getDefaultNull();", "public java.lang.String getNullFlavor()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NULLFLAVOR$28);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public static XSDEditorPlugin getDefault() {\n \t\treturn plugin;\n \t}", "public static boolean getDefaultFilterAttributeState()\n {\n return defaults.filter_attribute_state;\n }", "@JSProperty\n String getDefaultValue();", "public String getDefaultText() {\n\t\tif (null != this.defaultText) {\n\t\t\treturn this.defaultText;\n\t\t}\n\t\tValueExpression _ve = getValueExpression(\"defaultText\");\n\t\tif (_ve != null) {\n\t\t\treturn (String) _ve.getValue(getFacesContext().getELContext());\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}", "public String getDefaultSourcePropertyName() {\r\n return null;\r\n }", "public String getDefaultValue() {\n return this.defaultValue;\n }", "public String getDefaultValue() {\n\t\t\treturn this.defaultValue;\n\t\t}", "@Test\n public void getDefaultValueForSetting_platformPropertyForKeyDefined_propertyHasNoDefault()\n throws Throwable {\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n createAndStorePlatformSetting(SettingType.LDAP_ATTR_LAST_NAME,\n \"Smith\");\n return null;\n }\n });\n\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n String value = ldapSettingsMgmtSvc\n .getDefaultValueForSetting(SettingType.LDAP_ATTR_LAST_NAME);\n assertEquals(\n \"Returned value must be empty String so that property is linked to platform setting\",\n \"\", value);\n return null;\n }\n });\n }", "public String getDefaultValue() {\n return defaultValue;\n }", "Object getPreference(String prefKey, Object defaultValue);", "String getDefaultDisabledByPolicyContent();", "public static OperatorChecker getDefault() {\n synchronized (MccMncConfig.class) {\n if (sChecker != null) {\n OperatorChecker operatorChecker = sChecker;\n return operatorChecker;\n }\n }\n }", "public String getFrontEnd() {\n if (_avTable.get(ATTR_FE_NAME) == null\n || _avTable.get(ATTR_FE_NAME).equals(\"\")) {\n _avTable.noNotifySet(ATTR_FE_NAME, \"Uu\", 0);\n }\n\n return _avTable.get(ATTR_FE_NAME);\n }", "public String getDefaultValue() {\n return defaultValue;\n }", "public static boolean getDefaultFilterState()\n {\n return defaults.filter_state;\n }", "public DataProcessing getDefaultDataProcessingRef() {\n return defaultDataProcessingRef;\n }", "@Override public String getParamDefault(final String param) {\n final String common = getDrbdInfo().getParamSaved(param);\n if (common != null) {\n return common;\n }\n return getBrowser().getDrbdXML().getParamDefault(param);\n }", "public String getDefaultValue() {\n return m_defaultValue;\n }", "public String getDefaultValue() {\r\n if (this == BOOLEAN) {\r\n return \"false\";\r\n }\r\n\r\n if (this == CHAR) {\r\n return \"''\";\r\n }\r\n\r\n if (this == VOID) {\r\n return \"\";\r\n }\r\n\r\n if (this == FLOAT) {\r\n return \"0.f\";\r\n }\r\n\r\n if (this == DOUBLE) {\r\n return \"0.0\";\r\n }\r\n\r\n return \"0\";\r\n }", "public static SettingsPanel getSettingsPanel() {\n\t\treturn ((dataProvider == null) ? null : new AmpSettingsPanel());\n\t}", "public String getmDefaultName() {\n return mDefaultName;\n }", "public Boolean get_is_default()\r\n\t{\r\n\t\treturn this.is_default;\r\n\t}", "private DefaultTableModel getTableModel() {\n return (DefaultTableModel) constantsTable.getModel();\n }", "String getFilterName();", "public String getDefaultExpenseAmount(){\r\n\t\t\r\n\t\treturn McsElement.getElementByAttributeValueAndParentElement(driver, \"div\", \"@class\", PURCHASING_PRODUCT_WINDOW_CLASS, \"input\", \"@name\", \"defaultExpenseAmount\", true, true).getAttribute(\"value\");\r\n\t\t\r\n\t}", "public String getCurrentPanel() {\n return this.currentPanel;\n }", "public java.lang.String getDisplaysource()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLAYSOURCE$10);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public static ChartType getDefault() {\r\n return COUNTS;\r\n }", "Object getDefaultLabel() {\n return null;\n }", "public LSPFilter getFilter () {\r\n return filter;\r\n }", "Object getDefaultValue(String key);", "public static RAPCorePlugin getDefault() {\n\t\treturn plugin;\n\t}", "public IDatatype getDefaultValue() { \n\t\treturn myDefaultValue;\n\t}", "static public String getDefaultString () {\n return defaultString;\n }", "public int getDefaultPropertyIndex() {\n return defaultPropertyIndex;\n }", "public String getADataSourceValue() {\r\n return aDataSourceValue;\r\n }", "public WizardPanelDescriptor getCurrentPanelDesc(){\n return currentPanel;\n }", "public Type getDefault()\n\t{\n\t\treturn m_default;\n\t}", "public String getProperty(final String iName, final String iDefaultValue) {\n if (properties == null) return null;\n\n for (OServerEntryConfiguration p : properties) {\n if (p.name.equals(iName)) return p.value;\n }\n\n return null;\n }", "@NoProxy\n public String getCalSuite() {\n return getXproperty(BwXproperty.bedeworkCalsuite);\n }", "public final JButton getDefaultSPViewEditDescButton() {\n return defaultSPViewEditDescButton;\n }", "public static DialogDisplayer getDefault() {\n return (DialogDisplayer)Lookup.getDefault().lookup(DialogDisplayer.class);\n }", "public java.lang.String getName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$6);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public java.lang.String getBorder()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BORDER$22);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public java.lang.String getName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$8);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public ReadPolicyStatDefaultSetting() {\n\t\tsuper();\n\t}", "public JComponent getPreferenceUI() {\n\t\treturn null;\n\t}", "public java.lang.String getName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$26);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public static IPojoExporterPlugin getDefault() {\n\t\treturn sPlugin;\n\t}", "public java.lang.String getName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "private String getFilterUIName_(String filterName)\n {\n try\n {\n Object oFactory = xMSF.createInstance(\"com.sun.star.document.FilterFactory\");\n Object oObject = Helper.getUnoObjectbyName(oFactory, filterName);\n Object oArrayObject = AnyConverter.toArray(oObject);\n PropertyValue[] xPropertyValue = (PropertyValue[]) oArrayObject; //UnoRuntime.queryInterface(XPropertyValue.class, oObject);\n int MaxCount = xPropertyValue.length;\n for (int i = 0; i < MaxCount; i++)\n {\n PropertyValue aValue = xPropertyValue[i];\n if (aValue != null && aValue.Name.equals(\"UIName\"))\n {\n return AnyConverter.toString(aValue.Value);\n }\n }\n throw new NullPointerException(\"UIName property not found for Filter \" + filterName);\n }\n catch (com.sun.star.uno.Exception exception)\n {\n exception.printStackTrace(System.out);\n return null;\n }\n }", "public java.lang.Boolean getOpcdefault() {\n\t\treturn getValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCDEFAULT);\n\t}" ]
[ "0.5950458", "0.53840804", "0.5372022", "0.53372353", "0.5256772", "0.5237266", "0.5225091", "0.5225091", "0.52084666", "0.52084666", "0.52059776", "0.5205351", "0.51944447", "0.518079", "0.51659006", "0.5144753", "0.51386106", "0.51076394", "0.509492", "0.509113", "0.5085521", "0.50722545", "0.5063107", "0.50420743", "0.50402397", "0.5039967", "0.50284004", "0.49865144", "0.49799272", "0.49785775", "0.49764082", "0.4970869", "0.49704325", "0.4968086", "0.4968086", "0.49666524", "0.496358", "0.49458107", "0.493845", "0.4899336", "0.489658", "0.48946238", "0.48816544", "0.4876735", "0.48742545", "0.48698887", "0.4856841", "0.48514393", "0.48415735", "0.4841141", "0.48324543", "0.48298922", "0.48289648", "0.48234993", "0.48186344", "0.4809518", "0.48078084", "0.480556", "0.48038724", "0.47942403", "0.47867113", "0.4780578", "0.47748223", "0.47729567", "0.47707847", "0.47529623", "0.4748015", "0.47406495", "0.47251424", "0.4721138", "0.47157854", "0.47149232", "0.47070378", "0.46964675", "0.46949553", "0.46839386", "0.46827212", "0.4678763", "0.46729505", "0.46691737", "0.46644023", "0.46427017", "0.4634045", "0.46335104", "0.4632637", "0.4618946", "0.46170467", "0.46144393", "0.46103665", "0.46097326", "0.4609178", "0.46045494", "0.46000665", "0.45986608", "0.45933324", "0.4587423", "0.4585629", "0.45848393", "0.45839724", "0.4573612" ]
0.76953167
0
Description : Set the 'defaultSPFilterTablePanel' attribute value.
public final void setDefaultSPFilterTablePanel(final NGAFFilterTablePanel defaultSPFilterTablePanelParam) { defaultSPFilterTablePanel = defaultSPFilterTablePanelParam; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final NGAFFilterTablePanel getDefaultSPFilterTablePanel() {\n return defaultSPFilterTablePanel;\n }", "protected void setToDefault(){\n\n\t}", "public final void mT__116() throws RecognitionException {\r\n try {\r\n int _type = T__116;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:117:8: ( 'use-default-filters=' )\r\n // InternalSpringConfigDsl.g:117:10: 'use-default-filters='\r\n {\r\n match(\"use-default-filters=\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "void setDefaultPreference(String preferenceName, String value) throws OntimizeJEERuntimeException;", "public void setTable(DefaultTable table) {\n\t\t\r\n\t}", "public void setLBR_Collection_Default_ID (int LBR_Collection_Default_ID);", "public void setToDefault();", "public void setDefaultPaymentGroupName(String pDefaultPaymentGroupName);", "public void setDefaultFacetWidth(int defaultFacetWidth) {\r\n setAttribute(\"defaultFacetWidth\", defaultFacetWidth, true);\r\n }", "public final void setDefaultSPViewEditDescButton(final JButton defaultSPViewEditDescButtonParam) {\n defaultSPViewEditDescButton = defaultSPViewEditDescButtonParam;\n }", "public void setTableToDefault() {\n TableColumnModel tcm = table.getColumnModel();\n\n for (int i = 0; i < msbQTM.getColumnCount(); i++) {\n tcm.getColumn(i).setPreferredWidth(-1);\n }\n\n table.setColumnModel(tcm);\n }", "public void setDefaultSettings()\n {\n this.IndexerEffort = 0;\n this.indexZIPFiles = true;\n this.thumbnailsMatrix = \"64\";\n this.SaveThumbnails = false;\n }", "public abstract String getDefaultFilter ();", "private void defaultSelectedFilterOption() {\n activeSelectBtn.setChecked(true);\n upcomingSelectBtn.setChecked(true);\n inProgressSelctBtn.setChecked(true);\n yettoJoinSelctBtn.setChecked(true);\n bookmarkedSelctBtn.setChecked(false);\n category1SelectBtn.setChecked(true);\n category2SelectBtn.setChecked(true);\n category3SelectBtn.setChecked(true);\n category4SelectBtn.setChecked(true);\n category5SelectBtn.setChecked(true);\n category6SelectBtn.setChecked(true);\n category7SelectBtn.setChecked(true);\n category8SelectBtn.setChecked(true);\n category9SelectBtn.setChecked(true);\n category10SelectBtn.setChecked(true);\n }", "protected void SetDefault() {\r\n\t\tBrickFinder.getDefault().setDefault();\t\t\r\n\t}", "protected void setFilterType( DataTableFilterType filterType )\n {\n _filterType = filterType;\n }", "public void setDefault(boolean aDefault) {\n m_Default = aDefault;\n }", "public void setParametersToDefaultValues()\n/* 65: */ {\n/* 66:104 */ super.setParametersToDefaultValues();\n/* 67:105 */ this.placeholder = _placeholder_DefaultValue_xjal();\n/* 68: */ }", "public void setDefaultValue() throws Exception {\n\t\tString columns[] = CommonUtil.split(getFrwVarDefaultColumn(), \",\");\n\t\tString values[] = CommonUtil.split(getFrwVarDefaultValue(), \",\");\n\n\t\tif (CommonUtil.isNotEmpty(columns)) {\n\t\t\tfor (int i=0; i<columns.length; i++) {\n\t\t\t\tsetValue(columns[i], values[i]);\n\t\t\t}\n\t\t}\n\t}", "public void setDefaultPolicy(Policy defaultPolicy) {\n\t\tif (defaultPolicy == null)\n\t\t\tthrow new NullPointerException();\n\t\tthis.defaultPolicy = defaultPolicy;\n\t}", "public void setLBR_Collection_Default_UU (String LBR_Collection_Default_UU);", "@Inject\r\n\tpublic void setDefaultAnalysisColumns(@Named(ServerConstants.KEY_DEFAULT_ANALYSIS_COLS) String defaults) {\n\t\tList<String> keyList = splitCommaSeparatedString(defaults);\r\n\t\t// Add this list to the map\r\n\t\tdefaultColumns.put(ObjectType.analysis.name(), keyList);\r\n\t}", "public void setDefaultDataProcessingRef(DataProcessing dp) {\n this.defaultDataProcessingRef = dp;\n \n ensureValidReferences();\n }", "public static void setDefault(SARLEclipsePlugin defaultInstance) {\n\t\tinstance = defaultInstance;\n\t}", "public void selectDefaultValue()\n\t{\n\t\tcbCategorie.setSelectedIndex(1);\n\t\tcbCltOld.setSelectedIndex(0);\n\t\tcbClub.setSelectedIndex(0);\n\t\trbLincencie.setSelected(true);\n\t\trbMasculin.setSelected(true);\n\n\t}", "public void setDefault(boolean value) {\n this._default = value;\n }", "PreferenceDefaultValueAttribute getDefaultValue();", "protected void setFilterLabel( String strFilterLabel )\n {\n _strFilterLabel = strFilterLabel;\n }", "public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }", "public void setDefaultOpportunityAccess(java.lang.String defaultOpportunityAccess) {\n this.defaultOpportunityAccess = defaultOpportunityAccess;\n }", "public String getDefaultRuleSetName()\n/* */ {\n/* 1364 */ if ((this.defaultRuleSet != null) && (this.defaultRuleSet.isPublic())) {\n/* 1365 */ return this.defaultRuleSet.getName();\n/* */ }\n/* 1367 */ return \"\";\n/* */ }", "public void setDefaultValue(String value) {\n decorator.setDefaultValue(value);\n }", "public void setIsDefault(boolean value) {\n this.isDefault = value;\n }", "private void setFilterChoicebox() {\n \tList<String> filterChoices = new ArrayList<>();\n filterChoices.add(ALL_FILTER);\n filterChoices.add(PACKET_ID_FILTER);\n filterChoices.add(SID_FILTER);\n filterChoiceBox.getItems().setAll(filterChoices);\n filterChoiceBox.setValue(ALL_FILTER);\n }", "public void resetFilterIcon() {\n removeStyleName(\"appliedfilter\");\n icon.setSource(defaultTheam);\n\n }", "@Override\n public boolean setFilter(String filterId, Filter filter) {\n return false;\n }", "public static boolean getDefaultFilterState()\n {\n return defaults.filter_state;\n }", "@Override\n\tpublic void setDefaultData(java.lang.String defaultData) {\n\t\t_expandoColumn.setDefaultData(defaultData);\n\t}", "private void updateDefaultValue(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\t\t\n\t\t((QuestionDef)propertiesObj).setDefaultValue(txtDefaultValue.getText());\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}", "private void setSessionStoreConfig(final FilterConfig filterConfig, final String configName, final String configDefault) {\n final String configValue = filterConfig.getInitParameter(configName);\n sessionStoreConfigs.put(configName, configValue == null ? configDefault : configValue);\n }", "public void setDefaultTableModel(DefaultTableModel defaultTableModel) {\n this.defaultTableModel = defaultTableModel;\n }", "public FilterWidget( String initalFilter )\n {\n this.initalFilter = initalFilter;\n }", "public void setDefaultPageSize(int newDefaultPageSize)\n\t{\n\t\tdefaultPageSize = newDefaultPageSize;\n\t}", "public void initDefaultValues(PathologyReportReviewParameter t)\r\n\t{\n\r\n\t}", "public void setDefaultAction(final IAction defaultAction)\n\t{\n\t\tthis.defaultAction = defaultAction;\n\t}", "@Inject\r\n\tpublic void setDefaultDatasetColumns(@Named(ServerConstants.KEY_DEFAULT_DATASET_COLS) String defaults) {\r\n\t\t// convert from a string to a list\r\n\t\tList<String> keyList = splitCommaSeparatedString(defaults);\r\n\t\t// Add this list to the map\r\n\t\tdefaultColumns.put(ObjectType.dataset.name(), keyList);\r\n\t}", "public void setDefaultParameters()\n {\n parameters = new Vector(); // must do this to clear any old parameters\n\n Parameter parameter = new Parameter( \"DataSet to Divide\",\n DataSet.EMPTY_DATA_SET );\n addParameter( parameter );\n\n parameter = new Parameter( \"Create new DataSet?\", new Boolean(false) );\n addParameter( parameter );\n }", "public void setDefaultRule(PatternActionRule defRule) {\n\t\tthis.defaultRule = defRule;\n\t}", "public void setDefaultImgOver(YuiImage defaultImgOver) {\r\n\t\tthis.defaultImgOver = defaultImgOver;\r\n\t}", "void setFilter(Filter f);", "public void setDefaultPricebookAccess(java.lang.String defaultPricebookAccess) {\n this.defaultPricebookAccess = defaultPricebookAccess;\n }", "public void setDefaultHandler(PacketHandler handler) {\n hDefault=handler;\n }", "public void setDefault(String defaultTitle) {\n this.defaultTitle = defaultTitle;\n }", "public void addFilterToDialog(String sExtension, String filterName, boolean setToDefault)\n {\n try\n {\n //get the localized filtername\n String uiName = getFilterUIName(filterName);\n String pattern = \"*.\" + sExtension;\n\n //add the filter\n addFilter(uiName, pattern, setToDefault);\n }\n catch (Exception exception)\n {\n exception.printStackTrace(System.out);\n }\n }", "public void setDatabaseDefaultValue(String v) { // #LGU 10/08/2011\n\t\t_sDatabaseDefaultValue = v;\n\t}", "public void SetDefaultParams() {\n OCCwrapJavaJNI.BRepAlgo_NormalProjection_SetDefaultParams(swigCPtr, this);\n }", "public FilterWidget()\n {\n this.browserConnection = null;\n this.initalFilter = null;\n }", "public static void setNameFilter(String nameFilter) {\r\n PCCTRL.nameFilter = nameFilter;\r\n }", "public void setDefaultValue(final Object defaultValue);", "@SuppressWarnings(\"serial\")\n\tprivate void setFilter(TextField filter,Table table)\n\t{\n\t\tfilter.setImmediate(true);\n\t\tfilter.setTextChangeEventMode(TextChangeEventMode.EAGER);\n\t\tfilter.addTextChangeListener(new TextChangeListener() \n\t\t{\n\t\t\tFilter filter = null;\n\t\t\tpublic void textChange(TextChangeEvent event) \n\t\t\t{\n\t\t\t\tString search_text = event.getText();\n\t\t\t\tFilterable f = (Filterable) table.getContainerDataSource();\n\t\t\t\tif (filter != null)\n\t\t\t\t\tf.removeContainerFilter(filter);\n\t\t\t\tfilter = new Or(new SimpleStringFilter(\"Description\", search_text, true,false),\n\t\t\t\t\t\t new Or(new DateFilter(\"Start Date\", search_text)),\n\t\t\t\t\t\t new Or(new DateFilter(\"End Date\", search_text)), \n\t\t\t\t\t\t new Or(new DateFilter(\"Deadline\", search_text)),\n\t\t\t\t\t\t new SimpleStringFilter(\"Type\", search_text, true, false));\n\t\t\t\tf.addContainerFilter(filter);\n\t\t\t}\n\t\t});\n\t}", "public void setDefaultImg(YuiImage defaultImg) {\r\n\t\tthis.defaultImg = defaultImg;\r\n\t}", "public void setDefaultFlag(Integer defaultFlag) {\n this.defaultFlag = defaultFlag;\n }", "public void setDefaultSelector(final String defaultSelector) {\n\t\tthis.defaultSelector = defaultSelector;\n\t}", "public void initDefaultValues() {\n }", "public static void setInstallationDateModeFilter(int installationDateModeFilter) {\r\n PCCTRL.installationDateModeFilter = installationDateModeFilter;\r\n }", "@Override\r\n\tpublic void setPanelValue(CommonPanel tradeValue) {\n\t\tproductWindowpanel = (BONDPanel) tradeValue;\r\n\t\t\r\n\t}", "public DefaultPolicyFilter()\n\t{\n\t\tthis.compiler = new StackMachineCompiler();\n\t\tthis.executionEngine = new StackMachine();\n\t}", "public void setColDefault(String colDefault) {\r\n\t\tthis.colDefault = colDefault == null ? null : colDefault.trim();\r\n\t}", "public void setDefault(String key){\n _default = key;\n }", "@Inject\r\n\tpublic void setDefaultExpressionDataColumns(@Named(ServerConstants.KEY_DEFAULT_EXPRESSIONDATA_COLS) String defaults) {\n\t\tList<String> keyList = splitCommaSeparatedString(defaults);\r\n\t\t// Add this list to the map\r\n\t\tdefaultColumns.put(ObjectType.expressiondata.name(), keyList);\r\n\t}", "public final void setColumnWidthDefault(java.lang.Boolean columnwidthdefault)\r\n\t{\r\n\t\tsetColumnWidthDefault(getContext(), columnwidthdefault);\r\n\t}", "public void setDefault(String defaultTarget) {\n this.defaultTarget = defaultTarget;\n }", "@Inject\r\n\tpublic void setDefaultLayerColumns(\r\n\t\t\t@Named(ServerConstants.KEY_DEFAULT_LAYER_COLS) String defaults) {\r\n\t\tList<String> keyList = splitCommaSeparatedString(defaults);\r\n\t\t// Add this list to the map\r\n\t\tdefaultColumns.put(ObjectType.layer.name(), keyList);\r\n\t}", "private void setDefaultValues() {\r\n this.nodeDegreeSpinner.setValue(display_node_degree_default);\r\n this.displayEdgesSpinner.setValue(display_edges_default);\r\n this.scaleSpinner.setValue(scale_default);\r\n this.minweightSpinner.setValue(minweight_edges_default);\r\n this.iterationsSpinner.setValue(iterations_default);\r\n this.vote_value.setValue(vote_value_default);\r\n this.mut_value.setValue(mut_value_default);\r\n this.keep_value.setValue(keepclass_value_default);\r\n\r\n this.only_sub.setSelected(display_sub_default);\r\n this.top.setSelected(true);\r\n this.continuous.setSelected(true);\r\n this.dec.setSelected(true);\r\n this.vote_value.setEnabled(false);\r\n this.is_alg_started = false;\r\n }", "void setSampleFiltering(boolean filterFlag, float cutoffFreq) {\n }", "public void setCreationDefaultValues()\n {\n this.setDescription(this.getPropertyID()); // Warning: will be lower-case\n this.setDataType(\"\"); // defaults to \"String\"\n this.setValue(\"\"); // clear value\n //super.setRuntimeDefaultValues();\n }", "public static boolean getDefaultFilterAttributeState()\n {\n return defaults.filter_attribute_state;\n }", "@Override\r\n\tpublic void setFilterQueryProvider(FilterQueryProvider filterQueryProvider) {\n\t\tsuper.setFilterQueryProvider(filterQueryProvider);\r\n\t}", "public void setDefault(String defaultValue) {\n this.defaultValue = defaultValue;\n }", "public void setOpcdefault(java.lang.Boolean value) {\n\t\tsetValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCDEFAULT, value);\n\t}", "void setInitSql(String value);", "public void setDefaultOwner(boolean defaultOwner) {\r\n\t\tthis.defaultOwner = defaultOwner;\r\n\t}", "public boolean setFieldDefaultValue(String fldName, Object dftVal)\n {\n DBField fld = this.getField(fldName);\n if (fld != null) {\n fld.setDefaultValue(dftVal);\n return true;\n } else {\n return false;\n }\n }", "public void setVideoDisplayFilter(String filtername);", "@Test\n public void getDefaultValueForSetting_noPlatformPropertyForKeyDefined_propertyHasDefault()\n throws Throwable {\n clearAllPlatformSettings();\n\n runTX(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n String value = ldapSettingsMgmtSvc\n .getDefaultValueForSetting(SettingType.LDAP_CONTEXT_FACTORY);\n assertEquals(\"Returned value must correspond to default value\",\n SettingType.LDAP_CONTEXT_FACTORY.getDefaultValue(),\n value);\n return null;\n }\n });\n }", "public ReadPolicyStatDefaultSetting() {\n\t\tsuper();\n\t}", "public PesananGridFrame(String valueFilter) {\n initComponents();\n initDaftarPesanan(valueFilter);\n initTableListener();\n }", "public void setDefaultStyleString(String defaultStyleString) {\n/* 564 */ getCOSObject().setString(COSName.DS, defaultStyleString);\n/* */ }", "public void setJP_SalesRep_Value (String JP_SalesRep_Value);", "public void set_filter(String field,String value){\n\t\tset_filter(field,value,\"\");\n\t}", "public void setDefault_price(java.lang.String default_price) {\n this.default_price = default_price;\n }", "public void setDefaultAction(final ActionChanger<?> defaultAction) {\n if ((defaultAction != null) && (actions.indexOf(defaultAction) != -1)) {\n removeActionListener(this.defaultAction);\n this.defaultAction = defaultAction;\n addActionListener(this.defaultAction);\n final Object objIcon = defaultAction.getValue(Action.LARGE_ICON_KEY);\n if (objIcon instanceof ResizableIcon) {\n setIcon((ResizableIcon) objIcon);\n }\n setText((String) defaultAction.getValue(Action.NAME));\n setToolTipText((String) defaultAction.getValue(Action.SHORT_DESCRIPTION));\n }\n }", "@Test(timeout = 4000)\n public void test108() throws Throwable {\n DefaultDBColumn defaultDBColumn0 = new DefaultDBColumn(\"XSRSH.S\", (DBTable) null, (-2837), \"qfck0HL\");\n defaultDBColumn0.setDefaultValue(\"2GY_\");\n String string0 = SQLUtil.renderColumn(defaultDBColumn0);\n assertEquals(\"XSRSH.S QFCK0HL DEFAULT 2GY_ NULL\", string0);\n }", "public void setDefaultProxySwitchMaxNumPorts(java.lang.Integer defaultProxySwitchMaxNumPorts) {\r\n this.defaultProxySwitchMaxNumPorts = defaultProxySwitchMaxNumPorts;\r\n }", "public DefaultVideoFrameRenderFilter() {\n this(null);\n }", "public void setDefaultValue(Boolean value) {\n\t\tthis.value = value;\n\t}", "public void setDefaultGroup(boolean defaultGroup);", "public void setFilter(EntityFilter filter);", "private void setUpFilter() {\n List<Department> departmentsList = departmentService.getAll(0, 10000);\n departments.setItems(departmentsList);\n departments.setItemLabelGenerator(Department::getDepartment_name);\n departments.setValue(departmentsList.get(0));\n category.setItems(\"Consumable\", \"Asset\", \"%\");\n category.setValue(\"%\");\n status.setItems(\"FREE\", \"IN USE\", \"%\");\n status.setValue(\"%\");\n show.addClickListener(click -> updateGrid());\n }", "public void setDefaultCssFile( String pDefaultCssFile ) {\n mDefaultCssFile = pDefaultCssFile;\n }" ]
[ "0.7211791", "0.5592308", "0.53840286", "0.53809875", "0.5378354", "0.53326213", "0.53194", "0.5214788", "0.51482886", "0.5140702", "0.51178575", "0.50939465", "0.5075222", "0.5071665", "0.5003198", "0.5000229", "0.49652818", "0.49468374", "0.49366194", "0.49264887", "0.48907065", "0.4865988", "0.48612764", "0.48596328", "0.48360786", "0.4831008", "0.47970864", "0.47718498", "0.47709784", "0.47709236", "0.4763029", "0.47595286", "0.47542197", "0.47485903", "0.47349775", "0.4732073", "0.47230598", "0.47200766", "0.47136372", "0.47126234", "0.46970782", "0.46970665", "0.469083", "0.46779782", "0.46469453", "0.4631284", "0.46251404", "0.46097738", "0.46067077", "0.46046737", "0.4595", "0.45923197", "0.45912945", "0.45859656", "0.4584778", "0.45843294", "0.45791218", "0.45782426", "0.4568524", "0.45634466", "0.45580253", "0.45421967", "0.45414498", "0.453581", "0.45269966", "0.45262924", "0.4519878", "0.45192525", "0.4510812", "0.45061204", "0.45000574", "0.44990706", "0.4499045", "0.4498399", "0.44938484", "0.44911915", "0.4486415", "0.4481541", "0.44762057", "0.4471127", "0.44534335", "0.44509825", "0.44501677", "0.4446414", "0.44438246", "0.44332778", "0.4428095", "0.44241983", "0.4420958", "0.4420649", "0.44167757", "0.4404617", "0.44032335", "0.44022694", "0.43985748", "0.4397604", "0.43913183", "0.43909916", "0.43909758", "0.4390149" ]
0.8273584
0
Description : Get the 'defaultSPViewEditDescButton' attribute value.
public final JButton getDefaultSPViewEditDescButton() { return defaultSPViewEditDescButton; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDefaultSPViewEditDescButton(final JButton defaultSPViewEditDescButtonParam) {\n defaultSPViewEditDescButton = defaultSPViewEditDescButtonParam;\n }", "public IButton getEditButton() {\n return controls.getEditButton();\n }", "public Button getEditButton() {\n\t\treturn editButton;\n\t}", "private JButton getEditButton() {\n if (editButton == null) {\n editButton = new JButton();\n editButton.setText(\"Edit\");\n editButton.setToolTipText(\"Edit existing site settings\");\n editButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n editSelectedBalloonSettings();\n }\n });\n }\n return editButton;\n }", "public java.lang.String getDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public String getValue_click_CloseModal_Button(){\r\n\t\treturn click_CloseModal_Button.getAttribute(\"value\");\r\n\t}", "public String getActionDesc() {\n return (String) getAttributeInternal(ACTIONDESC);\n }", "public abstract String getManipulatorButtonLabel();", "public String getSaveButtonCaption() {\r\n\t\tif (_saveButton == null)\r\n\t\t\treturn null;\r\n\t\telse\r\n\t\t\treturn _saveButton.getDisplayName();\r\n\t}", "protected abstract String getAddDataIconDefaultCaption () ;", "public Object getBtnCancel() {\n return btnCancel;\n }", "public int getAddEditMenuText();", "public JButton getbtnViewAnswerImage() {\r\n\t\treturn btnViewAnswerImage;\r\n\t}", "public Point getEditClickPoint() { return editClickPoint; }", "private JButton getJButton1() {\n\t\tif (edit_button == null) {\n\t\t\tedit_button = new JButton();\n\t\t\tedit_button.setMnemonic(java.awt.event.KeyEvent.VK_E);\n\t\t\tedit_button.setText(Locale.getString(\"EDIT\"));\n\t\t}\n\t\treturn edit_button;\n\t}", "private RButton getShowDetailsButton() {\n if (showDetailsButton == null) {\n showDetailsButton = new RButton();\n showDetailsButton.setName(\"showDetailsButton\");\n showDetailsButton.setText(\"<%= ivy.cms.co(\\\"/Buttons/showDetails\\\") %>\");\n }\n return showDetailsButton;\n }", "public String getText_click_CloseModal_Button(){\r\n\t\treturn click_CloseModal_Button.getText();\r\n\t}", "public JButton getAnsBrowseBtn() {\r\n\t\treturn ansBrowseBtn;\r\n\t}", "public org.apache.xmlbeans.XmlString xgetDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESC$10);\r\n return target;\r\n }\r\n }", "public static Button getEditButton(SectionPart part) {\r\n\t\tif (part != null && part instanceof ExportSectionPart) {\r\n\t\t\tExportSectionPart ePart = (ExportSectionPart) part;\r\n\t\t\treturn ePart.getEditButton();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "@Override\n public JButton get_default_button()\n {\n return BT_OK;\n }", "public JButton getPOSBtn() {\r\n\t\tthis.posBtn = new JButton(\"POS File\");\r\n\t\tthis.posBtn.addActionListener(this);\r\n\t\tthis.posBtn.setEnabled(ComponentData.getPosBtnIsEnabled());\r\n\t\treturn this.posBtn;\r\n\t}", "public String getDocAction() \n{\nreturn (String)get_Value(\"DocAction\");\n}", "public String getValue_click_Digital_coupons_button(){\r\n\t\treturn click_Digital_coupons_button.getAttribute(\"value\");\r\n\t}", "public java.lang.Boolean getOpcdefault() {\n\t\treturn getValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCDEFAULT);\n\t}", "@Override\n\tpublic Object getCellEditorValue() {\n\t\treturn this.btn_delete.getText(); \n\t}", "public String getValue_txt_Fuel_Rewards_Page_Button(){\r\n\t\treturn txt_Fuel_Rewards_Page_Button.getAttribute(\"value\");\r\n\t}", "public JButton getChooseConfigFileButton() {\n\t\treturn this.btnOpenFileConfig;\n\t}", "@Override\r\n public Object getAttribute() {\r\n return this.buttonKey;\r\n }", "public String getValue_click_ActivateCoupon_Button(){\r\n\t\treturn click_ActivateCoupon_Button.getAttribute(\"value\");\r\n\t}", "public String GetButtonText() {\n\t\treturn getWrappedElement().getText();\n\t}", "public E getSelected() {\n ButtonModel selection = selectedModelRef.get();\n //noinspection UseOfSystemOutOrSystemErr\n final String actionCommand = selection.getActionCommand();\n //noinspection HardCodedStringLiteral,UseOfSystemOutOrSystemErr\n return Objects.requireNonNull(textMap.get(actionCommand));\n }", "public String edit() {\n return \"edit\";\n }", "XBCXDesc getDefaultItemDesc(XBCItem item);", "public JToggleButton getDetailsToggleButton() {\n return getToggleButton(1);\n }", "public java.lang.String getDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public JButton getQuestionImageBrosweButton() {\r\n\t\treturn qbrowseBtn;\r\n\t}", "public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getDocAction() {\n\t\treturn (String) get_Value(\"DocAction\");\n\t}", "public javax.swing.JButton getBtnCancel() {\n return btnCancel;\n }", "public String getDescriptor() {\n/* 218 */ return this.desc;\n/* */ }", "private RButton getCopyButton() {\n if (copyButton == null) {\n copyButton = new RButton();\n copyButton.setText(\"<%= ivy.cms.co(\\\"/Buttons/copy\\\") %>\");\n copyButton.setName(\"copyButton\");\n }\n return copyButton;\n }", "public JButton getDeclineButton() {\n\t\treturn declineButton;\n\t}", "private BButton getBtnCancel() {\r\n\t\tif (btnCancel == null) {\r\n\t\t\tbtnCancel = new BButton();\r\n\t\t\tbtnCancel.setText(\"Cancel\");\r\n\t\t\tbtnCancel.setPreferredSize(new Dimension(100, 29));\r\n\t\t}\r\n\t\treturn btnCancel;\r\n\t}", "org.apache.xmlbeans.XmlString xgetDesc();", "public String getText_click_ActivateCoupon_Button(){\r\n\t\treturn click_ActivateCoupon_Button.getText();\r\n\t}", "public abstract String getRightButtonText();", "public String getModelXMLTagValue(String tagname, String default_value) {\n\t\tElement res = getModelXMLElement(tagname);\n\t\treturn (res != null) ? res.getTextContent() : default_value;\n\t}", "public ButtonTag GetButtonTag(){\n if(buttonTag != null) {\n return ButtonTag.valueOf(buttonTag);\n }\n else{\n return null;\n }\n }", "public String getVisualizerButtonSelected() {\n return visualizerButtonSelected;\n }", "public boolean getBButton() {\n\t\treturn getRawButton(B_Button);\n\t}", "public boolean getAButton() {\n\t\treturn getRawButton(A_Button);\n\t}", "public org.apache.xmlbeans.XmlString xgetDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESCRIPTION$8);\r\n return target;\r\n }\r\n }", "public String getAddButtonCaption() {\r\n\t\tif (_addButton == null)\r\n\t\t\treturn null;\r\n\t\telse\r\n\t\t\treturn _addButton.getDisplayName();\r\n\t}", "public JButton getBookingViewButton() {\n return bookingButton;\n }", "public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "String getDefaultDisabledByPolicyTitle();", "public org.apache.xmlbeans.XmlString xgetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESCRIPTION$14);\n return target;\n }\n }", "public String getDescTemplate()\n {\n return m_sDescTemplate;\n }", "public boolean getAButton() {\n\t\treturn getRawButton(A_BUTTON);\n\t}", "public String getActionDescription() {\n return actionDescription;\n }", "public String loadMainEdit(){\r\n\t\treturn \"edit\";\r\n }", "public MenuButton getHighscoreButton() {\n return highscoreButton;\n }", "public String getMessageButton() {\n return messageButton;\n }", "protected IDescriptor getActiveDescriptor() {\n if (editor != null) {\n return editor.getActiveDisplayPane().getDescriptor();\n }\n return null;\n }", "public int getButton() {\n\t\t//Check what button it is then return the value\n\t\tif (this.isLeftButton)\n\t\t\treturn 0;\n\t\telse if (this.isRightButton)\n\t\t\treturn 1;\n\t\telse if (this.isMiddleButton)\n\t\t\treturn 2;\n\t\telse\n\t\t\treturn -1;\n\t}", "public int getButtonID(){return i_ButtonID;}", "public Object getOnclick() {\r\n\t\treturn getOnClick();\r\n\t}", "public String getDescription() {\n return ACTION_DETAILS[id][DESC_DETAIL_INDEX];\n }", "public HasClickHandlers getSaveButton() {\n\t\treturn btnSave;\r\n\t}", "public String getDocAction();", "public String getDocAction();", "public boolean getBButton() {\n\t\treturn getRawButton(B_BUTTON);\n\t}", "public JButton getAddModifyButton() {\n return addModifyButton;\n }", "public javax.swing.JButton getCancelBtn() {\n\t\treturn cancelBtn;\n\t}", "public String type() {\n\t\treturn IUIControl.TYPE_BUTTON;\n\t}", "public String getAccessibleActionDescription(int i) {\n if (i == 0) {\n // [[[PENDING: WDW -- need to provide a localized string]]]\n return \"click\";\n } else {\n return null;\n }\n }", "public MultiViewDescription getActiveDescription() {\n \treturn currentEditor;\n }", "public String getValue() {\n return super.getAttributeValue();\n }", "public Object getOndblclick() {\r\n\t\treturn getOnDblClick();\r\n\t}", "@Override\n public ImageDescriptor getFlagImageDescriptor() {\n ImageDescriptor descriptor = AwsToolkitCore.getDefault().getImageRegistry()\n .getDescriptor(AwsToolkitCore.IMAGE_FLAG_PREFIX + id);\n if ( descriptor == null ) {\n descriptor = AwsToolkitCore.getDefault().getImageRegistry().getDescriptor(AwsToolkitCore.IMAGE_AWS_ICON);\n }\n return descriptor;\n }", "private JButton getRejectButton() {\n return ((OkCancelButtonPanel) getButtonPanel()).getCancelButton();\n }", "public org.apache.xmlbeans.XmlString xgetDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$2, 0);\n return target;\n }\n }", "public JButton getBtnBonus() {\n return btnBonus;\n }", "public String getDeleteButtonCaption() {\r\n\t\tif (_deleteButton == null)\r\n\t\t\treturn null;\r\n\t\telse\r\n\t\t\treturn _deleteButton.getDisplayName();\r\n\t}", "public int getNilaiBtn() {\n return nilaiBtn;\n }", "public String getCronopElemDesc() {\n\t\treturn this.cronopElemDesc;\n\t}", "public String getViewServiceDescription()\n {\n return viewServiceDescription;\n }", "public JButtonOperator btSettings() {\n if (_btSettings==null) {\n _btSettings = new JButtonOperator(this,\n Bundle.getStringTrimmed(\"org.netbeans.modules.derby.ui.Bundle\", \"LBL_Properties\"));\n }\n return _btSettings;\n }", "public java.lang.String getDesc() {\r\n return desc;\r\n }", "@Override\n\tpublic Button getEraseDefineButton() {\n\t\treturn defineButtonBar.getEraseButton();\n\t}", "public String getKey() {\r\n return this.buttonKey;\r\n }", "public String getDescription() {\r\n\t\treturn McsElement.getElementByXpath(driver, DESCRIPTION_TXTAREA)\r\n\t\t\t\t.getAttribute(\"value\");\r\n\t}", "public String getText_click_Digital_coupons_button(){\r\n\t\treturn click_Digital_coupons_button.getText();\r\n\t}", "public java.lang.Boolean getEdit() {\n return edit;\n }", "String getDescription() {\n if (description == null) {\n return null;\n }\n if (basicControl) {\n return String.format(\"%s %s\", context.getString(description), context.getString(R.string.basicControl));\n }\n return context.getString(description);\n }", "public int getButtonViewId() {\n return R.id.tv_dismiss;\n }", "public static Button getDownButton(SectionPart part) {\r\n\t\tif (part != null && part instanceof ExportSectionPart) {\r\n\t\t\tExportSectionPart ePart = (ExportSectionPart) part;\r\n\t\t\treturn ePart.getDownButton();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "protected javax.swing.JButton getJButtonEdit() {\n\t\tif(jButton3 == null) {\n\t\t\tjButton3 = new javax.swing.JButton();\n\t\t\tjButton3.setPreferredSize(new java.awt.Dimension(85,25));\n\t\t\tjButton3.setText(\"Edit...\");\n\t\t\tjButton3.setEnabled(false);\n\t\t\tjButton3.setMnemonic(java.awt.event.KeyEvent.VK_E);\n\t\t\tjButton3.setToolTipText(\"Modify an existing play entry from the list below\");\n\t\t\tjButton3.addActionListener(new java.awt.event.ActionListener() { \n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\t\t\t\t\t\n\t\t\t\t\tif( getJTablePlayList().getSelectedRow() < 0 )\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\tint selRow = getJTablePlayList().getSelectedRow();\n\t\t\t\t\tVideoEntryEditor ed = new VideoEntryEditor(PlayListDialog.this);\n\t\t\t\t\ted.setThemeFiles( getThemeFiles() );\n\t\t\t\t\ted.setPlayOrderCriteria(\n\t\t\t\t\t\t\tnew PlayOrderCriteria(\n\t\t\t\t\t\t\t\t\tgetTableModel().getMaxPlayOrder(),\n\t\t\t\t\t\t\t\tgetTableModel().getPlayOrders(selRow)) );\n\t\t\t\t\t\n\t\t\t\t\ted.setVideoEntry(\n\t\t\t\t\t\tgetTableModel().getRowAt(selRow) );\n\n\t\t\t\t\ted.show();\n\t\t\t\t\t\n\t\t\t\t\tif( ed.getResponse() == JOptionPane.OK_OPTION ) {\n\t\t\t\t\t\tgetTableModel().updateRow( selRow, ed.getVideoEntry() );\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn jButton3;\n\t}", "public String editLongDesc(){\r\n \tString nextView= null;\r\n \tthis.getLog().info(\"editLongDesc()\");\r\n \t\r\n \tif(selectedAlgorithmID >= 0){\r\n \t\tthis.getLog().info(\"+ selected algorithm:\" + selectedAlgorithm.getDisplayShortName());\r\n\t \t\tnextView = \"editB_LongDescription\";\r\n \t}else{\r\n \t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN, \"Error\" , \"<br />Please select an algorithm to edit.\"));\t\r\n \t}\r\n \t\r\n \tthis.getLog().info(\"+ nextView:\" + nextView); \r\n\t\treturn nextView;\r\n }" ]
[ "0.6693457", "0.6105222", "0.6067843", "0.57121146", "0.5661783", "0.5601606", "0.55296147", "0.55075234", "0.5472211", "0.5437027", "0.54045266", "0.5354981", "0.5354519", "0.5348953", "0.53438157", "0.5296485", "0.5287812", "0.52804965", "0.52685374", "0.5239995", "0.5226892", "0.52104133", "0.51977813", "0.5184461", "0.51813394", "0.5148129", "0.51396173", "0.51296526", "0.512079", "0.5107458", "0.5103156", "0.5067147", "0.5066908", "0.50641453", "0.50639105", "0.50593114", "0.50541604", "0.50491834", "0.50478786", "0.5037405", "0.50354195", "0.5032138", "0.50257885", "0.50235635", "0.50168467", "0.5015963", "0.5013353", "0.5009699", "0.500871", "0.5008362", "0.5004988", "0.4978692", "0.49720383", "0.49711296", "0.49578816", "0.49445045", "0.49432567", "0.4935746", "0.49217546", "0.4919958", "0.4906314", "0.4904416", "0.49017256", "0.49015296", "0.48977587", "0.48868406", "0.4884076", "0.48821992", "0.48805904", "0.4869389", "0.4866967", "0.4866967", "0.48598105", "0.48582333", "0.48530865", "0.48523605", "0.4845695", "0.48422477", "0.4841419", "0.48323223", "0.48308942", "0.48286062", "0.48256573", "0.482256", "0.48190644", "0.48169497", "0.481497", "0.48141506", "0.48136532", "0.4807824", "0.48070934", "0.48004", "0.48002574", "0.479859", "0.4798588", "0.47958964", "0.47945023", "0.4791888", "0.47864777", "0.47851425" ]
0.82616025
0
Description : Set the 'defaultSPViewEditDescButton' attribute value.
public final void setDefaultSPViewEditDescButton(final JButton defaultSPViewEditDescButtonParam) { defaultSPViewEditDescButton = defaultSPViewEditDescButtonParam; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final JButton getDefaultSPViewEditDescButton() {\n return defaultSPViewEditDescButton;\n }", "public void setActionDesc(String value) {\n setAttributeInternal(ACTIONDESC, value);\n }", "public void setEditButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_editButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_editButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_editButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setEditButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void setDesc(java.lang.String desc)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESC$10);\r\n }\r\n target.setStringValue(desc);\r\n }\r\n }", "public void setEditButton(Button editButton) {\n\t\tthis.editButton = editButton;\n\t}", "public void xsetDesc(org.apache.xmlbeans.XmlString desc)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DESC$10);\r\n }\r\n target.set(desc);\r\n }\r\n }", "public final void setShowCustomEditorButton(boolean val) {\n if (getProperty() != null) {\n Property p = getProperty();\n Boolean explicit = (Boolean) p.getValue(\"suppressCustomEditor\"); //NOI18N\n\n if (explicit != null) {\n val = explicit.booleanValue();\n System.err.println(\"Found explicit value: \" + val);\n }\n }\n\n if (showCustomEditorButton != val) {\n showCustomEditorButton = val;\n replaceInner();\n }\n }", "void xsetDesc(org.apache.xmlbeans.XmlString desc);", "void setDesc(java.lang.String desc);", "public void setUndoDescription(String desc) {\n description = desc;\n }", "public Button getEditButton() {\n\t\treturn editButton;\n\t}", "public void setDescription(String desc) {\n sdesc = desc;\n }", "public void setDescription(String desc)\r\n {\r\n\tthis.desc = desc;\r\n }", "public void setPaymentDesc(String value) {\n setAttributeInternal(PAYMENTDESC, value);\n }", "public void setEditButtonVisible(boolean visible) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_editButton_propertyVisible\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_editButton_propertyVisible\", visible);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setEditButtonVisible(\" + visible + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "@Override\n protected Button createButton(Composite parent, int id, String label,\n boolean defaultButton) {\n return null;// 重写父类的按钮,返回null,使默认按钮失效\n }", "public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }", "public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }", "public void setDescription(String value) {\n setAttributeInternal(DESCRIPTION, value);\n }", "public void setOpcdefault(java.lang.Boolean value) {\n\t\tsetValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCDEFAULT, value);\n\t}", "protected void setEditUrl(EditingPolicyHelper policyHelper, ObjectPropertyStatement ops) {\n RequestedAction action = new EditObjPropStmt(ops);\n if ( ! policyHelper.isAuthorizedAction(action) ) {\n return;\n }\n \n if (propertyUri.equals(VitroVocabulary.IND_MAIN_IMAGE)) {\n editUrl = ObjectPropertyTemplateModel.getImageUploadUrl(subjectUri, \"edit\");\n } else {\n ParamMap params = new ParamMap(\n \"subjectUri\", subjectUri,\n \"predicateUri\", propertyUri,\n \"objectUri\", objectUri);\n \n if ( deleteUrl.isEmpty() ) {\n params.put(\"deleteProhibited\", \"prohibited\");\n }\n \n params.putAll(UrlBuilder.getModelParams(vreq));\n \n editUrl = UrlBuilder.getUrl(EDIT_PATH, params);\n } \n }", "@Override\n\t\tpublic void postInit(){\n\t\tsuper.postInit();\n\t\tthis.buttonList.add(this.readDescription = new GuiButton(6, this.width - 110, 2, 100, 20, \"World Description\"));\n\t\tthis.readDescription.enabled = false;\n\t}", "@FXML\n void setBtnEditOnClick() {\n isEdit = true;\n isAdd = false;\n isDelete = false;\n }", "public void setDefault(String defaultTarget) {\n this.defaultTarget = defaultTarget;\n }", "public void setDescription(String newDesc){\n\n //assigns the value of newDesc to the description field\n this.description = newDesc;\n }", "public void setCancelButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_cancelButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_cancelButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_cancelButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setCancelButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void setDescription(String desc) {\n description = desc;\n }", "public void setProductExtDesc(String value) {\n setAttributeInternal(PRODUCTEXTDESC, value);\n }", "public void setDescription(java.lang.String value);", "public void setDescription(java.lang.String value);", "public void setDescription(java.lang.String value);", "public void setDescription(java.lang.String value);", "public void setDocAction (String DocAction);", "public void setDocAction (String DocAction);", "public void SaveButtonOnClickListener(View view) {\n String defaultObjectOwner = ((EditText)findViewById(R.id.settings_default_object_owner_field)).getText().toString().trim();\n presenter.SaveSettings(defaultObjectOwner);\n }", "public void setDescription(String value)\r\n {\r\n getSemanticObject().setProperty(swb_description, value);\r\n }", "public void click_defineSetupPage_LoadDescField() {\r\n\t\tclickOn(DefineSetup_LoadDesc_txtBx);\r\n\t}", "public void setDescription(String desc) {\n description = desc.trim();\n if (description.equals(\"\")) {\n description = \"NODESC\";\n }\n }", "@Override\n public JButton get_default_button()\n {\n return BT_OK;\n }", "public void setDescription(String desc) {\n // space check provided by:\n // https://stackoverflow.com/questions/3247067/how-do-i-check-that-a-java-string-is-not-all-whitespaces\n if (desc == null || desc.trim().length() == 0) {\n description = NO_DESCRIPTION;\n } else {\n description = desc;\n }\n }", "public void setDescription(String desc) {\n this.desc = desc;\n }", "@Override\n public void setDescription(String arg0)\n {\n \n }", "public void setProductBrandDesc(String value) {\n setAttributeInternal(PRODUCTBRANDDESC, value);\n }", "protected void setToDefault(){\n\n\t}", "public void setAnsBrowseBtn(JButton ansBrowseBtn) {\r\n\t\tthis.ansBrowseBtn = ansBrowseBtn;\r\n\t}", "public void setDesc(String desc) {\n\t this.desc = desc;\n\t }", "public void setDescription(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(DESCRIPTION_PROP.get(), value);\n }", "public void setDescription(String desc);", "public void setDescription(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(DESCRIPTION_PROP.get(), value);\n }", "public void setSaveButtonCaption(String caption) {\r\n\t\tif (_saveButton != null)\r\n\t\t\t_saveButton.setDisplayName(caption);\r\n\t}", "public void setDescriptorBase(Ed descriptorBase) {\n\n this.descriptorBase = descriptorBase;\n //Se descriptorBase existe, atribui este como seu parente\n// if(this.descriptorBase != null)\n// this.descriptorBase.setParent(this);\n }", "public final native void setEdited(boolean edited) /*-{\n\t\tthis.edited = edited;\n\t}-*/;", "public void setDesc(String desc) {\r\n\t\tthis.desc = desc;\r\n\t}", "public void setDesc(String desc) {\r\n\t\tthis.desc = desc;\r\n\t}", "public void setProductClassDesc(String value) {\n setAttributeInternal(PRODUCTCLASSDESC, value);\n }", "public void clickEditButton(){\r\n\t\t\r\n\t\tMcsElement.getElementByXpath(driver, \"//div[contains(@class,'x-tab-panel-noborder') and not(contains(@class,'x-hide-display'))]//button[contains(@class,'icon-ov-edit')]\").click();\r\n\t\t\r\n\t}", "private JButton getEditButton() {\n if (editButton == null) {\n editButton = new JButton();\n editButton.setText(\"Edit\");\n editButton.setToolTipText(\"Edit existing site settings\");\n editButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n editSelectedBalloonSettings();\n }\n });\n }\n return editButton;\n }", "public void setNewButtonText(String text) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_newButton_propertyText\");\n/*Generated! Do not modify!*/ if (text == null) {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().remove(\"overviewSmall_newButton_propertyText\");\n/*Generated! Do not modify!*/ } else {\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_newButton_propertyText\", text);\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setNewButtonText(\" + escapeString(text) + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "private void updateDescTemplate(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\telse if(propertiesObj instanceof FormDef){\n\t\t\t((FormDef)propertiesObj).setDescriptionTemplate(txtDescTemplate.getText());\n\t\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t\t}\n\t}", "private void setTooltip() {\n\t\tif (buttonAddScannable != null && !buttonAddScannable.isDisposed()) {\n\t\t\tgetParentShell().getDisplay().asyncExec(() -> buttonAddScannable.setToolTipText(\"Select scannable to add to list...\"));\n\t\t}\n\t}", "public void setDesc(java.lang.String desc) {\r\n this.desc = desc;\r\n }", "public void setDescription(String value) {\r\n this.description = value;\r\n }", "@FXML\n void setBtnCancelOnClick() {\n this.setDisableLocation(true);\n this.setDisableContent(true);\n this.setDisablePrice(true);\n this.setDisableAds(true);\n this.setDisableSelectedButtons(true);\n this.tableViewAds.setDisable(false);\n\n this.lblStatusValue.setText(\"The operation was canceled.\");\n }", "public void setCronopElemDesc(String cronopElemDesc) {\n\t\tthis.cronopElemDesc = cronopElemDesc;\n\t}", "public Builder setDescription(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n description_ = value;\n onChanged();\n return this;\n }", "public void setDescription(String sDescription);", "public void setDefaultTarget(String defaultTarget) {\n this.defaultTarget = defaultTarget;\n }", "public boolean shouldEditButtonBePresent();", "public static void setDescription(AbstractCard card, String desc){\n\n PluralizeFieldsPatch.trueRawDescription.set(card,desc);\n createPluralizedDescription(card);\n }", "public void setDescription(String paramDesc) {\n\tstrDesc = paramDesc;\n }", "public void editDescription(String description) {\n this.description = description;\n }", "public void setDescription(String s) {\n if (s == null && shortDescription == null) {\n return;\n }\n\n if (s == null || !s.equals(shortDescription)) {\n String oldDescrption = shortDescription;\n shortDescription = s;\n listeners.firePropertyChange(PROPERTY_DESCRIPTION, oldDescrption,\n shortDescription);\n }\n }", "public void setProductPackDesc(String value) {\n setAttributeInternal(PRODUCTPACKDESC, value);\n }", "public void setDesc(String desc) {\n this.desc = desc;\n }", "public void setDesc(String desc) {\n this.desc = desc;\n }", "public void setImgDesc(String imgDesc) {\r\n this.imgDesc = imgDesc;\r\n }", "public IButton getEditButton() {\n return controls.getEditButton();\n }", "public boolean setData2Editor(String desc) {\n \tif (_data.getOptMode() == AbstractGovernor.DroopMode) \n \t droopRadioButton.setSelected(true);\n \telse\n \t isochRadioButton.setSelected(true);\n\n \trTextField.setText(Number2String.toStr(_data.getR(), \"#0.00\"));\n \t fp1TextField.setText(Number2String.toStr(_data.getFp1(), \"#0.00\"));\n \t fp2TextField.setText(Number2String.toStr(_data.getFp2(), \"#0.00\"));\n \t fp3TextField.setText(Number2String.toStr(_data.getFp3(), \"#0.00\"));\n \t t1TextField.setText(Number2String.toStr(_data.getT1(), \"#0.00\"));\n \t t2TextField.setText(Number2String.toStr(_data.getT2(), \"#0.00\"));\n \t t3TextField.setText(Number2String.toStr(_data.getT3(), \"#0.00\"));\n \t t4TextField.setText(Number2String.toStr(_data.getT4(), \"#0.00\"));\n \t t5TextField.setText(Number2String.toStr(_data.getT5(), \"#0.00\"));\n \t pmaxTextField.setText(Number2String.toStr(_data.getPmax(), \"#0.00\"));\n \t pminTextField.setText(Number2String.toStr(_data.getPmin(), \"#0.00\"));\n \t \n return true;\n\t}", "public void setDesc(java.lang.String desc) {\n\t\tthis.desc = desc;\n\t}", "public Builder setDescriptionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n description_ = value;\n onChanged();\n return this;\n }", "public abstract void setContentDescription(String description);", "@Override\r\n\tprotected void onBoEdit() throws Exception {\n\t\tgetButtonManager().getButton(\r\n\t\t\t\tnc.ui.wds.w8006080202.tcButtun.ITcButtun.Con)\r\n\t\t\t\t.setEnabled(false);\r\n\t\tgetButtonManager().getButton(\r\n\t\t\t\tnc.ui.wds.w8006080202.tcButtun.ITcButtun.Pp)\r\n\t\t\t\t.setEnabled(false);\r\n\t\tsuper.onBoEdit();\r\n\t}", "public void clickOnEditButton() {\r\n\t\tsafeClick(addMarkerOkButton.replace(\".ant-modal-footer button.ant-btn.ant-btn-primary\",\r\n\t\t\t\t\".ant-btn.ant-btn-primary.ant-btn-circle\"), SHORTWAIT);\r\n\t}", "public void set_value_to_default() {\n this.selectionListStrike.setText(\"\");\n this.selectionListCal_iv.setText(\"\");\n this.selectionListUlast.setText(\"\");\n String format = new SimpleDateFormat(\"dd/MM/yyyy\").format(new Date());\n int parseInt = Integer.parseInt(format.substring(6, 10));\n int parseInt2 = Integer.parseInt(format.substring(3, 5));\n int parseInt3 = Integer.parseInt(format.substring(0, 2));\n this.selectedDate = parseInt + \"-\" + parseInt2 + \"-\" + parseInt3;\n this.selectionListExpiry.setSelectedText(format);\n this.selectionListExpiry.initItems(R.string.set_date, SelectionList.PopTypes.DATE, parseInt, parseInt2, parseInt3);\n if (!this.wtype.equals(\"C\")) {\n this.callputbutton.callOnClick();\n }\n }", "public void setDescription(String descr);", "final public void setShortDesc(String shortDesc)\n {\n setProperty(SHORT_DESC_KEY, (shortDesc));\n }", "public abstract void setTemplDesc(String templDesc);", "public void setcatgdesc(String value) {\n setAttributeInternal(CATGDESC, value);\n }", "@Override\n\tpublic void setButtonAction() {\n\t}", "@Override\n public void setTooltip(String arg0)\n {\n \n }", "public void setOkToEditQuestion(String string) {\r\n\t\t_okToEditQuestion = string;\r\n\t}", "public void setDescription(String value) {\n this.description = value;\n }", "@FXML\n void setBtnAddEditLocationOnClick() {\n this.setDisableLocation(false);\n this.setDisableContent(true);\n this.setDisablePrice(true);\n this.setDisableSelectedButtons(false);\n this.setDisableAds(true);\n this.tableViewAds.setDisable(true);\n this.cleanDetailsFields();\n this.selectOptionAddEdit(false, false, true, false);\n\n if (isEdit) {\n this.comboBoxLocation.setDisable(false);\n }\n }", "public void setBookDesc(java.lang.String value);", "@Override\r\n public String getOKTitle() {\r\n return \"Set\";\r\n }", "public void setCancelButtonVisible(boolean visible) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_cancelButton_propertyVisible\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_cancelButton_propertyVisible\", visible);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setCancelButtonVisible(\" + visible + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }", "public void setDescription(CharSequence value) {\n this.description = value;\n }", "public final void setDescription(final String desc) {\n mDescription = desc;\n }", "public void setDescription(String lang, String value) {\n/* 171 */ setLangAlt(\"description\", lang, value);\n/* */ }", "private void updateDefaultValue(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\t\t\n\t\t((QuestionDef)propertiesObj).setDefaultValue(txtDefaultValue.getText());\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}" ]
[ "0.7835184", "0.5840153", "0.5726045", "0.5651908", "0.56133074", "0.5568725", "0.53515184", "0.526226", "0.5221504", "0.513813", "0.5127814", "0.51102674", "0.5046645", "0.50455093", "0.5037742", "0.50360125", "0.5020217", "0.5020217", "0.5020217", "0.50158274", "0.50089", "0.5007097", "0.49945724", "0.49858063", "0.4978961", "0.49664575", "0.49528167", "0.49437562", "0.49426705", "0.49426705", "0.49426705", "0.49426705", "0.49391958", "0.49391958", "0.49179032", "0.4912348", "0.49071974", "0.4899132", "0.48934877", "0.48882172", "0.48813292", "0.48799583", "0.4875596", "0.48646498", "0.48578462", "0.4854628", "0.4843449", "0.48415902", "0.48356384", "0.48347592", "0.4833862", "0.4833622", "0.48330227", "0.48330227", "0.48297745", "0.48147482", "0.48126906", "0.48084226", "0.4804691", "0.4801538", "0.47996753", "0.47982427", "0.47971436", "0.47864574", "0.47829208", "0.4782281", "0.478208", "0.47808468", "0.4771676", "0.47699532", "0.47636878", "0.47612053", "0.47556323", "0.47542092", "0.47542092", "0.4753724", "0.47496325", "0.47449517", "0.47414854", "0.47408384", "0.47381464", "0.4736852", "0.47293591", "0.4729312", "0.47220448", "0.47185093", "0.4717989", "0.47114038", "0.47103065", "0.47087237", "0.4707556", "0.47052553", "0.46937618", "0.46912172", "0.46908027", "0.46797964", "0.46787828", "0.46750796", "0.46712205", "0.4667978" ]
0.8351383
0
replaceItAll(url, "url(\"%s\")", s > File.relative(this.file, s));
public void processFile() { Matcher m = css.matcher(html); html = m.replaceAll(matchResult -> { String location = File.relative(this.file, matchResult.group(1)); String stylesheet = File.readFrom(location); File loc = new File(location).getParentFile(); Matcher urlMatcher = url.matcher(stylesheet); stylesheet = urlMatcher.replaceAll(match -> { String s = "url(\"" + File.relative(loc, match.group(1)) + "\")"; return s.replaceAll("\\\\", "\\\\\\\\\\\\\\\\"); }); loc.close(); return String.format("<style type=\"text/css\">%n%s%n</style>", stylesheet); }); replaceItAll(js, "<script type=\"text/javascript\">%n%s%n</script>", s -> File.readFrom(file.getAbsolutePath() + "\\" + s)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String rewriteUrl(String originalUrl);", "public static URL adjustURL(URL resource) throws MalformedURLException {\n \t\tString urlStr = resource.getFile();\n \t\tif (urlStr.startsWith(\"file://\"))\n \t\t\turlStr.replaceFirst(\"file://localhost\", \"file://\");\n \t\telse\n \t\t\turlStr = \"file:///\" + urlStr;\n \t\treturn new URL(urlStr);\n \t}", "@Test\n public void testMakeRelativeURL3() throws Exception {\n URL base = new URL(\"http://ahost.invalid/a/b/c\");\n assertEquals(new URL(\"http://host.invalid/e\"),ConversionUtils.makeRelativeURL(base ,\"http://host.invalid/e\"));\n assertEquals(new URL(\"https://host.invalid/e\"),ConversionUtils.makeRelativeURL(base ,\"https://host.invalid/e\"));\n assertEquals(new URL(\"http://host.invalid:8081/e\"),ConversionUtils.makeRelativeURL(base ,\"http://host.invalid:8081/e\"));\n assertEquals(new URL(\"https://host.invalid:8081/e\"),ConversionUtils.makeRelativeURL(base ,\"https://host.invalid:8081/e\"));\n }", "private static String regReplace(String text, String regex) {\n\n String result = text;\n\n Pattern p = Pattern.compile(regex);\n Matcher matcher = p.matcher(text);\n while (matcher.find()) {\n\n String url = matcher.group();\n\n LOG.info(\"matched url path:{}\", url);\n\n String convertUrl = null;\n if (StringUtils.equals(regex, ORIG_URL_REGEX)) {\n\n convertUrl = getRelativeRewriteUrl(url);\n } else if (StringUtils.equals(regex, REWRITE_URL_REGEX)) {\n // convertUrl = getRelativeOrigUrl(url);\n }\n\n if (!StringUtils.equals(convertUrl, url)) {\n\n result = StringUtils.replace(result, url, convertUrl);\n }\n }\n\n return result;\n }", "private static String translateUrl(Reader r) throws IOException {\n StringBuilder s = new StringBuilder();\n while (true) {\n int c = r.read();\n if (c < 0) return s.toString();\n else if (c == '%') appendMultibyte(r, s);\n else if (c == '+') s.append(' ');\n else s.append((char) c);\n }\n }", "public static String toRelativeURL(URL base, URL target) {\n\t\t// Precondition: If URL is a path to folder, then it must end with '/'\n\t\t// character.\n\t\tif ((base.getProtocol().equals(target.getProtocol()))\n\t\t\t\t|| (base.getHost().equals(target.getHost()))) { // changed this logic symbol\n\n\t\t\tString baseString = base.getFile();\n\t\t\tString targetString = target.getFile();\n\t\t\tString result = \"\";\n\n\t\t\t// remove filename from URL\n\t\t\tbaseString = baseString.substring(0,\n\t\t\t\t\tbaseString.lastIndexOf(\"/\") + 1);\n\n\t\t\t// remove filename from URL\n\t\t\ttargetString = targetString.substring(0,\n\t\t\t\t\ttargetString.lastIndexOf(\"/\") + 1);\n\n\t\t\tStringTokenizer baseTokens = new StringTokenizer(baseString, \"/\");// Maybe\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// this\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// causes\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// problems\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// under\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// windows\n\t\t\tStringTokenizer targetTokens = new StringTokenizer(targetString,\n\t\t\t\t\t\"/\");// Maybe this causes problems under windows\n\n\t\t\tString nextBaseToken = \"\", nextTargetToken = \"\";\n\n\t\t\t// Algorithm\n\n\t\t\twhile (baseTokens.hasMoreTokens() && targetTokens.hasMoreTokens()) {\n\t\t\t\tnextBaseToken = baseTokens.nextToken();\n\t\t\t\tnextTargetToken = targetTokens.nextToken();\n\t\t\t\tif (!(nextBaseToken.equals(nextTargetToken))) {\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tresult = result.concat(\"../\");\n\t\t\t\t\t\tif (!baseTokens.hasMoreTokens()) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnextBaseToken = baseTokens.nextToken();\n\t\t\t\t\t}\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tresult = result.concat(nextTargetToken + \"/\");\n\t\t\t\t\t\tif (!targetTokens.hasMoreTokens()) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnextTargetToken = targetTokens.nextToken();\n\t\t\t\t\t}\n\t\t\t\t\tString temp = target.getFile(); // to string\n\t\t\t\t\tresult = result.concat(temp.substring(\n\t\t\t\t\t\t\ttemp.lastIndexOf(\"/\") + 1, temp.length()));\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\twhile (baseTokens.hasMoreTokens()) {\n\t\t\t\tresult = result.concat(\"../\");\n\t\t\t\tbaseTokens.nextToken();\n\t\t\t}\n\n\t\t\twhile (targetTokens.hasMoreTokens()) {\n\t\t\t\tnextTargetToken = targetTokens.nextToken();\n\t\t\t\tresult = result.concat(nextTargetToken + \"/\");\n\t\t\t}\n\n\t\t\tString temp = target.getFile(); // to string\n\t\t\tresult = result.concat(temp.substring(temp.lastIndexOf(\"/\") + 1,\n\t\t\t\t\ttemp.length()));\n\t\t\treturn result;\n\t\t}\n\t\treturn target.toString();\n\t}", "public URL standardizeURL(URL startingURL);", "public native final String SRC_REPLACE() /*-{\n\t\treturn this.SRC_REPLACE;\n\t}-*/;", "private static String handleUrl(String s) {\n if (s.endsWith(\"/..\")) {\n int idx = s.lastIndexOf('/');\n s = s.substring(0, idx - 1);\n idx = s.lastIndexOf('/');\n String gs = s.substring(0, idx);\n if (!gs.equals(\"smb:/\")) {\n s = gs;\n }\n }\n if (!s.endsWith(\"/\")) {\n s += \"/\";\n }\n System.out.println(\"now its \" + s);\n return s;\n }", "String generalFileName(String url);", "private String relativize(String p) {\n return Paths.get(\"\").toAbsolutePath().relativize(Paths.get(p).toAbsolutePath()).toString();\n }", "private static String translateOriginExpressionRelativeToAbsolute(String originExpRelative, ReferenceSymbolic origin) {\n\t\tfinal String originString = origin.asOriginString();\n\t\t\n\t\t//replaces {$REF} with ref.origin\n\t\tString retVal = originExpRelative.replace(REF, originString);\n\t\t\n\t\t//eats all /whatever/UP pairs \n\t\tString retValOld;\n\t\tdo {\n\t\t\tretValOld = retVal;\n\t\t\tretVal = retVal.replaceFirst(\"\\\\.[^\\\\.]+\\\\.\\\\Q\" + UP + \"\\\\E\", \"\");\n\t\t} while (!retVal.equals(retValOld));\n\t\treturn retVal;\n\t}", "public static String unEscapeURL(String src) {\n\t StringBuffer bf = new StringBuffer();\n\t char[] s = src.toCharArray();\n\t for (int k = 0; k < s.length; ++k) {\n\t char c = s[k];\n\t if (c == '%') {\n\t if (k + 2 >= s.length) {\n\t bf.append(c);\n\t continue;\n\t }\n\t int a0 = PRTokeniser.getHex(s[k + 1]);\n\t int a1 = PRTokeniser.getHex(s[k + 2]);\n\t if (a0 < 0 || a1 < 0) {\n\t bf.append(c);\n\t continue;\n\t }\n\t bf.append((char)(a0 * 16 + a1));\n\t k += 2;\n\t }\n\t else\n\t bf.append(c);\n\t }\n\t return bf.toString();\n\t}", "public NewReferenceValueStrategy replaceWithFullUrl() {\n return update -> linkProperties.r4().readUrl(update.resourceType(), update.newResourceId());\n }", "@Test\n public void testNormalizeToStringWithPlusCharacter() throws Exception {\n AbstractURLHandler handler = new TestURLHandler();\n String normalizedUrl = handler.normalizeToString(new URL(\n \"http://ant.apache.org/ivy/ivy-1.+.xml\"));\n assertEquals(\"http://ant.apache.org/ivy/ivy-1.%2B.xml\", normalizedUrl);\n }", "public final String transformUrl(final Matcher match, String url) {\n return \"https://github.com/android/platform_frameworks_base/blob/master/core/res/res/\" + match.group(1).replace('.', '/') + \".xml\";\n }", "public static String convertToRelativeUrl(String url) {\n\t\tif (url.startsWith(\"http\") || url.startsWith(\"https\")) {\n\t\t\ttry {\n\t\t\t\treturn new URL(url).getPath();\n\t\t\t} catch (MalformedURLException e) {\n\t\t\t\treturn url;\n\t\t\t}\n\t\t} else {\n\t\t\treturn url;\n\t\t}\n\t}", "@Test\n public void testToAbsolute_String_String() throws Exception {\n System.out.println(\"toAbsolute\");\n String base = \"http://user:[email protected]:8080/to/path/document?arg1=val1&arg2=val2#part\";\n String relative = \"../path2/doc2?a=1&b=2#part2\";\n String expResult = \"http://user:[email protected]:8080/to/path2/doc2?a=1&b=2#part2\";\n String result = URLParser.toAbsolute(base, relative);\n assertEquals(expResult, result);\n }", "public String reFormatStringForURL(String string) {\n\t\t string = string.toLowerCase().replaceAll(\" \", \"-\").replaceAll(\"--\", \"-\");\n\t\t if(string.endsWith(\"-\")) { string = string.substring(0, (string.length() - 1)); }\n\t\t return string;\n\t\t }", "public String geturl() throws IOException {\n\t\tString currentLine = \"\";\n\t\tFile inputFile = new File(\"Resource/test.txt\");\n\t\t\n\n\t\tBufferedReader reader = new BufferedReader(new FileReader(inputFile));\n\t\t\n\t\n\t\tcurrentLine = reader.readLine();\n\n\t\tString removeurl = currentLine.trim();\n//\t\tSystem.out.println(\"current line : \" + currentLine);\n\t\twhile ((currentLine) != null) {\n\t\t\t// trim newline when comparing with lineToRemove\n\t\t\t\n\t\t\tString trimmedLine = currentLine.trim();\n\t\t\t\n\t\t\tif (trimmedLine.equals(removeurl)) {\n\t\t\t\tcurrentLine = reader.readLine();\n\t\t\t\tcontinue;\n\t\t\t}else{\n\t\t\t\t//writer.write(currentLine + System.getProperty(\"line.separator\"));\n\t\t\t\tif(newFile==\"\")\n\t\t\t\t{\n\t\t\t\t\t//newFile = newFile+\"\\n\"+currentLine;\n\t\t\t\t\tnewFile = currentLine;\n\t\t\t\t}else\n\t\t\t\t{\n\t\t\t\t\tnewFile = newFile+\"\\n\"+currentLine;\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\tcurrentLine = reader.readLine();\n\t\t\t}\n\t\t\t\n\t\t}\n\t\treader.close();\n\t\tdeleteUrl();\n\t\treturn removeurl;\n\t}", "@AutoEscape\n\tpublic String getFileUrl();", "URL toURL(FileReference fileReferece);", "private String stripURL( String inputLine )\n\t{\n\t\tint fromIndex = inputLine.indexOf( \"<img \" ) + \"<img \".length();\n\t\tint beginIndex = inputLine.indexOf( \"src=\\\"\", fromIndex ) + \"src=\\\"\".length();\n\t\tint endIndex = inputLine.indexOf( \"\\\"\", beginIndex );\n\t\treturn inputLine.substring( beginIndex, endIndex );\n\t}", "public native final HistoryClass SRC_REPLACE(String val) /*-{\nthis.SRC_REPLACE = val; \nreturn this; \n}-*/;", "private String get_url() {\n File file = new File(url);\n return file.getAbsolutePath();\n }", "public URL makeFullUrl(String scrapedString, URL base);", "public String convertString() {\n\t\tString urlToConvert = tfURL.getText();\n\t\tString is_youtube_link_s = \"youtu.be\";\n\t\tif (urlToConvert.contains(\"watch?v=\")) {\n\t\t\tnew_URL = urlToConvert.replace(\"watch?v=\", \"embed/\");\n\t\t} else if (urlToConvert.contains(is_youtube_link_s)) {\n\t\t\tnew_URL = urlToConvert.replace(\"youtu.be\", \"youtube.com/embed\");\n\t\t}\n\t\ttfNewURL.setText(new_URL);\n\t\tSystem.out.println(new_URL);\n\t\treturn new_URL;\n\t}", "protected abstract boolean replace(String string, Writer w, Status status) throws IOException;", "@Test\n public void testNormalizeToStringWithSpaceURL() throws Exception {\n AbstractURLHandler handler = new TestURLHandler();\n String normalizedUrl = handler.normalizeToString(new URL(\n \"http://ant.apache.org/ivy/url with space/ivy-1.0.xml\"));\n assertEquals(\"http://ant.apache.org/ivy/url%20with%20space/ivy-1.0.xml\", normalizedUrl);\n }", "public static String getURLString(String str) {\n String str2 = \"\";\n try {\n String substring = str.substring(str.indexOf(\"url\\\">\") + 5);\n return substring.substring(0, substring.indexOf(\"<\"));\n } catch (Exception e) {\n e.printStackTrace();\n return str2;\n }\n }", "private String replaceVars(String s, String replacement)\n {\n while(getVar(s)!=null)\n {\n s = s.replace(getVar(s),\"%\");\n }\n s = s.replaceAll(\"%\",replacement);\n return s;\n }", "String getURL(FsItem f);", "protected static URL addEndSlash(URL url) {\r\n String fileName = url.getPath();\r\n if (MoreString.fileExtension(fileName).equals(\"\"))\r\n try {\r\n return new URL(url.toString() + \"/\");\r\n }\r\n catch (MalformedURLException e) {\r\n System.err.println(\"HTMLPage: \" + e);\r\n }\r\n return url;\r\n }", "public URL getResourceLocation( String name );", "public static String replaceURLEscapeChars(String value) {\n\t\tvalue = replace(value, \"#\", \"%23\");\n\t\tvalue = replace(value, \"$\", \"%24\");\n\t\tvalue = replace(value, \"%\", \"%25\");\n\t\tvalue = replace(value, \"&\", \"%26\");\n\t\tvalue = replace(value, \"@\", \"%40\");\n\t\tvalue = replace(value, \"'\", \"%60\");\n\t\tvalue = replace(value, \"/\", \"%2F\");\n\t\tvalue = replace(value, \":\", \"%3A\");\n\t\tvalue = replace(value, \";\", \"%3B\");\n\t\tvalue = replace(value, \"<\", \"%3C\");\n\t\tvalue = replace(value, \"=\", \"%3D\");\n\t\tvalue = replace(value, \">\", \"%3E\");\n\t\tvalue = replace(value, \"?\", \"%3F\");\n\t\tvalue = replace(value, \"[\", \"%5B\");\n\t\tvalue = replace(value, \"\\\\\", \"%5C\");\n\t\tvalue = replace(value, \"]\", \"%5D\");\n\t\tvalue = replace(value, \"^\", \"%5E\");\n\t\tvalue = replace(value, \"{\", \"%7B\");\n\t\tvalue = replace(value, \"|\", \"%7C\");\n\t\tvalue = replace(value, \"}\", \"%7D\");\n\t\tvalue = replace(value, \"~\", \"%7E\");\n\t\treturn value;\n\t}", "public String substituteSrc(String workString, String oldStr, String newStr) {\n int oldStrLen = oldStr.length();\n int newStrLen = newStr.length();\n String tempString = \"\";\n \n int i = 0, j = 0;\n while (j > -1) {\n j = workString.indexOf(oldStr, i);\n if (j > -1) {\n tempString = workString.substring(0, j) + newStr + workString.substring(j+oldStrLen);\n workString = tempString;\n i = j + newStrLen;\n }\n }\n \n return workString;\n }", "protected abstract URL resolve(String resource) throws IOException;", "public static String justifyCSS(String baseUrlPar, String cssInPar){\n\t\tBaseURLRegexpReplacer repl = new BaseURLRegexpReplacer(\" url ( \\'%1$2s\\' )\", baseUrlPar ); \n\t\tString cssTmp = cssInPar; \n\t\tString retval = cssTmp ;\n\t try {\n\t\t\tretval = repl.replaceAll(BaseURLRegexpReplacer.URL_PATTERN, retval );\n\t\t} catch (ReplacerException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t // 2nd pass: url ( 'http://base.host.srv/css/xxx.css\" ) >>> URL ('https://swap-host-server.name/F/h_t_t_p_s_://base.host.srv/css/xxx.css')\n\t String u_Tmp_u = SwapServletUrl.replace(\"/l/\",undescoredProtocol(baseUrlPar));\n\t\tString strippedTmp = stripFileName( stripProtocol(baseUrlPar));\n\t\tBaseURLRegexpReplacer repl2 = new BaseURLRegexpReplacer(\"url(\\'\" +u_Tmp_u+ \"%1$2s\\')\", strippedTmp ); \n\t try {\n\t\t\tretval = repl2.replaceAll(BaseURLRegexpReplacer.URL_PATTERN, retval );\n\t\t} catch (ReplacerException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t retval = retval.replace(\"F/h_t_t_p_s_://https://\", \"F/h_t_t_p_s_://\");\n\t retval = retval.replace(\"F/h_t_t_p_://http://\", \"F/h_t_t_p_://\");\n\t return retval;\n\t}", "URI translate(URI original);", "public static StringBuffer appendURL(StringBuffer buffer, String url) {\n\n\t\tByteBuffer byteBuffer = xmiCharset.encode(url);\n\t\tint limit = byteBuffer.limit();\n\t\tbyte[] bytes;\n\t\tint offset = 0;\n\n\t\tif (byteBuffer.hasArray()) {\n\t\t\tbytes = byteBuffer.array();\n\t\t\toffset = byteBuffer.arrayOffset();\n\t\t} else {\n\t\t\tbyteBuffer.get(bytes = new byte[limit], 0, limit);\n\t\t}\n\n\t\twhile (--limit >= 0) {\n\n\t\t\tchar c = (char) bytes[offset++];\n\n\t\t\tif (c == ' ')\n\t\t\t\tc = '+';\n\n\t\t\telse if (c < nonEncodedMin || nonEncodedMax < c\n\t\t\t\t|| !nonEncoded[c - nonEncodedMin]) {\n\t\t\t\tbuffer.append('%');\n\t\t\t\tbuffer.append(hexChars[(c >>> 4) & 0xF]);\n\t\t\t\tc = hexChars[c & 0xF];\n\t\t\t}\n\n\t\t\tbuffer.append(c);\n\t\t}\n\n\t\treturn buffer;\n\t}", "static String convertURLToString(URL url) {\n\t\tif (URISchemeType.FILE.isURL(url)) {\n\t\t\tfinal StringBuilder externalForm = new StringBuilder();\n\t\t\texternalForm.append(url.getPath());\n\t\t\tfinal String ref = url.getRef();\n\t\t\tif (!Strings.isEmpty(ref)) {\n\t\t\t\texternalForm.append(\"#\").append(ref); //$NON-NLS-1$\n\t\t\t}\n\t\t\treturn externalForm.toString();\n\t\t}\n\t\treturn url.toExternalForm();\n\t}", "private static String encodeurl(String url) \n { \n\n try { \n String prevURL=\"\"; \n String decodeURL=url; \n while(!prevURL.equals(decodeURL)) \n { \n prevURL=decodeURL; \n decodeURL=URLDecoder.decode( decodeURL, \"UTF-8\" ); \n } \n return decodeURL.replace('\\\\', '/'); \n } catch (UnsupportedEncodingException e) { \n return \"Issue while decoding\" +e.getMessage(); \n } \n }", "private static String processCss(String input, URL baseUrl) {\n \n \t\t//StringBuffer sb = new StringBuffer(input.length());\n \t\tStringBuffer sb = new StringBuffer();\n \t\t\n \t\t// (url\\s{0,}\\(\\s{0,}['\"]{0,1})([^\\)'\"]*)(['\"]{0,1}\\))\n \t\tString regex = \"(url\\\\s{0,}\\\\(\\\\s{0,}['\\\"]{0,1})([^\\\\'\\\")]*)(['\\\"]{0,1}\\\\))\";\n \t\t// input.replaceAll(regex, \"$1\"+\"URL\"+\"$2$3\");\n \t\t// return input;\n \t\tPattern p = Pattern.compile(regex, Pattern.DOTALL);\n \t\tMatcher m = p.matcher(input);\n \t\twhile(m.find()) {\n \t\t\ttry {\n \t\t\t\tURL url;\n \t\t\t\tif(m.group(2).startsWith(\"http\")) {\n \t\t\t\t\turl = new URL(m.group(2)); \n \t\t\t\t} else if(m.group(2).startsWith(\"data:\")) {\n \t\t\t\t\turl = null;\n \t\t\t\t} else {\n \t\t\t\t\turl = new URL(baseUrl, m.group(2));\n \t\t\t\t}\n \t\t\t\tif(url != null) {\n \t\t\t\t\tLogger.warn(m.group() + \" => \" + url.toString());\n \t\t\t\t\ttry {\n \t\t\t\t\t\tString b64 = toBase64(url);\n \t\t\t\t\t\tm.appendReplacement(sb, Matcher.quoteReplacement(m.group(1)+b64+m.group(3)));\n \t\t\t\t\t} catch (IOException e) {\n \t\t\t\t\t\tLogger.error(e.toString());\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t} catch (MalformedURLException e) {\n \t\t\t\tLogger.error(e.toString());\n \t\t\t}\n \t\t}\n \t\tm.appendTail(sb);\n \t\treturn sb.toString();\n \t}", "static String getBasePath(URL url) {\n\t\tString file = url.getFile().replaceAll(\"\\\\*\", \"\");\n\n\t\ttry {\n\t\t\treturn url.getPath().replaceAll(file, \"\");\n\t\t} catch (PatternSyntaxException pe) {\n\t\t\tLOG.error(pe.getMessage());\n\t\t\treturn \"\";\n\t\t}\n\n\t}", "private void processUrls(){\n // Strip quoted tweet URL\n if(quotedTweetId > 0){\n if(entities.urls.size() > 0 &&\n entities.urls.get(entities.urls.size() - 1)\n .expandedUrl.endsWith(\"/status/\" + String.valueOf(quotedTweetId))){\n // Match! Remove that bastard.\n entities.urls.remove(entities.urls.size() - 1);\n }\n }\n\n // Replace minified URLs\n for(Entities.UrlEntity entity : entities.urls){\n // Find the starting index for this URL\n entity.indexStart = text.indexOf(entity.minifiedUrl);\n // Replace text\n text = text.replace(entity.minifiedUrl, entity.displayUrl);\n // Find the last index for this URL\n entity.indexEnd = entity.indexStart + entity.displayUrl.length();\n }\n }", "ResourceLocation withExtension(String newExtension);", "private static URL absolutize(URL baseURL, String href) \n throws MalformedURLException, BadHrefAttributeException {\n \n Element parent = new Element(\"c\");\n parent.setBaseURI(baseURL.toExternalForm());\n Element child = new Element(\"c\");\n parent.appendChild(child);\n child.addAttribute(new Attribute(\n \"xml:base\", \"http://www.w3.org/XML/1998/namespace\", href));\n URL result = new URL(child.getBaseURI());\n if (!\"\".equals(href) && result.equals(baseURL)) {\n if (! baseURL.toExternalForm().endsWith(href)) {\n throw new BadHrefAttributeException(href \n + \" is not a syntactically correct IRI\");\n }\n }\n return result;\n \n }", "URL format(ShortLink shortLink);", "URI rewrite(URI uri);", "private URI getRefinedResourceURI(Resource resource, String newName) {\n\t\tURI newUri = resource.getURI();\n\t\tString fileExtension = newUri.fileExtension();\n\t\tnewUri = newUri.trimSegments(1).appendSegment(newName).appendFileExtension(fileExtension);\n\t\treturn newUri; \n\t}", "private String getFilePath(String sHTTPRequest) {\n return sHTTPRequest.replaceFirst(\"/\", \"\");\n\n }", "String url();", "private URL getResourceAsUrl(final String path) throws IOException {\n\t\treturn appContext.getResource(path).getURL();\n\t}", "static String hashURL(String url){\n\t\treturn url.replace('/', 's').replace(':','c');\n\t}", "public File fileRelativeToSource(File f) {\n if (f.isAbsolute()) {\n return f;\n } else {\n return new File(_basedir, f.getPath());\n }\n }", "@Test\n public void testShorten247() { // FlairImage: 247\n assertEquals(\"From: FlairImage line: 248\", \"\", shorten(\"asd.asd\",7)); \n assertEquals(\"From: FlairImage line: 249\", \"C:/Users/\", shorten(\"C:/Users/asd.asd\",7)); \n }", "public static String buildPosterUrlString(String relativePath, int size, boolean isPoster) {\n Uri builtUri = Uri.parse(IMAGE_BASE_URL).buildUpon()\n .appendEncodedPath(getBestImageSize(size,isPoster))\n .appendEncodedPath(relativePath).build();\n try {\n URL url = new URL(builtUri.toString());\n return url.toString();\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n return \"\";\n }", "public abstract String unrewrite(String absoluteIRI);", "public static File relativeFile(File f) {\n if (f.isAbsolute()) {\n f = relativeFile(new File(\".\"), f);\n }\n return f;\n }", "String getUrl();", "String getUrl();", "String getUrl();", "String getUrl();", "String getUrl();", "private String fill(String url, String requestPath, String... parameters) {\n String filledUrl = url.replaceFirst(\"\\\\{url\\\\}\", requestPath.substring(1,requestPath.length()));\n for (String parameter : parameters) {\n filledUrl = filledUrl.replaceFirst(\"\\\\{[^}]*\\\\}\", parameter);\n }\n\n return filledUrl;\n }", "private String parseUrl(String fileUri) {\n\n fileUri = fileUri.replace(\" \", \"%20\");\n\n if (fileUri.contains(\" \")) {\n return parseUrl(fileUri);\n }\n return fileUri;\n }", "private URI findBaseUrl0(String stringUrl) throws URISyntaxException {\n stringUrl = stringUrl.replace(\"\\\\\", \"/\");\n int qindex = stringUrl.indexOf(\"?\");\n if (qindex != -1) {\n // stuff after the ? tends to make the Java URL parser burp.\n stringUrl = stringUrl.substring(0, qindex);\n }\n URI url = new URI(stringUrl);\n URI baseUrl = new URI(url.getScheme(), url.getAuthority(), url.getPath(), null, null);\n\n String path = baseUrl.getPath().substring(1); // toss the leading /\n String[] pieces = path.split(\"/\");\n List<String> urlSlashes = new ArrayList<String>();\n // reverse\n for (String piece : pieces) {\n urlSlashes.add(piece);\n }\n List<String> cleanedSegments = new ArrayList<String>();\n String possibleType = \"\";\n boolean del;\n\n for (int i = 0; i < urlSlashes.size(); i++) {\n String segment = urlSlashes.get(i);\n\n // Split off and save anything that looks like a file type.\n if (segment.indexOf(\".\") != -1) {\n possibleType = segment.split(\"\\\\.\")[1];\n\n /*\n * If the type isn't alpha-only, it's probably not actually a file extension.\n */\n if (!possibleType.matches(\"[^a-zA-Z]\")) {\n segment = segment.split(\"\\\\.\")[0];\n }\n }\n\n /**\n * EW-CMS specific segment replacement. Ugly. Example:\n * http://www.ew.com/ew/article/0,,20313460_20369436,00.html\n **/\n if (segment.indexOf(\",00\") != -1) {\n segment = segment.replaceFirst(\",00\", \"\");\n }\n\n // If our first or second segment has anything looking like a page\n // number, remove it.\n /* Javascript code has some /i's here, we might need to fiddle */\n Matcher pnMatcher = Patterns.PAGE_NUMBER_LIKE.matcher(segment);\n if (pnMatcher.matches() && ((i == 1) || (i == 0))) {\n segment = pnMatcher.replaceAll(\"\");\n }\n\n del = false;\n\n /*\n * If this is purely a number, and it's the first or second segment, it's probably a page number.\n * Remove it.\n */\n if (i < 2 && segment.matches(\"^\\\\d{1,2}$\")) {\n del = true;\n }\n\n /* If this is the first segment and it's just \"index\", remove it. */\n if (i == 0 && segment.toLowerCase() == \"index\")\n del = true;\n\n /*\n * If our first or second segment is smaller than 3 characters, and the first segment was purely\n * alphas, remove it.\n */\n /* /i again */\n if (i < 2 && segment.length() < 3 && !urlSlashes.get(0).matches(\"[a-z]\"))\n del = true;\n\n /* If it's not marked for deletion, push it to cleanedSegments. */\n if (!del) {\n cleanedSegments.add(segment);\n }\n }\n\n String cleanedPath = \"\";\n for (String s : cleanedSegments) {\n cleanedPath = cleanedPath + s;\n cleanedPath = cleanedPath + \"/\";\n }\n URI cleaned = new URI(url.getScheme(), url.getAuthority(), \"/\"\n + cleanedPath.substring(0, cleanedPath\n .length() - 1), null, null);\n return cleaned;\n }", "private void testPathRelative(String rootdir, String basefilename, String filename, String filename_check) {\r\n\t\tString result;\r\n\t\tString base_filename = rootdir + File.separator + basefilename;\r\n\t\tString base_dir = FileUtils.baseDir(base_filename);\r\n\t\tString file_name = rootdir + File.separator + filename;\r\n\t\t\r\n\t\tresult = FileUtils.pathRelativeFile(base_filename, file_name).replaceAll(\"\\\\\\\\\", \"/\");\r\n\t\tassertEquals(result, filename_check);\r\n\t\t\r\n\t\tresult = FileUtils.pathRelative(base_dir, file_name).replaceAll(\"\\\\\\\\\", \"/\");\r\n\t\tassertEquals(result, filename_check);\r\n\t}", "private String replaceStr(String src, String oldPattern, \n String newPattern) {\n\n String dst = \"\"; // the new bult up string based on src\n int i; // index of found token\n int last = 0; // last valid non token string data for concat \n boolean done = false; // determines if we're done.\n\n if (src != null) {\n // while we'er not done, try finding and replacing\n while (!done) {\n // search for the pattern...\n i = src.indexOf(oldPattern, last);\n // if it's not found from our last point in the src string....\n if (i == -1) {\n // we're done.\n done = true;\n // if our last point, happens to be before the end of the string\n if (last < src.length()) {\n // concat the rest of the string to our dst string\n dst = dst.concat(src.substring(last, (src.length())));\n }\n } else {\n // we found the pattern\n if (i != last) {\n // if the pattern's not at the very first char of our searching point....\n // we need to concat the text up to that point..\n dst = dst.concat(src.substring(last, i));\n }\n // update our last var to our current found pattern, plus the lenght of the pattern\n last = i + oldPattern.length();\n // concat the new pattern to the dst string\n dst = dst.concat(newPattern);\n }\n }\n } else {\n dst = src;\n }\n // finally, return the new string\n return dst;\n }", "public static String formatUrl(String url) {\n if (!url.startsWith(\"http://\") && !url.startsWith(\"https://\")) {\n url = \"http://\" + url;\n }\n return url;\n }", "protected File copyURLToFile(String filename) throws IOException {\r\n\t\tURL deltaFileUrl = getClass().getResource(filename);\t\t\r\n\t\tFile tempFile = File.createTempFile(\"test\", \".dlt\");\r\n\t\t_tempFiles.add(tempFile);\r\n\t\tFileUtils.copyURLToFile(deltaFileUrl, tempFile);\t\t\r\n\t\treturn tempFile;\t\r\n\t}", "public static String getRelativePath(URI base, File file) {\n\t\treturn toString(getRelativeURI(base, file.toURI()));\n\t}", "@Override\n public void uri(String s) {\n\n int startOfFile = s.lastIndexOf(DIRECTORY_SEPARATOR);\n if (startOfFile == -1) {\n //not in package\n testedFeature.setFeatureMetadata(new FeatureMetadata(\"\", s, glue));\n } else {\n String module = s.substring(0, startOfFile);\n String filename = s.substring(startOfFile + 1, s.length());\n testedFeature.setFeatureMetadata(new FeatureMetadata(module, filename, glue));\n }\n }", "public abstract String encodeURL(CharSequence url);", "String getReplacementString();", "public void setSource(URL url) throws IOException {\n\t\tFile f = new File(url.getFile());\n\t\tif (f.isAbsolute()) {\n\t\t\tsourceFile = url;\n\t\t\timg = ImageIO.read(f);\n\t\t\tthis.isRelativePath = false;\n\t\t} else {\n\t\t\tsourceFile = new URL(SymbologyFactory.SymbolLibraryPath\n\t\t\t\t\t+ File.separator + f.getPath());\n\t\t\timg = ImageIO.read(f);\n\t\t\tthis.isRelativePath = true;\n\t\t}\n\t}", "@Test\n public void testRelativize_bothAbsolute() {\n assertRelativizedPathEquals(\"b/c\", pathService.parsePath(\"/a\"), \"/a/b/c\");\n assertRelativizedPathEquals(\"c/d\", pathService.parsePath(\"/a/b\"), \"/a/b/c/d\");\n }", "private static URL toFileURL(URL resource) throws IOException {\n\t\t// Don't bother copying file urls\n\t\t//\n\t\tif (resource.getProtocol()\n\t\t\t.equalsIgnoreCase(\"file\"))\n\t\t\treturn resource;\n\n\t\t//\n\t\t// Need to make a copy to a temp file\n\t\t//\n\n\t\tFile f = File.createTempFile(\"resource\", \".jar\");\n\t\tFiles.createDirectories(f.getParentFile()\n\t\t\t.toPath());\n\t\ttry (InputStream in = resource.openStream(); OutputStream out = Files.newOutputStream(f.toPath())) {\n\t\t\tbyte[] buffer = new byte[BUFFER_SIZE];\n\t\t\tfor (int size; (size = in.read(buffer, 0, buffer.length)) > 0;) {\n\t\t\t\tout.write(buffer, 0, size);\n\t\t\t}\n\t\t}\n\t\tf.deleteOnExit();\n\t\treturn f.toURI()\n\t\t\t.toURL();\n\t}", "public void testRelativize() throws Exception {\n\n Object[] test_values = {\n new String[]{\"/xml.apache.org\", \"/xml.apache.org/foo.bar\", \"foo.bar\"},\n new String[]{\"/xml.apache.org\", \"/xml.apache.org/foo.bar\", \"foo.bar\"},\n new String[]{\"/xml.apache.org\", \"/xml.apache.org/foo.bar\", \"foo.bar\"},\n };\n for (int i = 0; i < test_values.length; i++) {\n String tests[] = (String[]) test_values[i];\n String test_path = tests[0];\n String test_abs_resource = tests[1];\n String expected = tests[2];\n\n String result = NetUtils.relativize(test_path, test_abs_resource);\n String message = \"Test \" +\n \" path \" + \"'\" + test_path + \"'\" +\n \" absoluteResource \" + \"'\" + test_abs_resource;\n assertEquals(message, expected, result);\n }\n }", "public String encodeUrl(String s) {\n\t\treturn null;\n\t}", "interface UrlModifier {\n\n String createUrl(String url);\n\n }", "public void updateURL(String url) {\n\t\tthis.url = url;\n\t\ttry{\n\t\t\tthis.content = BrowsrDocumentValidator.assertIsValidBrowsrDocument(new URL(url));\n\t\t} catch (Exception exception){\n\t\t\tthis.content = new Text(exception.toString());\n\t\t}\n\t}", "public static String getRelativeRewriteUrl(String origUrl) {\n\n if (StringUtils.isBlank(origUrl)) {\n return null;\n }\n\n // rewrite after url\n StringBuffer rewriteUrl = new StringBuffer();\n\n //url action part\n String action = origUrl;\n\n //url params part\n String params = null;\n\n if (StringUtils.indexOf(origUrl, '?') != -1) {\n\n String[] urlFragments = StringUtils.split(origUrl, \"?\");\n\n action = urlFragments[0];\n\n if (urlFragments.length > 1) {\n params = urlFragments[1];\n }\n }\n\n //get the action urlmapping\n URLMapping urlMapping = getURLMappingByValue(action, URLMappingEnum.ACTION);\n\n if (urlMapping == null) {\n return origUrl;\n// rewriteUrl.append(action);\n// if (StringUtils.isNotBlank(params)) {\n//\n// rewriteUrl.append(\"?\");\n// rewriteUrl.append(getPrefixRewriteParams(params));\n// }\n } else if (StringUtils.equals(urlMapping.getSplitKey()[2], PREFIX_DEFINITION)) {\n\n rewriteUrl.append(\"/\");\n rewriteUrl.append(urlMapping.getSplitKey()[3]);\n\n if (StringUtils.isNotBlank(params)) {\n\n rewriteUrl.append(\"?\");\n rewriteUrl.append(getPrefixRewriteParams(params));\n }\n } else {\n\n rewriteUrl.append(\"/\");\n rewriteUrl.append(urlMapping.getSplitKey()[2]);\n if (StringUtils.isNotBlank(params)) {\n\n String result = getRewriteParams(params);\n\n if (!StringUtils.startsWith(result, \"?\")) {\n rewriteUrl.append(PARAM_SEPARATOR);\n }\n rewriteUrl.append(getRewriteParams(params));\n }\n }\n\n return rewriteUrl.toString();\n }", "public static String replaceBetween(String src, String before, String after, String to) {\n String from = between(src, before, after);\n return replaceFirst(src, from, to);\n }", "@Override\n\tpublic String buildURL(String string) {\n\t\treturn null;\n\t}", "public static String resolveAgainstParent(String pageUrl, String parentUrl) {\r\n\t\tif (pageUrl == null || !pageUrl.startsWith(\"/\"))\r\n\t\t\t// The URL is null or is not a relative URL. Return it as is.\r\n\t\t\treturn pageUrl;\r\n\t\telse\r\n\t\t\t// The URL is relative. Resolve it against its parent. \r\n\t\t\treturn parentUrl + pageUrl;\r\n\t}", "public interface URLmanipulatorInterface {\n\t\n\t/**\n\t * Finds the base element of a URL\n\t * @param startingURL, the URL for which we wish to identify the base element.\n\t * @return the base URL of the startingURL.\n\t */\n\tpublic URL makeBase(URL startingURL);\n\n\t/**\n\t * Makes a full URL from relative/absolute parts. \n\t * \n\t * @param scrapedString, representing a relative URL or a full URL\n\t * @param base, the base URL for the page the scraped string came from.\n\t * @return the full URL, either direct from the scraped URL (if it is absolute) or from the combination of the string \n\t * and the base (if the string is relative). \n\t */\n\tpublic URL makeFullUrl(String scrapedString, URL base);\n\t\n\t/**\n\t * Accesses a range of functions to ensure a well structured URL\n\t * @param startingURL, the URL to be standardized.\n\t * @return the standardized version of the provided URL.\n\t */\n\tpublic URL standardizeURL(URL startingURL);\n\t\t\n\t/**\n\t * Helps writes any malformedURL exception to a log file.\n\t * @param report, the report to be logged. \n\t */\n\tpublic void writeToExceptionLog(String report);\n}", "String checkAndTrimUrl(String url);", "String getReplaced();", "public String encodeURL(String s) {\n\t\treturn null;\n\t}", "public String formatFilePath(){\n StringBuilder returnResult = new StringBuilder();\n String temp;\n temp = StringUtil.removeHttpPrefix(uri);\n returnResult.append(DEFAULT_DIRECTORY).append(\"\\\\\").append(temp);\n return returnResult.toString();\n }", "public static String percentEncode(String s) {\r\n\t\t//s = _percentEncode( s ); // the original method, from java.net\r\n\t\ts = encodeURL(s, \"UTF-8\");\r\n\t\treturn s;\r\n\t}", "private String renderSaveLocationBase() {\n Calendar cal = Calendar.getInstance();\n cal.setTime(Date.from(Instant.now()));\n\n // Create a filename from a format string.\n // ... Apply date formatting codes.\n String datestring = String.format(\"%1$tY-%1$tm-%1$td-%1$tk-%1$tM-%1$tS\", cal);\n\t\treturn renderUrl!=null?renderUrl:((renderDir!=null?renderDir+\"/\":\"\")+datestring);\n\t}", "private static void copyFile(File scrFile, File file) {\n\t\r\n}", "String getSrc();", "public static String replaceAll(String src, String from, String to) {\n StringBuffer sb = new StringBuffer(src);\n int i1, i2, tail;\n int len = from.length();\n int fromIndex = 0;\n while ((i1 = src.indexOf(from, fromIndex)) != -1) {\n i2 = i1 + len;\n tail = src.length() - i2;\n sb = sb.replace(i1, i2, to);\n src = new String(sb);\n fromIndex = src.length() - tail;\n }\n return new String(sb);\n }", "Uri.Builder with(String path) {\n return Uri.parse(toPath() + path).buildUpon();\n }", "private String cleanupText(String text){\n return text.replaceAll(\"http[s]*[:](//)[^ ]+\", \"URL\");\n }", "public String replace(String input);", "public URL makeUrl(String path) throws IOException {\n path = Val.chkStr(path);\n URL url = null;\n \n if ((_localFolder.length() > 0) && (_externalFolder.length() > 0) &&\n path.startsWith(_localFolder)) {\n path = _externalFolder+path.substring(_localFolder.length());\n //LogUtil.getLogger().finer(\"Making URL for resource: \"+path);\n url = new URL(path); \n \n } else {\n //url = this.getClass().getClassLoader().getResource(path);\n //LogUtil.getLogger().finer(\"Making URL for resource: \"+path);\n url = Thread.currentThread().getContextClassLoader().getResource(path);\n }\n if (url == null) {\n throw new IOException(\"Unable to create resource URL for path: \"+path);\n }\n return url;\n}" ]
[ "0.59324956", "0.5605133", "0.55516213", "0.5466794", "0.5441346", "0.54286754", "0.54003507", "0.53601944", "0.53497875", "0.53436744", "0.530574", "0.5288503", "0.5277693", "0.5206141", "0.52019584", "0.5200159", "0.5194013", "0.5188496", "0.5187634", "0.51194215", "0.5117291", "0.5066458", "0.5003737", "0.49774244", "0.49712524", "0.49709058", "0.49670967", "0.4962791", "0.49606714", "0.49360865", "0.4929878", "0.49241674", "0.49201664", "0.4909302", "0.4902186", "0.4899802", "0.4899346", "0.48938715", "0.48916337", "0.48885053", "0.48799932", "0.48685744", "0.48625317", "0.48624656", "0.48495796", "0.4848625", "0.48482916", "0.48455358", "0.48425043", "0.48347336", "0.48327714", "0.48194063", "0.48096305", "0.48063692", "0.48047933", "0.48040882", "0.47978267", "0.47976595", "0.4794127", "0.4793744", "0.4793744", "0.4793744", "0.4793744", "0.4793744", "0.47752017", "0.47691387", "0.47638842", "0.47578225", "0.4754406", "0.47542733", "0.4752906", "0.47502154", "0.4746537", "0.47443375", "0.47430855", "0.47404888", "0.47376323", "0.47330722", "0.47324973", "0.4731013", "0.47303933", "0.47221017", "0.47194177", "0.47160584", "0.47129053", "0.47122264", "0.4710688", "0.4710061", "0.47071603", "0.47000408", "0.4697896", "0.46933177", "0.46817765", "0.46679062", "0.46671224", "0.4667075", "0.46568447", "0.46503347", "0.46474332", "0.46433136" ]
0.5091192
21
Default option evaluates to interacting with nothing Example of generating a default interactOption variable to print its optionText: import static java.lang.System.out;// import print method interactOption interact = new interactOption();// simply generate a new object as a interactOption variable out.println(interact.toString());// print interact Returns:"interact with the nothing"
public interactOption() { super(); optionType = "interact with the"; optionFocus = "nothing"; optionText = optionType + " " + optionFocus; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void initDefaultOptions()\r\n\t{\n\r\n\t\taddOption(HELP, true, \"show Arguments\");\r\n\t}", "@Override\n\tpublic IKeyword option() { return option; }", "private static void printOption(){\r\n System.out.println(\"Select option what you want to do\");\r\n System.out.println(\"Input plain(default) / stylish / slide\");\r\n option = scan.nextLine();\r\n try{\r\n if(option.toLowerCase().equals(\"plain\")){\r\n }\r\n else if(option.toLowerCase().equals(\"stylish\")){\r\n }\r\n else if(option.toLowerCase().equals(\"slide\")){\r\n }\r\n else if(option.toLowerCase().equals(\"\")){\r\n option = \"plain\";\r\n }\r\n else{\r\n throw new Exception(\"Check option\\n\");\r\n }\r\n } catch(Exception e){\r\n e.printStackTrace();\r\n } finally {\r\n System.out.println(\"Option : \" + option);\r\n }\r\n }", "public void initDefaultCommand() {\n setDefaultCommand(new IdentifyBestTarget());\n }", "static String promptForString(String prompt, String defaultOption) {\n String line;\n System.out.println(prompt + \" (default=\" + defaultOption + \")\");\n\n System.out.print(\">\");\n // if (Menus.reader.()) {\n line = Menus.reader.nextLine().strip();\n //}\n\n if (line.compareTo(\"\") == 0)\n return defaultOption;\n return line;\n }", "public void initDefaultCommand() {\n\t\tsetDefaultCommand(new Intake());\n\t}", "public static void options(){\n System.out.println(\"Choose from the following options \");\n System.out.println(\"0 Print the options again\");\n System.out.println(\"1 Create Student Records\");\n System.out.println(\"2 Create Teacher Records\");\n System.out.println(\"3 Edit the Records\");\n System.out.println(\"4 Get the Record Count\");\n System.out.println(\"5 Exit\");\n }", "private static void selectOption() {\n\t\tSystem.out.println(\n\t\t\t\t\"\\r\\nSelect an Option:\\r\\n\" + \n\t\t\t\t\"1. Factorial\\r\\n\" + \n\t\t\t\t\"2. Fibonacci\\r\\n\" + \n\t\t\t\t\"3. Greatest Common Denominator\\r\\n\" + \n\t\t\t\t\"4. Combinatorial\\r\\n\" + \n\t\t\t\t\"5. Josephus\\r\\n\" + \n\t\t\t\t\"6. Quit\\r\\n\" + \n\t\t\t\t\"\");\n\t}", "public static Option getDefaultOption (int optionNumber) {\n\t\tswitch(optionNumber) {\n\t\tcase CONTENT_TYPE:\n\t\t\treturn new Option(0, CONTENT_TYPE);\n\t\tcase MAX_AGE:\n\t\t\treturn new Option (60, MAX_AGE);\n\t\tcase PROXY_URI:\n\t\t\treturn new Option (\"\", PROXY_URI);\n\t\tcase ETAG:\n\t\t\treturn new Option (new byte[0], ETAG);\n\t\tcase URI_HOST:\n\t\t\t//Use function which takes the IP as an argument\n\t\t\treturn null;\n\t\tcase LOCATION_PATH:\n\t\t\treturn new Option (\"\", LOCATION_PATH);\n\t\tcase URI_PORT:\n\t\t\t//Use function which takes the UDP port as an argument\n\t\t\treturn null;\n\t\tcase LOCATION_QUERY:\n\t\t\treturn new Option (\"\", LOCATION_QUERY);\n\t\tcase URI_PATH:\n\t\t\treturn new Option (\"\", URI_PATH);\n\t\tcase TOKEN:\n\t\t\treturn new Option (new byte[0], TOKEN);\n\t\tcase URI_QUERY:\n\t\t\treturn new Option (\"\", URI_QUERY);\n\t\tdefault:\n\t\t\treturn null;\n\t\t}\n\t}", "String getOption();", "public interface Option {\n\n String DEFAULT_PREFIX = \"<span style='color:red;'>\";\n\n String DEFAULT_SUFFIX = \"</span>\";\n\n String DEFAULT_REPLACEMENT = \"*\";\n\n Option DECORATE = new DecorateOption(DEFAULT_PREFIX, DEFAULT_SUFFIX);\n\n Option REPLACE = new ReplaceOption(DEFAULT_REPLACEMENT);\n\n Option REMOVE = new RemoveOption();\n\n String getPrefix();\n\n String getReplacement();\n\n String getSuffix();\n\n Option prefix(String prefix);\n\n Option replacement(String replacement);\n\n Option suffix(String suffix);\n\n Option cloneOption();\n}", "@Override\r\n public boolean getDefaultAnswer() {\n return true;\r\n }", "public String getDefault();", "public void initDefaultCommand() {\n \tsetDefaultCommand(new TestCommandEye());\n }", "public void initDefaultCommand() {\n\t\t// Don't do anything\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new Climb());\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new OperationElevator());\n elevator.setOpenLoopRampRate(RobotMap.ELEVATOR_RAMP_RATE);\n }", "private Tool unknownOption(String option) {\n printOutput(\"unknown option: '%s'%n\", option);\n printUsage();\n return doNothing();\n }", "public void setDefaultChoice(final boolean defaultChoice)\r\n\t{\r\n\t\tthis.defaultChoice = defaultChoice;\r\n\t}", "public void setOptions(){\n System.out.println(\"¿Que operacion desea realizar?\");\n System.out.println(\"\");\n System.out.println(\"1- Consultar sus datos\");\n System.out.println(\"2- Ingresar\");\n System.out.println(\"3- Retirar\");\n System.out.println(\"4- Transferencia\");\n System.out.println(\"5- Consultar saldo\");\n System.out.println(\"6- Cerrar\");\n System.out.println(\"\");\n}", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new StopLifter());\n }", "int promptOption(IMenu menu);", "public void initDefaultCommand()\n {\n }", "public void initDefaultCommand() {\n \n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new ValidTarget());\n }", "public void initDefaultCommand()\n\t{\n\t}", "public void testOptions() {\n OptionsOperator optionsOper = OptionsOperator.invoke();\n optionsOper.selectEditor();\n optionsOper.selectFontAndColors();\n optionsOper.selectKeymap();\n optionsOper.selectGeneral();\n // \"Manual Proxy Setting\"\n String hTTPProxyLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Use_HTTP_Proxy\");\n new JRadioButtonOperator(optionsOper, hTTPProxyLabel).push();\n // \"HTTP Proxy:\"\n String proxyHostLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Proxy_Host\");\n JLabelOperator jloHost = new JLabelOperator(optionsOper, proxyHostLabel);\n new JTextFieldOperator((JTextField) jloHost.getLabelFor()).setText(\"www-proxy.uk.oracle.com\"); // NOI18N\n // \"Port:\"\n String proxyPortLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Proxy_Port\");\n JLabelOperator jloPort = new JLabelOperator(optionsOper, proxyPortLabel);\n new JTextFieldOperator((JTextField) jloPort.getLabelFor()).setText(\"80\"); // NOI18N\n optionsOper.ok();\n }", "public void initDefaultCommand() {\n \tsetDefaultCommand(new ArmManual());\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "public String getOptionText() {\n return option;\n }", "private void initOption() {\r\n\t\tthis.option = new JMenu(\"Options\");\r\n\t\tthis.add(option);\r\n\t\tthis.initNewGame();\r\n\t\tthis.initNewServer();\r\n\t\tthis.initNewConnect();\r\n\t\tthis.initExitConnect();\r\n\t\tthis.initExitGame();\r\n\t}", "public void initDefaultCommand() {\n\t\tsetDefaultCommand(new JoystickLiftCommand());\n\t}", "@Override\n\tprotected CharSequence getDefaultChoice(String selectedValue)\n\t{\n\t\treturn \"\";\n\t}", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new IntakeDrive());\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new operateClimber());\n }", "public void initDefaultCommand() \n {\n }", "public interactOption(item interactItem, char... is)\n\t{\n\t\tsuper();\n\t\tif(is == null)\n\t\t{\n\t\t\t//\twhat do we do when we are given nothing?\n\t\t\toptionType = \"interact with the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"pickupable\"))\n\t\t{\n\t\t\tisPickupable = true;\n\t\t\toptionType = \"pick up the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"unlockable\"))\n\t\t{\n\t\t\tisUnlockable = true;\n\t\t\toptionType = \"unlock the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"movable\"))\n\t\t{\n\t\t\tisMoveable = true;\n\t\t\toptionType = \"move the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"equipable\"))\n\t\t{\n\t\t\tisEquipable = true;\n\t\t\toptionType = \"equip the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"consumable\"))\n\t\t{\n\t\t\tisConsumable = true;\n\t\t\toptionType = \"consume the\";\n\t\t}\n\t\telse if(new String(is).toLowerCase().contains(\"destroyable\"))\n\t\t{\n\t\t\tisDestructable = true;\n\t\t\toptionType = \"destroy the\";\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//\twhat do we do when we are given garbage?\n\t\t\toptionType = \"interact with the\";\n\t\t}\n\t\toptionFocus = interactItem.itemName.toLowerCase();\n\t\toptionText = (optionType + \" \" + optionFocus).toLowerCase();\n\t}", "@Override\n protected CharSequence getDefaultChoice(final String _selectedValue)\n {\n return \"\";\n }", "public String getDefaultAppearanceString()\r\n {\r\n return ((COSString)option.getObject( 1 ) ).getString();\r\n }", "public void initDefaultCommand() {\n\t}", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "@Override\n public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n\n \tsetDefaultCommand(new articulateIntake());\n \t\n \t\n \t\n \t//Make sure to only set the doublesolenoid to off if the last position of the intake was down\n \t/*if (downPosition == 1){\n \t\tsetDefaultCommand(new articulateIntake(\"down\"));\n \t} else {\n \t\tsetDefaultCommand(new articulateIntake(\"up\"));\n \t\t\n \t}*/\n }", "public void initDefaultCommand() {\n \n }", "protected void initDefaultCommand() {\n\t\tsetDefaultCommand(CommandBase.scs);\r\n\t}", "@Override\n\tprotected void initDefaultCommand() {\n\t\tsetDefaultCommand(new ReverseBatterShot());\n\t}", "public void initDefaultCommand() {\n \tsetDefaultCommand(new Drive());\n }", "@Override\r\n\tprotected void initDefaultCommand() {\n\t\t\r\n\t}", "public void setDefault(String defaultTarget) {\n this.defaultTarget = defaultTarget;\n }", "public void initDefaultCommand() {\n \tsetDefaultCommand(new boxChange());\n }", "protected void initDefaultCommand() {\n \t\t\n \t}", "@Override\n public void initDefaultCommand() \n {\n }", "private void printCRUDDoctorOption() {\n\t\tSystem.out.println(\"\\n\\n----Edit DOCTOR----\");\n\t\tSystem.out.println(\"1. Insert a new doctor\");\n\t\tSystem.out.println(\"2. List all doctors\");\n\t\tSystem.out.println(\"3. Update doctor data\");\n\t\tSystem.out.println(\"4. Remove doctor\");\n\t\tSystem.out.println(\"5. Back\");\n\t\tSystem.out.println(\"Enter your choice: \");\n\t}", "private void printGoalOptions() {\n System.out.println(ANSI_PURPLE + \"CHOOSE YOUR GOALS: \" + ANSI_RESET);\n System.out.println(\"----------------------------------------------------------------------------------------------------------------\");\n System.out.println(\"1. I can be poor - I don't care about the money but I want to be as\" + ANSI_BLUE + \" happy and\" + ANSI_RESET + \" as\" + ANSI_BLUE + \" educated\" + ANSI_RESET + \" as possible.\");\n System.out.println(\"2. I want to be \" + ANSI_BLUE + \"rich and happy!\" + ANSI_RESET + \" I don't have to be educated at all.\");\n System.out.println(\"3. I want to be well \" + ANSI_BLUE + \"educated and \" + ANSI_RESET + \"I don't want be hungry ever again. Always \" + ANSI_BLUE + \"full!\" + ANSI_RESET + \" ;) \");\n System.out.println(\"4. I want to have the \" + ANSI_BLUE + \"best job\" + ANSI_RESET + \" possible and make\" + ANSI_BLUE + \" lots of money\" + ANSI_RESET + \" even if it will make me unhappy.\");\n System.out.println(\"----------------------------------------------------------------------------------------------------------------\");\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new DriveWithJoy());\n }", "@Override\n\tprotected void initDefaultCommand() {\n\t\t\n\t}", "@Override\n\tprotected void initDefaultCommand() {\n\t\t\n\t}", "@Override\n\tprotected void initDefaultCommand() {\n\t\t\n\t}", "public boolean isDefaultChoice()\r\n\t{\r\n\t\treturn defaultChoice;\r\n\t}", "public void initDefaultCommand() {\n\n setDefaultCommand(new DriveWithJoystick());\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new DriveTrainDefault());\n }", "public void initDefaultCommand() {\r\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND\r\n\r\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND\r\n\t\r\n // Set the default command for a subsystem here.\r\n //setDefaultCommand(new MySpecialCommand());\r\n \tisPID = true;\r\n \trampingCoeff = 20;\r\n }", "@Override\n public void initDefaultCommand() {\n setDefaultCommand(new Hold());\n }", "public void initDefaultCommand() {\r\n setDefaultCommand(new TankDrive());\r\n }" ]
[ "0.71557957", "0.644569", "0.6430241", "0.6354718", "0.62966466", "0.6193229", "0.6123248", "0.61024004", "0.60954756", "0.6091394", "0.6066501", "0.6065142", "0.60572344", "0.60567045", "0.60565627", "0.60315824", "0.6026951", "0.6003984", "0.5999573", "0.59734577", "0.597037", "0.59560734", "0.59438", "0.5920126", "0.5908443", "0.58977723", "0.5897544", "0.5875494", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.58583707", "0.5856611", "0.5856611", "0.5856611", "0.5856611", "0.5856611", "0.5856611", "0.5855032", "0.5847117", "0.58436155", "0.58276284", "0.5821564", "0.58206046", "0.5819781", "0.58185595", "0.5816434", "0.5808526", "0.58021826", "0.58019894", "0.579733", "0.579733", "0.579733", "0.579733", "0.579733", "0.579733", "0.579733", "0.5796819", "0.57881206", "0.57825947", "0.5780405", "0.5773341", "0.5771739", "0.57582456", "0.5750302", "0.5739896", "0.57363075", "0.5734158", "0.57330686", "0.5731347", "0.57226753", "0.57226753", "0.57226753", "0.57192385", "0.5718693", "0.57180536", "0.5703424", "0.56996703", "0.5695606" ]
0.7547323
0
Complex option that evaluates to interacting with an item Example of creating a complex interactOption that takes an item and printing its optionText: import static java.lang.System.out;// import print method item interact_item = new item("door");// create new item object interactOption interact = new interactOption(interact_item, "".toCharArray()); // create new interactOption (or use existing) out.println(interact_item.toString()); // print interact_item Returns:"interact with the door"
public interactOption(item interactItem, char... is) { super(); if(is == null) { // what do we do when we are given nothing? optionType = "interact with the"; } else if(new String(is).toLowerCase().contains("pickupable")) { isPickupable = true; optionType = "pick up the"; } else if(new String(is).toLowerCase().contains("unlockable")) { isUnlockable = true; optionType = "unlock the"; } else if(new String(is).toLowerCase().contains("movable")) { isMoveable = true; optionType = "move the"; } else if(new String(is).toLowerCase().contains("equipable")) { isEquipable = true; optionType = "equip the"; } else if(new String(is).toLowerCase().contains("consumable")) { isConsumable = true; optionType = "consume the"; } else if(new String(is).toLowerCase().contains("destroyable")) { isDestructable = true; optionType = "destroy the"; } else { // what do we do when we are given garbage? optionType = "interact with the"; } optionFocus = interactItem.itemName.toLowerCase(); optionText = (optionType + " " + optionFocus).toLowerCase(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interactOption()\n\t{\n\t\tsuper();\n\t\toptionType = \"interact with the\";\n\t\toptionFocus = \"nothing\";\n\t\toptionText = optionType + \" \" + optionFocus;\n\t}", "public String parseItemChoice() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Equip/Unequip Weapon\\t(W)\");\n\t\tSystem.out.println(\"Equip/Unequip Armor\\t(A)\");\n\t\tSystem.out.println(\"Use Potion\\t(P)\");\n\t\tSystem.out.println(\"Back\\t(B)\");\n\t\tString res = parseString().toUpperCase();\n\t\tboolean isValid = false;\n\t\twhile(!isValid) {\n\t\t\tswitch(res) {\n\t\t\tcase \"W\":\n\t\t\tcase \"A\":\n\t\t\tcase \"P\":\n\t\t\tcase \"B\":\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tprintErrorParse();\n\t\t\t\tres = parseString().toUpperCase();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn res;\n\t\t\n\t}", "@Override\n\tpublic IKeyword option() { return option; }", "public interface Option {\n\n String DEFAULT_PREFIX = \"<span style='color:red;'>\";\n\n String DEFAULT_SUFFIX = \"</span>\";\n\n String DEFAULT_REPLACEMENT = \"*\";\n\n Option DECORATE = new DecorateOption(DEFAULT_PREFIX, DEFAULT_SUFFIX);\n\n Option REPLACE = new ReplaceOption(DEFAULT_REPLACEMENT);\n\n Option REMOVE = new RemoveOption();\n\n String getPrefix();\n\n String getReplacement();\n\n String getSuffix();\n\n Option prefix(String prefix);\n\n Option replacement(String replacement);\n\n Option suffix(String suffix);\n\n Option cloneOption();\n}", "private static void printOption(){\r\n System.out.println(\"Select option what you want to do\");\r\n System.out.println(\"Input plain(default) / stylish / slide\");\r\n option = scan.nextLine();\r\n try{\r\n if(option.toLowerCase().equals(\"plain\")){\r\n }\r\n else if(option.toLowerCase().equals(\"stylish\")){\r\n }\r\n else if(option.toLowerCase().equals(\"slide\")){\r\n }\r\n else if(option.toLowerCase().equals(\"\")){\r\n option = \"plain\";\r\n }\r\n else{\r\n throw new Exception(\"Check option\\n\");\r\n }\r\n } catch(Exception e){\r\n e.printStackTrace();\r\n } finally {\r\n System.out.println(\"Option : \" + option);\r\n }\r\n }", "public interface MenuOption {\n int menuItemId();\n void menuItemInfo(ConsoleInput cIn, Tracker tracker);\n\n\n}", "public static interface Option\r\n \t{public String getName (); //Name of the option that appears in menu.\r\n \tpublic byte getWidth(); //Width of the name.\r\n \tpublic void select ();}", "private static String displayItemFromBag(String[] inventory, String option){\r\n String itemToDoAction;\r\n int counter = 1;\r\n if(option.equals(\"Equip\")){\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Short Sword\") || inventory[i].equals(\"Leather Helmet\") || inventory[i].equals(\"Leather Chest Plate\")\r\n || inventory[i].equals(\"Long Sword\") || inventory[i].equals(\"Great Sword\") || inventory[i].equals(\"Iron Helmet\") \r\n ||inventory[i].equals(\"Iron Chest Plate\") || inventory[i].equals(\"Iron Boots\") || inventory[i].equals(\"Iron Gloves\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to equip? \\n(Type the name of the item) \");\r\n }else if(option.equals(\"Sell\")){\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Short Sword\") || inventory[i].equals(\"Leather Helmet\") || inventory[i].equals(\"Leather Chest Plate\")\r\n || inventory[i].equals(\"Long Sword\") || inventory[i].equals(\"Great Sword\") || inventory[i].equals(\"Iron Helmet\") \r\n ||inventory[i].equals(\"Iron Chest Plate\") || inventory[i].equals(\"Iron Boots\") || inventory[i].equals(\"Iron Gloves\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to sell? \\n(Type the name of the item) \");\r\n }else if(option.equals(\"Use\")){\r\n System.out.println(\"we here\");\r\n for(int i = 0; i < inventory.length; i++){\r\n if(inventory[i].equals(\"Healing Potion\") || inventory[i].equals(\"Greater Healing Potion\") || inventory[i].equals(\"Scroll of Fireball\")){\r\n System.out.println(\"\\t\" + counter + \") \" + inventory[i]);\r\n counter++;\r\n }\r\n }\r\n System.out.println(\"\\t\" + counter + \") Exit\");\r\n itemToDoAction = getUserInput(\"Which item would you like to use? \\n(Type the name of the item) \");\r\n }else{\r\n itemToDoAction = \"\";\r\n }\r\n return itemToDoAction;\r\n }", "public static void courseEditOption(){\n System.out.println(\"Choose 0 to repeat the option List\");\n System.out.println(\"Choose 1 to add new Course to the List\");\n System.out.println(\"Choose 2 to edit the exisiting List\");\n System.out.println(\"Choose 3 to quit editing\");\n }", "int promptOption(IMenu menu);", "public void addOption(String opiton, boolean correct);", "public void interact(Context context)\n {\n switch (defaultItemInteraction)\n {\n case PICKUP:\n pickUp(context);\n break;\n case LOOK:\n look(context);\n break;\n case USE:\n use(context);\n break;\n }\n }", "public interface DeviceOption {\n\n /**\n * This is the internal name of the option.\n * <p/>\n * This is for internal use of the class itself. As the name suggests, this should be a property\n * name as it would be stored in the global configuration. If that is maintained, you can\n * streamline the updating of properties.\n *\n * @return Internal name of the option.\n */\n public String getProperty();\n\n /**\n * This is the short name of the option.\n * <p/>\n * This could be just a more cleaned up representation of the variable name. This value may be\n * displayed, so make sure it is formatted with that expectation.\n *\n * @return Returns the short name of the option.\n */\n public String getName();\n\n /**\n * Returns a description of the option.\n * <p/>\n * Try to keep this down to one sentence if possible. It can also contain new line characters.\n *\n * @return Returns a description of the option.\n */\n public String getDescription();\n\n /**\n * Set the value of this option to the provided value.\n * <p/>\n * All values are provided as strings and evaluated by this method. If the resultant value is\n * invalid, the method must throw DeviceOptionException with a description of what about the\n * provided value is wrong.\n *\n * @param values This is the new value or values.\n * @throws DeviceOptionException Throws if there was something unacceptable about the provided\n * value. Ensure the description of the error is clear.\n */\n public void setValue(String... values) throws DeviceOptionException;\n\n /**\n * Retrieves the current value of this option as a string.\n *\n * @return This is the current value of this option.\n */\n public String getValue();\n\n /**\n * Retrieves the current value of this option as a string array.\n * <p/>\n * For non-array types this returns an array with only one value.\n *\n * @return This is the current value of this option.\n */\n public String[] getArrayValue();\n\n /**\n * Retrieves a list of valid values for this option.\n * <p/>\n * If this method returns anything other than an empty array, the returned values are the only\n * valid options for this option.\n *\n * @return This is the list of valid values for this option.\n */\n public String[] getValidValues();\n\n /**\n * Can this option be modified?\n *\n * @return Return <i>true</i> if this option cannot be modified.\n */\n public boolean isReadOnly();\n\n /**\n * Get the underlying object type.\n * <p/>\n * This can be helpful in determining how to represent an option. It is still up to the\n * implementation to validate that it has received a supported value when setting.\n *\n * @return Returns an enum representing the underling type.\n */\n public DeviceOptionType getType();\n\n /**\n * Can multiple values be returned from and submitted into this object?\n *\n * @return <i>true</i> if multiple values can be returned from and submitted into this option.\n */\n public boolean isArray();\n}", "public static void main(String[] args) {\n char option;\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Welcome to MG's adventure world. Now your journey begins. Good luck!\");\n System.out.println(\"Please hit 'C' or 'c' to continue, anything else to quit-\");\n String input = getInput(scan, \"Cc\");\n System.out.println(\"You are in a dead valley.\");\n System.out.println(\"Please hit 'C' or 'c' to continue, anything else to quit-\");\n input = getInput(scan, \"Cc\");\n System.out.println(\"You walked and walked and walked and you saw a cave!\");\n cave();\n System.out.println(\"Please hit 'C' or 'c' to continue, anything else to quit-\");\n input = getInput(scan, \"Cc\");\n System.out.println(\"You entered a cave!\");\n System.out.println(\"Please hit 'C' or 'c' to continue, anything else to quit-\");\n input = getInput(scan, \"Cc\");\n System.out.println(\"Unfortunately, you ran into a GIANT!\");\n giant();\n System.out.println(\"Enter 'A' or 'a' to Attack, 'E' or 'E' to Escape, ANYTHING else is to YIELD\");\n input = getInput(scan, \"AaEe\", 10);\n System.out.println(\"Congratulations! You SURVIVED! Get your REWARD!\");\n System.out.println(\"There are three 3 tressure box in front of you! Enter the box number you want to open!\");\n box();\n input = getInput(scan);\n System.out.println(\"Hero! Have a good day!\");\n }", "public String getOptionText() {\n return option;\n }", "private void initOption() {\r\n\t\tthis.option = new JMenu(\"Options\");\r\n\t\tthis.add(option);\r\n\t\tthis.initNewGame();\r\n\t\tthis.initNewServer();\r\n\t\tthis.initNewConnect();\r\n\t\tthis.initExitConnect();\r\n\t\tthis.initExitGame();\r\n\t}", "private void pickItem() \n {\n if(currentRoom.getShortDescription() == \"in the campus pub\" && i.picked3 == false)\n {\n i.item3 = true;\n i.picked3 = true;\n System.out.println(\"You picked a redbull drink\");\n }\n else if(currentRoom.getShortDescription() == \"in th hallway\" && i.picked2 == false)\n {\n i.item2 = true;\n i.picked2 = true;\n System.out.println(\"You picked a torch\");\n }\n else if(currentRoom.getShortDescription() == \"in the office\" && i.picked1 == false)\n {\n i.item1 = true;\n i.picked1 = true;\n System.out.println(\"You picked a pair of scissors\");\n }\n else\n System.out.println(\"There is no items in the room!\");\n }", "public void onInteract(Item item, Character character) {\n }", "public void editOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Modify Actors |\");\n System.out.println(\"\\t\\t| [2] Modify Rating |\");\n System.out.println(\"\\t\\t| [3] Modify Actors & Rating |\");\n System.out.println(\"\\t\\t| [4] Back To Menu |\");\n System.out.println(\"\\t\\t===================================\");\n System.out.print(\"\\t\\t Input the option number : \");\n }", "public void printOptions() {\n String indent = \" \";\n System.out.println();\n System.out.println(\"+--------------------------- COMMANDS AND OPTIONS LIST ---------------------------+\");\n\n System.out.println();\n System.out.println(\"******* COMMANDS (scraper.[COMMAND]) *******\");\n System.out.println(\"The following interact with the RegistrationScraper class\");\n System.out.println();\n \n\n System.out.println();\n System.out.println(\"iterateAll() --> Scrape every SDSU department's class and store the data [Recommended before: printDepartmentCourses()]\");\n System.out.println(indent + \"@usage iterateAll()\");\n\n System.out.println();\n System.out.println(\"iterateOne() --> Scrape ONE department's class and store the data [Recommended before: printDepartmentCourses()]\");\n System.out.println(indent + \"@usage iterateOne(\\\"CS\\\")\");\n System.out.println(indent + \"@param department\");\n\n System.out.println();\n System.out.println(\"printDepartmentCourses() --> Display a formatted list of every stored class so far\");\n System.out.println(indent + \"@usage printDepartmentCourses()\");\n\n System.out.println();\n System.out.println(\"printArrListSizes() --> Display the sizes of all the data (to make sure they're all the same length)\");\n System.out.println(indent + \"@usage printArrListSizes()\");\n \n\n System.out.println();\n System.out.println(\"******* OPTIONS (custom.[COMMAND] *******\");\n System.out.println(\"The following interact with the HTML GET method\");\n System.out.println();\n \n\n System.out.println();\n System.out.println(\"setTerm() --> Set the semester term you want to search\");\n System.out.println(indent + \"@usage setTerm(\\\"Summer\\\", \\\"2017\\\")\");\n System.out.println(indent + \"@param season\");\n System.out.println(indent + indent + \"options: Fall, Spring, Winter, Summer\");\n System.out.println(indent + \"@param year\");\n System.out.println(indent + indent + \"options: 2015, 2016, 2017, etc.\");\n\n System.out.println();\n System.out.println(\"setDepartment() --> Set a single department you wish to search (use with iterateOne())\");\n System.out.println(indent + \"@usage setDepartment(\\\"CS\\\")\");\n System.out.println(indent + \"@param department\");\n System.out.println(indent + indent + \"options: AMIND, BIOL, CS, etc.\");\n\n System.out.println();\n System.out.println(\"setInstructor() --> Set the course number you want to return (ex. all \\\"xx-108\\\" classes)\");\n System.out.println(indent + \"@usage setInstructor(\\\"Kraft\\\")\");\n System.out.println(indent + \"@param last name\");\n\n System.out.println();\n System.out.println(\"setCourseNumber() --> Set the course number you want to return (ex. all \\\"xx-108\\\" classes)\");\n System.out.println(indent + \"@usage setCourseNumber(\\\"108\\\")\");\n System.out.println(indent + \"@param number\");\n\n System.out.println();\n System.out.println(\"setCourseNumber() --> Set the course number AND suffic you want to return (ex. all \\\"xx-451A\\\" classes)\");\n System.out.println(indent + \"@usage setTerm(\\\"451\\\", \\\"A\\\")\");\n System.out.println(indent + \"@param number\");\n System.out.println(indent + \"@param suffix\");\n System.out.println(indent + indent + \"options: A, B, C, etc.\");\n\n System.out.println();\n System.out.println(\"setScheduleNumber() --> Set the specific class you want to return\");\n System.out.println(indent + \"@usage setScheduleNumber(\\\"20019\\\")\");\n System.out.println(indent + \"@param number\");\n\n System.out.println();\n System.out.println(\"setUnits() --> Set the specific number of units\");\n System.out.println(indent + \"@usage setUnits(\\\"3\\\")\");\n System.out.println(indent + \"@param units\");\n\n System.out.println();\n System.out.println(\"setLocation() --> Set the facility location of the class\");\n System.out.println(indent + \"@usage setUnits(\\\"GMCS\\\")\");\n System.out.println(indent + \"@param facility\");\n\n System.out.println();\n System.out.println(\"setLocation() --> Set the facility AND room location of the class\");\n System.out.println(indent + \"@usage setUnits(\\\"GMCS\\\", \\\"311\\\")\");\n System.out.println(indent + \"@param facility\");\n System.out.println(indent + \"@param room number\");\n\n System.out.println();\n System.out.println(\"setServiceLearning() --> Toggle the 'Service Learning' option [only show Service Learning classes]\");\n System.out.println(indent + \"@usage setServiceLearning(true)\");\n System.out.println(indent + \"@param true/false\");\n\n System.out.println();\n System.out.println(\"setSpecialTopics() --> Toggle the 'Special Topics' option [only show Special Topics classes]\");\n System.out.println(indent + \"@usage setSpecialTopics(true)\");\n System.out.println(indent + \"@param true/false\");\n\n System.out.println();\n System.out.println(\"setHonors() --> Toggle the 'Honors' option [only show Honors classes]\");\n System.out.println(indent + \"@usage setHonors(true)\");\n System.out.println(indent + \"@param true/false\");\n \n System.out.println();\n System.out.println(\"setDistanceOnline() --> Toggle the 'Distance Online' option [only show Online classes]\");\n System.out.println(indent + \"@usage setDistanceOnline(true)\");\n System.out.println(indent + \"@param true/false\");\n\n System.out.println();\n System.out.println(\"setDistanceHybrid() --> Toggle the 'Distance Hybrid' option [only show Hybrid classes]\");\n System.out.println(indent + \"@usage setDistanceHybrid(true)\");\n System.out.println(indent + \"@param true/false\");\n\n System.out.println();\n System.out.println(\"setEvening() --> Toggle the 'Evening' option [only show Evening classes]\");\n System.out.println(indent + \"@usage setEvening(true)\");\n System.out.println(indent + \"@param true/false\");\n\n System.out.println();\n System.out.println(\"setMeetingType() --> Set your preferred meeting type\");\n System.out.println(indent + \"@usage setMeetingType(\\\"Lecture\\\")\");\n System.out.println(indent + \"@param type\");\n System.out.println(indent + indent + \"@options Activity, Discussion, Labratory, Lecture, \"+\n \"Nontraditional, ROTC, Seminar, Supervised\");\n \n System.out.println();\n System.out.println(\"setGenEd() --> Set the General Education requirements you want to show\");\n System.out.println(indent + \"@usage setGenEd(\\\"IIA2\\\")\");\n System.out.println(indent + \"@param true/false\");\n System.out.println(indent + indent + \"@options see general catalog\");\n\n System.out.println();\n System.out.println(\"setSession() --> Set the Summer Session you want to show\");\n System.out.println(indent + \"@usage setGenEd(\\\"S1\\\")\");\n System.out.println(indent + \"@param session\");\n System.out.println(indent + indent + \"@options S1, S2, T1\");\n\n System.out.println();\n System.out.println(\"+---------------------------------------------------------------------------------+\");\n System.out.println();\n\n }", "private AlertDialog AskOption(final Exercise item) {\n AlertDialog myQuittingDialogBox = new AlertDialog.Builder(ShowRoutine.this)\n //set message, title, and icon\n .setTitle(\"Delete\")\n .setMessage(\"Do you want to Delete\")\n .setIcon(R.drawable.ic_delete_name)\n\n .setPositiveButton(\"Delete\", new DialogInterface.OnClickListener() {\n\n public void onClick(DialogInterface dialog, int whichButton) {\n delete(item);\n dialog.dismiss();\n }\n\n })\n\n .setNegativeButton(\"cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n })\n .create();\n return myQuittingDialogBox;\n\n }", "public Option()\n {\n setOptionName(\"___\");\n setOptionPrice(9999.99);\n }", "public interface Option {\n\n /**\n * Processes String arguments into a CommandLine.\n *\n * The iterator will initially point at the first argument to be processed\n * and at the end of the method should point to the first argument not\n * processed. This method MUST process at least one argument from the\n * ListIterator.\n *\n * @param commandLine\n * The CommandLine object to store results in\n * @param args\n * The arguments to process\n * @throws OptionException\n * if any problems occur\n */\n void process(\n final WriteableCommandLine commandLine,\n final ListIterator args)\n throws OptionException;\n\n /**\n * Adds defaults to a CommandLine.\n *\n * Any defaults for this option are applied as well as the defaults for\n * any contained options\n *\n * @param commandLine\n * The CommandLine object to store defaults in\n */\n void defaults(final WriteableCommandLine commandLine);\n\n /**\n * Indicates whether this Option will be able to process the particular\n * argument.\n *\n * @param argument\n * The argument to be tested\n * @return true if the argument can be processed by this Option\n */\n boolean canProcess(final WriteableCommandLine commandLine, final String argument);\n\n /**\n * Indicates whether this Option will be able to process the particular\n * argument. The ListIterator must be restored to the initial state before\n * returning the boolean.\n *\n * @see #canProcess(WriteableCommandLine,String)\n * @param arguments\n * the ListIterator over String arguments\n * @return true if the argument can be processed by this Option\n */\n boolean canProcess(final WriteableCommandLine commandLine, final ListIterator arguments);\n\n /**\n * Identifies the argument prefixes that should trigger this option. This\n * is used to decide which of many Options should be tried when processing\n * a given argument string.\n *\n * The returned Set must not be null.\n *\n * @return The set of triggers for this Option\n */\n Set getTriggers();\n\n /**\n * Identifies the argument prefixes that should be considered options. This\n * is used to identify whether a given string looks like an option or an\n * argument value. Typically an option would return the set [--,-] while\n * switches might offer [-,+].\n *\n * The returned Set must not be null.\n *\n * @return The set of prefixes for this Option\n */\n Set getPrefixes();\n\n /**\n * Checks that the supplied CommandLine is valid with respect to this\n * option.\n *\n * @param commandLine\n * The CommandLine to check.\n * @throws OptionException\n * if the CommandLine is not valid.\n */\n void validate(final WriteableCommandLine commandLine)\n throws OptionException;\n\n /**\n * Builds up a list of HelpLineImpl instances to be presented by HelpFormatter.\n *\n * @see HelpLine\n * @see org.apache.commons.cli2.util.HelpFormatter\n * @param depth\n * the initial indent depth\n * @param helpSettings\n * the HelpSettings that should be applied\n * @param comp\n * a comparator used to sort options when applicable.\n * @return a List of HelpLineImpl objects\n */\n List helpLines(\n final int depth,\n final Set helpSettings,\n final Comparator comp);\n\n /**\n * Appends usage information to the specified StringBuffer\n *\n * @param buffer the buffer to append to\n * @param helpSettings a set of display settings @see DisplaySetting\n * @param comp a comparator used to sort the Options\n */\n void appendUsage(\n final StringBuffer buffer,\n final Set helpSettings,\n final Comparator comp);\n\n /**\n * The preferred name of an option is used for generating help and usage\n * information.\n *\n * @return The preferred name of the option\n */\n String getPreferredName();\n\n /**\n * Returns a description of the option. This string is used to build help\n * messages as in the HelpFormatter.\n *\n * @see org.apache.commons.cli2.util.HelpFormatter\n * @return a description of the option.\n */\n String getDescription();\n\n /**\n * Returns the id of the option. This can be used in a loop and switch\n * construct:\n *\n * <code>\n * for(Option o : cmd.getOptions()){\n * switch(o.getId()){\n * case POTENTIAL_OPTION:\n * ...\n * }\n * }\n * </code>\n *\n * The returned value is not guarenteed to be unique.\n *\n * @return the id of the option.\n */\n int getId();\n\n /**\n * Recursively searches for an option with the supplied trigger.\n *\n * @param trigger the trigger to search for.\n * @return the matching option or null.\n */\n Option findOption(final String trigger);\n\n /**\n * Indicates whether this option is required to be present.\n * @return true iff the CommandLine will be invalid without this Option\n */\n boolean isRequired();\n\n /**\n * Returns the parent of this option. Options can be organized in a\n * hierarchical manner if they are added to groups. This method can be used\n * for obtaining the parent option of this option. The result may be\n * <b>null</b> if this option does not have a parent.\n *\n * @return the parent of this option\n */\n\n /**\n * Sets the parent of this option. This method is called when the option is\n * added to a group. Storing the parent of an option makes it possible to\n * keep track of hierarchical relations between options. For instance, if an\n * option is identified while parsing a command line, the group this option\n * belongs to can also be added to the command line.\n *\n * @param parent the parent option\n */\n}", "public String setBoxOptionString(){\n\t\tString result;\n\t\t\n\t\tif(optionsList.size() == 1){\n\t\t\tresult = optionsList.get(0);\n\t\t\toptionsList.remove(result);\n\t\t} \n\t\telse {\n\t\t\tint option = (int) (Math.random() * optionsList.size());\n\t\t\tresult = optionsList.get(option);\n\t\t\toptionsList.remove(result);\n\t\t}\n\t\treturn result;\n\t}", "@Override\n public void addChoice(){\n System.out.println(\"Chocolate cake size: \");\n //print out choice\n choice.addChoice();\n }", "private void useItem(Command command) \n { \n if(!command.hasSecondWord()) { \n // if there is no second word, we don't know where to go... \n Logger.Log(\"What are you trying to use?\"); \n return; \n } \n \n String itemUsed = command.getSecondWord();\n String secondUsed = itemUsed + \"2\";\n \n Item thisItem = player.getItem(itemUsed);\n Item secondItem = player.getItem(secondUsed);\n \n Creature thisFriend = player.getCompanion(itemUsed);\n \n //Tries to retrieve which item or creature to use. If not, an error message is returned \n if (thisItem == null&&secondItem == null&&thisFriend == null) {\n Logger.Log(\"You don't have a \" + itemUsed);\n }\n else if (player.inventory.containsKey(itemUsed)) { \n player.removeItem(itemUsed); //The item is removed from inventory\n thisItem.UseItem(this);\n }\n else if (player.inventory.containsKey(secondUsed)) {\n player.removeItem(secondUsed); //The item is removed from inventory\n secondItem.UseItem(this);\n }\n else if (player.friends.containsKey(itemUsed)){ \n thisFriend.UseCompanion(this);\n if (thisFriend.flees){\n player.removeCompanion(itemUsed); //Companions do not get removed from inventory unless the flees boolean has been set to true.\n }\n } \n }", "String getOption();", "default void interactWith(Apple apple) {\n\t}", "private static void actOnUsersChoice(MenuOption option) {\n switch (option) {\n case VIEW_LIST_OF_ALL_PRODUCTS:\n viewListOfProductsInStore();\n System.out.println(\"Store has \" + productRepository.count() + \" products.\");\n break;\n case CHECK_IF_PRODUCT_EXISTS_IN_STORE:\n System.out.println(ENTER_SEARCHED_PRODUCT_NAME);\n System.out.println((isProductAvailable())\n ? SEARCHED_PRODUCT_IS_AVAILABLE\n : ERROR_NO_SUCH_PRODUCT_AVAILABLE);\n break;\n case ADD_PRODUCT_TO_ORDER:\n addProductToOrder();\n break;\n case VIEW_ORDER_ITEMS:\n viewOrderItems(order.getOrderItems());\n break;\n case REMOVE_ITEM_FROM_ORDER:\n removeItemFromOrder();\n break;\n case ADD_PRODUCT_TO_STORE:\n if (userIsAdmin) {\n addProductToStore();\n }\n break;\n case EDIT_PRODUCT_IN_STORE:\n if (userIsAdmin) {\n System.out.println(ENTER_PRODUCT_NAME_TO_BE_UPDATED);\n Optional<Product> productToBeModified = getProductByName();\n\n if (productToBeModified.isPresent()) {\n switch (productToBeModified.get().getType()) {\n\n case FOOD:\n Optional<Food> food = InputManager.DataWrapper.createFoodFromInput();\n if (food.isPresent()) {\n Food newFood = food.get();\n productRepository.update(productToBeModified.get().getName(), newFood);\n }\n break;\n\n case DRINK:\n Optional<Drink> drink = InputManager.DataWrapper.createDrinkFromInput();\n if (drink.isPresent()) {\n Drink newDrink = drink.get();\n productRepository.update(productToBeModified.get().getName(), newDrink);\n }\n break;\n }\n } else {\n System.err.println(ERROR_NO_SUCH_PRODUCT_AVAILABLE);\n }\n }\n break;\n case REMOVE_PRODUCT_FROM_STORE:\n if (userIsAdmin) {\n tryToDeleteProduct();\n }\n break;\n case RELOG:\n userIsAdmin = false;\n start();\n break;\n case EXIT:\n onExit();\n break;\n default:\n break;\n }\n }", "public String choiceMenu() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Move (W/A/S/D)\");\n\t\tSystem.out.println(\"Check Hero Info (I)\");\n\t\tSystem.out.println(\"Check Inventory (E)\");\n\t\tSystem.out.println(\"Check Map (M)\");\n\t\tSystem.out.println(\"End Turn (T)\");\n\t\tSystem.out.println(\"Quit (Q)\");\n\t\t\n\t\tString s = parseString().toUpperCase();\n\t\tboolean isValidString = false;\n\t\twhile(!isValidString) {\n\t\t\tif(s.equals(\"W\") || s.equals(\"A\") || s.equals(\"S\") || s.equals(\"D\") || s.equals(\"I\") \n\t\t\t\t\t|| s.equals(\"E\") || s.equals(\"M\") || s.equals(\"T\") || s.equals(\"Q\")) {\n\t\t\t\tisValidString = true;\t\n\t\t\t} else {\n\t\t\t\tprintErrorParse();\n\t\t\t\ts = parseString().toUpperCase();\n\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn s;\n\t}", "public static void main(String[] args) {\n\t\t\tRecipeBook recipeBook= new RecipeBook();\n\t\t\trecipeBook.setName(\"My Recipe Book\");\n\t\t// This is the default value that will be shown on the drop down list\n\t\t\trecipeBook.newRecipe(\"Select an Option\");\n\t\t\n\t\t//Loading sample recipes into memory\n\t\t\t//Create an object type Recipe\n\t\t\t\trecipeBook.newRecipe(\"Peach Almond Pie\");\n\t\t\t\t\n\t\t\t//\tAdding ingredients to the the Recipe\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" fresh peaches, sliced \",2, \"cups\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" lemon juice \",1, \"Tbsp\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" sugar \",0.25, \"cup\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" cornstarch \",3, \"Tbsp\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" butter \",2, \"tsp\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" salt \",1, \"dash\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" almond extract \",0.25, \"tsp\");\n\t\t\t\trecipeBook.addIngredient(\"Peach Almond Pie\",\" pie shell \",1, \"9 inch\");\n\t\t\n\t\t\t\t// Adding cooking instructions\t\n\t\t\t\trecipeBook.setRecipeInstruction(\"Peach Almond Pie\", \"Sprinkle peaches with lemon and sugar. Let stand 1 hour. Drain to get 1 cup syrup. Add cornstarch to syrup and blend. Cook over low heat until thick. Remove from heat. Add butter, salt, and almond extract. Cool. Carefully stir in peaches. Put in shell. Chill. Serve with whipped cream, topped with slivered almonds and marachino cherries.\");\n\t\t\t\trecipeBook.newRecipe(\"Creamy Chicken Broccoli with Rice\");\n\t\t\t\trecipeBook.addIngredient(\"Creamy Chicken Broccoli with Rice\",\" miracle whip \",0.5, \"cups\");\n\t\t\t\trecipeBook.addIngredient(\"Creamy Chicken Broccoli with Rice\",\" skinless chicken breast, cubed \",1, \"pound\");\n\t\t\t\trecipeBook.addIngredient(\"Creamy Chicken Broccoli with Rice\",\" broccoli, chopped \",2, \"cups\");\n\t\t\t\trecipeBook.addIngredient(\"Creamy Chicken Broccoli with Rice\",\" Velveeta rice \",0.5, \"pound\");\n\t\t\t\trecipeBook.setRecipeInstruction(\"Creamy Chicken Broccoli with Rice\", \"Heat salad dressing in a large skillet. Add chicken and completely cook for about 8 minutes. Stir in broccoli and cook until heated. Add Velveeta and stir until thoroughly melted. Serve over rice.\");\n\t\t\n\t\t\t\t\n\t\t\t\t//Display the Main Menu to the user\n\t\tMainMenu mainMenu =new MainMenu(recipeBook);\n\t\tmainMenu.setVisible(true);\n//\t\t\n\t}", "public void setOptions(){\n System.out.println(\"¿Que operacion desea realizar?\");\n System.out.println(\"\");\n System.out.println(\"1- Consultar sus datos\");\n System.out.println(\"2- Ingresar\");\n System.out.println(\"3- Retirar\");\n System.out.println(\"4- Transferencia\");\n System.out.println(\"5- Consultar saldo\");\n System.out.println(\"6- Cerrar\");\n System.out.println(\"\");\n}", "@Override\n\tpublic void addChoice(String choice) {\n\t}", "@Override\n public String execute(Actor actor, GameMap map) {\n player = (Player) actor;\n int option;\n Scanner scanner = new Scanner(System.in);\n // Show shop description and let player enter the option\n display.println(\"<-------------------------------------SHOP-------------------------------------------->\");\n display.println(\"Current Inventory List: \" + player.getInventory().toString());\n display.println(\"Current available eco points: \"+ player.getEcoPoint());\n display.println(\"Select an option to buy the item (Item option: Item(Eco Points required per item))\");\n display.println(\"FOOD--> 1: Fruit(30) 2: Vegetarian Meal Kit(100) 3. Meat Meal Kit(500)\");\n display.println(\"EGG--> 4. Stegosaur Egg(200) 5. Brachiosaur Egg(500) 6. Allosaur Egg(1000) 7. Pterodactyl Egg(300)\");\n display.println(\"OTHER--> 8. Laser Gun(500) 0. Exit\");\n display.println(\"<------------------------------------------------------------------------------------->\");\n display.println(\"Option: \");\n option = scanner.nextInt();\n // if the player successfully purchase an item, return the message\n if(shop.canPurchase(player, option)){\n ans = \"Player bought item \" + option;\n }\n // else if player has no enough money or player enter wrong item option, return the message\n else{\n ans = \"Player bought nothing\";\n }\n // show player current inventory\n display.println(player.getInventory().toString());\n return ans;\n }", "private void testInstanceOption() {\r\n\t\t\r\n\t\tString optionAllowObjects = AFD_FSDK_Library.OPTION_ALLOW_OBJECTS;\r\n\t\tString optionCallingConvention = AFD_FSDK_Library.OPTION_CALLING_CONVENTION;\r\n\t\tString optionClassLoader = AFD_FSDK_Library.OPTION_CLASSLOADER;\r\n\t\tString optionFuncitonMapper = AFD_FSDK_Library.OPTION_FUNCTION_MAPPER;\r\n\t\tString optionInvocationMapper = AFD_FSDK_Library.OPTION_INVOCATION_MAPPER;\r\n\t\tString optionOpenFlags = AFD_FSDK_Library.OPTION_OPEN_FLAGS;\r\n\t\tString optionStringEncoding = AFD_FSDK_Library.OPTION_STRING_ENCODING;\r\n\t\tString optionStructureAlignment = AFD_FSDK_Library.OPTION_STRUCTURE_ALIGNMENT;\r\n\t\tString optionTypeMapper = AFD_FSDK_Library.OPTION_TYPE_MAPPER;\r\n\t\t\r\n\t\tSystem.out.println(\"OPTION_ALLOW_OBJECTS: \" + optionAllowObjects);\r\n\t\tSystem.out.println(\"OPTION_CALLING_CONVENTION: \" + optionCallingConvention);\r\n\t\tSystem.out.println(\"OPTION_CLASSLOADER: \" + optionClassLoader);\r\n\t\tSystem.out.println(\"OPTION_FUNCTION_MAPPER: \" + optionFuncitonMapper);\r\n\t\tSystem.out.println(\"OPTION_INVOCATION_MAPPER: \" + optionInvocationMapper);\r\n\t\tSystem.out.println(\"OPTION_OPEN_FLAGS: \" + optionOpenFlags);\r\n\t\tSystem.out.println(\"OPTION_STRING_ENCODING: \" + optionStringEncoding);\r\n\t\tSystem.out.println(\"OPTION_STRUCTURE_ALIGNMENT: \" + optionStructureAlignment);\r\n\t\tSystem.out.println(\"OPTION_TYPE_MAPPER: \" + optionTypeMapper);\r\n\t}", "public static void options(){\n System.out.println(\"Choose from the following options \");\n System.out.println(\"0 Print the options again\");\n System.out.println(\"1 Create Student Records\");\n System.out.println(\"2 Create Teacher Records\");\n System.out.println(\"3 Edit the Records\");\n System.out.println(\"4 Get the Record Count\");\n System.out.println(\"5 Exit\");\n }", "public String getDescription() {return \"Use an item in your inventory\"; }", "public void openItemGui(ItemStack debug1, InteractionHand debug2) {}", "OPTION createOPTION();", "private void eatItem(String item)//Made by Lexi\n {\n itemFound = decodeItem(item);\n if (itemFound == null)\n {\n System.out.println(\"I don't know of any \" + item + \".\");\n }\n else\n {\n System.out.println(\"You gave in to the chocolate temptation and died from poison in the candy bar\");\n }\n }", "public static void main(String[] args) {\n\n String selection = \"drink\"; // Snack\n String drinkItems = \"tea\"; // coke\n String snackItems = \"chips\"; // candy\n\n if(selection.equals(\"drink\")){\n System.out.println(\"drink option is selected\");\n if(drinkItems.equals(\"tea\")){\n System.out.println(\"tea is selected\");\n }\n else{\n System.out.println(\"coke is selected\");\n }\n }\n else if(selection.equals(\"snack\")){\n System.out.println(\"snack option is selected\");\n if(snackItems.equals(\"chips\")){\n System.out.println(\"chips item is selected\");\n }\n else{\n System.out.println(\"candy item is selected\");\n }\n }\n }", "public void option() {\n ReusableActionsPageObjects.clickOnElement(driver, options, logger, \"user options.\");\n }", "void setOption(String name, Object value);", "private void appendOptionText(Element option, OptionSingle os) {\r\n\t\tElement optionText = mDocument.createElement(\"OptionText\");\r\n\t\toptionText.setAttribute(\"State\", os.mStateNormal ? \"NORMAL\" : \"GRAY\");\r\n\t\toptionText.setTextContent(os.mText);\r\n\t\toption.appendChild(optionText);\r\n\r\n\t\tif (os.mNumber != null) {\r\n\t\t\taddTextNode(optionText, \"IppPhoneNumber\", os.mNumber);\r\n\t\t}\r\n\r\n\t\taddTextNode(option, \"Image\", os.mImage);\r\n\t}", "public static void selectOption(char input) throws IOException {\n\n\t\tswitch (input) {\n\t\tcase 'l': {\n\n\t\t\tloadApplications();\n\t\t\tbreak;\n\t\t}\n\n\t\tcase 's': {\n\n\t\t\tSystem.out.println(\"Set the Budget\");\n\t\t\tsetBudget();\n\t\t\tbreak;\n\t\t}\n\n\t\tcase 'm': {\n\n\t\t\t\n\t\t\tmakeDecision();\n\t\t\tSystem.out.println(\"Decision made sucessfuly!\");\n\t\t\tbreak;\n\t\t}\n\n\t\tcase 'p': {\n\n\t\t\t\n\t\t\tprint();\n\t\t\tbreak;\n\t\t}\n\n\t\tcase 'u': {\n\n\t\t\tSystem.out.println(\"Update the application\");\n\t\t\tupdateApplication();\n\t\t\tbreak;\n\t\t}\n\t\tcase 'x': {\n\n\t\t\tSystem.out.println(\"Exiting...\");\n\t\t\t\n\t\t\tbreak;\n\t\t}\n\n\t\tdefault:\n\t\t\tSystem.out.println(\"Please enter a valid input\\n**************************************\");\n\t\t\tbreak;\n\n\t\t}\n\t}", "@Override\n public void do_command(String option) throws IllegalArgumentException {\n if (!option.equals(\"Me\")) {\n throw new IllegalArgumentException(\"Invalid command. Try again!\");\n }\n }", "public void enterOption(int choice) {\n Method[] methods = playingDevice.getClass().getDeclaredMethods();\r\n methods[choice].setAccessible(true);\r\n try {\r\n if(methods[choice].getGenericParameterTypes().length==0) {\r\n methods[choice].invoke(playingDevice);\r\n } else {\r\n System.out.println(\"Invoke konnte nicht ausgefuehrt werden, da Parameter erwartet werden.\");\r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n // RANDOM METHODE WÄHLEN\r\n // INVOKE\r\n }", "private void setItemMenu() {\n choices = new ArrayList<>();\n \n choices.add(Command.INFO);\n if (item.isUsable()) {\n choices.add(Command.USE);\n }\n if (item.isEquipped()) {\n choices.add(Command.UNEQUIP);\n } else {\n if (item.isEquipable()) {\n choices.add(Command.EQUIP);\n }\n }\n \n if (item.isActive()) {\n choices.add(Command.UNACTIVE);\n } else {\n if (item.isActivable()) {\n choices.add(Command.ACTIVE);\n }\n }\n if (item.isDropable()) {\n choices.add(Command.DROP);\n }\n if (item.isPlaceable()) {\n choices.add(Command.PLACE);\n }\n choices.add(Command.DESTROY);\n choices.add(Command.CLOSE);\n \n this.height = choices.size() * hItemBox + hGap * 2;\n }", "public String getOption()\r\n {\r\n return ((COSString)option.getObject( 0 ) ).getString();\r\n }", "private void optionsItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_optionsItemActionPerformed\n outputDirText.setText(outputDir);\n if (outputType.equals(\"PDF\")) {\n pdfRadio.setSelected(true);\n } else if (outputType.equals(\"Text\")) {\n txtRadio.setSelected(true);\n }\n outputMergeCheck.setSelected(outputMerge);\n options.setVisible(true);\n }", "public void itemStateChanged(ItemEvent e)\n { /* itemStateChanged */\n Object\n obj= e.getSource();\n Choice\n itemC= (Choice)obj;\n \n if(itemC==optionChoice)\n { /* change the option used */\n /* get matching option */\n String\n optionStr= optionChoice.getSelectedItem();\n if(optionStr!=null)\n { /* update text field */\n textField.setText(optionStr);\n repaint();\n }\n } /* change the option used */\n \n }", "@Override public void doAction(int option)\n {\n switch(option)\n {\n case 1: // create and start a new game\n // display the Game menu\n startNewGame();\n break;\n case 2: // get and start a saved game\n startSavedGame();\n break;\n case 3: // get help menu\n //runs the help menu\n HelpMenuView hmv = new HelpMenuView();\n hmv.displayMenu();\n break;\n case 4: // save game\n displaySaveGameView();\n break;\n case 5:\n System.out.println(\"Thanks for playing ... goodbye.\");\n break; // Fix Invalid Value. \n }\n }", "public void consoleSelectItem() throws SQLException{\n System.out.println(\"came here\");\n ConsoleClass obj = new ConsoleClass();\n String item = console_actionItemList.getSelectionModel().getSelectedItem();\n obj.consoleSelectItem(this,item);\n }", "public CopsOptionParser() {\n\t\tsuper();\n\t\taddOption(HELP);\n\t\taddOption(SCENARIO);\n\t\taddOption(VALIDATE_ONLY);\n\t\taddOption(CONF);\n\n\t}", "void add(String prompt, UIMenuAction action);", "public void createOptionsList() {\r\n int j;\r\n int i;\r\n String tempClassOptionsString = this.classOptionsString;\r\n while (tempClassOptionsString.length() > 0) {\r\n char cliChar = ' ';\r\n String optionValue = \"\";\r\n String str = \"\";\r\n tempClassOptionsString = tempClassOptionsString.trim();\r\n\r\n i = tempClassOptionsString.indexOf(\"-\");\r\n if (i >= 0) {\r\n cliChar = tempClassOptionsString.charAt(i + 1);\r\n tempClassOptionsString = tempClassOptionsString.substring(i + 2).trim();\r\n if (tempClassOptionsString.length() == 0) {\r\n optionValue = \"true\";\r\n Pair<String, String> optionPair = new Pair<String, String>(String.valueOf(cliChar), optionValue);\r\n this.outputClassOptions.add(optionPair);\r\n } else {\r\n if (tempClassOptionsString.charAt(0) == '-') {\r\n optionValue = \"true\";\r\n Pair<String, String> optionPair = new Pair<String, String>(String.valueOf(cliChar), optionValue);\r\n this.outputClassOptions.add(optionPair);\r\n } else if (tempClassOptionsString.charAt(0) == '(') {\r\n int openBracket = 0;\r\n int closeBracket = 0;\r\n StringBuffer temp = new StringBuffer(\"\");\r\n for (int k = 0; k < tempClassOptionsString.length(); k++) {\r\n char cTemp = tempClassOptionsString.charAt(k);\r\n temp.append(cTemp);\r\n switch (cTemp) {\r\n case '(': {\r\n openBracket += 1;\r\n break;\r\n }\r\n case ')': {\r\n closeBracket += 1;\r\n if (closeBracket == openBracket) {\r\n tempClassOptionsString = tempClassOptionsString.substring(k + 1).trim();\r\n optionValue = temp.toString().trim();\r\n optionValue = optionValue.substring(1, optionValue.length() - 1);\r\n Pair<String, String> optionPair = new Pair<String, String>(String.valueOf(cliChar), optionValue);\r\n this.outputClassObjectOptions.add(optionPair);\r\n optionsString subObject = new optionsString(optionValue);\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n\r\n\r\n } else {\r\n j = tempClassOptionsString.indexOf(\" \");\r\n if (j > 0) {\r\n optionValue = tempClassOptionsString.substring(0, j);\r\n tempClassOptionsString = tempClassOptionsString.substring(j + 1).trim();\r\n Pair<String, String> optionPair = new Pair<String, String>(String.valueOf(cliChar), optionValue);\r\n this.outputClassOptions.add(optionPair);\r\n } else {\r\n optionValue = tempClassOptionsString;\r\n tempClassOptionsString = \"\";\r\n Pair<String, String> optionPair = new Pair<String, String>(String.valueOf(cliChar), optionValue);\r\n this.outputClassOptions.add(optionPair);\r\n }\r\n }\r\n }\r\n\r\n }\r\n }\r\n\r\n i = this.classFullName.lastIndexOf('.');\r\n if (i > 0) {\r\n this.classShortName = this.classFullName.substring(i + 1);\r\n } else\r\n this.classShortName = this.classFullName;\r\n }", "public void searchOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Search by - Title |\");\n System.out.println(\"\\t\\t| [2] Search by - Directors |\");\n System.out.println(\"\\t\\t| [3] Back To Menu |\");\n System.out.println(\"\\t\\t=================================\");\n System.out.print(\"\\t\\t Input the option number : \"); \n }", "private String optionsManager() {\n\t\tSystem.out.print(\"\\nEntrez votre choix SVP: \");\n\t\tScanner scan = new Scanner(System.in);\n\t\tString option = \"\";\n\t\toption = scan.nextLine();\n\t\t\n\t\tString etatDeHotel = this.isOuvert()? \"L'Hôtel est ouvert ! \" : \"L'Hôtel n'est pas ouvert ! \";\t\t\n\t\tString doitEtreAfficher = option.equalsIgnoreCase(\"A\")? \"\\n\"+etatDeHotel+\"\\n\" \n\t\t\t\t: option.equalsIgnoreCase(\"B\")? \"\\nLe nombre de chambres réservées est: \"+ this.chambresNonVides().size()+\"\\n\"\n\t\t\t\t: option.equalsIgnoreCase(\"C\") ? \"\\nLe nombre de chambres vides est: \"+ this.chambresVides().size()+\"\\n\"\n\t\t\t\t: option.equalsIgnoreCase(\"D\")? \"\\nLe nombre de la première chambre vide est : \"+this.chambresVides().get(0).getId()+\"\\n\"\n\t\t\t\t: option.equalsIgnoreCase(\"E\")? \"\\nLe nombre de la dernière chambre vide est : \"+this.chambresVides().get(this.chambresVides().size()-1).getId()+\"\\n\"\n\t\t\t\t: option.equalsIgnoreCase(\"H\")? \"\\n-La commande Q ou Quit sont pour arrêtrer le programe.\\n-Il faut choisir un letter pour les options.\\n-La commande O pour afficher toutes les options possibles! \"\n\t\t\t\t: option.equalsIgnoreCase(\"n\")? \"----------------------------------\\nVous avez été dirigé vers le menu principale\"\n\t\t\t\t: option.equalsIgnoreCase(\"m\")? \"\\n-----------\\nMerci\\n----------------\\n\"\n\t\t\t\t: option.equalsIgnoreCase(\"q\")? \"q\"\n\t\t\t\t: option.equalsIgnoreCase(\"quit\")? \"q\"\n\t\t\t\t: option.equalsIgnoreCase(\"o\")? \"o\"\n\t\t\t\t: option.equalsIgnoreCase(\"f\")? \"f\"\n\t\t\t\t: option.equalsIgnoreCase(\"g\")? \"g\"\n\t\t\t\t:\"x\";\n\t\treturn doitEtreAfficher;\n\t}", "public GOption makeOption(String optText){\n\t\tGOption opt = null;\n\t\tif(optText != null && !optText.equals(\"\")){\n\t\t\topt = new GOption(winApp, optText, 0, 0, (int)width - 10);\n\t\t\topt.addEventHandler(this, \"processOptionSelection\");\n\t\t\topt.setVisible(false);\n\t\t\topt.setOpaque(true);\n\t\t\topt.setBorder(0);\n\t\t}\n\t\treturn opt;\n\t}", "public interface CmdLineOption {\n \n /**\n * Checks if this option parser recognizes the specified\n * option name.\n */\n boolean accepts(String optionName);\n\n /**\n * Called if the option that this parser recognizes is found.\n * \n * @param parser\n * The parser that's using this option object.\n * \n * For example, if the option \"-quiet\" is simply an alias to\n * \"-verbose 5\", then the implementation can just call the\n * {@link CmdLineParser#parse(String[])} method recursively. \n * \n * @param params\n * The rest of the arguments. This method can use this\n * object to access the arguments of the option if necessary.\n * \n * @return\n * The number of arguments consumed. For example, return 0\n * if this option doesn't take any parameter.\n */\n int parseArguments( CmdLineParser parser, Parameters params ) throws CmdLineException;\n \n// /**\n// * Adds the usage message for this option. \n// * <p>\n// * This method is used to build usage message for the parser.\n// * \n// * @param buf\n// * Messages should be appended to this buffer.\n// * If you add something, make sure you add '\\n' at the end. \n// */\n// void appendUsage( StringBuffer buf );\n \n \n /**\n * SPI for {@link CmdLineOption}.\n * \n * Object of this interface is passed to\n * {@link CmdLineOption}s to make it easy/safe to parse\n * additional parameters for options.\n */\n public interface Parameters {\n /**\n * Gets the recognized option name.\n * \n * @return\n * This option name has been passed to the\n * {@link CmdLineOption#accepts(String)} method and\n * the method has returned <code>true</code>.\n */\n String getOptionName();\n \n /**\n * Gets the additional parameter to this option.\n * \n * @param idx\n * specifying 0 will retrieve the token next to the option.\n * For example, if the command line looks like \"-o abc -d x\",\n * then <code>getParameter(0)</code> for \"-o\" returns \"abc\"\n * and <code>getParameter(1)</code> will return \"-d\".\n * \n * @return\n * Always return non-null valid String. If an attempt is\n * made to access a non-existent index, this method throws\n * appropriate {@link CmdLineException}.\n */\n String getParameter( int idx ) throws CmdLineException;\n \n /**\n * The convenience method of\n * <code>Integer.parseInt(getParameter(idx))</code>\n * with proper error handling.\n * \n * @exception CmdLineException\n * If the parameter is not an integer, it throws an\n * approrpiate {@link CmdLineException}.\n */\n int getIntParameter( int idx ) throws CmdLineException;\n }\n \n}", "public void optionsActionPerformed(java.awt.event.ActionEvent evt) throws IOException{ \n options();\n }", "public void options() {\n\n System.out.println(\"\\nSelect from the option\\n\");\n\n final String options = \"1. See All Files\\n\" +\n \"2. Create File\\n\" +\n \"3. Delete File\\n\" +\n \"4. Search File\\n\" +\n \"5. Close Application\";\n\n// Take int value by the user thorough command line\n final int option = correctOption(options, 5);\n\n switch (option) {\n\n// Close Program\n case -1:\n closeProgram(\"You tried maximum attempts, application is closed. Thank you!\", true);\n break;\n\n// See All Files\n case 1:\n System.out.println(\"\\nAll Files are showed in ascending order by default.\\n\");\n operation.allFilesAsc()\n .forEach(System.out::println);\n\n// Show sub options after the result is shown.\n final String sub_options = \"\\n\" +\n \"1. View in Descending Order\\n\" +\n \"2. Main Menu\\n\" +\n \"3. Close Application\";\n\n final int sub_option = correctOption(sub_options, 3);\n\n switch (sub_option) {\n\n// Close Program\n case -1:\n closeProgram(\"You tried maximum attempts, application is closed. Thank you!\", true);\n break;\n\n// View Files in Descending Order\n case 1:\n System.out.println(\"\\nAll Files are showed in descending order.\\n\");\n operation.allFilesDsc()\n .forEach(System.out::println);\n// Call options() method recursively so that program will close only if the user choose to close.\n options();\n break;\n\n// Main Menu\n case 2:\n// recursive call\n options();\n break;\n\n// Close Program\n case 3:\n closeProgram(\"Thank you for using our application! Application is closed\", false);\n break;\n\n default:\n System.out.println(\"Nothing has selected\");\n }\n break;\n\n// Create File\n case 2:\n\n String create_file = checkName();\n if (create_file != null) {\n if (operation.createFile(create_file))\n System.out.println(\"File created successfully\");\n else\n System.err.println(\"Something went wrong. Please try after some time.\");\n } else\n System.err.println(\"Invalid file name\");\n options();\n break;\n\n// Delete File\n case 3:\n\n String delete_file = checkName();\n if (delete_file != null) {\n if (operation.deleteFile(delete_file))\n System.out.println(\"File deleted successfully\");\n else\n System.err.println(\"File doesn't exists.\");\n } else\n System.err.println(\"Invalid file name\");\n options();\n break;\n\n// Search File\n case 4:\n\n String search_file = checkName();\n if (search_file != null) {\n String file_returned = operation.searchFile(search_file);\n if (file_returned != null)\n System.out.println(\"File '\" + file_returned + \"' exists\");\n else\n System.err.println(\"File doesn't exists\");\n } else\n System.err.println(\"Invalid file name\");\n options();\n break;\n\n// Close Application\n case 5:\n closeProgram(\"Thank you for using our application! Application is closed\", false);\n break;\n\n default:\n System.out.println(\"Nothing has selected\");\n\n }\n }", "public void handleItem(String item) {\r\n switch (item) {\r\n // Restore all health points\r\n case \"potionvie\":\r\n setHealthPoints(5);\r\n System.out.println(\"Vous trouvez une potion de vie!\");\r\n break;\r\n // Restore health points by 1\r\n case \"coeur\":\r\n if (getHealthPoints() < 5) {\r\n setHealthPoints(getHealthPoints() + 1);\r\n }\r\n System.out.println(\"Vous trouvez un coeur!\");\r\n break;\r\n // Increase hexaforce count by 1\r\n case \"hexaforce\":\r\n setHexaforces(getHexaforces() + 1);\r\n System.out.println(\"Vous trouvez un morceau d'Hexaforce!\");\r\n break;\r\n default:\r\n break;\r\n }\r\n }", "public void testOptions() {\n OptionsOperator optionsOper = OptionsOperator.invoke();\n optionsOper.selectEditor();\n optionsOper.selectFontAndColors();\n optionsOper.selectKeymap();\n optionsOper.selectGeneral();\n // \"Manual Proxy Setting\"\n String hTTPProxyLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Use_HTTP_Proxy\");\n new JRadioButtonOperator(optionsOper, hTTPProxyLabel).push();\n // \"HTTP Proxy:\"\n String proxyHostLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Proxy_Host\");\n JLabelOperator jloHost = new JLabelOperator(optionsOper, proxyHostLabel);\n new JTextFieldOperator((JTextField) jloHost.getLabelFor()).setText(\"www-proxy.uk.oracle.com\"); // NOI18N\n // \"Port:\"\n String proxyPortLabel = Bundle.getStringTrimmed(\n \"org.netbeans.core.ui.options.general.Bundle\", \"CTL_Proxy_Port\");\n JLabelOperator jloPort = new JLabelOperator(optionsOper, proxyPortLabel);\n new JTextFieldOperator((JTextField) jloPort.getLabelFor()).setText(\"80\"); // NOI18N\n optionsOper.ok();\n }", "private void printCRUDDoctorOption() {\n\t\tSystem.out.println(\"\\n\\n----Edit DOCTOR----\");\n\t\tSystem.out.println(\"1. Insert a new doctor\");\n\t\tSystem.out.println(\"2. List all doctors\");\n\t\tSystem.out.println(\"3. Update doctor data\");\n\t\tSystem.out.println(\"4. Remove doctor\");\n\t\tSystem.out.println(\"5. Back\");\n\t\tSystem.out.println(\"Enter your choice: \");\n\t}", "private void processSpecialOption(ASpaceCopyUtil ascopy, String option) {\n if(option.contains(\"-refid_\")) {\n ascopy.setRefIdOption(option);\n } else if(option.contains(\"-term_\")) {\n ascopy.setTermTypeOption(option);\n }\n }", "ModuleOption option();", "public UserInteractionConsole() {\n setupVariables();\n\n System.out.println(\"Select an Option\");\n int choice = userInteractionTree();\n while (true) {\n if (choice < 8) {\n courseOptions(choice);\n } else if (choice < 12) {\n scheduleOptions(choice);\n } else if (choice == 12) {\n saveAndExit();\n break;\n } else {\n break;\n }\n System.out.println(\"\\n\\nSelect an Option\");\n choice = userInteractionTree();\n }\n\n }", "private static Object makeItem(final String item){\n return new Object(){\n public String toString() {\n return item;\n }\n };\n }", "public static Item generate(){\n\n //this method lists a collection of new items. it then uses a random number generator\n //to pick one of the objects, and then returns the object so that the main method\n //can add it to the inventory.\n\n ItemType weapon = ItemType.weapon;\n Item IronSword = new Item(weapon, \"Iron Sword\", 8, 50, 10);\n Item GoldenSword = new Item(weapon, \"Golden Sword\", 10, 75, 15);\n Item AllumSword = new Item(weapon, \"Alluminum Sword\", 6, 35, 8);\n Item BowandQuiver = new Item(weapon, \"Bow & Quiver\", 4, 45, 7);\n Item BattleAxe = new Item(weapon, \"Battle Axe\", 12, 55, 13);\n\n ItemType armor = ItemType.armor;\n Item ChainChest = new Item(armor, \"Chain Mail Chestplate\", 8, 40, 30);\n Item IronChest = new Item(armor, \"Iron Chestplate\", 10, 50, 40);\n Item GoldenChest = new Item(armor, \"Golden Chestplate\", 12, 65, 50);\n Item ChainPants = new Item(armor, \"Chain Mail Pants\", 7, 40, 30);\n Item IronPants = new Item(armor, \"Iron Pants\", 9, 50, 40);\n Item GoldenPants = new Item(armor, \"Golden Pants\", 11, 65, 50);\n Item Helmet = new Item(armor, \"Helmet\", 5, 40, 20);\n\n ItemType other = ItemType.other;\n Item Bandage = new Item(other, \"Bandage\", 1, 2, 0);\n Item Wrench = new Item(other, \"Wrench\", 3, 10, 5);\n Item Bread = new Item(other, \"Bread Loaf\", 2, 4, 0);\n Item Water = new Item(other, \"Water Flask\", 3, 2, 0);\n\n Item Initializer = new Item(other, \"init\", 0, 0, 0);\n\t\tint ItemPick = RandomNum();\n Item chosen = Initializer;\n\n switch (ItemPick){\n case 1:\n chosen = IronSword;\n break;\n case 2:\n chosen = GoldenSword;\n break;\n case 3:\n chosen = AllumSword;\n break;\n case 4:\n chosen = BowandQuiver;\n break;\n case 5:\n chosen = BattleAxe;\n break;\n case 6:\n chosen = ChainChest;\n break;\n case 7:\n chosen = IronChest;\n break;\n case 8:\n chosen = GoldenChest;\n break;\n case 9:\n chosen = ChainPants;\n break;\n\t\t\t case 10:\n chosen = IronPants ;\n break;\n case 11:\n chosen = GoldenPants;\n break;\n case 12:\n chosen = Helmet;\n break;\n case 13:\n chosen = Bandage;\n break;\n case 14:\n chosen = Wrench;\n break;\n case 15:\n chosen = Bread;\n break;\n case 16:\n chosen = Water;\n break;\n }\n\n return chosen;\n }", "public interface ConditionOption {\r\n public String getRearOption();\r\n}", "public void getPlayerChoice(CommandOption[] cmdOps) {\r\n\t\timplementCommand(player.makeChoice(cmdOps));\r\n\t}", "private void optionSelected(MenuActionDataItem action){\n \t\tString systemAction = action.getSystemAction();\n \t\tif(!systemAction.equals(\"\")){\n \t\t\t\n \t\t\tif(systemAction.equals(\"back\")){\n \t\t\t\tonBackPressed();\n \t\t\t}else if(systemAction.equals(\"home\")){\n \t\t\t\tIntent launchHome = new Intent(this, CoverActivity.class);\t\n \t\t\t\tstartActivity(launchHome);\n \t\t\t}else if(systemAction.equals(\"tts\")){\n \t\t\t\ttextToSearch();\n \t\t\t}else if(systemAction.equals(\"search\")){\n \t\t\t\tshowSearch();\n \t\t\t}else if(systemAction.equals(\"share\")){\n \t\t\t\tshowShare();\n \t\t\t}else if(systemAction.equals(\"map\")){\n \t\t\t\tshowMap();\n \t\t\t}else\n \t\t\t\tLog.e(\"CreateMenus\", \"No se encuentra el el tipo de menu: \" + systemAction);\n \t\t\t\n \t\t}else{\n \t\t\tNextLevel nextLevel = action.getNextLevel();\n \t\t\tshowNextLevel(this, nextLevel);\n \t\t\t\n \t\t}\n \t\t\n \t}", "public void toDoWithItem(Item item) throws InvalidChangeException,\n InvalidInputException, InvalidNameException, InvalidTitleException {\n\n toDoWithItemMessage();\n\n String choiceOfChange = getUserResponse();\n\n switch (choiceOfChange) {\n // TODO cannot purchase/put item on hold if quantity is 0\n case \"1\":\n changeQuantityChoice1(item);\n return;\n // TODO change case #2-#4\n case \"2\":\n System.out.println(\"Ok, Correct Quantity\");\n return;\n case \"3\":\n System.out.println(\"Ok, Set New Price\");\n return;\n case \"0\":\n endSearch();\n return;\n default:\n throw new InvalidChangeException();\n }\n }", "public T caseoption(option object) {\n\t\treturn null;\n\t}", "private void printGoalOptions() {\n System.out.println(ANSI_PURPLE + \"CHOOSE YOUR GOALS: \" + ANSI_RESET);\n System.out.println(\"----------------------------------------------------------------------------------------------------------------\");\n System.out.println(\"1. I can be poor - I don't care about the money but I want to be as\" + ANSI_BLUE + \" happy and\" + ANSI_RESET + \" as\" + ANSI_BLUE + \" educated\" + ANSI_RESET + \" as possible.\");\n System.out.println(\"2. I want to be \" + ANSI_BLUE + \"rich and happy!\" + ANSI_RESET + \" I don't have to be educated at all.\");\n System.out.println(\"3. I want to be well \" + ANSI_BLUE + \"educated and \" + ANSI_RESET + \"I don't want be hungry ever again. Always \" + ANSI_BLUE + \"full!\" + ANSI_RESET + \" ;) \");\n System.out.println(\"4. I want to have the \" + ANSI_BLUE + \"best job\" + ANSI_RESET + \" possible and make\" + ANSI_BLUE + \" lots of money\" + ANSI_RESET + \" even if it will make me unhappy.\");\n System.out.println(\"----------------------------------------------------------------------------------------------------------------\");\n }", "@Test\n public void seeingAttributesOfTheSelectedItemTest() {\n field = new Field();\n for (int i = 0; i < 1; i++) {\n for (int j = 0; j < 1; j++) {\n this.field.addCells(false, new Location(i, j));\n }\n }\n DarknessMagicBook dark = new DarknessMagicBook(\"HowToActColdAsSasuke\", 100, 1, 10);\n tactician1 = new Tactician(\"player1\", field, null);\n tactician1.setSelectedItem(dark);\n assertEquals(tactician1.getSelectedItem(),dark);\n assertEquals(tactician1.nameSelectedItem(), \"HowToActColdAsSasuke\");\n assertEquals(tactician1.powerSelectedItem(), 100);\n assertEquals(tactician1.minRangeSelectedItem(), 1);\n assertEquals(tactician1.maxRangeSelectedItem(), 10);\n }", "private static void imageOptionsMenu(OrganizedImage image, int index)\n {\n\t// True if the 'Back to 'Open image' menu...' option has been selected.\n\tboolean backToBrowseOrganized = false;\n\t// A temporary variable for holding the text the user enters.\n\tString userText;\n\n\twhile(!backToBrowseOrganized)\n\t {\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\">>Main>Browse organized images>Open image>Image options:\");\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"1: View date last modified.\");\n\t\tSystem.out.println(\"2: View description.\");\n\t\tSystem.out.println(\"3: Write new description.\");\n\t\tSystem.out.println(\"4: Back to 'Open image' menu...\");\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.print(\"\\t>> \");\n\t\t\n\t\tswitch(getUserOption())\n\t\t {\n\t\t case(1):\n\t\t\tDate lastModified = new Date(image.getFile().lastModified());\n\t\t\tCalendar c = Calendar.getInstance();\n\t\t\tc.setTime(lastModified);\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"This file was last modified: \" + c.get(Calendar.DAY_OF_MONTH) +\n\t\t\t\t\t \"/\" + c.get(Calendar.MONTH) + \"/\" + c.get(Calendar.YEAR));\n\t\t\tbreak;\n\t\t case(2):\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"Description: \");\n\t\t\tSystem.out.println(image.getDesc());\n\n\t\t\tbreak;\n\t\t case(3):\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"Write your description: (press enter to finish)\");\n\t\t\timage.setDesc(getUserText());\n\t\t\tbreak;\n\t\t case(4):\n\t\t\tbackToBrowseOrganized = true;\n\t\t\tbreak;\n\t\t default:\n\t\t\tSystem.out.println(\"That was not a valid option, please try again:\");\n\t\t }\n\t }\n }", "public void PrintMenu() throws IOException {\r\n\t\t//loop the menu until the user chooses to quit\r\n\t\twhile (true) {\r\n\t\t\tSystem.out.println(\"Welcome to the EnigmaMachine command interface!\");\r\n\t\t\tSystem.out.println(\"Enter 1 to add the plugs\");\r\n\t\t\tSystem.out.println(\"Enter 2 to add the rotors\");\r\n\t\t\tSystem.out.println(\"Enter 3 to add the reflector\");\r\n\t\t\tSystem.out.println(\"Enter 4 to enter the message\");\r\n\t\t\tSystem.out.println(\"Enter 5 to quit the menu and start the machine\");\r\n\t\t\t\r\n\t\t\tint option = this.readIntegerFromCmd();\r\n\t\t\t//jump to different method according to the input of the user\r\n\t\t\tif (option == 1) {\r\n\t\t\t\tthis.addPlug();\r\n\t\t\t}else if (option == 2) {\r\n\t\t\t\tthis.addRotors();\r\n\t\t\t}else if (option == 3) {\r\n\t\t\t\tthis.addReflector();\r\n\t\t\t}else if (option == 4) {\r\n\t\t\t\tthis.addMessage();\r\n\t\t\t}else if (option == 5) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public String SelectOption(String option) {\n int intOption = ValidateOption(option);\n String optionOutput = \"\";\n switch (intOption) {\n case 0:\n return QuitAppMessage;\n case 1:\n optionOutput = CheckoutOutputMessage;\n break;\n case 2:\n optionOutput = CheckoutMovieOutputMessage;\n break;\n case 3:\n optionOutput = ReturnOutputMessage;\n break;\n default:\n return InvalidOptionMessage;\n }\n\n return optionOutput;\n\n }", "private Option() {\n super(FILE_NAME);\n boolean app = false;\n try {\n final Option stat = (Option) readObject();\n mainPlayer = stat.isMainPlayerOpen();\n sidePlayer = stat.isSidePlayerOpen();\n shootKey = stat.getKeyShoot();\n jumpKey = stat.getKeyJump();\n volume = stat.getVolume();\n } catch (IOException e) {\n new File(FILE_NAME);\n app = true;\n mainPlayer = false;\n sidePlayer = false;\n jumpKey = KeyEvent.VK_W;\n shootKey = KeyEvent.VK_SPACE;\n volume = DEFAULT_VOLUME;\n }\n firstOpen = app;\n }", "public void SetDefautValueCombo(Item item) \n {\n this.defautValueCombo=item;\n ;\n }", "public static void main(String[] args) {\n String[] List = new String[50];\n\n System.out.println(\"Hello! Here is a list with the actions that you can do! \");\n Agenda m = new Agenda();\n\n //create an object to show printMenu method\n m.printMenu();\n\n System.out.println(\"Select an option:\");\n Scanner intrare=new Scanner(System.in);\n\n\n do {\n\n //Option takes the entered value\n int option= intrare.nextInt();\n\n switch (option){\n case 1: m.listWholeList();\n break;\n\n case 2: m.searchNameAndDisplay();\n break;\n\n case 3: m.createItem();\n break;\n\n case 4: m.updateName();\n break;\n\n case 5: m.deleteName();\n break;\n\n case 6: m.exitList();\n break;\n }\n\n\n }\n while (true);\n\n\n\n\n\n}", "public String chooseItem() {\n console.promptForString(\"\");\n console.promptForPrintPrompt(\"PLEASE ENTER THE NAME OF THE ITEM TO PURCHASE\");\n console.promptForPrintPrompt(\"-----------------------\");\n String toBuy = console.promptForString(\"BUY: \");\n\n return toBuy;\n }", "public GenericOptionChoice() {\n // your code here\n\n }", "public void menuOptions(String type) {\n System.out.println(\"\\n\" + \"To select an option, type what's inside the parenthesis.\");\n System.out.println(\"While in a sub-menu -> (0) Back out of a sub-menu. \\n\");\n System.out.println(\"Main Menu\");\n if (type.equals(\"Attendee\") || type.equals(\"VIP\")) {\n System.out.println(\"(1a) Message, (2a) Contacts, (3a) Signup, (4a) See Attendee Schedule\");\n System.out.println(\"(5a) Get Event Details, (6a) View Conference Schedule, \"+\n \" (p) Export the conference schedule to a PDF\");\n } else if (type.equals(\"Organizer\")) {\n System.out.println(\"(1o) Message, (2o) Contacts, (3o) View Conference Schedule\");\n System.out.println(\"(4o) Modify Events, (5o) Add room, (6o) Create a User account\"+\n \" (p) Export the conference schedule to a PDF\");\n System.out.println(\"(7o) View Current Rooms, (8o) Get Event Details\");\n } else if (type.equals(\"Speaker\")) {\n System.out.println(\"(1s) Message, (2s) Contacts, (3s) See Speaker Schedule\");\n System.out.println(\"(4s) Get Event Details, (5s) View Conference Schedule\"+\n \" (p) Export the conference schedule to a PDF\");\n }\n System.out.println(\"Type Quit to logout\");\n }", "static void printGeneralOptions(){\n System.out.println(GeneralInfo.PREFIX_COMMAND_DESCRIPTION + \"NameWeapon/Powerup: read the description of that weapon/powerup\");\n }", "public void setOption( String opt )\r\n {\r\n option.set( 0, new COSString( opt ) );\r\n }", "@Test(timeout = 4000)\n public void test009() throws Throwable {\n Vote vote0 = new Vote();\n String string0 = Evaluation.makeOptionString(vote0, true);\n assertNotNull(string0);\n }", "private void run(Map options) throws KNXException, IOException\r\n\t{\n\t\tfinal Map commands = new HashMap();\r\n\t\tcommands.put(\"get\", new GetProperty());\r\n\t\tcommands.put(\"set\", new SetProperty());\r\n\t\tcommands.put(\"scan\", new ScanProperties());\r\n\t\tcommands.put(\"desc\", new GetDescription());\r\n\t\tcommands.put(\"?\", new Help());\r\n\t\tcommands.put(\"quit\", new Quit());\r\n\r\n\t\ttry {\r\n\t\t\t// create a property adapter and supply it to a new client\r\n\t\t\tpc = new PropertyClient(create(options));\r\n\t\t\t// check if user supplied a XML resource with property definitions\r\n\t\t\tif (options.containsKey(\"defs\"))\r\n\t\t\t\tPropertyClient.loadDefinitions((String) options.get(\"defs\"));\r\n\t\t\tdefinitions = PropertyClient.getDefinitions();\r\n\r\n\t\t\t// show some command info\r\n\t\t\t((Command) commands.get(\"?\")).execute(null);\r\n\t\t\t// create reader for user input\r\n\t\t\tfinal BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\r\n\t\t\tString[] args;\r\n\t\t\twhile ((args = readLine(r)) != null) {\r\n\t\t\t\tif (args.length > 0) {\r\n\t\t\t\t\tfinal Command c = (Command) commands.get(args[0]);\r\n\t\t\t\t\tif (c == null)\r\n\t\t\t\t\t\tSystem.out.println(\"unknown command, type ? for help\");\r\n\t\t\t\t\telse if (args.length > 1 && args[1].equals(\"?\"))\r\n\t\t\t\t\t\tc.printHelp();\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\t// execute the requested command\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tif (!c.execute(args))\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcatch (final KNXException e) {\r\n\t\t\t\t\t\t\tif (!pc.isOpen())\r\n\t\t\t\t\t\t\t\tthrow e;\r\n\t\t\t\t\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcatch (final KNXIllegalArgumentException e) {\r\n\t\t\t\t\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcatch (final NumberFormatException e) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"invalid number (\" + e.getMessage() + \")\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfinally {\r\n\t\t\tif (pc != null)\r\n\t\t\t\tpc.close();\r\n\t\t\tif (lnk != null)\r\n\t\t\t\tlnk.close();\r\n\t\t}\r\n\t}", "public static void item(){\n int opcionItem; //variables locales a utilizar\n Scanner scannerDos=new Scanner(System.in);\n //imprimiendo posibles Items y su cantidad\n System.out.println(\"\\nArticulos Disponibles:\");\n\tSystem.out.println(\"\\n1.Potion, Cura 25HP:\\t\"+articulo1);\n\tSystem.out.println(\"2.Hi-Potion,Cura 75HP:\\t\"+articulo2);\n\tSystem.out.println(\"3.M-Potion, Recupera 10MP:\\t\"+articulo3);\n\t\n do{//validacion de la opcion\n System.out.println(\"\\nNumero de opcion:\");\n opcionItem= scannerDos.nextInt();\n \n }while(opcionItem<1||opcionItem>4);\n //comparador para ver si es posibles utilizar un Item\n switch(opcionItem){\n case 1:{\n if(articulo1>0){//condicion de Item 1 y sus acciones\n puntosDeVida=puntosDeVida+25;\n articulo1=articulo1-1;\n }\n else{\n System.out.println(\"no hay Disponible\");\n }\n break;\n }\n case 2:{\n if(articulo2>0){//condicion de Item 2 y sus acciones\n puntosDeVida=puntosDeVida+75;\n articulo2=articulo2-1;\n }\n else{\n System.out.println(\"no hay Disponible\");\n }\n break;\n }\n default:{\n if(articulo3>0){ //condicion de Item 3 y sus acciones\n puntosDeVida=puntosDeVida+75;\n articulo3=articulo3-1;\n }\n else{\n System.out.println(\"no hay Disponible\");\n }\n break;\n } \n } \n }", "@Override\n public void onClick(DialogInterface dialog, int item) {\n if (item == 0) {\n deleteItem(parent, position);\n } else if (item == 1) {\n updateBook(parent, position);\n } else if (item == 2) {\n updateAuthor(parent, position);\n }else if (item == 3) {\n makeChoice(false);\n } else if (item == 4) {\n makeChoice(true);\n }\n\n\n }", "public String execute(){\n\t\tGameState g = GameState.instance();\n Dungeon d = g.getDungeon();\n NPC npc = d.getNPC(npcName);\n\t\tString advValue = \"\";\n\t\tString npcValue = \"\";\n\t\tif(npc.getType().equals(\"Friendly\")){\n if(g.getInventory().isEmpty() || npc.getInventory().isEmpty()){\n\t\t\t\treturn \"You cannot trade with \" + npc.getProperName() + \"!\";\n\t\t\t}\n\t\t\tif(!g.getInventory().isEmpty()){\n\t\t\t\tfor(Item i : g.getInventory()){\n\t\t\t\t\tadvValue += \"name: \" + i.getPrimaryName() + \" weight: \" + i.getWeight() + \" value: \" + i.getValue() + \"\\n\";\n\t\t\t\t}\n\t\t\tSystem.out.println(\"\\033[4mAdventurer's Inventory:\\033[0m\\n\" + advValue);\n\t\t\t\n\t\t\t}\n\t\t\tif(!npc.getInventory().isEmpty()){\n for(Item i : npc.getInventory()){\n npcValue += \"name: \" + i.getPrimaryName() + \" weight: \" + i.getWeight() + \" value: \" + i.getValue() + \"\\n\";\n }\n System.out.println(\"\\033[4mNPC's Inventory:\\033[0m\\n\" + npcValue);\n\n\t\t\t}\n\t\t\tSystem.out.println(\"If you would like to swap items, then type 'swap 'your item' 'npc item''\");\n\t\t\tSystem.out.println(\"If you don't want to swap items, then type 'stop'\");\n\t\t\tSystem.out.print(\"> \");\n\t\t\tString answer;\n\t\t\tString advItem = \"\";\n\t\t\tString npcItem = \"\";\n\t\t\tString[] answerSplit;\n\t\t\tanswer = s.nextLine();\n\t\t\twhile(!answer.equals(\"stop\")){\n\t\t\t\tif(!answer.startsWith(\"swap\")){\n\t\t\t\t\tSystem.out.println(\"incorrect format\");\n\t\t\t\t}\n\t\t\t\telse if(answer.split(\" \").length != 3){\n\t\t\t\t\tSystem.out.println(\"incorrect format\");\n\t\t\t\t}\n\t\t\t\telse if(answer.split(\" \").length == 3){\n\t\t\t\t\tanswerSplit = answer.split(\" \");\n\t\t\t\t\tif(d.getItem(answerSplit[1]) == null || !g.getInventory().contains(d.getItem(answerSplit[1]))){\n\t\t\t\t\t\tSystem.out.println(\"trade what?\");\n\t\t\t\t\t}\n\t\t\t\t\telse if(d.getItem(answerSplit[2]) == null || !npc.getInventory().contains(d.getItem(answerSplit[2]))){\n System.out.println(\"trade for what?\");\n }\n\t\t\t\t\telse{\n\t\t\t\t\t\tif(((g.getWeight() - d.getItem(answerSplit[1]).getWeight())+ d.getItem(answerSplit[2]).getWeight()) > 40){\n\t\t\t\t\t\t\tSystem.out.println(\"this will put you over the weight limit\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tif((d.getItem(answerSplit[2]).getValue() - d.getItem(answerSplit[1]).getValue()) > 10){\n\t\t\t\t\t\t\t\tSystem.out.println(npc.getProperName() + \" doesn't want to trade this.\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tg.getInventory().remove(d.getItem(answerSplit[1]));\n\t\t\t\t\t\t\t\tnpc.getInventory().add(d.getItem(answerSplit[1]));\n\t\t\t\t\t\t\t\tnpc.getInventory().remove(d.getItem(answerSplit[2]));\n\t\t\t\t\t\t\t\tg.getInventory().add(d.getItem(answerSplit[2]));\n\t\t\t\t\t\t\t\treturn \"you have swapped \" + answerSplit[1] + \" for \" + answerSplit[2];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"> \");\n\t\t\t\tanswer = s.nextLine();\n\t\t\t}\n\t\t}\n\t\treturn \"you have stopped trading\";\n\t\t\t\n\t}", "private void handleComponentOption(MouseEvent e) {\n System.out.println(\"pressed button!\");\n List<String> bothNames = Arrays.asList(componentOptions.getSelectedItem().toString().split(\" \"));\n String longName = bothNames.get(1);\n try {\n\n Class swingClass = Class.forName(longName.substring(1, longName.length() - 1));\n JComponent component;\n if (!modifyTextArea(swingClass)) {\n component = (JComponent) swingClass.newInstance();\n component.setBounds(0, 0, 400, 400);\n designPanel.add(component);\n } else {\n Constructor ctor = swingClass.getConstructor(String.class);\n component = (JComponent) ctor.newInstance(text.getText());\n component.setBounds(e.getX(), e.getY(), 200, 200);\n designPanel.add(component);\n }\n\n } catch (Exception ex) {\n System.err.println(\"Something went wrong!\");\n ex.printStackTrace();\n }\n }", "private static void customItems(ItemDefinition itemDef) {\n\n\t\tswitch (itemDef.id) {\n\n\t\tcase 11864:\n\t\tcase 11865:\n\t\tcase 19639:\n\t\tcase 19641:\n\t\tcase 19643:\n\t\tcase 19645:\n\t\tcase 19647:\n\t\tcase 19649:\n\t\tcase 23073:\n\t\tcase 23075:\n\t\t\titemDef.equipActions[2] = \"Log\";\n\t\t\titemDef.equipActions[1] = \"Check\";\n\t\t\tbreak;\n\n\t\tcase 13136:\n\t\t\titemDef.equipActions[2] = \"Elidinis\";\n\t\t\titemDef.equipActions[1] = \"Kalphite Hive\";\n\t\t\tbreak;\n\t\tcase 2550:\n\t\t\titemDef.equipActions[2] = \"Check\";\n\t\t\tbreak;\n\n\t\tcase 1712:\n\t\tcase 1710:\n\t\tcase 1708:\n\t\tcase 1706:\n\t\t\titemDef.equipActions[1] = \"Edgeville\";\n\t\t\titemDef.equipActions[2] = \"Karamja\";\n\t\t\titemDef.equipActions[3] = \"Draynor\";\n\t\t\titemDef.equipActions[4] = \"Al-Kharid\";\n\t\t\tbreak;\n\n\t\tcase 22000:\n\t\t\titemDef.name = \"Lava partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 22001:\n\t\t\titemDef.name = \"Infernal partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 2552:\n\t\tcase 2554:\n\t\tcase 2556:\n\t\tcase 2558:\n\t\tcase 2560:\n\t\tcase 2562:\n\t\tcase 2564:\n\t\tcase 2566: // Ring of duelling\n\t\t\titemDef.equipActions[2] = \"Shantay Pass\";\n\t\t\titemDef.equipActions[1] = \"Clan wars\";\n\t\t\tbreak;\n\n\t\tcase 21307:\n\t\t\titemDef.name = \"Pursuit crate\";\n\t\t\tbreak;\n\n\t\tcase 12792:\n\t\t\titemDef.name = \"Graceful recolor kit\";\n\t\t\tbreak;\n\n\t\tcase 12022:\n\t\t\titemDef.name = \"Bandos Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Bandos gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12024:\n\t\t\titemDef.name = \"Armadyl Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Armadyl gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12026:\n\t\t\titemDef.name = \"Saradomin Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Saradomin gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 12028:\n\t\t\titemDef.name = \"Zamorak Casket\";\n\t\t\titemDef.description = \"100% chance for an item off the Zamorak gwds rare drop table.\";\n\t\t\tbreak;\n\n\t\tcase 964:\n\t\t\titemDef.name = \"Pet Petie\";\n\t\t\tbreak;\n\n\t\tcase 20853:\n\t\t\titemDef.name = \"Deep Sea Bait\";\n\t\t\titemDef.stackable = true;\n\t\t\tbreak;\n\n\t\t/*\n\t\t * case 17014: itemDef.name = \"Dragon flail\"; itemDef.modelId = 50083;\n\t\t * itemDef.modelZoom = 1440; itemDef.modelRotation2 = 272;\n\t\t * itemDef.modelRotation1 = 352; itemDef.modelOffset1 = 32;\n\t\t * //itemDef.modelOffset2 = 0; itemDef.maleModel = 50083; itemDef.femaleModel =\n\t\t * 50083; itemDef.anInt164 = -1; itemDef.anInt188 = -1; itemDef.aByte205 = -8;\n\t\t * itemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t * itemDef.inventoryOptions = new String[] { \"Wear\", null, null, null, \"Drop\" };\n\t\t * itemDef.description = \"An Ancient Dragon Flail.\"; break;\n\t\t */\n\n\t\tcase 33272:\n\t\t\titemDef.name = \"Justiciar's Longsword\";\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modelId = 65472;\n\t\t\titemDef.modelZoom = 1726;\n\t\t\titemDef.modelRotation1 = 1576;\n\t\t\titemDef.modelRotation2 = 242;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\t// itemDef.anInt204 = 0;\n\t\t\t// itemDef.aByte205 = -12;\n\t\t\t// itemDef.aByte154 = 0;\n\t\t\titemDef.maleModel = 65465;\n\t\t\titemDef.femaleModel = 65465;\n\t\t\titemDef.description = \"An ancient longsword received from the Trial of Flames.\";\n\t\t\tbreak;\n\n\t\tcase 33168:\n\t\t\titemDef.name = \"Justiciar kiteshield\";\n\t\t\titemDef.modelId = 65471;\n\t\t\titemDef.modelZoom = 1600;\n\t\t\titemDef.modelRotation2 = 250;\n\t\t\titemDef.modelRotation1 = 300;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.maleModel = 65473;\n\t\t\titemDef.femaleModel = 65474;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An ancient kiteshield. Part of the Justiciar set.\";\n\t\t\tbreak;\n\n\t\tcase 2996:\n\t\t\titemDef.name = \"PKP Ticket\";\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.description = \"Exchange this for a PK Point.\";\n\t\t\tbreak;\n\t\tcase 13226:\n\t\t\titemDef.name = \"Herb Sack\";\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.description = \"A sack for storing grimy herbs.\";\n\t\t\tbreak;\n\t\tcase 13346:\n\t\t\titemDef.name = \"Raid Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Open for chances to receive Raid items & other awesome rewards.\";\n\t\t\tbreak;\n\t\tcase 8800:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 31624;\n\t\t\t// itemDef.stackAmounts = new int[] { 2, 3, 50, 100, 500000, 1000000, 2500000,\n\t\t\t// 10000000, 100000000, 0 };//amount the model will change at\n\t\t\t// itemDef.stackIDs = new int[] { 8801, 8802, 8803, 8804, 8805, 8806, 8807,\n\t\t\t// 8808, 8809, 0 };//new item id to grab the model from\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 853;\n\t\t\titemDef.modelRotation2 = 1885;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8801:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 15344;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8802:\n\t\t\titemDef.name = \"Donator Tokens\";\n\t\t\titemDef.modelId = 15345;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8803:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15346;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8804:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15347;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8805:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15348;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8806:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15349;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8807:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15350;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8808:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15351;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 8809:\n\t\t\titemDef.name = \"Donator Coins\";\n\t\t\titemDef.modelId = 15352;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modifiedModelColors = new int[] { 5813, 9139 };\n\t\t\titemDef.originalModelColors = new int[] { 22450, 22450 };\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation2 = 1764;\n\t\t\titemDef.modelRotation1 = 202;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Tokens for the Donator Store.\";\n\t\t\tbreak;\n\t\tcase 15098:\n\t\t\titemDef.name = \"Dice (up to 100)\";\n\t\t\titemDef.description = \"A 100-sided dice.\";\n\t\t\titemDef.modelId = 31223;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation2 = 215;\n\t\t\titemDef.modelRotation1 = 94;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.modelOffset1 = -18;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Public-roll\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.name = \"Dice (up to 100)\";\n\t\t\titemDef.anInt196 = 15;\n\t\t\titemDef.anInt184 = 25;\n\t\t\tbreak;\n\n\t\tcase 32991:\n\t\t\titemDef.name = \"Divine spirit shield\";\n\t\t\titemDef.description = \"An ethereal shield with an divine sigil attached to it.\";\n\t\t\titemDef.modelId = 50001;\n\t\t\titemDef.maleModel = 50002;\n\t\t\titemDef.femaleModel = 50002;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\tbreak;\n\t\tcase 32992:\n\t\t\titemDef.name = \"Rainbow spirit shield\";\n\t\t\titemDef.description = \"An ethereal shield with all 4 sigils attached to it.\";\n\t\t\titemDef.modelId = 50004;\n\t\t\titemDef.maleModel = 50005;\n\t\t\titemDef.femaleModel = 50005;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32993:\n\t\t\titemDef.name = \"Divine sigil\";\n\t\t\titemDef.description = \"A sigil in the shape of a divine symbol.\";\n\t\t\titemDef.modelId = 50003;\n\t\t\titemDef.modelZoom = 848;\n\t\t\titemDef.modelRotation1 = 267;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33060:\n\t\t\titemDef.name = \"Barrows Sword\";\n\t\t\titemDef.description = \"A sword glowing with otherworldy energy.\";\n\t\t\titemDef.modelId = 22325;\n\t\t\titemDef.maleModel = 50010;\n\t\t\titemDef.femaleModel = 50010;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation2 = 1050;\n\t\t\titemDef.modelRotation1 = 396;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\tbreak;\n\t\tcase 32994:\n\t\t\titemDef.name = \"Statius's platebody\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42602;\n\t\t\titemDef.maleModel = 35951;\n\t\t\titemDef.femaleModel = 35964;\n\t\t\titemDef.modelZoom = 1312;\n\t\t\titemDef.modelRotation1 = 272;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -2;\n\t\t\titemDef.modelOffset2 = 39;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32995:\n\t\t\titemDef.name = \"Statius's platelegs\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42590;\n\t\t\titemDef.maleModel = 35947;\n\t\t\titemDef.femaleModel = 35961;\n\t\t\titemDef.modelZoom = 1625;\n\t\t\titemDef.modelRotation1 = 355;\n\t\t\titemDef.modelRotation2 = 2046;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32996:\n\t\t\titemDef.name = \"Statius's full helm\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42596;\n\t\t\titemDef.maleModel = 35943;\n\t\t\titemDef.femaleModel = 35958;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 2039;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32997:\n\t\t\titemDef.name = \"Statius's warhammer\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42577;\n\t\t\titemDef.maleModel = 35968;\n\t\t\titemDef.femaleModel = 35968;\n\t\t\titemDef.modelZoom = 1360;\n\t\t\titemDef.modelRotation1 = 507;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 7;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32998:\n\t\t\titemDef.name = \"Vesta's chainbody\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42593;\n\t\t\titemDef.maleModel = 35953;\n\t\t\titemDef.femaleModel = 35965;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 545;\n\t\t\titemDef.modelRotation2 = 2;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 32999:\n\t\t\titemDef.name = \"Vesta's plateskirt\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42581;\n\t\t\titemDef.maleModel = 35950;\n\t\t\titemDef.femaleModel = 35960;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33000:\n\t\t\titemDef.name = \"Vesta's longsword\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42597;\n\t\t\titemDef.maleModel = 35969;\n\t\t\titemDef.femaleModel = 35969;\n\t\t\titemDef.modelZoom = 1744;\n\t\t\titemDef.modelRotation1 = 738;\n\t\t\titemDef.modelRotation2 = 1985;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33001:\n\t\t\titemDef.name = \"Vesta's spear\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42599;\n\t\t\titemDef.maleModel = 35973;\n\t\t\titemDef.femaleModel = 35973;\n\t\t\titemDef.modelZoom = 2022;\n\t\t\titemDef.modelRotation1 = 480;\n\t\t\titemDef.modelRotation2 = 15;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33002:\n\t\t\titemDef.name = \"Morrigan's leather body\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42578;\n\t\t\titemDef.maleModel = 35954;\n\t\t\titemDef.femaleModel = 35963;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 545;\n\t\t\titemDef.modelRotation2 = 2;\n\t\t\titemDef.modelOffset1 = -2;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33003:\n\t\t\titemDef.name = \"Morrigan's leather chaps\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42603;\n\t\t\titemDef.maleModel = 35948;\n\t\t\titemDef.femaleModel = 35959;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 482;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33004:\n\t\t\titemDef.name = \"Morrigan's coif\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42583;\n\t\t\titemDef.maleModel = 35945;\n\t\t\titemDef.femaleModel = 35956;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 537;\n\t\t\titemDef.modelRotation2 = 5;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33005:\n\t\t\titemDef.name = \"Morrigan's javelin\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42592;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.maleModel = 42613;\n\t\t\titemDef.femaleModel = 42613;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 282;\n\t\t\titemDef.modelRotation2 = 2009;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33006:\n\t\t\titemDef.name = \"Morrigan's throwing axe\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42582;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.maleModel = 42611;\n\t\t\titemDef.femaleModel = 42611;\n\t\t\titemDef.modelZoom = 976;\n\t\t\titemDef.modelRotation1 = 672;\n\t\t\titemDef.modelRotation2 = 2024;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33007:\n\t\t\titemDef.name = \"Zuriels robe top\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42591;\n\t\t\titemDef.maleModel = 35952;\n\t\t\titemDef.femaleModel = 35966;\n\t\t\titemDef.modelZoom = 1373;\n\t\t\titemDef.modelRotation1 = 373;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33008:\n\t\t\titemDef.name = \"Zuriels robe bottom\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42588;\n\t\t\titemDef.maleModel = 35949;\n\t\t\titemDef.femaleModel = 35962;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33009:\n\t\t\titemDef.name = \"Zuriels hood\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42604;\n\t\t\titemDef.maleModel = 35944;\n\t\t\titemDef.femaleModel = 35957;\n\t\t\titemDef.modelZoom = 720;\n\t\t\titemDef.modelRotation1 = 28;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33010:\n\t\t\titemDef.name = \"Zuriels staff\";\n\t\t\titemDef.description = \"This item degrades in combat, and will turn to dust.\";\n\t\t\titemDef.modelId = 42595;\n\t\t\titemDef.maleModel = 35971;\n\t\t\titemDef.femaleModel = 35971;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 366;\n\t\t\titemDef.modelRotation2 = 3;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33011:\n\t\t\titemDef.name = \"Craw's bow (u)\";\n\t\t\titemDef.description = \"This bow once belonged to a formidable follower of Armadyl.\";\n\t\t\titemDef.modelId = 35777;\n\t\t\titemDef.maleModel = 35768;\n\t\t\titemDef.femaleModel = 35768;\n\t\t\titemDef.modelZoom = 1979;\n\t\t\titemDef.modelRotation1 = 1463;\n\t\t\titemDef.modelRotation2 = 510;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33012:\n\t\t\titemDef.name = \"Craw's bow\";\n\t\t\titemDef.description = \"This bow once belonged to a formidable follower of Armadyl.\";\n\t\t\titemDef.modelId = 35777;\n\t\t\titemDef.maleModel = 35769;\n\t\t\titemDef.femaleModel = 35769;\n\t\t\titemDef.modelZoom = 1979;\n\t\t\titemDef.modelRotation1 = 1463;\n\t\t\titemDef.modelRotation2 = 510;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33013:\n\t\t\titemDef.name = \"Thammaron's sceptre (u)\";\n\t\t\titemDef.description = \"A mighty sceptre used in long forgotten battles.\";\n\t\t\titemDef.modelId = 35776;\n\t\t\titemDef.maleModel = 35772;\n\t\t\titemDef.femaleModel = 35772;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33014:\n\t\t\titemDef.name = \"Thammaron's sceptre\";\n\t\t\titemDef.description = \"A mighty sceptre used in long forgotten battles.\";\n\t\t\titemDef.modelId = 35776;\n\t\t\titemDef.maleModel = 35773;\n\t\t\titemDef.femaleModel = 35773;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33015:\n\t\t\titemDef.name = \"Viggora's chainmace (u)\";\n\t\t\titemDef.description = \"An ancient chainmace with a peculiar mechanism that allows for varying attack styles.\";\n\t\t\titemDef.modelId = 35778;\n\t\t\titemDef.maleModel = 35770;\n\t\t\titemDef.femaleModel = 35770;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 944;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33016:\n\t\t\titemDef.name = \"Viggora's chainmace\";\n\t\t\titemDef.description = \"An ancient chainmace with a peculiar mechanism that allows for varying attack styles.\";\n\t\t\titemDef.modelId = 35778;\n\t\t\titemDef.maleModel = 35771;\n\t\t\titemDef.femaleModel = 35771;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 944;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33018:\n\t\t\titemDef.name = \"Amulet of avarice\";\n\t\t\titemDef.description = \"A hauntingly beautiful amulet bearing the shape of a skull.\";\n\t\t\titemDef.modelId = 35779;\n\t\t\titemDef.maleModel = 35766;\n\t\t\titemDef.femaleModel = 35766;\n\t\t\titemDef.modelZoom = 420;\n\t\t\titemDef.modelRotation1 = 191;\n\t\t\titemDef.modelRotation2 = 86;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33019:\n\t\t\titemDef.name = \"Completionist cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modelId = 65270;\n\t\t\titemDef.maleModel = 65297;\n\t\t\titemDef.femaleModel = 65316;\n\t\t\titemDef.modelZoom = 1316;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 24;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33020:\n\t\t\titemDef.name = \"Completionist cape (t)\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modelId = 65258;\n\t\t\titemDef.maleModel = 65295;\n\t\t\titemDef.femaleModel = 65328;\n\t\t\titemDef.modelZoom = 1316;\n\t\t\titemDef.modelRotation1 = 252;\n\t\t\titemDef.modelRotation2 = 1020;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 24;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33021:\n\t\t\titemDef.name = \"Torva full helm\";\n\t\t\titemDef.description = \"An ancient warrior's full helm.\";\n\t\t\titemDef.modelId = 62714;\n\t\t\titemDef.maleModel = 62738;\n\t\t\titemDef.femaleModel = 62738;\n\t\t\titemDef.modelZoom = 672;\n\t\t\titemDef.modelRotation1 = 85;\n\t\t\titemDef.modelRotation2 = 1867;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33022:\n\t\t\titemDef.name = \"Torva platebody\";\n\t\t\titemDef.description = \"An ancient warrior's platebody.\";\n\t\t\titemDef.modelId = 62699;\n\t\t\titemDef.maleModel = 62746;\n\t\t\titemDef.femaleModel = 62746;\n\t\t\titemDef.modelZoom = 1506;\n\t\t\titemDef.modelRotation1 = 473;\n\t\t\titemDef.modelRotation2 = 2042;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33023:\n\t\t\titemDef.name = \"Torva platelegs\";\n\t\t\titemDef.description = \"An ancient warrior's platelegs.\";\n\t\t\titemDef.modelId = 62701;\n\t\t\titemDef.maleModel = 62740;\n\t\t\titemDef.femaleModel = 62740;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 474;\n\t\t\titemDef.modelRotation2 = 2045;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33024:\n\t\t\titemDef.name = \"Pernix cowl\";\n\t\t\titemDef.description = \"An ancient warrior's cowl.\";\n\t\t\titemDef.modelId = 62693;\n\t\t\titemDef.maleModel = 62739;\n\t\t\titemDef.femaleModel = 62739;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 532;\n\t\t\titemDef.modelRotation2 = 14;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33025:\n\t\t\titemDef.name = \"Pernix body\";\n\t\t\titemDef.description = \"An ancient warrior's leather body.\";\n\t\t\titemDef.modelId = 62709;\n\t\t\titemDef.maleModel = 62744;\n\t\t\titemDef.femaleModel = 62744;\n\t\t\titemDef.modelZoom = 1378;\n\t\t\titemDef.modelRotation1 = 485;\n\t\t\titemDef.modelRotation2 = 2042;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33026:\n\t\t\titemDef.name = \"Pernix chaps\";\n\t\t\titemDef.description = \"An ancient warrior's chaps.\";\n\t\t\titemDef.modelId = 62695;\n\t\t\titemDef.maleModel = 62741;\n\t\t\titemDef.femaleModel = 62741;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 504;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33027:\n\t\t\titemDef.name = \"Virtus mask\";\n\t\t\titemDef.description = \"An ancient warrior's mask.\";\n\t\t\titemDef.modelId = 62710;\n\t\t\titemDef.maleModel = 62736;\n\t\t\titemDef.femaleModel = 62736;\n\t\t\titemDef.modelZoom = 928;\n\t\t\titemDef.modelRotation1 = 406;\n\t\t\titemDef.modelRotation2 = 2041;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33028:\n\t\t\titemDef.name = \"Virtus robe top\";\n\t\t\titemDef.description = \"An ancient warrior's robe top.\";\n\t\t\titemDef.modelId = 62704;\n\t\t\titemDef.maleModel = 62748;\n\t\t\titemDef.femaleModel = 62748;\n\t\t\titemDef.modelZoom = 1122;\n\t\t\titemDef.modelRotation1 = 488;\n\t\t\titemDef.modelRotation2 = 3;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33029:\n\t\t\titemDef.name = \"Virtus robe legs\";\n\t\t\titemDef.description = \"An ancient warrior's robe legs.\";\n\t\t\titemDef.modelId = 62700;\n\t\t\titemDef.maleModel = 62742;\n\t\t\titemDef.femaleModel = 62742;\n\t\t\titemDef.modelZoom = 1740;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 2045;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33030:\n\t\t\titemDef.name = \"Zaryte bow\";\n\t\t\titemDef.description = \"An ancient warrior's bow.\";\n\t\t\titemDef.modelId = 62692;\n\t\t\titemDef.maleModel = 62750;\n\t\t\titemDef.femaleModel = 62750;\n\t\t\titemDef.modelZoom = 1703;\n\t\t\titemDef.modelRotation1 = 221;\n\t\t\titemDef.modelRotation2 = 404;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -13;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33083:\n\t\t\titemDef.name = \"Tokhaar-kal\";\n\t\t\titemDef.description = \"\tA cape made of ancient, enchanted obsidian.\";\n\t\t\titemDef.modelId = 52073;\n\t\t\titemDef.maleModel = 52072;\n\t\t\titemDef.femaleModel = 52071;\n\t\t\titemDef.modelZoom = 1615;\n\t\t\titemDef.modelRotation1 = 339;\n\t\t\titemDef.modelRotation2 = 192;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33089:\n\t\t\titemDef.name = \"Chaotic maul\";\n\t\t\titemDef.description = \"A maul used to claim life from those who don't deserve it.\";\n\t\t\titemDef.modelId = 54286;\n\t\t\titemDef.maleModel = 56294;\n\t\t\titemDef.femaleModel = 56294;\n\t\t\titemDef.modelZoom = 1447;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 350;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33094:\n\t\t\titemDef.name = \"Chaotic crossbow\";\n\t\t\titemDef.description = \"A small crossbow, only effective at short distance.\";\n\t\t\titemDef.modelId = 54331;\n\t\t\titemDef.maleModel = 56307;\n\t\t\titemDef.femaleModel = 56307;\n\t\t\titemDef.modelZoom = 1028;\n\t\t\titemDef.modelRotation1 = 249;\n\t\t\titemDef.modelRotation2 = 2021;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -54;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33095:\n\t\t\titemDef.name = \"Chaotic staff\";\n\t\t\titemDef.description = \"This staff makes destructive spells more powerful.\";\n\t\t\titemDef.modelId = 54367;\n\t\t\titemDef.maleModel = 56286;\n\t\t\titemDef.femaleModel = 56286;\n\t\t\titemDef.modelZoom = 1711;\n\t\t\titemDef.modelRotation1 = 471;\n\t\t\titemDef.modelRotation2 = 391;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33096:\n\t\t\titemDef.name = \"Chaotic kiteshield\";\n\t\t\titemDef.description = \"A large metal shield.\";\n\t\t\titemDef.modelId = 54358;\n\t\t\titemDef.maleModel = 56038;\n\t\t\titemDef.femaleModel = 56038;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 276;\n\t\t\titemDef.modelRotation2 = 1101;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33031:\n\t\t\titemDef.name = \"Chaotic rapier\";\n\t\t\titemDef.description = \"A razor-sharp rapier.\";\n\t\t\titemDef.modelId = 54197;\n\t\t\titemDef.maleModel = 56252;\n\t\t\titemDef.femaleModel = 56252;\n\t\t\titemDef.modelZoom = 1425;\n\t\t\titemDef.modelRotation1 = 540;\n\t\t\titemDef.modelRotation2 = 1370;\n\t\t\titemDef.modelOffset1 = 9;\n\t\t\titemDef.modelOffset2 = 13;\n\t\t\titemDef.maleOffset = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33032:\n\t\t\titemDef.name = \"Chaotic longsword\";\n\t\t\titemDef.description = \"A razor-sharp longsword.\";\n\t\t\titemDef.modelId = 54204;\n\t\t\titemDef.maleModel = 56237;\n\t\t\titemDef.femaleModel = 56237;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -7;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\tbreak;\n\t\tcase 33097:\n\t\t\titemDef.name = \"Sword of Onyxia\";\n\t\t\titemDef.description = \"A razor-sharp longsword.\";\n\t\t\titemDef.modelId = 53091;\n\t\t\titemDef.maleModel = 53092;\n\t\t\titemDef.femaleModel = 53092;\n\t\t\titemDef.modelZoom = 2007;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33098:\n\t\t\titemDef.name = \"Onyxia longsword\";\n\t\t\titemDef.description = \"A razor-sharp 2h sword.\";\n\t\t\titemDef.modelId = 53093;\n\t\t\titemDef.maleModel = 53094;\n\t\t\titemDef.femaleModel = 53094;\n\t\t\titemDef.modelZoom = 4007;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.maleOffset = -8;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33099:\n\t\t\titemDef.name = \"White scimitar\";\n\t\t\titemDef.description = \"A razor-sharp scimitar.\";\n\t\t\titemDef.modelId = 53097;\n\t\t\titemDef.maleModel = 53098;\n\t\t\titemDef.femaleModel = 53098;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 312;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33100:\n\t\t\titemDef.name = \"White kiteshield\";\n\t\t\titemDef.description = \"a heavy kiteshield.\";\n\t\t\titemDef.modelId = 53095;\n\t\t\titemDef.maleModel = 53096;\n\t\t\titemDef.femaleModel = 53096;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelRotation1 = 303;\n\t\t\titemDef.modelRotation2 = 180;\n\t\t\t// itemDef.aByte154 = -14;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33033:\n\t\t\titemDef.name = \"Agility master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 677, 801, 43540, 43543, 43546, 43549, 43550, 43552, 43554, 43558,\n\t\t\t\t\t43560, 43575 };\n\t\t\titemDef.modelId = 50030;\n\t\t\titemDef.maleModel = 50031;\n\t\t\titemDef.femaleModel = 50031;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33034:\n\t\t\titemDef.name = \"Attack master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 7104, 9151, 911, 914, 917, 920, 921, 923, 925, 929, 931, 946 };\n\t\t\titemDef.modelId = 50032;\n\t\t\titemDef.maleModel = 50033;\n\t\t\titemDef.femaleModel = 50033;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33035:\n\t\t\titemDef.name = \"Construction master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 6061, 5945, 6327, 6330, 6333, 6336, 6337, 6339, 6341, 6345, 6347,\n\t\t\t\t\t6362 };\n\t\t\titemDef.modelId = 50034;\n\t\t\titemDef.maleModel = 50035;\n\t\t\titemDef.femaleModel = 50035;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33036:\n\t\t\titemDef.name = \"Cooking master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 920, 920, 51856, 51859, 51862, 51865, 51866, 51868, 51870, 51874,\n\t\t\t\t\t51876, 51891 };\n\t\t\titemDef.modelId = 50036;\n\t\t\titemDef.maleModel = 50037;\n\t\t\titemDef.femaleModel = 50037;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33037:\n\t\t\titemDef.name = \"Crafting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9142, 9152, 4511, 4514, 4517, 4520, 4521, 4523, 4525, 4529, 4531,\n\t\t\t\t\t4546 };\n\t\t\titemDef.modelId = 50038;\n\t\t\titemDef.maleModel = 50039;\n\t\t\titemDef.femaleModel = 50039;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33038:\n\t\t\titemDef.name = \"Defence master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 10460, 10473, 41410, 41413, 41416, 41419, 41420, 41422, 41424,\n\t\t\t\t\t41428, 41430, 41445 };\n\t\t\titemDef.modelId = 50040;\n\t\t\titemDef.maleModel = 50041;\n\t\t\titemDef.femaleModel = 50041;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33039:\n\t\t\titemDef.name = \"Farming master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 14775, 14792, 22026, 22029, 22032, 22035, 22036, 22038, 22040,\n\t\t\t\t\t22044, 22046, 22061 };\n\t\t\titemDef.modelId = 50042;\n\t\t\titemDef.maleModel = 50043;\n\t\t\titemDef.femaleModel = 50043;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33040:\n\t\t\titemDef.name = \"Firemaking master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 8125, 9152, 4015, 4018, 4021, 4024, 4025, 4027, 4029, 4033, 4035,\n\t\t\t\t\t4050 };\n\t\t\titemDef.modelId = 50044;\n\t\t\titemDef.maleModel = 50045;\n\t\t\titemDef.femaleModel = 50045;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33041:\n\t\t\titemDef.name = \"Fishing master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9144, 9152, 38202, 38205, 38208, 38211, 38212, 38214, 38216,\n\t\t\t\t\t38220, 38222, 38237 };\n\t\t\titemDef.modelId = 50046;\n\t\t\titemDef.maleModel = 50047;\n\t\t\titemDef.femaleModel = 50047;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33042:\n\t\t\titemDef.name = \"Fletching master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 6067, 9152, 33670, 33673, 33676, 33679, 33680, 33682, 33684,\n\t\t\t\t\t33688, 33690, 33705 };\n\t\t\titemDef.modelId = 50048;\n\t\t\titemDef.maleModel = 50049;\n\t\t\titemDef.femaleModel = 50049;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33043:\n\t\t\titemDef.name = \"Herblore master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9145, 9156, 22414, 22417, 22420, 22423, 22424, 22426, 22428,\n\t\t\t\t\t22432, 22434, 22449 };\n\t\t\titemDef.modelId = 50050;\n\t\t\titemDef.maleModel = 50051;\n\t\t\titemDef.femaleModel = 50051;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33044:\n\t\t\titemDef.name = \"Hitpoints master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 818, 951, 8291, 8294, 8297, 8300, 8301, 8303, 8305, 8309, 8311,\n\t\t\t\t\t8319 };\n\t\t\titemDef.modelId = 50052;\n\t\t\titemDef.maleModel = 50053;\n\t\t\titemDef.femaleModel = 50053;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\titemDef.femaleOffset = 4;\n\t\t\tbreak;\n\t\tcase 33045:\n\t\t\titemDef.name = \"Hunter master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 5262, 6020, 8472, 8475, 8478, 8481, 8482, 8484, 8486, 8490, 8492,\n\t\t\t\t\t8507 };\n\t\t\titemDef.modelId = 50054;\n\t\t\titemDef.maleModel = 50055;\n\t\t\titemDef.femaleModel = 50055;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33046:\n\t\t\titemDef.name = \"Magic master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 43569, 43685, 6336, 6339, 6342, 6345, 6346, 6348, 6350, 6354,\n\t\t\t\t\t6356, 6371 };\n\t\t\titemDef.modelId = 50056;\n\t\t\titemDef.maleModel = 50057;\n\t\t\titemDef.femaleModel = 50057;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33047:\n\t\t\titemDef.name = \"Mining master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 36296, 36279, 10386, 10389, 10392, 10395, 10396, 10398, 10400,\n\t\t\t\t\t10404, 10406, 10421 };\n\t\t\titemDef.modelId = 50058;\n\t\t\titemDef.maleModel = 50059;\n\t\t\titemDef.femaleModel = 50059;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33048:\n\t\t\titemDef.name = \"Prayer master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9163, 9168, 117, 120, 123, 126, 127, 127, 127, 127, 127, 127 };\n\t\t\titemDef.modelId = 50060;\n\t\t\titemDef.maleModel = 50061;\n\t\t\titemDef.femaleModel = 50061;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33049:\n\t\t\titemDef.name = \"Range master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 3755, 3998, 15122, 15125, 15128, 15131, 15132, 15134, 15136,\n\t\t\t\t\t15140, 15142, 15157 };\n\t\t\titemDef.modelId = 50062;\n\t\t\titemDef.maleModel = 50063;\n\t\t\titemDef.femaleModel = 50063;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33050:\n\t\t\titemDef.name = \"Runecrafting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\t// 4 //7 //10 //13 //14//16//18//22 //24//39\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 9152, 8128, 10318, 10321, 10324, 10327, 10328, 10330, 10332,\n\t\t\t\t\t10336, 10338, 10353 };\n\t\t\titemDef.modelId = 50064;\n\t\t\titemDef.maleModel = 50065;\n\t\t\titemDef.femaleModel = 50065;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33051:\n\t\t\titemDef.name = \"Slayer master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811 };\n\t\t\titemDef.originalModelColors = new int[] { 912, 920 };\n\t\t\titemDef.modelId = 50066;\n\t\t\titemDef.maleModel = 50067;\n\t\t\titemDef.femaleModel = 50067;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33052:\n\t\t\titemDef.name = \"Smithing master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 8115, 9148, 10386, 10389, 10392, 10395, 10396, 10398, 10400,\n\t\t\t\t\t10404, 10406, 10421 };\n\t\t\titemDef.modelId = 50068;\n\t\t\titemDef.maleModel = 50069;\n\t\t\titemDef.femaleModel = 50069;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33053:\n\t\t\titemDef.name = \"Strength master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 935, 931, 27538, 27541, 27544, 27547, 27548, 27550, 27552, 27556,\n\t\t\t\t\t27558, 27573 };\n\t\t\titemDef.modelId = 50070;\n\t\t\titemDef.maleModel = 50071;\n\t\t\titemDef.femaleModel = 50071;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33054:\n\t\t\titemDef.name = \"Thieving master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 11, 0, 58779, 58782, 58785, 58788, 58789, 57891, 58793, 58797,\n\t\t\t\t\t58799, 58814 };\n\t\t\titemDef.modelId = 50072;\n\t\t\titemDef.maleModel = 50073;\n\t\t\titemDef.femaleModel = 50073;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33055:\n\t\t\titemDef.name = \"Woodcutting master cape\";\n\t\t\titemDef.description = \"\tA cape worn by those who've overachieved.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 57022, 48811, 2, 1029, 1032, 11, 12, 14, 16, 20, 22, 2 };\n\t\t\titemDef.originalModelColors = new int[] { 25109, 24088, 6693, 6696, 6699, 6702, 6703, 6705, 6707, 6711,\n\t\t\t\t\t6713, 6728 };\n\t\t\titemDef.modelId = 50074;\n\t\t\titemDef.maleModel = 50075;\n\t\t\titemDef.femaleModel = 50075;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 5;\n\t\t\tbreak;\n\t\tcase 33057:\n\t\t\titemDef.name = \"Abyssal Scythe\";\n\t\t\titemDef.description = \"\tA Scythe recieved from the Trials of Xeric CUSTOM RAID.\";\n\t\t\titemDef.modelId = 50081;\n\t\t\titemDef.maleModel = 50080;\n\t\t\titemDef.femaleModel = 50080;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.maleOffset = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33090:\n\t\t\titemDef.name = \"Goliath gloves (Black)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50100;\n\t\t\titemDef.femaleModel = 50101;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33091:\n\t\t\titemDef.name = \"Goliath gloves (Red)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50102;\n\t\t\titemDef.femaleModel = 50103;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33092:\n\t\t\titemDef.name = \"Goliath gloves (White)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50104;\n\t\t\titemDef.femaleModel = 50105;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33093:\n\t\t\titemDef.name = \"Goliath gloves (Yellow)\";\n\t\t\titemDef.description = \"\tA pair of gloves earned with blood.\";\n\t\t\titemDef.modelId = 50108;\n\t\t\titemDef.maleModel = 50106;\n\t\t\titemDef.femaleModel = 50107;\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 40;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 12639:\n\t\tcase 12637:\n\t\tcase 12638:\n\t\t\titemDef.description = \"Provides players with infinite run energy!\";\n\t\t\tbreak;\n\t\tcase 33056:\n\t\t\titemDef.name = \"Events cape (slayer)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 933, 0, 0, 0, 0 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33081:\n\t\t\titemDef.name = \"Events cape (agility)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 669, 43430, 43430, 43430, 43430 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33080:\n\t\t\titemDef.name = \"Events cape (attack)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 9926, 1815, 1815, 1815, 1815 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33059:\n\t\t\titemDef.name = \"Events cape (construction)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 6967, 6343, 6343, 6343, 6343 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33061:\n\t\t\titemDef.name = \"Events cape (cooking)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1819, 49685, 49685, 49685, 49685 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33062:\n\t\t\titemDef.name = \"Events cape (crafting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 7994, 4516, 4516, 4516, 4516 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33063:\n\t\t\titemDef.name = \"Events cape (defence)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 39367, 10472, 10472, 10472, 10472 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33064:\n\t\t\titemDef.name = \"Events cape (farming)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10698, 19734, 19734, 19734, 19734 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33065:\n\t\t\titemDef.name = \"Events cape (firemaking)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10059, 4922, 4922, 4922, 4922 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33066:\n\t\t\titemDef.name = \"Events cape (fishing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 36165, 36165, 36165, 36165 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33067:\n\t\t\titemDef.name = \"Events cape (fletching)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 31500, 31500, 31500, 31500 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33068:\n\t\t\titemDef.name = \"Events cape (herblore)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10051, 20889, 20889, 20889, 20889 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33069:\n\t\t\titemDef.name = \"Events cape (hitpoints)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1836, 8296, 8296, 8296, 8296 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33070:\n\t\t\titemDef.name = \"Events cape (hunter)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 6916, 8477, 8477, 8477, 8477 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33071:\n\t\t\titemDef.name = \"Events cape (magic)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 43556, 6339, 6339, 6339, 6339 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33072:\n\t\t\titemDef.name = \"Events cape (mining)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 34111, 10391, 10391, 10391, 10391 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33073:\n\t\t\titemDef.name = \"Events cape (prayer)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 9927, 2169, 2169, 2169, 2169 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33074:\n\t\t\titemDef.name = \"Events cape (range)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 3626, 20913, 20913, 20913, 20913 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33075:\n\t\t\titemDef.name = \"Events cape (runecrafting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10047, 10323, 10323, 10323, 10323 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33076:\n\t\t\titemDef.name = \"Events cape (smithing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 10044, 5412, 5412, 5412, 5412 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33077:\n\t\t\titemDef.name = \"Events cape (strength)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 1819, 30487, 30487, 30487, 30487 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33078:\n\t\t\titemDef.name = \"Events cape (thieveing)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 8, 57636, 57636, 57636, 57636 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33079:\n\t\t\titemDef.name = \"Events cape (woodcutting)\";\n\t\t\titemDef.description = \"events cape.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 38333, 127, 107, 115, 90 };\n\t\t\titemDef.originalModelColors = new int[] { 26007, 6570, 6570, 6570, 6570 };\n\t\t\titemDef.modelId = 34418;\n\t\t\titemDef.maleModel = 34271;\n\t\t\titemDef.femaleModel = 34288;\n\t\t\titemDef.modelZoom = 1960;\n\t\t\titemDef.modelRotation1 = 528;\n\t\t\titemDef.modelRotation2 = 1583;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33101:\n\t\t\titemDef.name = \"Vorkath platebody\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53100;\n\t\t\titemDef.maleModel = 53099;\n\t\t\titemDef.femaleModel = 53099;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33102:\n\t\t\titemDef.name = \"Vorkath platelegs\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53102;\n\t\t\titemDef.maleModel = 53101;\n\t\t\titemDef.femaleModel = 53101;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33103:\n\t\t\titemDef.name = \"Vorkath boots\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53104;\n\t\t\titemDef.maleModel = 53103;\n\t\t\titemDef.femaleModel = 53103;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33104:\n\t\t\titemDef.name = \"Vorkath gloves\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53106;\n\t\t\titemDef.maleModel = 53105;\n\t\t\titemDef.femaleModel = 53105;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33105:\n\t\t\titemDef.name = \"Vorkath helmet\";\n\t\t\titemDef.description = \"Vorkath armour.\";\n\t\t\titemDef.modelId = 53108;\n\t\t\titemDef.maleModel = 53107;\n\t\t\titemDef.femaleModel = 53107;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33106:\n\t\t\titemDef.name = \"Tekton helmet\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53118;\n\t\t\titemDef.maleModel = 53117;\n\t\t\titemDef.femaleModel = 53117;\n\t\t\titemDef.modelZoom = 724;\n\t\t\titemDef.modelRotation1 = 81;\n\t\t\titemDef.modelRotation2 = 1670;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33107:\n\t\t\titemDef.name = \"Tekton platebody\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53110;\n\t\t\titemDef.maleModel = 53109;\n\t\t\titemDef.femaleModel = 53109;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33108:\n\t\t\titemDef.name = \"Tekton platelegs\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53112;\n\t\t\titemDef.maleModel = 53111;\n\t\t\titemDef.femaleModel = 53111;\n\t\t\titemDef.modelZoom = 1550;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 186;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 11;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33109:\n\t\t\titemDef.name = \"Tekton gloves\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53116;\n\t\t\titemDef.maleModel = 53115;\n\t\t\titemDef.femaleModel = 53115;\n\t\t\titemDef.modelZoom = 830;\n\t\t\titemDef.modelRotation1 = 536;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33110:\n\t\t\titemDef.name = \"Tekton boots\";\n\t\t\titemDef.description = \"Tekton armour.\";\n\t\t\titemDef.modelId = 53114;\n\t\t\titemDef.maleModel = 53113;\n\t\t\titemDef.femaleModel = 53113;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33111:\n\t\t\titemDef.name = \"Anti-santa scythe\";\n\t\t\titemDef.description = \"Legend says this is the biggest arse scratcher around.\";\n\t\t\titemDef.modelId = 57002;\n\t\t\titemDef.maleModel = 57001;\n\t\t\titemDef.femaleModel = 57001;\n\t\t\titemDef.modelZoom = 3224;\n\t\t\titemDef.modelRotation1 = 539;\n\t\t\titemDef.modelRotation2 = 714;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33112:\n\t\t\titemDef.name = \"Dominion staff\";\n\t\t\titemDef.description = \"Dominion staff.\";\n\t\t\titemDef.modelId = 59029;\n\t\t\titemDef.maleModel = 59305;\n\t\t\titemDef.femaleModel = 59305;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 288;\n\t\t\titemDef.modelRotation2 = 1685;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33113:\n\t\t\titemDef.name = \"Dominion sword\";\n\t\t\titemDef.description = \"Dominion sword.\";\n\t\t\titemDef.modelId = 59832;\n\t\t\titemDef.maleModel = 59306;\n\t\t\titemDef.femaleModel = 59306;\n\t\t\titemDef.modelZoom = 1829;\n\t\t\titemDef.modelRotation1 = 513;\n\t\t\titemDef.modelRotation2 = 546;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33114:\n\t\t\titemDef.name = \"Dominion crossbow\";\n\t\t\titemDef.description = \"Dominion crossbow.\";\n\t\t\titemDef.modelId = 59839;\n\t\t\titemDef.maleModel = 59304;\n\t\t\titemDef.femaleModel = 59304;\n\t\t\titemDef.modelZoom = 1490;\n\t\t\titemDef.modelRotation1 = 362;\n\t\t\titemDef.modelRotation2 = 791;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33115:\n\t\t\titemDef.name = \"Dragonfire Shield (e)\";\n\t\t\titemDef.description = \"unamed shield.\";\n\t\t\titemDef.modelId = 53120;\n\t\t\titemDef.maleModel = 53119;\n\t\t\titemDef.femaleModel = 53119;\n\t\t\titemDef.modelZoom = 2022;\n\t\t\titemDef.modelRotation1 = 540;\n\t\t\titemDef.modelRotation2 = 123;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[] { null, \"Wear\", \"Inspect\", \"Empty\", \"Drop\" };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33116:\n\t\t\titemDef.name = \"Zilyana's longbow\";\n\t\t\titemDef.description = \"A bow belonged to Zilyana.\";\n\t\t\titemDef.modelId = 53122;\n\t\t\titemDef.maleModel = 53121;\n\t\t\titemDef.femaleModel = 53121;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 1010;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33117:\n\t\t\titemDef.name = \"Black dragon hunter crossbow\";\n\t\t\titemDef.description = \"Black dragon hunter crossbow.\";\n\t\t\titemDef.modelId = 53124;\n\t\t\titemDef.maleModel = 53123;\n\t\t\titemDef.femaleModel = 53123;\n\t\t\titemDef.modelZoom = 1554;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 1010;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33118:\n\t\t\titemDef.name = \"Vorkath blowpipe\";\n\t\t\titemDef.description = \"Vorkath blowpipe.\";\n\t\t\titemDef.modelId = 53126;\n\t\t\titemDef.maleModel = 53125;\n\t\t\titemDef.femaleModel = 53125;\n\t\t\titemDef.modelZoom = 1158;\n\t\t\titemDef.modelRotation1 = 768;\n\t\t\titemDef.modelRotation2 = 189;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33119:\n\t\t\titemDef.name = \"Superior twisted bow\";\n\t\t\titemDef.description = \"An upgraded twisted bow.\";\n\t\t\titemDef.modelId = 53128;\n\t\t\titemDef.maleModel = 53127;\n\t\t\titemDef.femaleModel = 53127;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.maleOffset = -4;\n\t\t\titemDef.femaleOffset = -4;\n\t\t\tbreak;\n\t\tcase 33123:\n\t\t\titemDef.name = \"Staff of sliske\";\n\t\t\titemDef.description = \"Staff of sliske.\";\n\t\t\titemDef.modelId = 59234;\n\t\t\titemDef.maleModel = 59233;\n\t\t\titemDef.femaleModel = 59233;\n\t\t\titemDef.modelZoom = 1872;\n\t\t\titemDef.modelRotation1 = 288;\n\t\t\titemDef.modelRotation2 = 1685;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33124:\n\t\t\titemDef.name = \"Twisted crossbow\";\n\t\t\titemDef.description = \"Twisted crossbow.\";\n\t\t\titemDef.modelId = 62777;\n\t\t\titemDef.maleModel = 62776;\n\t\t\titemDef.femaleModel = 62776;\n\t\t\titemDef.modelZoom = 926;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 258;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33125:\n\t\t\titemDef.name = \"Present\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 933, 24410 };\n\t\t\titemDef.description = \"Santa's stolen present\";\n\t\t\tbreak;\n\t\tcase 33126:\n\t\t\titemDef.name = \"Christmas tree branch\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 2412;\n\t\t\titemDef.modelZoom = 940;\n\t\t\titemDef.modelRotation1 = 268;\n\t\t\titemDef.modelRotation2 = 152;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = -21;\n\t\t\titemDef.modifiedModelColors = new int[] { 11144 };\n\t\t\titemDef.originalModelColors = new int[] { 6047 };\n\t\t\titemDef.description = \"Enter examine here.\";\n\t\t\tbreak;\n\t\tcase 33127:\n\t\t\titemDef.name = \"Kbd gloves\";\n\t\t\titemDef.description = \"Kbd gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 33085 };\n\t\t\titemDef.originalModelColors = new int[] { 1060 };\n\t\t\titemDef.modelId = 53106;\n\t\t\titemDef.maleModel = 53105;\n\t\t\titemDef.femaleModel = 53105;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33128:\n\t\t\titemDef.name = \"Kbd boots\";\n\t\t\titemDef.description = \"Kbd boots.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 33198, 33202, 33206, 33215, 33210 };\n\t\t\titemDef.originalModelColors = new int[] { 1060, 1061, 1063, 1064, 1065 };\n\t\t\titemDef.modelId = 53104;\n\t\t\titemDef.maleModel = 53103;\n\t\t\titemDef.femaleModel = 53103;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33129:\n\t\t\titemDef.name = \"Kbd platelegs\";\n\t\t\titemDef.description = \"Kbd platelegs.\";\n\t\t\titemDef.modelId = 59994;\n\t\t\titemDef.maleModel = 59995;\n\t\t\titemDef.femaleModel = 59995;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33130:\n\t\t\titemDef.name = \"Kbd platebody\";\n\t\t\titemDef.description = \"Kbd platebody.\";\n\t\t\titemDef.modelId = 59998;\n\t\t\titemDef.maleModel = 59999;\n\t\t\titemDef.femaleModel = 59999;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33131:\n\t\t\titemDef.name = \"Kbd helmet\";\n\t\t\titemDef.description = \"Kbd helmet.\";\n\t\t\titemDef.modelId = 59996;\n\t\t\titemDef.maleModel = 59997;\n\t\t\titemDef.femaleModel = 59997;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33132:\n\t\t\titemDef.name = \"Kbd cape\";\n\t\t\titemDef.description = \"Kbd cape.\";\n\t\t\titemDef.modelId = 59992;\n\t\t\titemDef.maleModel = 59993;\n\t\t\titemDef.femaleModel = 59993;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33133:\n\t\t\titemDef.name = \"Anti-imp pet\";\n\t\t\titemDef.description = \"Anti-imp pet.\";\n\t\t\titemDef.modelId = 45294;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33134:\n\t\t\titemDef.name = \"Anti-santa pet\";\n\t\t\titemDef.description = \"Anti-santa pet.\";\n\t\t\titemDef.modelId = 29030;\n\t\t\titemDef.modelZoom = 653;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 1966;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33135:\n\t\t\titemDef.name = \"Bandos mask\";\n\t\t\titemDef.description = \"Bandos helmet.\";\n\t\t\titemDef.modelId = 59987;\n\t\t\titemDef.maleModel = 59991;\n\t\t\titemDef.femaleModel = 59991;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33136:\n\t\t\titemDef.name = \"Armadyl mask\";\n\t\t\titemDef.description = \"Armadyl mask.\";\n\t\t\titemDef.modelId = 59986;\n\t\t\titemDef.maleModel = 59990;\n\t\t\titemDef.femaleModel = 59990;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33137:\n\t\t\titemDef.name = \"Zamorak mask\";\n\t\t\titemDef.description = \"Zamorak mask.\";\n\t\t\titemDef.modelId = 59985;\n\t\t\titemDef.maleModel = 59989;\n\t\t\titemDef.femaleModel = 59989;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33138:\n\t\t\titemDef.name = \"Saradomin mask\";\n\t\t\titemDef.description = \"Saradomin mask.\";\n\t\t\titemDef.modelId = 59984;\n\t\t\titemDef.maleModel = 59988;\n\t\t\titemDef.femaleModel = 59988;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33139:\n\t\t\titemDef.name = \"Zamarok godbow\";\n\t\t\titemDef.description = \"Zamarok godbow.\";\n\t\t\titemDef.modelId = 60560;//60553\n\t\t\titemDef.maleModel = 60560;\n\t\t\titemDef.femaleModel = 60560;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33140:\n\t\t\titemDef.name = \"Saradomin godbow\";\n\t\t\titemDef.description = \"Saradomin godbow.\";\n\t\t\titemDef.modelId = 60555;\n\t\t\titemDef.maleModel = 60554;\n\t\t\titemDef.femaleModel = 60554;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33141:\n\t\t\titemDef.name = \"Bandos godbow\";\n\t\t\titemDef.description = \"Bandos godbow.\";\n\t\t\titemDef.modelId = 60559;\n\t\t\titemDef.maleModel = 60558;\n\t\t\titemDef.femaleModel = 60558;\n\t\t\titemDef.modelZoom = 2100;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33142:\n\t\t\titemDef.name = \"Fire cape (purple)\";\n\t\t\titemDef.description = \"Fire cape (purple).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33148:\n\t\t\titemDef.name = \"Fire cape (cyan)\";\n\t\t\titemDef.description = \"Fire cape (cyan).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33144:\n\t\t\titemDef.name = \"Fire cape (green)\";\n\t\t\titemDef.description = \"Fire cape (green).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33145:\n\t\t\titemDef.name = \"Fire cape (red)\";\n\t\t\titemDef.description = \"Fire cape (red).\";\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33143:\n\t\t\titemDef.name = \"Infernal cape (blue)\";\n\t\t\titemDef.description = \"Infernal cape (blue).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 39851, 39851, 39851, 39851 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33146:\n\t\t\titemDef.name = \"Infernal cape (green)\";\n\t\t\titemDef.description = \"Infernal cape (green).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 21167, 21167, 21167, 21167 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33147:\n\t\t\titemDef.name = \"Infernal cape (purple)\";\n\t\t\titemDef.description = \"Infernal cape (purple).\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5056, 5066, 924, 3005 };\n\t\t\titemDef.originalModelColors = new int[] { 53160, 53160, 53160, 53160 };\n\t\t\titemDef.modelId = 33144;\n\t\t\titemDef.maleModel = 33103;\n\t\t\titemDef.femaleModel = 33111;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33150:\n\t\t\titemDef.name = \"Infernal key piece 1\";\n\t\t\titemDef.description = \"Infernal key piece 1.\";\n\t\t\titemDef.modelId = 61001;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33151:\n\t\t\titemDef.name = \"Infernal key piece 2\";\n\t\t\titemDef.description = \"Infernal key piece 2.\";\n\t\t\titemDef.modelId = 61002;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33152:\n\t\t\titemDef.name = \"Infernal key piece 3\";\n\t\t\titemDef.description = \"Infernal key piece 3.\";\n\t\t\titemDef.modelId = 61003;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Combine\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33153:\n\t\t\titemDef.name = \"Infernal key\";\n\t\t\titemDef.description = \"Infernal key.\";\n\t\t\titemDef.modelId = 61111;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 534;\n\t\t\titemDef.modelRotation2 = 222;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\t\t//DOPES ITEMS NIGGAHAHAHAHAHAHAH\n\t\tcase 2749:\n\t\t\titemDef.name = \"Bloody Axe\";\n\t\t\titemDef.description = \"Look at all that blood!\";\n\t\t\titemDef.modelId = 65495;\n\t\t\titemDef.femaleModel = 65495;\n\t\t\titemDef.maleModel = 65495;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 2750:\n\t\t\titemDef.name = \"Bloody Axe Offhand\";\n\t\t\titemDef.description = \"Look at all that blood!\";\n\t\t\titemDef.modelId = 65496;\n\t\t\titemDef.femaleModel = 65496;\n\t\t\titemDef.maleModel = 65496;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33154:\n\t\t\titemDef.name = \"Infernal mystery box\";\n\t\t\titemDef.description = \"Infernal mystery box.\";\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Open\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33155:\n\t\t\titemDef.name = \"Ethereal sword (red)\";\n\t\t\titemDef.description = \"Ethereal sword (red).\";\n\t\t\titemDef.modelId = 61005;\n\t\t\titemDef.maleModel = 61004;\n\t\t\titemDef.femaleModel = 61004;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33156:\n\t\t\titemDef.name = \"Ethereal sword (blue)\";\n\t\t\titemDef.description = \"Ethereal sword (blue).\";\n\t\t\titemDef.modelId = 61006;\n\t\t\titemDef.maleModel = 61007;\n\t\t\titemDef.femaleModel = 61007;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33157:\n\t\t\titemDef.name = \"Ethereal sword (green)\";\n\t\t\titemDef.description = \"Ethereal sword (green).\";\n\t\t\titemDef.modelId = 61008;\n\t\t\titemDef.maleModel = 61009;\n\t\t\titemDef.femaleModel = 61009;\n\t\t\titemDef.modelZoom = 1645;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33158:\n\t\t\titemDef.name = \"Dagon' hai top\";\n\t\t\titemDef.description = \"An elite dark mages robes.\";\n\t\t\titemDef.modelId = 60317;\n\t\t\titemDef.maleModel = 43614;\n\t\t\titemDef.femaleModel = 43689;\n\t\t\titemDef.anInt188 = 44594;\n\t\t\titemDef.anInt164 = 43681;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 536;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33159:\n\t\t\titemDef.name = \"Dagon' hai hat\";\n\t\t\titemDef.description = \"An elite dark mages hat.\";\n\t\t\titemDef.modelId = 60319;\n\t\t\titemDef.maleModel = 60318;\n\t\t\titemDef.femaleModel = 60318;\n\t\t\titemDef.anInt188 = -1;\n\t\t\titemDef.anInt164 = -1;\n\t\t\titemDef.modelZoom = 1373;\n\t\t\titemDef.modelRotation1 = 98;\n\t\t\titemDef.modelRotation2 = 1988;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33160:\n\t\t\titemDef.name = \"Dagon' hai robe\";\n\t\t\titemDef.description = \"An elite dark mages robe.\";\n\t\t\titemDef.modelId = 60321;\n\t\t\titemDef.maleModel = 60320;\n\t\t\titemDef.femaleModel = 60320;\n\t\t\titemDef.anInt188 = -1;\n\t\t\titemDef.anInt164 = -1;\n\t\t\titemDef.modelZoom = 2216;\n\t\t\titemDef.modelRotation1 = 572;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 14;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33161:\n\t\t\titemDef.name = \"Blue infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Blue.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33162:\n\t\t\titemDef.name = \"Green infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Green.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33163:\n\t\t\titemDef.name = \"Purple infernal cape mix\";\n\t\t\titemDef.description = \"Changes the color of the Infernal Cape to Purple.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33164:\n\t\t\titemDef.name = \"Purple firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to purple.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33165:\n\t\t\titemDef.name = \"Cyan firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to cyan.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33166:\n\t\t\titemDef.name = \"Green firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to green.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33167:\n\t\t\titemDef.name = \"Red firecape mix\";\n\t\t\titemDef.description = \"Changes the color of the firecape to red.\";\n\t\t\titemDef.modelId = 8956;\n\t\t\titemDef.modelZoom = 842;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Use\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33169:\n\t\t\titemDef.name = \"K'ril robe top\";\n\t\t\titemDef.description = \"A top worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62558;\n\t\t\titemDef.maleModel = 62559;\n\t\t\titemDef.femaleModel = 62559;\n\t\t\titemDef.modelZoom = 1358;\n\t\t\titemDef.modelRotation1 = 514;\n\t\t\titemDef.modelRotation2 = 2041;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33170:\n\t\t\titemDef.name = \"K'ril robe bottom\";\n\t\t\titemDef.description = \"A robe worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62553;\n\t\t\titemDef.maleModel = 62554;\n\t\t\titemDef.femaleModel = 62554;\n\t\t\titemDef.modelZoom = 1690;\n\t\t\titemDef.modelRotation1 = 435;\n\t\t\titemDef.modelRotation2 = 9;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 7;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33171:\n\t\t\titemDef.name = \"K'ril hat\";\n\t\t\titemDef.description = \"A hat worn by magic-using followers of Zamorak.\";\n\t\t\titemDef.modelId = 62551;\n\t\t\titemDef.maleModel = 62552;\n\t\t\titemDef.femaleModel = 62552;\n\t\t\titemDef.modelZoom = 1236;\n\t\t\titemDef.modelRotation1 = 118;\n\t\t\titemDef.modelRotation2 = 10;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -12;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33172:\n\t\t\titemDef.name = \"K'ril swords\";\n\t\t\titemDef.description = \"Sheath & Unsheath this sword in the Equipment tab. Hits an enemy twice.\";\n\t\t\titemDef.equipActions[2] = \"Sheath\";\n\t\t\titemDef.modelId = 62556;\n\t\t\titemDef.maleModel = 62557;\n\t\t\titemDef.femaleModel = 62557;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33173:\n\t\t\titemDef.name = \"K'ril swords (sheathed)\";\n\t\t\titemDef.description = \"Sheath & Unsheath this sword in the Equipment tab. Hits an enemy twice.\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 62556;\n\t\t\titemDef.maleModel = 62556;\n\t\t\titemDef.femaleModel = 62556;\n\t\t\titemDef.modelZoom = 1650;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 1300;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33174:\n\t\t\titemDef.name = \"Pet demonic gorilla\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31241;\n\t\t\titemDef.modelZoom = 16000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33175:\n\t\t\titemDef.name = \"Pet crawling hand\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5071;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33176:\n\t\t\titemDef.name = \"Pet cave bug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 23854;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33177:\n\t\t\titemDef.name = \"Pet cave crawler\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5066;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33178:\n\t\t\titemDef.name = \"Pet banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5063;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33179:\n\t\t\titemDef.name = \"Pet cave slime\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5786;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33180:\n\t\t\titemDef.name = \"Pet rockslug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5084;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33181:\n\t\t\titemDef.name = \"Pet cockatrice\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5070;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33182:\n\t\t\titemDef.name = \"Pet pyrefiend\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5083;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33183:\n\t\t\titemDef.name = \"Pet basilisk\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5064;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33184:\n\t\t\titemDef.name = \"Pet infernal mage\";\n\t\t\titemDef.modifiedModelColors = new int[] { -26527, -24618, -25152, -25491, 119 };\n\t\t\titemDef.originalModelColors = new int[] { 924, 148, 0, 924, 924 };\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5047;\n\t\t\titemDef.modelZoom = 3940;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 84;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33185:\n\t\t\titemDef.name = \"Pet bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5065;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33186:\n\t\t\titemDef.name = \"Pet jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5081;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33187:\n\t\t\titemDef.name = \"Pet turoth\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5086;\n\t\t\titemDef.modelZoom = 2600;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33188:\n\t\t\titemDef.name = \"Pet aberrant spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5085;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 450;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33189:\n\t\t\titemDef.name = \"Pet dust devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5076;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33190:\n\t\t\titemDef.name = \"Pet kurask\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5082;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33191:\n\t\t\titemDef.name = \"Pet skeletal wyvern\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 10350;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation1 = 27;\n\t\t\titemDef.modelRotation2 = 1634;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33192:\n\t\t\titemDef.name = \"Pet garygoyle\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5078;\n\t\t\titemDef.modelZoom = 4000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33193:\n\t\t\titemDef.name = \"Pet nechryael\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5074;\n\t\t\titemDef.modelZoom = 4000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33194:\n\t\t\titemDef.name = \"Pet abyssal demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 5062;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33195:\n\t\t\titemDef.name = \"Pet dark beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26395;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33196:\n\t\t\titemDef.name = \"Pet night beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32933;\n\t\t\titemDef.modelZoom = 7000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33197:\n\t\t\titemDef.name = \"Pet greater abyssal demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32921;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33198:\n\t\t\titemDef.name = \"Pet crushing hand\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32922;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33199:\n\t\t\titemDef.name = \"Pet chasm crawler\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32918;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33200:\n\t\t\titemDef.name = \"Pet screaming banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32823;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33201:\n\t\t\titemDef.name = \"Pet twisted banshee\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32847;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33202:\n\t\t\titemDef.name = \"Pet giant rockslug\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32919;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33203:\n\t\t\titemDef.name = \"Pet cockathrice\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32920;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33204:\n\t\t\titemDef.name = \"Pet flaming pyrelord\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32923;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33205:\n\t\t\titemDef.name = \"Pet monstrous basilisk\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32924;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33206:\n\t\t\titemDef.name = \"Pet malevolent mage\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32929;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33207:\n\t\t\titemDef.name = \"Pet insatiable bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32926;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33208:\n\t\t\titemDef.name = \"Pet insatiable mutated bloodveld\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32925;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33209:\n\t\t\titemDef.name = \"Pet vitreous jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32852;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33210:\n\t\t\titemDef.name = \"Pet vitreous warped jelly\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32917;\n\t\t\titemDef.modelZoom = 6000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33211:\n\t\t\titemDef.name = \"Pet cave abomination\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32935;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33212:\n\t\t\titemDef.name = \"Pet abhorrent spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32930;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33213:\n\t\t\titemDef.name = \"pet repugnant spectre\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32926;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33214:\n\t\t\titemDef.name = \"Pet choke devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32927;\n\t\t\titemDef.modelZoom = 6000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33215:\n\t\t\titemDef.name = \"Pet king kurask\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32934;\n\t\t\titemDef.modelZoom = 8000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33217:\n\t\t\titemDef.name = \"Pet nuclear smoke devil\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32928;\n\t\t\titemDef.modelZoom = 5500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33218:\n\t\t\titemDef.name = \"Pet marble gargoyle\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34251;\n\t\t\titemDef.modelZoom = 8000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33219:\n\t\t\titemDef.name = \"Pet nechryarch\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32932;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33220:\n\t\t\titemDef.name = \"Pet Patrity\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32035;\n\t\t\titemDef.modelZoom = 653;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1535;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33221:\n\t\t\titemDef.name = \"Pet xarpus\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35383;\n\t\t\titemDef.modelZoom = 14000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33222:\n\t\t\titemDef.name = \"Pet nyclocas vasilias\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35182;\n\t\t\titemDef.modelZoom = 12000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33223:\n\t\t\titemDef.name = \"Pet pestilent bloat\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35404;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33224:\n\t\t\titemDef.name = \"Pet maiden of sugadinti\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35385;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33225:\n\t\t\titemDef.name = \"Pet lizardman shaman\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 4039;\n\t\t\titemDef.modelZoom = 8500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33226:\n\t\t\titemDef.name = \"Pet abyssal sire\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 29477;\n\t\t\titemDef.modelZoom = 9000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33227:\n\t\t\titemDef.name = \"Pet black demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31984;\n\t\t\titemDef.modelZoom = 1104;\n\t\t\titemDef.modelRotation1 = 144;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = 7;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 11802:\n\t\tcase 11804:\n\t\tcase 11806:\n\t\tcase 11808:\n\t\t\titemDef.equipActions[2] = \"Sheath\";\n\t\t\tbreak;// godsword sheathing operating\n\n\t\tcase 33228:\n\t\t\titemDef.name = \"Pet greater demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32015;\n\t\t\titemDef.modelZoom = 902;\n\t\t\titemDef.modelRotation1 = 216;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = -16;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33229:\n\t\t\titemDef.name = \"Armadyl godsword (sheathed)\";\n\t\t\titemDef.description = \"Armadyl godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28075;\n\t\t\titemDef.maleModel = 62683;\n\t\t\titemDef.femaleModel = 62683;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33230:\n\t\t\titemDef.name = \"Bandos godsword (sheathed)\";\n\t\t\titemDef.description = \"Bandos godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28059;\n\t\t\titemDef.maleModel = 62684;\n\t\t\titemDef.femaleModel = 62684;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33231:\n\t\t\titemDef.name = \"Saradomin godsword (sheathed)\";\n\t\t\titemDef.description = \"Saradomin godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28070;\n\t\t\titemDef.maleModel = 62685;\n\t\t\titemDef.femaleModel = 62685;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33232:\n\t\t\titemDef.name = \"Zamorak godsword (sheathed)\";\n\t\t\titemDef.description = \"Zamorak godsword (sheathed)\";\n\t\t\titemDef.equipActions[2] = \"Unsheath\";\n\t\t\titemDef.modelId = 28060;\n\t\t\titemDef.maleModel = 62686;\n\t\t\titemDef.femaleModel = 62686;\n\t\t\titemDef.modelZoom = 1957;\n\t\t\titemDef.modelRotation1 = 498;\n\t\t\titemDef.modelRotation2 = 494;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33233:\n\t\t\titemDef.name = \"Pet revenant imp\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34156;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33234:\n\t\t\titemDef.name = \"Pet revenant goblin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34262;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33235:\n\t\t\titemDef.name = \"Pet revenant pyrefiend\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34142;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33236:\n\t\t\titemDef.name = \"Pet revenant hobgoblin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34157;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33237:\n\t\t\titemDef.name = \"Pet revenant cyclops\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34155;\n\t\t\titemDef.modelZoom = 4500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33238:\n\t\t\titemDef.name = \"Pet revenant hellhound\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34143;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33239:\n\t\t\titemDef.name = \"Pet revenant demon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32015;\n\t\t\titemDef.modifiedModelColors = new int[] { 1690, 910, 912, 1814, 1938 };\n\t\t\titemDef.originalModelColors = new int[] { 43078, 43078, 43078, 43078, 43078, 43078 };\n\t\t\titemDef.modelZoom = 902;\n\t\t\titemDef.modelRotation1 = 216;\n\t\t\titemDef.modelRotation2 = 138;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = -16;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33240:\n\t\t\titemDef.name = \"Pet revenant ork\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34154;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33242:\n\t\t\titemDef.name = \"Pet revenant dark beast\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34158;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33243:\n\t\t\titemDef.name = \"Pet revenant knight\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34145;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33244:\n\t\t\titemDef.name = \"Pet revenant dragon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34163;\n\t\t\titemDef.modelZoom = 7500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33245:\n\t\t\titemDef.name = \"Pet glob\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26074;\n\t\t\titemDef.modelZoom = 10000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33246:\n\t\t\titemDef.name = \"Pet ice queen\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 104;\n\t\t\titemDef.modifiedModelColors = new int[] { 41, 61, 4550, 12224, 25238, 6798 };\n\t\t\titemDef.originalModelColors = new int[] { -22052, -26150, -24343, -22052, -22052, -23327 };\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33247:\n\t\t\titemDef.name = \"Pet enraged tarn\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60322;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33248:\n\t\t\titemDef.name = \"Pet jaltok-jad\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 33012;\n\t\t\titemDef.modelZoom = 12000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33249:\n\t\t\titemDef.name = \"Pet rune dragon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 34668;\n\t\t\titemDef.modelZoom = 2541;\n\t\t\titemDef.modelRotation1 = 83;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = -97;\n\t\t\titemDef.modelOffset2 = 9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33271:\n\t\t\titemDef.name = \"Moo\";\n\t\t\titemDef.description = \"cow goes moo.\";\n\t\t\titemDef.modelId = 23889;\n\t\t\titemDef.modelZoom = 2541;\n\t\t\titemDef.modelRotation1 = 83;\n\t\t\titemDef.modelRotation2 = 1826;\n\t\t\titemDef.modelOffset1 = -97;\n\t\t\titemDef.modelOffset2 = 9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33250:\n\t\t\titemDef.name = \"Swift gloves (Black)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62657;\n\t\t\titemDef.femaleModel = 62658;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33251:\n\t\t\titemDef.name = \"Swift gloves (Red)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62659;\n\t\t\titemDef.femaleModel = 62660;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33252:\n\t\t\titemDef.name = \"Swift gloves (White)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62661;\n\t\t\titemDef.femaleModel = 62662;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33253:\n\t\t\titemDef.name = \"Swift gloves (Yellow)\";\n\t\t\titemDef.description = \"Watch my speedy hands!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelId = 62655;\n\t\t\titemDef.maleModel = 62663;\n\t\t\titemDef.femaleModel = 62664;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33254:\n\t\t\titemDef.name = \"Spellcaster gloves (Black)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62665;\n\t\t\titemDef.femaleModel = 62666;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33255:\n\t\t\titemDef.name = \"Spellcaster gloves (Red)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 65046, 65051, 65056 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62667;\n\t\t\titemDef.femaleModel = 62668;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33256:\n\t\t\titemDef.name = \"Spellcaster gloves (White)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 64585, 64590, 64595 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62669;\n\t\t\titemDef.femaleModel = 62670;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33257:\n\t\t\titemDef.name = \"Spellcaster gloves (Yellow)\";\n\t\t\titemDef.description = \"\tSome pretty fantastical gloves.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 10, 15, 20 };\n\t\t\titemDef.originalModelColors = new int[] { 9767, 9772, 9777 };\n\t\t\titemDef.modelId = 62656;\n\t\t\titemDef.maleModel = 62671;\n\t\t\titemDef.femaleModel = 62672;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33258:\n\t\t\titemDef.name = \"Tekton longsword\";\n\t\t\titemDef.description = \"Tekton longsword.\";\n\t\t\titemDef.modelId = 62682;\n\t\t\titemDef.maleModel = 62681;\n\t\t\titemDef.femaleModel = 62681;\n\t\t\titemDef.modelZoom = 1445;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33259:\n\t\t\titemDef.name = \"Pet wyrm\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36922;\n\t\t\titemDef.modelZoom = 2547;\n\t\t\titemDef.modelRotation1 = 97;\n\t\t\titemDef.modelRotation2 = 1820;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33260:\n\t\t\titemDef.name = \"Pet drake\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36160;\n\t\t\titemDef.modelZoom = 6500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33261:\n\t\t\titemDef.name = \"Pet wyrm\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 36922;\n\t\t\titemDef.modelZoom = 2547;\n\t\t\titemDef.modelRotation1 = 97;\n\t\t\titemDef.modelRotation2 = 1820;\n\t\t\titemDef.modelOffset1 = -7;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33262:\n\t\t\titemDef.name = \"Valentines Balloon\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62766;\n\t\t\titemDef.maleModel = 62767;\n\t\t\titemDef.femaleModel = 62767;\n\t\t\titemDef.modelZoom = 2200;\n\t\t\titemDef.modelRotation1 = 270;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33263:\n\t\t\titemDef.name = \"Cupid bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62768;\n\t\t\titemDef.maleModel = 62769;\n\t\t\titemDef.femaleModel = 62769;\n\t\t\titemDef.modelZoom = 1072;\n\t\t\titemDef.modelRotation1 = 127;\n\t\t\titemDef.modelRotation2 = 103;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = 2;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33264:\n\t\t\titemDef.name = \"Halo and horns\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62771;\n\t\t\titemDef.maleModel = 62770;\n\t\t\titemDef.femaleModel = 62770;\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation1 = 228;\n\t\t\titemDef.modelRotation2 = 141;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33265:\n\t\t\titemDef.name = \"Heart\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62782;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33266:\n\t\t\titemDef.name = \"Valentines mystery box\";\n\t\t\titemDef.description = \"You make me hard.\";\n\t\t\titemDef.modelId = 62773;\n\t\t\titemDef.modelZoom = 464;\n\t\t\titemDef.modelRotation1 = 423;\n\t\t\titemDef.modelRotation2 = 1928;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Open\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33267:\n\t\t\titemDef.name = \"Staff of adoration\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62774;\n\t\t\titemDef.maleModel = 62775;\n\t\t\titemDef.femaleModel = 62775;\n\t\t\titemDef.modelZoom = 1579;\n\t\t\titemDef.modelRotation1 = 660;\n\t\t\titemDef.modelRotation2 = 48;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33268:\n\t\t\titemDef.name = \"Valentines crossbow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 62778;\n\t\t\titemDef.maleModel = 62779;\n\t\t\titemDef.femaleModel = 62779;\n\t\t\titemDef.modelZoom = 1200;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 258;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33269:\n\t\t\titemDef.name = \"Onyxia Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 2130, 38693 };\n\t\t\titemDef.description = \"Chances at several unqiue items found only in this box! (ex: Tekton Armor)\";\n\t\t\tbreak;\n\t\tcase 33270:\n\t\t\titemDef.name = \"Dragon Hunter Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2426;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\titemDef.modifiedModelColors = new int[] { 22410, 2999 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 1050 };\n\t\t\titemDef.description = \"Chances for items that give bonuses toward dragons. (ex: Dragonhunter Lance)\";\n\t\t\tbreak;\n\t\tcase 33273:\n\t\t\titemDef.name = \"Ancient sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60201;\n\t\t\titemDef.maleModel = 60200;\n\t\t\titemDef.femaleModel = 60200;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33274:\n\t\t\titemDef.name = \"Armadyl staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60203;\n\t\t\titemDef.maleModel = 60202;\n\t\t\titemDef.femaleModel = 60202;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33275:\n\t\t\titemDef.name = \"Bork axe\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60205;\n\t\t\titemDef.maleModel = 60204;\n\t\t\titemDef.femaleModel = 60204;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33276:\n\t\t\titemDef.name = \"Bree bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60207;\n\t\t\titemDef.maleModel = 60206;\n\t\t\titemDef.femaleModel = 60206;\n\t\t\titemDef.modelZoom = 1700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33277:\n\t\t\titemDef.name = \"Infernal staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60209;\n\t\t\titemDef.maleModel = 60208;\n\t\t\titemDef.femaleModel = 60208;\n\t\t\titemDef.modelZoom = 2200;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33278:\n\t\t\titemDef.name = \"Infernal longsword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60211;\n\t\t\titemDef.maleModel = 60210;\n\t\t\titemDef.femaleModel = 60210;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33279:\n\t\t\titemDef.name = \"Necrolord staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60213;\n\t\t\titemDef.maleModel = 60212;\n\t\t\titemDef.femaleModel = 60212;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33280:\n\t\t\titemDef.name = \"Insert name here\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60215;\n\t\t\titemDef.maleModel = 60214;\n\t\t\titemDef.femaleModel = 60214;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33281:\n\t\t\titemDef.name = \"Infernal bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60219;\n\t\t\titemDef.maleModel = 60218;\n\t\t\titemDef.femaleModel = 60218;\n\t\t\titemDef.modelZoom = 3334;\n\t\t\titemDef.modelRotation1 = 533;\n\t\t\titemDef.modelRotation2 = 1294;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33282:\n\t\t\titemDef.name = \"Infernal warhammer\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60221;\n\t\t\titemDef.maleModel = 60220;\n\t\t\titemDef.femaleModel = 60220;\n\t\t\titemDef.modelZoom = 2512;\n\t\t\titemDef.modelRotation1 = 317;\n\t\t\titemDef.modelRotation2 = 1988;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = 45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33283:\n\t\t\titemDef.name = \"Imbued Porazdir's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 13263, 13014, 13243, 13000, 13275 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your strength for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33284:\n\t\t\titemDef.name = \"Imbued Justiciar's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 31661, 31418, 31661, 31167, 31445 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your Defence for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32285:\n\t\t\titemDef.name = \"Imbued Derwen's heart\";\n\t\t\titemDef.modelId = 32298;\n\t\t\titemDef.modelZoom = 1168;\n\t\t\titemDef.modelRotation1 = 96;\n\t\t\titemDef.modelRotation2 = 1690;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 60826, 59796, 54544, 58904, 54561 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 930, 936, 940, 950 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Invigorate\", null, null, null, \"Drop\" };\n\t\t\titemDef.description = \"Boosts your Attack for a period of time.\";\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32286:\n\t\t\titemDef.name = \"Bronze fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 5652, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32287:\n\t\t\titemDef.name = \"Iron fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 33, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32288:\n\t\t\titemDef.name = \"Steel fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 61, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32289:\n\t\t\titemDef.name = \"Black fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32290:\n\t\t\titemDef.name = \"Mithril fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 43297, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32291:\n\t\t\titemDef.name = \"Adamant fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 21662, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32292:\n\t\t\titemDef.name = \"Rune fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 36133, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32293:\n\t\t\titemDef.name = \"Dragon fishing rod\";\n\t\t\titemDef.description = \"Used for Bait and Fly fishing. Can also be used for Deep sea fishing.\";\n\t\t\titemDef.modelId = 36128;\n\t\t\titemDef.maleModel = 36317;\n\t\t\titemDef.femaleModel = 36312;\n\t\t\titemDef.modelZoom = 1853;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 27;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.modifiedModelColors = new int[] { 59499, 24 };\n\t\t\titemDef.originalModelColors = new int[] { 924, 9152 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32294:\n\t\t\titemDef.name = \"Raw eel\";\n\t\t\titemDef.description = \"Slimy\";\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32295:\n\t\t\titemDef.name = \"Burnt eel\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.modifiedModelColors = new int[] { 8485, 14622, 12589 };\n\t\t\titemDef.originalModelColors = new int[] { 8724, 3226, 9754 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32296:\n\t\t\titemDef.name = \"Eel\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 6856;\n\t\t\titemDef.modelZoom = 1440;\n\t\t\titemDef.modelRotation1 = 296;\n\t\t\titemDef.modelRotation2 = 352;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = 42;\n\t\t\titemDef.modifiedModelColors = new int[] { 8485, 14622, 8386, 12589 };\n\t\t\titemDef.originalModelColors = new int[] { 8088, 6032, 57, 2960 };\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32297:\n\t\t\titemDef.name = \"Raw baron shark\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 103, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 7756, 5349 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32298:\n\t\t\titemDef.name = \"Burnt baron shark\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 61, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 28, 41 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32299:\n\t\t\titemDef.name = \"Baron shark\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 2594;\n\t\t\titemDef.modelZoom = 1860;\n\t\t\titemDef.modelRotation1 = 344;\n\t\t\titemDef.modelRotation2 = 12;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 12;\n\t\t\titemDef.modifiedModelColors = new int[] { 61, 103 };\n\t\t\titemDef.originalModelColors = new int[] { 8109, 4795 };\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32300:\n\t\t\titemDef.name = \"Raw cavefish\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60223;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32301:\n\t\t\titemDef.name = \"Burnt cavefish\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60227;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 32302:\n\t\t\titemDef.name = \"Cavefish\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Eat\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 60228;\n\t\t\titemDef.modelZoom = 1284;\n\t\t\titemDef.modelRotation1 = 499;\n\t\t\titemDef.modelRotation2 = 1907;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.description = \"None\";\n\t\t\tbreak;\n\n\t\tcase 32303:\n\t\t\titemDef.name = \"Dragonfire visage (e)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 26456;\n\t\t\titemDef.modelZoom = 1697;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 152;\n\t\t\titemDef.modelOffset1 = -5;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.modifiedModelColors = new int[] { 45, 41, 33, 24, 20, 57, 22, 37 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 1, 2, 3, 4, 5, 6, 7 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33285:\n\t\t\titemDef.name = \"Easter Mystery Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"Chances for all sorts of Easter Items!\";\n\t\t\tbreak;\n\n\t\tcase 33286:\n\t\t\titemDef.name = \"Easter Cape\";\n\t\t\titemDef.inventoryOptions = new String[] { null, \"wear\", null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 9631;\n\t\t\titemDef.maleModel = 9638;\n\t\t\titemDef.femaleModel = 9640;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"An Easter Cape.\";\n\t\t\tbreak;\n\n\t\tcase 33287:\n\t\t\titemDef.name = \"Pet Easter Bunny\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"You've captured the Easter bunny!\";\n\t\t\tbreak;\n\n\t\tcase 33288:\n\t\t\titemDef.name = \"Pet Choco\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"mmm... a chocolate bunny\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 7079 };\n\t\t\tbreak;\n\n\t\tcase 33289:\n\t\t\titemDef.name = \"Pet Milkie\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"mmm... a chocolate bunny\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 6040 };\n\t\t\tbreak;\n\n\t\tcase 33290:\n\t\t\titemDef.name = \"Pet Goldie\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"oh wow... a rare golden bunny!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 9152 };\n\t\t\tbreak;\n\n\t\tcase 33291:\n\t\t\titemDef.name = \"Pet Blue\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 37239;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"A blue bunny... kinda looks like the easter bunny!\";\n\t\t\titemDef.modifiedModelColors = new int[] { 2378 };\n\t\t\titemDef.originalModelColors = new int[] { 35321 };\n\t\t\tbreak;\n\n\t\tcase 33292:\n\t\t\titemDef.name = \"Crazed bunny\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 23901;\n\t\t\titemDef.modelZoom = 500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"What a bloody mess...\";\n\t\t\titemDef.modifiedModelColors = new int[] { 5413, 5417, 5421 };\n\t\t\titemDef.originalModelColors = new int[] { 935, 111, 127 };\n\t\t\tbreak;\n\n\t\tcase 33293:\n\t\t\titemDef.name = \"Peter Rabbit\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 28602;\n\t\t\titemDef.modelZoom = 500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1931;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"Hi Peter!\";\n\t\t\tbreak;\n\n\t\tcase 33294:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947 };\n\t\t\titemDef.originalModelColors = new int[] { 8128 };\n\t\t\tbreak;\n\n\t\tcase 33295:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 25511 };\n\t\t\tbreak;\n\n\t\tcase 33296:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 38835 };\n\t\t\tbreak;\n\n\t\tcase 33297:\n\t\t\titemDef.name = \"Chocolate Chicken\";\n\t\t\titemDef.inventoryOptions = new String[] { null, null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 35150;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 1731;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.description = \"a chocolate chicken\";\n\t\t\titemDef.modifiedModelColors = new int[] { 947, 8301 };\n\t\t\titemDef.originalModelColors = new int[] { 8128, 947 };\n\t\t\tbreak;\n\n\t\tcase 33305:\n\t\t\titemDef.name = \"$10 bond\";\n\t\t\titemDef.description = \"$10 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 84, 84, 84, 84, 84, 84, 84 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33306:\n\t\t\titemDef.name = \"$25 bond\";\n\t\t\titemDef.description = \"$25 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 87, 87, 87, 87, 87, 87, 87 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33307:\n\t\t\titemDef.name = \"$50 bond\";\n\t\t\titemDef.description = \"$50 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 65, 65, 65, 65, 65, 65, 65 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33308:\n\t\t\titemDef.name = \"$100 bond\";\n\t\t\titemDef.description = \"$25 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 75, 75, 75, 75, 75, 75, 75 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33309:\n\t\t\titemDef.name = \"$200 bond\";\n\t\t\titemDef.description = \"$200 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 88, 88, 88, 88, 88, 88, 88 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33310:\n\t\t\titemDef.name = \"$500 bond\";\n\t\t\titemDef.description = \"$500 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 85, 85, 85, 85, 85, 85, 85 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33311:\n\t\t\titemDef.name = \"$1000 bond\";\n\t\t\titemDef.description = \"$1000 bond.\";\n\t\t\titemDef.modelId = 29210;\n\t\t\titemDef.modelZoom = 2300;\n\t\t\titemDef.modelRotation1 = 512;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.modifiedTextureColors = new int[] { 86, 86, 86, 86, 86, 86, 86 };\n\t\t\titemDef.originalTextureColors = new int[] { 22451, 20416, 22181, 22449, 22305, 21435, 22464 };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[0] = \"Redeem\";\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33312:\n\t\t\titemDef.name = \"Armadyl battlestaff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60332;\n\t\t\titemDef.maleModel = 60333;\n\t\t\titemDef.femaleModel = 60333;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 225;\n\t\t\titemDef.modelRotation2 = 1994;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33313:\n\t\t\titemDef.name = \"Colossal platebody\";\n\t\t\titemDef.description = \"Colossal platebody.\";\n\t\t\titemDef.modelId = 60323;\n\t\t\titemDef.maleModel = 60324;\n\t\t\titemDef.femaleModel = 60324;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33314:\n\t\t\titemDef.name = \"Colossal platelegs\";\n\t\t\titemDef.description = \"Colossal platelegs.\";\n\t\t\titemDef.modelId = 60325;\n\t\t\titemDef.maleModel = 60326;\n\t\t\titemDef.femaleModel = 60326;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33315:\n\t\t\titemDef.name = \"Colossal boots\";\n\t\t\titemDef.description = \"Colossal boots.\";\n\t\t\titemDef.modelId = 60329;\n\t\t\titemDef.maleModel = 60329;\n\t\t\titemDef.femaleModel = 60329;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33316:\n\t\t\titemDef.name = \"Colossal gloves\";\n\t\t\titemDef.description = \"Colossal gloves.\";\n\t\t\titemDef.modelId = 60330;\n\t\t\titemDef.maleModel = 60331;\n\t\t\titemDef.femaleModel = 60331;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33317:\n\t\t\titemDef.name = \"Colossal helmet\";\n\t\t\titemDef.description = \"Colossal helmet.\";\n\t\t\titemDef.modelId = 60327;\n\t\t\titemDef.maleModel = 60328;\n\t\t\titemDef.femaleModel = 60328;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33318:\n\t\t\titemDef.name = \"Polypore staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60334;\n\t\t\titemDef.maleModel = 60335;\n\t\t\titemDef.femaleModel = 60335;\n\t\t\titemDef.modelZoom = 3750;\n\t\t\titemDef.modelRotation1 = 1454;\n\t\t\titemDef.modelRotation2 = 997;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33319:\n\t\t\titemDef.name = \"Ganodermic platebody\";\n\t\t\titemDef.description = \"Ganodermic platebody.\";\n\t\t\titemDef.modelId = 60338;\n\t\t\titemDef.maleModel = 60339;\n\t\t\titemDef.femaleModel = 60339;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33320:\n\t\t\titemDef.name = \"Ganodermic platelegs\";\n\t\t\titemDef.description = \"Ganodermic platelegs.\";\n\t\t\titemDef.modelId = 60340;\n\t\t\titemDef.maleModel = 60341;\n\t\t\titemDef.femaleModel = 60341;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33321:\n\t\t\titemDef.name = \"Ganodermic helmet\";\n\t\t\titemDef.description = \"Ganodermic helmet.\";\n\t\t\titemDef.modelId = 60336;\n\t\t\titemDef.maleModel = 60337;\n\t\t\titemDef.femaleModel = 60337;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33322:\n\t\t\titemDef.name = \"Grotesque platebody\";\n\t\t\titemDef.description = \"Grosteq platebody.\";\n\t\t\titemDef.modelId = 60347;\n\t\t\titemDef.maleModel = 60348;\n\t\t\titemDef.femaleModel = 60348;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33323:\n\t\t\titemDef.name = \"Grotesque platelegs\";\n\t\t\titemDef.description = \"Grosteq platelegs.\";\n\t\t\titemDef.modelId = 60349;\n\t\t\titemDef.maleModel = 60350;\n\t\t\titemDef.femaleModel = 60350;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33324:\n\t\t\titemDef.name = \"Grotesque helmet\";\n\t\t\titemDef.description = \"Grosteqc helmet.\";\n\t\t\titemDef.modelId = 60345;\n\t\t\titemDef.maleModel = 60346;\n\t\t\titemDef.femaleModel = 60346;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33325:\n\t\t\titemDef.name = \"Grotesque cape\";\n\t\t\titemDef.description = \"Grosteq cape.\";\n\t\t\titemDef.modelId = 60351;\n\t\t\titemDef.maleModel = 60352;\n\t\t\titemDef.femaleModel = 60352;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33326:\n\t\t\titemDef.name = \"Stunning Hammer\";\n\t\t\titemDef.description = \"Has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60353;\n\t\t\titemDef.maleModel = 60354;\n\t\t\titemDef.femaleModel = 60354;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1985;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\n\t\tcase 33327:\n\t\t\titemDef.name = \"Stunning Katagon platebody\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60356;\n\t\t\titemDef.maleModel = 60357;\n\t\t\titemDef.femaleModel = 60357;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33328:\n\t\t\titemDef.name = \"Stunning Katagon platelegs\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60358;\n\t\t\titemDef.maleModel = 60359;\n\t\t\titemDef.femaleModel = 60359;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33329:\n\t\t\titemDef.name = \"Stunning Katagon helmet\";\n\t\t\titemDef.description = \"has a chance to stun an enemy.\";\n\t\t\titemDef.modelId = 60360;\n\t\t\titemDef.maleModel = 60361;\n\t\t\titemDef.femaleModel = 60361;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33331:\n\t\t\titemDef.name = \"Ancient platebody\";\n\t\t\titemDef.description = \"Ancient platebody.\";\n\t\t\titemDef.modelId = 60366;\n\t\t\titemDef.maleModel = 60367;\n\t\t\titemDef.femaleModel = 60367;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33332:\n\t\t\titemDef.name = \"Ancient platelegs\";\n\t\t\titemDef.description = \"Ancient platelegs.\";\n\t\t\titemDef.modelId = 60368;\n\t\t\titemDef.maleModel = 60369;\n\t\t\titemDef.femaleModel = 60369;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33334:\n\t\t\titemDef.name = \"Ancient boots\";\n\t\t\titemDef.description = \"Ancient boots.\";\n\t\t\titemDef.modelId = 60372;\n\t\t\titemDef.maleModel = 60372;\n\t\t\titemDef.femaleModel = 60372;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33335:\n\t\t\titemDef.name = \"Ancient gloves\";\n\t\t\titemDef.description = \"Ancient gloves.\";\n\t\t\titemDef.modelId = 60370;\n\t\t\titemDef.maleModel = 60371;\n\t\t\titemDef.femaleModel = 60371;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\tbreak;\n\t\tcase 33336:\n\t\t\titemDef.name = \"Ancient helmet\";\n\t\t\titemDef.description = \"Ancient helmet.\";\n\t\t\titemDef.modelId = 60364;\n\t\t\titemDef.maleModel = 60365;\n\t\t\titemDef.femaleModel = 60365;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33341:\n\t\t\titemDef.name = \"Vanguard helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60391;\n\t\t\titemDef.maleModel = 60392;\n\t\t\titemDef.femaleModel = 60392;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\n\t\tcase 33342:\n\t\t\titemDef.name = \"Vanguard platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60393;\n\t\t\titemDef.maleModel = 60394;\n\t\t\titemDef.femaleModel = 60394;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = 3;\n\t\t\tbreak;\n\t\tcase 33343:\n\t\t\titemDef.name = \"Vanguard platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60395;\n\t\t\titemDef.maleModel = 60396;\n\t\t\titemDef.femaleModel = 60396;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33344:\n\t\t\titemDef.name = \"Vanguard boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60398;\n\t\t\titemDef.maleModel = 60398;\n\t\t\titemDef.femaleModel = 60398;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33345:\n\t\t\titemDef.name = \"Vanguard gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60373;\n\t\t\titemDef.maleModel = 60397;\n\t\t\titemDef.femaleModel = 60397;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33346:\n\t\t\titemDef.name = \"Celestial staff of light\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60401;\n\t\t\titemDef.maleModel = 60402;\n\t\t\titemDef.femaleModel = 60402;\n\t\t\titemDef.modelZoom = 3200;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 101 };\n\t\t\titemDef.originalModelColors = new int[] { 12 };\n\t\t\titemDef.maleOffset = -6;\n\t\t\titemDef.femaleOffset = -6;\n\t\t\tbreak;\n\n\t\tcase 33347:\n\t\t\titemDef.name = \"Hood of sorrow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60438;\n\t\t\titemDef.maleModel = 60403;\n\t\t\titemDef.femaleModel = 60403;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33348:\n\t\t\titemDef.name = \"Celestial robe top\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60404;\n\t\t\titemDef.maleModel = 60405;\n\t\t\titemDef.femaleModel = 60405;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33349:\n\t\t\titemDef.name = \"Celestial robe legs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60406;\n\t\t\titemDef.maleModel = 60407;\n\t\t\titemDef.femaleModel = 60407;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33350:\n\t\t\titemDef.name = \"Primal 2h sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60408;\n\t\t\titemDef.maleModel = 60409;\n\t\t\titemDef.femaleModel = 60409;\n\t\t\titemDef.modelZoom = 1701;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.modelRotation2 = 1529;\n\t\t\titemDef.modelRotation1 = 1713;\n\t\t\titemDef.modelRotationY = 898;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33353:\n\t\t\titemDef.name = \"Primal longsword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60417;\n\t\t\titemDef.maleModel = 60418;\n\t\t\titemDef.femaleModel = 60418;\n\t\t\titemDef.modelZoom = 1616;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.modelRotation2 = 1793;\n\t\t\titemDef.modelRotation1 = 1473;\n\t\t\titemDef.modelRotationY = 1121;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33354:\n\t\t\titemDef.name = \"Primal maul\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60419;\n\t\t\titemDef.maleModel = 60420;\n\t\t\titemDef.femaleModel = 60420;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 350;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33359:\n\t\t\titemDef.name = \"Primal rapier\";\n\t\t\titemDef.description = \"Good for fighting the ...\";\n\t\t\titemDef.modelId = 60433;\n\t\t\titemDef.maleModel = 60433;\n\t\t\titemDef.femaleModel = 60433;\n\t\t\titemDef.modelZoom = 1300;\n\t\t\titemDef.modelRotation1 = 1401;\n\t\t\titemDef.modelRotation2 = 1724;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 15;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33360:\n\t\t\titemDef.name = \"Primal spear\";\n\t\t\titemDef.description = \"Good for fighting the Corperal Beast.\";\n\t\t\titemDef.modelId = 60434;\n\t\t\titemDef.maleModel = 60435;\n\t\t\titemDef.femaleModel = 60435;\n\t\t\titemDef.modelZoom = 1711;\n\t\t\titemDef.modelRotation1 = 485;\n\t\t\titemDef.modelRotation2 = 391;\n\t\t\titemDef.modelOffset1 = 5;\n\t\t\titemDef.modelOffset2 = -5;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -10;\n\t\t\titemDef.maleOffset = -10;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33361:\n\t\t\titemDef.name = \"Primal warhammer\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60436;\n\t\t\titemDef.maleModel = 60437;\n\t\t\titemDef.femaleModel = 60437;\n\t\t\titemDef.modelZoom = 1330;\n\t\t\titemDef.modelRotation1 = 552;\n\t\t\titemDef.modelRotation2 = 148;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.femaleOffset = -7;\n\t\t\titemDef.maleOffset = -7;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33362:\n\t\t\titemDef.name = \"Chitin helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60445;\n\t\t\titemDef.maleModel = 60446;\n\t\t\titemDef.femaleModel = 60446;\n\t\t\titemDef.modelZoom = 1010;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33364:\n\t\t\titemDef.name = \"Chitin platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60447;\n\t\t\titemDef.maleModel = 60448;\n\t\t\titemDef.femaleModel = 60448;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33365:\n\t\t\titemDef.name = \"Chitin platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60449;\n\t\t\titemDef.maleModel = 60450;\n\t\t\titemDef.femaleModel = 60450;\n\t\t\titemDef.modelZoom = 1753;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33366:\n\t\t\titemDef.name = \"Chitin cape\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60443;\n\t\t\titemDef.maleModel = 60444;\n\t\t\titemDef.femaleModel = 60444;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 567;\n\t\t\titemDef.modelRotation2 = 2031;\n\t\t\titemDef.modelOffset1 = -4;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33367:\n\t\t\titemDef.name = \"Supreme void helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60467;\n\t\t\titemDef.maleModel = 60464;\n\t\t\titemDef.femaleModel = 60464;\n\t\t\titemDef.modelZoom = 900;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33368:\n\t\t\titemDef.name = \"Supreme void robe top\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60468;\n\t\t\titemDef.maleModel = 60465;\n\t\t\titemDef.femaleModel = 60465;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33369:\n\t\t\titemDef.name = \"Supreme void robe\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60469;\n\t\t\titemDef.maleModel = 60466;\n\t\t\titemDef.femaleModel = 60466;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33370:\n\t\t\titemDef.name = \"Korasi's sword\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60471;\n\t\t\titemDef.maleModel = 60470;\n\t\t\titemDef.femaleModel = 60470;\n\t\t\titemDef.modelZoom = 1744;\n\t\t\titemDef.modelRotation1 = 330;\n\t\t\titemDef.modelRotation2 = 1505;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.maleOffset = -4;\n\t\t\titemDef.femaleOffset = -4;\n\t\t\tbreak;\n\n\t\tcase 33371:\n\t\t\titemDef.name = \"Spiked slayer helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60475;\n\t\t\titemDef.maleModel = 60476;\n\t\t\titemDef.femaleModel = 60476;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33372:\n\t\t\titemDef.name = \"Slayer platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60478;\n\t\t\titemDef.maleModel = 60479;\n\t\t\titemDef.femaleModel = 60479;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33373:\n\t\t\titemDef.name = \"Slayer platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60474;\n\t\t\titemDef.maleModel = 60477;\n\t\t\titemDef.femaleModel = 60477;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33374:\n\t\t\titemDef.name = \"Slayer boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60472;\n\t\t\titemDef.maleModel = 60473;\n\t\t\titemDef.femaleModel = 60473;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33375:\n\t\t\titemDef.name = \"Blood Justiciar helmet\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60482;\n\t\t\titemDef.maleModel = 60483;\n\t\t\titemDef.femaleModel = 60483;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 16;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 2;\n\t\t\titemDef.modelOffset2 = -4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33376:\n\t\t\titemDef.name = \"Blood Justiciar platebody\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60484;\n\t\t\titemDef.maleModel = 60485;\n\t\t\titemDef.femaleModel = 60485;\n\t\t\titemDef.modelZoom = 1513;\n\t\t\titemDef.modelRotation1 = 566;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33377:\n\t\t\titemDef.name = \"Blood justiciar platelegs\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60486;\n\t\t\titemDef.maleModel = 60487;\n\t\t\titemDef.femaleModel = 60487;\n\t\t\titemDef.modelZoom = 1900;\n\t\t\titemDef.modelRotation1 = 562;\n\t\t\titemDef.modelRotation2 = 1;\n\t\t\titemDef.modelOffset1 = 11;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33378:\n\t\t\titemDef.name = \"Blood justiciar boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60488;\n\t\t\titemDef.maleModel = 60488;\n\t\t\titemDef.femaleModel = 60488;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33379:\n\t\t\titemDef.name = \"Blood justiciar gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60489;\n\t\t\titemDef.maleModel = 60490;\n\t\t\titemDef.femaleModel = 60490;\n\t\t\titemDef.modelZoom = 855;\n\t\t\titemDef.modelRotation1 = 215;\n\t\t\titemDef.modelRotation2 = 94;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = -32;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33380:\n\t\t\titemDef.name = \"Blood scythe of vitur\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60480;\n\t\t\titemDef.maleModel = 60481;\n\t\t\titemDef.femaleModel = 60481;\n\t\t\titemDef.modelZoom = 3850;\n\t\t\titemDef.modelRotation1 = 727;\n\t\t\titemDef.modelRotation2 = 997;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33381:\n\t\t\titemDef.name = \"Skiller cape\";\n\t\t\titemDef.description = \"Skiller cape.\";\n\t\t\titemDef.modelId = 60494;\n\t\t\titemDef.maleModel = 60493;\n\t\t\titemDef.femaleModel = 60492;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 400;\n\t\t\titemDef.modelRotation2 = 948;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 6;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33382:\n\t\t\titemDef.name = \"Justiciar faceguard (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33383:\n\t\t\titemDef.name = \"Justiciar faceguard (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33384:\n\t\t\titemDef.name = \"Justiciar faceguard (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33385:\n\t\t\titemDef.name = \"Justiciar faceguard (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33387:\n\t\t\titemDef.name = \"Justiciar faceguard (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33389:\n\t\t\titemDef.name = \"Justiciar faceguard (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 4550 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33390:\n\t\t\titemDef.name = \"Justiciar chestguard (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33391:\n\t\t\titemDef.name = \"Justiciar chestguard (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33392:\n\t\t\titemDef.name = \"Justiciar chestguard (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33393:\n\t\t\titemDef.name = \"Justiciar chestguard (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33394:\n\t\t\titemDef.name = \"Justiciar chestguard (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33395:\n\t\t\titemDef.name = \"Justiciar chestguard (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35750;\n\t\t\titemDef.maleModel = 35359;\n\t\t\titemDef.femaleModel = 35368;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 432;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 4;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33396:\n\t\t\titemDef.name = \"Justiciar legguards (zamorak)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33397:\n\t\t\titemDef.name = \"Justiciar legguards (guthix)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33398:\n\t\t\titemDef.name = \"Justiciar legguards (saradomin)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33399:\n\t\t\titemDef.name = \"Justiciar legguards (ancient)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33400:\n\t\t\titemDef.name = \"Justiciar legguards (bandos)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33401:\n\t\t\titemDef.name = \"Justiciar legguards (armadyl)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35752;\n\t\t\titemDef.maleModel = 35356;\n\t\t\titemDef.femaleModel = 35357;\n\t\t\titemDef.modelZoom = 1720;\n\t\t\titemDef.modelRotation1 = 468;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 6709, 6736, 6602, 6699 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33402:\n\t\t\titemDef.name = \"Pet andy\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 50169;\n\t\t\titemDef.modelZoom = 1500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33403:\n\t\t\titemDef.name = \"Pet mod divine\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 14283;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33404:\n\t\t\titemDef.name = \"Celestial fairy\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60491;\n\t\t\titemDef.modelZoom = 3500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 947 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 937, 11200 };\n\t\t\titemDef.originalModelColors = new int[] { 42663, 41883 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33405:\n\t\t\titemDef.name = \"Lava partyhat (red)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33406:\n\t\t\titemDef.name = \"Lava partyhat (green)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33407:\n\t\t\titemDef.name = \"Lava partyhat (cyan)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33408:\n\t\t\titemDef.name = \"Lava partyhat (purple)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"A lava partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33409:\n\t\t\titemDef.name = \"Infernal partyhat (blue)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33410:\n\t\t\titemDef.name = \"Infernal partyhat (green)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33411:\n\t\t\titemDef.name = \"Infernal partyhat (purple)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33412:\n\t\t\titemDef.name = \"Infernal partyhat (rainbow)\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"An Infernal partyhat.\";\n\t\t\tbreak;\n\n\t\tcase 33413:\n\t\t\titemDef.name = \"Celestial partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33414:\n\t\t\titemDef.name = \"Blood partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33415:\n\t\t\titemDef.name = \"Shadow partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33416:\n\t\t\titemDef.name = \"Light blue partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33417:\n\t\t\titemDef.name = \"Easter partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33418:\n\t\t\titemDef.name = \"Dark sparkle partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33419:\n\t\t\titemDef.name = \"Rainbow partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33420:\n\t\t\titemDef.name = \"Fire partyhat\";\n\t\t\titemDef.modelId = 2635;\n\t\t\titemDef.modelZoom = 440;\n\t\t\titemDef.modelRotation2 = 1852;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.maleModel = 187;\n\t\t\titemDef.femaleModel = 363;\n\t\t\t// itemDef.anInt164 = -1;\n\t\t\t// itemDef.anInt188 = -1;\n\t\t\t// itemDef.aByte205 = -8;\n\t\t\titemDef.groundOptions = new String[] { null, null, \"Take\", null, null };\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.description = \"none.\";\n\t\t\tbreak;\n\n\t\tcase 33421:\n\t\t\titemDef.name = \"Pet star sprite\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60506;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\t\tcase 33422:\n\t\t\titemDef.name = \"Stargaze Box\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = false;\n\t\t\titemDef.modelId = 61110;\n\t\t\titemDef.modelZoom = 1180;\n\t\t\titemDef.modelRotation1 = 160;\n\t\t\titemDef.modelRotation2 = 172;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -14;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"none\";\n\t\t\tbreak;\n\n\t\tcase 33423:\n\t\t\titemDef.name = \"Star Dust\";\n\t\t\titemDef.inventoryOptions = new String[] { \"Exchange\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.modelId = 60496;\n\t\t\titemDef.modelZoom = 2086;\n\t\t\titemDef.modelRotation1 = 279;\n\t\t\titemDef.modelRotation2 = 1994;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 47;\n\t\t\t// itemDef.modifiedModelColors = new int[] {22410, 2999};\n\t\t\t// itemDef.originalModelColors = new int[] {35321, 350};\n\t\t\titemDef.description = \"none\";\n\t\t\tbreak;\n\n\t\tcase 33424:\n\t\t\titemDef.name = \"Blood twisted bow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 32799;\n\t\t\titemDef.maleModel = 32674;\n\t\t\titemDef.femaleModel = 32674;\n\t\t\titemDef.modelZoom = 2000;\n\t\t\titemDef.modelRotation1 = 720;\n\t\t\titemDef.modelRotation2 = 1500;\n\t\t\titemDef.modelOffset1 = -3;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10318, 10334 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 66, 66 };\n\t\t\titemDef.modifiedModelColors = new int[] { 14236, 13223 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33425:\n\t\t\titemDef.name = \"Celestial crow\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60507;\n\t\t\titemDef.modelZoom = 1000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10382 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 10378, 10502 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33426:\n\t\t\titemDef.name = \"Celestial penguin\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60508;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10343 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 16, 12, 20, 24, 8, 10332, 10337 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0, 0, 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33427:\n\t\t\titemDef.name = \"Celestial snake\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60509;\n\t\t\titemDef.modelZoom = 1800;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 10644, 10512 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78, 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 10413, 10405, 10524 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33428:\n\t\t\titemDef.name = \"Celestial scorpion\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60510;\n\t\t\titemDef.modelZoom = 2500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 142 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.modifiedModelColors = new int[] { 4884, 4636, 3974, 4525, 4645 };\n\t\t\titemDef.originalModelColors = new int[] { 0, 0, 0, 0, 0 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33429:\n\t\t\titemDef.name = \"Armadyl dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 10467, 10474, 10482, 10484 };\n\t\t\tbreak;\n\n\t\tcase 33430:\n\t\t\titemDef.name = \"Guthix dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 21939, 21945, 21952, 21954 };\n\t\t\tbreak;\n\n\t\tcase 33431:\n\t\t\titemDef.name = \"Zamorak dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 926, 926, 926, 926 };\n\t\t\tbreak;\n\n\t\tcase 33432:\n\t\t\titemDef.name = \"Ancient dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { -10854, -10860, -10872, -10874 };\n\t\t\tbreak;\n\n\t\tcase 33433:\n\t\t\titemDef.name = \"Bandos dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 7062, 7062, 7062, 7062 };\n\t\t\tbreak;\n\n\t\tcase 33434:\n\t\t\titemDef.name = \"Saradomin dye\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60513;\n\t\t\titemDef.modelZoom = 809;\n\t\t\titemDef.modelRotation1 = 90;\n\t\t\titemDef.modelRotation2 = 2047;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -9;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 30814, 30809, 30799, 30804 };\n\t\t\titemDef.originalModelColors = new int[] { 43929, 43929, 43929, 43929 };\n\t\t\tbreak;\n\n\t\tcase 33435:\n\t\t\titemDef.name = \"Celestial egg\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 7171;\n\t\t\titemDef.modelZoom = 550;\n\t\t\titemDef.modelRotation1 = 76;\n\t\t\titemDef.modelRotation2 = 16;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.originalTextureColors = new int[] { 476 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 78 };\n\t\t\titemDef.inventoryOptions = new String[] { \"Hatch\", null, null, null, \"Drop\" };\n\t\t\titemDef.stackable = true;\n\t\t\tbreak;\n\n\t\tcase 33436:\n\t\t\titemDef.name = \"Elite void top (placeholder)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 10586;\n\t\t\titemDef.maleModel = 10687;\n\t\t\titemDef.anInt188 = 10681;\n\t\t\titemDef.femaleModel = 10694;\n\t\t\titemDef.anInt164 = 10688;\n\t\t\titemDef.modelZoom = 1221;\n\t\t\titemDef.modelRotation1 = 459;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\t// itemDef.originalTextureColors = new int [] { 695};\n\t\t\t// itemDef.modifiedTextureColors = new int [] { 66};\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33437:\n\t\t\titemDef.name = \"Elite void robe (placeholder)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60528;\n\t\t\titemDef.maleModel = 60526;\n\t\t\titemDef.femaleModel = 60527;\n\t\t\titemDef.modelZoom = 2105;\n\t\t\titemDef.modelRotation1 = 525;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 1;\n\t\t\t// itemDef.originalTextureColors = new int [] { 695};\n\t\t\t// itemDef.modifiedTextureColors = new int [] { 66};\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33438:\n\t\t\titemDef.name = \"Blood chest\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60516;\n\t\t\titemDef.modelZoom = 2640;\n\t\t\titemDef.modelRotation1 = 114;\n\t\t\titemDef.modelRotation2 = 1883;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33439:\n\t\t\titemDef.name = \"Blood bird\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60517;\n\t\t\titemDef.modelZoom = 2768;\n\t\t\titemDef.modelRotation1 = 141;\n\t\t\titemDef.modelRotation2 = 1790;\n\t\t\titemDef.modelOffset1 = -8;\n\t\t\titemDef.modelOffset2 = -13;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\titemDef.originalTextureColors = new int[] { 1946, 2983, 6084, 2735, 5053, 6082, 4013, 2733, 4011, 2880,\n\t\t\t\t\t8150 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66 };\n\t\t\tbreak;\n\n\t\tcase 33440:\n\t\t\titemDef.name = \"Blood Death\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60441;\n\t\t\titemDef.modelZoom = 16000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33442:\n\t\t\titemDef.name = \"10 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33446:\n\t\t\titemDef.name = \"10 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33450:\n\t\t\titemDef.name = \"10 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Claim\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33454:\n\t\t\titemDef.name = \"10 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33458:\n\t\t\titemDef.name = \"10 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33462:\n\t\t\titemDef.name = \"10 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33443:\n\t\t\titemDef.name = \"30 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33447:\n\t\t\titemDef.name = \"30 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33451:\n\t\t\titemDef.name = \"30 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33455:\n\t\t\titemDef.name = \"30 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33459:\n\t\t\titemDef.name = \"30 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33463:\n\t\t\titemDef.name = \"30 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33444:\n\t\t\titemDef.name = \"60 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33448:\n\t\t\titemDef.name = \"60 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33452:\n\t\t\titemDef.name = \"60 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33456:\n\t\t\titemDef.name = \"60 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33460:\n\t\t\titemDef.name = \"60 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33464:\n\t\t\titemDef.name = \"60 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33445:\n\t\t\titemDef.name = \"120 Min XP boost (25%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33449:\n\t\t\titemDef.name = \"120 Min XP boost (50%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33453:\n\t\t\titemDef.name = \"120 Min XP boost (75%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33457:\n\t\t\titemDef.name = \"120 Min XP boost (100%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33461:\n\t\t\titemDef.name = \"120 Min XP boost (150%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33465:\n\t\t\titemDef.name = \"120 Min XP boost (200%)\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60531;\n\t\t\titemDef.modelZoom = 1488;\n\t\t\titemDef.modelRotation1 = 246;\n\t\t\titemDef.modelRotation2 = 1721;\n\t\t\titemDef.modelOffset1 = -11;\n\t\t\titemDef.modelOffset2 = -45;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\titemDef.originalTextureColors = new int[] { 54302, 54312, 54307, 54297, 54315, 54310, 54305, 54287, 55292,\n\t\t\t\t\t54300, 10281, 10274 };\n\t\t\titemDef.modifiedTextureColors = new int[] { 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33466:\n\t\t\titemDef.name = \"Deathtouched dart\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60534;\n\t\t\titemDef.maleModel = 60533;\n\t\t\titemDef.femaleModel = 60533;\n\t\t\titemDef.modelZoom = 1053;\n\t\t\titemDef.modelRotation1 = 471;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.stackable = true;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33467:\n\t\t\titemDef.name = \"Justiciar boots\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60535;\n\t\t\titemDef.maleModel = 60535;\n\t\t\titemDef.femaleModel = 60535;\n\t\t\titemDef.modelZoom = 789;\n\t\t\titemDef.modelRotation1 = 164;\n\t\t\titemDef.modelRotation2 = 156;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = -8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33468:\n\t\t\titemDef.name = \"Justiciar gloves\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 31022;\n\t\t\titemDef.maleModel = 31006;\n\t\t\titemDef.femaleModel = 31013;\n\t\t\titemDef.modelZoom = 592;\n\t\t\titemDef.modelRotation1 = 636;\n\t\t\titemDef.modelRotation2 = 2015;\n\t\t\titemDef.modelOffset1 = 3;\n\t\t\titemDef.modelOffset2 = 3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { 123, 70 };\n\t\t\titemDef.originalModelColors = new int[] { 6736, 59441 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33469:\n\t\t\titemDef.name = \"Magic mushroom\";\n\t\t\titemDef.description = \"offers a 10% droprate increase while this pet follows you.\";\n\t\t\titemDef.modelId = 60532;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33470:\n\t\t\titemDef.name = \"Twisted staff\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60538;\n\t\t\titemDef.maleModel = 60539;\n\t\t\titemDef.femaleModel = 60539;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 1549;\n\t\t\titemDef.modelRotation2 = 1791;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = -3;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33471:\n\t\t\titemDef.name = \"Cowboy hat\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60540;\n\t\t\titemDef.maleModel = 60541;\n\t\t\titemDef.femaleModel = 60541;\n\t\t\titemDef.modelZoom = 800;\n\t\t\titemDef.modelRotation1 = 108;\n\t\t\titemDef.modelRotation2 = 1535;\n\t\t\titemDef.modelOffset1 = -1;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33472:\n\t\t\titemDef.name = \"Stick\";\n\t\t\titemDef.description = \"Careful of that chub.\";\n\t\t\titemDef.modelId = 60545;\n\t\t\titemDef.maleModel = 60545;\n\t\t\titemDef.femaleModel = 60545;\n\t\t\titemDef.modelZoom = 3000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33473:\n\t\t\titemDef.name = \"#1 Tob cape\";\n\t\t\titemDef.description = \"Reward to the first to complete tob solo and in a team.\";\n\t\t\titemDef.modelId = 60551;\n\t\t\titemDef.maleModel = 60550;\n\t\t\titemDef.femaleModel = 60550;\n\t\t\titemDef.modelZoom = 2295;\n\t\t\titemDef.modelRotation1 = 367;\n\t\t\titemDef.modelRotation2 = 1212;\n\t\t\titemDef.modelOffset1 = 4;\n\t\t\titemDef.modelOffset2 = 8;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33474:\n\t\t\titemDef.name = \"Supreme void upgrade kit\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 4847;\n\t\t\titemDef.modelZoom = 1310;\n\t\t\titemDef.modelRotation1 = 163;\n\t\t\titemDef.modelRotation2 = 73;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\titemDef.modifiedModelColors = new int[] { -32709, 10295, 10304, 10287, 10275, 10283 };\n\t\t\titemDef.originalModelColors = new int[] { 10, 10, 10, 10, 10, 10 };\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33475:\n\t\t\titemDef.name = \"Hunter's penguin\";\n\t\t\titemDef.description = \"the one and only's pet.\";\n\t\t\titemDef.modelId = 60548;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33476:\n\t\t\titemDef.name = \"Chef Harambe\";\n\t\t\titemDef.description = \"I like to dip my balls in a deep fryer.\";\n\t\t\titemDef.modelId = 60921;\n\t\t\titemDef.modelZoom = 5000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33477:\n\t\t\titemDef.name = \"Void knight champion jr\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60463;\n\t\t\titemDef.modelZoom = 14000;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 6;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33478:\n\t\t\titemDef.name = \"Custom pet token\";\n\t\t\titemDef.description = \"Trade this to corey after filling out a form on the forums post custom pets\";\n\t\t\titemDef.modelId = 13838;\n\t\t\titemDef.modelZoom = 530;\n\t\t\titemDef.modelRotation1 = 415;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33479:\n\t\t\titemDef.name = \"Mr jaycorr\";\n\t\t\titemDef.description = \"The autistic one.\";\n\t\t\titemDef.modelId = 60592;\n\t\t\titemDef.modelZoom = 7500;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 270;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = null;\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33480:\n\t\t\titemDef.name = \"Broom broom\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 60593;\n\t\t\titemDef.maleModel = 60593;\n\t\t\titemDef.femaleModel = 60593;\n\t\t\titemDef.modelZoom = 2700;\n\t\t\titemDef.modelRotation1 = 0;\n\t\t\titemDef.modelRotation2 = 0;\n\t\t\titemDef.modelOffset1 = 0;\n\t\t\titemDef.modelOffset2 = 0;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 33481:\n\t\t\titemDef.name = \"Test\";\n\t\t\titemDef.description = \"none.\";\n\t\t\titemDef.modelId = 35751;\n\t\t\titemDef.maleModel = 35349;\n\t\t\titemDef.femaleModel = 35361;\n\t\t\titemDef.modelZoom = 777;\n\t\t\titemDef.modelRotation1 = 22;\n\t\t\titemDef.modelRotation2 = 1972;\n\t\t\titemDef.modelOffset1 = 1;\n\t\t\titemDef.modelOffset2 = -1;\n\t\t\titemDef.inventoryOptions = new String[5];\n\t\t\titemDef.inventoryOptions[1] = \"Wear\";\n\t\t\titemDef.inventoryOptions[2] = null;\n\t\t\t// itemDef.aByte205 = 3;\n\t\t\tbreak;\n\n\t\tcase 11773:\n\t\tcase 11771:\n\t\tcase 11770:\n\t\tcase 11772:\n\t\t\titemDef.anInt196 += 45;\n\t\t\tbreak;\n\t\tcase 22610:\n\t\t\titemDef.name = \"Vesta's spear (deg)\";\n\t\t\tbreak;\n\t\tcase 22614:\n\t\t\titemDef.name = \"Vesta's longsword (deg)\";\n\t\t\tbreak;\n\t\tcase 22616:\n\t\t\titemDef.name = \"Vesta's chainbody (deg)\";\n\t\t\tbreak;\n\t\tcase 22619:\n\t\t\titemDef.name = \"Vesta's plateskirt (deg)\";\n\t\t\tbreak;\n\t\tcase 22622:\n\t\t\titemDef.name = \"Statius's warhammer (deg)\";\n\t\t\tbreak;\n\t\tcase 22625:\n\t\t\titemDef.name = \"Statius's full helm (deg)\";\n\t\t\tbreak;\n\t\tcase 22628:\n\t\t\titemDef.name = \"Statius's platebody (deg)\";\n\t\t\tbreak;\n\t\tcase 22631:\n\t\t\titemDef.name = \"Statius's platelegs (deg)\";\n\t\t\tbreak;\n\t\tcase 22638:\n\t\t\titemDef.name = \"Morrigan's coif (deg)\";\n\t\t\tbreak;\n\t\tcase 22641:\n\t\t\titemDef.name = \"Morrigan's leather body (deg)\";\n\t\t\tbreak;\n\t\tcase 22644:\n\t\t\titemDef.name = \"Morrigan's leather chaps (deg)\";\n\t\t\tbreak;\n\t\tcase 22647:\n\t\t\titemDef.name = \"Zuriel's staff (deg)\";\n\t\t\tbreak;\n\t\tcase 22650:\n\t\t\titemDef.name = \"Zuriel's hood (deg)\";\n\t\t\tbreak;\n\t\tcase 22653:\n\t\t\titemDef.name = \"Zuriel's robe top (deg)\";\n\t\t\tbreak;\n\t\tcase 22656:\n\t\t\titemDef.name = \"Zuriel's robe bottom (deg)\";\n\t\t\tbreak;\n\n\t\tcase 13303:\n\t\t\titemDef.name = \"Event Key (Tarn)\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 13302:\n\t\t\titemDef.name = \"Event Key (Graardor)\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 13305:\n\t\t\titemDef.name = \"Tastey-Looking Key\";\n\t\t\titemDef.description = \"Use this to open the Event Boss chest.\";\n\t\t\titemDef.modifiedModelColors = new int[] { 8128 };\n\t\t\titemDef.originalModelColors = new int[] { 933 };\n\t\t\tbreak;\n\t\tcase 2697:\n\t\t\titemDef.name = \"$10 Scroll\";\n\t\t\titemDef.description = \"Get donor status at a cheaper cost!\";\n\t\t\tbreak;\n\t\tcase 2698:\n\t\t\titemDef.name = \"$50 Scroll\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Super Donator status.\";\n\t\t\tbreak;\n\t\tcase 2699:\n\t\t\titemDef.name = \"$100 Donator\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Extreme Donator status.\";\n\t\t\tbreak;\n\t\tcase 2700:\n\t\t\titemDef.name = \"$5 Scroll\";\n\t\t\titemDef.description = \"Read this scroll to be rewarded with the Legendary Donator status.\";\n\t\t\tbreak;\n\t\tcase 1464:\n\t\t\titemDef.name = \"Vote ticket\";\n\t\t\titemDef.description = \"This ticket can be exchanged for a voting point.\";\n\t\t\tbreak;\n\n\t\tcase 11739:\n\t\t\titemDef.name = \"Daily reward box\";\n\t\t\titemDef.description = \"Open this box for a daily reward.\";\n\t\t\tbreak;\n\n\t\tcase 13066:// super set\n\t\tcase 12873:// barrows\n\t\tcase 12875:\n\t\tcase 12877:\n\t\tcase 12879:\n\t\tcase 12881:\n\t\tcase 12883:\n\t\tcase 12789:// clue box\n\t\t\titemDef.inventoryOptions = new String[] { \"Open\", null, null, null, \"Drop\" };\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}", "@Override\n public void setEquippedItem(IEquipableItem item) {}", "public static void showHelp(String type){\n\t\tSystem.out.println(\"List of commands available :\");\n\t\tSystem.out.println(\"General commands :\");\n\t\tSystem.out.println(\"help [full] : to show this help (if the optional argument \\\"full\\\" is here, every single command is displayed; otherwise, only the ones that can be used by the logged in user\");\n\t\tSystem.out.println(\"quit <> : to exit the application\");\n\t\tSystem.out.println(\"login <username> <password> : to login to the system\");\n\t\tSystem.out.println(\"registerCustomer <firstname> <lastname> <username> <addressCoord1> <addressCoord2> <password> : to register a new customer to the system\");\n\t\tSystem.out.println(\"registerRestaurant <name> <username> <addressCoord1> <addressCoord2> <password> : to register a new restaurant to the system\");\n\t\tSystem.out.println(\"registerCourier <name> <surname> <username> <positionCoord1> <positionCoord2> <phoneNumber> <password> : to register a new courrier\");\n\t\tSystem.out.println(\"save <> : to save the changes that have been performed\");\n\t\tSystem.out.println(\"showUsers <> : to show the name of all the users registered in the system\");\n\t\tSystem.out.println(\"logout <> : to log out of the system\");\n\t\tif(type.equals(\"c\") || type.equals(\"f\")){\n\t\t\tSystem.out.println(\"\\nCommands for customers :\");\n\t\t\tSystem.out.println(\"showRestaurants <> : to show the restaurants registered into the system\");\n\t\t\tSystem.out.println(\"selectRestaurant <restaurantUsername> : to select the restaurant in which perform an order\");\n\t\t\tSystem.out.println(\"showMenu <> : shows the menu of the selected restaurant\");\n\t\t\tSystem.out.println(\"startOrder <> : starts a new order\");\n\t\t\tSystem.out.println(\"addDish2Order <dishName> : adds an item to the current order\");\n\t\t\tSystem.out.println(\"addMeal2Order <mealName> : adds a meal to the current order\");\n\t\t\tSystem.out.println(\"removeDishFromOrder <dishName> : removes a dish from the current order\");\n\t\t\tSystem.out.println(\"removeMealFromOrder <mealName> : removes a meal from the current order\");\n\t\t\tSystem.out.println(\"showOrder <> : show the current order (content and price)\");\n\t\t\tSystem.out.println(\"showMeal <mealName> : to show the content of a meal in the selected restaurant menu\");\n\t\t\tSystem.out.println(\"receiveSpecialOffers <> : to receive a notification when a new special offer is created\");\n\t\t\tSystem.out.println(\"stopReceivingSpecialOffers <> : to stop receiving these notifications\");\n\t\t\tSystem.out.println(\"endOrder <> : to review and confirm the order completed\");\n\t\t}\n\t\tif(type.equals(\"r\") || type.equals(\"f\")){\n\t\t\tSystem.out.println(\"\\nCommands for restaurants :\");\n\t\t\tSystem.out.println(\"addDish <dishName> <dishCourse> <price> [<type1>, <type2>, <type3>...]: adds a new dish to the menu (dishCourse must be : \\\"s\\\" for starter, \\\"m\\\" for main dish, or \\\"d\\\" for dessert. Types are optionals.)\");\n\t\t\tSystem.out.println(\"createMeal <nameMeal> <nameItem1> <nameItem2> [<nameItem3>] : create a new meal composed of the specified items (the third item is optional)\");\n\t\t\tSystem.out.println(\"removeMeal <mealName> : to remove a meal from the menu\");\n\t\t\tSystem.out.println(\"showMeal <mealName> : to show the content of a meal in the menu\");\n\t\t\tSystem.out.println(\"removeDish <dishName> : to remove a dish from the menu\");\n\t\t\tSystem.out.println(\"showMenu <> : for the logged in restaurant to show its own menu\");\n\t\t\tSystem.out.println(\"setSpecialOffer <mealName> : set the meal as meal of the week\");\n\t\t\tSystem.out.println(\"removeFromSpecialOffer <mealName> : remove the status of meal of the week for the meal\");\n\t\t\tSystem.out.println(\"findDeliverer <> : finds an available deliverer for the current order, according to the current delivery policy\");\n\t\t\tSystem.out.println(\"showOrdersToComplete <> : shows the orders that have been sent, but not prepared yet\");\n\t\t\tSystem.out.println(\"setOrderCompleted <orderName> : to set the status of an order from \\\"to complete\\\" to \\\"completed\\\"\");\n\t\t\tSystem.out.println(\"showShippedOrders <> : display a list of shipped orders corresponding to the current sorting policy\");\n\t\t}\n\t\tif(type.equals(\"co\") || type.equals(\"f\")){\n\t\t\tSystem.out.println(\"onDuty <> : to set the state of the courier as \\\"on duty\\\"\");\n\t\t\tSystem.out.println(\"offDuty <> : to set the state of the courier as \\\"off duty\\\"\");\n\t\t\tSystem.out.println(\"deliveryFinished <> : to announce the current delivery was completed without issues.\");\n\t\t\tSystem.out.println(\"setPosition <coord1> <coord2> : to set the courier's position\");\n\t\t}\n\t\tif(type.equals(\"m\") || type.equals(\"f\")){\n\t\t\tSystem.out.println(\"\\nCommands for managers :\");\n\t\t\tSystem.out.println(\"removeUser <username> : to remove the user from the system\");\n\t\t\tSystem.out.println(\"inactivateUser <username> : to inactivate (but not delete) a user in the system\");\n\t\t\tSystem.out.println(\"activateUser <username> : to activate a user which was previously inactivated\");\n\t\t\tSystem.out.println(\"registerManager <name> <surname> <username> <password> : to register a new manager to the system\");\n\t\t\tSystem.out.println(\"setDeliveryPolicy {fastest, fair} : set the delivery policy used to find a courier\");\n\t\t\tSystem.out.println(\"setProfitPolicy {deliveryCost, markupPercentage, serviceFee} : set the system's target profit policy to the corresponding policy\");\n\t\t\tSystem.out.println(\"setSortingPolicy {halfMeal, items} [reverse] : set the system's sorting policy to the corresponding policy. Optional argument \\\"reverse\\\" to reverse the sorting order.\");\n\t\t\tSystem.out.println(\"showCouriersDeliveries <> : show the list of the couriers of the fleet, sorted from the most to the least active.\");\n\t\t\tSystem.out.println(\"showRestaurantTop <> : show the list of the restaurants sorted from the most to the least selling\");\n\t\t\tSystem.out.println(\"showCustomers <> : to display the list of the customers registered in the system\");\n\t\t\tSystem.out.println(\"showMenuItem <restaurantName> : to display elements of the menu of a given restaurant, sorted w.r.t. the current sorting policy\");\n\t\t\tSystem.out.println(\"associateCard <username> {basic, lottery, point} : gives the user specified with <username> a fidelity card of corresponding type (basic, lottery or points)\");\n\t\t\tSystem.out.println(\"showTotalProfit [<dateStart> <dateEnd>] : show total profit since creation (if no arguments) or between dates passed as optional arguments (date format : DDMMYYYY)\");\n\t\t}\n\t}", "@Override\r\n\tpublic boolean action(L2PcInstance activeChar, L2Object target, boolean interact)\r\n\t{\n\t\tfinal int castleId = MercTicketManager.getInstance().getTicketCastleId(((L2ItemInstance) target).getItemId());\r\n\t\t\r\n\t\tif ((castleId > 0) && (!activeChar.isCastleLord(castleId) || activeChar.isInParty()))\r\n\t\t{\r\n\t\t\tif (activeChar.isInParty())\r\n\t\t\t{\r\n\t\t\t\tactiveChar.sendMessage(\"Voce nao pode pegar mercenarios enquanto estiver em party.\");\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tactiveChar.sendMessage(\"Somente o lord do castelo pode melhorar os mercenarios.\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tactiveChar.setTarget(target);\r\n\t\t\tactiveChar.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);\r\n\t\t}\r\n\t\telse if (!activeChar.isFlying())\r\n\t\t{\r\n\t\t\tactiveChar.getAI().setIntention(CtrlIntention.AI_INTENTION_PICK_UP, target);\r\n\t\t}\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public Option() {\n }", "public synchronized StringBuffer Print_Text_OptionSet_Menu(String Text){\n\t\tint i=0;\n\t\tStringBuffer Menu= new StringBuffer(\"\\n\\t\\t\"+Text.toUpperCase(Locale.getDefault())\n +\" OPTIONSET MENU\\n\"\n\t\t\t\t+ \"\\tPLEASE ENTER YOUR CHOICE AS THE INSTRUCTION BELOW:\");\n for (OptionSet Temp : opset) {\n Menu.append(\"\\n\\t\\t-Enter \").append(i+1)\n .append(\" for \").append(Temp.getName()).append(\" .\");\n }\n\t\treturn Menu;\n\t}" ]
[ "0.73829603", "0.5989229", "0.5873538", "0.5855921", "0.58264935", "0.5808899", "0.5753036", "0.5729871", "0.5711424", "0.5704845", "0.5702619", "0.5624459", "0.5621464", "0.559644", "0.5521967", "0.54938996", "0.54863626", "0.54858947", "0.5485176", "0.54377383", "0.54340464", "0.54284996", "0.54103947", "0.54041004", "0.54009116", "0.5398808", "0.5347905", "0.5346923", "0.5338953", "0.53277916", "0.5320895", "0.5289308", "0.5288064", "0.5278535", "0.5272894", "0.5260343", "0.5253018", "0.52476186", "0.5239234", "0.52352977", "0.5227179", "0.5222754", "0.52187335", "0.52181995", "0.52155894", "0.52055335", "0.51858115", "0.5181791", "0.5177754", "0.5174039", "0.5171277", "0.51328135", "0.5117583", "0.511501", "0.5108696", "0.51049954", "0.510305", "0.5102518", "0.5097728", "0.50914866", "0.5089009", "0.50773585", "0.5075001", "0.50707155", "0.50689435", "0.5063752", "0.50542575", "0.50502384", "0.50492233", "0.5034343", "0.5029312", "0.5029254", "0.5020653", "0.50175136", "0.50136477", "0.5004432", "0.5001795", "0.499157", "0.49885723", "0.49664804", "0.49625912", "0.4958731", "0.49490637", "0.49439976", "0.49427748", "0.4939011", "0.49291453", "0.49248832", "0.49198443", "0.49185142", "0.49178228", "0.49092174", "0.4903946", "0.49015445", "0.48990783", "0.48985666", "0.48983443", "0.48966417", "0.4895017", "0.48948446" ]
0.78507304
0
System.out.println("SKKSammlungonline01: ExportcompileQuery: " + query);
protected String compileQuery(final String query, String result) throws IllegalArgumentException { if (query != null && ! query.isEmpty()) { final SelektQLErrorListener selektQLErrorListener = new SelektQLErrorListener(); SelektQLLexer lexer = new SelektQLLexer(CharStreams.fromString(query)); SelektQLParser parser = new SelektQLParser(new CommonTokenStream(lexer)); parser.removeErrorListeners(); parser.addErrorListener(selektQLErrorListener); result = selektQL2Solr.visit(parser.anfrage()); if (selektQLErrorListener.error) { throw new IllegalArgumentException("Fehler beim Kompilieren der Anfrage " + query); } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void export(UtilityDataExportQuery query) throws ApplicationException;", "String export(UserDataExportQuery query) throws ApplicationException;", "@Override\n\tvoid executeQuery(String query) {\n\t\tSystem.out.println(\"Mssql ==> \" + query);\n\t}", "private void dumpQuery(ByteArrayOutputStream out) {\n try {\n OutputStream file = new BufferedOutputStream(new FileOutputStream(new File(dumpDir, dataReqFile)));\n file.write(out.toByteArray());\n file.flush();\n file.close();\n } catch (Exception e) {\n try {\n String s = new String(out.toByteArray(), \"utf-8\");\n Log.i(TAG, \"----------------query data begin---------------------\");\n Log.i(TAG, s);\n Log.i(TAG, \"----------------query data end-----------------------\");\n } catch (Exception e2) {\n\n }\n }\n }", "private ASTQuery() {\r\n dataset = Dataset.create();\r\n }", "public void createQueryProcessor() throws IOException {\n\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\n\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\n\t\t}\n\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\n\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\"_\",3);\n\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\n\t\t}\n\t\tStringBuilder fileData = new StringBuilder();\n\t\tfileData.append(\"package dbmsProject;\\r\\n\\r\\n\" + \n\t\t\t\t\"import java.io.FileOutputStream;\\r\\n\" + \n\t\t\t\t\"import java.io.IOException;\\r\\n\" + \n\t\t\t\t\"import java.text.DateFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.DecimalFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.SimpleDateFormat;\\r\\n\" + \n\t\t\t\t\"import java.util.ArrayList;\\r\\n\" + \n\t\t\t\t\"import java.util.Calendar;\\r\\n\" + \n\t\t\t\t\"import java.util.HashMap;\\r\\n\");\n\t\tfileData.append(\"\\r\\npublic class QueryProcessor{\\n\");\n\t\tfileData.append(\"\tprivate SalesTable salesTable;\\n\");\n\t\tfileData.append(\"\tprivate ExpTree expTree;\\n\");\n\t\tfileData.append(\"\tprivate Payload payload;\\n\");\n\t\tfileData.append(\"\tprivate Helper helper;\\n\");\n\t\tfileData.append(\"\tprivate ArrayList<HashMap<String,String>> listMapsAggregates;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate HashMap<String, Double> aggregatesMap;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<HashMap<String, ArrayList<InputRow>>> allGroups;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<String>> allGroupKeyStrings;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<InputRow>> allGroupKeyRows;\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic QueryProcessor(SalesTable salesTable, Payload payload){\\n\");\n\t\tfileData.append(\"\t\tthis.aggregatesMap = new HashMap<String, Double>();\\n\");\n\t\tfileData.append(\"\t\tthis.salesTable=salesTable;\\n\");\n\t\tfileData.append(\"\t\tthis.payload=payload;\\n\");\n\t\tfileData.append(\"\t\tthis.expTree=new ExpTree();\\n\");\n\t\tfileData.append(\"\t\tthis.helper=new Helper();\\n\"\n\t\t\t\t\t\t+ \"\t\tthis.allGroupKeyRows = new ArrayList<ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.allGroupKeyStrings = new ArrayList<ArrayList<String>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.listMapsAggregates = new ArrayList<HashMap<String,String>>();\\r\\n\"\t+\n\t\t\t\t\t\t\"\t\tthis.allGroups = new ArrayList<HashMap<String, ArrayList<InputRow>>>();\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> createInputSet(){\\n\");\n\t\tfileData.append(\"\t\tArrayList<InputRow> inputResultSet = new ArrayList<InputRow>();\\n\");\n\t\tfileData.append(\"\t\tfor(SalesTableRow row: salesTable.getResultSet()) {\\n\");\n\t\tfileData.append(\"\t\t\tInputRow ir=new InputRow();\\n\");\n\t\tfor(String var: this.projectionVars) {\n\t\t\tfileData.append(\"\t\t\tir.set\"+varPrefix+var+\"(row.get\"+var+\"());\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\tinputResultSet.add(ir);\\n\");\n\t\tfileData.append(\"\t\t}\\n\");\n\t\tfileData.append(\"\t\treturn inputResultSet;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//OUTPUT ROW CREATION LOGIC\n\t\tfileData.append(\"\\r\\n\tpublic OutputRow convertInputToOutputRow(InputRow inputRow, String str, ArrayList<String> strList){\\n\");\n\t\tfileData.append(\"\t\tString temp=\\\"\\\";\\n\");\n\t\tfileData.append(\"\t\tOutputRow outputRow = new OutputRow();\\n\");\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(inputRow.get\"+varPrefix+select+\"());\\n\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tString temp=select;\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\ttemp = prepareClause(inputRow, inputRow, \\\"\"+temp+\"\\\", str, strList);\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.contains(\\\"(\\\")) temp = expTree.execute(temp);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.equals(\\\"discard_invalid_entry\\\")) return null;\\n\");\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(Double.parseDouble(temp));\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\treturn outputRow;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//WHERE CLAUSE EXECUTOR\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> executeWhereClause(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\tint i=0;\\r\\n\" + \n\t\t\t\t\"\t\twhile(i<inputResultSet.size()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString condition=prepareClause(inputResultSet.get(i), inputResultSet.get(i), payload.getWhereClause(), \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))){\\r\\n\" + \n\t\t\t\t\"\t\t\t\tinputResultSet.remove(i);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tcontinue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\ti++;\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn inputResultSet;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//REFINE CLAUSE FOR PROCESSING\n\t\tfileData.append(\"\\r\\n\tpublic String prepareClause(InputRow row, InputRow rowZero, String condition, String str, ArrayList<String> strList) {\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<strList.size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.contains(i+\\\"_\\\")) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tboolean flag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String ag : payload.getaggregate_functions()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!ag.contains(i+\\\"\\\")) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(condition.contains(ag)) flag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tcondition=condition.replaceAll(ag, ag+\\\"_\\\"+strList.get(i));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(flag) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tboolean changeFlag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tfor(String key : aggregatesMap.keySet()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tif(condition.contains(key)) changeFlag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tcondition = condition.replaceAll(key, Double.toString(aggregatesMap.get(key)));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!changeFlag) return \\\"discard_invalid_entry\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tif(condition.contains(\\\".\\\")) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", Integer.toString(row.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\n\");\n\t\t\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", rowZero.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", Integer.toString(rowZero.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\\s+\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\"\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\'\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\treturn condition;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//CREATE GROUPS\t\t\n\t\tfileData.append(\"\\r\\n\tpublic void createListsBasedOnSuchThatPredicate(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> groupKeyStrings = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<InputRow> groupKeyRows = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(InputRow row : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tStringBuilder temp=new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow groupRow = new InputRow();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String group: payload.getGroupingAttributesOfAllGroups().get(i)) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tint col = helper.columnMapping.get(group);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tswitch(col) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tfileData.append(\"\t\t\t\t\t\tcase \"+helper.columnMapping.get(var)+\":\"+\"{temp.append(row.get\"+varPrefix+var+\"()+\\\"_\\\"); groupRow.set\"+varPrefix+ var+ \"(row.get\"+varPrefix+var+\"()); break;}\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\t\t\t}\\n\"+\n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString s=temp.toString();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(s.charAt(s.length()-1)=='_') s=s.substring(0, s.length()-1);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif( !groupKeyStrings.contains(s) ) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyStrings.add(s);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyRows.add(groupRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyRows.add(groupKeyRows);\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyStrings.add(groupKeyStrings);\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tHashMap<String, ArrayList<InputRow>> res = new HashMap<String, ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\"\t\t\tString suchThat = payload.getsuch_that_predicates().get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0;j<allGroupKeyRows.get(i).size();j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow zeroRow = allGroupKeyRows.get(i).get(j);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tArrayList<InputRow> groupMember = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(InputRow salesRow : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tString condition = prepareClause(salesRow, zeroRow, suchThat, \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(Boolean.parseBoolean(expTree.execute(condition))) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tgroupMember.add(salesRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tres.put(allGroupKeyStrings.get(i).get(j), new ArrayList<InputRow>(groupMember));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroups.add(new HashMap<String, ArrayList<InputRow>>(res));\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\t\t\n//GETGROUPING VARIABLE METHOD\n\t\tfileData.append(\"\\r\\n\tpublic String getGroupingVariable(int i, InputRow row) {\\r\\n\" + \n\t\t\t\t\"\t\tswitch(i) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0||helper.columnMapping.get(var)==1||helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return row.get\"+varPrefix+var+\"();\\r\\n\");\n\t\t\telse if(helper.columnMapping.get(var)==7)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return \\\"all\\\"\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return Integer.toString(row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\treturn \\\"__Garbage__\\\";\\r\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//COMPUTE AGGREGATES METHOD\n\t\tfileData.append(\"\\r\\n\tpublic void computeAggregates(ArrayList<InputRow> inputResultSet) {\t\\r\\n\" + \n\t\t\t\t\"\t\tdouble val=0;\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\\\"_\\\",3);\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\"+\n\t\t\t\t\"\t\tint nGroupingVariables=0;\\r\\n\"+\n\t\t\t\t\"\t\taggregatesMap = new HashMap<>();\\r\\n\"+\n\t\t\t\t\"\t\tHashMap<String,Double> tempAggregatesMap;\\r\\n\");\n\t\t\n\t\tfor(int nGroupingVariables=0;nGroupingVariables<=payload.getnumber_of_grouping_variables();nGroupingVariables++) {\n\t\t\tfileData.append(\"\\n\t\tnGroupingVariables=\"+nGroupingVariables+\";\\r\\n\");\n\t\t\tfileData.append(\n\t\t\t\t\t\t\t\"\t\ttempAggregatesMap = new HashMap<String,Double>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\tfor(int i=0;i<allGroupKeyRows.get(nGroupingVariables).size(); i++) {\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\tInputRow zeroRow = allGroupKeyRows.get(nGroupingVariables).get(i);\\r\\n\" );\n\t\t\t\n\t\t\t//MFvsEMF\n\t\t\tif(isGroupMF(nGroupingVariables)) fileData.append(\"\t\t\tfor(InputRow row: allGroups.get(nGroupingVariables).get(allGroupKeyStrings.get(nGroupingVariables).get(i)))\t{\\r\\n\");\n\t\t\telse fileData.append(\"\t\t\tfor(InputRow row: inputResultSet) {\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tString condition = payload.getsuch_that_predicates().get(nGroupingVariables);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tString str = allGroupKeyStrings.get(nGroupingVariables).get(i);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tfor(int j=0;j<=payload.getnumber_of_grouping_variables();j++) strList.add(str);\\r\\n\" +\n\t\t\t\t\t\t\t\"\t\t\t\tcondition= prepareClause(row, zeroRow, condition, str, strList);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\"\n\t\t\t\t\t\t\t);\n\t\t\tString key1 = nGroupingVariables+\"_sum_\"+listMapsAggregates.get(nGroupingVariables).get(\"sum\");\n\t\t\tString key2 = nGroupingVariables+\"_avg_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\tString key3 = nGroupingVariables+\"_min_\"+listMapsAggregates.get(nGroupingVariables).get(\"min\");\n\t\t\tString key4 = nGroupingVariables+\"_max_\"+listMapsAggregates.get(nGroupingVariables).get(\"max\");\n\t\t\tString key5 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"count\");\n\t\t\tString key6 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\tString key1=\\\"\"+key1+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\tString key2=\\\"\"+key2+\"\\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\tString key6=\\\"\"+key6+\"\\\";\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key3=\\\"\"+key3+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key4=\\\"\"+key4+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key5=\\\"\"+key5+\"\\\";\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tfor(String ga: payload.getGroupingAttributesOfAllGroups().get(nGroupingVariables)) {\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\t\tkey1=key1+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey2=key2+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey6=key6+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey3=key3+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey4=key4+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey5=key5+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tfileData.append(\"\t\t\t\t}\\r\\n\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key1, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"sum\\\")), row));\\r\\n\" + \n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key1, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key2, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"avg\\\")), row));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key2, val);\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key6, tempAggregatesMap.getOrDefault(key6, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.min( tempAggregatesMap.getOrDefault(key3, Double.MAX_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"min\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key3, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.max( tempAggregatesMap.getOrDefault(key4, Double.MIN_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"max\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key4, val);\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\")) {\n\t\t\t\tfileData.append(\"\t\t\ttempAggregatesMap.put(key5, tempAggregatesMap.getOrDefault(key5, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\t\t}\\r\\n\");\n\t\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\n\t\t\t\t\"\t\tfor(String key: tempAggregatesMap.keySet()) {\\r\\n\"+\n\t\t\t\t\"\t\t\tif(key.contains(\\\"_avg_\\\"))\\r\\n\"+\n\t\t\t\t\"\t\t\t\ttempAggregatesMap.put(key, tempAggregatesMap.get(key)/tempAggregatesMap.get(key.replace(\\\"_avg_\\\", \\\"_count_\\\")));\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\taggregatesMap.putAll(tempAggregatesMap);\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\"\t}\\n\");\n\n//PREPARE THE RESULTS AND ADD THEM TO A LIST OF OUTPUTROW\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<OutputRow> createOutputResultSet() {\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputRowList = new ArrayList<OutputRow>();\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<allGroupKeyRows.get(0).size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString str=allGroupKeyStrings.get(0).get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] tempStr = str.split(\\\"_\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0; j<=payload.getnumber_of_grouping_variables(); j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString ss = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\tint k=0;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String gz: payload.getgrouping_attributes()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(payload.getGroupingAttributesOfAllGroups().get(j).contains(gz)) ss=ss+tempStr[k++]+\\\"_\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\telse k++;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tstrList.add(ss.substring(0, ss.length()-1));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t//having check\\r\\n\" + \n\t\t\t\t\"\t\t\tif(payload.isHavingClause()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString condition= prepareClause(allGroupKeyRows.get(0).get(i), allGroupKeyRows.get(0).get(i), payload.getHavingClause(), str, strList);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\\r\\n\" + \n\t\t\t\t\"\t\t\tOutputRow outputRow= convertInputToOutputRow(allGroupKeyRows.get(0).get(i), str, strList);\\r\\n\"+\n\t\t\t\t\"\t\t\tif(outputRow!=null){\\r\\n\" + \n\t\t\t\t\"\t\t\t\toutputRowList.add(outputRow);\\r\\n\"+\n\t\t\t\t\"\t\t\t}\\r\\n\"+\t\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn outputRowList;\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n//PRINT THE OUTPUT ROW\n\t\tfileData.append(\"\\r\\n\tpublic void printOutputResultSet(ArrayList<OutputRow> outputResultSet) throws IOException{\\r\\n\");\n\t\tfileData.append(\"\t\tCalendar now = Calendar.getInstance();\\r\\n\" + \n\t\t\t\t\"\t\tDateFormat dateFormat = new SimpleDateFormat(\\\"MM/dd/yyyy HH:mm:ss\\\");\\r\\n\" + \n\t\t\t\t\"\t\tStringBuilder fileData = new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\tfileData.append(\\\"TIME (MM/dd/yyyy HH:mm:ss)::::\\\"+dateFormat.format(now.getTime())+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString addDiv = \\\" -------------- \\\";\\r\\n\" + \n\t\t\t\t\"\t\tString divide = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tString header=\\\"\\\";\"+\n\t\t\t\t\"\t\tfor(String select: payload.getselect_variables()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(select.contains(\\\"0_\\\")) select=select.substring(2);\\r\\n\" + \n\t\t\t\t\"\t\t\theader=header+\\\" \\\"+select;\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int i=0;i<14-select.length();i++) header=header+\\\" \\\";\\r\\n\" + \n\t\t\t\t\"\t\t\tdivide=divide+addDiv;\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(header); fileData.append(header+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t//\"\t\tSystem.out.println(); fileData.append(\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString ansString=\\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tDecimalFormat df = new DecimalFormat(\\\"#.####\\\");\\r\\n\");\n\t\tfileData.append(\"\t\tfor(OutputRow outputRow: outputResultSet) {\\r\\n\");\n\t\tfileData.append(\"\t\t\tString answer=\\\"\\\";\\r\\n\");\n\t\t\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tint col = helper.columnMapping.get(select);\n\t\t\t\tif(col==0|| col==1|| col==5) {\n\t\t\t\t\t//string\n\t\t\t\t\tfileData.append(\"\t\t\tansString=outputRow.get\"+varPrefix+select+\"();\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+\\\" \\\"+ansString;\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<14-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//int\n\t\t\t\t\tfileData.append(\"\t\t\tansString = Integer.toString(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\t//double\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\t\tansString = df.format(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\t\tSystem.out.println(answer); fileData.append(answer+\\\"\\\\r\\\\n\\\");\\r\\n\");\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\tFileOutputStream fos = new FileOutputStream(\\\"queryOutput/\"+payload.fileName+\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tfos.write(fileData.toString().getBytes());\\r\\n\" + \n\t\t\t\t\"\t\tfos.flush();\\r\\n\" + \n\t\t\t\t\"\t\tfos.close();\\r\\n\");\n\t\tfileData.append(\"\t}\\r\\n\");\n\t\t\n\t\t\n//DRIVER METHOD OF THE QUERY PROCESSOR\n\t\tfileData.append(\"\\r\\n\tpublic void process() throws IOException{\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<InputRow> inputResultSet = createInputSet();\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getIsWhereClause()) inputResultSet = executeWhereClause(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getnumber_of_grouping_variables()>0) createListsBasedOnSuchThatPredicate(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tcomputeAggregates(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputResultSet = createOutputResultSet();\\r\\n\" + \n\t\t\t\t\"\t\tprintOutputResultSet(outputResultSet);\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n\t\tfileData.append(\"}\");\n\t\tFileOutputStream fos = new FileOutputStream(\"src/dbmsProject/QueryProcessor.java\");\n\t\tfos.write(fileData.toString().getBytes());\n\t\tfos.flush();\n\t\tfos.close();\n\t}", "public void customerQuery(){\n }", "protected String generateSQL() {\n String fields = generateFieldsJSON();\n return String.format(QUERY_PATTERN, fields, esQuery.generateQuerySQL(), from, size);\n }", "private String buildSelectOut(Stream strm) {\n\t\tString str = \"\";\n\t\tif(strm.getReturn().gethType().equals(HeadType.CONSTRUCT))\n\t\tfor (Triple triple : strm.getReturn().getiTriple().getTriple()) {\t\t\t\n\t\t\toutNum++;\n\t\t\tif(strm.getReturn().getiTriple().getTriple().size() > 1){\n\t\t\t\tstr += genTableStr + strm.getName() + \"_starqlout_\"+outNum+\" AS WCACHE\\r\\n\";\n\t\t\t}else{\n\t\t\t\tstr += genTableStr + strm.getName() + \"_starqlout AS WCACHE\\r\\n\";\n\t\t\t}\n\t\t\tstr += \"SELECT DISTINCT \";\n\t\t\tif (strm.getReturn().getiTriple().getTime().toString().toLowerCase()\n\t\t\t\t\t.contains(\"now\")) {\n\t\t\t\tstr += \"timestamp\";\n\t\t\t} else {\n\t\t\t\tstr += \"'\"+strm.getReturn().getiTriple().getTime().toString()+\"'\";\n\t\t\t}\n\t\t\tstr += \" AS timestamp, \";\n\t\t\tif (triple.getSubject().toString().contains(\"?\")) {\n\t\t\t\tstr += triple.getSubject().toStringSQL() + \" AS Subject, \";\n\t\t\t} else {\n\t\t\t\tstr += \"'\" + triple.getSubject() + \"' AS Subject, \";\n\t\t\t}\n\t\t\tstr += \"'\" + triple.getPredicate() + \"' AS Predicate, \";\n\t\t\tif(!triple.hasAgg()){\t\n\t\t\t\tif (triple.getObject().toString().contains(\"?\")) {\n\t\t\t\t\tstr += triple.getObject().toStringSQL() + \" AS Object \";\n\t\t\t\t} else {\n\t\t\t\t\tstr += \"'\" + triple.getObject() + \"' AS Object \";\n\t\t\t\t}\t\t\t\n\t\t\t}else{\t\t\t\t\n\t\t\t\tstr += triple.getAgg().getName() + \" AS Object \";\t\t\t\t\n\t\t\t}\n\t\t\tstr += \" FROM \" + strm.getName() + \"_tJoin;\\r\\n\\r\\n\";\n\t\t}\n\t\telse{\tsetSelect(true);\t\n\t\t\t\tBoolean aggQuery = false;\n\t\t\t\tSet<StarqlVar> nonAggVars = new HashSet<StarqlVar>();\n\t\t\t\tfor(Binding bVar : strm.getReturn().getVars()) {\n\t\t\t\t\tfor(StarqlVar svar : bVar.getAex().getVars())\n\t\t\t\t\t\tif(svar.hasAgg())\n\t\t\t\t\t\t\taggQuery = true;\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tnonAggVars.add(svar);\n\t\t\t\t}\n\t\t\t\tif(aggQuery)\n\t\t\t\t\tif(strm.getGrpby() != null){\n\t\t\t\t\t\tfor(StarqlVar svar : nonAggVars)\n\t\t\t\t\t\t\tif(!strm.getGrpby().getGrpVars().contains(svar)){\n\t\t\t\t\t\t\t\tthrow new RuntimeException(\"NON GROUPED SELECT VARIABLE: \"+svar.toString());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tif(!nonAggVars.isEmpty()){\n\t\t\t\t\t\t\tthrow new RuntimeException(\"NON GROUPED SELECT VARIABLES: \"+nonAggVars.toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\tstr += genTableStr + strm.getName() + \"_starqlout AS \\r\\n\";\n\t\t\t\tstr += \"SELECT DISTINCT \";\n\t\t\t\tstr += \"timestamp\";\n\t\t\t\tstr += \" AS timestamp\";\n\t\t\t\tArrayList<String> bindings = new ArrayList<String>();\n\t\t\t\tfor(Binding bVar : strm.getReturn().getVars()) {\n\t\t\t\t\tString binding = bVar.toString();\n\t\t\t\t\tfor(StarqlVar sVar : bVar.getAex().getVars()){\n\t\t\t\t\t\tif(sVar.hasAgg())\n\t\t\t\t\t\t\tbinding = binding.replace(sVar.getVarAgg().getAggType() + sVar.getVarAgg().getColumns().toString().replace(\"[\", \"(\").replace(\"]\", \")\").toString(), sVar.getVarAgg().getName());\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tbindings.add(binding);\n\t\t\t\t}\n\t\t\t\tstr += HelperFunctions.getSetAsString(bindings, false, \", \");\n\t\t\t\tstr += \" FROM \" + strm.getName() + \"_tJoin\";\n\t\t\t\tif(strm.getHvgAggregate() != null){\n\t\t\t\t\tSet<StarqlVar> checkVars = new HashSet<StarqlVar>();\n\t\t\t\t\tfor(StarqlVar svar : strm.getHvgAggregate().getUnSafeVars().getVars()){\n\t\t\t\t\t\tif(svar.hasAgg())\n\t\t\t\t\t\t\tcheckVars.addAll(svar.getVarAgg().getColumnsAsVar());\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tcheckVars.add(svar);\n\t\t\t\t\t\tfor(StarqlVar var : checkVars)\n\t\t\t\t\t\t\tif(!strm.getHvg().getSafeVars().getVars().contains(var) && !strm.getWhere().getSafeVars().getVars().contains(var)){\n\t\t\t\t\t\t\t\tthrow new RuntimeException(\"AGGREGATE VARIABLE: \" + var.toString()+ \" IS NOT SAFE!\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tString aggString = strm.getHvgAggregate().toString();\n\t\t\t\t\tfor(StarqlVar sVar : strm.getHvgAggregate().getUnSafeVars().getVars())\n\t\t\t\t\t\tif(sVar.hasAgg())\n\t\t\t\t\t\t\taggString = aggString.replace(sVar.getVarAgg().getAggType() + sVar.getVarAgg().getColumns().toString().replace(\"[\", \"(\").replace(\"]\", \")\").toString(), sVar.getVarAgg().getName());\n\t\t\t\t\tstr += \"\\r\\nWHERE \" + aggString;\n\t\t\t\t}\n\t\t\t\tstr += \";\\r\\n\\r\\n\";\n\t\t}\n\t\treturn str;\n\t}", "public String toXML () { \r\n\t\tString XML = \"<QUERY>\" +\r\n\t\t\t\t \"<CONNECTION>\"+this.getConnectionName()+\"</CONNECTION>\" +\r\n\t\t\t \"<STMT>\"+this.getQueryDefinition() + \"</STMT>\" +\r\n\t\t\t\t \"<VALUE-COLUMN>\"+this.getValueColumns()+\"</VALUE-COLUMN>\" +\r\n\t\t\t\t \"<DESCRIPTION-COLUMN>\"+this.getDescriptionColumns()+\"</DESCRIPTION-COLUMN>\" +\r\n\t\t\t\t \"<VISIBLE-COLUMNS>\"+this.getVisibleColumns()+\"</VISIBLE-COLUMNS>\" +\r\n\t\t\t\t \"<INVISIBLE-COLUMNS>\"+(this.getInvisibleColumns() != null ? this.getInvisibleColumns() : \"\") +\"</INVISIBLE-COLUMNS>\" +\r\n\t\t\t\t \"</QUERY>\";\r\n\t\treturn XML;\r\n\t}", "public String get2dQuery() throws SQLException {\r\n String temp = \"\";\r\n String utemp = \"\";\r\n String sqlstr = \"\";\r\n String temp1 = \"\";\r\n String in_qry = \"\";\r\n\r\n int nocol = 0;\r\n\r\n Connection con = null;\r\n CallableStatement st = null;\r\n ResultSet rs = null;\r\n ProgenConnection pg = null;\r\n// pg = new ProgenConnection();\r\n nonViewByList = new ArrayList();\r\n nonViewByListRT = new ArrayList();\r\n\r\n\r\n sqlstr = this.headerQuery;\r\n nonViewbyColumnList = null;\r\n try {\r\n\r\n con = getConnection(this.elementIdForConn);\r\n st = con.prepareCall(sqlstr);\r\n rs = st.executeQuery();\r\n\r\n\r\n\r\n\r\n int i = 1;\r\n\r\n while (rs.next()) {\r\n temp = rs.getString(1).replace(\"'\", \"''\");\r\n /*\r\n * if (temp.length()>=30) temp1= temp.substring(1,20) +\"..\"\r\n * +temp.substring(temp.length()-5,temp.length()-1); else\r\n temp1=temp;\r\n */\r\n temp1 = \"A\" + i;\r\n i++;\r\n\r\n //temp1= temp1.replace(\" & \",\"\");\r\n\r\n if (nonViewbyColumnList == null) {\r\n nonViewbyColumnList = temp;\r\n } else {\r\n nonViewbyColumnList += \",\" + temp;\r\n }\r\n nonViewByList.add(temp1);\r\n nonViewByListRT.add(temp1);\r\n nonViewByMap.put(temp1, temp);\r\n if (this.summReq.equalsIgnoreCase(\"COUNTDISTINCT\")) {\r\n utemp = utemp + \" , nvl( count (distinct ( Case when \" + headerViewByCol + \" = '\" + temp + \"' then \" + this.measureName + \" else null end )) ,0) \\\"\" + temp1 + \"\\\" \";\r\n } else {\r\n utemp = utemp + \" , nvl(\" + this.summReq + \"( Case when \" + headerViewByCol + \" = '\" + temp + \"' then \" + this.measureName + \" else null end ) ,0) \\\"\" + temp1 + \"\\\" \";\r\n }\r\n\r\n nocol = nocol + 1;\r\n }\r\n } catch (SQLException e) {\r\n logger.error(\"Exception:\", e);\r\n } finally {\r\n if (rs != null) {\r\n rs.close();\r\n }\r\n if (st != null) {\r\n st.close();\r\n }\r\n if (con != null) {\r\n con.close();\r\n }\r\n }\r\n\r\n temp = \"\";\r\n sqlstr = \"\";\r\n //nonViewByListRT.add(\"r_total\");\r\n //nonViewByMap.put(\"r_total\", \"Total\");\r\n\r\n\r\n\r\n\r\n {\r\n in_qry = \"\";\r\n in_qry = in_qry + \" select \" + viewByCol + \" \";\r\n in_qry = in_qry + utemp + \" \";\r\n //in_qry = in_qry + utemp + \" , nvl(\" + this.summReq + \" ( \" + this.measureName + \" ),0 ) \\\"r_total\\\" \";\r\n in_qry = in_qry + this.fromTables;\r\n in_qry = in_qry + this.whereClause;\r\n in_qry = in_qry + \"group by \" + viewByColGroup + \" , \" + orderByColGroup + \" \";\r\n if (this.summReq.equalsIgnoreCase(\"COUNTDISTINCT\")) {\r\n in_qry = in_qry + \" having nvl(ABS( count(distinct ( \" + this.measureName + \" ) )),0 ) >0 \";\r\n } else {\r\n in_qry = in_qry + \" having nvl(ABS(\" + this.summReq + \" ( \" + this.measureName + \" ) ),0 ) >0 \";\r\n }\r\n if (defaultSortedColumn != null && !\"\".equalsIgnoreCase(defaultSortedColumn)) {\r\n if (!defaultSortedColumn.equalsIgnoreCase(\"Time\")) {\r\n //in_qry = in_qry + \"order by \" + orderByColGroup + \" \";\r\n in_qry = in_qry + \"order by \" + defaultSortedColumn + \" \";\r\n }\r\n } else {\r\n in_qry = in_qry + \"order by \" + orderByColGroup + \" \";\r\n //in_qry = in_qry + \"order by \" + \"A_\" + defaultSortedColumn + \" \";\r\n }\r\n\r\n //in_qry = in_qry + \"order by \" + orderByColGroup + \" \";\r\n\r\n\r\n sqlstr = in_qry;\r\n\r\n }\r\n return sqlstr;\r\n }", "private List<HashMap<String,String>> performQuery(Model model, String queryName) throws Exception {\n String sparqlQueryString = this.getQueryFromFile(queryName);\n\n //Parameterized Queries with Jena\n //see: https://jena.apache.org/documentation/query/parameterized-sparql-strings.html\n ParameterizedSparqlString pss = new ParameterizedSparqlString();\n pss.setCommandText(sparqlQueryString);\n\n //build the prefix for source and target before run the query\n\n String inputURIMetadata = Dictionary.AVAILABLE_ONTOLOGIES_HASH.get(myJob.getInputFormat());\n String outputURIMetadata = Dictionary.AVAILABLE_ONTOLOGIES_HASH.get(myJob.getOutputFormat());\n\n //Node file = NodeFactory.createURI(inputURIMetadata+ myJob.getSourceFile());\n //Node object = NodeFactory.createURI(inputURIMetadata+ myJob.getSourceOjbect());\n\n //set parameters for the query\n //pss.setParam(\"fileName\",file);\n //pss.setParam(\"object\",object);\n pss.setNsPrefix(\"metadataSource\", inputURIMetadata);\n pss.setNsPrefix(\"metadataTarget\", outputURIMetadata);\n\n //Prints query after parameter set up\n System.out.println(\"\\n\"+pss.toString());\n\n Query query = pss.asQuery();\n\n QueryExecution qexec = QueryExecutionFactory.create(query, model);\n ResultSetRewindable results = ResultSetFactory.makeRewindable(qexec.execSelect());\n\n if(results.hasNext()){\n List<HashMap<String,String>> resultsObject = new ArrayList<>();\n while (results.hasNext()){\n QuerySolution q = results.next();\n HashMap<String,String> rowMap = new HashMap<>();\n for(String attribute : results.getResultVars()){\n RDFNode obj = q.get(attribute);\n String value = obj.toString();\n rowMap.put(attribute,value);\n }\n System.out.println(rowMap);\n resultsObject.add(rowMap);\n }\n qexec.close() ;\n return resultsObject;\n }else{\n throw new Exception(\"No results\");\n }\n }", "public void Query() {\n }", "public String getQuery()\n {\n /**\n * gets mouse marker information from MGD\n\t * includes interim and official nomenclature only\n */\n String stmt = \"select a.accID, m.symbol, m.name, m.chromosome, \" +\n \"t.name as type, a._Object_key \" +\n \"from ACC_Accession a, MRK_Marker m, MRK_Types t \" +\n \"where m._Organism_key = 1 \" +\n \"and m._Marker_Status_key = 1 \" +\n \"and m._Marker_key = a._Object_key \" +\n \"and a._MGIType_key = 2 \" +\n \"and a._LogicalDB_key = 1 \" +\n \"and a.prefixPart = 'MGI:' \" +\n \"and a.preferred = 1 \" +\n \"and m._Marker_Type_key = t._Marker_Type_key\";\n return stmt;\n }", "private void executeQuery() {\n }", "public String toString(){\n \treturn (weight + \"\t\" + query);\n }", "private boolean exportResult(){\n System.out.println(\"Writing to \" + \"out_\" + inputFile);\n return true;\n }", "CampusSearchQuery generateQuery();", "public static void main(String args[]){\n String sql = \"select * from TBLS limit 2\";\n String sqlComplex = \"select testpartition.filename,format_.o,title.s,identifier.o,id.o,date_.o \" +\n \"from testpartition join format_ on (testpartition.filename=format_.s) \" +\n \"join title on (testpartition.filename=title.s) \" +\n \"join identifier on (testpartition.filename=identifier.s) \" +\n \"join id on (testpartition.filename=id.s) \" +\n \"join date_ on (testpartition.filename=date_.s) \" +\n \"where testpartition.gid0=1 and testpartition.sid=2 and testpartition.fid<100000 and testpartition.pfid=0\";\n String sqlOriginal = \"select idTable.filename,format_.o,title.s,identifier.o,id.o,date_.o \" +\n \"from idTable join format_ on (idTable.filename=format_.s) \" +\n \"join title on (idTable.filename=title.s) \" +\n \"join identifier on (idTable.filename=identifier.s) \" +\n \"join id on (idTable.filename=id.s) \" +\n \"join date_ on (idTable.filename=date_.s) \" +\n \"where idTable.gid0=1 and idTable.sid=2 and idTable.fid<100000\";\n\n QueryRewrite my = new QueryRewrite(sqlOriginal);\n String sqlRewrite = my.rewrite();\n System.out.println(sqlRewrite);\n\n\n }", "public abstract String createQuery();", "public static void main(String[] args){\n String importPath = \"import.CSV\";\n String exportQuery = \"SELECT * FROM PAIS\";\n SQLUtils t = new SQLUtilsImpl();\n File export = t.importCSV(exportQuery);\n //t.runFile(file);\n //t.importCSV(importF);\n //System.out.println(t.executeQuery(\"SELECT * FROM CIDADE WHERE ID = 3000\")); \n \n System.out.println(\"termino\");\n }", "String getPublicationsCentralGraphQuery();", "public static void main(String[] args) {\n\t\tSession s2=util.getSession();\r\n\t\tQuery qry=s2.getNamedQuery(\"q2\");\r\n\t\t//Query qry=s2.getNamedQuery(\"q3\");\r\n\t\t//qry.setInteger(0, 50);\r\n\t\tList<Object[]> lust=qry.list();\r\n\t\tfor(Object[] row:lust) {\r\n\t\t\tSystem.out.println(Arrays.toString(row));\r\n\t\t}\r\n\t\tSystem.out.println(\"Completed\");\r\n\t}", "String query();", "public void writeSQL(SQLOutput stream) throws SQLException{\r\n}", "Downloadable export(ExportType exportType, String query, Pageable pageable);", "public String toString() {\n return \"[JDBCRawSqlQueryMetaData : method=\" + method + \"]\";\n }", "public static void printQuery(String pSPARQLPath, String pServerURL) {\n\t\tSystem.out.println(\"Methode Query\");\n\t\tString sQuery = readFile(pSPARQLPath);\n\t\tif (sQuery.equals(\"\")) {\n\t\t\treturn;\n\t\t} \n\t\tQueryExecution queryExecution = QueryExecutionFactory.sparqlService(pServerURL , sQuery);\n\t\tResultSet resultSet = queryExecution.execSelect();\n\t\t//System.out.println(resultSet);\n\t\tSystem.out.println(\"Ergebnis:\");\n\t\twhile (resultSet.hasNext() == true) {\n\t\t\tQuerySolution querySolution = resultSet.nextSolution();\n\t\t\tfor (int i = 0; i < resultSet.getResultVars().size(); i++) {\n\t\t\t\tString result = resultSet.getResultVars().get(i);\n\t\t\t\tif(querySolution.get(result).toString().contains(\"#\")) {\n\t\t\t\t\tString[] temp = querySolution.get(result).toString().split(\"#\");\n\t\t\t\t\tSystem.out.println(temp[1]);\n\t\t\t\t}else {\n\t\t\t\t\tString[] temp = querySolution.get(result).toString().split(\"#\");\n\t\t\t\t\tSystem.out.println(temp[0]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tqueryExecution.close();\n\t\t\n\t\t\n\t}", "public static void queryAndDataToCSV() throws IOException {\r\n\t\t@SuppressWarnings(\"resource\")\r\n\t\tBufferedWriter writer = new BufferedWriter(new FileWriter(\"Graph\"+x+\".csv\"));\r\n\t\tArrayList<ArrayList<String>> dataset =ReadInDataset.finalDataset;\r\n\t\tfor (int i=0; i< dataset.size(); i++) {\r\n\t\t\tString entry= dataset.get(i).get(1)+\",\"+ dataset.get(i).get(2);\r\n\t\t\tif (i< Queries.NumberOfQueries) {\r\n\t\t\t\tfor (int x=0; x<(Queries.NumberOfDimensions/2)-1;x++) {\r\n\t\t\t\tentry = entry+\",\"+query.get(i).get(x).get(0) +\",\" +query.get(i).get(x).get(1);\r\n\t\t\t\tentry = entry+\",\"+query.get(i).get(x+1).get(0) +\",\" +query.get(i).get(x+1).get(1);\r\n\t\t\t\t\r\n\t\t\t}}\r\n\t\t\twriter.write(entry);\r\n\t\t\twriter.newLine();\r\n\t\t}\r\n\t\twriter.close();\r\n\t}", "String getClassSQLContract(){\n return buffer.toString();\n\t}", "public static void main(String[] args) throws Exception {\n CalciteConnection connection = new SimpleCalciteConnection();\n String salesSchema = Resources.toString(SimpleQueryPlanner2.class.getResource(\"/sales.json\"), Charset.defaultCharset());\n // ModelHandler reads the sales schema and load the schema to connection's root schema and sets the default schema\n new ModelHandler(connection, \"inline:\" + salesSchema);\n\n // Create the query planner with sales schema. conneciton.getSchema returns default schema name specified in sales.json\n SimpleQueryPlanner2 queryPlanner = new SimpleQueryPlanner2(connection.getRootSchema().getSubSchema(connection.getSchema()));\n RelNode logicalPlan = queryPlanner.getLogicalPlan(\"select id,product from orders where product='paint' and units>=5\");\n System.out.println(logicalPlan.getDescription());\n System.out.println(RelOptUtil.toString(logicalPlan));\n\n System.out.println(\"======================================\");\n\n queryPlanner = new SimpleQueryPlanner2(connection.getRootSchema().getSubSchema(connection.getSchema()));\n //RelNode plan = queryPlanner.getTRel(\"select id,product from orders where product='paint' and units>=5\"); // TODO 报错\n RelNode plan = queryPlanner.getTRel(\"select id,product from orders\");\n System.out.println(RelOptUtil.toString(plan));\n ((TRel) plan).doSomething(0);\n }", "String diagnosticsOutput();", "StringBuffer getSparqlHeader(StringBuffer sb) {\r\n \tString SPACE = KeywordPP.SPACE;\r\n \tList<Constant> from = getFrom();\r\n \tList<Constant> named = getNamed();\r\n \tList<Variable> select = getSelectVar();\r\n\r\n \t// Select\r\n \tif (isSelect()) {\r\n \t\tsb.append(KeywordPP.SELECT + SPACE);\r\n \t\t\r\n \t\tif (isDebug())\r\n \t\t\tsb.append(KeywordPP.DEBUG + SPACE);\r\n \t\t\r\n \t\tif (isMore())\r\n \t\t\tsb.append(KeywordPP.MORE + SPACE);\r\n \t\t\r\n \t\tif (isDistinct())\r\n \t\t\tsb.append(KeywordPP.DISTINCT + SPACE);\r\n\r\n \t\tif (isSelectAll()) {\r\n \t\t\tsb.append(KeywordPP.STAR + SPACE);\r\n \t\t}\r\n \t\t\r\n \t\tif (select != null && select.size()>0){\r\n \t\t\tfor (Variable s : getSelectVar()){\r\n \r\n \t\t\t\tif (getExpression(s) != null) {\r\n \t\t\t\t\texpr(getExpression(s), s, sb);\r\n \t\t\t\t}\r\n \t\t\t\telse {\r\n \t\t\t\t\tsb.append(s);\r\n \t\t\t\t}\r\n sb.append(SPACE);\r\n \t\t\t}\r\n \t\t} \r\n \t\t\r\n \t} \r\n \telse if (isAsk()) {\r\n \t\tsb.append(KeywordPP.ASK + SPACE);\r\n \t} \r\n \telse if (isDelete()) {\r\n \t\tsb.append(KeywordPP.DELETE + SPACE); \r\n \t\tif (isDeleteData()){\r\n \t\t\tsb.append(KeywordPP.DATA + SPACE); \r\n\t\t\t}\r\n \t\tgetDelete().toString(sb);\r\n \t\t\r\n \t\tif (isInsert()){\r\n \t\t\tsb.append(KeywordPP.INSERT + SPACE); \r\n \t\tgetInsert().toString(sb); \r\n \t\t}\r\n \t\t\r\n \t}\r\n \telse if (isConstruct()) {\r\n \t\tif (isInsert()){\r\n \t\t\tsb.append(KeywordPP.INSERT + SPACE); \r\n \t\t\tif (isInsertData()){\r\n \t\t\tsb.append(KeywordPP.DATA + SPACE); \r\n \t\t\t}\r\n \t\tgetInsert().toString(sb); \r\n \t\t}\r\n \t\telse if (getConstruct() != null){\r\n \t\tsb.append(KeywordPP.CONSTRUCT + SPACE); \r\n \t\tgetConstruct().toString(sb); \r\n \t\t}\r\n \t\telse if (getInsert() != null){\r\n \t\tsb.append(KeywordPP.INSERT + SPACE); \r\n \t\tgetInsert().toString(sb); \r\n \t\t}\r\n \t\telse if (getDelete() != null){\r\n \t\tsb.append(KeywordPP.DELETE + SPACE); \r\n \t\tif (isDeleteData()){\r\n \t\t\tsb.append(KeywordPP.DATA + SPACE); \r\n \t\t\t}\r\n \t\tgetDelete().toString(sb); \r\n \t\t}\r\n \t} \r\n \telse if (isDescribe()) {\r\n \t\tsb.append(KeywordPP.DESCRIBE + SPACE);\r\n \t\t\r\n \t\tif (isDescribeAll()) {\r\n \t\t\tsb.append(KeywordPP.STAR + SPACE);\r\n \t\t} \r\n \t\telse if (adescribe != null && adescribe.size()>0) {\r\n\r\n \t\t\tfor (Atom at : adescribe) {\r\n \t\t\t\tat.toString(sb);\r\n \t\t\t\tsb.append(SPACE);\r\n \t\t\t}\r\n \t\t}\r\n \t} \r\n \t\r\n \t// DataSet\r\n \t//if (! isConstruct()) // because it's already done in the construct case\r\n \t\tsb.append(NL);\r\n \t\r\n \t// From\r\n \tfor (Atom name: from) {\r\n \t\tsb.append(KeywordPP.FROM + SPACE);\r\n \t\tname.toString(sb);\r\n \t\tsb.append(NL);\r\n \t}\r\n \t\r\n \t// From Named\r\n \tfor (Atom name : named) {\r\n \t\tsb.append(KeywordPP.FROM + SPACE + KeywordPP.NAMED + SPACE);\r\n \t\tname.toString(sb);\r\n \t\tsb.append(NL);\r\n \t}\r\n \t\r\n \t// Where\r\n \tif ((! (isDescribe() && ! isWhere())) && ! isData() ){\r\n \t\tsb.append(KeywordPP.WHERE + NL) ; \r\n \t}\r\n\r\n \treturn sb;\r\n }", "protected String buildDataQuery() {\n StringBuilder sql = new StringBuilder(\"select\");\n String delim = \" \";\n for (String vname : getColumnNames()) {\n sql.append(delim).append(vname);\n delim = \", \";\n }\n \n Element ncElement = getNetcdfElement();\n \n String table = ncElement.getAttributeValue(\"dbTable\");\n if (table == null) {\n String msg = \"No database table defined. Must set 'dbTable' attribute.\";\n _logger.error(msg);\n throw new TSSException(msg);\n }\n sql.append(\" from \" + table);\n \n String predicate = ncElement.getAttributeValue(\"predicate\");\n if (predicate != null) sql.append(\" where \" + predicate);\n \n //Order by time.\n String tname = getTimeVarName();\n sql.append(\" order by \"+tname+\" ASC\");\n \n return sql.toString();\n }", "private static StringBuffer generateProvenanceProcedure(String query,\n\t int qIndex) {\n\n\t/*\n\t * First, we need the list of the FROM clause atoms/aliases that we will\n\t * use to augment the SELECT clause with ROWIDs. assume the query is an\n\t * SPJ Select .... From... Where .\n\t */\n\tString uQuery = query.toUpperCase();\n\n\tint fromIndex = uQuery.indexOf(\"FROM\");\n\tint whereIndex = uQuery.indexOf(\"WHERE\");\n\n\tif (whereIndex == -1) {\n\t whereIndex = uQuery.length();\n\t}\n\tString fromClause = query.substring(fromIndex + 4, whereIndex - 1)\n\t\t.trim();\n\t// System.out.println(\"From: \"+fromClause);\n\tStringTokenizer st = new StringTokenizer(fromClause, \",\");\n\n\t// Keep the list of FROM clause atoms\n\tList<String> fromAtoms = new ArrayList<String>();\n\twhile (st.hasMoreTokens()) {\n\t String thisFromAtom = st.nextToken().trim();\n\n\t // System.out.println(\"Atom:\"+thisFromAtom);\n\n\t // bug fixed\n\t // bug: didn't consider \"as\"\n\t if (thisFromAtom.contains(\"as\")) {\n\t\tStringTokenizer atomTok = new StringTokenizer(thisFromAtom,\n\t\t\t\"as\");\n\t\tString atomAlias = atomTok.nextToken();\n\t\tif (atomTok.hasMoreTokens())\n\t\t atomAlias = atomTok.nextToken();\n\t\tfromAtoms.add(atomAlias);\n\t } else if (thisFromAtom.contains(\"AS\")) {\n\t\tStringTokenizer atomTok = new StringTokenizer(thisFromAtom,\n\t\t\t\"AS\");\n\t\tString atomAlias = atomTok.nextToken();\n\t\tif (atomTok.hasMoreTokens())\n\t\t atomAlias = atomTok.nextToken();\n\t\tfromAtoms.add(atomAlias);\n\t } else {\n\t\tStringTokenizer atomTok = new StringTokenizer(thisFromAtom, \" \");\n\t\tString atomAlias = atomTok.nextToken();\n\t\tif (atomTok.hasMoreTokens())\n\t\t atomAlias = atomTok.nextToken();\n\t\tfromAtoms.add(atomAlias);\n\t }\n\n\t // original code from Bogdan\n\t // StringTokenizer atomTok = new StringTokenizer(thisFromAtom,\" \");\n\t // String atomAlias = atomTok.nextToken();\n\t // if(atomTok.hasMoreTokens())\n\t // atomAlias=atomTok.nextToken();\n\t // fromAtoms.add(atomAlias);\n\n\t}\n\n\t// System.out.println(\"FROM atoms:\"+fromAtoms);\n\n\t/*\n\t * the extension to the SELECT clause which will be used to extract the\n\t * ROWIDs of the source tuples (why-provenance)\n\t */\n\tStringBuffer selectExtension = new StringBuffer();\n\tfor (int i = 1; i <= fromAtoms.size(); i++) {\n\t String fromAtom = fromAtoms.get(i - 1);\n\t selectExtension.append(\", \" + fromAtom + \".\"\n\t\t + Parameters.ROWID_ATT_NAME);\n\t selectExtension.append(\" as src\" + i + \"_ID\");\n\t}\n\tselectExtension.append(\"\\n\\t\\t \");\n\n\t// System.out.println(\"Select extension: \"+selectExtension);\n\tStringBuffer buffer = new StringBuffer();\n\t// buffer.append(\"DELIMITER !\\n\");\n\tbuffer.append(\"CREATE PROCEDURE \" + Parameters.TRACK_PROV_PROCNAME\n\t\t+ \"()\\n\");\n\tbuffer.append(\"BEGIN\\n\\n\");\n\tbuffer.append(\"\\t declare deriv_no int default 0;\\n\");\n\tbuffer.append(\"\\t declare done int default 0;\\n\\n\");\n\n\t// declare res_id_var, src1_id_var, src2_id_var int;\n\tbuffer.append(\"\\t declare res_id_var\");\n\tfor (int i = 1; i <= fromAtoms.size(); i++) {\n\t buffer.append(\", src\" + i + \"_id_var\");\n\t}\n\tbuffer.append(\" int;\\n\");\n\t// declare prov_cursor cursor for\n\t// select __ROWID, src1_ID, src2_ID\n\t// from Q1_RES q_result\n\t// natural join\n\t// (\n\t// select r1.A as A, r1.__ROWID as src1_ID, r2.__ROWID as src2_ID\n\t// from R r1, R r2\n\t// where r1.B=r2.A\n\t// ) prov_query;\n\tbuffer.append(\"\\t declare prov_cursor cursor for\\n\");\n\tbuffer.append(\"\\t\\t select \" + Parameters.ROWID_ATT_NAME);\n\tfor (int i = 1; i <= fromAtoms.size(); i++) {\n\t buffer.append(\", src\" + i + \"_ID\");\n\t}\n\tbuffer.append(\"\\n\");\n\tbuffer.append(\"\\t\\t from \" + Parameters.QUERY_RESULT_PREFIX + qIndex\n\t\t+ Parameters.QUERY_RESULT_SUFFIX);\n\tbuffer.append(\" q_result\\n\");\n\tbuffer.append(\"\\t\\t natural join\\n\");\n\tbuffer.append(\"\\t\\t (\\n\");\n\t// the augmented query here:\n\tStringBuffer queryBuf = new StringBuffer(query);\n\tqueryBuf.insert(fromIndex, selectExtension); // right before the FROM\n\t\t\t\t\t\t // clause\n\tbuffer.append(\"\\t\\t \" + queryBuf + \"\\n\");\n\tbuffer.append(\"\\t\\t ) prov_query;\\n\\n\");\n\tbuffer.append(\"\\t declare continue handler for not found set done = 1;\\n\\n\");\n\tbuffer.append(\"\\t open prov_cursor;\\n\\n\");\n\tbuffer.append(\"\\t read_loop: loop\\n\\n\");\n\tbuffer.append(\"\\t\\t fetch prov_cursor into res_id_var\");\n\t// , src1_id_var, src2_id_var;\n\tfor (int i = 1; i <= fromAtoms.size(); i++) {\n\t buffer.append(\", src\" + i + \"_id_var\");\n\t}\n\tbuffer.append(\";\\n\\n\");\n\tbuffer.append(\"\\t\\t if done then leave read_loop;\\n\");\n\tbuffer.append(\"\\t\\t end if;\\n\\n\");\n\tfor (int i = 1; i <= fromAtoms.size(); i++) {\n\t buffer.append(\"\\t\\t insert ignore into PROV values (res_id_var,deriv_no,src\"\n\t\t + i + \"_id_var);\\n\");\n\t}\n\t// insert ignore into PROV values (res_id_var,deriv_no,src1_id_var);\n\t// insert ignore into PROV values (res_id_var,deriv_no,src2_id_var);\n\tbuffer.append(\"\\n\\t\\t set deriv_no = deriv_no + 1;\\n\\n\");\n\tbuffer.append(\"\\t end loop;\\n\\n\");\n\tbuffer.append(\"\\t close prov_cursor;\\n\\n\");\n\tbuffer.append(\"END\\n\");\n\treturn buffer;\n }", "public String getResult(){\n \tString result = \"OK\";\n System.out.print(this.mainQuery);\n Query query = QueryFactory.create(this.mainQuery);\n Query querycount = QueryFactory.create(this.countQuery);\n //System.out.println(this.countQuery);\n QueryExecution qexecCount = QueryExecutionFactory.create(querycount, Initialisation.getModel());\n QueryExecution qexec = QueryExecutionFactory.create(query, Initialisation.getModel());\n try{\n \torg.apache.jena.query.ResultSet results = qexec.execSelect();\n //////////////////////////\n org.apache.jena.query.ResultSet resultsCount = qexecCount.execSelect();\n \tint compteur = 0;\n while (resultsCount.hasNext()){\n QuerySolution soln = resultsCount.nextSolution();\n compteur = soln.getLiteral(\"count\").getInt();\n }\n //System.out.println(\"Compteur = \"+compteur );\n if(compteur>1){\n return \"NONE\";\n }\n else if (compteur==0){\n return \"NF\";\n }\n /////////////////////////\n \twhile (results.hasNext()){\n \t\tcompteur++;\n \t\tQuerySolution soln = results.nextSolution();\n \t\tLiteral title = soln.getLiteral(\"label\");\n \t\tLiteral comment = soln.getLiteral(\"comment\");\n \t\tthis.title = title.getString().replace(\"-\",\" \");\n \t\ttry{\n \t\tthis.comment = comment.getString();\n \t\t}\n \t\tcatch(NullPointerException e){\n \t\t\tthis.comment = \"There is not any summary available for this film.\";\n \t\t}\n \t}\n\n }\n finally{\n \tqexec.close();\n }\n \n return result;\n }", "@Override\n public void run() {\n try {\n // EXPORT CONNECTION \n //System.out.println(t3.get(c));\n Class.forName(t2.get(c)).newInstance();\n Connection conn1 = DriverManager.getConnection(t3.get(c) + \"?verifyServerCertificate=false&useSSL=true\", t4.get(c), t5.get(c));\n //System.out.println(t1.get(c));\n // GETTING DATA FROM TABLE 1\n String exportQuery = \"SELECT * FROM \" + t1.get(c);\n PreparedStatement statement1 = conn1.prepareStatement(exportQuery);\n ResultSet rs = statement1.executeQuery();\n ResultSetMetaData rsmd = rs.getMetaData();\n List<String> columnNames = new ArrayList<String>();\n Object temp = null;\n int columnCount = rsmd.getColumnCount();\n for (int i = 1; i <= columnCount; i++) {\n columnNames.add(rsmd.getColumnName(i));\n }\n //System.out.println(sb.toString());\n while (rs.next()) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"INSERT INTO \" + t1.get(0) + \" (\" + d + \") VALUES (\");\n for (int k = 0; k < columnCount; k++) {\n if (rsmd.getColumnType(k + 1) == Types.INTEGER) {\n temp = rs.getInt(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.VARCHAR || rsmd.getColumnType(k + 1) == Types.CHAR) {\n temp = rs.getString(k + 1);\n sb.append(\"'\" + temp + \"', \");\n } else if (rsmd.getColumnType(k + 1) == Types.DECIMAL) {\n temp = rs.getFloat(k + 1);\n //System.out.println(\"temp \" + temp);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.BOOLEAN) {\n temp = rs.getBoolean(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.DATE) {\n temp = rs.getDate(k + 1);\n sb.append(\"'\" + temp + \"', \");\n }\n //sb.append(temp + \", \");\n }\n sb.setLength(sb.length() - 2);\n sb.append(\");\");\n //System.out.println(sb.toString());\n String query2 = sb.toString();\n //System.out.println(query2);\n // NEED TO PERFORM A QUERY FOR EACH ROW\n PreparedStatement pstmt;\n pstmt = iconn.prepareStatement(query2);\n pstmt.executeUpdate();\n\n }\n \n } catch (ClassNotFoundException | IllegalAccessException | InstantiationException | SQLException e) {\n System.err.println(e);\n } finally {\n //System.out.println();\n }\n\n }", "public String toString(){\t\t\n //---------------------------------------------------------------------------\n StringBuffer buff=new StringBuffer(\"\\n*****ClassSQLContract: \"); \n buff.append(\"\\tbuffer=\"+buffer.toString()); \n buff.append(\"\\theaderDefinition=\"+header); \n buff.append(\"\\tsqlTagsGeneratorTable=\"+sqlTagsGeneratorTable); \n buff.append(\"\\ttableName=\"+tableName); \n return buff.toString(); \n\t}", "public static String getAllEvaluationAsString(String query, Vector<String> retrievalResults, Map<String, DocumentRelevances> judgments) throws IOException{\n double precisionAt1 = precisionAtK(retrievalResults, 1, judgments);\n double precisionAt5 = precisionAtK(retrievalResults, 5, judgments);\n double precisionAt10 = precisionAtK(retrievalResults, 10, judgments);\n double recallAt1 = recallAtK(retrievalResults, 1, judgments);\n double recallAt5 = recallAtK(retrievalResults, 5, judgments);\n double recallAt10 = recallAtK(retrievalResults, 10, judgments);\n double F05At1 = F05AtK(retrievalResults, 1, judgments);\n double F05At5 = F05AtK(retrievalResults, 5, judgments);\n double F05At10 = F05AtK(retrievalResults, 10, judgments);\n double[] precisionsAtRecalls = precisionAtRecall(retrievalResults, judgments);\n double averagePrecision = averagePrecision(retrievalResults, judgments);\n double NDCGAt1 = NDCGAtK(retrievalResults, 1, judgments);\n double NDCGAt5 = NDCGAtK(retrievalResults, 5, judgments);\n double NDCGAt10 = NDCGAtK(retrievalResults, 10, judgments);\n double reciprocalRank = reciprocalRank(retrievalResults, judgments);\n \n String output = query+\"\\n\"+\n \t\t \"Precision at 1: \"+Double.toString(precisionAt1)+\"\\n\"+\n \t\t \"Precision at 5: \"+Double.toString(precisionAt5)+\"\\n\"+\n \t\t \"Precision at 10: \"+Double.toString(precisionAt10)+\"\\n\"+\n \t\t \"Recall at 1: \"+Double.toString(recallAt1)+\"\\n\"+\n \t\t \"Recall at 5: \"+Double.toString(recallAt5)+\"\\n\"+\n \t\t \"Recall at 10: \"+Double.toString(recallAt10)+\"\\n\"+\n \t\t \"F05 at 1: \"+Double.toString(F05At1)+\"\\n\"+\n \t\t \"F05 at 5: \"+Double.toString(F05At5)+\"\\n\"+\n \t\t \"F05 at 10: \"+Double.toString(F05At10)+\"\\n\"+\n \t\t \"Precision at Recall 0.0: \"+Double.toString(precisionsAtRecalls[0])+\"\\n\"+\n \t\t \"Precision at Recall 0.1: \"+Double.toString(precisionsAtRecalls[1])+\"\\n\"+\n \t\t \"Precision at Recall 0.2: \"+Double.toString(precisionsAtRecalls[2])+\"\\n\"+\n \t\t \"Precision at Recall 0.3: \"+Double.toString(precisionsAtRecalls[3])+\"\\n\"+\n \t\t \"Precision at Recall 0.4: \"+Double.toString(precisionsAtRecalls[4])+\"\\n\"+\n \t\t \"Precision at Recall 0.5: \"+Double.toString(precisionsAtRecalls[5])+\"\\n\"+\n \t\t \"Precision at Recall 0.6: \"+Double.toString(precisionsAtRecalls[6])+\"\\n\"+\n \t\t \"Precision at Recall 0.7: \"+Double.toString(precisionsAtRecalls[7])+\"\\n\"+\n \t\t \"Precision at Recall 0.8: \"+Double.toString(precisionsAtRecalls[8])+\"\\n\"+\n \t\t \"Precision at Recall 0.9: \"+Double.toString(precisionsAtRecalls[9])+\"\\n\"+\n \t\t \"Precision at Recall 1.0: \"+Double.toString(precisionsAtRecalls[10])+\"\\n\"+\n \t\t \"Average precision: \"+Double.toString(averagePrecision)+\"\\n\"+\n \t\t \"NDCG at 1: \"+Double.toString(NDCGAt1)+\"\\n\"+\n \t\t \"NDCG at 5: \"+Double.toString(NDCGAt5)+\"\\n\"+\n \t\t \"NDCG at 10: \"+Double.toString(NDCGAt10)+\"\\n\"+\n \t\t \"Reciprocal rank: \"+Double.toString(reciprocalRank);\n\t\t\t\t\t\t\t\t\n return output;\n }", "public static void main(String[] args) throws InterruptedException, FileNotFoundException, IOException {\n for (int i = 0; i < args.length; i++) {\n //System.out.println(args[i]);\n }\n RunSQL2 r = new RunSQL2();\n r.ReadCatalog(args[0]);\n String lines;\n String mainQuery = \"\";\n List<String> tokens = new ArrayList<String>();\n List<String> select = new ArrayList<String>();\n List<String> from = new ArrayList<String>();\n List<String> where = new ArrayList<String>();\n StringBuilder line = new StringBuilder();\n List<String> colName = new ArrayList<String>();\n List<String> ttable = new ArrayList<String>();\n String path = args[1];\n tt1 = new ArrayList<String>();\n tt2 = new ArrayList<String>();\n tt3 = new ArrayList<String>();\n tt4 = new ArrayList<String>();\n tt5 = new ArrayList<String>();\n String tname;\n int tCount = 0;\n int ttCount = 0;\n BufferedReader br = new BufferedReader(new FileReader(path));\n while ((lines = br.readLine()) != null) {\n line.append(lines + \" \");\n }\n if (line.lastIndexOf(\";\") > -1) {\n line.deleteCharAt(line.lastIndexOf(\";\"));\n }\n mainQuery = line.toString();\n StringTokenizer st = new StringTokenizer(line.toString(), \" \");\n while (st.hasMoreTokens()) {\n tokens.add(st.nextToken());\n }\n for (int i = 0; i < tokens.size(); i++) { // SELECTED ATTRIBUTES\n if (tokens.get(i).equalsIgnoreCase(\"select\")) {\n if (tokens.get(i + 1) != null) {\n int j = i;\n while (!tokens.get(j + 1).equalsIgnoreCase(\"from\")) {\n if (tokens.get(j + 1).substring(tokens.get(j + 1).length() - 1).equals(\",\")) {\n StringBuilder sb = new StringBuilder(tokens.get(j + 1));\n sb.deleteCharAt(tokens.get(j + 1).length() - 1);\n select.add(sb.toString());\n } else {\n select.add(tokens.get(j + 1));\n }\n j++;\n }\n }\n }\n if (tokens.get(i).equalsIgnoreCase(\"from\")) {\n // TODO: SQL TABLE FROM CLAUSE FORMAT [TABLE S], OR [TABLE]\n if (tokens.get(i + 2) != null) {\n int j = i;\n while (!tokens.get(j + 2).equalsIgnoreCase(\"where\")) {\n //TODO QUERY ERROR IF NO WHERE CLAUSE\n //System.out.println(j);\n //System.out.println(tokens.get(j).toString());\n if (tokens.get(j + 1).substring(tokens.get(j + 1).length() - 1).equals(\",\")) {\n StringBuilder sb = new StringBuilder(tokens.get(j + 1));\n sb.deleteCharAt(tokens.get(j + 1).length() - 1);\n from.add(sb.toString());\n } else {\n from.add(tokens.get(j + 1));\n }\n if (j > tokens.size() - 1) {\n break;\n }\n j++;\n }\n }\n }\n }\n\n try {\n String query = \"\";\n List<String> columnNames = new ArrayList<String>();\n Class.forName(driver).newInstance();\n Connection conn;\n Statement stmt = null;\n conn = DriverManager.getConnection(connUrl + \"?verifyServerCertificate=false&useSSL=true\", connUser, connPwd);\n br = new BufferedReader(new FileReader(path));\n query = \"SELECT * FROM DTABLES\";\n PreparedStatement statement = conn\n .prepareStatement(query);\n ResultSet rs = statement.executeQuery();\n while (rs.next()) {\n if (rs.getString(\"TNAME\") != null) {\n tname = rs.getString(\"TNAME\").replaceAll(\"\\\\s+\", \"\");\n if (tname.equalsIgnoreCase(from.get(0))) {\n // TODO: MIGHT NEED TO CHANGE IT FOR DYNAMIC LOAD\n t1.add(tname);\n t2.add(rs.getString(\"NODEDRIVER\").replaceAll(\"\\\\s+\", \"\"));\n t3.add(rs.getString(\"NODEURL\").replaceAll(\"\\\\s+\", \"\"));\n t4.add(rs.getString(\"NODEUSER\").replaceAll(\"\\\\s+\", \"\"));\n t5.add(rs.getString(\"NODEPASSWD\").replaceAll(\"\\\\s+\", \"\"));\n tCount++;\n }\n if (tname.equalsIgnoreCase(from.get(2))) {\n // TODO: MIGHT NEED TO CHANGE IT FOR DYNAMIC LOAD\n tt1.add(tname);\n tt2.add(rs.getString(\"NODEDRIVER\").replaceAll(\"\\\\s+\", \"\"));\n tt3.add(rs.getString(\"NODEURL\").replaceAll(\"\\\\s+\", \"\"));\n tt4.add(rs.getString(\"NODEUSER\").replaceAll(\"\\\\s+\", \"\"));\n tt5.add(rs.getString(\"NODEPASSWD\").replaceAll(\"\\\\s+\", \"\"));\n ttCount++;\n }\n }\n }\n conn.close();\n\n // GET ATTRIBUTES FROM THE FIRST TABLE IN ORDER TO CREATE TEMP TABLE\n Class.forName(t2.get(0)).newInstance();\n conn = DriverManager.getConnection(t3.get(0) + \"?verifyServerCertificate=false&useSSL=true\", t4.get(0), t5.get(0));\n query = \"SELECT * FROM \" + t1.get(0);\n //System.out.println(query);\n statement = conn\n .prepareStatement(query);\n rs = statement.executeQuery();\n ResultSetMetaData rsmd = rs.getMetaData();\n int columnCount = rsmd.getColumnCount();\n StringBuilder sb = new StringBuilder();\n StringBuilder sb1 = new StringBuilder();\n String name;\n String export;\n String tempQuery = \"\";\n // if it is the first node, create temp table\n for (int i = 1; i <= columnCount; i++) {\n colName.add(rsmd.getColumnName(i));\n name = rsmd.getColumnName(i);\n sb1.append(name + \", \");\n if (rsmd.getColumnType(i) == Types.INTEGER) {\n sb.append(name + \" INT, \");\n } else if (rsmd.getColumnType(i) == Types.VARCHAR) {\n sb.append(name + \" VARCHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.CHAR) {\n sb.append(name + \" CHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.VARCHAR) {\n sb.append(name + \" VARCHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.DATE) {\n sb.append(name + \" DATE, \");\n } else if (rsmd.getColumnType(i) == Types.DECIMAL) {\n sb.append(name + \" DECIMAL (15, 2), \");\n }\n }\n sb1.setLength(sb1.length() - 2);\n sb.setLength(sb.length() - 2);\n tempQuery = sb.toString();\n export = sb1.toString();\n\n //System.out.println(sb.toString());\n conn.close();\n\n Class.forName(tt2.get(0)).newInstance();\n conn = DriverManager.getConnection(tt3.get(0) + \"?verifyServerCertificate=false&useSSL=true\", tt4.get(0), tt5.get(0));\n query = \"SELECT * FROM \" + tt1.get(0);\n //System.out.println(query);\n statement = conn\n .prepareStatement(query);\n rs = statement.executeQuery();\n rsmd = rs.getMetaData();\n columnCount = rsmd.getColumnCount();\n StringBuilder sb2 = new StringBuilder();\n StringBuilder sb3 = new StringBuilder();\n String name1;\n String export1;\n String tempQuery1 = \"\";\n // if it is the first node, create temp table\n for (int i = 1; i <= columnCount; i++) {\n colName.add(rsmd.getColumnName(i));\n name1 = rsmd.getColumnName(i);\n sb3.append(name1 + \", \");\n if (rsmd.getColumnType(i) == Types.INTEGER) {\n sb2.append(name1 + \" INT, \");\n } else if (rsmd.getColumnType(i) == Types.VARCHAR) {\n sb2.append(name1 + \" VARCHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.CHAR) {\n sb2.append(name1 + \" CHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.VARCHAR) {\n sb2.append(name1 + \" VARCHAR(128), \");\n } else if (rsmd.getColumnType(i) == Types.DATE) {\n sb2.append(name1 + \" DATE, \");\n } else if (rsmd.getColumnType(i) == Types.DECIMAL) {\n sb2.append(name1 + \" DECIMAL (15, 2), \");\n }\n }\n sb3.setLength(sb3.length() - 2);\n sb2.setLength(sb2.length() - 2);\n tempQuery1 = sb2.toString();\n export1 = sb3.toString();\n //System.out.println(tempQuery1);\n\n //System.out.println(sb.toString());\n conn.close();\n\n // FOR TESTING\n for (int x = 0; x < tt1.size(); x++) {\n //System.out.println(tt1.get(x));\n }\n\n // MAIN\n // CREATE TEMP TABLE FIRST AND JOIN TABLES\n // NOTE: CLOSING CONNECTION WILL DELETE TEMP TABLE\n Class.forName(localdriver).newInstance();\n // NEW CONNECTION (DO NOT USE CONN OR ELSE TEMP TABLE MIGHT DROP)\n final Connection iconn = DriverManager.getConnection(localconnUrl + \"?verifyServerCertificate=false&useSSL=true\", localconnUser, localconnPwd);\n query = \"CREATE TEMPORARY TABLE \" + t1.get(0) + \" (\" + tempQuery + \")\"; // TEMP TABLE FOR TABLE 1\n //System.out.println(query);\n stmt = iconn.createStatement();\n stmt.executeUpdate(query);\n\n query = \"CREATE TEMPORARY TABLE \" + tt1.get(0) + \" (\" + tempQuery1 + \")\"; // TEMP TABLE FOR TABLE 2\n //System.out.println(query);\n stmt = iconn.createStatement();\n stmt.executeUpdate(query);\n\n Thread thread1[] = new Thread[tCount];\n Thread thread2[] = new Thread[ttCount];\n\n for (int z = 0; z < tCount; z++) {\n final int c = z;\n final String d = export;\n // EXPORT ALL DATA TO TEMP TABLE\n thread1[z] = new Thread(new Runnable() {\n @Override\n public void run() {\n //System.out.println(\"Working on \" + Thread.currentThread());\n try {\n // EXPORT CONNECTION \n //System.out.println(t3.get(c));\n Class.forName(t2.get(c)).newInstance();\n Connection conn1 = DriverManager.getConnection(t3.get(c) + \"?verifyServerCertificate=false&useSSL=true\", t4.get(c), t5.get(c));\n //System.out.println(t1.get(c));\n // GETTING DATA FROM TABLE 1\n String exportQuery = \"SELECT * FROM \" + t1.get(c);\n PreparedStatement statement1 = conn1.prepareStatement(exportQuery);\n ResultSet rs = statement1.executeQuery();\n ResultSetMetaData rsmd = rs.getMetaData();\n List<String> columnNames = new ArrayList<String>();\n Object temp = null;\n int columnCount = rsmd.getColumnCount();\n for (int i = 1; i <= columnCount; i++) {\n columnNames.add(rsmd.getColumnName(i));\n }\n //System.out.println(sb.toString());\n while (rs.next()) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"INSERT INTO \" + t1.get(0) + \" (\" + d + \") VALUES (\");\n for (int k = 0; k < columnCount; k++) {\n if (rsmd.getColumnType(k + 1) == Types.INTEGER) {\n temp = rs.getInt(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.VARCHAR || rsmd.getColumnType(k + 1) == Types.CHAR) {\n temp = rs.getString(k + 1);\n sb.append(\"'\" + temp + \"', \");\n } else if (rsmd.getColumnType(k + 1) == Types.DECIMAL) {\n temp = rs.getFloat(k + 1);\n //System.out.println(\"temp \" + temp);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.BOOLEAN) {\n temp = rs.getBoolean(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.DATE) {\n temp = rs.getDate(k + 1);\n sb.append(\"'\" + temp + \"', \");\n }\n //sb.append(temp + \", \");\n }\n sb.setLength(sb.length() - 2);\n sb.append(\");\");\n //System.out.println(sb.toString());\n String query2 = sb.toString();\n //System.out.println(query2);\n // NEED TO PERFORM A QUERY FOR EACH ROW\n PreparedStatement pstmt;\n pstmt = iconn.prepareStatement(query2);\n pstmt.executeUpdate();\n\n }\n \n } catch (ClassNotFoundException | IllegalAccessException | InstantiationException | SQLException e) {\n System.err.println(e);\n } finally {\n //System.out.println();\n }\n\n }\n });\n thread1[z].start();\n }\n\n // CREATE TEMP TABLE FOR SECOND TABLE\n for (int i = 0; i < ttCount; i++) {\n final int c = i;\n thread2[i] = new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n //System.out.println(\"Working on \" + Thread.currentThread());\n // THIS PART WILL INSERT TABLE 2 DATA TO A NODE\n //if (tt3.get(c).compareToIgnoreCase(localconnUrl) != 0) {\n //System.out.println(tt3.get(c));\n //System.out.println(localconnUrl);\n Class.forName(tt2.get(c)).newInstance();\n Connection conn1 = DriverManager.getConnection(tt3.get(c) + \"?verifyServerCertificate=false&useSSL=true\", tt4.get(c), tt5.get(c));\n String exportQuery = \"SELECT * FROM \" + tt1.get(c);\n PreparedStatement statement1 = conn1.prepareStatement(exportQuery);\n ResultSet rs = statement1.executeQuery();\n ResultSetMetaData rsmd = rs.getMetaData();\n List<String> columnNames = new ArrayList<String>();\n Object temp = null;\n String name = null;\n int columnCount = rsmd.getColumnCount();\n StringBuilder sb1 = new StringBuilder();\n for (int i = 1; i <= columnCount; i++) {\n //System.out.println(rsmd.getColumnName(i));\n columnNames.add(rsmd.getColumnName(i));\n sb1.append(rsmd.getColumnName(i) + \", \");\n }\n sb1.setLength(sb1.length() - 2);\n name = sb1.toString();\n while (rs.next()) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"INSERT INTO \" + tt1.get(0) + \" (\" + name + \") VALUES (\");\n for (int k = 0; k < columnCount; k++) {\n if (rsmd.getColumnType(k + 1) == Types.INTEGER) {\n temp = rs.getInt(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.VARCHAR || rsmd.getColumnType(k + 1) == Types.CHAR) {\n temp = rs.getString(k + 1);\n sb.append(\"'\" + temp + \"', \");\n } else if (rsmd.getColumnType(k + 1) == Types.DECIMAL) {\n temp = rs.getDouble(k + 1);\n sb.append(\"'\" + temp + \"', \");\n } else if (rsmd.getColumnType(k + 1) == Types.BOOLEAN) {\n temp = rs.getBoolean(k + 1);\n sb.append(temp + \", \");\n } else if (rsmd.getColumnType(k + 1) == Types.DATE) {\n temp = rs.getDate(k + 1);\n sb.append(\"'\" + temp + \"', \");\n }\n //sb.append(temp + \", \");\n }\n sb.setLength(sb.length() - 2);\n sb.append(\");\");\n String query2 = sb.toString();\n //System.out.println(query2);\n\n // NEED TO PERFORM A QUERY FOR EACH ROW\n PreparedStatement pstmt;\n pstmt = iconn.prepareStatement(query2);\n pstmt.executeUpdate();\n }\n //}\n\n } catch (Exception e) {\n System.err.println(e);\n } finally {\n //System.out.println(\"Done with \" + Thread.currentThread());\n }\n }\n });\n thread2[i].start();\n }\n\n //System.out.println(mainQuery);\n for (int z = 0; z < tCount; z++) {\n thread1[z].join();\n }\n\n for (int z = 0; z < ttCount; z++) {\n thread2[z].join();\n }\n\n // JOIN SQL PERFORMS HERE\n //System.out.println(mainQuery);\n statement = iconn\n .prepareStatement(mainQuery);\n rs = statement.executeQuery();\n rsmd = rs.getMetaData();\n Object temp;\n String output;\n columnCount = rsmd.getColumnCount();\n double temp1;\n while (rs.next()) {\n StringBuilder sbb = new StringBuilder();\n for (int k = 0; k < columnCount; k++) {\n if (rsmd.getColumnType(k + 1) == Types.INTEGER || rsmd.getColumnType(k + 1) == Types.BIGINT) {\n temp = rs.getInt(k + 1);\n sbb.append(temp + \" | \");\n } else if (rsmd.getColumnType(k + 1) == Types.VARCHAR || rsmd.getColumnType(k + 1) == Types.CHAR) {\n temp = rs.getString(k + 1);\n sbb.append(temp + \" | \");\n } else if (rsmd.getColumnType(k + 1) == Types.FLOAT || rsmd.getColumnType(k + 1) == Types.DECIMAL) {\n temp1 = rs.getDouble(k + 1);\n sbb.append(temp1 + \" | \");\n } else if (rsmd.getColumnType(k + 1) == Types.BOOLEAN) {\n temp = rs.getBoolean(k + 1);\n sbb.append(temp + \" | \");\n } else if (rsmd.getColumnType(k + 1) == Types.DATE) {\n temp = rs.getDate(k + 1);\n sbb.append(temp + \" | \");\n } else {\n temp = rs.getString(k + 1);\n sbb.append(temp + \" | \");\n }\n }\n sbb.setLength(sbb.length() - 1);\n output = sbb.toString();\n System.out.println(output);\n }\n\n conn.close();\n iconn.close();\n } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException | SQLException e) {\n System.err.println(e);\n }\n }", "Query query();", "private void debug(int[] query) {\n\t\tSystem.out.print(\"How many rounds you want? \");\n\t\tint round = scanner.nextInt();\n\t\tTJSGM tjsgm = new TJSGM();\n\t\tlong[][][][] result = new long[1][round][query.length][4];\n\t\tfor (int j = 0; j < round; j++) {\n\t\t\tfor (int i = 0; i < query.length; i++) {\n\t\t\t\tresult[0][j][i] = tjsgm.run(QUERY[query[i]]);\n\t\t\t}\n\t\t}\n\n\t\t// print\n\t\tString[] Q = {\"TJSGM\" };\n\t\tfor (int i = 0; i < result.length; i++) {// alg\n\t\t\tSystem.out.println(\"Algorithm:\" + Q[i]);\n\t\t\tfor (int k = 0; k < result[i][0].length; k++) {// query\n\t\t\t\tSystem.out.print(QUERY[query[k]] + \"\\t\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tfor (int j = 0; j < result[i].length; j++) {// round\n\n\t\t\t\tfor (int m = 0; m < 4; m++) {//t\n\t\t\t\t\tfor (long[] q : result[i][j]) {// query\n\t\t\t\t\t\tSystem.out.print(q[m]+\"\\t\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\t\t\n\t}", "void collectQuery(String system, int processNo, int processQueryNo, String query, double coverage, int pathCount, QueryPathList qpl, PrintStream output) throws SQLException {\n\t\t// Get all paths to print\n\t\t/*\nSELECT DISTINCT pathNo\nFROM evaluation\nWHERE algorithm = 'evosql' \n\tAND system = {system} AND processNo = {processNo} and queryNo = {processQueryNo}\n\tAND success = 0 \n\t\t */\n\t\tString sql = \"SELECT pathNo, SUM(success) success, SUM(1 - success) failures, GROUP_CONCAT(message SEPARATOR ' | ') messages \\r\\n\" + \n\t\t\t\t\"FROM evaluation\\r\\n\" + \n\t\t\t\t\"WHERE algorithm = 'evosql'\\r\\n\" + \n\t\t\t\t\"\tAND system = ? AND processNo = ? and queryNo = ?\\r\\n\" + \n\t\t\t\t\"GROUP BY pathNo\\r\\n\" + \n\t\t\t\t\"HAVING SUM(1 - success) > 0\\r\\n\" + \n\t\t\t\t\"ORDER BY pathNo\";\n\t\t\n\t\tPreparedStatement stmt = conn.prepareStatement(sql);\n\t\tstmt.setString(1, system);\n\t\tstmt.setInt(2, processNo);\n\t\tstmt.setInt(3, processQueryNo);\n\t\tResultSet result = stmt.executeQuery();\n\t\t/*\n\t\t// Print query info\n\t\toutput.print(\"\\n===================================\\n\");\n\t\toutput.print(\"Query: \" + system + \" - Process \" + processNo + \" query \" + processQueryNo + \"\\n\");\n\t\toutput.print(\"Coverage: \" + String.format(\"%.2f\", coverage) + \"\\n\");\n\t\toutput.print(getBeautifulSql(query));\n\t\toutput.print(\"\\n===================================\\n\");\n*/\n\t\tif (query.contains(\"EXISTS\") || query.contains(\"exists\"))\n\t\t\tthis.queriesExists += 1;\n\t\t\n\t\twhile (result.next()) {\n\t\t\tint pathNo = result.getInt(1);\n\t\t\tString pathSql = qpl.pathList.get(pathNo - 1);\n\t\t\tint successes = result.getInt(2);\n\t\t\tint failures = result.getInt(3);\n\t\t\tString messages = result.getString(4);\n\t\t\tif (successes > 0) continue;\n\t\t\t// Print Path info\n\t\t\toutput.print(\"\\n-----------------------------------\\n\");\n\t\t\toutput.print(\"Query: \" + system + \"-process\" + processNo + \", query \" + processQueryNo + \"\\n\");\n\t\t\toutput.print(\"Path \" + pathNo + \"/\" + pathCount + \" - \" + successes + \" successes, \" + failures + \" failures\\n\");\n\t\t\toutput.print(\"Failure messages: \" + messages + \"\\n\");\n\t\t\toutput.print(getBeautifulSql(pathSql));\n\t\t\toutput.print(\"\\n-----------------------------------\\n\");\n\n\t\t\tSystem.out.println(system + \"\\t\" + processNo + \"\\t\" + processQueryNo + \"\\t\" + pathNo);\n\t\t\t\n\t\t\tif (pathSql.contains(\"EXISTS\") || pathSql.contains(\"exists\"))\n\t\t\t\tthis.pathsExists += 1;\n\t\t}\n\t}", "public static void testQuery() {\n\t\tParameters parameters = new Parameters();\r\n\t\tparameters.setUrl(\"VchicleServlet.json?action=pagequery\");\r\n\t\tparameters.setList(new ArrayList<NameValuePair>());\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"pageSize\", \"2\"));\r\n\t\tparameters.getList().add(new BasicNameValuePair(\"currPage\", \"3\"));\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tString string = (String) MainUtilityTools.execute(parameters);\r\n\t}", "public ORM executeQuery(String query) {\n ResultSet rs = null;\n this.query =query;\n System.out.println(\"run: \" + this.query);\n //this.curId = 0;\n Statement statement;\n try {\n statement = this.conn.createStatement();\n rs = statement.executeQuery(this.query);\n //this.saveLog(0,\"\",query);\n } catch (SQLException e) {\n System.out.println( ColorCodes.ANSI_RED +\"ERROR in SQL: \" + this.query);\n // e.printStackTrace();\n }\n lastResultSet=rs;\n this.fields_values = \"\";\n return this;\n\n }", "private void sout() {\n\t\t\n\t}", "public void printStatement() {\n\t\t\n\t}", "protected StringBuilder generateQuery() {\n StringBuilder sb = new StringBuilder();\n sb.append(\" FROM \") \n .append(dao.getParameterClass(0).getName())\n .append(\" d WHERE (:incorrectEvent = '' OR d.incorrectEvent.id = :incorrectEvent) \")\n .append(\"AND (d.createDate BETWEEN :dateFrom AND :dateTo ) \")\n .append(\"AND ( ((:incorrectEvent ='' AND :incorrectEventName!='' AND UPPER(d.incorrectEvent.name) LIKE :incorrectEventName) \")\n .append(\" OR (:incorrectEvent ='' AND :incorrectEventName!='' AND UPPER(d.incorrectEvent.name) LIKE :incorrectEventName)) \")\n .append(\" OR (:search='' OR d.searchField LIKE :search) ) \");\n return sb;\n }", "void query9InterativaPrint(List<ParQuery9> pares);", "public void test() {\n\t\t\r\n\t\tSystem.out.println(\"-->\" + CommonMethod.createCmdOfflineVersion10(\"jxsmarthome\"));\r\n\t\t\r\n\t}", "String getBarcharDataQuery();", "private static boolean qualifiesForJSqlParserUsage(DeclaredQuery query) {\n\t\treturn JSQLPARSER_IN_CLASSPATH;\n\t}", "public String getStatement();", "private String createCSWQuery(Map<String, String[]> parametros) throws Exception {\n\n\t\ttry {\n\n\t\t\tArrayList<String> filterRules = new ArrayList<String>();\n\t\t\tGetRecords getrecords = new GetRecords();\n\t\t\tgetrecords.setResulType(\"results\"); //$NON-NLS-1$\n\t\t\tgetrecords.setOutputSchema(\"csw:IsoRecord\"); //$NON-NLS-1$\n\t\t\tgetrecords.setTypeNames(\"gmd:MD_Metadata\"); //$NON-NLS-1$\n\t\t\tgetrecords.setElementSetName(GetRecords.FULL);\n\t\t\t\n\t\t\tSearch search = new Search();\n\t\t\tif (getUser() != null)\n\t\t\t\tsearch.setUserBean(user);\n\t\t\t\n\t\t\t// bboxes\n\t\t\tOperator orBBox = new Operator(OR);\n\n\t\t\tString stringBBoxes = parametros.get(\"bboxes\")[FIRST]; //$NON-NLS-1$\n\t\t\tArrayList<BBox> bboxes = Utils.extractToBBoxes(stringBBoxes);\n\t\t\tif (bboxes != null) {\n\t\t\t\tif (bboxes.size() > 1) {\n\t\t\t\t\tArrayList<String> rulesBBox = new ArrayList<String>();\n\t\t\t\t\tfor (BBox bbox : bboxes) {\n\t\t\t\t\t\trulesBBox.add(bbox.toOGCBBox());\n\t\t\t\t\t}\n\t\t\t\t\torBBox.setRules(rulesBBox);\n\t\t\t\t\tfilterRules.add(orBBox.getExpresion());\n\t\t\t\t} else {\n\t\t\t\t\tfilterRules.add(bboxes.get(FIRST).toOGCBBox());\n\t\t\t\t}\n\t\t\t\tsearch.setBboxes(stringBBoxes);\n\t\t\t}\n\n\t\t\t// temporal range\n\t\t\tProperty fromDate = null, toDate = null;\n\n\t String start_date = parametros.get(\"start_date\")[FIRST]; //$NON-NLS-1$\n\t\t\tif (start_date != \"\") { //$NON-NLS-1$\n\t\t\t fromDate = new Property(\"PropertyIsGreaterThanOrEqualTo\"); //$NON-NLS-1$\n\t\t\t fromDate.setPropertyName(\"TempExtent_end\"); //$NON-NLS-1$\n\t\t\t // From the beginning of the day ('t' and 'z' must be lowercase)\n\t\t\t fromDate.setLiteral(start_date+\"t00:00:00.00z\"); //$NON-NLS-1$\n\t\t\t}\n\n String end_date = parametros.get(\"end_date\")[FIRST]; //$NON-NLS-1$\n\t\t\tif (end_date != \"\") { //$NON-NLS-1$\n\t\t\t\ttoDate = new Property(\"PropertyIsLessThanOrEqualTo\"); //$NON-NLS-1$\n\t\t\t\ttoDate.setPropertyName(\"TempExtent_begin\"); //$NON-NLS-1$\n\t\t\t\t // To the end of the day ('t' and 'z' must be lowercase)\n\t\t\t\ttoDate.setLiteral(end_date+\"t23:59:59.99z\"); //$NON-NLS-1$\n\t\t\t}\n\t\t\t\n\t\t\tif (fromDate != null && toDate != null) {\n ArrayList<String> dates = new ArrayList<String>(2);\n dates.add(fromDate.getExpresion());\n dates.add(toDate.getExpresion());\n Operator withinDates = new Operator(\"And\"); //$NON-NLS-1$\n withinDates.setRules(dates);\n filterRules.add(withinDates.getExpresion());\n search.setStartDate(Utils.convertToDate(start_date));\n search.setEndDate(Utils.convertToDate(end_date));\n\t\t\t} else if (fromDate != null) {\n\t\t\t filterRules.add(fromDate.getExpresion());\n\t\t\t search.setStartDate(Utils.convertToDate(start_date));\n\t\t\t} else if (toDate != null) {\n\t\t\t filterRules.add(toDate.getExpresion());\n\t\t\t search.setEndDate(Utils.convertToDate(end_date));\n\t\t\t}\n\t\t\t\n\t\t\t// variables\n\t\t\tString variables = parametros.get(\"variables\")[FIRST]; //$NON-NLS-1$\n\t\t\tif (variables != \"\") { //$NON-NLS-1$\n\t\t\t\tString queryVariables[] = variables.split(\",\"); //$NON-NLS-1$\n\n\t\t\t\tif (queryVariables.length > 1) {\n\t\t\t\t\tOperator orVariables = new Operator(\"Or\"); //$NON-NLS-1$\n\t\t\t\t\tArrayList<String> arrayVariables = new ArrayList<String>();\n\t\t\t\t\tfor (String aVariable : queryVariables) {\n\t\t\t\t\t\tProperty propVariable = new Property(\"PropertyIsLike\"); //$NON-NLS-1$\n\t\t\t\t\t\tpropVariable.setPropertyName(\"ContentInfo\"); //$NON-NLS-1$\n\t\t\t\t\t\tpropVariable.setLiteral(aVariable);\n\t\t\t\t\t\tarrayVariables.add(propVariable.getExpresion());\n\t\t\t\t\t}\n\t\t\t\t\torVariables.setRules(arrayVariables);\n\t\t\t\t\tfilterRules.add(orVariables.getExpresion());\n\t\t\t\t} else {\n\t\t\t\t\tProperty propVariable = new Property(\"PropertyIsLike\"); //$NON-NLS-1$\n\t\t\t\t\tpropVariable.setPropertyName(\"ContentInfo\"); //$NON-NLS-1$\n\t\t\t\t\tpropVariable.setLiteral(queryVariables[FIRST]);\n\t\t\t\t\tfilterRules.add(propVariable.getExpresion());\n\t\t\t\t}\n\t\t\t\tsearch.setVariables(variables);\n\t\t\t}\n\n\t\t\t// free text\n\t\t\tString freeText = parametros.get(\"text\")[FIRST]; //$NON-NLS-1$\n\t\t\tif (freeText != \"\") { //$NON-NLS-1$\n\t\t\t\tProperty propFreeText = new Property(\"PropertyIsLike\"); //$NON-NLS-1$\n\t\t\t\tpropFreeText.setPropertyName(\"AnyText\"); //$NON-NLS-1$\n\t\t\t\tpropFreeText.setLiteral(freeText);\n\t\t\t\tfilterRules.add(propFreeText.getExpresion());\n\t\t\t\tsearch.setText(freeText);\n\t\t\t}\n\n\t\t\t// Default pagination & ordering values\n\t\t\tString startPosition = \"1\"; //$NON-NLS-1$\n\t\t\tString maxRecords = \"25\"; //$NON-NLS-1$\n\t\t\tString sort = \"title\"; //$NON-NLS-1$\n\t\t\tString dir = \"asc\"; //$NON-NLS-1$\n\n\t\t\tstartPosition = String.valueOf(Integer.valueOf(parametros\n\t\t\t\t\t.get(\"start\")[FIRST]) + 1); //$NON-NLS-1$\n\t\t\tgetrecords.setStartPosition(startPosition);\n\n\t\t\tmaxRecords = parametros.get(\"limit\")[FIRST]; //$NON-NLS-1$\n\t\t\tgetrecords.setMaxRecords(maxRecords);\n\n\t\t\tsort = parametros.get(\"sort\")[FIRST]; //$NON-NLS-1$\n\t\t\tdir = parametros.get(\"dir\")[FIRST]; //$NON-NLS-1$\n\n\t\t\tMap<String, String> sortPropertyDict = new HashMap<String, String>();\n\t\t\tsortPropertyDict.put(\"id\", \"Identifier\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t\t\tsortPropertyDict.put(\"title\", \"Title\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t\t\tsortPropertyDict.put(\"start_time\", \"TempExtent_begin\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t\t\tsortPropertyDict.put(\"end_time\", \"TempExtent_end\"); //$NON-NLS-1$ //$NON-NLS-2$\n\n\t\t\tSortBy sortby = new SortBy();\n\t\t\tsortby.setPropertyName(sortPropertyDict.get(sort));\n\t\t\tsortby.setOrder(dir);\n\n\t\t\tgetrecords.setSortby(sortby);\n\t\t\t\n\t\t\tFilter filtro = new Filter();\n\t\t\t\n\t\t\tif (filterRules.size() > 1) {\n\t\t\t\tOperator and = new Operator(AND);\n\t\t\t\tand.setRules(filterRules);\n\t\t\t\tArrayList<String> andRules = new ArrayList<String>(1);\n\t\t\t\tandRules.add(and.getExpresion());\n\t\t\t\tfiltro.setRules(andRules);\n\t\t\t} else {\n\t\t\t\tfiltro.setRules(filterRules);\n\t\t\t}\t\t\t\n\n\t\t\tgetrecords.setFilter(filtro);\n\n\t\t\tlogger.debug(getrecords.getExpresion());\n\t\t\t\n\t\t\tsearchJPAController = new JPASearchController();\n\t\t\tsearch.setTimestamp(Utils.extractDateSystemTimeStamp());\n\t\t\tsearchJPAController.insert(search);\n\n\t\t\treturn getrecords.getExpresion();\n\n\t\t} catch (XMLStreamException e) {\n\t\t\tlogger.error(e.getMessage());\n\t\t\tthrow e;\n\t\t}\n\t}", "List<JModuleInfo> queryAll();", "public String getQuery(){\n return this.query;\n }", "private String exportMatlab(File exportFile, javax.swing.filechooser.FileFilter fileFilter, MathDescription mathDesc,OutputFunctionContext outputFunctionContext) throws ExpressionException, MathException {\r\n\tSimulation sim = new Simulation(mathDesc, null);\r\n\tMatlabOdeFileCoder coder = new MatlabOdeFileCoder(sim);\r\n\tjava.io.StringWriter sw = new java.io.StringWriter();\r\n\tjava.io.PrintWriter pw = new java.io.PrintWriter(sw);\r\n\tString functionName = exportFile.getName();\r\n\tif (functionName.endsWith(\".m\")){\r\n\t\tfunctionName = functionName.substring(0,functionName.length()-2);\r\n\t}\r\n\tif (fileFilter.getDescription().equals(FileFilters.FILE_FILTER_MATLABV6.getDescription())){\r\n\t\tcoder.write_V6_MFile(pw,functionName,outputFunctionContext);\r\n\t}\r\n\tpw.flush();\r\n\tpw.close();\r\n\treturn sw.getBuffer().toString();\r\n}", "private static void runQuery(Statement stmt, String sqlQuery) throws SQLException {\n\t\tResultSet rs;\n\t\tResultSetMetaData rsMetaData;\n\t\tString toShow;\n\t\trs = stmt.executeQuery(sqlQuery);\n\t\trsMetaData = rs.getMetaData();\n\t\tSystem.out.println(sqlQuery);\n\t\ttoShow = \"\";\n\t\twhile (rs.next()) {\n\t\t\tfor (int i = 0; i < rsMetaData.getColumnCount(); i++) {\n\t\t\t\ttoShow += rs.getString(i + 1) + \", \";\n\t\t\t}\n\t\t\ttoShow += \"\\n\";\n\t\t}\n\t\tif (toShow == \"\" ) {\n\t\t\ttoShow = \"No results found matching your criteria.\";\n\t\t}\n\t\tJOptionPane.showMessageDialog(null, toShow);\n\t}", "private static void printUsage()\n {\n StringBuilder usage = new StringBuilder();\n usage.append(String.format(\"semantika %s [OPTIONS...]\\n\", Environment.QUERYANSWER_OP));\n usage.append(\" (to execute query answer)\\n\");\n usage.append(String.format(\" semantika %s [OPTIONS...]\\n\", Environment.MATERIALIZE_OP));\n usage.append(\" (to execute RDB2RDF export)\");\n String header = \"where OPTIONS include:\"; //$NON-NLS-1$\n String footer =\n \"\\nExample:\\n\" + //$NON-NLS-1$\n \" ./semantika queryanswer -c application.cfg.xml -l 100 -sparql 'SELECT ?x WHERE { ?x a :Person }'\\n\" + //$NON-NLS-1$\n \" ./semantika rdb2rdf -c application.cfg.xml -o output.n3 -f N3\"; //$NON-NLS-1$\n mFormatter.setOptionComparator(null);\n mFormatter.printHelp(400, usage.toString(), header, sOptions, footer);\n }", "@Override\n\t\tpublic void executeQuery(String query) {\n\t\t\t\n\t\t}", "public static void main (String args[]) {\r\n\t String lspName = args[0];\r\n\t if (!lspName.startsWith (\"http://\")) {\r\n\t lspName = \"http://localhost:8080/\" + lspName;\r\n\t }\r\n\r\n String queryFilename = null;\r\n if (args.length == 2) {\r\n queryFilename = args[1];\r\n }\r\n\r\n try {\r\n SDARTSBean startsBean =\r\n \t new SDARTSBean (lspName);\r\n\r\n System.out.println (\"-----------------------------\");\r\n System.out.println (\"Finding supported interfaces of \" + lspName);\r\n String result1 = startsBean.getInterface();\r\n System.out.println (result1);\r\n System.out.println (\"-----------------------------\");\r\n System.out.println (\"Getting subcollection info for \" + lspName);\r\n String result2 = startsBean.getSubcollectionInfo();\r\n System.out.println (result2);\r\n System.out.println (\"-----------------------------\");\r\n String[] subcolNames = getSubCollectionNames (result2);\r\n int len = subcolNames.length;\r\n for (int i = 0 ; i < len ; i++) {\r\n String name = subcolNames[i];\r\n System.out.println (\"Getting subcollection info for \" + lspName +\r\n \":\" + name);\r\n String result3 = startsBean.getPropertyInfo(name);\r\n System.out.println (result3);\r\n System.out.println (\"-----------------------------\");\r\n }\r\n\r\n if (queryFilename != null) {\r\n StringBuffer sb = new StringBuffer();\r\n String testQuery = \"\";\r\n BufferedReader br =\r\n new BufferedReader (\r\n new InputStreamReader (\r\n new FileInputStream (queryFilename)));\r\n String line = null;\r\n while ( (line = br.readLine()) != null ) {\r\n sb.append (line);\r\n }\r\n\r\n testQuery = sb.toString();\r\n IntHolder total = new IntHolder();\r\n String result3 = startsBean.search (null,testQuery,total,1000);\r\n System.out.println (\"-----------------------------\");\r\n System.out.println (\"Found \" + total.value + \" hits.\");\r\n System.out.println (result3);\r\n System.out.println (\"-----------------------------\");\r\n }\r\n }\r\n catch (SDLIPException e) {\r\n System.out.println (e.getCode());\r\n e.printStackTrace();\r\n XMLObject details = e.getDetails();\r\n if (details != null) {\r\n try {\r\n System.out.println (\"DETAILS:\");\r\n System.out.println (details.getString());\r\n }\r\n catch (Exception e2) {\r\n e2.printStackTrace();\r\n }\r\n }\r\n System.exit(1);\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n System.exit(1);\r\n }\r\n }", "public void writeExternal\n\t(ObjectOutput out)\n\t\t\tthrows IOException\n\t\t\t{\n\t\tout.writeLong (myQueryId);\n\t\tout.writeLong (mySubjectId);\n\t\tout.writeInt (myQueryLength);\n\t\tout.writeInt (mySubjectLength);\n\t\tout.writeInt (myScore);\n\t\tout.writeInt (myQueryStart);\n\t\tout.writeInt (mySubjectStart);\n\t\tout.writeInt (myQueryFinish);\n\t\tout.writeInt (mySubjectFinish);\n\t\t\t}", "public final String toString() {\n String myReturn = \"Report \\\"\" + this.name + \"\\\" with query \\\"\"\n + this.query + \"\\\".\";\n return myReturn;\n }", "public void writeSQL(SQLOutput stream) throws SQLException {\n}", "private void generateQuery() {\n\t\tString edgeType = \"\";\n\n\t\tif (isUnionTraversal || isTraversal || isWhereTraversal) {\n\t\t\tString previousNode = prevsNode;\n\t\t\tif (isUnionTraversal) {\n\t\t\t\tpreviousNode = unionMap.get(unionKey);\n\t\t\t\tisUnionTraversal = false;\n\t\t\t}\n\n\t\t\tEdgeRuleQuery edgeRuleQuery = new EdgeRuleQuery.Builder(previousNode, currentNode).build();\n\t\t\tEdgeRule edgeRule = null;\n\n\t\t\ttry {\n\t\t\t\tedgeRule = edgeRules.getRule(edgeRuleQuery);\n\t\t\t} catch (EdgeRuleNotFoundException | AmbiguousRuleChoiceException e) {\n\t\t\t}\n\n\t\t\tif (edgeRule == null) {\n\t\t\t\tedgeType = \"EdgeType.COUSIN\";\n\t\t\t} else if (\"none\".equalsIgnoreCase(edgeRule.getContains())){\n\t\t\t\tedgeType = \"EdgeType.COUSIN\";\n\t\t\t}else {\n\t\t\t\tedgeType = \"EdgeType.TREE\";\n\t\t\t}\n\n\t\t\tquery += \".createEdgeTraversal(\" + edgeType + \", '\" + previousNode + \"','\" + currentNode + \"')\";\n\n\t\t}\n\n\t\telse\n\t\t\tquery += \".getVerticesByProperty('aai-node-type', '\" + currentNode + \"')\";\n\t}", "public String getSummary() {\n/* 121 */ StringBuilder sb = new StringBuilder();\n/* 122 */ sb.append(\"FindIds exeMicros[\").append(this.executionTimeMicros).append(\"] rows[\").append(this.rowCount).append(\"] type[\").append(this.desc.getName()).append(\"] predicates[\").append(this.predicates.getLogWhereSql()).append(\"] bind[\").append(this.bindLog).append(\"]\");\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 128 */ return sb.toString();\n/* */ }", "public static void main(String[] args) {\n\t\ttry {\n//\t\t\tExtractorXML xml = new ExtractorXML(\"./TLf6PpaaExclBrkdnD-sqlMap.xml\", \"utf-8\");\n\t\t\tExtractorXML xml = new ExtractorXML(\"D:/tmp/test.xml\",\"utf-8\");\n\n\n\t\t\tTObj nd = xml.doAnalyze();\n\n\t\t\txml.dump(\"c:\\\\a.out\");\n/*\t\t\tfor ( int i = 0; ; i ++) {\n\t\t\tif (xml.getAttributeValue(\"/sqlMap/insert[\" + i +\"]\", \"id\") == null)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(xml.getAttributeValue(\"/sqlMap/insert[\" + i +\"]\", \"id\"));\n\t\t\t}*/\n\n\t\t//System.out.println(\"!!\" + rootnode.getNodeValue(\"/navigation/action[\" + 3 +\"]\"));\n\n\t\t\tSystem.out.println(\"root=\"+xml.getRootName());\n//\t\tArrayList arr = node_list.get(3).sublist;\n\n/*\t\tfor(int i = 0; i < arr.size() ; i ++){\n\n\t\t\tnode_data ndd = (node_data)arr.get(i);\n\t\t\tif(ndd.nodename.equals(\"command\") ){\n\t\t\t\t//System.out.println(ndd.tlocation.getStartLine() + \" :: \" + ndd.nodename + \" :: \" + ndd.tlocation.getEndLine());\n\t\t\t\tfor(int j =0; j < ndd.sublist.size() ; j ++){\n\t\t\t\t\tSystem.out.println(ndd.sublist.get(j).nodename);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n*/\n\t\t/*\tfor(int j =0 ; j < node_list.size(); j ++){\n\n\t\t\tnode_data nd = (node_data)node_list.get(j);\n\t\t\tSystem.out.println(nd.keylist.get(0).value + \" TLOCATION start :: \" + nd.tlocation.getStartLine() + \" TLOCATION end :: \" + nd.tlocation.getEndLine());\n\t\t}\n\t\tSystem.out.println(rootnode.sublist.get(0).tlocation.getStartLine() + \" \"+ rootnode.sublist.get(0).tlocation.getEndLine());\n\t\t */\n\t\t\t// xml.log.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "public String query() {\n return this.query;\n }", "@Override\n public String toString() {\n return \"Query: QueryID=\" +this.getQueryID()+ \" ReqPosts=\" + this.getRequestedPosts();\n }", "public static void querying(String constructQuery2) {\n\t\t//construct the new query\n\t\t//String constructQuery2 = prefix+\" \"+select+\" \"+selectValues+\" \"+where+openBracket+openBracket+\" \"+local+\" \"+service+\" \"+openBracket+\" \"+remote+\" \"+closeBracket+closeBracket;\n\t\t//constructQuery2 = constructQuery2+\" UNION \"+\" \"+openBracket+\" \"+local+\" \"+service+\" \"+openBracket+\" \"+remote+\" \"+closeBracket+closeBracket+closeBracket;\n\t\t\n\t\tSystem.out.println(constructQuery2);\n\t\tQuery query2 = QueryFactory.create(constructQuery2);\n\t\tQueryExecution qe2 = QueryExecutionFactory.sparqlService(\n\t\t\t\t\"http://localhost:3030/USNA/query\", query2);\n\t\t\n\t\tResultSet results1 = qe2.execSelect();\n\t\tif(constantOutput == \"\") {\n\t\t\tResultSetFormatter.out(System.out, results1);\n\t\t}else {\n\t\t\tString NS = \"http://www.usna.org/ns#\";\n\t\t\tModel rdfssExample = ModelFactory.createDefaultModel();\n\t\t\tString [] constant = constantOutput.trim().split(\" \");\n\t\t\t\n\t\t\tString [] headers = selectValues.split(\" \");\n\t\t System.out.println(\"--------------------------------------------------------------------------------------------------------------------------------------------\");\n\t\t\tfor(int i = 0; i< headers.length; i++) {\n\t\t\t\t//System.out.print(headers[i].substring(1,headers[i].length()).trim()+\"\\t\\t\\t\\t\\t\\t\");\n\t\t\t\tSystem.out.print(headers[i].substring(1,headers[i].length()).trim()+\"\\t\\t\\t\\t\\t\\t\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"----------------------------------------------------------------------------------------------------------------------------------------------\");\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\ttry {\n\t\t\t\t int count = 0;\n\t\t while ( results1.hasNext() ) {\n\t\t \t //Resource Response = rdfssExample.createResource(NS+constant[count]);\n\t\t \t \n\t\t QuerySolution soln = results1.nextSolution();\n\t\t Resource first = soln.getResource(headers[0].substring(1,headers[0].length()).trim());\n\t\t //Resource second = soln.getResource(headers[1].substring(1,headers[1].length()).trim());\n\t\t //Resource third = soln.getResource(headers[2].substring(1,headers[2].length()).trim());\n\t\t //Resource fourth = soln.getResource(headers[3].substring(1,headers[3].length()).trim());\n\t\t for(int i=0; i< constant.length; i++) {\n\t\t \t Resource Response = rdfssExample.createResource(NS+constant[i]);\n\t\t \t System.out.format(\"%10s %50s\",first, Response);\n\t\t \t System.out.println();\n\t\t\t\t\t //count++;\n\t\t }\n\t\t //System.out.format(\"%10s %50s\",first, Response);\n\t\t //System.out.format(\"%10s\",first);\n\t\t\t\t System.out.println();\n\t\t\t\t //count++;\n\t\t\t\t \n\t\t\t\t //System.out.println(count);\n\t\t \n\t\t }\n\t\t } finally {\n\t\t \t qe2.close();\n\t\t}\n\t\t\t \n\t\t}\t\t \n\t}", "public List<ReporteComprasVentasRetenciones> getReporteExportaciones(int mes, int anio, int idOrganizacion)\r\n/* 260: */ {\r\n/* 261:344 */ StringBuffer sql = new StringBuffer();\r\n/* 262:345 */ sql.append(\"SELECT new ReporteComprasVentasRetenciones(tc.codigo, tc.nombre, COUNT(tc.codigo), \");\r\n/* 263:346 */ sql.append(\" (CASE WHEN tc.codigo = '04' and COALESCE(dpadre.indicadorDocumentoExterior, false) = true THEN -SUM(fcs.baseImponibleTarifaCero) ELSE SUM(fcs.valorFobRefrendo) END), \");\r\n/* 264:347 */ sql.append(\" 'Exportaciones')\");\r\n/* 265:348 */ sql.append(\" FROM FacturaClienteSRI fcs \");\r\n/* 266:349 */ sql.append(\" LEFT OUTER JOIN fcs.tipoComprobanteSRI tc \");\r\n/* 267:350 */ sql.append(\" LEFT OUTER JOIN fcs.facturaCliente fc \");\r\n/* 268:351 */ sql.append(\" LEFT OUTER JOIN fc.documento d \");\r\n/* 269:352 */ sql.append(\" LEFT OUTER JOIN fc.facturaClientePadre fcpadre \");\r\n/* 270:353 */ sql.append(\" LEFT OUTER JOIN fcpadre.documento dpadre \");\r\n/* 271:354 */ sql.append(\" WHERE MONTH(fcs.fechaEmision) =:mes \");\r\n/* 272:355 */ sql.append(\" AND YEAR(fcs.fechaEmision) =:anio \");\r\n/* 273:356 */ sql.append(\" AND fc.estado!=:estadoAnulado \");\r\n/* 274:357 */ sql.append(\" AND fc.indicadorSaldoInicial!=true \");\r\n/* 275:358 */ sql.append(\" AND COALESCE(dpadre.indicadorDocumentoExterior, d.indicadorDocumentoExterior) = true \");\r\n/* 276:359 */ sql.append(\" AND fc.idOrganizacion = :idOrganizacion\");\r\n/* 277:360 */ sql.append(\" GROUP BY tc.codigo, tc.nombre, dpadre.indicadorDocumentoExterior \");\r\n/* 278:361 */ sql.append(\" ORDER BY tc.codigo, tc.nombre \");\r\n/* 279: */ \r\n/* 280:363 */ Query query = this.em.createQuery(sql.toString());\r\n/* 281:364 */ query.setParameter(\"mes\", Integer.valueOf(mes));\r\n/* 282:365 */ query.setParameter(\"anio\", Integer.valueOf(anio));\r\n/* 283:366 */ query.setParameter(\"estadoAnulado\", Estado.ANULADO);\r\n/* 284:367 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 285:368 */ return query.getResultList();\r\n/* 286: */ }", "public String getXMLquery() {\n return localQuerytool.getXML();\n }", "public String toString() {\n return weight + \"\\t\" + query;\n }", "private DbQuery() {}", "public net.wit.webservice.TerminalServiceXmlServiceStub.DirectQueryResponse directQuery(\n\n net.wit.webservice.TerminalServiceXmlServiceStub.DirectQuery directQuery6)\n \n\n throws java.rmi.RemoteException\n \n {\n org.apache.axis2.context.MessageContext _messageContext = null;\n try{\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName());\n _operationClient.getOptions().setAction(\"http://www.epaylinks.cn/webservice/services/TerminalServiceXml/TerminalServiceXml/directQueryRequest\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n // create a message context\n _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env = null;\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n directQuery6,\n optimizeContent(new javax.xml.namespace.QName(\"http://www.epaylinks.cn/webservice/services/TerminalServiceXml\",\n \"directQuery\")), new javax.xml.namespace.QName(\"http://www.epaylinks.cn/webservice/services/TerminalServiceXml\",\n \"directQuery\"));\n \n //adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // set the message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message contxt to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n //execute the operation client\n _operationClient.execute(true);\n\n \n org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(\n org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);\n org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();\n \n \n java.lang.Object object = fromOM(\n _returnEnv.getBody().getFirstElement() ,\n net.wit.webservice.TerminalServiceXmlServiceStub.DirectQueryResponse.class,\n getEnvelopeNamespaces(_returnEnv));\n\n \n return (net.wit.webservice.TerminalServiceXmlServiceStub.DirectQueryResponse)object;\n \n }catch(org.apache.axis2.AxisFault f){\n\n org.apache.axiom.om.OMElement faultElt = f.getDetail();\n if (faultElt!=null){\n if (faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"directQuery\"))){\n //make the fault by reflection\n try{\n java.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"directQuery\"));\n java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class);\n java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());\n //message class\n java.lang.String messageClassName = (java.lang.String)faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(),\"directQuery\"));\n java.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n java.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n java.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n new java.lang.Class[]{messageClass});\n m.invoke(ex,new java.lang.Object[]{messageObject});\n \n\n throw new java.rmi.RemoteException(ex.getMessage(), ex);\n }catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n throw f;\n }\n }else{\n throw f;\n }\n }else{\n throw f;\n }\n } finally {\n if (_messageContext.getTransportOut() != null) {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n }\n }\n }", "public void finalPass() throws Exception {\n if (_CommandText != null)\n _CommandText.finalPass();\n \n if (_QueryParameters != null)\n _QueryParameters.finalPass();\n \n // verify the data source\n DataSourceDefn ds = null;\n if (OwnerReport.getDataSourcesDefn() != null && OwnerReport.getDataSourcesDefn().getItems() != null)\n {\n ds = OwnerReport.getDataSourcesDefn().get___idx(_DataSourceName);\n }\n \n if (ds == null)\n {\n OwnerReport.rl.logError(8,\"Query references unknown data source '\" + _DataSourceName + \"'\");\n return ;\n }\n \n _DataSourceDefn = ds;\n IDbConnection cnSQL = ds.sqlConnect(null);\n if (cnSQL == null || _CommandText == null)\n return ;\n \n // Treat this as a SQL statement\n String sql = _CommandText.evaluateString(null,null);\n IDbCommand cmSQL = null;\n IDataReader dr = null;\n try\n {\n cmSQL = cnSQL.CreateCommand();\n cmSQL.CommandText = addParametersAsLiterals(null,cnSQL,sql,false);\n if (this._QueryCommandType == QueryCommandTypeEnum.StoredProcedure)\n cmSQL.CommandType = CommandType.StoredProcedure;\n \n addParameters(null,cnSQL,cmSQL,false);\n dr = cmSQL.ExecuteReader(CommandBehavior.SchemaOnly);\n if (dr.FieldCount < 10)\n _Columns = new ListDictionary();\n else\n // Hashtable is overkill for small lists\n _Columns = new Hashtable(dr.FieldCount); \n for (int i = 0;i < dr.FieldCount;i++)\n {\n QueryColumn qc = new QueryColumn(i, dr.GetName(i), Type.GetTypeCode(dr.GetFieldType(i)));\n try\n {\n _Columns.Add(qc.colName, qc);\n }\n catch (Exception __dummyCatchVar0)\n {\n // name has already been added to list:\n // According to the RDL spec SQL names are matched by Name not by relative\n // position: this seems wrong to me and causes this problem; but\n // user can fix by using \"as\" keyword to name columns in Select\n // e.g. Select col as \"col1\", col as \"col2\" from tableA\n OwnerReport.rl.LogError(8, String.Format(\"Column '{0}' is not uniquely defined within the SQL Select columns.\", qc.colName));\n }\n \n }\n }\n catch (Exception e)\n {\n OwnerReport.rl.logError(4,\"SQL Exception during report compilation: \" + e.Message + \"\\r\\nSQL: \" + sql);\n }\n finally\n {\n if (cmSQL != null)\n {\n cmSQL.Dispose();\n if (dr != null)\n dr.Close();\n \n }\n \n }\n return ;\n }", "String buildQueryResultXml(QueryContextTo queryContextTo);", "public DBCursor exportData() {\n\t\tCalendar startDate = new GregorianCalendar(2012, 9-1, 01, 0, 0, 0);\n\t\tCalendar endDate = new GregorianCalendar(2012, 9-1, 30, 23, 59, 59);\n\n\t\t/*\t*/\n\t\tBasicDBObject query = new BasicDBObject(\"date\", new BasicDBObject(\n\t\t\t\t\"$gte\", startDate.getTime()).append(\"$lte\", endDate.getTime()));\n\t\t//query.append(\"componentName\", \"CONTROL/DV10/FrontEnd/Cryostat\");\n\t\t//query.append(\"monitorPointName\", \"GATE_VALVE_STATE\");\n\t\t//query.append(\"componentName\", \"CONTROL/DV16/LLC\");\n\t\t//query.append(\"monitorPointName\", \"POL_MON4\");\n\n\t\t// Used only when the query take more than 10 minutes.\n\t\t_collection.addOption(Bytes.QUERYOPTION_NOTIMEOUT);\n\n\t\t/*\t*/\n\n\t\t// Registros utilizados para probar la diferencia de la zona horaria \n\t\t// local con la del servidor de mongo\n\t\t//BasicDBObject query = new BasicDBObject(\"_id\", new ObjectId(\"50528be325d8b6dfbafd7ac2\"));\n\t\t//BasicDBObject query = new BasicDBObject(\"_id\", new ObjectId(\"50529496a310ecc5da59531c\"));\n\n\t\tcursor = _collection.find(query);\n\n\t\t//System.out.println(\"Collections: \"+_database.getCollectionNames());\n\t\t\n\t\t//System.out.println(\"Error: \"+_database.getLastError());\n\t\treturn cursor;\n\t}", "public String toString(){\t\t\n //---------------------------------------------------------------------------\n StringBuffer buff=new StringBuffer(\"\\n*****ClassHelperMethods: \"); \n buff.append(\"\\tbuffer=\"+buffer.toString()); \n buff.append(\"\\theaderDefinition=\"+header); \n buff.append(\"\\tsqlTagsGeneratorTable=\"+sqlTagsGeneratorTable); \n buff.append(\"\\ttableName=\"+tableName); \n return buff.toString(); \n\t}", "void dumpQueries(PrintWriter pw, @Nullable Integer filteringAppId, DumpState dumpState,\n int[] users,\n QuadFunction<Integer, Integer, Integer, Boolean, String[]> getPackagesForUid);", "public static void parseQueryString(String queryString) {\n\n System.out.println(\"STUB: Calling parseQueryString(String s) to process queries\");\n System.out.println(\"Parsing the string:\\\"\" + queryString + \"\\\"\");\n queryString = queryString.toLowerCase();\n String colName = queryString.substring(0,queryString.indexOf(\"from\")+5).trim();\n String colNames[] = removeWhiteSpacesInArray(colName.split(\" \"));\n ArrayList<String> queryStringList = new ArrayList<String>(Arrays.asList(colNames));\n queryStringList.remove(\"select\");\n queryStringList.remove(\"from\");\n String condition = \"\";\n String keyValueCond[] = new String[]{};\n String tableName = \"\";\n if(queryString.contains(\"where\")) {\n tableName = queryString.substring(queryString.indexOf(\"from\") + 5, queryString.indexOf(\"where\")).trim();\n condition = queryString.substring(queryString.indexOf(\"where\")+6, queryString.length()).trim();\n keyValueCond = removeWhiteSpacesInArray(condition.split(\" \"));\n }else\n tableName = queryString.substring(queryString.indexOf(\"from\")+5).trim();\n try {\n Table table = new Table(tableName.concat(\".tbl\"));\n int noOfRecords = table.page.getNoOfRecords();\n long pos = table.page.getStartofContent();\n TreeMap<String, String> colOrder = columnOrdinalHelper.getColumnsInOrdinalPositionOrder(tableName);\n int recordLength = Integer.parseInt(recordLengthHelper.getProperties(tableName.concat(\".\").concat(Constant.recordLength)));\n if(keyValueCond.length>0){\n\n }else{\n Iterator it = colOrder.entrySet().iterator();\n while (it.hasNext()){\n Map.Entry<String, String> entryPair = (Map.Entry<String, String>) it.next();\n// ReadResult<Object> readResult = table.page.readIntasByte(pos);\n// System.out.println(readResult.getT());\n ReadResult<Object> readResult = RecordFormat.readRecordFormat(columnTypeHelper.getProperties(entryPair.getValue()),table,pos);\n System.out.println(\"RESULT COLUMN NAME : \"+entryPair.getValue()+\" Value : \"+readResult.getT());\n\n }\n\n }\n\n\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }", "public void run(Hashtable<String, Object> hashTable) throws java.lang.Exception {\r\n\tVCDocument documentToExport = (VCDocument)hashTable.get(\"documentToExport\");\r\n\tFile exportFile = fetch(hashTable,EXPORT_FILE,File.class, true);\r\n\tExtensionFilter fileFilter = fetch(hashTable,FILE_FILTER,ExtensionFilter.class, true);\r\n\t\r\n\tDocumentManager documentManager = fetch(hashTable,DocumentManager.IDENT,DocumentManager.class,true);\r\n\tString resultString = null;\r\n\tFileCloseHelper closeThis = null;\r\n\ttry{\r\n\t\tif (documentToExport instanceof BioModel) {\r\n\t\t\tif(!(fileFilter instanceof SelectorExtensionFilter)){\r\n\t\t\t\tthrow new Exception(\"Expecting fileFilter type \"+SelectorExtensionFilter.class.getName()+\" but got \"+fileFilter.getClass().getName());\r\n\t\t\t}\r\n\t\t\tBioModel bioModel = (BioModel)documentToExport;\r\n\t\t\tSimulationContext chosenSimContext = fetch(hashTable,SIM_CONTEXT,SimulationContext.class, false);\r\n\t\t\t((SelectorExtensionFilter)fileFilter).writeBioModel(documentManager, bioModel, exportFile, chosenSimContext); \r\n\t/*\t\tDELETE this after finishing validation testing\r\n\t\t\t\r\n\t\t\t// check format requested\r\n\t\t\tif (fileFilter.getDescription().equals(FileFilters.FILE_FILTER_MATLABV6.getDescription())){\r\n\t\t\t\t// matlab from application; get application\r\n\t\t\r\n\t\t\t\tSimulationContext chosenSimContext = fetch(hashTable,SIM_CONTEXT,SimulationContext.class, true);\r\n\t\t\t\t// regenerate a fresh MathDescription\r\n\t\t\t\tMathMapping mathMapping = chosenSimContext.createNewMathMapping();\r\n\t\t\t\tMathDescription mathDesc = mathMapping.getMathDescription();\r\n\t\t\t\tif(mathDesc != null && !mathDesc.isSpatial() && !mathDesc.isNonSpatialStoch()){\r\n\t\t\t\t\t// do export\r\n\t\t\t\t\tresultString = exportMatlab(exportFile, fileFilter, mathDesc);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthrow new Exception(\"Matlab export failed: NOT an non-spatial deterministic application!\");\r\n\t\t\t\t}\r\n\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_PDF)) { \r\n\t\t\t\tFileOutputStream fos = null;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(exportFile);\r\n\t\t\t\t\tdocumentManager.generatePDF(bioModel, fos);\t\t\t\t\r\n\t\t\t\t} finally {\r\n\t\t\t\t\tif(fos != null) {\r\n\t\t\t\t\t\tfos.close();\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn; \t\t\t\t\t\t\t\t\t//will take care of writing to the file as well.\r\n\t\t\t}\r\n\t\t\t//Export a simulation to Smoldyn input file, if there are parameter scans\r\n\t\t\t//in simulation, we'll export multiple Smoldyn input files.\r\n\t\t\telse if (fileFilter.equals(FileFilters.FILE_FILTER_SMOLDYN_INPUT)) \r\n\t\t\t{ \r\n\t\t\t\tSimulation selectedSim = (Simulation)hashTable.get(\"selectedSimulation\");\r\n\t\t\t\tif (selectedSim != null) {\r\n\t\t\t\t\tint scanCount = selectedSim.getScanCount();\r\n\t\t\t\t\tif(scanCount > 1) // has parameter scan\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tString baseExportFileName = exportFile.getPath().substring(0, exportFile.getPath().indexOf(\".\"));\r\n\t\t\t\t\t\tfor(int i=0; i<scanCount; i++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSimulationTask simTask = new SimulationTask(new SimulationJob(selectedSim, i, null),0);\r\n\t\t\t\t\t\t\t// Need to export each parameter scan into a separate file\r\n\t\t\t\t\t\t\tString newExportFileName = baseExportFileName + \"_\" + i + SMOLDYN_INPUT_FILE_EXTENSION;\r\n\t\t\t\t\t\t\texportFile = new File(newExportFileName);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tPrintWriter pw = new PrintWriter(exportFile);\r\n\t\t\t\t\t\t\tSmoldynFileWriter smf = new SmoldynFileWriter(pw, true, null, simTask, false);\r\n\t\t\t\t\t\t\tsmf.write();\r\n\t\t\t\t\t\t\tpw.close();\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(scanCount == 1)// regular simulation, no parameter scan\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSimulationTask simTask = new SimulationTask(new SimulationJob(selectedSim, 0, null),0);\r\n\t\t\t\t\t\t// export the simulation to the selected file\r\n\t\t\t\t\t\tPrintWriter pw = new PrintWriter(exportFile);\r\n\t\t\t\t\t\tSmoldynFileWriter smf = new SmoldynFileWriter(pw, true, null, simTask, false);\r\n\t\t\t\t\t\tsmf.write();\r\n\t\t\t\t\t\tpw.close();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tthrow new Exception(\"Simulation scan count is smaller than 1.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\t// convert it if other format\r\n\t\t\t\tif (!fileFilter.equals(FileFilters.FILE_FILTER_VCML)) {\r\n\t\t\t\t\t// SBML or CellML; get application name\r\n\t\t\t\t\tif ((fileFilter.equals(FileFilters.FILE_FILTER_SBML_12)) || (fileFilter.equals(FileFilters.FILE_FILTER_SBML_21)) || \r\n\t\t\t\t\t\t(fileFilter.equals(FileFilters.FILE_FILTER_SBML_22)) || (fileFilter.equals(FileFilters.FILE_FILTER_SBML_23)) || \r\n\t\t\t\t\t\t(fileFilter.equals(FileFilters.FILE_FILTER_SBML_24)) || (fileFilter.equals(FileFilters.FILE_FILTER_SBML_31_CORE)) || \r\n\t\t\t\t\t\t(fileFilter.equals(FileFilters.FILE_FILTER_SBML_31_SPATIAL)) ) {\r\n\t\t\t\t\t\tSimulationContext selectedSimContext = (SimulationContext)hashTable.get(\"selectedSimContext\");\r\n\t\t\t\t\t\tSimulation selectedSim = (Simulation)hashTable.get(\"selectedSimulation\");\r\n\t\t\t\t\t\tint sbmlLevel = 0;\r\n\t\t\t\t\t\tint sbmlVersion = 0;\r\n\t\t\t\t\t\tint sbmlPkgVersion = 0;\r\n\t\t\t\t\t\tboolean bIsSpatial = false;\r\n\t\t\t\t\t\tif ((fileFilter.equals(FileFilters.FILE_FILTER_SBML_12))) {\r\n\t\t\t\t\t\t\tsbmlLevel = 1;\r\n\t\t\t\t\t\t\tsbmlVersion = 2;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_21)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 2;\r\n\t\t\t\t\t\t\tsbmlVersion = 1;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_22)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 2;\r\n\t\t\t\t\t\t\tsbmlVersion = 2;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_23)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 2;\r\n\t\t\t\t\t\t\tsbmlVersion = 3;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_24)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 2;\r\n\t\t\t\t\t\t\tsbmlVersion = 4;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_31_CORE)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 3;\r\n\t\t\t\t\t\t\tsbmlVersion = 1;\r\n\t\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_31_SPATIAL)) {\r\n\t\t\t\t\t\t\tsbmlLevel = 3;\r\n\t\t\t\t\t\t\tsbmlVersion = 1;\r\n\t\t\t\t\t\t\tsbmlPkgVersion = 1;\r\n\t\t\t\t\t\t\tbIsSpatial = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (selectedSim == null) {\r\n\t\t\t\t\t\t\tresultString = XmlHelper.exportSBML(bioModel, sbmlLevel, sbmlVersion, sbmlPkgVersion, bIsSpatial, selectedSimContext, null);\r\n\t\t\t\t\t\t\tXmlUtil.writeXMLStringToFile(resultString, exportFile.getAbsolutePath(), true);\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tfor (int sc = 0; sc < selectedSim.getScanCount(); sc++) {\r\n\t\t\t\t\t\t\t\tSimulationJob simJob = new SimulationJob(selectedSim, sc, null);\r\n\t\t\t\t\t\t\t\tresultString = XmlHelper.exportSBML(bioModel, sbmlLevel, sbmlVersion, sbmlPkgVersion, bIsSpatial, selectedSimContext, simJob);\r\n\t\t\t\t\t\t\t\t// Need to export each parameter scan into a separate file \r\n\t\t\t\t\t\t\t\tString newExportFileName = exportFile.getPath().substring(0, exportFile.getPath().indexOf(\".xml\")) + \"_\" + sc + \".xml\";\r\n\t\t\t\t\t\t\t\texportFile.renameTo(new File(newExportFileName));\r\n\t\t\t\t\t\t\t\tXmlUtil.writeXMLStringToFile(resultString, exportFile.getAbsolutePath(), true);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_BNGL)) {\r\n\t\t\t\t\t\tRbmModelContainer rbmModelContainer = bioModel.getModel().getRbmModelContainer();\r\n\t\t\t\t\t\tStringWriter bnglStringWriter = new StringWriter();\r\n\t\t\t\t\t\tPrintWriter pw = new PrintWriter(bnglStringWriter);\r\n\t\t\t\t\t\tRbmNetworkGenerator.writeBngl(bioModel, pw);\r\n\t\t\t\t\t\tresultString = bnglStringWriter.toString();\r\n\t\t\t\t\t\tpw.close();\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_NFSIM)) {\r\n\t\t\t\t\t\t// TODO: get the first thing we find for now, in the future we'll need to modify ChooseFile \r\n\t\t\t\t\t\t// to only offer the applications / simulations with bngl content\r\n\t\t\t\t\t\tSimulationContext simContexts[] = bioModel.getSimulationContexts();\r\n\t\t\t\t\t\tSimulationContext aSimulationContext = simContexts[0];\r\n\t\t\t\t\t\tSimulation selectedSim = aSimulationContext.getSimulations(0);\r\n\t\t\t\t\t\t//Simulation selectedSim = (Simulation)hashTable.get(\"selectedSimulation\");\r\n\t\t\t\t\t\tSimulationTask simTask = new SimulationTask(new SimulationJob(selectedSim, 0, null),0);\r\n\t\t\t\t\t\tlong randomSeed = 0;\t// a fixed seed will allow us to run reproducible simulations\r\n\t\t\t\t\t\t//long randomSeed = System.currentTimeMillis();\r\n\t\t\t\t\t\tNFsimSimulationOptions nfsimSimulationOptions = new NFsimSimulationOptions();\r\n\t\t\t\t\t\t// we get the data we need from the math description\r\n\t\t\t\t\t\tElement root = NFsimXMLWriter.writeNFsimXML(simTask, randomSeed, nfsimSimulationOptions);\r\n\t\t\t\t\t\tDocument doc = new Document();\r\n\t\t\t\t\t\tdoc.setRootElement(root);\r\n\t\t\t\t\t\tXMLOutputter xmlOut = new XMLOutputter();\r\n\t\t\t\t\t\tresultString = xmlOut.outputString(doc);\r\n\t\r\n\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_CELLML)) {\r\n\t\t\t\t\t\tInteger chosenSimContextIndex = (Integer)hashTable.get(\"chosenSimContextIndex\");\r\n\t\t\t\t\t\tString applicationName = bioModel.getSimulationContext(chosenSimContextIndex.intValue()).getName();\r\n\t\t\t\t\t\tresultString = XmlHelper.exportCellML(bioModel, applicationName);\r\n\t\t\t\t\t\t// cellml still uses default character encoding for now ... maybe UTF-8 in the future\r\n\t\t\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_OMEX)) {\r\n\t\t\t\t\t\t// export the entire biomodel to a SEDML file (for now, only non-spatial,non-stochastic applns)\r\n\t\t\t\t\t\tint sedmlLevel = 1;\r\n\t\t\t\t\t\tint sedmlVersion = 1;\r\n\t\t\t\t\t\tString sPath = FileUtils.getFullPathNoEndSeparator(exportFile.getAbsolutePath());\r\n\t\t\t\t\t\tString sFile = FileUtils.getBaseName(exportFile.getAbsolutePath());\r\n\t\t\t\t\t\tString sExt = FileUtils.getExtension(exportFile.getAbsolutePath());\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tSEDMLExporter sedmlExporter = null;\r\n\t\t\t\t\t\tif (bioModel instanceof BioModel) {\r\n\t\t\t\t\t\t\tsedmlExporter = new SEDMLExporter(bioModel, sedmlLevel, sedmlVersion);\r\n\t\t\t\t\t\t\tresultString = sedmlExporter.getSEDMLFile(sPath);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tthrow new RuntimeException(\"unsupported Document Type \" + bioModel.getClass().getName() + \" for SedML export\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(sExt.equals(\"sedx\")) {\r\n\t\t\t\t\t\t\tsedmlExporter.createManifest(sPath, sFile);\r\n\t\t\t\t\t\t\tString sedmlFileName = sPath + FileUtils.WINDOWS_SEPARATOR + sFile + \".sedml\";\r\n\t\t\t\t\t\t\tXmlUtil.writeXMLStringToFile(resultString, sedmlFileName, true);\r\n\t\t\t\t\t\t\tsedmlExporter.addSedmlFileToList(sFile + \".sedml\");\r\n\t\t\t\t\t\t\tsedmlExporter.addSedmlFileToList(\"manifest.xml\");\r\n\t\t\t\t\t\t\tsedmlExporter.createZipArchive(sPath, sFile);\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tXmlUtil.writeXMLStringToFile(resultString, exportFile.getAbsolutePath(), true);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// if format is VCML, get it from biomodel.\r\n\t\t\t\t\tbioModel.getVCMetaData().cleanupMetadata();\r\n\t\t\t\t\tresultString = XmlHelper.bioModelToXML(bioModel);\r\n\t\t\t\t\tXmlUtil.writeXMLStringToFile(resultString, exportFile.getAbsolutePath(), true);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t}*/\r\n\t\t} else if (documentToExport instanceof MathModel) {\r\n\t\t\tMathModel mathModel = (MathModel)documentToExport;\r\n\t\t\t// check format requested\r\n\t\t\tif (fileFilter.equals(FileFilters.FILE_FILTER_MATLABV6)){\r\n\t\t\t\t//check if it's ODE\r\n\t\t\t\tif(mathModel.getMathDescription() != null && \r\n\t\t\t\t (!mathModel.getMathDescription().isSpatial() && !mathModel.getMathDescription().isNonSpatialStoch())){\r\n\t\t\t\t\tMathDescription mathDesc = mathModel.getMathDescription();\r\n\t\t\t\t\tresultString = exportMatlab(exportFile, fileFilter, mathDesc,mathModel.getOutputFunctionContext());\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthrow new Exception(\"Matlab export failed: NOT an non-spatial deterministic model.\");\r\n\t\t\t\t}\r\n\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_PDF)) { \r\n\t\t\t\tFileOutputStream fos = new FileOutputStream(exportFile);\r\n\t\t\t\tdocumentManager.generatePDF(mathModel, fos);\r\n\t\t\t\tfos.close();\r\n\t\t\t\treturn; //will take care of writing to the file as well.\r\n\t\t\t}else if (fileFilter.equals(FileFilters.FILE_FILTER_VCML)) {\r\n\t\t\t\tresultString = XmlHelper.mathModelToXML(mathModel);\r\n\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_CELLML)) {\r\n\t\t\t\tresultString = XmlHelper.exportCellML(mathModel, null);\r\n//\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_23)) {\r\n//\t\t\t\tresultString = XmlHelper.exportSBML(mathModel, 2, 3, 0, false, null, null);\r\n//\t\t\t} else if (fileFilter.equals(FileFilters.FILE_FILTER_SBML_24)) {\r\n//\t\t\t\tresultString = XmlHelper.exportSBML(mathModel, 2, 4, 0, false, null, null);\r\n\t\t\t} \r\n\t\t\t//Export a simulation to Smoldyn input file, if there are parameter scans\r\n\t\t\t//in simulation, we'll export multiple Smoldyn input files.\r\n\t\t\telse if (fileFilter.equals(FileFilters.FILE_FILTER_SMOLDYN_INPUT)) \r\n\t\t\t{ \r\n\t\t\t\tSimulation selectedSim = (Simulation)hashTable.get(\"selectedSimulation\");\r\n\t\t\t\tif (selectedSim != null) {\r\n\t\t\t\t\tint scanCount = selectedSim.getScanCount();\r\n\t\t\t\t\t//-----\r\n\t\t\t\t\tString baseExportFileName = (scanCount==1?null:exportFile.getPath().substring(0, exportFile.getPath().indexOf(\".\")));\r\n\t\t\t\t\tfor(int i=0; i<scanCount; i++){\r\n\t\t\t\t\t\tSimulationTask simTask = new SimulationTask(new SimulationJob(selectedSim, i, null),0);\r\n\t\t\t\t\t\t// Need to export each parameter scan into a separate file\r\n\t\t\t\t\t\tFile localExportFile = (scanCount==1?exportFile:new File(baseExportFileName + \"_\" + i + SMOLDYN_INPUT_FILE_EXTENSION));\r\n\t\t\t\t\t\tFileCloseHelper localCloseThis = new FileCloseHelper(localExportFile);\r\n\t\t\t\t\t\ttry{\r\n\t\t\t\t\t\t\tSmoldynFileWriter smf = new SmoldynFileWriter(localCloseThis.getPrintWriter(), true, null, simTask, false);\r\n\t\t\t\t\t\t\tsmf.write();\r\n\t\t\t\t\t\t}finally{\r\n\t\t\t\t\t\t\tif(localCloseThis != null){\r\n\t\t\t\t\t\t\t\tlocalCloseThis.close();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else if (documentToExport instanceof Geometry){\r\n\t\t\tGeometry geom = (Geometry)documentToExport;\r\n\t\t\tif (fileFilter.equals(FileFilters.FILE_FILTER_PDF)) {\r\n\t\t\t\tdocumentManager.generatePDF(geom, (closeThis = new FileCloseHelper(exportFile)).getFileOutputStream());\r\n\t\t\t}else if (fileFilter.equals(FileFilters.FILE_FILTER_VCML)) {\r\n\t\t\t\tresultString = XmlHelper.geometryToXML(geom);\r\n\t\t\t}else if (fileFilter.equals(FileFilters.FILE_FILTER_AVS)) {\r\n\t\t\t\tcbit.vcell.export.AVS_UCD_Exporter.writeUCDGeometryOnly(geom.getGeometrySurfaceDescription(),(closeThis = new FileCloseHelper(exportFile)).getFileWriter());\r\n\t\t\t}else if (fileFilter.equals(FileFilters.FILE_FILTER_STL)) {\r\n\t\t\t\t//make sure filename end with .stl\r\n\t\t\t\tFile stlFile = exportFile;\r\n\t\t\t\tif(!exportFile.getName().toLowerCase().endsWith(\".stl\")){\r\n\t\t\t\t\tstlFile = new File(exportFile.getParentFile(),exportFile.getName()+\".stl\");\r\n\t\t\t\t}\r\n\t\t\t\tcbit.vcell.geometry.surface.StlExporter.writeBinaryStl(geom.getGeometrySurfaceDescription(),(closeThis = new FileCloseHelper(stlFile)).getRandomAccessFile(\"rw\"));\r\n\t\t\t}else if (fileFilter.equals(FileFilters.FILE_FILTER_PLY)) {\r\n\t\t\t\twriteStanfordPolygon(geom.getGeometrySurfaceDescription(), (closeThis = new FileCloseHelper(exportFile)).getFileWriter());\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(resultString != null){\r\n\t\t\t(closeThis = new FileCloseHelper(exportFile)).getFileWriter().write(resultString);\r\n\t\t}\r\n\t}finally{\r\n\t\tif(closeThis != null){\r\n\t\t\tcloseThis.close();\r\n\t\t}\r\n\t}\r\n}", "@Override\n\tpublic String toString() {\n\t\treturn weight + \"\\t\" + query;\n\t}", "public abstract String toSQL();", "@Override\n public File importCSV(String query) {\n String retorno = executeQuery(query);\n File file = new File(\"export.csv\");\n try {\n file.createNewFile();\n if(file.exists()){\n try (Writer writer = new FileWriter(file)) {\n writer.append(retorno);\n writer.flush();\n }\n }\n } catch (IOException ex) {\n Logger.getLogger(SQLUtilsImpl.class.getName()).log(Level.SEVERE, null, ex);\n }\n return file;\n }", "@Override\n public boolean onQueryTextSubmit(String query) {\n queryMain = query;\n consultarDb();\n return true;\n }", "private String getSql(Map map){\n \tStringBuilder sql = new StringBuilder();\n \t\n \tsql.append(\" select account.FNumber number,REPLACE(account.FLongNumber, '!', '.') transLongNumber,account.FLongNumber longNumber,account.FName_l2 name, \");\n \tsql.append(\" account.FLevel level1,account.FIsLeaf isLeaf,account.FId id,account.FParentID parentid, \");\n \tsql.append(\" org.FId fullOrgUnitid,project.FId curProjectid \");\n \tsql.append(\" from T_FDC_CostAccount account \");\n \tsql.append(\" left join T_FDC_CurProject project ON account.FCurProject = project.FID \");\n \tsql.append(\" left join T_FDC_CostAccount parent ON account.FParentID = parent.FID \");\n \tsql.append(\" left join T_ORG_BaseUnit org ON account.FFullOrgUnit = org.FID \");\n \tsql.append(\" where 1=1 \");\n \tsql.append(\" and account.FLongNumber like '5002%' \");//只取科目502开头的科目\n \tif(map.get(\"fullOrgUnit\")!=null){\n OrgStructureInfo oui = (OrgStructureInfo)map.get(\"fullOrgUnit\");\n if(oui != null && oui.getUnit() != null){\n FullOrgUnitInfo info = oui.getUnit();\n \tsql.append(\" and account.FFullOrgUnit = '\"+info.getId().toString()+\"' \");\n }\n \t}\n \tif(map.get(\"curProject\")!=null){\n \t\tCurProjectInfo projectInfo = (CurProjectInfo)map.get(\"curProject\");\n \tsql.append(\" and account.FCurProject = '\"+projectInfo.getId().toString()+\"' \");\n \t}\n \tsql.append(\" order by REPLACE(account.FLongNumber, '!', '.') asc \");\n \t\n \treturn sql.toString();\n }", "public String execute() {\n\r\n\t return \"\";\r\n\t }", "private void generateIdfOutput()\n{\n getValidWords();\n scanDocuments();\n outputResults();\n}", "@Override\n\tpublic void queryData() {\n\t\t\n\t}", "private static Boolean specialQueries(String query) throws ClassNotFoundException, InstantiationException, IllegalAccessException {\n clickList = false;\n //newCorpus = true;\n\n if (query.equals(\"q\")) {\n\n System.exit(0);\n return true;\n }\n\n String[] subqueries = query.split(\"\\\\s+\"); //split around white space\n\n if (subqueries[0].equals(\"stem\")) //first term in subqueries tells computer what to do \n {\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n TokenProcessor processor = new NewTokenProcessor();\n if (subqueries.length > 1) //user meant to stem the token not to search stem\n {\n List<String> stems = processor.processToken(subqueries[1]);\n\n //clears list and repopulates it \n String stem = \"Stem of query '\" + subqueries[1] + \"' is '\" + stems.get(0) + \"'\";\n\n GUI.ResultsLabel.setText(stem);\n\n return true;\n }\n\n } else if (subqueries[0].equals(\"vocab\")) {\n List<String> vocabList = Disk_posIndex.getVocabulary();\n GUI.JListModel.clear();\n GUI.ResultsLabel.setText(\"\");\n\n int vocabCount = 0;\n for (String v : vocabList) {\n if (vocabCount < 1000) {\n vocabCount++;\n GUI.JListModel.addElement(v);\n }\n }\n GUI.ResultsLabel.setText(\"Total size of vocabulary: \" + vocabCount);\n return true;\n }\n\n return false;\n }", "public void queryDataPreProcess(String queryText) throws Exception {\n StopwordRemover stopwordRemover = new StopwordRemover();\n WordNormalizer wordNormalizer = new WordNormalizer();\n\n // initiate the BufferedWriter to output result\n FilePathGenerator fpg = new FilePathGenerator(\"result.txt\");\n String path = fpg.getPath();\n\n // queryId\n String queryId = \"\";\n if (queryId == null || queryId.length() == 0){\n// queryId = UUID.randomUUID().toString().replace(\"-\", \"\");\n queryId = String.valueOf(FileConst.query_doc_id);\n }\n\n // append query_id:query_text to exiting doc_id:doc_content text file\n try (FileWriter fileWriter = new FileWriter(path, true); // Path.ResultAssignment1\n BufferedWriter bw = new BufferedWriter(fileWriter)){\n // write doc_id into the result file\n bw.write(queryId + '\\n');\n\n // load doc content\n char[] content = queryText.toCharArray();\n\n // initiate a word object to hold a word\n char[] word;\n\n // initiate the WordTokenizer\n WordTokenizer tokenizer = new WordTokenizer(content);\n\n // process the query word by word iteratively\n while ((word = tokenizer.nextWord()) != null){\n word = wordNormalizer.lowercase(word);\n // write only non-stopword into result file\n if (!stopwordRemover.isStopword(Arrays.toString(word))){\n bw.append(wordNormalizer.toStem(word)).append(\" \");\n query_tokens.add(wordNormalizer.toStem(word));\n }\n }\n bw.append(\"\\n\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public static void main(String[] args) {\n\t\tBufferedReader br = null;\n\t\tint querycount = 0;\n\t\tString query = \"\";\n\t\tString select = \"0\";\n\n\t\tJFrame i = new JFrame();\n\t\ti.show();\n\t\t\n\t\t\n\n\t\tselect = JOptionPane.showInputDialog(i, \"Enter Query name to save\",\n\t\t\t\tnull);\n\n\t\ttry {\n\n\t\t\tString sCurrentLine;\n\n\t\t\tbr = new BufferedReader(\n\t\t\t\t\tnew FileReader(\n\t\t\t\t\t\t\t\"C:\\\\Users\\\\rishabh-pc\\\\Documents\\\\Java workspace\\\\StreamEmitters\\\\src\\\\savedQueries.txt\"));\n\n\t\t\tif (select.equalsIgnoreCase(\"0\")) {\n\t\t\t\tQueryBuilder1.main();\n\t\t\t} else {\n\t\t\t\twhile ((sCurrentLine = br.readLine()) != null) {\n\t\t\t\t\tquery = sCurrentLine;\n\t\t\t\t\tif (query.split(\",\")[0].equalsIgnoreCase(select))\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tQueryBuilder1 q1 = new QueryBuilder1();\n\t\t\t\tString spname=query.split(\",\")[1];\n\t\t\t\tint window_size=Integer.parseInt(query.split(\",\")[2]);\n\t\t\t\tString window_type=query.split(\",\")[3]; \n\t\t\t\tint window_speed=Integer.parseInt(query.split(\",\")[4]);\n\t\t\t\tint no_of_streams=Integer.parseInt(query.split(\",\")[5]);\n\t\t\t\tint stream_pos=Integer.parseInt(query.split(\",\")[6]);\n\t\t\t\tint attribute_position=Integer.parseInt(query.split(\",\")[7]);\n\t\t\t\tint function=Integer.parseInt(query.split(\",\")[8]);\n\t\t\t\tint where_stream_pos=Integer.parseInt(query.split(\",\")[9]);\n\t\t\t\tint where_att_pos=Integer.parseInt(query.split(\",\")[10]);\n\t\t\t\tint operation=Integer.parseInt(query.split(\",\")[11]);\n\t\t\t\tString value=query.split(\",\")[12];\n\t\t\t\tq1.main();\n\t\t\t\tExecuter ex = new Executer(q1, spname, window_size,window_type, window_speed, no_of_streams, stream_pos,attribute_position,\n\t\t\t\t\t\tfunction, where_stream_pos,where_att_pos, operation, value);\n\t\t\t\tif (stream_pos == 0 && attribute_position == 0) {\n\t\t\t\t\tq1.updatedResults = new String[0][6];\n\t\t\t\t\tq1.headerFields = new String[6];\n\t\t\t\t} else {\n\t\t\t\t\tq1.updatedResults = new String[0][2];\n\t\t\t\t\tq1.headerFields = new String[2];\n\t\t\t\t}\n\t\t\t\tq1.model = new DefaultTableModel(q1.updatedResults, q1.headerFields);\n\t\t\t\tq1.resultsTable.setModel(q1.model);\n\t\t\t\tThread t = new Thread(ex);\n\t\t\t\tt.start();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (br != null)\n\t\t\t\t\tbr.close();\n\t\t\t} catch (IOException ex) {\n\t\t\t\tex.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}", "public String toString()\n\t{\n\t\tStringBuilder b = new StringBuilder();\n\t\tb.append (\"Alignment(qid=\");\n\t\tb.append (myQueryId);\n\t\tb.append (\",sid=\");\n\t\tb.append (mySubjectId);\n\t\tb.append (\",qlen=\");\n\t\tb.append (myQueryLength);\n\t\tb.append (\",slen=\");\n\t\tb.append (mySubjectLength);\n\t\tb.append (\",score=\");\n\t\tb.append (myScore);\n\t\tb.append (\",qstart=\");\n\t\tb.append (myQueryStart);\n\t\tb.append (\",sstart=\");\n\t\tb.append (mySubjectStart);\n\t\tb.append (\",qfin=\");\n\t\tb.append (myQueryFinish);\n\t\tb.append (\",sfin=\");\n\t\tb.append (mySubjectFinish);\n\t\tb.append (\")\");\n\t\treturn b.toString();\n\t}", "public String toString()\n{\n StringBuffer buf = new StringBuffer();\n buf.append(\"[SOURCE: \" + for_source.getName() + \",\\n\");\n if (getTransforms() != null) {\n buf.append(\"TRANS:\");\n for (S6Transform.Memo m : getTransforms()) {\n\tbuf.append(\" \");\n\tbuf.append(m.getTransformName());\n }\n }\n else {\n buf.append(\" TEXT: \" + getFragment().getText());\n }\n buf.append(\"]\");\n\n return buf.toString();\n}", "public void searchAndWriteQueryResultsToOutput() {\n\n List<String> queryList = fu.textFileToList(QUERY_FILE_PATH);\n\n for (int queryID = 0; queryID < queryList.size(); queryID++) {\n String query = queryList.get(queryID);\n // ===================================================\n // 4. Sort the documents by the BM25 scores.\n // ===================================================\n HashMap<String, Double> docScore = search(query);\n List<Map.Entry<String, Double>> rankedDocList =\n new LinkedList<Map.Entry<String, Double>>(docScore.entrySet());\n Collections.sort(rankedDocList, new MapComparatorByValues());\n\n // ===================================================\n // 5. Write Query Results to output\n // =================================================== \n String outputFilePath =\n RANKING_RESULTS_PATH + \"queryID_\" + (queryID + 1) + \".txt\";\n StringBuilder toOutput = new StringBuilder();\n // display results in console\n System.out.println(\"Found \" + docScore.size() + \" hits.\");\n int i = 0;\n for (Entry<String, Double> scoreEntry : rankedDocList) {\n if (i >= NUM_OF_RESULTS_TO_RETURN)\n break;\n String docId = scoreEntry.getKey();\n Double score = scoreEntry.getValue();\n String resultLine =\n (queryID + 1) + \" Q0 \" + docId + \" \" + (i + 1) + \" \" + score + \" BM25\";\n toOutput.append(resultLine);\n toOutput.append(System.getProperty(\"line.separator\"));\n System.out.println(resultLine);\n i++;\n }\n fu.writeStringToFile(toOutput.toString(), outputFilePath);\n }\n }", "public String answerQuery(Query query) {\r\n\t\tString reply = null;\r\n\t\tif(query != null){\r\n\t\t\tif(query.elements != null){\r\n\t\t\t\tArrayList<String> queryReply = query.elements;\r\n\t\t\t\tqueryReply.add(is);\r\n\t\t\t\tqueryReply.add(Float.toString(query.price));\r\n\t\t\t\t\r\n\t\t\t\tif(query.isCredit){\r\n\t\t\t\t\tqueryReply.add(credit);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treply = GalaxyUtil.outputFormatter(queryReply);\r\n\t\t\t}else{\r\n\t\t\t\treply = badQuery;\r\n\t\t\t}\r\n\t\t\treply = query.query+\" \"+reply;\r\n\t\t\t\r\n\t\t\t//System.out.println(query.query+\" \"+reply);\r\n\t\t}\r\n\t\treturn reply;\r\n\t}", "private void compile() throws QueryException, MappingException {\n \t\tLOG.trace( \"Compiling query\" );\n \t\ttry {\n \t\t\tParserHelper.parse( new PreprocessingParser( tokenReplacements ),\n \t\t\t\t\tqueryString,\n \t\t\t\t\tParserHelper.HQL_SEPARATORS,\n \t\t\t\t\tthis );\n \t\t\trenderSQL();\n \t\t}\n \t\tcatch ( QueryException qe ) {\n \t\t\tqe.setQueryString( queryString );\n \t\t\tthrow qe;\n \t\t}\n \t\tcatch ( MappingException me ) {\n \t\t\tthrow me;\n \t\t}\n \t\tcatch ( Exception e ) {\n \t\t\tLOG.debug( \"Unexpected query compilation problem\", e );\n \t\t\te.printStackTrace();\n \t\t\tQueryException qe = new QueryException( \"Incorrect query syntax\", e );\n \t\t\tqe.setQueryString( queryString );\n \t\t\tthrow qe;\n \t\t}\n \n \t\tpostInstantiate();\n \n \t\tcompiled = true;\n \n \t}", "public void exportAllLists(){\n }", "@Test\n\tpublic void testQuery1() {\n\t}", "private String getSQLScript() {\n\t\tStringBuffer sb = new StringBuffer();\n\t\tStringBuffer javaSb = new StringBuffer();\n\t\tsb.append(\"CREATE\").append(\" PROCEDURE \");\n\t\tString procedureName = procNameText.getText();\n\t\tif (procedureName == null) {\n\t\t\tprocedureName = \"\";\n\t\t}\n\t\tsb.append(QuerySyntax.escapeKeyword(procedureName)).append(\"(\");\n\t\tfor (Map<String, String> map : procParamsListData) {\n\t\t\t// \"PARAMS_INDEX\", \"PARAM_NAME\", \"PARAM_TYPE\", \"JAVA_PARAM_TYPE\"\n\t\t\tString name = map.get(\"0\");\n\t\t\tString type = map.get(\"1\");\n\t\t\tString javaType = map.get(\"2\");\n\t\t\tString paramModel = map.get(\"3\");\n\t\t\tString description = map.get(\"4\");\n\t\t\tsb.append(QuerySyntax.escapeKeyword(name)).append(\" \");\n\t\t\tif (!paramModel.equalsIgnoreCase(SPArgsType.IN.toString())) {\n\t\t\t\tsb.append(paramModel).append(\" \");\n\t\t\t}\n\t\t\tsb.append(type);\n\t\t\tif (isCommentSupport && StringUtil.isNotEmpty(description)) {\n\t\t\t\tdescription = String.format(\"'%s'\", description);\n\t\t\t\tsb.append(String.format(\" COMMENT %s\", StringUtil.escapeQuotes(description)));\n\t\t\t}\n\t\t\tsb.append(\",\");\n\t\t\tjavaSb.append(javaType).append(\",\");\n\t\t}\n\t\tif (!procParamsListData.isEmpty()) {\n\t\t\tif (sb.length() > 0) {\n\t\t\t\tsb.deleteCharAt(sb.length() - 1);\n\t\t\t}\n\t\t\tif (javaSb.length() > 0) {\n\t\t\t\tjavaSb.deleteCharAt(javaSb.length() - 1);\n\t\t\t}\n\t\t}\n\t\tsb.append(\")\");\n\n\t\tsb.append(StringUtil.NEWLINE).append(\"AS LANGUAGE JAVA \").append(StringUtil.NEWLINE);\n\t\tString javaFuncName = javaNameText.getText();\n\t\tif (javaFuncName == null) {\n\t\t\tjavaFuncName = \"\";\n\t\t}\n\t\tsb.append(\"NAME '\").append(javaFuncName).append(\"(\").append(javaSb).append(\")\").append(\"'\");\n\t\tif (isCommentSupport) {\n\t\t\tString description = procDescriptionText.getText();\n\t\t\tif (StringUtil.isNotEmpty(description)) {\n\t\t\t\tdescription = String.format(\"'%s'\", description);\n\t\t\t\tsb.append(String.format(\" COMMENT %s\", StringUtil.escapeQuotes(description)));\n\t\t\t}\n\t\t}\n\t\treturn formatSql(sb.toString());\n\t}" ]
[ "0.6284936", "0.62456906", "0.5924226", "0.5734656", "0.5500483", "0.543517", "0.54015034", "0.5379529", "0.5357076", "0.5325628", "0.53124523", "0.5297763", "0.5263535", "0.5259703", "0.519826", "0.51877135", "0.51814663", "0.51611274", "0.51410264", "0.51353306", "0.5095336", "0.50725085", "0.5062094", "0.505254", "0.5048385", "0.5017667", "0.5012951", "0.50107217", "0.5002322", "0.49976256", "0.4969518", "0.4961397", "0.49526596", "0.49389157", "0.49348098", "0.49323136", "0.49141878", "0.4911359", "0.48972294", "0.4895787", "0.48889887", "0.4888535", "0.4886061", "0.4868681", "0.48669982", "0.485555", "0.48528528", "0.48516762", "0.48482642", "0.48433584", "0.4841114", "0.48372662", "0.48327827", "0.48169705", "0.48081928", "0.48081374", "0.4803244", "0.47993463", "0.4796748", "0.4793107", "0.47890276", "0.47810173", "0.47777864", "0.47715682", "0.47650957", "0.47610128", "0.47601673", "0.47533122", "0.47521982", "0.47468722", "0.4745935", "0.47449404", "0.47433996", "0.47420594", "0.47405764", "0.47404522", "0.4736626", "0.4730366", "0.4728119", "0.4724825", "0.47221515", "0.47211295", "0.47200286", "0.47187585", "0.4718149", "0.47136933", "0.47129694", "0.47114235", "0.4711225", "0.47103676", "0.47071487", "0.4702646", "0.46987262", "0.46949646", "0.46903285", "0.46887138", "0.4688529", "0.46841246", "0.46788883", "0.467756", "0.46765417" ]
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Book b1 = new Book(23,"The mads in heaven",200); Book b2 = new Book(25,"Island Treasury",300); Book b3 = new Book(27,"Watery heart",400); ArrayList<Book> al = new ArrayList<Book>(); al.add(b1); al.add(b2); al.add(b3); Iterator<Book> itr1 = al.iterator(); while(itr1.hasNext()) { Book book = itr1.next(); System.out.println("Book price is: "+book.price); System.out.println("Number of pages in the book are: "+book.pages); System.out.println("The book name is: "+book.name); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
set associations among components
public void initialize() { toolBar.setDrawingPanel(this.drawingPanel); //component initialize menuBar.initialize(); toolBar.initialize(); drawingPanel.initialize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadAssociations() {\r\n\r\n\t\tif (immunization.getPatient() != null) {\r\n\t\t\tpatientAction.setInstance(getInstance().getPatient());\r\n\t\t}\r\n\r\n\t\tif (immunization.getVaccine() != null) {\r\n\t\t\tvaccineAction.setInstance(getInstance().getVaccine());\r\n\t\t}\r\n\r\n\t}", "public void loadAssociations() {\n\n\t\tinitListSettingNames();\n\n\t\taddDefaultAssociations();\n\t}", "private void setUpRelations() {\n g[0].getAuthorities().add(a[0]);\n g[1].getAuthorities().add(a[0]);\n g[1].getAuthorities().add(a[1]);\n g[2].getAuthorities().add(a[2]);\n\n u[0].getGroups().add(g[0]);\n u[0].getOwnAuthorities().add(a[2]);\n u[1].getGroups().add(g[1]);\n u[1].getOwnAuthorities().add(a[2]);\n u[2].getOwnAuthorities().add(a[2]);\n u[2].getOwnAuthorities().add(a[3]);\n u[3].getGroups().add(g[1]);\n u[3].getGroups().add(g[2]);\n merge();\n }", "protected abstract void setClueModels();", "void setAssociatedObject(IEntityObject relatedObj);", "private void addDefaultAssociations() {\n\t\tinstance = getInstance();\n\n\t}", "public abstract void setNamedComponents(Map<String,List<Component>> namedComponents);", "void readAssociations() {\n // proxy the collections for lazy loading\n Class c = getClass();\n for (Field f : c.getDeclaredFields()) {\n for (Annotation a : f.getAnnotations()) {\n if (a.annotationType().equals(HasMany.class)) {\n HasManyProxy proxyHandler = new HasManyProxy(this, f, (HasMany) a);\n associationProxies.add(proxyHandler);\n Classes.setFieldValue(this, f.getName(), Proxy.newProxyInstance(List.class.getClassLoader(),\n new Class[]{List.class}, proxyHandler));\n } else if (a.annotationType().equals(HasAndBelongsToMany.class)) {\n // TODO implement\n } else if (a.annotationType().equals(HasOne.class)) {\n // TODO implement\n } else if (a.annotationType().equals(BelongsTo.class)) {\n BelongsTo belongsTo = (BelongsTo) a;\n if (!(f.getGenericType() instanceof Class))\n throw new IllegalAnnotationException(\"@BelongsTo can only be applied to non-generic fields\");\n ActiveRecord ar = (ActiveRecord) Classes.newInstance(f.getGenericType());\n String fk = ActiveRecords.foriegnKey(f.getGenericType());\n if (!belongsTo.foreignKey().equals(\"\")) fk = belongsTo.foreignKey();\n System.out.println(\"foriegn key = \" + fk);\n Object fkValue = Classes.getFieldValue(this, fk);\n if (fkValue != null) {\n ar.read(fkValue);\n Classes.setFieldValue(this, f.getName(), ar);\n }\n }\n }\n }\n }", "public void elSetReference(Object bean);", "public void setcomponenten(ArrayList<Componenten> a){\r\n this.database= a;\r\n }", "protected abstract void setFaces();", "@Override\n\tpublic void setAxioms() {\n\t\tthis.addTypeAxiom(vocabulary_ELSEWEB.getOWLClass_WCSCoverageSet());\n\t\taddDatasets();\n\t}", "public void initComponents() {\n Iterator<Component> itComponent = this.components.iterator();\n while (itComponent.hasNext()) {\n itComponent.next().init(this);\n }\n\n Iterator<Script> itScript = this.scripts.iterator();\n while (itScript.hasNext()) {\n itScript.next().init(this);\n }\n System.out.println(this.owner.id + \" : \" + this.components.toString() + \" \" + this.scripts.toString());\n\n }", "void setLibroCollection1(Collection<Libro> libroCollection1);", "void clearAssociations();", "public void initRelations(ValueChangeEvent ev) {\r\n\t\ttry {\r\n\t\t\t// Limpia lista de relaciones\r\n\t\t\tobject.getRelcos().clear();\r\n\t\t\t// Obtiene valor del concepto seleccionado\r\n\t\t\tString cosccosak = ev.getNewValue().toString();\r\n\t\t\t// Obtiene valores de acuerdo al concepto\r\n\t\t\tList<Seprelco> relcos = seprelcoDao.findByConcept(cosccosak);\r\n\t\t\t// Recorre lista\r\n\t\t\tfor (Seprelco relco : relcos) {\r\n\t\t\t\t// Inicia nuevo registro de sedrelco\r\n\t\t\t\tSedrelco drelco = new Sedrelco();\r\n\t\t\t\t// Prepara objeto\r\n\t\t\t\tdrelco.prepareObject();\r\n\t\t\t\t// Concepto\r\n\t\t\t\tdrelco.setCosccosak(relco.getId().getCosccosak());\r\n\t\t\t\tdrelco.setRcocrcoak(relco.getId().getRcocrcoak());\r\n\t\t\t\t// Descripcion relacion\r\n\t\t\t\tdrelco.setRcodrcoaf(relco.getRcodrcoaf());\r\n\t\t\t\t// Adiciona objeto a la lista\r\n\t\t\t\tobject.getRelcos().add(drelco);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {/* Error */\r\n\t\t\t// Muestra mensaje\r\n\t\t\tthis.processErrorMessage(e.getMessage());\r\n\t\t\t// Log\r\n\t\t\tLogLogger.getInstance(this.getClass()).logger(\r\n\t\t\t\t\tExceptionUtils.getFullStackTrace(e), LogLogger.ERROR);\r\n\t\t}\r\n\t}", "private void createUIComponents() {\n this.removeAll();\n this.setLayout(new GridBagLayout());\n\n selectionListener = e -> update();\n\n categorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategorySet.class, new Full_Set<>(database, CategorySet.class), false, this);\n categorySet_panel.addControlButtons(new CategorySet_ElementController(database, this));\n categorySet_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n virtualCategory_set = new OneParent_Children_Set<>(VirtualCategory.class, null);\n virtualCategory_elementController = new VirtualCategory_ElementController(database, this);\n virtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), VirtualCategory.class, virtualCategory_set, false, this);\n virtualCategory_panel.addControlButtons(virtualCategory_elementController);\n virtualCategory_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n categoryToCategorySet_set = new OneParent_Children_Set<>(CategoryToCategorySet.class, null);\n categoryToCategorySet_elementController = new CategoryToCategorySet_ElementController(database, this);\n categoryToCategorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToCategorySet.class, categoryToCategorySet_set, false, this);\n categoryToCategorySet_panel.addControlButtons(categoryToCategorySet_elementController);\n\n categoryToVirtualCategory_set = new OneParent_Children_Set<>(CategoryToVirtualCategory.class, null);\n categoryToVirtualCategory_elementController = new CategoryToVirtualCategory_ElementController(database, this);\n categoryToVirtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToVirtualCategory.class, categoryToVirtualCategory_set, false, this);\n categoryToVirtualCategory_panel.addControlButtons(categoryToVirtualCategory_elementController);\n\n GridBagConstraints gridBagConstraints = new GridBagConstraints();\n gridBagConstraints.fill = GridBagConstraints.BOTH;\n gridBagConstraints.weightx = 1;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridheight = 2;\n\n gridBagConstraints.gridx = 0;\n this.add(categorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 1;\n gridBagConstraints.gridx = 1;\n this.add(virtualCategory_panel, gridBagConstraints);\n\n gridBagConstraints.weighty = 2;\n this.add(categoryToCategorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 2;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridx = 2;\n this.add(categoryToVirtualCategory_panel, gridBagConstraints);\n }", "public abstract void setupComponent();", "@Override\n @PostConstruct\n protected void init() {\n super.init();\n\n // _HACK_ Attention: you must realize that associations below (when lazy) are fetched from the view, non transactionnally.\n\n if (products == null) {\n products = new SelectableListDataModel<Product>(getPart().getProducts());\n }\n }", "public void setAssociatedMixedPacks(final SessionContext ctx, final Collection<ApparelMixedPack> value)\r\n\t{\r\n\t\tsetLinkedItems( \r\n\t\t\tctx,\r\n\t\t\ttrue,\r\n\t\t\tTrainingCoreConstants.Relations.PRODUCT2MIXEDPACKREL,\r\n\t\t\tnull,\r\n\t\t\tvalue,\r\n\t\t\tfalse,\r\n\t\t\tfalse,\r\n\t\t\tUtilities.getMarkModifiedOverride(PRODUCT2MIXEDPACKREL_MARKMODIFIED)\r\n\t\t);\r\n\t}", "public ContributorTrackingSet(NavigatorContentService aContentService, Object[] elements) {\n for (int i = 0; i < elements.length; i++) super.add(elements[i]);\n contentService = aContentService;\n }", "private void setupGraph() {\n // we use subcomponent, this is a parent dependance\n mSpotifyStreamerComponent = DaggerSpotifyStreamerComponent\n .builder()\n .spotifyStreamerModule(new SpotifyStreamerModule(this))\n .build();\n }", "public void setUIComponent(Component c) {}", "@Override\n public void updateBys() { updateLabelLists(getRTParent().getEntityTagTypes()); fillCommonRelationshipsMenu(); }", "public void putFromConfig(ContainerConfig config) throws ReferenceException {\n for (ComponentConfig componentConfig : config) {\n Object component = null;\n Object locator = null;\n\n try {\n // Create component dynamically\n if (componentConfig.getType() != null) {\n locator = componentConfig.getType();\n component = TypeReflector.createInstanceByDescriptor(componentConfig.getType());\n }\n // Or create component statically\n else if (componentConfig.getDescriptor() != null) {\n locator = componentConfig.getDescriptor();\n component = createStatically(componentConfig.getDescriptor());\n }\n\n // Check that component was created\n if (component == null) {\n throw (CreateException) new CreateException(\"CANNOT_CREATE_COMPONENT\", \"Cannot create component\")\n .withDetails(\"config\", config);\n }\n\n // Add component to the list\n _references.put(locator, component);\n\n // Configure component\n if (component instanceof IConfigurable)\n ((IConfigurable) component).configure(componentConfig.getConfig());\n\n // Set references to factories\n if (component instanceof IFactory) {\n ((IReferenceable) component).setReferences(this);\n }\n } catch (Exception ex) {\n throw (ReferenceException) new ReferenceException(null, locator).withCause(ex);\n }\n }\n }", "@Override\npublic void setUIComponentSelected(ObjectAdapter[] child) {\n\t\n}", "private void inicializarComponentes() {\n universidadesIncluidos = UniversidadFacade.getInstance().listarTodosUniversidadOrdenados();\n universidadesIncluidos.removeAll(universidadesExcluidos);\n Comunes.cargarJList(jListMatriculasCatastrales, universidadesIncluidos);\n }", "void setAutoreCollection(Collection<Autore> autoreCollection);", "private void setComponentsId(){\n this.tableA.setId(1);\n this.horizontalScrollViewB.setId(2);\n this.scrollViewC.setId(3);\n this.scrollViewD.setId(4);\n }", "public void addAssociation(String mPackage, Class type, RefObject a, RefObject b) throws CreationException {\n\t\t\n\t\ttrace.addTrace(TraceType.CREATION, \"Create Association of type \" + type.getSimpleName() + \" in target model.\");\n\t\t\n\t\tRefPackage pkg = loadBasePackage(mPackage);\n\t\tCollection<RefAssociation> assos = pkg.refAllAssociations();\n\t\tfor(RefAssociation ass:assos) {\n\t\t\t/* \n\t\t\t * The return type of java.lang.Class.getInterfaces()\n\t\t\t * has changed in Java 1.6.\n\t\t\t * To compile this file using Java 1.6 or later, change the\n\t\t\t * generic of the List 'interfaces' from List<Class> to\n\t\t\t * List<Class<?>>. \n\t\t\t */\n\t\t\tList<Class> interfaces = Arrays.asList(ass.getClass().getInterfaces());\n\t\t\tif(interfaces.contains(type)) {\n\t\t\t\tMethod add = null;\n\t\t\t\tMethod[] methods = ass.getClass().getMethods();\n\t\t\t\tfor(Method m : methods) {\n\t\t\t\t\tif (m.getName().equals(\"add\")) {\n\t\t\t\t\t\tadd = m;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (add == null) {\n\t\t\t\t\tthrow new CreationException(ADD_METHOD_NOT_FOUND + type.getSimpleName());\n\t\t\t\t}\n\t\t\t\n\t\t\t\tObject[] parameters = {a,b};\n\t\t\t\ttry {\n\t\t\t\t\tadd.invoke(ass, parameters);\n\t\t\t\t} catch (IllegalArgumentException e) {\n\t\t\t\t\tthrow new CreationException(ERROR_ADD_ASS + type.getSimpleName());\n\t\t\t\t} catch (IllegalAccessException e) {\n\t\t\t\t\tthrow new CreationException(ERROR_ADD_ASS + type.getSimpleName());\n\t\t\t\t} catch (InvocationTargetException e) {\n\t\t\t\t\tthrow new CreationException(ERROR_ADD_ASS + type.getSimpleName());\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\t\n\t\n\t\t\n\t\t}", "private void setupMachinery() {\n\t\tthis.renderer = new IntermediateRenderer();\n\t\tthis.controllerModel = new ControllerModel();\n\t\t\n\t\t// connect the Renderer to the Hub\n\t\tthis.hub = new ControllerHub(this.controllerModel, this.renderer, this);\n\t\tthis.hub.addAtomContainer(ac);\n\t\t\n\t\t// connect mouse events from Panel to the Hub\n\t\tthis.mouseEventRelay = new SwingMouseEventRelay(this.hub);\n\t\tthis.addMouseListener(mouseEventRelay);\n\t}", "void addAssociation(Association association);", "void setLibroCollection(Collection<Libro> libroCollection);", "public void applyToPersistentDataHolder(Set<Component> components, PersistentDataHolder holder) {\n Component[] componentsArray = components.toArray(new Component[0]);\n\n holder.getPersistentDataContainer()\n .set(componentsKey, componentArrayTagType, componentsArray);\n\n holder.getPersistentDataContainer()\n .set(versionKey, PersistentDataType.LONG, GearyEntityFactory.ENTITY_VERSION);\n }", "public interface IRelationService<DependenciesBean, AssociationTreeBean> {\n\n /**\n * Method to obtain a list of dependencies.\n *\n * @param path the resource path.\n *\n * @return the list of dependencies.\n * @throws RegistryException if the operation failed.\n */\n DependenciesBean getDependencies(String path) throws RegistryException;\n\n /**\n * Method to add an association (or dependency).\n *\n * @param path the resource path.\n * @param type the type of association. If the type of association is 'depends' a\n * dependency will be created.\n * @param associationPaths the list of associations to be added.\n *\n * @throws RegistryException if the operation failed.\n */\n void addAssociation(String path, String type, String associationPaths,\n String operation) throws RegistryException;\n\n // TODO: FIXME: The operation parameter is not required. Get rid of that and fix the\n // addAssociation method on the BE service.\n\n /**\n * Method to obtain a list of associations.\n * \n * @param path the resource path.\n * @param type the type of association.\n *\n * @return the list of associations.\n * @throws RegistryException if the operation failed.\n */\n AssociationTreeBean getAssociationTree(String path, String type) throws RegistryException;\n}", "public void switchToAssociationMode() {\n if (featureDiagramView.hasCollapsedElements(false)) {\n featureDiagramView.updateFeaturesDisplay(true);\n } else {\n updateColorsFromSelection();\n }\n featureDiagramView.changeHandlers(HandlerFactory.INSTANCE.getFeatureAssociationModeHandler());\n }", "public void set(CoreEntity coreEntity, CoreMorphComponent coreMorphComponent) {\r\n CoreJni.setInCoreMorphComponentManager1(this.agpCptrMorphComponentMgr, this, CoreEntity.getCptr(coreEntity), coreEntity, CoreMorphComponent.getCptr(coreMorphComponent), coreMorphComponent);\r\n }", "@Override\n\tprotected void prepareChangeSetProcessing() {\n\t\t// change set processing is not supported for the product associations import\n\t}", "@Override\npublic void linkUIComponentToMe(VirtualComponent c) {\n\t\n}", "public void testAssociation() {\n \t\tString ID1 = \"iu.1\";\n \t\tString IDF1 = \"iu.fragment.1\";\n \t\tIInstallableUnit iu1 = createEclipseIU(ID1);\n \t\tIInstallableUnit iuf1 = createBundleFragment(IDF1);\n \t\tProfileChangeRequest req = new ProfileChangeRequest(createProfile(getName()));\n \t\treq.addInstallableUnits(iu1, iuf1);\n \t\tcreateTestMetdataRepository(new IInstallableUnit[] {iu1, iuf1});\n \t\tIQueryable<IInstallableUnit> additions = createPlanner().getProvisioningPlan(req, null, null).getAdditions();\n \t\t{\n \t\t\tIterator<IInstallableUnit> iterator = additions.query(QueryUtil.createIUQuery(ID1), null).iterator();\n \t\t\tassertTrue(\"Solution contains IU \" + ID1, iterator.hasNext());\n \t\t\tIInstallableUnit iu = iterator.next();\n \t\t\tassertEquals(\"Number of attached fragments to IU \" + ID1, 1, iu.getFragments().size());\n \t\t\tassertEquals(\"Attached fragment to IU \" + ID1, IDF1, iu.getFragments().iterator().next().getId());\n \t\t}\n \t\t{\n \t\t\tIterator<IInstallableUnit> iterator = additions.query(QueryUtil.createIUQuery(IDF1), null).iterator();\n \t\t\tassertTrue(\"Solution contains IU \" + IDF1, iterator.hasNext());\n \t\t\tIInstallableUnit iu = iterator.next();\n \t\t\tassertEquals(\"Number of attached fragments to IU \" + IDF1, 0, iu.getFragments().size());\n \t\t}\n \t\t//\t\tResolutionHelper rh = new ResolutionHelper(new Hashtable(), null);\n \t\t//\t\tHashSet set = new HashSet();\n \t\t//\t\tset.add(iu1);\n \t\t//\t\tset.add(iu2);\n \t\t//\t\tCollection result = rh.attachCUs(set);\n \t}", "void setCopiaelettronicaCollection(Collection<Copiaelettronica> copiaelettronicaCollection);", "private void processComponentGroupings(String rel, Element comp){\n\t\tSubmodel parentsubmodel = semsimmodel.getSubmodel(comp.getAttributeValue(\"component\"));\n\t\tIterator<?> subcompit = comp.getChildren(\"component_ref\", mainNS).iterator();\n\t\twhile(subcompit.hasNext()){\n\t\t\tElement subcomp = (Element) subcompit.next();\n\t\t\tSubmodel childsubmodel = semsimmodel.getSubmodel(subcomp.getAttributeValue(\"component\"));\n\t\t\t\n\t\t\t// If both components have corresponding FunctionalSubmodels in the SemSimModel\n\t\t\tif(parentsubmodel instanceof FunctionalSubmodel && childsubmodel instanceof FunctionalSubmodel){\n\t\t\t\tSet<FunctionalSubmodel> valueset = ((FunctionalSubmodel)parentsubmodel).getRelationshipSubmodelMap().get(rel);\n\t\t\t\t\n\t\t\t\t// If we haven't associated a FunctionalSubmodel with this relationship type yet, create new value set, add value\n\t\t\t\tif(valueset==null) valueset = new HashSet<FunctionalSubmodel>();\n\t\t\t\tvalueset.add((FunctionalSubmodel)childsubmodel);\n\t\t\t\t\n\t\t\t\t// Connect the parent and child submodels\n\t\t\t\t((FunctionalSubmodel)parentsubmodel).getRelationshipSubmodelMap().put(rel, valueset);\n\t\t\t\t\n\t\t\t\tparentsubmodel.addSubmodel(childsubmodel);\n\t\t\t\t\n\t\t\t\t// Iterate recursively\n\t\t\t\tprocessComponentGroupings(rel, subcomp);\n\t\t\t}\n\t\t}\n\t}", "void configureComboViewer(ComboViewer comboViewer, EStructuralFeature feature);", "private String addClassAssociations() {\n\n symplifyClassRelationMap();\n\n String result = \"\";\n Set<String> keys = classRelationMap.keySet(); // get all keys\n\n for (String key : keys) {\n\n String[] classes = key.split(\"-\");\n\n if (mapIfInterface.get(classes[0])) result += \"[<interface>;\" + classes[0] + \"]\";\n else result += \"[\" + classes[0] + \"]\";\n\n result += classRelationMap.get(key); // Add connection\n\n if (mapIfInterface.get(classes[1])) result += \"[<interface>;\" + classes[1] + \"]\";\n else result += \"[\" + classes[1] + \"]\";\n\n result += \",\";\n }\n return result;\n }", "private void initComposants() {\r\n\t\tselectionMatierePanel = new SelectionMatierePanel(1);\r\n\t\ttableauPanel = new TableauPanel(1);\r\n\t\tadd(selectionMatierePanel, BorderLayout.NORTH);\r\n\t\tadd(tableauPanel, BorderLayout.SOUTH);\r\n\t\t\r\n\t}", "public void setCourses(ArrayList value);", "private final void setDependencies() {\n\t\tsetpoint.registerDependentWidget(setpoint);\n\t\t// in the onPOSTComplete method of setpoint, we set a message to be displayed by alert, hence we need to reload the alert after the POST\n\t\tsetpoint.registerDependentWidget(alert);\n\t\troomDrop.registerDependentWidget(name);\n\t\troomDrop.registerDependentWidget(setpoint);\n\t}", "@Override\r\n\tpublic void addAssociations(Criteria criteria) {\r\n\r\n\t\tif (immunization.getPatient() != null) {\r\n\t\t\tcriteria = criteria.add(Restrictions.eq(\"patient.id\", immunization\r\n\t\t\t\t\t.getPatient().getId()));\r\n\t\t}\r\n\r\n\t\tif (immunization.getVaccine() != null) {\r\n\t\t\tcriteria = criteria.add(Restrictions.eq(\"vaccine.id\", immunization\r\n\t\t\t\t\t.getVaccine().getId()));\r\n\t\t}\r\n\r\n\t}", "public void setupAssociations( String ... list )\n {\n if( list.length != 0 )\n {\n for( String word : list )\n {\n associations[numAssocs] = word;\n numAssocs++;\n }\n }\n }", "public static void updateComponentEntityMentions(JCas aJCas, String componentId) {\n HashMultimap<Word, EntityMention> word2EntityMentions = getWord2Entities(aJCas);\n\n // associate APL to entities\n ArrayListMultimap<EntityBasedComponent, EntityMention> component2Entities = getContainedEntityMentionOrCreateNewForAll(\n aJCas, JCasUtil.select(aJCas, EntityBasedComponent.class), word2EntityMentions,\n componentId);\n\n for (EntityBasedComponent comp : component2Entities.keySet()) {\n List<EntityMention> entityMentions = component2Entities.get(comp);\n comp.setContainingEntityMentions(FSCollectionFactory.createFSList(aJCas, entityMentions));\n }\n }", "public void initComponents() {\n//metoda gatherBrandSet z klasy CarManager przyjmuje polaczenie do bazy\n carManager.gatherBrandSet(connectionManager.getStatement());\n//petla iterujaca po elementach zbioru marek i dodajaca elementy do listy\n carBrandList.removeAll(carBrandList);\n for(String o: carManager.getBrandSet()){\n\n carBrandList.add(o);\n }\n\n//ustawianie listy jako ChoiceBox w GUI\n brandCBox.setItems(carBrandList);\n\n//Marka Box wrazliwa na zmiany\n brandCBox.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n//przesylanie wyboru Marki do CarManager\n carManager.setBrandChoice((String) brandCBox.getValue());\n carManager.gatherModelSet(connectionManager.getStatement());\n//Czyszczenie listy i dodawanie nowych obiektow z ModelSet do ModelList\n carModelList.removeAll(carModelList);\n for (String p : carManager.getModelSet())\n carModelList.add(p);\n\n modelCBox.setItems(carModelList);\n// Listener do zmiany Modelu\n modelCBox.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n//Ustawianie wartosci wybranej z przycisku\n carManager.setMarkaChoice((String) modelCBox.getValue());\n// Mechaniz wyboru silnika\n carManager.gatherEngineSet(connectionManager.getStatement());\n\n\n carEngineList.removeAll(carEngineList);\n for(String p: carManager.getEngineSet())\n carEngineList.add(p);\n\n engineCBox.setItems(carEngineList);\n engineCBox.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n carManager.setEngineChoice(String.valueOf(engineCBox.getValue()));\n }\n });\n\n\n }\n });\n\n }\n });\n//Pobieranie Elementow z bazy\n elementManager.gatherElementSet(connectionManager.getStatement());\n\n servActivities.setItems(carActivityList);\n servActivities.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n\n\n }\n });\n\n carElementList.removeAll(carModelList);\n for(String p: elementManager.getElementSet())\n carElementList.add(p);\n\n elementActivities.setItems(carElementList);\n elementActivities.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n elementManager.setElementChoice(String.valueOf(elementActivities.getValue()));\n\n }\n });\n//Ustawianie lat\n yearList.removeAll(yearList);\n for(int i = 2017; i> 1970; i--){\n yearList.add(i);\n }\n yearCBox.setItems(yearList);\n //Przypisywanie do zmiennej\n yearCBox.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {\n @Override\n public void changed(ObservableValue observable, Object oldValue, Object newValue) {\n carManager.setYearChoice(0);\n carManager.setYearChoice(Integer.valueOf(String.valueOf(yearCBox.getValue())));\n }\n });\n\n}", "@Override\n protected void set(java.util.Collection<org.tair.db.locusdetail.IPolymorphismSite> list) {\n polymorphismSite = list;\n // Add the primary keys to the serialized key list if there are any.\n if (polymorphismSite != null) {\n for (com.poesys.db.dto.IDbDto object : polymorphismSite) {\n polymorphismSiteKeys.add(object.getPrimaryKey());\n }\n }\n }", "private void linkComponents(List<Set<Factor>> components,\n Set<Factor> factors) {\n // The first component should be the biggest one. All other factors\n // should be linked to the first components randomly\n Set<Factor> first = components.get(0);\n for (int i = 1; i < components.size(); i++) {\n Set<Factor> second = components.get(i);\n Variable var1 = pickUpVar(first);\n Variable var2 = pickUpVar(second);\n Factor factor = createEqualFactor(var1, var2);\n factors.add(factor);\n }\n }", "@Override\npublic void setUIComponent(VirtualComponent c) {\n\t\n}", "protected void setEmbeddableKeys() {\n }", "void setDisjoint(DisjointSet disjoint);", "@Override\n public void updateEntityTagTypes(Set<String> types) { updateLabelLists(types); fillCommonRelationshipsMenu(); }", "public void manageJunction() {\r\n for (Vehicle v : this.getVehicles()) {\r\n v.act();\r\n }\r\n }", "void setAssociatedPart(int asProID) {\n this.asProID = asProID;\n }", "void initCommunityProperty();", "@Override\n\tpublic void setup() {\n\t\tfor (Communication communication: listCommunication) {\n\t\t\tcommunication.setup();\n\t\t}\n\t}", "protected void setComponent(Component newComponent) {\n\tcomponent = newComponent;\n}", "private void setupDependentEntities(final BwEvent val) throws CalFacadeException {\n if (val.getAlarms() != null) {\n for (BwAlarm alarm: val.getAlarms()) {\n alarm.setEvent(val);\n alarm.setOwnerHref(getUser().getPrincipalRef());\n }\n }\n }", "public interface PartOfRelation\r\n{\r\n\r\n\t/**\r\n\t * Sets author\r\n\t * \r\n\t * @param author\r\n\t */\r\n\tvoid setAuthor(String author);\r\n\r\n\r\n\t/**\r\n\t * @return Author\r\n\t */\r\n\tString getAuthor();\r\n\r\n\t/**\r\n\t * Sets class type, one typical value is '300'\r\n\t * \r\n\t * @param classType\r\n\t */\r\n\tvoid setClassType(String classType);\r\n\r\n\t/**\r\n\t * @return class type\r\n\t */\r\n\tString getClassType();\r\n\r\n\t/**\r\n\t * Sets object key, for material items this is the product ID.\r\n\t * \r\n\t * @param objectKey\r\n\t */\r\n\tvoid setObjectKey(String objectKey);\r\n\r\n\t/**\r\n\t * @return Object key.\r\n\t */\r\n\tString getObjectKey();\r\n\r\n\t/**\r\n\t * Sets object type, product or an abstract product representative\r\n\t * \r\n\t * @param objectType\r\n\t */\r\n\tvoid setObjectType(String objectType);\r\n\r\n\t/**\r\n\t * @return Object type\r\n\t */\r\n\tString getObjectType();\r\n\r\n\t/**\r\n\t * Sets position in the BOM\r\n\t * \r\n\t * @param posNr\r\n\t */\r\n\tvoid setPosNr(String posNr);\r\n\r\n\t/**\r\n\t * @return Position number\r\n\t */\r\n\tString getPosNr();\r\n\r\n\t/**\r\n\t * Sets parent instance ID\r\n\t * \r\n\t * @param parentInstId\r\n\t */\r\n\tvoid setParentInstId(String parentInstId);\r\n\r\n\t/**\r\n\t * @return Parent instance ID\r\n\t */\r\n\tString getParentInstId();\r\n\r\n\t/**\r\n\t * Sets child instance ID\r\n\t * \r\n\t * @param instId\r\n\t */\r\n\tvoid setInstId(String instId);\r\n\r\n\t/**\r\n\t * @return Child instance ID\r\n\t */\r\n\tString getInstId();\r\n}", "@Autowired(required=false)\n public void addRuleAssociations(Set<DecideRuledSheetAssociation> associations) {\n // always keep sorted by order\n this.ruleAssociations.clear();\n this.ruleAssociations.addAll(associations);\n }", "public AssociationEndsPropertyPanel(PropertiesPanel propertiesPanel) {\n super(Collections.singletonList(PropertyKind.ASSOCIATION_ENDS_LINK), propertiesPanel);\n\n JPanel panel = retrievePanel();\n Util.setFixedSize(panel, 230, 50);\n\n panel.setLayout(new GridBagLayout());\n\n // initializes the two labels for the two association ends\n // the foreground colors are set to BLUE and the cursors are set to hand cursor\n labelAssociationEnd1 = new JLabel();\n labelAssociationEnd1.setForeground(new Color(4, 87, 162));\n labelAssociationEnd1.setCursor(new Cursor(Cursor.HAND_CURSOR));\n labelAssociationEnd2 = new JLabel();\n labelAssociationEnd2.setForeground(new Color(4, 87, 162));\n labelAssociationEnd2.setCursor(new Cursor(Cursor.HAND_CURSOR));\n\n panel.setBorder(BorderFactory.createTitledBorder(\"Association Ends\"));\n\n GridBagConstraints constraints = new GridBagConstraints();\n constraints.gridx = 0;\n constraints.gridy = 0;\n constraints.weightx = 1;\n constraints.weighty = 1;\n constraints.fill = GridBagConstraints.BOTH;\n constraints.insets = new Insets(-5, 40, 0, 0);\n panel.add(labelAssociationEnd1, constraints);\n constraints.gridx = 1;\n constraints.insets = new Insets(-5, 0, 0, 0);\n panel.add(labelAssociationEnd2, constraints);\n\n // Creates an MouseListener instance and assign it to the two labels for association ends\n MouseListener listener = new MouseAdapter() {\n /**\n * <p>\n * Invoked when the mouse has been clicked on a component.\n * </p>\n *\n * <p>\n * When the <code>JLabel</code> is clicked, this method will be invoked\n * </p>\n *\n * @param e an event which indicates that a mouse action occurred in a component\n */\n public void mouseClicked(MouseEvent e) {\n JLabel label = (JLabel) e.getSource();\n\n // The logic will be executed only when all the configured model elements have\n // the same first and second association ends\n if (label.getText().length() > 0) {\n Association association = (Association) getConfiguredModelElements().get(0);\n List<AssociationEnd> ends = association.getConnections();\n\n if (label == labelAssociationEnd1) {\n // configure the panel with the first association end\n if (ends.size() > 0) {\n //getPropertiesPanel().fireSelectionChangeEvent(association);\n getPropertiesPanel().configurePanel(ends.get(0));\n getPropertiesPanel().fireSelectionChangeEvent(ends.get(0));\n\n // set it visible back, since listeners may hide it\n getPropertiesPanel().setVisible(true);\n }\n } else {\n // configure the panel with the second association end\n if (ends.size() > 1) {\n getPropertiesPanel().configurePanel(ends.get(1));\n getPropertiesPanel().fireSelectionChangeEvent(ends.get(1));\n\n // set it visible back, since listeners may hide it\n getPropertiesPanel().setVisible(true);\n }\n }\n }\n }\n };\n\n // install the mouse listener to the two labels\n labelAssociationEnd1.addMouseListener(listener);\n labelAssociationEnd2.addMouseListener(listener);\n }", "T setGuides(List<Guide> guides);", "@PostConstruct\n public void initRoad(){\n LinearReference();\n }", "public void mouseClicked(MouseEvent e) {\n JLabel label = (JLabel) e.getSource();\n\n // The logic will be executed only when all the configured model elements have\n // the same first and second association ends\n if (label.getText().length() > 0) {\n Association association = (Association) getConfiguredModelElements().get(0);\n List<AssociationEnd> ends = association.getConnections();\n\n if (label == labelAssociationEnd1) {\n // configure the panel with the first association end\n if (ends.size() > 0) {\n //getPropertiesPanel().fireSelectionChangeEvent(association);\n getPropertiesPanel().configurePanel(ends.get(0));\n getPropertiesPanel().fireSelectionChangeEvent(ends.get(0));\n\n // set it visible back, since listeners may hide it\n getPropertiesPanel().setVisible(true);\n }\n } else {\n // configure the panel with the second association end\n if (ends.size() > 1) {\n getPropertiesPanel().configurePanel(ends.get(1));\n getPropertiesPanel().fireSelectionChangeEvent(ends.get(1));\n\n // set it visible back, since listeners may hide it\n getPropertiesPanel().setVisible(true);\n }\n }\n }\n }", "void addComponents();", "public interface EOAssociationConnector{\n /**\n * Invoked when one of the receiver's subcontrollers is disposed as a transient controller. Instructs the receiver to assume responsibility for managing the subcontroller's EOAssociation, association.\n */\n abstract void takeResposibilityForConnectionOfAssociation(com.webobjects.eointerface.EOAssociation association);\n\n}", "protected abstract ActivityComponent setupComponent();", "private static void setSubsystems()\n {\n //Components\n //Talons\n frontLeftTalon.setName(\"DrivetrainSubsystem\", \"FrontLeftDriveTalon\");\n frontRightTalon.setName(\"DrivetrainSubsystem\", \"FrontRightDriveTalon\");\n rearLeftTalon.setName(\"DrivetrainSubsystem\", \"RearLeftDriveTalon\");\n rearRightTalon.setName(\"DrivetrainSubsystem\", \"RearRightDriveTalon\");\n //Sensors\n //navX.setName(\"SensorSubsystem\", \"NavX\");\n System.out.print(pigeon.getAbsoluteCompassHeading());\n \n //Subsystems\n drivetrainSubsystem.setName(\"DrivetrainSubsystem\", \"DrivetrainSubsystem\");\n sensorSubsystem.setName(\"SensorSubsystem\", \"SensorSubsystem\");\n }", "public interface AssociationClassConfiguration extends AssociationClass, ClassConfiguration, AssociationConfiguration {\n}", "public void initializeConnections(){\n cc = new ConnectorContainer();\n cc.setLayout(null);\n cc.setAutoscrolls(true);\n connections = new LinkedList<JConnector>();\n agents = new LinkedList<JConnector>();\n }", "@Override\n\tpublic void setupCustomComponents(int guiLeft, int guiTop){\n\t\tSet<String> customVariables = new LinkedHashSet<String>();\n\t\tif(vehicle.definition.rendering.customVariables != null){\n\t\t\tcustomVariables.addAll(vehicle.definition.rendering.customVariables);\n\t\t}\n\t\tfor(APart part : vehicle.parts){\n\t\t\tif(part.definition.rendering != null && part.definition.rendering.customVariables != null){\n\t\t\t\tcustomVariables.addAll(part.definition.rendering.customVariables);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint variableNumber = 0;\n\t\tfor(String customVariable : customVariables){\n\t\t\tGUIComponentSelector customSelector = new GUIComponentSelector(guiLeft + xOffset + (variableNumber%2)*SELECTOR_SIZE, guiTop + GAP_BETWEEN_SELECTORS + (variableNumber/2)*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, customVariable, vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, CUSTOM_TEXTURE_WIDTH_OFFSET, CUSTOM_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketEntityVariableToggle(vehicle, this.text));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\tcustomSelectors.add(customSelector);\n\t\t\taddSelector(customSelector);\n\t\t\t++variableNumber;\n\t\t}\n\t\t\n\t\tif(vehicle.definition.motorized.hasRadioNav || ConfigSystem.configObject.general.allPlanesWithNav.value){\n\t\t\t//Add beacon text box. This is stacked below the custom selectors.\n\t\t\tbeaconBox = new GUIComponentTextBox(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 2*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE*2, vehicle.selectedBeaconName, SELECTOR_SIZE, vehicle.selectedBeacon != null ? ColorRGB.GREEN : ColorRGB.RED, ColorRGB.BLACK, 5){\n\t\t\t\t@Override\n\t\t\t\tpublic void handleKeyTyped(char typedChar, int typedCode, TextBoxControlKey control){\n\t\t\t\t\tsuper.handleKeyTyped(typedChar, typedCode, control);\n\t\t\t\t\t//Update the vehicle beacon state.\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketVehicleBeaconChange(vehicle, getText()));\n\t\t\t\t}\n\t\t\t};\n\t\t\taddTextBox(beaconBox);\n\t\t\t\n\t\t\t//Add beacon text box label.\n\t\t\tGUIComponentLabel beaconLabel = new GUIComponentLabel(beaconBox.x + beaconBox.width/2, beaconBox.y + beaconBox.height + 1, vehicle.definition.motorized.panelTextColor != null ? vehicle.definition.motorized.panelTextColor : ColorRGB.WHITE, InterfaceCore.translate(\"gui.panel.beacon\"), TextAlignment.CENTERED, 0.75F);\n\t\t\tbeaconLabel.setBox(beaconBox);\n\t\t\tlabels.add(beaconLabel);\n\t\t}\n\t\t\n\t\t//If we have both gear and a trailer hookup, render them side-by-side. Otherwise just render one in the middle\n\t\tif(vehicle.definition.motorized.gearSequenceDuration != 0 && !trailerSwitchDefs.isEmpty()){\n\t\t\tgearSelector = new GUIComponentSelector(guiLeft + xOffset, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.gear\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, GEAR_TEXTURE_WIDTH_OFFSET, GEAR_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketEntityVariableToggle(vehicle, EntityVehicleF_Physics.GEAR_VARIABLE));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(gearSelector);\n\t\t\t\n\t\t\ttrailerSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, trailerSwitchDefs.get(0).connectionGroup.groupName, vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, TRAILER_TEXTURE_WIDTH_OFFSET, TRAILER_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tSwitchEntry switchDef = trailerSwitchDefs.get(0);\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketEntityTrailerConnection(switchDef.entityOn, InterfaceClient.getClientPlayer(), switchDef.connectionGroupIndex));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(trailerSelector);\n\t\t}else if(vehicle.definition.motorized.gearSequenceDuration != 0){\n\t\t\tgearSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE/2, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, InterfaceCore.translate(\"gui.panel.gear\"), vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, GEAR_TEXTURE_WIDTH_OFFSET, GEAR_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketEntityVariableToggle(vehicle, EntityVehicleF_Physics.GEAR_VARIABLE));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(gearSelector);\n\t\t}else if(!trailerSwitchDefs.isEmpty()){\n\t\t\ttrailerSelector = new GUIComponentSelector(guiLeft + xOffset + SELECTOR_SIZE/2, guiTop + GAP_BETWEEN_SELECTORS + 3*(SELECTOR_SIZE + GAP_BETWEEN_SELECTORS), SELECTOR_SIZE, SELECTOR_SIZE, trailerSwitchDefs.get(0).connectionGroup.groupName, vehicle.definition.motorized.panelTextColor, vehicle.definition.motorized.panelLitTextColor, SELECTOR_TEXTURE_SIZE, SELECTOR_TEXTURE_SIZE, TRAILER_TEXTURE_WIDTH_OFFSET, TRAILER_TEXTURE_HEIGHT_OFFSET, getTextureWidth(), getTextureHeight()){\n\t\t\t\t@Override\n\t\t\t\tpublic void onClicked(boolean leftSide){\n\t\t\t\t\tSwitchEntry switchDef = trailerSwitchDefs.get(0);\n\t\t\t\t\tInterfacePacket.sendToServer(new PacketEntityTrailerConnection(switchDef.entityOn, InterfaceClient.getClientPlayer(), switchDef.connectionGroupIndex));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onReleased(){}\n\t\t\t};\n\t\t\taddSelector(trailerSelector);\n\t\t}\n\t}", "protected void fillValueInOneToManyRel(Object value)\r\n\t{\r\n\t}", "public interface PetriNetViewComponent {\n /**\n * Delete the petri net view component\n */\n void delete();\n\n /**\n * Each subclass should know how to add itself to a PetriNetTab\n * @param container to add itself to\n */\n void addToContainer(Container container);\n\n\n}", "@SuppressWarnings(\"unchecked\")\n private void init(JMenuBar menu, PSRelationshipInfoSet relationshipSet)\n {\n \n setLayout(new BoxLayout(this, BoxLayout.X_AXIS));\n PSDisplayOptions dispOptions =\n (PSDisplayOptions)UIManager.getDefaults().get(\n PSContentExplorerConstants.DISPLAY_OPTIONS);\n PSFocusBorder focusBorder = new PSFocusBorder(1, dispOptions);\n \n if(m_view.equals(PSUiMode.TYPE_VIEW_DT))\n {\n m_contentItem = new PSLocator(\n m_applet.getParameter(PSContentExplorerConstants.PARAM_CONTENTID),\n m_applet.getParameter(PSContentExplorerConstants.PARAM_REVISIONID));\n\n JPanel rsPanel = new JPanel();\n rsPanel.setLayout(new BoxLayout(rsPanel, BoxLayout.X_AXIS));\n JLabel rsLabel = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Relationship:\"),\n SwingConstants.LEFT);\n rsLabel.setFocusable(true); \n char mnemonic = PSContentExplorerApplet.getResourceMnemonic(\n getClass(), \"Relationship:\", 'R');\n \n rsPanel.add(rsLabel);\n rsPanel.add(makeFillerOpaque(Box.createHorizontalStrut(5)));\n \n m_rsCombo = new JComboBox();\n rsLabel.setLabelFor(m_rsCombo); // Associate label with combobox\n if (mnemonic != 0) {\n rsLabel.setDisplayedMnemonic(mnemonic);\n } \n focusBorder.addToComponent(m_rsCombo, false);\n m_rsCombo.setRenderer(new DefaultListCellRenderer()\n {\n @Override\n public Component getListCellRendererComponent(\n JList list,\n Object value,\n int index,\n boolean isSelected,\n boolean cellHasFocus\n )\n {\n super.getListCellRendererComponent(list, value, index,\n isSelected, cellHasFocus);\n if(value instanceof PSRelationshipInfo)\n {\n PSRelationshipInfo relInfo = (PSRelationshipInfo)value;\n setText(m_applet.getResourceString(\n \"psx.\" + PSConfigurationFactory.RELATIONSHIPS_CFG + \".\" +\n relInfo.getName() + \"@\" + relInfo.getLabel()));\n }\n return this;\n }\n }\n );\n m_rsCombo.setPreferredSize(new Dimension(180,20));\n m_rsCombo.setMinimumSize(new Dimension(180,20));\n m_rsCombo.setMaximumSize(new Dimension(180,20));\n m_rsCombo.addItemListener(this);\n \n \n Iterator<PSRelationshipInfo> relationships = \n relationshipSet.getComponents();\n List<PSRelationshipInfo> orderedRels = \n new ArrayList<PSRelationshipInfo>();\n if(!relationships.hasNext())\n throw new IllegalStateException(\"No relationships found\");\n while (relationships.hasNext())\n {\n orderedRels.add(relationships.next());\n }\n Collections.sort(orderedRels, new Comparator<PSRelationshipInfo>()\n {\n /**\n * Order by label, ascending.\n */\n public int compare(PSRelationshipInfo o1, PSRelationshipInfo o2)\n {\n String l1 = o1.getLabel();\n String l2 = o2.getLabel();\n return l1.compareToIgnoreCase(l2);\n }\n });\n\n String relName = m_applet.getParameter(\n PSContentExplorerConstants.PARAM_RELATIONSHIP_NAME);\n if (relName == null)\n relName = StringUtils.EMPTY;\n relationships = orderedRels.iterator();\n while(relationships.hasNext())\n {\n PSRelationshipInfo relInfo = relationships.next();\n \n m_rsCombo.addItem(relInfo);\n \n if (relInfo.getName().equalsIgnoreCase(relName))\n {\n m_rsCombo.setSelectedItem(relInfo);\n }\n }\n \n rsPanel.add(m_rsCombo);\n\n add(rsPanel);\n\n if(menu != null)\n {\n menu.setAlignmentY(CENTER_ALIGNMENT);\n menu.setBorderPainted(false);\n add(menu);\n }\n\n JPanel labelPanel = new JPanel();\n labelPanel.setLayout(new BoxLayout(labelPanel, BoxLayout.X_AXIS));\n labelPanel.setAlignmentY(CENTER_ALIGNMENT);\n\n JLabel label = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Content Item:\"));\n label.setIcon(PSImageIconLoader.loadIcon(\n CONTENT_PATH_SEPARATOR_ICON, false, m_applet));\n label.setFocusable(true);\n labelPanel.add(label);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalStrut(5)));\n \n PSNameLabel nameLabel = new PSNameLabel();\n nameLabel.setText(\n m_applet.getParameter(PSContentExplorerConstants.PARAM_ITEM_TITLE));\n \n label.setLabelFor(nameLabel);\n \n labelPanel.add(nameLabel);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalGlue()));\n add(makeFillerOpaque(Box.createHorizontalStrut(15)));\n add(labelPanel);\n \n }\n else\n {\n if(menu != null)\n {\n menu.setAlignmentY(CENTER_ALIGNMENT);\n menu.setBorderPainted(false); \n add(menu);\n \n }\n\n JPanel labelPanel = new JPanel();\n labelPanel.setLayout(new BoxLayout(labelPanel, BoxLayout.X_AXIS));\n labelPanel.setAlignmentY(CENTER_ALIGNMENT);\n labelPanel.setVisible(true);\n labelPanel.setFocusTraversalKeysEnabled(true);\n \n \n JLabel label = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Content Path:\") + \" \");\n label.setIcon(PSImageIconLoader.loadIcon(\n CONTENT_PATH_SEPARATOR_ICON, false, m_applet));\n \n labelPanel.add(label);\n\n //Make the path text field as not edit able We need the text field \n // rather the label, so that we can copy from that field\n \n m_pathLabelField.setOpaque(false);\n \n \n labelPanel.add(m_pathLabelField);\n label.setLabelFor(m_pathLabelField);\n \n \n // add refresh button\n Icon refreshIcon = PSImageIconLoader.loadIcon(REFRESH_ICON, false, m_applet); \n m_refreshButton = new JButton(refreshIcon);\n Dimension buttonSize = new Dimension(refreshIcon.getIconWidth() + 5, \n refreshIcon.getIconHeight() + 5);\n m_refreshButton.setPreferredSize(buttonSize);\n m_refreshButton.setMaximumSize(buttonSize);\n m_refreshButton.setMinimumSize(buttonSize);\n m_refreshButton.setVisible(true);\n m_refreshButton.setBorder(focusBorder);\n m_refreshButton.getAccessibleContext().setAccessibleName(\n \"Click to refresh selected node in the navigation pane\");\n m_refreshButton.getAccessibleContext().setAccessibleDescription(\n \"Click to refresh selected node in the navigation pane description\");\n final PSMenuAction refreshAction = new PSMenuAction(\n IPSConstants.ACTION_REFRESH, \"refresh\");\n String tooltip = m_applet.getResourceString(getClass(),\n \"@Refresh View\");\n m_refreshButton.setToolTipText(tooltip);\n m_refreshButton.addActionListener(new ActionListener()\n {\n public void actionPerformed(\n @SuppressWarnings(\"unused\") ActionEvent e)\n {\n if (m_navSelection != null)\n m_applet.getActionManager().executeAction(refreshAction, \n m_navSelection);\n }\n });\n \n labelPanel.add(makeFillerOpaque(Box.createHorizontalGlue()));\n \n // add search results label\n m_resultsLabel.setVisible(false);\n labelPanel.add(m_resultsLabel);\n\n // add refresh button\n labelPanel.add(m_refreshButton);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalStrut(10)));\n \n add(makeFillerOpaque(Box.createHorizontalStrut(15))); \n add(labelPanel);\n }\n }", "void instantiateComponents();", "public void setPortletComponents(ArrayList components) {\n this.components = components;\n }", "public interface ComponentsAware \n{\n\t/**\n\t * This method retrieves components by its name. If the component doesn't exist\n\t * it returns an empty List.\n\t * \n\t * @param name The name of the component we want to retrieve\n\t * @return The Component\n\t */\n\tpublic abstract List<Component> getComponentsByName(String name);\n\t\n\t/**\n\t * This method retrieves components by its name. If the component doesn't exist\n\t * it returns <code>null</code>.\n\t * \n\t * @param name The name of the component we want to retrieve\n\t * @return The Component\n\t */\t\n\tpublic abstract Component getComponentByName(String name);\n\t\n\t/**\n\t * It retrieves all the named components within the main Container\n\t * returned by this view.\n\t * \n\t * @return A map with all the named components\n\t */\n\tpublic abstract Map<String,List<Component>> getNamedComponents();\n\t\n\t/**\n\t * NamedComponents should be filled by an external delegator. It should inspect\n\t * the rootPane of the view and retrieve all named java.awt.Component components.\n\t * \n\t * @param namedComponents\n\t */\n\tpublic abstract void setNamedComponents(Map<String,List<Component>> namedComponents);\n}", "private void setParentFeatures(ClassifiedFeature classifiedFeature, Classifier newClassifier) {\n Feature childFeature = classifiedFeature.getFeature();\r\n List<Feature> anchestors = FeatureModelUtil.getAllAchestorFeatures(childFeature);\r\n\r\n Classification classification = (Classification) classifiedFeature.eContainer();\r\n // set each anchestor alive\r\n for (Feature feature : anchestors) {\r\n // check if the parent features are contained in the view and therefore can be configured manually\r\n handleAutoCompleteFeature(feature, newClassifier, classification);\r\n }\r\n }", "private void setInterfaces() {\n\t\tif (interfaceNames == null) {\n\t\t\treturn;\n\t\t}\n\t\tif (interfaces != null) {\n\t\t\treturn;\n\t\t}\n\t\tinterfaces = new HashMap();\n\t\tfor (int i = 0; i < interfaceNames.length; i++) {\n\t\t\tBCClass _interface =\n\t\t\t\tJavaApplication.Application.getClass(interfaceNames[i]);\n\t\t\tinterfaces.put(interfaceNames[i], _interface);\n\t\t}\n\t}", "public abstract void setupReferences() throws SQLException;", "void processInheritanceAssociations() {\n\t\tFamixAssociation foundInheritance;\n\t\tHashSet<String> foundInheritanceList;\n\t\tHashSet<String> alreadyIncludedInheritanceList;\n\t\tinheritanceAssociationsPerClass = new HashMap<String, HashSet<String>>();\n\t\ttry{\n\t\t\tIterator<FamixAssociation> iterator = theModel.waitingAssociations.iterator();\n\t for (Iterator<FamixAssociation> i=iterator ; i.hasNext();) {\n\t \tboolean inheritanceAssociation = false;\n\t \tboolean fromExists = false;\n \tboolean toExists = false;\n \tboolean toHasValue = false;\n\t \tFamixAssociation association = (FamixAssociation) i.next();\n\t\t String uniqueNameFrom = association.from;\n\n \t/* Test helper\n \tif (association.from.startsWith(\"Limaki.Actions.Command\")){\n \t\tboolean breakpoint = true;\n \t} */\n\n\t\t if (association instanceof FamixInheritanceDefinition){\n\t\t \tinheritanceAssociation = true;\n\t\t }\n \tif (inheritanceAssociation) {\n\t\t\t if (theModel.classes.containsKey(uniqueNameFrom)) {\n\t\t\t \tfromExists = true;\n\t\t\t }\n \t}\n \tif (inheritanceAssociation && fromExists) {\n\t\t\t if ((association.to != null) && (!association.to.equals(\"\"))) {\n\t\t\t \ttoHasValue = true;\n\t\t\t\t if (theModel.classes.containsKey(association.to) || theModel.classes.containsKey(\"xLibraries.\" + association.to)) {\n\t\t\t\t \ttoExists = true;\n\t\t\t\t }\n\t\t\t }\n \t}\n\t\t // If association.to is not a unique name of an existing type, try to replace it by the complete unique name.\n\t \t// Determine the type of association.to, first based on imports, and second based on package contents.\n\t \tif (inheritanceAssociation && fromExists && !toExists && toHasValue) {\n String to = findClassInImports(association.from, association.to);\n if (!to.equals(\"\")) {\n association.to = to;\n }\n else {\n\t \tString belongsToPackage = theModel.classes.get(association.from).belongsToPackage;\n\t to = findClassInPackage(association.to, belongsToPackage);\n\t if (!to.equals(\"\")) { // So, in case association.to shares the same package as association.from \n\t association.to = to;\n\t }\n }\n \t\t if (theModel.classes.containsKey(association.to) || theModel.classes.containsKey(\"xLibraries.\" + association.to)) {\n \t\t \ttoExists = true;\n \t\t }\n \t}\n\t \tif (inheritanceAssociation && fromExists && toExists && !theModel.associations.contains(association)) {\n\t\t \t// Add the inheritance association to the FamixModel, but only if to and from are equal. \n\t \tif (!association.from.equals(association.to)) { \n\t \t\taddToModel(association);\n\t \t}\n\n\t \t// Fill the HashMap inheritanceAccociationsPerClass with inheritance dependencies to super classes or interfaces \n\t \talreadyIncludedInheritanceList = null;\n\t \tfoundInheritance = null;\n\t \tfoundInheritanceList = null;\n\t \talreadyIncludedInheritanceList = null;\n\t \tfoundInheritance = association;\n\t \tif(inheritanceAssociationsPerClass.containsKey(uniqueNameFrom)){\n\t \t\talreadyIncludedInheritanceList = inheritanceAssociationsPerClass.get(uniqueNameFrom);\n\t \t\tif (!alreadyIncludedInheritanceList.contains(association.to)) {\n\t \t\t\talreadyIncludedInheritanceList.add(foundInheritance.to);\n\t \t\t}\n\t \t\tinheritanceAssociationsPerClass.put(uniqueNameFrom, alreadyIncludedInheritanceList);\n\t \t}\n\t \telse{\n\t\t \tfoundInheritanceList = new HashSet<String>();\n\t\t \tfoundInheritanceList.add(foundInheritance.to);\n\t\t \tinheritanceAssociationsPerClass.put(uniqueNameFrom, foundInheritanceList);\n\t \t}\n\t \t\n\t \t// Remove from waitingAssociations afterwards, to enhance the performance. \t\n\t\t\t i.remove();\n\t \t}\n\t }\n\t\t} catch(Exception e) {\n\t this.logger.debug(new Date().toString() + \"Exception may result in incomplete dependency list. Exception: \" + e);\n\t //e.printStackTrace();\n\t\t}\n\t\tindirectAssociations_DeriveIndirectInheritance();\n this.logger.info(new Date().toString() + \" Finished: processInheritanceAssociations()\");\n }", "public abstract void updateOfferComponents();", "public void aggiungiInCatalogo(Componente componente) {\n\t\ttry {\n\t\t\t\n\t\t\tArrayList <Componente> arrayComponenti = new ArrayList<Componente>();\n\t\t\t\n\t\t\tif(this.mappaComponenti.containsKey(componente.getCategoria())) arrayComponenti = new ArrayList<Componente>(this.mappaComponenti.get(componente.getCategoria()));\n\t\t\telse arrayComponenti = new ArrayList<Componente>();\n\t\t\tarrayComponenti.add(componente);\n\t\t\t\n\t\t\tthis.mappaComponenti.put(componente.getCategoria(), arrayComponenti);\n\t\t\t\n\t\t}catch(Exception e){\n\t e.printStackTrace();\n\t }\n\t}", "void setScrollBarRelations(JScrollBar param1JScrollBar) {\n/* 1540 */ AccessibleRelation accessibleRelation1 = new AccessibleRelation(AccessibleRelation.CONTROLLED_BY, param1JScrollBar);\n/* */ \n/* */ \n/* 1543 */ AccessibleRelation accessibleRelation2 = new AccessibleRelation(AccessibleRelation.CONTROLLER_FOR, JScrollPane.this);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1548 */ AccessibleContext accessibleContext = param1JScrollBar.getAccessibleContext();\n/* 1549 */ accessibleContext.getAccessibleRelationSet().add(accessibleRelation2);\n/* */ \n/* */ \n/* 1552 */ getAccessibleRelationSet().add(accessibleRelation1);\n/* */ }", "@Override\n public void updateFromComponentModels(Optional componentModel) {\n }", "protected void attach(\r\n FacesConfigBean owner)\r\n {\r\n super.attach(owner);\r\n Iterator<RendererBean> renderers = renderers();\r\n while (renderers.hasNext())\r\n {\r\n RendererBean renderer = renderers.next();\r\n renderer.attach(owner);\r\n }\r\n }", "protected void installComponents() {\n\t}", "public ManageOrganizationJPanel(JPanel userProcessContainer,Enterprise e) {\n initComponents();\n try{this.userProcessContainer = userProcessContainer;\n this.directory = e.getSupportedOrgs();\n setImg();\n populateTable();\n }\n catch(Exception x)\n { JOptionPane.showMessageDialog(this, \"There is some problem please try again later\");\n }\n // populateCombo();\n }", "public void associate(Object obj, Class type);", "protected void populatePrincipalConnector(BasePrincipalConnector connector) {\n connector.setId(getPluginId());\n connector.setFormat(getNameIdFormat());\n \n if(getDependencyIds() != null){\n connector.getDependencyIds().addAll(getDependencyIds());\n }\n }", "private void agregarComponentes() {\n JButton botonEstudiante = new JButton(\"Estudiante\");\r\n JButton botonDocente = new JButton(\"Docente\");\r\n JButton botonEquipo = new JButton(\"Equipo\");\r\n\r\n botonEstudiante.addActionListener(new OyenteListaEstudiante(this));\r\n botonDocente.addActionListener(new OyenteListaDocente(this));\r\n botonEquipo.addActionListener(new OyenteListaEquipo(this));\r\n\r\n // crea objeto Box para manejar la colocación de areaConsulta y\r\n // botonEnviar en la GUI\r\n Box boxNorte = Box.createHorizontalBox();\r\n boxNorte.add(botonDocente);\r\n boxNorte.add(botonEstudiante);\r\n boxNorte.add(botonEquipo);\r\n\r\n // crea delegado de JTable para modeloTabla\r\n tablaDatosIngresdos = new JTable();\r\n add(boxNorte, BorderLayout.NORTH);\r\n\r\n add(new JScrollPane(tablaDatosIngresdos), BorderLayout.CENTER);\r\n\r\n }", "public DBFKRelationPropertySheet ()\r\n {\r\n initComponents ();\r\n }", "public void connectDependencies();", "private void inicializarcomponentes() {\n Comunes.cargarJList(jListBecas, becasFacade.getTodasBecasVigentes());\n \n }", "public void Initialise(List<IComponent> _components) \r\n {\r\n // LOOP through all the IComponents within the _components List passed: \r\n for(IComponent _c : _components)\r\n {\r\n // CALL Initialise and pass a reference to this:\r\n _c.Initialise(this);\r\n\r\n // ADD the IComponent to the HashMap calling the inherited addComponent method:\r\n addComponent(_c);\r\n }\r\n\r\n }", "public abstract void setService(OntologyGenerationComponentServiceInterface<T,R> service);" ]
[ "0.6012501", "0.6005674", "0.5932906", "0.5912183", "0.5773998", "0.57739085", "0.5679285", "0.5557358", "0.5459247", "0.54147273", "0.5295682", "0.5294301", "0.5284931", "0.5276324", "0.5243031", "0.5233905", "0.52313054", "0.52090293", "0.5208224", "0.52052504", "0.5196333", "0.51942635", "0.5189228", "0.51707995", "0.51610386", "0.51549286", "0.5140931", "0.5124922", "0.5119929", "0.5110421", "0.5109719", "0.51050925", "0.5093319", "0.50886124", "0.50828093", "0.50800073", "0.50748783", "0.50739604", "0.5068506", "0.5068266", "0.50357074", "0.5027668", "0.5021273", "0.50005656", "0.49786106", "0.4969814", "0.49565575", "0.4953271", "0.49514085", "0.49465698", "0.49332768", "0.49316195", "0.4930625", "0.4915621", "0.49061567", "0.49013385", "0.48888287", "0.48829317", "0.48800096", "0.48779318", "0.48761177", "0.4875851", "0.48743126", "0.48737752", "0.48736227", "0.48721677", "0.48696434", "0.48612404", "0.4860901", "0.4859951", "0.48547366", "0.48541006", "0.48504373", "0.4849947", "0.48424923", "0.48380116", "0.48361814", "0.4824468", "0.48240495", "0.48230204", "0.48215467", "0.4819937", "0.48178583", "0.4811577", "0.48106414", "0.4808558", "0.48036078", "0.48007777", "0.48006073", "0.47944704", "0.47930148", "0.47919226", "0.47814217", "0.47756281", "0.477461", "0.47744024", "0.47734228", "0.4772589", "0.4771591", "0.47684026", "0.47679248" ]
0.0
-1
The main method used for running this filter from the commandline interface.
public static void main(String[] options) { runFilter(new Smear(), options); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws FilterException, IOException, ParseException {\n cli.CLI(args);\n folderFileList.dumpLog();\n }", "public static void main(String[] args) {\n filter(\"blup\");\n }", "public static void main(String[] args) {\n \n AirFilterTest app = new AirFilterTest();\n app.start();\n \n }", "public static void main(String[] args) {\n \n SimpleSSRFilterTest app = new SimpleSSRFilterTest();\n app.start();\n \n }", "public static void main(String[] args) {\n Main mainInstance = new Main();\n mainInstance.oldSort();\n mainInstance.lambdaSort();\n mainInstance.oldFilter();\n mainInstance.lambdaFilter();\n }", "public static void main(String[] args) {\n PixelateFilter pixelateFilter = new PixelateFilter(new File(args[0]), new File(args[1]), Integer.parseInt(args[2]));\n pixelateFilter.export(new File(args[1]));\n }", "public static void main (String[]args) throws IOException {\n }", "public static void main(String args[] ) throws Exception {\n ChildOne co= new ChildOne();\n co.filter(140,166);\n\n }", "public static void main(String[] args) {\n \n \n \n \n }", "public static void main(String[] args) {\n init();\n runIterator();\n Scanner scanner = new Scanner(System.in);\n runApplication(scanner);\n }", "public static void main(String[] args) throws IOException {\n \t\n }", "public static void main(String[] args) {\n \tTwitterStreamingProcessor processor = new TwitterStreamingProcessor();\n \ttry {\n \t\tprocessor.setFilterQuery(TweetConstants.ELECTION_STREAM);\n\t\t\tprocessor.call();\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(ex.getMessage());\n\t\t}\n\t}", "public static void main(String[] args) {\n\n\t\t// 1. instantiate an ArrayList for Associates\n\t\tList<Associate> associateList = new ArrayList<Associate>();\n\t\tassociateList.add(new Associate(1, \"Bobby\", \"Smith\"));\n\t\tassociateList.add(new Associate(2, \"Tony\", \"Stark\"));\n\t\tassociateList.add(new Associate(3, \"Bruce\", \"Banner\"));\n\t\tassociateList.add(new Associate(4, \"Clint\", \"Barton\"));\n\n\t\t// Call in our iterate\n\t\t// streamIterate(associateList);\n\n\t\t// filter here\n\t\tstreamFilter(associateList, \"t\");\n\t\t// in the indexOf() method if a letter does not exist, it returns -1 as it's\n\t\t// index\n\n\t\tint[] arr = { 1, 400, 6, 7, 8, 9, 10 };\n\t\tdouble avg = streamAvg(arr);\n\t\tint max = streamMax(arr);\n\t\tSystem.out.println(\"The average of the array is \" + avg);\n\t\tSystem.out.println(\"The max of the array is \" + max);\n\t}", "public static void main(String[] args) {\r\n// Use for unit testing\r\n }", "public static void main(String[] args) {\n\t \t\n\t \t\n\t }", "public static void main(String[] args) {\n \n \n }", "public static void main(String[] args) {\n \n \n }", "public static void main(String[] args) {\n \n \n \n\t}", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main() {\n \n }", "public static void main(String[] args) {\n \n }", "public static void main(String[] args) {\n ProductService service = new ProductService();\n service.sortByPriceAndRating();\n service.view();\n System.out.println(\"==================\");\n System.out.println(service.filterByName(\"sofa\"));\n\n }", "public static void main(String[] args) {\n\t\tnew BooleanSource(\r\n//\t\t\tnew CountDecorator<Boolean>(\r\n//\t\t\t\tnew NullTarget<Boolean>()\r\n\t\t\t\tnew IntCounterPump(\r\n\t\t\t\t\tnew CountDecorator<Integer>(\r\n//\t\t\t\t\t\tnew LogDecorator<Long>(\r\n\t\t\t\t\t\t\tnull\r\n//\t\t\t\t\t\t)\r\n\t\t\t\t\t)\r\n\t\t\t\t)\r\n//\t\t\t)\r\n\t\t).run();\r\n\t}", "public static void main(String[] args) {\n \n\n }", "public static void main(String[] args) {\n String msg = \"hello everyone$<script>, fuck\";\n Request req = new Request();\n req.setResquestString(msg);\n Response res = new Response();\n res.setResponseString(\"reponse\");\n \n FilterChain fc = new FilterChain();\n \n \n fc.addFilter(new HtmlFilter())\n .addFilter(new SensitiveFilter())\n .addFilter(new FaceFilter());\n \n fc.doFilter(req, res,fc);\n System.out.println(req.getResquestString());\n System.out.println(res.getResponseString());\n\n\t}", "public static void main(String[] args) throws TwitterException {\n TwitterStream twitterStream = TwitterInstantiator.instantiateTwitterStream(); //authorize stream\n StatusListener listener = getListener();\n twitterStream.addListener(listener);\n\n FilterQuery filterQuery = new FilterQuery();\n filterQuery.track(username);\n\n twitterStream.filter(filterQuery);\n }", "public void main(String[] args) {\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t}", "public static void main()\n\t{\n\t}", "static void main(String[] args) {\n }", "public static void main(String args[]) throws IOException {\r\n\t\t\r\n\t}", "public static void main(String[] args) {}", "public static void main(String[] args) {}", "public static void main (String[] args) {\r\n\t\t \r\n\t\t}", "public static void main(String[] args) {\n \r\n\t}", "public static void main(String[] args){\n\t\t\n\t\t\n \t}", "public static void main(String[] args) {\n InputHandler.inputs();\n }", "public static void main(String[] args) {\n \n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\n\t}", "public static void main(String[] args) {\n\t\t\t\t\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}", "public static void main(String[] args) throws IOException{\r\n\t\tparseOption(args);\r\n\t\trun(args);\r\n\t}", "public static void main(String[] args) {\n\n }", "public static void main(String[] args) {\n\n }", "static void main(String[] args)\n {\n }", "public static void main( String[] args ) {\n optionalExt();\n// filter();\n// sort();\n// map();\n// match();\n// count();\n// reduce();\n// sortExt();\n// mapExt();\n }", "public static void main (String[] args) {\n\t\t\n\t}", "public static void main(String[] args)\r\t{", "public static void main(String[] args) {\n \n\t\t}", "public static void main(String[] args) {\n try {\n Configuration configuration = new Configuration();\n ToolRunner.run(configuration,new FruitDriver(),args);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\n\t}", "public static void main(String[] args){\n \t\n }", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\t}", "public static void main(String[] args) throws IOException {\n\t\t\n\t}", "public static void main(String[] args) {\n new FileIOService().csvTest();\n }", "public static void main(String[] args) {\n \n\t}", "public static void main(String[] args) {\n }", "static public void main(String[] args) {\n\t}", "public static void main(String[] args) {\n\t\t \n\t}", "public static void main(String[] args) {\t\n\t\t\n\t}", "public static void main( String[] args ) {\n Optional< WordFeed > wordFeed = new WordFeedProvider().buildWordFeed();\n if ( !wordFeed.isPresent() || !wordFeed.get().hasNext() ) {\n System.out.println( \"Unable to read selected file. Aborting analysis.\" );\n return;\n }\n\n TextAnalyzer textAnalyzer = new TextAnalyzer();\n textAnalyzer.process( wordFeed.get() );\n textAnalyzer.report( new SystemOutReporter() );\n }", "public static void main(String[] args) throws IOException {\n\r\n\t}", "public static void main(String[] args) {\n\t \t\n\t \t\n\t}", "public static void main(String[] args) {\n \n\t}", "public static void main(String[] args) {\n\t\n\t\t\n\n\t}", "public static void main(String[] args) {\n \n }", "public static void main (String args[]) {\n\t\t\n }", "public static void main(String[] args) {\n\t \n\t}", "public static void main(String[] args) throws IOException{\n\t\trunProgram();\n\t}", "public static void main(String[] args) {\n\t\t\t}", "public static void main(String[] args) {\n\t\t\n\t\t\t\n\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t}", "public static void main (String []args){\n }", "public static void main(String[] args){\n\t\tFile file = new File(\"C:\\\\Users\\\\Ezra Newman\\\\IdeaProjects\\\\Chordette\\\\src\\\\Extracted\");\n\t\t//List of all files and directories\n\t\tlistOfFiles(file);\n\t\tSystem.out.println(counter);\n\t\tSystem.out.println(filter);\n\t\tScanner scanner = new Scanner(System.in); // Create a Scanner object\n\t\twhile (true) {\n\t\t\tSystem.out.println(\"Password\");\n\n\t\t\tString pass = scanner.nextLine(); // Read user input\n\t\t\tSystem.out.println(filter.contains(pass) ? \"You have been hacked.\" : \"You haven't been hacked\"); // Output user input\n\t\t}\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t}" ]
[ "0.73619616", "0.73005056", "0.7096515", "0.7086256", "0.70620203", "0.698797", "0.67601573", "0.6733378", "0.66946864", "0.66146463", "0.65990454", "0.65938336", "0.65934503", "0.6543142", "0.6539377", "0.652906", "0.652906", "0.6528944", "0.65209967", "0.65209967", "0.65209967", "0.65209967", "0.65209967", "0.65209967", "0.65044993", "0.64992577", "0.6489865", "0.6475852", "0.64613026", "0.6454353", "0.6448669", "0.64445627", "0.6443693", "0.6441884", "0.6433254", "0.642525", "0.6423971", "0.6423971", "0.64223903", "0.64196867", "0.6418616", "0.64167386", "0.6411797", "0.6409037", "0.6409037", "0.6403113", "0.6395014", "0.639006", "0.63900083", "0.6384618", "0.6384618", "0.6381908", "0.6376339", "0.6369684", "0.6369479", "0.636642", "0.636507", "0.6364881", "0.6362313", "0.6360522", "0.63548857", "0.6352329", "0.6346604", "0.6341486", "0.63411826", "0.6339056", "0.6336298", "0.6332956", "0.6331005", "0.6327194", "0.6327181", "0.63203526", "0.6319856", "0.6317739", "0.63142914", "0.63134634", "0.63127637", "0.6312401", "0.63030463", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6302933", "0.6300136", "0.62999964", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335", "0.62984335" ]
0.6844976
6
First display loading message before the actual loading begins
public boolean loadData(WebView webView) { Util.loadData(webView, getString(R.string.msg_loading)); final String content = getContentToDisplay(); if (this.acceptContentForDisplay(content)) { return loadData(webView, content, getContentType(), getContentCharset()); } final String urlString = getLinkToDisplay(); if (this.acceptLinkForDisplay(urlString)) { this.loadData(webView, urlString); return true; }else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showLoadingError() {\n showError(MESSAGE_LOADING_ERROR);\n }", "public void startLoading() {\r\n\t\tgetDisplay().setRowCount(0, true);\r\n\t\tlabel1.setHTML(\"\");\r\n\t\tlabel2.setHTML(\"\");\r\n\t}", "protected abstract String getLoadingMessage();", "private void showLoading()\n {\n relLoadingPanel.setVisibility(View.VISIBLE);\n ViewHelper.setViewGroupEnabled(scrMainContainer, false);\n }", "private void displayLoader() {\n pDialog = new ProgressDialog(AddReviewActivity.this);\n pDialog.setMessage(\"Adding Review...Please wait...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n\n }", "protected void onStartLoading() { forceLoad();}", "private void loadingPhase() {\n try { Thread.sleep(10000); } catch(InterruptedException e) { return; }\n ClickObserver.getInstance().setTerrainFlag(\"\");\n }", "public void showLoading() {\n }", "public void showLoadingError() {\n System.out.println(\"Duke has failed to load properly.\");\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tloadingAlert.show();\n\t\t}", "String getLoadingMessage();", "void displayLoadingErrorMessage();", "private void displayLoader() {\n pDialog = new ProgressDialog(DangKyActivity.this);\n pDialog.setMessage(\"Vui lòng đợi trong giây lát...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n\n }", "public void setLoadingMessage(String loadingMessage);", "@Override\r\n\t\tprotected void onPreExecute() {\r\n\t\t\tsuper.onPreExecute();\r\n\t\t\tshowLoading();\r\n\t\t}", "private void showLoading() {\n hideNoNetwork();\n mRecipesBinding.fragmentRecipesProgressBar.setVisibility(View.VISIBLE);\n }", "protected final void showLoadingDialog() {\n }", "@Override\n public void showLoading() {\n Log.i(Tag, \"showLoading\");\n }", "public static void printLoadingError() {\n System.out.println(Message.LOADING_ERROR);\n }", "private void sendLoadingMessage() {\n mUIHandler.removeMessages(MSG_GET_ACTIVE_USER);\n mUIHandler.sendMessageDelayed(Message.obtain(mUIHandler, MSG_GET_ACTIVE_USER), DELAY_SEND_MESSAGE_LOADING_MILLIS);\n }", "@Override\n public void showLoading() {\n setRefresh(true);\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tloadingView.setVisibility(View.VISIBLE);\n\t\t}", "public static void printDoneLoading() {\n System.out.println(Message.DONE_LOADING);\n }", "void showLoading(boolean isLoading);", "public void setUploading()\n {\n jPanel4.setVisible(false);\n th.start();\n }", "private void setLoadingDisplay() {\n if (swipeRefreshing) {\n footer.clear();\n setRefreshing(true);\n } else if (loading) {\n footer.setLoading();\n }\n }", "private void waitForFirstPageToBeLoaded() {\n IdlingResource idlingResource = new ElapsedTimeIdlingResource(LATENCY_IN_MS + 1000);\n IdlingRegistry.getInstance().register(idlingResource);\n\n //Check that first item has been loaded\n onView(withItemText(\"POPULAR MOVIE #1 (1999)\")).check(matches(isDisplayed()));\n\n //Clean up\n IdlingRegistry.getInstance().unregister(idlingResource);\n }", "public static void waitWhileLoading()\r\n {\r\n while (isLoading())\r\n ThreadUtil.sleep(10);\r\n }", "@Override\n protected void onStartLoading() {\n progressBar.setVisibility(View.VISIBLE);\n forceLoad();\n }", "private void displayLoader() {\n pDialog = new ProgressDialog(RegisterActivity.this);\n pDialog.setMessage(\"Signing Up.. Please wait...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n\n }", "public static void printLoadingFile() {\n System.out.println(Message.LOADING_FILE);\n }", "protected void showLoading()\n {\n progressBar = new ProgressDialog(this);\n progressBar.setTitle(\"Loading\");\n progressBar.setMessage(\"Wait while loading...\");\n progressBar.setCancelable(false); // disable dismiss by tapping outside of the dialog\n progressBar.show();\n }", "public void showLoadingView() {\n handleLoadingContainer(false /* showContent */, false /* showEmpty */, false /* animate */);\n }", "public void showLoading() {\n loadingLayout.setVisibility(View.VISIBLE);\n mapView.setVisibility(View.GONE);\n errorLayout.setVisibility(View.GONE);\n }", "@Override\n protected void onStartLoading() {\n Utils.postToMainLoop(new Runnable() {\n @Override\n public void run() {\n if (mResult != null) // If we currently have a result available, deliver it immediately.\n deliverResult(mResult);\n\n if (isReload() || mResult == null)\n forceLoad();\n }\n });\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n talkAlert = (TextView) findViewById(R.id.talkAlert);\n talkAlert.setText(getResources().getString(R.string.loading));\n talkAlert.setVisibility(View.VISIBLE);\n }", "public void setLoadingPanel(String msg){\n this.loadingPanel.add(getLoadingMessage(msg));\n }", "private void showLoadingDialogue(final String loadingMessage) {\n progressDialog.setMessage(loadingMessage);\n progressDialog.setCancelable(false);\n progressDialog.setIndeterminate(false);\n progressDialog.show();\n }", "private void showLoading() {\n mRecycleView.setVisibility(View.INVISIBLE);\n /* Finally, show the loading indicator */\n mLoadingIndicator.setVisibility(View.VISIBLE);\n }", "@Override\n public void hiddenLoading() {\n Log.i(Tag, \"hiddenLoading\");\n }", "@Override\n protected void onStartLoading() {\n\n forceLoad();\n }", "@Override\r\n public void onPreResponse() {\r\n findViewById(R.id.loader).setVisibility(View.VISIBLE);\r\n findViewById(R.id.mainContainer).setVisibility(View.GONE);\r\n findViewById(R.id.errorText).setVisibility(View.GONE);\r\n\r\n }", "@Override\n protected void onStartLoading() {\n super.onStartLoading();\n\n mLoadingIndicator.setVisibility(View.VISIBLE);\n\n forceLoad();\n }", "public void startLoadAnim(String msg) {\n avi.smoothToShow();\n loadTv.setText(msg);\n loadTv.setVisibility(View.VISIBLE);\n loginContainer.setVisibility(View.INVISIBLE);\n }", "public void doLoad() {\n UI.clearText();\n UI.println(\"Loading...\");\n\n waveform = WaveformLoader.doLoad();\n\n this.displayWaveform();\n\n UI.println(\"Loading completed!\");\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tshowLoadingProgressDialog();\n\t\t}", "void showLoading(boolean visible);", "@Override\n\tprotected void load() {\n\t\tisPageLoaded = true;\n\t}", "public void startLoading() {\n projects.clear();\n processContainer.setVisibility(View.VISIBLE);\n progressSpinner.setVisibility(View.VISIBLE);\n progressText.setVisibility(View.VISIBLE);\n progressText.setText(\"Getting Items...\"); // Text updated using SetProgress()\n listView.setVisibility(View.GONE);\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n settLoadingScr.setVisibility(View.VISIBLE);\n\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n settLoadingScr.setVisibility(View.VISIBLE);\n\n }", "@Override\n\tpublic void preExecution() {\n\t\tshowProgressBar();\n\t}", "private void onFullyLoaded() {\n info(\"onFullyLoaded()\");\n cancelProgress();\n\n //Fully loaded, start detection.\n ZiapApplication.getInstance().startDetection();\n\n Intent intent = new Intent(LoadingActivity.this, MainActivity.class);\n if (getIntent().getStringExtra(\"testname\") != null)\n intent.putExtra(\"testname\", getIntent().getStringExtra(\"testname\"));\n startActivity(intent);\n finish();\n }", "@Override\n protected void onStartLoading() {\n forceLoad();\n\n }", "public void onStartLoading() {\n if (this.mCursor != null) {\n deliverResult(this.mCursor);\n }\n if (takeContentChanged() || this.mCursor == null) {\n forceLoad();\n }\n }", "public void onStartLoading() {\n if (this.mCursor != null) {\n deliverResult(this.mCursor);\n }\n if (takeContentChanged() || this.mCursor == null) {\n forceLoad();\n }\n }", "public static void SelfCallForLoading() {\n\t}", "protected void onPreExecute() {\n try {\n this.dialog.setMessage(getContext().getResources().getString(R.string.loading));\n this.dialog.show();\n } catch (Exception ex) {\n Log.e(null, ex);\n }\n }", "public void onStartLoading() {\n Cursor cursor = this.mCursor;\n if (cursor != null) {\n deliverResult(cursor);\n }\n if (takeContentChanged() || this.mCursor == null) {\n forceLoad();\n }\n }", "public void displayLoadingWindowServerDown()\r\n\t{\r\n\t\tloadingWindow.hideLoadingBar();\r\n\t\tloadingWindow.setDescription(\"The HVMK server is down. Please try again later.\");\r\n\t}", "@Override\n\tprotected void onStartLoading() {\n\t\tif (mData != null) {\n\t\t\tdeliverResult(mData);\n\t\t}\n\t\t// Now we're in start state so we need to monitor for data changes.\n\t\t// To do that we start to observer the data\n\t\t// Register for changes which is Loader dependent\n\t\tregisterObserver();\n\t\t// Now if we're in the started state and content is changes we have\n\t\t// a flag that we can check with the method takeContentChanged()\n\t\t// and force the load\t\t\t\t\t\n\t\tif (takeContentChanged() || mData == null) {\n\t\t\tforceLoad();\n\t\t}\n\t}", "public void onLoadingStart() {\n\t\tsession.getUiElements().setLogText(\"Loading attribute definitions started.\");\n\t\tevents.onLoadingStart();\n\t}", "protected void showLoader() {\n if (progressBar != null) {\n progressBar.setVisibility(View.VISIBLE);\n }\n if(getActivity()!=null) {\n getActivity().getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,\n WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);\n }\n }", "public void loadIntroMessage() {\n\n\t\tmessageToDisplay.add(ArtemisCalendar.getMonthName(ArtemisCalendar.getCalendar().get(2)) + \", \"\n\t\t\t\t+ ArtemisCalendar.getCalendar().get(1) + \".\");\n\n\t\tmessageToDisplay.add(\"NASA have chosen you to help them deliver The Artemis Project successfully.\");\n\t\tmessageToDisplay.add(\"The Project aims to launch the first woman, and next man to the moon by \"\n\t\t\t\t+ ArtemisCalendar.getMonthName(ArtemisCalendar.getEndDate().get(2)) + \", \"\n\t\t\t\t+ ArtemisCalendar.getEndDate().get(1) + \".\");\n\t\tmessageToDisplay.add(\n\t\t\t\t\"In order to accomplish this lofty goal, you must work alongside other chosen companies to ensure 'All Systems are Go!' by launch-day.\");\n\t\tmessageToDisplay.add(\n\t\t\t\t\"Can you work together to research and fully develop all of the systems needed for a successful Lift-off?\");\n\t\tmessageToDisplay.add(\"...or will your team just be in it for personal gain?\");\n\t\tmessageToDisplay.add(\"You decide!\");\n\t\tGameLauncher.displayMessage();\n\t}", "public void loaded(){\n\t\tloaded=true;\n\t}", "public void showLoadingScreen() {\n setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));\n getSelectGameScreenIfActive().ifPresent(new Consumer<SelectGameScreen>() {\n @Override\n public void accept(SelectGameScreen gameScreen) {\n gameScreen.setDisabled();\n }\n });\n }", "public void showLoadProcessPage() {\r\n\t\tmainFrame.setTitle(null);\r\n\t\tmainFrame.showPage(loadProcessPage.getClass().getCanonicalName());\r\n\t}", "@Override\n\tpublic void loadPrePage() {\n\t\t\n\t\tif(curr_content.isFirstPage){\n\t\t\tPigAndroidUtil.showToast(mContext, \"以是第一页:\", 3000);\n\t\t}else{\n\t\t\texchangePre(m_bookFactory.getPrePageContent(pre_content));\n\t\t}\n\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n\n /** SHOW PROGRESS WHILE LOADING DATA **/\n linlaHeaderProgress.setVisibility(View.VISIBLE);\n }", "public void onLoadComplete() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void onLoadingStarted(String arg0, View arg1) {\n\t\t\t\r\n\t\t}", "private void loadingHandler() {\n final TextView loadingTxt = findViewById(R.id.loadingTxt);\n final Handler handler = new Handler();\n final Runnable runnable = new Runnable() {\n @Override\n public void run() {\n // Loading Txt\n if(loadingTxt.getText().length() > 10) {\n loadingTxt.setText(\"Loading \");\n } else {\n loadingTxt.setText(loadingTxt.getText()+\".\");\n }\n handler.postDelayed(this, 500);\n }\n };\n handler.postDelayed(runnable, 500);\n }", "private void onLoadingError() {\n AppSession.showDataLoadError(\"conexus\");\n finish();\n }", "public synchronized void waitUntilLoad() {\n\t\twhile (!this.loaded) {\n\t\t\tSystem.out.println(\"Waiting for news to load\");\n\t\t\ttry {\n\t\t\t\twait();\n\t\t\t} catch (InterruptedException e) {\n\t\t\t}\n\t\t}\n\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tlinlaHeaderProgress.setVisibility(View.VISIBLE);\n\t\t}", "private void showProgressIndication() {\n Log.i(TAG, \"loading contacts... \");\n // TODO: make this be a no-op if the progress indication is\n // already visible with the exact same title and message.\n\n dismissProgressIndication(); // Clean up any prior progress indication\n\n mProgressDialog = new ProgressDialog(this);\n mProgressDialog.setMessage(this.getResources().getString(R.string.contact_list_loading));\t\n mProgressDialog.setIndeterminate(true);\n mProgressDialog.setCancelable(false);\n mProgressDialog.show();\n }", "@Override\n protected void onStartLoading() {\n if (idlingResource != null) {\n idlingResource.setIdleState(false);\n }\n\n if (recepts != null) {\n deliverResult(recepts);\n } else {\n mLoadingIndicator.setVisibility(View.VISIBLE);\n forceLoad();\n }\n }", "@Override\n protected void onStartLoading() {\n if (mMovieData != null) {\n deliverResult(mMovieData);\n } else {\n mLoadingIndicator.setVisibility(View.VISIBLE);\n forceLoad();\n }\n\n }", "public void showLoadingView() {\n mStateView.showViewLoading();\n }", "@Override\r\n\t\t\t\t\tpublic void onLoadingStarted(String arg0, View arg1) {\n\t\t\t\t\t}", "@Override\r\n\tpublic void showLoading(boolean isLoading) {\r\n\t\tsetSupportProgressBarIndeterminateVisibility(isLoading);\r\n\t}", "public void onLoad()\n\t{\n\t\tJLog.info(\" --- INIT --- \");\n\t\t\n\t}", "public void waitForContentLoad() {\n verifyPageIsOpened(currentPage.get(), \"Please open some page before the waiting for content to load.\");\n currentPage.get().waitLoadFinished();\n }", "@Override\n public void userRequestedAction()\n {\n inComm = true;\n view.disableAction();\n\n // switch to loading ui\n view.setActionText(\"Loading...\");\n view.setStatusText(loadingMessages[rand.nextInt(loadingMessages.length)]);\n view.setStatusColor(COLOR_WAITING);\n view.loadingAnimation();\n\n // switch the status of the system\n if (isArmed) disarmSystem();\n else armSystem();\n isArmed = !isArmed;\n\n // notify PubNub\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tm_progDialog.setMessage(\"Loading...\");\n\t\t\tm_progDialog.setTitle(getResources().getString(R.string.app_name));\n\t\t\tm_progDialog.setCancelable(false);\n\t\t\tm_progDialog.show();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tm_progDialog.setMessage(\"Loading...\");\n\t\t\tm_progDialog.setTitle(getResources().getString(R.string.app_name));\n\t\t\tm_progDialog.setCancelable(false);\n\t\t\tm_progDialog.show();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tm_progDialog.setMessage(\"Loading...\");\n\t\t\tm_progDialog.setTitle(getResources().getString(R.string.app_name));\n\t\t\tm_progDialog.setCancelable(false);\n\t\t\tm_progDialog.show();\n\t\t}", "private void showLoadingDialog() {\n mDefaultLoadingDialogFragment = new DefaultLoadingDialogFragment();\n mDefaultLoadingDialogFragment.show(getChildFragmentManager(), \"loadingDialog\");\n }", "public String getLoaded() {\n if (isLoaded) {\n return ui.showLoaded();\n } else {\n return ui.showLoadingError();\n }\n }", "public boolean loadProgress() {\n return false;\n }", "public boolean waitLoading() {\n\t\t\treturn waitLoading;\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tloadLayout.setVisibility(View.VISIBLE);\n\t\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n mLoadingIndicator.setVisibility(View.VISIBLE);\n }", "@Override\n\t\t\t\t\tpublic void onLoadingStarted(String arg0, View arg1) {\n\n\t\t\t\t\t}", "@Override\n protected void onPreExecute() {\n showLoadingProgressDialog();\n }", "@Override\n protected void onPreExecute() {\n showLoadingProgressDialog();\n }", "@Override\n\t\t\t\t\t\tpublic void onLoadingStarted(String arg0, View arg1) {\n\t\t\t\t\t\t}", "public void onLoad() {\n\t}", "private void setOnLoadMessage(HttpServletRequest request,String message){\r\n\t\trequest.setAttribute(\"display_message\", \"true\");\r\n\t\trequest.setAttribute(\"message\", message);\r\n\t}", "public void waitUntilLoadingDoesNotExistAndVerifyContainerDisplayed(){\n\t\tverifyContainerDisplayedResultsPage();\r\n\t}", "public synchronized void informModuleStartLoading(Module module) {\n\t\tModuleStat stat = getModuleStat(module);\n\t\tstat.waitLoading = true;\n\t}" ]
[ "0.77709883", "0.7620595", "0.744202", "0.7362248", "0.735517", "0.72525007", "0.7244462", "0.723992", "0.72287315", "0.7202797", "0.7197916", "0.71909237", "0.71501243", "0.71017605", "0.7020916", "0.7012197", "0.70024514", "0.6994614", "0.6993859", "0.6986069", "0.697766", "0.6939787", "0.6901618", "0.6898501", "0.6892965", "0.6874522", "0.6863629", "0.6817348", "0.68128693", "0.6802785", "0.67876905", "0.6786576", "0.67812616", "0.67556286", "0.6725842", "0.6718813", "0.67042243", "0.6703019", "0.6696037", "0.6650271", "0.6623405", "0.6617597", "0.66041434", "0.65823126", "0.65548766", "0.6540251", "0.65351504", "0.65222347", "0.6520945", "0.6503397", "0.6503397", "0.64901435", "0.6476441", "0.6470338", "0.6465655", "0.6465655", "0.6461136", "0.6444909", "0.644233", "0.64357126", "0.6431671", "0.64209026", "0.6415728", "0.64113456", "0.6402011", "0.6401474", "0.63979673", "0.63871366", "0.63739836", "0.63688236", "0.63603085", "0.6359679", "0.6359063", "0.635343", "0.6341682", "0.6335525", "0.63258046", "0.63218284", "0.63109577", "0.630947", "0.63064533", "0.6292086", "0.628628", "0.6283672", "0.62835306", "0.62835306", "0.62835306", "0.62778145", "0.6276874", "0.6274801", "0.62630635", "0.6262834", "0.6253181", "0.6246772", "0.6239457", "0.6239457", "0.6228826", "0.62230617", "0.6212471", "0.6211091", "0.6210188" ]
0.0
-1
Print Array as table
public static void printArray(int[][] Array) { for (int i = 0; i < Array.length; i++) { for (int j = 0; j < Array[0].length; j++) { System.out.print(Array[i][j] + " "); } System.out.println(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void print() {\n\t\tfor (int i = 0; i < TABLE_SIZE; i++) {\n\t\t\tSystem.out.print(\"|\");\n\t\t\tif (array[i] != null) {\n\t\t\t\tSystem.out.print(array[i].value);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(\"|\\n\");\n\t}", "static public void printTable(int list[][])\r\n\t{\r\n\t\tfor(int i = 0; i < h; i++)\r\n\t\t{\r\n\t\t\tfor(int j = 0; j < w; j++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.print(list[i][j] + \" \");\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\t}", "private void printTable(String[][] table) {\n // Find out what the maximum number of columns is in any row\n int maxColumns = 0;\n for (String[] element : table) {\n maxColumns = Math.max(element.length, maxColumns);\n }\n\n // Find the maximum length of a string in each column\n int[] lengths = new int[maxColumns];\n for (String[] element : table) {\n for (int j = 0; j < element.length; j++) {\n lengths[j] = Math.max(element[j].length(), lengths[j]);\n }\n }\n\n // Generate a format string for each column\n String[] formats = new String[lengths.length];\n for (int i = 0; i < lengths.length; i++) {\n formats[i] = \"%1$\" + lengths[i] + \"s\"\n + ((i + 1) == lengths.length ? \"\\n\" : \" \");\n }\n\n // Print 'em out\n StringBuilder sb = new StringBuilder();\n for (String[] element : table) {\n for (int j = 0; j < element.length; j++) {\n sb.append(String.format(formats[j], element[j]));\n }\n }\n this.guiCore.getConsoleController().appendToDisplay(sb.toString());\n }", "public static void Display(int[] array) {\n for(int i=0;i<array.length;i++){\n System.out.print(array[i]+\"\\t\");\n }\n System.out.println();\n }", "public void printTable() {\r\n System.out.println(frame+\") \");\r\n for (int y = 0; y < table.length; y++) {\r\n System.out.println(Arrays.toString(table[y]));\r\n }\r\n frame++;\r\n }", "private static void printArray(Object[] array) {\n for (Object t : array) {\n System.out.println(\" \" + t + \", \");\n }\n }", "private static void printArray(int[] array) {\n\t\tfor(int i: array) {\n\t\t\tSystem.out.print(i + \"\\t\");\n\t\t}\n\t\tSystem.out.println();\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic String toString()\r\n\t{\r\n\t\tString result =\"Table:\\n\";\r\n\t\tfor (int i =0; i< this.tableSize; i++)\r\n\t\t{ \r\n\t\t\tLinkedArrays<T> L = (LinkedArrays<T>) table[i]; \r\n\t\t\tresult+= i+\": \";\r\n\t\t\tresult+= L.toString() ;\r\n\t\t\tif(i<this.tableSize-1)\r\n\t\t\t{ result +=\"\\n\"; }\r\n\t\t\t\r\n\t\t}\r\n\t\r\n\t\treturn result;\r\n\t}", "public void display() {\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tSystem.out.print(a[i] + \"\\t\");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public void print() {\n for (int i = 0; i < headers.length; i++) {\n System.out.printf(headers[i] + \", \"); // Print column headers.\n }\n System.out.printf(\"\\n\");\n for (int i = 0; i < (data.length - 1); i++) {\n for (int j = 0; j < data[i].length; j++) {\n System.out.printf(data[i][j] + \" \"); // Print value at i,j.\n }\n System.out.printf(\"\\n\");\n }\n }", "public void print(){\n\t\tfor (int i = 0; i < numRows; i++) {\n\t\t\tfor (int j = 0; j < numCols; j++) {\n\t\t\t\tSystem.out.print(table[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public static void main(String[] args){\n final Object[][] table = new String[6][];\n //each line has 5 items\n table[0] = new String[] { \"Kilograms\", \"Pounds\", \"|\", \"Pounds\", \"Kilograms\" };\n table[1] = new String[] { \"1\", \"2.2 \", \"|\", \"20\", \"9.09\" };\n table[2] = new String[] { \"3\", \"6.6 \", \"|\", \"25\", \"11.36\" };\n table[3] = new String[] { \"...\", \" \", \" \", \" \", \" \" };\n table[4] = new String[] { \"197\", \"433.4 \", \"|\", \"510\", \"231.82\" };\n table[5] = new String[] { \"199\", \"437.8 \", \"|\", \"515\", \"234.09\" };\n \n for (final Object[] row : table) {\n //print out each row with proper spacing\n System.out.format(\"%15s%15s%15s%15s%15s\\n\", row);\n }\n }", "public void print () \r\n\t{\r\n\t\tfor (int index = 0; index < count; index++)\r\n\t\t{\r\n\t\t\tif (index % 5 == 0) // print 5 columns\r\n\t\t\t\tSystem.out.println();\r\n\r\n\t\t\tSystem.out.print(array[index] + \"\\t\");\t// print next element\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "public static void p(double[] array) {\n\t\tDecimalFormat df = new DecimalFormat(\"#.##\");\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tSystem.out.print(df.format(array[i])+\"\\t\");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public static void main(String[] args)\n {\n int[] array = { 32, 27, 64, 18, 95, 14, 90, 70, 60, 37 };\n System.out.printf(\"%s%8s%n\", \"Index\", \"Value\"); // column headings\n \n // output each array element's value\n for (int counter = 0; counter < array.length; counter++)\n System.out.printf(\"%5d%8d%n\", counter, array[counter]);\n}", "private void showArray(ArrayList<String[]> arr) {\n for(String[] row: arr){\n for(String x: row){\n System.out.print(x + \"\\t\\t\");\n }\n System.out.println();\n } \n System.out.println(\"------------------------------------\");\n }", "public static void printArray(Object[][] dataArray) {\n\t\t\n\t\tif (dataArray == null) {\n\t\t\tSystem.out.print(\"Empty Array\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint rows = dataArray.length;\n\t\tint cols = dataArray[0].length;\n\t\t\n\t\tSystem.out.print(\"\\nData: \\n\");\n\t\tSystem.out.print(\"Number of Rows: \" + (rows) + \" \\n\");\n\t\tSystem.out.print(\"Number of Columns: \" + (cols) + \" \\n\\n\");\n\t\n\t\tfor (int i = 0; i < rows ; i++) { \n\t\t\tfor (int j = 0; j < cols; j++) {\n\t\t\t\tSystem.out.print(dataArray[i][j].toString() + \"\\t\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "public static void display(double[][] t)\n\t{\n\t\tfor (int i=0;i<t.length;i++)\n\t\t{\n\t\t\tfor (int j=0;j<t[i].length;j++)\n\t\t\t\tSystem.out.print(t[i][j]+\" \");\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "public static void show(int[][] arr) {\n\t\t\tfor(int i=0;i<arr.length;i++) {\n\t\t\t\tfor(int j=0;j<arr.length;j++) {\n\t\t\t\t\tSystem.out.print(arr[i][j]+\"\\t \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}", "public void printTable() {\n System.out.print(\"\\033[H\\033[2J\"); // Clear the text in console\n System.out.println(getCell(0, 0) + \"|\" + getCell(0, 1) + \"|\" + getCell(0, 2));\n System.out.println(\"-+-+-\");\n System.out.println(getCell(1, 0) + \"|\" + getCell(1, 1) + \"|\" + getCell(1, 2));\n System.out.println(\"-+-+-\");\n System.out.println(getCell(2, 0) + \"|\" + getCell(2, 1) + \"|\" + getCell(2, 2));\n }", "static void printArray(Comparable[] arr) {\n\t\tint n = arr.length;\n\t\tfor (int i = 0; i < n; ++i)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t\tSystem.out.println();\n\t}", "public static void printArray(double[] array) {\r\n\r\n for (int i = 0; i < array.length; i++) {\r\n System.out.print(\"[\" + array[i] + \"] \");\r\n }\r\n System.out.println(\"\");\r\n }", "public static void printArray(double[] a) {\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\tSystem.out.format(\"%.2f \",a[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}", "public void print() {\r\n\r\n\t\tfor (int row=0; row<10; row++) \r\n\t\t{\r\n\t\t\tfor (int col=0; col<10; col++)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.print(\"\\t\"+nums[row][col]); //separated by tabs\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t}", "private String arrayToString(double[] a) {\n StringBuffer buffy = new StringBuffer();\n for (int i=0; i<a.length; i++) {\n buffy.append(a[i]+\"\\t\");\n }\n return buffy.toString();\n }", "private String arrayToString(double[] a) {\n StringBuffer buffy = new StringBuffer();\n for (int i=0; i<a.length; i++) {\n buffy.append(a[i]+\"\\t\");\n }\n return buffy.toString();\n }", "public static void printArray(String[] dataArray) {\n\t\t\n\t\tif (dataArray == null) {\n\t\t\tSystem.out.print(\"Empty Array\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint length = dataArray.length;\n\t\t\n\t\tSystem.out.print(\"\\nData: \\n\");\n\t\tSystem.out.print(\"Number of Entries: \" + (length) + \" \\n\");\n\t\t\n\t\tfor (int i = 0; i < length ; i++) { \n\t\t\tSystem.out.print(dataArray[i].toString() + \"\\t\");\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}", "private void printTable() {\n System.out.println(\"COMPLETED SLR PARSE TABLE\");\n System.out.println(\"_________________________\");\n System.out.print(\"\\t|\");\n // print header\n for(int i = 0; i < pHeader.size(); i++) {\n pHeader.get(i);\n System.out.print(\"\\t\" + i + \"\\t|\");\n }\n System.out.println();\n // print body\n for(int i = 0; i < parseTable.size(); i++) {\n System.out.print(i + \"\\t|\");\n for(int j = 0; j < parseTable.get(i).size(); j++) {\n System.out.print(\"\\t\" + parseTable.get(i).get(j) + \"\\t|\");\n }\n System.out.println();\n }\n System.out.println();\n System.out.println(\"END OF SLR PARSE TABLE\");\n System.out.println();\n }", "public static void printArray(double[][] dataArray) {\n\t\t\n\t\tif (dataArray == null) {\n\t\t\tSystem.out.print(\"Empty Array\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint rows = dataArray.length;\n\t\tint cols = dataArray[0].length;\n\t\t\n\t\tSystem.out.print(\"\\nData: \\n\");\n\t\tSystem.out.print(\"Number of Rows: \" + (rows) + \" \\n\");\n\t\tSystem.out.print(\"Number of Columns: \" + (cols) + \" \\n\\n\");\n\t\n\t\tfor (int i = 0; i < rows ; i++) { \n\t\t\tfor (int j = 0; j < cols; j++) {\n\t\t\t\tSystem.out.printf(\"%.3f \\t\", dataArray[i][j] );\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "public static void printArray(double[] array){\n for(int k = 0; k < array.length; k++){\n System.out.print(array[k] + \" \");\n }\n System.out.println();\n }", "static void outputComparisonTable(double [][]satisfactionRate) {\n \tSystem.out.print(\"\\t\");\n \tfor (int i = 0; i < satisfactionRate[0].length; i++) {\n\t\t\tSystem.out.print(\"run \" + (i+1) + \"\\t \");\n\t\t}\n \tSystem.out.println();\n \tfor (int i = 0; i < satisfactionRate.length; i++) {\n \t\tSystem.out.print((i+1) + \" vans\\t \");\n\t\t\tfor (int j = 0; j < satisfactionRate[i].length; j++) {\n\t\t\t\tSystem.out.print(((int)satisfactionRate[i][j]) + \"\\t\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n }", "private static void show(Comparable[] a) {\n for (int i = 0; i < a.length; i++) {\n System.out.printf(\"a[%d] = %s\\n\", i + 1, a[i].toString());\n }\n System.out.println();\n }", "private static void printRow(int[] row) {\r\n for (int i : row) {\r\n System.out.print(i);\r\n System.out.print(\"\\t\");\r\n }\r\n System.out.println();\r\n }", "private static <T> void show(Comparable<T>[] a) {\n\t\tfor(int i=0; i<a.length; i++) \r\n\t\t\tSystem.out.print(a[i] + \" \");\r\n\t\tSystem.out.println();\r\n\t}", "public void print()\n\t{\n\t\tStringBuffer print = new StringBuffer();\n\t\tif (arraySize != 0)\n\t\t{\n\t\t\tfor (int index = 0; index < arraySize - 1; index++) \n\t\t\t{ \n\t\t\t\tprint.append(array[index] + \", \");\n\t\t\t}\n\t\t\tprint.append(array[arraySize - 1]);\n\t\t\tSystem.out.println(print.toString());\n\t\t}\n\t}", "public void printArray()\n {\n for (int i=0;i<array.length; i++)\n {\n System.out.print(array[i] + \" \"); \n }\n System.out.println();\n }", "private void displayArray() {\r\n System.out.println(\"CEK ARRAY : \");\r\n for (i = 0; i < array.length; i++) {\r\n System.out.print(array[i]+\",\");\r\n }\r\n }", "public void mostrarTablero(){\n for(int fila = 0; fila < FILAS; fila++){\n for(int columna : tablero[fila]){\n System.out.printf(\"%2d \", columna);\n }\n System.out.println();\n }\n }", "public static void printArray(int[] array){\n for(int i=0;i<array.length;i++){\n System.out.print(array[i]+\" \");\n }}", "private void printCodeTable() {\n System.out.println(\"\\nPrinting the code table:\");\n for(int i = 0; i < codeTable.length; i++) {\n if(codeTable[i] != null) {\n if(i == 10) {\n System.out.println(\"\\\\n \" + codeTable[i]);\n } else {\n System.out.println(((char) i) + \" \" + codeTable[i]);\n }\n }\n }\n }", "public void displayHuffCodesTable() {\n\t\tStringBuffer toPrint = new StringBuffer();\n\t\t\n\t\tfor (int i = 0; i < this.huffCodeVals.length; i++) {\n\t\t\t\n\t\t\tif (this.huffCodeVals[i] != null) {\n\t\t\t\tif (i == 9) {\n\t\t\t\t\ttoPrint.append(\"\\\\t\");\n\t\t\t\t\t\n\t\t\t\t} else if (i == 10) {\n\t\t\t\t\ttoPrint.append(\"\\\\n\");\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\ttoPrint.append((char) i);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttoPrint.append(\":\" + this.huffCodeVals[i] + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(toPrint.toString());\n\t}", "public void printTable(){ \r\n System.out.println( \"Auction ID | Bid | Seller | Buyer \"\r\n + \" | Time | Item Info\");\r\n System.out.println(\"===========================================\"\r\n + \"========================================================================\"\r\n + \"========================\");\r\n for(Auction auctions : values()){\r\n System.out.println(auctions.toString());\r\n } \r\n }", "private static void printArray(Integer[] a) {\n\t\tfor (int k = 0; k < a.length; k++) {\n\t\t\tSystem.out.print(a[k] + \" \");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public void outDisTable()\n\t{\n\t\tfor(int i = 0; i < sqNum; i++)\n\t\t{\n\t\t\tfor(int j = 0; j < sqNum; j++)\n\t\t\t{\n\t\t\t\tSystem.out.printf(\"%-18s\", \"[\" + i + \",\" + j + \"]:\" + String.format(\" %.8f\", dm[i][j]));\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\t}", "private static void printTable(Game game) {\r\n\t\tint[][] table = game.getTable();\r\n\t\tint length = table.length;\r\n\t\tSystem.out.println(\"Current table:\");\r\n\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\tfor (int j = 0; j < length - 1; j++)\r\n\t\t\t\tSystem.out.print(table[i][j] + \" \\t\");\r\n\t\t\tSystem.out.println(table[i][length - 1]);\r\n\t\t}\r\n\t}", "private static <Key extends Comparable<Key>> void show(Key[] a) {\n for (int i = 0; i < a.length; i++) {\n System.out.printf(a[i] + \" \");\n }\n }", "public void show() {\n for (int i = 0; i < rowCount; i++) {\n for (int j = 0; j < columnCount; j++)\n System.out.printf(\"%9.4f \", data[i][j]);\n System.out.println();\n }\n }", "public void print() {\n \tfor (int i=0; i < this.table.height; i++) {\n \t\tfor (int j=0; j < this.table.width; j++) {\n \t\t\tString tmp = \"e\";\n \t\t\tif(this.table.field[i][j].head != null) {\n \t\t\t\ttmp = \"\";\n \t\t\t\tswitch (this.table.field[i][j].head.direction) {\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\ttmp+=\"^\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\ttmp+=\">\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\ttmp+=\"V\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 4:\n\t\t\t\t\t\ttmp+=\"<\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n \t\t\t}\n \t\t\telse if(this.table.field[i][j].obj != null) {\n \t\t\t\ttmp = this.table.field[i][j].obj.name;\n \t\t\t}\n \t\t\tSystem.out.print(\" \" + tmp);\n \t\t}\n \t\t\tSystem.out.println(\"\");\n \t}\n }", "public void printdia(int[][] array){\n\t\tint dim = array.length;\n\n\t for( int k = 0 ; k < dim * 2 ; k++ ) {\n\t for( int j = 0 ; j <= k ; j++ ) {\n\t int i = k - j;\n\t if( i < dim && j < dim ) {\n\t System.out.print( array[i][j] + \" \" );\n\t }\n\t }\n\t System.out.println();\n\t }\n\t}", "public void displayArray(Cell[][] cells);", "public static void MostrarArray(int array[]) {\n for (int i = 0; i < array.length; i++) {\n System.out.print(array[i] + \" | \");\n }\n System.out.println();\n }", "static void displaySteps(int arr[]) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tSystem.out.print(arr[i] + \"\\t\");\n\t\t}\n\t}", "public static void displayResults(double[][] array) {\n\t\t\n\t\tfor (int i=0; i < array[0].length; i++) {\n\t\t\t\n\t\t\tSystem.out.println(\"Zbir brojeva kolone \" + i + \" je \" + sumColumn(array, i));\n\t\t}\n\t}", "public static void show(Comparable[] a) {\n StringBuilder s= new StringBuilder();\n s.append(\"[\");\n for (int i = 0; i < a.length-1; i++) {\n s.append(a[i] + \", \");\n }\n s.append(a[a.length-1] + \"]\\n\");\n System.out.println(s.toString());\n }", "private static void printArray(int[] a) {\n\t\tfor (int k = 0; k < a.length; k++) {\n\t\t\tSystem.out.print(a[k] + \" \");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public <T> void printMatrix(T matrix[][])\n {\n int longestString = 0;\n \n for (T[] m : matrix)\n {\n for (T j : m)\n {\n if (j.toString().length() > longestString)\n {\n longestString = j.toString().length();\n }\n }\n }\n String matrixLength = \"\";\n matrixLength += matrix.length;\n \n if (longestString < matrixLength.length())\n {\n longestString = matrix.length;\n }\n \n // limit the length of a string to 4 characters\n longestString = (longestString > 4) ? 4 : longestString;\n \n String format = \"%-\" + (longestString + 1) + \".\" + longestString + \"s\";\n \n System.out.printf(format, \" \");\n for (int i = 0; i < matrix.length; i++)\n {\n System.out.printf(format, i);\n }\n System.out.println(\"\");\n\n int k = 0;\n\n for (T j[] : matrix)\n {\n System.out.printf(format, k++);\n\n for (T i : j)\n {\n String s = \"\";\n s += (i == null) ? \"-\" : i;\n System.out.printf(format, s);\n }\n System.out.println(\"\");\n }\n System.out.println(\"\");\n }", "public static <T extends Comparable<? super T>> void show(T[] a) {\n for (int i = 0; i < a.length; i++)\n System.out.print(a[i] + \" \");\n System.out.println();\n }", "public void printTable(){\n \tfor (int i = 0; i < Table.size(); i++) {\n \t\tList<T> data = Table.get(i);\n \t\ttry {\n \t\t\tSystem.out.println(\"Bucket: \" + i);\n \t\t\tSystem.out.println(data.getFirst());\n \t\t\tSystem.out.println(\"+ \" + (data.getLength() - 1) + \" more at this bucket\\n\\n\");\n \t\t} catch (NoSuchElementException e) {\n \t\t\tSystem.out.println(\"This bucket is empty.\\n\\n\");\n \t\t}\n \t}\n }", "@Override\r\n\tpublic String toString() {\r\n\t\tif (size == 0) {\r\n\t\t\treturn \"[]\";\r\n\t\t}\r\n\r\n\t\tString s = \"[\";\r\n\r\n\t\tint currentRow = 0;\r\n\t\twhile (table[currentRow] == null) {\r\n\t\t\tcurrentRow++;\r\n\t\t}\r\n\r\n\t\ts += table[currentRow].toString();\r\n\t\ts += rowOfEntriesToString(table[currentRow].next);\r\n\r\n\t\tcurrentRow++;\r\n\r\n\t\twhile (currentRow < table.length) {\r\n\t\t\ts += rowOfEntriesToString(table[currentRow]);\r\n\t\t\tcurrentRow++;\r\n\t\t}\r\n\r\n\t\ts += \"]\";\r\n\t\treturn s;\r\n\t}", "public static void printArray(int[] array) {\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println();\n\t}", "private static void print(int[] arr) {\n\t\tfor(int i=0;i<=arr.length;i++)\r\n\t\t{\r\n\t\t\tSystem.out.print(arr[i]+\" \");\r\n\t\t}\r\n\t}", "public String toString(){\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i = 0; i<this.size; i++){\n\t\t\tfor(int j=0; j<this.size; j++){\n\t\t\t\toutput.append(this.numbers[i][j] + \"\\t\");\n\t\t\t}\n\t\t\toutput.append(\"\\n\");\n\t\t}\n\t\treturn output.toString();\n\t}", "public static <T> void printArray(T[] array){\n for(int i=0;i<array.length;i++){\n System.out.println(array[i]);\n }\n }", "public void print() {\r\n\t\tfor (int i = front; i <= rear; i++) {\r\n\t\t\tSystem.out.print(arr[i].getData() + \"\\t\");\r\n\t\t}\r\n\t}", "private static void show(Comparable[] a) {\n for (Comparable a1 : a)\n System.out.print(a1 + \" \");\n\n System.out.println();\n }", "public static void printTimesTable(int tableSize) {\n System.out.format(\" \");\n for(int i = 1; i<=tableSize;i++ ) {\n System.out.format(\"%4d\",i);\n }\n System.out.println();\n System.out.println(\"--------------------------------------------------------\");\n\n for (int row = 1; row<=tableSize; row++){\n \n System.out.format(\"%4d\",row);\n System.out.print(\" |\");\n \n for (int column = 1; column<=tableSize; column++){\n System.out.format(\"%4d\",column*row);\n }\n System.out.print(\"\\n\");\n }\n\n }", "public void print() {\n\n for (int i = 0; i < this.rows; i++) {\n for (int j = 0; j < this.cols; j++) {\n System.out.format(\"%.4f\", data[i][j]);\n if (j != this.cols - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n }", "static void printArray(int[] array) {\n\n\n for (int i = 0; i < array.length; i++) {\n\n System.out.print(array[i] + \" \");\n\n\n }\n\n System.out.println();\n\n }", "private static void Display(Cars[] arr) {\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tSystem.out.println(arr[i]);\n\n\t\t}\n\t}", "private static void printArray(int[] arr) {\n\t\tSystem.out.println(\"array is \");\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tSystem.out.print(arr[i]+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}", "public void print() {\n for (int i = 0; i < table.length; i++) {\n System.out.printf(\"%d: \", i);\n \n HashMapEntry<K, V> temp = table[i];\n while (temp != null) {\n System.out.print(\"(\" + temp.key + \", \" + temp.value + \")\");\n \n if (temp.next != null) {\n System.out.print(\" --> \");\n }\n temp = temp.next;\n }\n \n System.out.println();\n }\n }", "public void printArray(int array[]) {\n\t\tfor(int i = 0;i<array.length;i++) {\n\t\t\tSystem.out.println(\"Array[\"+ (i+1) +\"] = \"+array[i]);\n\t\t}\n\t}", "public void display()\r\n\t{\r\n\t\tif(this.isEmpty())\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Empty... nothing to display\");\r\n\t\t}else\r\n\t\t{\r\n\t\t\tSystem.out.println(\"The Array: \");\t\r\n\t\tfor (int i =0; i<bookArray.length; i++)\r\n\t\t{\r\n\t\t\tif(bookArray[i]!=null)\r\n\t\t\t\tSystem.out.println(\"\\t\"+'\"'+bookArray[i]+'\"');\r\n\t\t}\r\n\t }\r\n\t}", "private void showArray() {\n\t\tSystem.out.println(Arrays.toString(this.array));\n\n\t}", "public static void printArray(int[] array) {\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.print(\"array = [\");\r\n\t\tfor (int i=0; i < SIZE_OF_ARRAY-1; i++)\r\n\t\t\tSystem.out.print(\"\"+ array[i]+\" | \");\r\n\t\tSystem.out.println(\"\"+ array[SIZE_OF_ARRAY-1]+\"]\");\r\n\t\tSystem.out.println(\"-------------------------------------------------\"\r\n\t\t\t\t+ \"-------------------\");\r\n\t}", "void printArray(CatalogueItem arr[])\r\n {\r\n int n = arr.length;\r\n for (int i=0; i<n; ++i)\r\n System.out.print(\r\n \"id: \" + arr[i].getItemId() + \" \"\r\n + \"name: \" + arr[i].getItemName() + \" \"\r\n + \"category: \" + arr[i].getCategory() + \"\\n\");\r\n System.out.println();\r\n System.out.println();\r\n }", "public static void showArray(String[] a) {\n for (int row=0; row<a.length; row++) {\n Logger.print(a[row] + \" \");\n }\n Logger.print(\"\\n\");\n }", "protected static void show(Comparable[] a) {\n\t\t\r\n\t\tString retStr = \"\";\r\n\t\tfor(int i=0 ; i< a.length; i++)\r\n\t\t\tretStr+=\" \"+a[i];\r\n\t\t\r\n\t\tSystem.out.println(retStr);\r\n\t\t\r\n\t}", "public static void printArray(int[] a) {\n System.out.print(\"{\" + a[0]);\n for (int i = 1; i < a.length; i++) {\n System.out.print(\", \" + a[i]);\n }\n System.out.println(\"}\");\n }", "public void printAll() {\n \tfor (int i = 0; i < Table.size(); i++) {\n \t\tList<T> data = Table.get(i);\n \t\tdata.placeIterator();\n \t\twhile (!data.offEnd()) {\n \t\t\tSystem.out.print(data.getIterator() + \"\\n\");\n \t\t\tdata.advanceIterator();\n \t\t}\n \t\t\n \t}\n }", "public void print() {\r\n this.table.printTable();\r\n }", "private void printTable(String type){\n\t\tSystem.out.println(\"\\n\\t\\t\\t\\t \" + type + \" Probing Analysis (Table size = \" + tableSize + \")\");\n\t\tSystem.out.println(\"\\t\\t ----- Inserts ------ ----------- Probes ---------- --------- Clusters ---------\");\n\t\tSystem.out.printf(\"%5s %10s %10s %10s %10s %10s %10s %10s %10s %10s\\n\", \n\t\t\t\t\"N\", \"lambda\", \"success\", \"failed\", \"total\", \"avg\", \"max\", \"number\", \"avg\", \"max\");\n\t}", "private static void printArray(int[] array) {\n\t\tif(array==null){\n\t\t\tSystem.out.println(\"Nothing in the array.\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint Len = array.length;\n\t\tfor(int i=0; i<Len; i++){\n\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}", "public void tablero(){\r\n System.out.println(\" X \");\r\n System.out.println(\" 1 2 3\");\r\n System.out.println(\" | |\");\r\n //imprimir primera fila\r\n System.out.println(\" 1 \"+gato[0][0]+\" | \"+gato[0][1]+\" | \"+gato[0][2]+\" \");\r\n System.out.println(\" _____|_____|_____\");\r\n System.out.println(\" | |\");\r\n //imprimir segunda fila\r\n System.out.println(\"Y 2 \"+gato[1][0]+\" | \"+gato[1][1]+\" | \"+gato[1][2]+\" \");\r\n System.out.println(\" _____|_____|_____\");\r\n System.out.println(\" | |\");\r\n //imprimir tercera fila\r\n System.out.println(\" 3 \"+gato[2][0]+\" | \"+gato[2][1]+\" | \"+gato[2][2]+\" \");\r\n System.out.println(\" | |\");\r\n }", "public static void displayValues(int [] array){\n System.out.println(Arrays.toString(array));\n }", "public static void printArray(String[] array){\n int noOfElement=array.length; // Number of element is the length of this array\n for(int i=0;i<array.length;i++){ // print out the each element in array with \" \"(space) splitting\n System.out.print(array[i]+\" \");}}", "public static void printField(){\n System.out.println(\"---------\");\r\n for (char[] cell : output) {\r\n System.out.print(\"| \");\r\n for (char value : cell) {\r\n System.out.print(value + \" \");\r\n }\r\n System.out.print(\"|\\n\");\r\n }\r\n System.out.println(\"---------\");\r\n }", "public static void printArray(Cell[] arr) {\r\n\t\tConstants.logger.info(\"\\nWhole Field as single Array[\");\r\n\t\tfor (int j = 0; j < arr.length; j++) {\r\n\t\t\tSystem.out.print(arr[j]);\r\n\t\t}\r\n\t\tConstants.logger.info(\"]\\n\");\r\n\t}", "public void displayHashTable(HashTable2 hTable){\n\t\t\n\t\tSystem.out.println(\"Index \" + \"Value\");\n\t\tfor(int i=0; i < hTable.theArray.length; i++){\n\t\t\t\n\t\t\tSystem.out.println(\" \" + i + \" ==> \" + hTable.theArray[i] );\n\t\t\t\n\t\t}\n\t\t\n\t}", "public static void printArray(int[] arr) {\n String output = \"[ \";\n for (int i = 0; i < arr.length; i++) {\n if (i != 0) {\n output += \", \" + arr[i];\n }\n else {\n output += arr[i];\n }\n }\n output += \" ]\";\n System.out.println(output);\n }", "void show(double[][][] arr,String name){\n \n System.out.println(name+\"Array\");\n Vector Size = new Vector(arr.length,arr[0].length,arr[0][0].length);\n \n for(int i=0;i<Size.x;i++){\n \n for(int j=0;j<Size.y;j++){\n \n for(int k=0;k<Size.z;k++){\n \n System.out.print(arr[i][j][k]+\" \");\n }\n System.out.println();\n }\n System.out.println();\n }\n\n}", "public static void Affichage(int Tableau[]){\n int i ;\n\n for (i =0; i< Tableau.length;i++){\n System.out.println(Tableau[i]);\n }\n }", "public void printAllValues ()\n\t{\n\t\tfor (int index = 0; index < count; index = index + 1 ) {\n\t\t\t\n\t\t\tif (index%5 == 0){\n\t\t\t\t\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\t\n\t\tSystem.out.print(array1[index] + \"\\t\");\t\n\t\t}\n\t}", "static void printArray(int arr[])\n {\n int n = arr.length;\n for (int i=0; i<n; ++i)\n System.out.print(arr[i]+\" \");\n System.out.println();\n }", "public static void tablaPuntos(Mano[] jug){\n StringBuilder toret= new StringBuilder();\n for (int i = 0; i < jug.length; i++) {\n toret.append(jug[i].getNombre());\n toret.append(\": \\n\");\n toret.append(jug[i]);\n toret.append(\"\\nPuntos: \");\n toret.append(jug[i].getPuntuacion());\n toret.append(\"\\n\");\n }\n System.out.println(toret.toString());\n }", "public static void printArr(int[] arr){\n int i;\n System.out.print(\"Array { \");\n for(i = 0; i < n; i++){\n System.out.print(arr[i] + ((i < n - 1)? \",\":\"\") + \" \");\n }\n System.out.println(\"}\");\n }", "public void print(Table t) {\n\t\t\tCursor current = t.rows();\n\t\t\twhile (current.advance()) {\n\t\t\t\tfor (Iterator columns = current.columns(); columns.hasNext();)\n\t\t\t\t\tSystem.out.print((String) columns.next() + \" \");\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}", "void tampil (int[] data) {\n for (int i = 0; i < data.length; i++) {\n System.out.print(data[i] + \" \");\n }\n System.out.println();\n }", "public static void displayArr(int[] a)\r\n {\r\n for(int i : a)\r\n System.out.print(i + \" \");\r\n System.out.println();\r\n }", "public static String toString(int[][] a) {\r\n\t\tint rowNum = a.length;\r\n\t\tint colNum = a[0].length;\r\n\t\tString ret = \"\";\r\n\t\tfor (int i = 0; i < rowNum; i++) {\r\n\t\t\tfor (int j = 0; j < colNum; j++) {\r\n\t\t\t\tif (colNum == 0) {\r\n\t\t\t\t\tret += \"\\n\";\r\n\t\t\t\t}\r\n\t\t\t\tret += \"\\t\" + a[i][j];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ret;\r\n\t}" ]
[ "0.7587899", "0.74897736", "0.74518204", "0.7423056", "0.7345924", "0.721138", "0.70988566", "0.7088655", "0.70815396", "0.7069916", "0.7033659", "0.70150954", "0.70027554", "0.6949972", "0.690191", "0.68828267", "0.6862406", "0.68606174", "0.6830613", "0.6824117", "0.6822367", "0.68053925", "0.6760048", "0.67415017", "0.67342734", "0.67342734", "0.67172116", "0.6709418", "0.6700346", "0.66917264", "0.6681858", "0.66759646", "0.6639895", "0.6639421", "0.66285855", "0.6605142", "0.659129", "0.65728205", "0.6566467", "0.65652317", "0.65495616", "0.6542928", "0.65372133", "0.65289545", "0.6526135", "0.65233165", "0.65223587", "0.6512895", "0.6507503", "0.6501199", "0.648086", "0.6475123", "0.6471935", "0.6465804", "0.6463047", "0.6453062", "0.6449667", "0.64290273", "0.64286464", "0.64269096", "0.6426545", "0.6425007", "0.64150536", "0.6413693", "0.64128464", "0.64085436", "0.6405524", "0.64054674", "0.6389423", "0.6385807", "0.6379141", "0.63764006", "0.63700414", "0.6365936", "0.6363923", "0.6352852", "0.6339312", "0.6339075", "0.63372743", "0.6330428", "0.6321965", "0.6312791", "0.63084376", "0.62885016", "0.6277107", "0.6275883", "0.62686914", "0.6259939", "0.6257999", "0.6251835", "0.62465626", "0.6246198", "0.62344587", "0.6216798", "0.62080276", "0.62024635", "0.62004745", "0.6199905", "0.61989105", "0.6192992" ]
0.6330279
80
Constructor for getting a list of users
public User(String uid, String name, String gender, String language) { this.uid = uid; this.name = name; this.gender = gender; this.language = language; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UserList()\n\t\t{\n\t\t\tusers = new ArrayList<User>();\n\t\t}", "java.util.List<com.heroiclabs.nakama.api.User> \n getUsersList();", "List<User> getUsers();", "List<User> getUsers();", "public List<User> getUserList();", "public List getAllUsers();", "public Users() {\r\n this.user = new ArrayList<>();\r\n }", "public List<User> listUsers(String userName);", "private List<User> createUserList() {\n for (int i = 1; i<=5; i++) {\n User u = new User();\n u.setId(i);\n u.setEmail(\"user\"+i+\"@mail.com\");\n u.setPassword(\"pwd\"+i);\n userList.add(u);\n }\n return userList;\n }", "public List<User> getUsers();", "public UserList list();", "protected void getUserList() {\n\t\tmyDatabaseHandler db = new myDatabaseHandler();\n\t\tStatement statement = db.getStatement();\n\t\t// db.createUserTable(statement);\n\t\tuserList = new ArrayList();\n\t\tsearchedUserList = new ArrayList();\n\t\tsearchedUserList = db.getUserList(statement);\n\t\tuserList = db.getUserList(statement);\n\t\tusers.removeAllElements();\n\t\tfor (User u : userList) {\n\t\t\tusers.addElement(u.getName());\n\t\t}\n\t}", "public List<Utilizator> listUsers();", "public List<User> list();", "List<KingdomUser> getUsers();", "java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();", "java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();", "public UserList(ArrayList<User> users)\n\t\t{\n\t\t\tthis.users = users;\n\t }", "public static List<User> createUserList() {\r\n\t\tList<User> users = new ArrayList<User>();\r\n\t\t\r\n\t\tusers.add(createUser(1, \"Isha\", \"Khandelwal\", \"[email protected]\", \"ishaa\", \"ThinkHR\"));\r\n\t\tusers.add(createUser(2, \"Sharmila\", \"Tagore\", \"[email protected]\", \"stagore\", \"ASI\"));\r\n\t\tusers.add(createUser(3, \"Surabhi\", \"Bhawsar\", \"[email protected]\", \"sbhawsar\", \"Pepcus\"));\r\n\t\tusers.add(createUser(4, \"Shubham\", \"Solanki\", \"[email protected]\", \"ssolanki\", \"Pepcus\"));\r\n\t\tusers.add(createUser(5, \"Ajay\", \"Jain\", \"[email protected]\", \"ajain\", \"TCS\"));\r\n\t\tusers.add(createUser(6, \"Sandeep\", \"Vishwakarma\", \"[email protected]\", \"svishwakarma\", \"CIS\"));\r\n\t\tusers.add(createUser(7, \"Sushil\", \"Mahajan\", \"[email protected]\", \"smahajan\", \"ASI\"));\r\n\t\tusers.add(createUser(8, \"Sumedha\", \"Wani\", \"[email protected]\", \"swani\", \"InfoBeans\"));\r\n\t\tusers.add(createUser(9, \"Mohit\", \"Jain\", \"[email protected]\", \"mjain\", \"Pepcus\"));\r\n\t\tusers.add(createUser(10, \"Avi\", \"Jain\", \"[email protected]\", \"ajain\", \"Pepcus\"));\r\n\t\t\r\n\t\treturn users;\r\n\t}", "@Nonnull\n List<User> getUsers();", "public static void initializeUserList() {\r\n\t\tUser newUser1 = new User(1, \"Elijah Hickey\", \"snhuEhick\", \"4255\", \"Admin\");\r\n\t\tuserList.add(newUser1);\r\n\t\t\r\n\t\tUser newUser2 = new User(2, \"Bob Ross\", \"HappyClouds\", \"200\", \"Employee\");\r\n\t\tuserList.add(newUser2);\r\n\t\t\r\n\t\tUser newUser3 = new User(3, \"Jane Doe\", \"unknown person\", \"0\", \"Intern\");\r\n\t\tuserList.add(newUser3);\r\n\t}", "com.google.ads.googleads.v6.resources.UserList getUserList();", "public List getUsers(User user);", "public static ArrayList<User> getUsers() {\n users = new ArrayList<User>();\n /*users.add(new User(\"Парковый Гагарина 5а/1\", \"срочный\", \"общий\"));\n users.add(new User(\"Алексеевские планы Ореховая 15 возле шлагбаума\", \"срочный\", \"общий\"));\n users.add(new User(\"Фастовецкая Азина 26\", \"срочный\", \"индивидуальный\"));*/\n //users.add(new User(MainActivity.adres.get(0), \"срочный\", \"общий\"));\n users.add(new User(\"Нет заказов\",\"срочный\",\"общий\"));\n return users;\n }", "public void initUsers() {\n User user1 = new User(\"Alicja\", \"Grzyb\", \"111111\", \"grzyb\");\n User user2 = new User(\"Krzysztof\", \"Kowalski\", \"222222\", \"kowalski\");\n User user3 = new User(\"Karolina\", \"Nowak\", \"333333\", \"nowak\");\n User user4 = new User(\"Zbigniew\", \"Stonoga \", \"444444\", \"stonoga\");\n User user5 = new User(\"Olek\", \"Michnik\", \"555555\", \"michnik\");\n users.add(user1);\n users.add(user2);\n users.add(user3);\n users.add(user4);\n users.add(user5);\n }", "public List<User> list();", "public List<User> getUserList()\r\n\t{\r\n\t//\tGet the user list\r\n\t//\r\n\t\treturn identificationService.loadUserList();\r\n\t}", "public ListOfUsers() {\n initComponents();\n }", "public String[] listUsers();", "@Override\n\tpublic List<User> get() {\n\t\tList<User> result = new ArrayList<>();\n\t\tfor (String key : userlist.keySet()) {\n\t\t\tUser user = userlist.get(key);\n\t\t\tint dni = user.getDni();\n\t\t\tString name = user.getName();\n\t\t\tString secondName = user.getSecondName();\n\t\t\tString username = user.getUser();\n\t\t\tString pass = user.getPass();\n\t\t\tresult.add(new User(dni, name, secondName, username, pass));\n\t\t}\n\t\treturn result;\n\t}", "ObservableList<User> getUserList();", "public List<UserDTO> getUsers();", "public List<User> getAllUsers();", "public ArrayList<IndividualUser> listAllUsers() {\n try {\n PreparedStatement s = sql.prepareStatement(\"SELECT id, userName, firstName, lastName FROM Users \");\n s.execute();\n ResultSet results = s.getResultSet();\n ArrayList<IndividualUser> users = new ArrayList<>();\n if (!results.isBeforeFirst()) {\n results.close();\n s.close();\n return users;\n }\n\n while (!results.isLast()) {\n results.next();\n IndividualUser u = new IndividualUser(results.getInt(1), results.getString(2), results.getString(3), results.getString(4));\n\n users.add(u);\n\n }\n\n results.close();\n s.close();\n\n return users;\n } catch (SQLException e) {\n sqlException(e);\n return null;\n }\n }", "@Override\n\tpublic List<User> list() \n\t{\n\t\treturn userDAO.list();\n\t}", "public List<User> list(String currentUsername);", "private static void initUsers() {\n\t\tusers = new ArrayList<User>();\n\n\t\tusers.add(new User(\"Majo\", \"abc\", true));\n\t\tusers.add(new User(\"Alvaro\", \"def\", false));\n\t\tusers.add(new User(\"Luis\", \"ghi\", true));\n\t\tusers.add(new User(\"David\", \"jkl\", false));\n\t\tusers.add(new User(\"Juan\", \"mno\", true));\n\t\tusers.add(new User(\"Javi\", \"pqr\", false));\n\t}", "public AllUsers(int datacenterId) {\r\n this.datacenterId = datacenterId;\r\n users= new ArrayList<>();\r\n }", "@Override\n\tpublic List<User> getList() {\n\t\treturn Lists.newArrayList(userRepository.findAll());\n\t}", "List<User> getAllUsers();", "List<User> getAllUsers();", "public UserList(){\n\t\tthis.head = new User();\n\t\tthis.tail = this.head;\n\n\t}", "public List createUserList()\r\n{\r\n\tUser madhu=new User(\"[email protected]\", \"madhu\");\r\n\tUser krishna=new User(\"[email protected]\", \"krishna\");\t\r\n\r\n\tList listOfUsers = new ArrayList();\r\n\tlistOfUsers.add(madhu);\r\n\tlistOfUsers.add(krshna);\r\n\treturn listOfUsers;\r\n}", "public static List<User> getUsersList(){\n\t\tWSResponse response = null;\n\t\tList<User> resultList = new ArrayList<User>();\n\t\ttry{\n\t\tPromise<WSResponse> result = WS.url(Utils.getApiUrl()+Urls.GET_USERS_URL)\n\t\t\t\t\t\t\t\t\t\t.setContentType(Urls.CONTENT_TYPE_JSON)\n\t\t\t\t\t\t\t\t\t\t.get();\n\t\tresponse = result.get(10000);\n\t\tGson gson = new Gson();\n\t\tUser[] users = gson.fromJson(response.getBody(), User[].class);\n\t\tfor(int i=0; i<users.length; i++){\n\t\t\tresultList.add(users[i]);\n\t\t}\n\t\t} catch(Exception exception){\n\t\t\tController.flash(Messages.ERROR, Messages.CANT_LOAD_USERS + exception);\n\t\t}\n\t\treturn resultList;\n\t}", "@POST(\"/ListUsers\")\n\tCollection<User> listUsers();", "@Override\n public List<User> selectAllUsers() {\n\n List<User> userList = new ArrayList<>();\n\n try (Connection connection = DriverManager.getConnection(URL, USERNAME, PASSWORD)) {\n\n String sql = \"SELECT * FROM ers_users\";\n\n PreparedStatement ps = connection.prepareStatement(sql);\n\n ResultSet rs = ps.executeQuery();\n\n while (rs.next()) {\n\n userList.add(\n new User(\n rs.getInt(1)\n , rs.getString(2)\n , rs.getString(3)\n , rs.getString(4)\n , rs.getString(5)\n , rs.getString(6)\n , rs.getInt(7)\n )\n );\n }\n }\n\n catch (SQLException e) {\n\n e.printStackTrace();\n }\n\n return userList;\n }", "public List<Users> getUserList(){\n\t\tList<Users> users = (List<Users>) this.userDao.findAll();\n\t\treturn users;\n\t}", "@Override\r\n\tpublic List<User> users() {\r\n\t\tList<User> ris = new ArrayList<>();\r\n\t\tList< Map <String,String>> maps = getAll(SELECT_USERS);\r\n\t\tfor (Map<String, String> map : maps) {\r\n\t\t\tris.add(IMappable.fromMap(User.class, map));\r\n\t\t}\r\n\t\treturn ris;\r\n\t}", "public Users(List<User> users) {\r\n this();\r\n user.addAll(users);\r\n }", "public UserDAO(List<String> listName) {\n super(Arrays.asList(\"Users\", listName));\n }", "@Override\n\tpublic List<User> getUserList() {\n\t\treturn userDao.queryUser();\n\t}", "@Override\r\n\tpublic List<UserVO> userList() {\n\t\treturn adao.UserList();\r\n\t}", "public ArrayList<User> getUsers(){\n\t\tArrayList<User> users = new ArrayList<User>();\n\t\tcreateFile(usersFile);\n\t\ttry {\n\t\t\tString[] data;\n\t\t\treader = new BufferedReader(new FileReader(usersFile));\n\n\t\t\tString strLine;\n\t\t\twhile((strLine = getLine()) != null){\n\t\t\t\tdata = strLine.split(\",\");\n\n\t\t\t\tUser user = new User(data[0], data[1],data[2],data[3]);\n\t\t\t\tusers.add(user);\n\n\t\t\t}\n\t\n\t\t}catch (IOException e){\n\t\t\t//TODO auto generated catch block\n\t\t\tSystem.err.println(e);\n\t\t}\n\n\t\treturn users;\n\t}", "@Override\n\tpublic List<User> getUserList() {\n\t\treturn userDao.getList();\n\t}", "com.heroiclabs.nakama.api.User getUsers(int index);", "public BargainUserList() {\n this(DSL.name(\"b2c_bargain_user_list\"), null);\n }", "@GetMapping(\"/userslist\")\n\tpublic List<User> usersList() {\n\t\treturn userService.usersList();\n\t}", "public ArrayList<User> getUserList () {\n return (ArrayList<User>)Users.clone();\n \n }", "public ArrayList<User> getUsers() {return users;}", "List<User> getUserByName(String name);", "@Override\n\tpublic ArrayList<UsersBean> getUsersList() throws AirlineException {\n\t\t\n\t\tUsersBean usersBean = null;\n\t\tArrayList<UsersBean> usersList = new ArrayList<>();\n\t\t\n\t\tString qry = \"select * from USERS\";\n\t\t\n\t\ttry(PreparedStatement stmt = connect.prepareStatement(qry);\n\t\t\t\tResultSet rs = stmt.executeQuery();\n\t\t\t){\n\t\t\t\twhile(rs.next()){\n\t\t\t\tString userName = rs.getString(1);\n\t\t\t\tString password = rs.getString(2);\n\t\t\t\tString role = rs.getString(3);\n\t\t\t\t\n\t\t\t\tusersBean = new UsersBean(userName, password, role);\n\t\t\t\tusersList.add(usersBean);\n\t\t\t\t}\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tthrow new AirlineException(\"Probelm in getting the movie details!!!\",e);\n\t\t\t\t}\n\t\t\treturn usersList;\n\t\t}", "@SuppressWarnings(\"unchecked\")\n @Override\n public List<User> listUsers() {\n Session session = this.sessionFactory.getCurrentSession();\n List<User> UsersList = session.createQuery(\"from User\").list();\n for(User u : UsersList){\n logger.info(\"User List::\"+u);\n }\n return UsersList;\n }", "List<KingdomUser> getAllUsers();", "public List<TestUser> getAllUsers(){\n\t\tSystem.out.println(\"getting list of users..\");\n\t\tList<TestUser> user=new ArrayList<TestUser>();\n\t\tuserRepositary.findAll().forEach(user::add);\n\t\t//System.out.println(\"data: \"+userRepositary.FindById(\"ff80818163731aea0163731b190c0000\"));\n\t\treturn user;\n\t}", "abstract ArrayList<User> getAllUsers();", "List<User> fetchAllUSers();", "public List<User> listAll() throws Exception;", "public ArrayList<User> showUsers(){\n\t\treturn this.userList;\n\t}", "public List<IUser> getUsers();", "public List<User> getUserList() {\n\t\treturn null;\n\t}", "@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic List<User> listUsers() {\n\t\treturn (List<User>) openSession().createCriteria(User.class).list();\n\t}", "public ArrayList<User> list() {\n\t\tUserDao ua=new UserDao();\n\t\treturn ua.list();\n\t\t//System.out.println(\"haii\");\n\t\t \n\t}", "public String ListUsers(){\r\n StringBuilder listUsers = new StringBuilder();\r\n for (Utente u: utenti) { // crea la lista degli utenti registrati al servizio\r\n listUsers.append(u.getUsername()).append(\" \");\r\n \tlistUsers.append(u.getStatus()).append(\"\\n\");\r\n }\r\n return listUsers.toString(); \r\n }", "public void initialize() {\n\n list.add(user1);\n list.add(user2);\n list.add(user3);\n }", "public void getAllUsers() {\n\t\t\n\t}", "public List<User> list() {\n\t\treturn userDao.list();\n\t}", "private void listUsers(Request request, Response response) {\r\n\t\tList<UserBean> userList = null;\r\n\r\n\t\ttry {\r\n\t\t\tuserList = userService.findUsers();\r\n\t\t} catch (Exception e) {\r\n\t\t\tresponse.setStatus(Status.SERVER_ERROR_INTERNAL, e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t\tlog.error(e);\r\n\t\t} finally {\r\n\t\t\txmlSerializationService.generateXMLResponse(request, response,\r\n\t\t\t\t\tuserList);\r\n\t\t}\r\n\t}", "public List<User> list() {\n\t\treturn null;\n\t}", "Iterable<User> getAllUsers();", "public List<User> getAllUsers(){\n myUsers = loginDAO.getAllUsers();\n return myUsers;\n }", "public List<User> getUsers()\n\t{\n\t\treturn usersList;\n\t}", "public ArrayList<User> showUsers() throws SQLException {\n ArrayList<User> users = new ArrayList<>();\n PreparedStatement pr = connection.prepareStatement(Queries.showUserList);\n ResultSet result = pr.executeQuery();\n while (result.next()) {\n users.add(new User(\n result.getInt(\"id\"),\n result.getString(\"user_full_name\"),\n result.getString(\"email\"),\n result.getInt(\"phone\")));\n }\n pr.close();\n return users;\n }", "@Override\n\tpublic List<Object> getAllUsers() {\n\t\tList<Object> usersList = new ArrayList<Object>();\n\t\tList<TestUser> users = dao.getAll();\n\t\tSystem.out.println(dao.exists(5));\n\t\tfor(TestUser user : users){\n\t\t\tMap<String,Object> m = new HashMap<String,Object>();\n\t\t\tm.put(\"id\", user.getId());\n\t\t\tm.put(\"name\", user.getUsername());\n\t\t\tm.put(\"pwd\", user.getPassword());\n\t\t\tJSONObject j = new JSONObject(m);\n\t\t\tusersList.add(j);\n\t\t}\n\t\treturn usersList;\n\t}", "public UserDirectory() {\n\t\tusers = new LinkedAbstractList<User>(100);\n\t}", "public UserAdapter(@NonNull Context context, @SuppressLint(\"SupportAnnotationUsage\") @LayoutRes ArrayList<User> list) {\n super(context, 0 , list);\n mContext = context;\n usersList = list;\n }", "public ch.ivyteam.ivy.scripting.objects.List<ch.ivyteam.ivy.security.IUser> getUsers()\n {\n return users;\n }", "@GET\n\tpublic ArrayList<User> getAllUsers(@QueryParam(\"start\") int start,\n\t\t\t\t\t\t\t\t\t @QueryParam(\"size\") int size) {\n\t\treturn new ArrayList<User>();\n\t}", "private void getUserList() {\n // GET ENTRIES FROM DB AND TURN THEM INTO LIST \n DefaultListModel listModel = new DefaultListModel();\n Iterator itr = DBHandler.getListOfObjects(\"FROM DBUser ORDER BY xname\");\n while (itr.hasNext()) {\n DBUser user = (DBUser) itr.next();\n listModel.addElement(user.getUserLogin());\n }\n // SET THIS LIST FOR INDEX OF ENTRIES\n userList.setModel(listModel);\n }", "public ListeUser getListeUser() {\n\t\tif(listeUser==null){\n\t\t\tlisteUser = new ListeUser();\n\t\t}\n\t\treturn listeUser;\n\t}", "public List<User> userList() {\r\n\t\treturn DataDAO.getUserList();\r\n\r\n\t}", "public List<User> getUserList() {\n\t\treturn userList;\n\t}", "public List<UsrMain> getListUsers() {\n return mobileCtrl.getListUsers();\n }", "@Override\n public Users getUsers() throws UserException {\n Users users = new Users();\n log.debug(\"getUsers\");\n User user = null;\n ResultSet result;\n Connection conn = null;\n PreparedStatement stm = null;\n try {\n conn = provider.getConnection();\n\n stm = conn.prepareStatement(GET_ALL_USERS);\n result = stm.executeQuery();\n\n while (result.next()) {\n user = buildUserFromResult(result);\n log.debug(\"User found {}\", user);\n users.add((DataUser) user);\n }\n\n } catch (SQLException e) {\n e.printStackTrace();\n throw new UserException(e.getMessage());\n\n } finally {\n try {\n stm.close();\n conn.close();\n } catch (Exception e) {\n\n e.printStackTrace();\n }\n }\n return users;\n }", "public User[] list() {\r\n User user[] = new User[this.UserList.size()];\r\n for (int i = 0; i < this.UserList.size(); i++) {\r\n user[i] = (User) this.UserList.get(i);\r\n }\r\n\r\n return user;\r\n }", "public String listUsers(){\n \tStringBuilder sb = new StringBuilder();\n \tif(users.isEmpty()){\n \t\tsb.append(\"No existing Users yet\\n\");\n \t}else{\n \t\tsb.append(\"Meeting Manager Users:\\n\");\n \t\tfor(User u : users){\n \t\t\tsb.append(\"*\"+u.getEmail()+\" \"+ u.getPassword()+\" \\n\"+u.listInterests()+\"\\n\");\n \t\t}\n \t}\n \treturn sb.toString();\n }", "private UserDao() {\n\t\tusersList = new HashMap<String, User>();\n\t\tusersDetails = JsonFilehandling.read();\n\t\tfor (JSONObject obj : usersDetails) {\n\t\t\tusersList.put(obj.get(\"id\").toString(), new User(obj.get(\"id\").toString(),obj.get(\"name\").toString(), obj.get(\"profession\").toString()));\n\t\t}\n\t}", "public final void getUsersList() throws ServiceException {\r\n\t\tList<Bems> usersList = testReqmtService.getUsersList();\r\n\t\tList<SelectItem> userDetails= new ArrayList<SelectItem>();\r\n\t\t\r\n\t\tfor(Bems user:usersList) {\r\n\t\t\tStringBuilder name=new StringBuilder();\r\n\t\t\t name.append(user.getLastName().trim());\r\n\t\t\t name.append(\",\"+\" \");\r\n\t\t\t name.append(user.getFirstName().trim());\r\n\t\t\tif(CommonUtils.isStringNotEmpty(user.getMiddleName())){\r\n\t\t\t\tname.append(\" \");\r\n\t\t\t\tname.append(user.getMiddleName());\r\n\t\t\t}\r\n\t\t\tuserDetails.add(new SelectItem(user.getBemsID(), name.toString()));\r\n\t\t \r\n\t\t}\r\n\t\tuiTestReqEditModel.setUserList(userDetails);\r\n\t}", "private void createUserList() {\n\t\tif (!userList.isEmpty() && !listUsers.isSelectionEmpty()) {\n\t\t\tlistUsers.clearSelection();\n\t\t}\t\t\n\t\tif (!archivedUserList.isEmpty() && !listArchivedUsers.isSelectionEmpty()) {\n\t\t\tlistArchivedUsers.clearSelection();\n\t\t}\t\t\n\t\tarchivedUserList.clear();\n\t\tuserList.clear();\n\t\tArrayList<User> users = jdbc.get_users();\n\t\tfor (int i = 0; i < users.size(); i++) {\n\t\t\tif (users.get(i).active()) {\n\t\t\t\tuserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t} else {\n\t\t\t\tarchivedUserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t}\t\t\n\t\t}\n\t}", "public Single<UserResponse> userList(int params) {\n return supportAppService.userList(params);\n }", "@Override\r\n\tpublic Object getList() {\n\t\treturn userDao.getList();\r\n\t}", "@ApiResponses(value = {\n\t\t\t@ApiResponse(responseContainer = \"List\", response = User.class, code = 200, message = \"接口正常\"),\n\t\t\t@ApiResponse(code = 401, message = \"\"), @ApiResponse(code = 405, message = \"权限有问题\"),\n\t\t\t@ApiResponse(code = 500, message = \"后台报错了\") })\n\t@ApiOperation(value = \"listUsers\", httpMethod = \"GET\", notes = \"查找用户列表\")\n\t@RequestMapping(value = \"/user/listUsers\", method = RequestMethod.GET)\n\t@ResponseBody\n\tpublic List<User> listUsers() {\n\t\tList<User> users = new ArrayList<User>();\n\t\tUser user01 = new User(100L, \"name 1\", \"pwd 1\", \"email 1\", \"telephone 1\", \"address 1\");\n\t\tUser user02 = new User(100L, \"name 2\", \"pwd 1\", \"email 1\", \"telephone 1\", \"address 1\");\n\n\t\tif (users.size() == 0) {\n\t\t\tlogger.error(\"没有用户数据\");\n\t\t}\n\t\tusers.add(user01);\n\t\tusers.add(user02);\n\t\treturn users;\n\t}" ]
[ "0.7975282", "0.78667855", "0.77488196", "0.77488196", "0.76568735", "0.76463354", "0.7642394", "0.7624842", "0.76219356", "0.7594469", "0.7540112", "0.7500804", "0.7492807", "0.7484032", "0.74582106", "0.7441494", "0.7440688", "0.7433324", "0.73885465", "0.7362036", "0.73346627", "0.732283", "0.73221385", "0.73057187", "0.73036253", "0.72905576", "0.72811735", "0.7280961", "0.7275685", "0.72732186", "0.72690535", "0.7267703", "0.7251375", "0.72328717", "0.72219694", "0.7221959", "0.72148204", "0.72043145", "0.71981555", "0.71861607", "0.71861607", "0.71700305", "0.71609026", "0.71596843", "0.7158319", "0.71582294", "0.71359897", "0.7124514", "0.7113711", "0.71060014", "0.7101171", "0.7098331", "0.70806104", "0.70772743", "0.70417917", "0.7030922", "0.7025705", "0.7017296", "0.7016105", "0.7010976", "0.70103747", "0.70079714", "0.7005499", "0.7002916", "0.699686", "0.699043", "0.69785726", "0.6978189", "0.69781077", "0.6971956", "0.6966975", "0.6957854", "0.69501835", "0.69473916", "0.69248974", "0.6910454", "0.69084054", "0.69061935", "0.6906149", "0.69025993", "0.6901134", "0.6901024", "0.69002235", "0.6885877", "0.68832105", "0.6880466", "0.68737596", "0.68713087", "0.6871137", "0.68702626", "0.68643737", "0.685506", "0.68539655", "0.68505347", "0.6848132", "0.68417704", "0.68321186", "0.6812387", "0.68037415", "0.68034375", "0.679875" ]
0.0
-1
Constructor for getting a single user
public User(String timestamp, String uid, String name, String gender, String email, String phone, String dept, String grade, String language, String region, String role, String preferTags, String obtainedCredits) { this(uid, name, gender, language); this.timestamp = Long.parseLong(timestamp); this.email = email; this.phone = phone; this.dept = dept; this.grade = grade; this.region = region; this.role = role; this.preferTags = preferTags; this.obtainedCredits = Integer.parseInt(obtainedCredits); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "User getUser();", "User getUser();", "User getUser(Long id);", "User getUserById(int id);", "User getUserById(Long id);", "User getUserById(Long id);", "public User getUser();", "public User getUser() {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(AppConfig.SHARED_PREF_NAME, Context.MODE_PRIVATE);\n return new User(\n sharedPreferences.getInt(AppConfig.ID, -1),\n sharedPreferences.getString(AppConfig.NAME, null),\n sharedPreferences.getString(AppConfig.EMAIL, null),\n sharedPreferences.getString(AppConfig.AGE, null),\n sharedPreferences.getString(AppConfig.GENDER, null),\n sharedPreferences.getString(AppConfig.ADDRESS, null)\n\n\n );\n }", "public User() {\n this.id = 0;\n this.username = \"gfisher\";\n this.password = \"password\";\n this.email = \"[email protected]\";\n this.firstname = \"Gene\";\n this.lastname = \"Fisher\";\n this.type = new UserPermission(true, true, true, true);\n }", "public UserModel getUser() {\n return userRepository.findById(getUserID())\n .orElseThrow(() -> new ResourceNotFoundException(\"User not found with id: \" + getUserID()));\n }", "public user getUser() {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n return new user(\n sharedPreferences.getInt(KEY_ID, -1),\n sharedPreferences.getInt(KEY_NATIONAL_ID, -1),\n sharedPreferences.getString(KEY_FIRST_NAME, null),\n sharedPreferences.getString(KEY_SECOND_NAME, null),\n sharedPreferences.getString(KEY_EMAIL, null),\n sharedPreferences.getString(KEY_MOBILE_NUMBER, null),\n sharedPreferences.getString(KEY_REG_DATE, null),\n sharedPreferences.getString(KEY_dob, null),\n sharedPreferences.getString(KEY_address, null),\n sharedPreferences.getString(KEY_city, null),\n sharedPreferences.getString(KEY_country, null)\n );\n }", "public User getUser (String userName);", "public User getUser(String userName, String password);", "public User getUser(String userName);", "User getUser(String userId);", "User getPassedUser();", "public SimpleUser getUser() {\n return user;\n }", "public UserTO getUser (String id);", "public User getUser(String username);", "User findOne(Long id);", "public User getUser(long id) {\n\t\tUser user = null;\n\t\t\n\t\tString queryString = \n\t\t\t \"PREFIX sweb: <\" + Config.NS + \"> \" +\n\t\t\t \"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \" +\n\t\t\t \"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \" +\n\t\t\t \"PREFIX foaf: <http://xmlns.com/foaf/0.1/>\" +\n\t\t\t \"select * \" +\n\t\t\t \"where { \" +\n\t\t\t \t\"?user sweb:id \" + id + \".\" +\n\t\t\t \"} \\n \";\n\n\t Query query = QueryFactory.create(queryString);\n\t \n\t QueryExecution qe = QueryExecutionFactory.create(query, this.model);\n\t ResultSet results = qe.execSelect();\n\t \n\t while(results.hasNext()) {\n\t \tQuerySolution solution = results.nextSolution() ;\n\t Resource currentResource = solution.getResource(\"user\");\n\n\t user = this.buildUserFromResource(currentResource);\n\t \n\t user.setTweets(this.getTweetsByUserId(id));\n\t user.setVisited(this.getVenuesVisitedByUserId(id));\n\t user.setInContact(this.getInContactForUserId(id));\n\t }\n\t \n\t return user;\n\t}", "public User(long userId) {\n this.id = userId;\n }", "public User getUser(String id){\n \t\t// execute query\n \t\tString query = \"SELECT * FROM users WHERE id = '\" + id + \"'\";\n \t\tResultSet rs = getResult(query);\n \t\t\n \t\t// check if result is empty\n \t\ttry {\n \t\t\tif(rs.next() == false) return null;\n \t\t} catch (SQLException e) {e.printStackTrace();}\n \t\t\n \t\t// otherwise create user with query result\n \t\tString hash = null;\n \t\tboolean isAdmin = false;\n \t\ttry {\n \t\t\thash = rs.getString(\"hash\");\n \t\t} catch (SQLException e) {e.printStackTrace();}\n \t\t\n \t\ttry {\n \t\t\tisAdmin = rs.getBoolean(\"isAdmin\");\n \t\t} catch (SQLException e) {e.printStackTrace();}\n \t\t\n \t\tString image = \"\";\n \t\ttry {\n \t\t\timage = rs.getString(\"image_url\");\n \t\t} catch (SQLException e) {e.printStackTrace();}\n \t\t\n \t\treturn new User(id, hash, isAdmin, this, image);\t\t\n \t}", "public User getUser(int id) {\n\t\treturn null;\n\t}", "public User getUser(String id) {\n\t\treturn null;\r\n\t}", "public User() {\n uid= 0;\n username = \"\";\n password = \"\";\n role = \"user\";\n status = false;\n updatedTime = new Timestamp(0);\n }", "User getUser(String username);", "public User get(String username);", "public User(Long id) {\n\t\tsuper(id, AppEntityCodes.USER);\n\t}", "public User getUser(Integer id) {\n\t\treturn null;\n\t}", "@Override\n\tpublic SimpleUser getSimpleUser(int idUser) {\n\t\treturn dao.getSimpleUser(idUser);\n\t}", "public User() {\n\t\tsuper(AppEntityCodes.USER);\n\t}", "@Factory(scope = ScopeType.CONVERSATION)\r\n\tpublic User getUser() {\r\n\t\tQuery userQuery = entityManager\r\n\t\t\t\t.createQuery(\"SELECT u FROM User AS u WHERE \"\r\n\t\t\t\t\t\t+ \"u.username=#{identity.username}\");\r\n\t\treturn (User) userQuery.getSingleResult();\r\n\t}", "public User(long id, String username, String email, String password) {\n this.id = id;\n this.username = username;\n this.email = email;\n this.password = password;\n}", "public User getUser(String name);", "public User getUser(String name);", "public User()\n\t{\n\t\tif(UA.singleInstance())\n\t\t{\n\t\t\tua = UA.getInstance();\n\t\t}\n\t}", "User getUser(User user) ;", "UserInfo getUserById(Integer user_id);", "private _User getUser(int id, String roomName) {\r\n return new _User(id, roomName);\r\n }", "public User getUserById(Long id) throws Exception;", "@Override\r\n\tpublic User user(int id) {\r\n\t\tMap<String,String> map = getOne(SELECT_USERS+ WHERE_ID, id);\r\n\t\tif(map!= null){\r\n\t\t\treturn IMappable.fromMap(User.class, map);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public User getUser() { return this.user; }", "public User details(String user);", "public User getUser(long id){\n User user = userRepository.findById(id);\n if (user != null){\n return user;\n } else throw new UserNotFoundException(\"User not found for user_id=\" + id);\n }", "public User getUser(Long userId);", "public User getUserById(Integer userId_) {\n User user = new User();\n \n return user;\n }", "@Override\r\n\tpublic UserTO getUser(String id) {\n\t\treturn null;\r\n\t}", "public User getUser(int id) {\n\t\tSQLiteDatabase db = this.getReadableDatabase();\n\t\t\n\t\tCursor cursor = db.query(TABLE_USERS, new String[] { KEY_USER_ID, \n\t\t\t\tKEY_PASSWORD, KEY_EMAIL }, KEY_USER_ID + \" = ?\",\n\t\t\t\tnew String[] { String.valueOf(id) }, null, null, null, null);\n\t\tif (cursor != null)\n\t\t\tcursor.moveToFirst();\n\t\t\n\t\tString password = cursor.getString(cursor.getColumnIndex(KEY_PASSWORD));\n\t\tString email = cursor.getString(cursor.getColumnIndex(KEY_EMAIL));\n\t\tUser user = new User(\n\t\t\t\tpassword,\n\t\t\t\temail,\n\t\t\t\tInteger.parseInt(cursor.getString(0)) );\n\t\t// return user\n\t\treturn user;\n\t\t}", "@Override\n\tpublic User getOne(Integer id) {\n\t\treturn userDao.getOne(id);\n\t}", "User()\n\t{\n\n\t}", "public User getById(@NotBlank String id){\n System.out.println(\"Sukses mengambil data User.\");\n return null;\n }", "@GetMapping(\"/user/{id}\")\n\tpublic ResponseEntity<User> singleUser(@PathVariable(\"id\") int id) {\n\t\tUser user = userDao.getUserById(id);\n\t\treturn new ResponseEntity<User>(user, HttpStatus.OK);\n\t}", "UserModel retrieveUserModel(String username, String password);", "public User getUserById(String id) {\n // return userRepo.findById(id);\n\n return null;\n }", "@Override\n\tpublic User getUser(int id) {\n\t\treturn userRepository.findById(id);\n\t}", "public static User getUser(String id){\n\t\tWSResponse response = null;\n\t\tUser user = null;\n\t\ttry{\n\t\tPromise<WSResponse> result = WS.url(Utils.getApiUrl()+Urls.GET_ONE_USER+id)\n\t\t\t\t\t\t\t\t\t\t.setContentType(Urls.CONTENT_TYPE_JSON)\n\t\t\t\t\t\t\t\t\t\t.get();\n\t\tresponse = result.get(10000);\n\t\tuser = new Gson().fromJson(response.getBody(), User.class);\n\t\t} catch(Exception exception){\n\t\t\tController.flash(Messages.ERROR, Messages.CANT_LOAD_USERS + exception);\n\t\t}\n\t\treturn user;\n\t}", "@Override\n\tpublic User getUserById(int id) {\n\t\treturn null;\n\t}", "public User(int user_id, String full_name, String address, String postal_code, int mobile_no,\n String snow_zone, String garbage_day, String password){\n this.user_id = user_id;\n this.full_name = full_name;\n this.address = address;\n this.postal_code = postal_code;\n this.mobile_no = mobile_no;\n this.snow_zone = snow_zone;\n this.garbage_day = garbage_day;\n this.password = password;\n\n }", "@Override\n public DocumentUser getUser() {\n UserService userService = UserServiceFactory.getUserService();\n User user = userService.getCurrentUser();\n if (user != null){\n String email = user.getEmail();\n AuthenticationToken at = AuthenticationToken.getUserToken(email);\n if (at != null) {\n DocumentUser docUser = new DocumentUser();\n docUser.setToken(at.getPublicToken());\n docUser.setName(user.getNickname());\n docUser.setEmail(user.getEmail());\n docUser.setId(user.getUserId());\n return docUser;\n }\n }\n return null;\n }", "public User(){\n this(null, null);\n }", "@Override\n public User getUser(String userId){\n return userDAO.getUser(userId);\n }", "User findOneById(long id);", "public User getUser(){\n\t\treturn user;\n\t}", "public User() {\n this.firstName = \"Lorenzo\";\n this.lastName = \"Malferrari\";\n this.username = \"[email protected]\";\n this.email = \"[email protected]\";\n this.password = \"123456\";\n this.city = \"Bologna\";\n this.country = \"Italia\";\n this.gender = \"Maschio\";\n this.birthdate = new Date();\n this.age = 21;\n this.imgUser = 1;\n this.last_access = new Date();\n this.registration_date = new Date();\n }", "@Override\n public User getUser() {\n return user;\n }", "@Override\n public User getUser() {\n return user;\n }", "public User getUser() {\r\n return user;\r\n }", "User getOne(long id) throws NotFoundException;", "public User selectoneuser(int id) {\n\t\tUser user = null;\n\t\tuser = new User();\n\t\tSystem.out.println(\"Userdao的id=\" + id);\n\t\tConnection conn = null;\n\t\tString sql = \"select * from users where id=\" + id;\n\t\tResultSet rs = null;\n\t\ttry {\n\t\t\tconn = ConnectDB.getconnect();\n\t\t\tPreparedStatement pstmt = conn.prepareStatement(sql);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tuser.setId(rs.getInt(\"id\"));\n user.setUsername(rs.getString(\"username\"));\n user.setPassword(rs.getString(\"password\"));\n user.setPhonenumber(rs.getString(\"phonenumber\"));\n user.setEmail(rs.getString(\"email\"));\n\t\t\t}\n\t\t\tpstmt.close();\n\t\t\tconn.close();\n\t\t\treturn user;\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"bookdao查询当前id结果失败\");\n\t\t}\n\t\treturn user;\n\t}", "public User getUser(String id) {\n return repository.getUser(id).get(0);\n }", "public User getUserById(Long userId);", "public User user(long id) {\n\t\tOptional<User> user = repository.findById(id);\n\n\t\tif (user.isPresent()) {\n\t\t\treturn user.get();\n\t\t} else {\n\t\t\tthrow new NotFoundException(\"User com o Id: \" + id + \" não encontrado em nossa base de dados!\");\n\t\t}\n\n\t}", "public User getUser(){\r\n\t\treturn this.user;\r\n\t}", "public abstract User getUser();", "public User() {}", "public User() {}", "public User() {}", "java.lang.String getUserIdOne();", "public User() {\n log.debug(\"Create a User object\");\n }", "@Override\n\tpublic ERSUser getUser(int userId) {\n\t\treturn userDao.selectUserById(userId);\n\t}", "public JSONUser(User user){\n\t\tid = user.getId();\n\t\tname = user.getName();\n\t}", "public User getUser() {\n\treturn user;\n }", "public static User getUserByID(int idUser) {\n\t\ttry {\n\t\t\tStatement stmt = MySQLConnection.establishConnection().createStatement();\n\t\t\t\n\t\t\tString query = \"SELECT * FROM users WHERE IDUser = \" + idUser;\n\t\t\t\n\t\t\tResultSet rset = stmt.executeQuery(query);\n\t\t\t\n\t\t\trset.next();\n\t\t\t\n\t\t\tint idAdmin = rset.getInt(\"IDUser\");\n\t\t\tString name = rset.getString(\"Name\");\n\t\t\tString surname = rset.getString(\"Surname\");\n\t\t\tString mailUser = rset.getString(\"Email\");\n\t\t\tString passwordUser = rset.getString(\"Password\");\n\t\t\t\n\t\t\tUser user = new User(idAdmin, name, surname, mailUser, passwordUser);\n\t\t\t\n\t\t\treturn user;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "public User getSpecificUser(String username);", "User get(String name);", "public User getUserById(int id) {\n Cursor cursor = sqLiteDatabase.rawQuery(\"SELECT * FROM user WHERE id = ?\", new String[]{String.valueOf(id)});\n if (cursor != null) {\n User user = new User();\n cursor.moveToFirst();\n // int userid = cursor.getInt(0);\n String name = cursor.getString(1);\n int age = cursor.getInt(2);\n\n String countryCode = cursor.getString(3);\n\n Country country = new Country();\n country.setCode(countryCode);\n\n user.setName(name);\n user.setAge(age);\n user.setId(id);\n user.setCountry(country);\n\n cursor.close();\n return user;\n\n } else {\n Log.e(getClass().getName(), \"getUserById() cursor is null\");\n return null;\n }\n }", "public User getUser(String username) {\r\n\r\n User existingUser = new User();\r\n String usernameResult;\r\n String passwordResult;\r\n\r\n try {\r\n // Get access to DB and set cursor at first row returned\r\n Cursor getData = getReadableDatabase().rawQuery(\"SELECT * FROM user WHERE username = '\" + username + \"'\", null);\r\n getData.moveToFirst();\r\n\r\n // Get fields from DB\r\n usernameResult = getData.getString(1);\r\n passwordResult = getData.getString(2);\r\n\r\n // Set fields in user object\r\n existingUser.setUsername(usernameResult);\r\n existingUser.setPassword(passwordResult);\r\n\r\n getData.close();\r\n } catch (IndexOutOfBoundsException e) { existingUser = null; }\r\n\r\n return existingUser;\r\n }", "public User(long id, String fistname, String secondname, String username, String password, String mail){\n this.id = id;\n this.firstname = fistname;\n this.secondname = secondname;\n this.username = username;\n this.password = password;\n this.email = mail;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public UserLogueado getUser() {\r\n SharedPreferences sharedPreferences = ctx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\r\n return new UserLogueado(\r\n sharedPreferences.getString(KEY_EMAIL, null),\r\n sharedPreferences.getString(KEY_TOKEN, null)\r\n );\r\n }", "@NonNull\n public User getUser() {\n return user;\n }", "public User getUser() {\n\n if (user == null) {\n user = new User(new VOUserDetails());\n FacesContext fc = FacesContext.getCurrentInstance();\n Locale locale = fc.getViewRoot().getLocale();\n user.setLocale(locale.toString());\n }\n return user;\n }", "User get(int userId) throws UserNotFoundException, SQLException;", "@Override\n\tpublic User getUserById(int id) {\n\t\treturn userDao.getUserById(id);\n\t}", "@Override\n\tpublic User getUserById(String id) {\n\t\tUser user = null;\n\t\tConnection connection = null;\n\t\ttry{\n\t\t\tconnection = BaseDao.getConnection();\n\t\t\tuser = userMapper.getUserById(connection,id);\n\t\t}catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t\tuser = null;\n\t\t}finally{\n\t\t\tBaseDao.closeResource(connection, null, null);\n\t\t}\n\t\treturn user;\n\t}", "public User read(String id);", "public User(String n) { // constructor\r\n name = n;\r\n }" ]
[ "0.7460397", "0.7460397", "0.7346968", "0.7326257", "0.7324196", "0.7324196", "0.7170446", "0.71619093", "0.7123584", "0.7107445", "0.70600754", "0.70463663", "0.70412594", "0.70070493", "0.6998015", "0.6985231", "0.6982364", "0.6980827", "0.6939838", "0.6921063", "0.6909731", "0.68890744", "0.68831426", "0.68796074", "0.68745846", "0.68699604", "0.6867874", "0.6866874", "0.68604195", "0.6856797", "0.68555295", "0.68550754", "0.68528605", "0.68528116", "0.68442726", "0.68442726", "0.68362606", "0.68337905", "0.68218297", "0.6814044", "0.68139887", "0.680932", "0.6803165", "0.67943954", "0.67943233", "0.6790705", "0.67904913", "0.6785697", "0.678195", "0.6768193", "0.6766454", "0.67655873", "0.6754989", "0.67488223", "0.67407197", "0.67294824", "0.67166734", "0.6715809", "0.67057014", "0.66881484", "0.6685481", "0.6679156", "0.66789377", "0.6672395", "0.667103", "0.6666204", "0.6666204", "0.66656095", "0.66629916", "0.666148", "0.6660438", "0.66603744", "0.66533744", "0.6642581", "0.66414523", "0.66412914", "0.66412914", "0.66412914", "0.6639879", "0.6632662", "0.6631553", "0.66301787", "0.6625235", "0.6624474", "0.66210747", "0.66201735", "0.6617128", "0.661193", "0.6609113", "0.66057533", "0.66057533", "0.66057533", "0.66057533", "0.6604628", "0.6604245", "0.66014385", "0.6598862", "0.6591861", "0.65904516", "0.6590353", "0.658894" ]
0.0
-1
Constructor for creating a new user
public User(String uid, String name, String gender, String email, String phone, String dept, String grade, String language, String region, String role, String preferTags) { this.uid = uid; this.name = name; this.gender = gender; this.email = email; this.phone = phone; this.dept = dept; this.grade = grade; this.language = language; this.region = region; this.role = role; this.preferTags = preferTags; this.timestamp = System.currentTimeMillis(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public User() {\n this.id = 0;\n this.username = \"gfisher\";\n this.password = \"password\";\n this.email = \"[email protected]\";\n this.firstname = \"Gene\";\n this.lastname = \"Fisher\";\n this.type = new UserPermission(true, true, true, true);\n }", "public void createUser(User user);", "public User() {\r\n this(\"\", \"\");\r\n }", "public User()\n\t{\n\t\tfirstName = \"\";\n\t\tlastName = \"\";\n\t\tusername = \"\";\n\t\tpassword = \"\";\n\t}", "public CreateUser(int age, String name){ // constructor\n userAge = age;\n userName = name;\n }", "public User(String name) {\n this(UUID.randomUUID().toString(), name, String.format(\"User account for %s\", name) );\n }", "User()\n\t{\n\n\t}", "public void createUser(User user) {\n\n\t}", "public User() {\r\n \r\n }", "User createUser();", "public User createUser() {\n printer.println(\"Welcome! Enter you name and surname:\");\n printer.println(\"Name:\");\n String name = input.nextString();\n printer.println(\"Surname:\");\n String surname = input.nextString();\n return new User(name, surname);\n }", "public User() {\n log.debug(\"Create a User object\");\n }", "public User() {\n\t\tsuper(AppEntityCodes.USER);\n\t}", "public User(String username, String nPassword)\n {\n userName = username;\n password = nPassword;\n }", "public User(String n) { // constructor\r\n name = n;\r\n }", "public User(String _username, String _password, String _employeeType) {\n // TODO implement here\n username = _username;\n password = _password;\n employeeType = _employeeType;\n// String taskId = UUID.randomUUID().toString();\n }", "public User() {}", "public User() {}", "public User() {}", "UserCreateResponse createUser(UserCreateRequest request);", "public User(int user_id, String full_name, String address, String postal_code, int mobile_no,\n String snow_zone, String garbage_day, String password){\n this.user_id = user_id;\n this.full_name = full_name;\n this.address = address;\n this.postal_code = postal_code;\n this.mobile_no = mobile_no;\n this.snow_zone = snow_zone;\n this.garbage_day = garbage_day;\n this.password = password;\n\n }", "public User() {\n\t\tsuper();\n\t}", "public User() {\n\t\tsuper();\n\t}", "public User() {\n\t\tsuper();\n\t}", "public User(String username, String password) {\n this.userID = UUID.randomUUID();\n this.username = username;\n this.password = password;\n this.isTechAgent = false;\n }", "User(String userID, String password, String firstName, String lastName) {\n this.userID = userID;\n this.password = password;\n this.firstName = firstName;\n this.lastName = lastName;\n }", "CreateUserResult createUser(CreateUserRequest createUserRequest);", "public User() {\n }", "public User(){}", "public User(){}", "public User(){}", "public User() {\r\n }", "public User(){\n this(null, null);\n }", "public User() {\r\n\r\n\t}", "public User() { }", "public void newUser(User user);", "public User() {\r\n\t}", "private void createUser(final String email, final String password) {\n\n }", "public User()\n\t{\n\t}", "public User() {\n\n\t}", "public User() {\n super();\n }", "public User() {\n super();\n }", "public User() {\n\t}", "public TUser() {\n this(\"t_user\", null);\n }", "public DbUser() {\r\n\t}", "public void creatUser(String name, String phone, String email, String password);", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User() {\n }", "public User(String username, String password) {\r\n\t if (username == null || username.isEmpty() || password == null || password.isEmpty()) {\r\n\t throw new IllegalArgumentException(\"User : username or password passed can not be null.\"); \r\n\t }\r\n this.email = new Email(EmailType.PERSONAL, username);\r\n\t\tthis.username = username;\r\n\t\tthis.password = encrypt(password);\r\n\t\tthis.displayname = username;\r\n this.type = UserType.USER;\r\n\t\tthis.status = InstanceStatus.TRANSCIENT;\r\n\t}", "public User(String firstName, String lastName, Long userid, String email, String password, String userName) {\n this();\n this.firstName = firstName;\n this.lastName = lastName;\n this.userid = userid;\n this.email = email;\n this.password = password;\n this.userName = userName;\n\n createContributorPrivilege();\n }", "public User(String name){\n this.name = name;\n }", "public User(String firstName, String lastName, String userName, String email, String password) {\n this();\n this.firstName = firstName;\n this.lastName = lastName;\n this.userName = userName;\n this.email = email;\n this.password = password;\n }", "public User() {\n\n }", "public User(String name) {\r\n\t\tthis.name = name;\r\n\t}", "public UserRecord(Integer idUser, String name, String surname, String title, LocalDateTime dateBirth, LocalDateTime dateCreate, LocalDateTime dateUpdate, LocalDateTime dateDelete, String govId, String username, String password, String email, String gender, String status) {\n super(User.USER);\n\n set(0, idUser);\n set(1, name);\n set(2, surname);\n set(3, title);\n set(4, dateBirth);\n set(5, dateCreate);\n set(6, dateUpdate);\n set(7, dateDelete);\n set(8, govId);\n set(9, username);\n set(10, password);\n set(11, email);\n set(12, gender);\n set(13, status);\n }", "int newUser(String username, String password, Time creationTime);", "public User() {\n this.username = \"test\";\n }", "public User() {\n name = \"\";\n }", "public String create() {\r\n\t\tuserService.create(userAdd);\r\n\t\tusers.setWrappedData(userService.list());\r\n\t\treturn \"create\";\r\n\t}", "public User(String name, String email, String password){\n this.name = name;\n this.email = email;\n this.password = password;\n }", "Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);", "User createUser(UserCreationModel user);", "protected User(){\n this.username = null;\n this.password = null;\n this.accessLevel = null;\n this.name = DEFAULT_NAME;\n this.telephone = DEFAULT_TELEPHONE;\n this.email = DEFAULT_EMAIL;\n }", "public User(long id, String fistname, String secondname, String username, String password, String mail){\n this.id = id;\n this.firstname = fistname;\n this.secondname = secondname;\n this.username = username;\n this.password = password;\n this.email = mail;\n }", "public User (String username, String password, String fname, String lname) {\n\t\tthis.username = username;\n\t\tthis.password = password;\n\t\tthis.FirstName = fname;\n\t\tthis.LastName = lname;\n\t}", "public User(){\n }", "public User()\r\n\t{\r\n\t\tthis.userId = 0;\r\n\t\tthis.userName = \"\";\r\n\t\tthis.role = \"\";\r\n\t\tthis.firstName = \"\";\r\n\t\tthis.lastName = \"\";\r\n\t\tthis.emailAddress = \"\";\r\n\t\tthis.streetAddress = \"\";\r\n\t\tthis.city = \"\";\r\n\t\tthis.state = \"\";\r\n\t\tthis.zip = 0;\r\n\t\tthis.country = \"\";\r\n\t}", "User createUser(User user);", "public User(String username, String password) {\n this.username = username;\n this.password = password;\n }", "public User() {\n uid= 0;\n username = \"\";\n password = \"\";\n role = \"user\";\n status = false;\n updatedTime = new Timestamp(0);\n }", "public User(){\n\n }", "public User(int aId, String aFirstName, String aLastName){\r\n this.id = aId;\r\n this.firstName = aFirstName;\r\n this.lastName = aLastName;\r\n }", "public User(int userid, String firstname, String lastname, String email, String password) {\n\t\tsuper();\n\t\tthis.userid = userid;\n\t\tthis.firstname = firstname;\n\t\tthis.lastname = lastname;\n\t\tthis.email = email;\n\t\tthis.password = password;\n\t}", "@Override\n\tpublic void create(User user) {\n\t\t\n\t}", "public User(long id, String username, String email, String password) {\n this.id = id;\n this.username = username;\n this.email = email;\n this.password = password;\n}", "public User(String username, String password) {\r\n this.username = username;\r\n this.password = password;\r\n }", "public NewMember(String username, String password, String email) {\n this.username = username;\n this.password = password;\n this.email = email;\n this.has_role = \"User\";\n this.signingDate = new Date(System.currentTimeMillis());\n }", "public User(String firstName, String lastName, String email, String password, String userName) {\n this();\n this.firstName = firstName;\n this.lastName = lastName;\n this.email = email;\n this.password = password;\n this.userName = userName;\n\n createContributorPrivilege();\n }", "public User(String n, int a) { // constructor\r\n name = n;\r\n age = a;\r\n }", "public User() {\n username = null;\n password = null;\n email = null;\n firstName = null;\n lastName = null;\n gender = null;\n personID = null;\n }", "public User() {\n this.firstName = \"Lorenzo\";\n this.lastName = \"Malferrari\";\n this.username = \"[email protected]\";\n this.email = \"[email protected]\";\n this.password = \"123456\";\n this.city = \"Bologna\";\n this.country = \"Italia\";\n this.gender = \"Maschio\";\n this.birthdate = new Date();\n this.age = 21;\n this.imgUser = 1;\n this.last_access = new Date();\n this.registration_date = new Date();\n }", "public User(String username, String password, UserType type) {\r\n\t if (username == null || username.isEmpty() || password == null || password.isEmpty() || type == null) {\r\n\t throw new IllegalArgumentException(\"User : username or password or user type passed can not be null.\");\r\n\t }\r\n this.email = new Email(EmailType.PERSONAL, username);\r\n\t\tthis.username = username;\r\n\t\tthis.password = encrypt(password);\r\n\t\tthis.displayname = username;\r\n this.type = type;\r\n\t\tthis.status = InstanceStatus.TRANSCIENT;\r\n\t}", "protected User() {}", "protected User() {}", "public User(String id, String name) {\n this(id, name, String.format(\"User account for %s\", name) );\n }", "public User(String nom, String prenom, String email, String pwd) {\r\n\t\tsuper();\r\n\t\tthis.nom = nom;\r\n\t\tthis.prenom = prenom;\r\n\t\tthis.email = email;\r\n\t\tthis.pwd = pwd;\r\n\t}", "public User(String uId, String email, String password) \n\t{\n\t\tthis.userId = uId;\n\t\tthis.accDetails = AccountDetails.create(uId,email,password);\n this.credit = Credit.create(uId);\n }", "public User(int id, String firstName, String lastName, String userName, String email, String password) {\n this();\n this.id = id;\n this.firstName = firstName;\n this.lastName = lastName;\n this.userName = userName;\n this.email = email;\n this.password = password;\n }", "public User(String username, String password, String firstName, String lastName, Short userType) {\r\n this.username = username;\r\n this.password = password;\r\n this.firstName = firstName;\r\n this.lastName = lastName;\r\n this.userType = userType;\r\n }", "public User(String firstName, String lastName, String userName, String email, String password, LocalDateTime creationDateTime, LocalDateTime updateDateTime) {\n this();\n this.firstName = firstName;\n this.lastName = lastName;\n this.userName = userName;\n this.email = email;\n this.password = password;\n this.creationDateTime = creationDateTime;\n this.updateDateTime = updateDateTime;\n }" ]
[ "0.79651076", "0.77283144", "0.7706487", "0.76852256", "0.76744556", "0.76657736", "0.76593965", "0.765472", "0.7639423", "0.7614995", "0.7607484", "0.7605964", "0.75955886", "0.75822145", "0.7577316", "0.756541", "0.7564246", "0.7564246", "0.7564246", "0.7563916", "0.7554298", "0.7528279", "0.7528279", "0.7528279", "0.75212234", "0.75153136", "0.7505118", "0.7500546", "0.749334", "0.749334", "0.749334", "0.7490742", "0.748014", "0.74668324", "0.7465626", "0.74625856", "0.74479896", "0.74452937", "0.74382865", "0.74318427", "0.7428191", "0.7428191", "0.7421181", "0.7411547", "0.7400963", "0.73995894", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7397544", "0.7389287", "0.73812795", "0.7379216", "0.7377829", "0.73575675", "0.7354289", "0.73463655", "0.73329467", "0.7321671", "0.73190355", "0.73183286", "0.7318268", "0.73125005", "0.7309116", "0.7309036", "0.7305733", "0.72963506", "0.72939414", "0.7292453", "0.7282736", "0.7281875", "0.7271952", "0.7261983", "0.7249483", "0.72489667", "0.7246499", "0.724576", "0.7243517", "0.72424865", "0.7227379", "0.7227365", "0.72199583", "0.7212516", "0.7208066", "0.7198633", "0.7198633", "0.7193191", "0.7190796", "0.7188494", "0.71847355", "0.7159145", "0.71582556" ]
0.0
-1
Created by Comfy on 12.03.2017.
public interface ClientDao { Long create(Client client); Client read(Long id); void update(Client client); void delete(Client client); List<Client> findAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n public int describeContents() { return 0; }", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void init() {\n\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n public void func_104112_b() {\n \n }", "private static void cajas() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n\n \n }", "@Override\n public void init() {\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\n public void init() {}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {}", "@Override\n protected void getExras() {\n }", "public void mo38117a() {\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void mo4359a() {\n }", "private void poetries() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n protected void init() {\n }", "private void init() {\n\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override public int describeContents() { return 0; }", "Petunia() {\r\n\t\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\n public void initialize() { \n }", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "Constructor() {\r\n\t\t \r\n\t }", "public void gored() {\n\t\t\n\t}", "private TMCourse() {\n\t}", "@Override\n public void initialize() {\n \n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\n\tpublic void init() {\n\t}", "@Override\n\t\tpublic void init() {\n\t\t}", "private MetallicityUtils() {\n\t\t\n\t}", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "Consumable() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "@Override\n\tprotected void initialize() {\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "private void m50366E() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "public Pitonyak_09_02() {\r\n }" ]
[ "0.5867644", "0.5759576", "0.57547265", "0.5704572", "0.56782734", "0.56782734", "0.56448823", "0.5593791", "0.5540666", "0.5511535", "0.55089736", "0.5463963", "0.54509133", "0.54509133", "0.54509133", "0.54509133", "0.54509133", "0.54509133", "0.544373", "0.54426324", "0.5433088", "0.5432693", "0.5424966", "0.54057586", "0.540348", "0.5401603", "0.5395509", "0.5395509", "0.5395509", "0.5395509", "0.5395509", "0.5386877", "0.5372641", "0.5369905", "0.5369905", "0.5366469", "0.5363575", "0.5354127", "0.53513", "0.53476495", "0.533341", "0.5326659", "0.5319663", "0.5314685", "0.53108484", "0.5310363", "0.53083366", "0.5305585", "0.52984715", "0.5294974", "0.5292923", "0.5292923", "0.5292923", "0.5289587", "0.5289587", "0.5289587", "0.5287713", "0.5287713", "0.5281227", "0.5281227", "0.5266949", "0.5259837", "0.5256129", "0.5251137", "0.52480364", "0.5241124", "0.52408415", "0.5240623", "0.52393895", "0.52393895", "0.52393895", "0.52393895", "0.52393895", "0.52393895", "0.52393895", "0.523111", "0.523111", "0.523111", "0.5229707", "0.52294344", "0.52294344", "0.52294344", "0.5224401", "0.5222593", "0.52199125", "0.52163845", "0.5213619", "0.5206955", "0.52030265", "0.5202065", "0.51895094", "0.5186002", "0.5183994", "0.51806706", "0.517855", "0.517855", "0.51656646", "0.5163413", "0.51538837", "0.5146137", "0.5139781" ]
0.0
-1
Wird beim Speichern aufgerufen.
private void handleStore() throws ApplicationException { try { getService().reload(); } catch (Exception e) { Logger.error("unable to restart scripting service",e); throw new ApplicationException(i18n.tr("Fehler beim Laden der Scripts: {0}",e.getMessage())); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "public void sendeSpielfeld();", "@Override\n\tpublic void einkaufen() {\n\t}", "public void Tyre() {\n\t\t\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "private void poetries() {\n\n\t}", "@Override\r\n\t\t\tpublic void seeEvent(Player p, String s) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void seeEvent(Player p, String s) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void seeEvent(Player p, String s) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void yürü() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private void getPlayertName() {\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "public HandlePiaoSvlt() {\n\t\tsuper();\n\t}", "@Override\n\tpublic String speak() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n public String speak()\n {\n return \"peep\";\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "public Spielflaeche getSpielflaeche() {return spielflaeche;}", "private void sout() {\n\t\t\n\t}", "@Override\n\tpublic void sports() {\n\t\t\n\t}", "@Override\n protected void getExras() {\n }", "public static ISpeler getSpeler() {\n\t\treturn speler;\n\t}", "private void strin() {\n\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "public void erzaehlWas() {\n // Das Gleiche was jedes Tier sagt.\n super.erzaehlWas();\n\n // Zusaetzliche Aussage des Affen\n System.out.println(\"Affen sind einfach die besten Tiere.\");\n }", "void berechneFlaeche() {\n\t}", "public void sendeSpielerWeg(String spieler);", "@Override\n\tpublic boolean paie() {\n\n\t\treturn true;\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "public void PedirSintomas() {\n\t\t\r\n\t\tSystem.out.println(\"pedir sintomas del paciente para relizar el diagnosticoa\");\r\n\t}", "@Override\n\tpublic boolean paie() {\n\t\treturn false;\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void pausaParaComer() {\n\n\t}", "@Override\n\tpublic void print() {\n\t\tsuper.print();\n\t\tSystem.out.println(\"ÎÒÊÇÒ»Ö»\"+this.getStrain()+\"È®.\");\n\t}", "private stendhal() {\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n public void speak() {\n System.out.printf(\"i'm %s. I am a DINOSAURRRRR....!\\n\",this.name);\n }", "@Override\r\n\tpublic void loeschen() {\r\n//\t\tsuper.leuchterAbmelden(this);\r\n\t\tsuper.loeschen();\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "protected String subtitle () { return null; }", "@Override\r\n public void salir() {\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "void speak() {\n\t\tSystem.out.println(\"저의 이름은 \" + name + \"이고 \" + \"혈액형은 \" + booldType +\"형 입니다\");\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "public void smell() {\n\t\t\n\t}", "public void sendeNeuerSpieler(String spieler);", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "public void ende() {\r\n\t\tSystem.out.println(dasSpiel.getSieger().getName() + \" hat gewonnen\"); \r\n\t}", "@Override\n\tprotected String wavRegleJeu() {\n\t\treturn null;\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n\tpublic void englishMedium() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void parler() {\n\t System.out.println(this.formulerMonNom()); // appel d'une méthode de l'objet\n\t System.out.println(\"Je suis un animal et j'ai \" + this.nombreDePatte + \" pattes\");\n\t }", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "public void sinyal();", "@Override\n\tpublic void tipoMovimento() {\n\t\tSystem.out.println(super.getNome() + \" anda com 4 patas.\");\n\t}", "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "@Override\n\tpublic String parler() {\n\t\treturn \"Je suis un Orc\";\n\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "@Override\n\tpublic String sing() {\n\t\treturn this.sound;\n\t}", "@Override\r\n\tpublic void getTitle() {\n\t\t\r\n\t}", "@Override\r\n public String toString() {\r\n// ritorna una stringa\r\n return \"pollo\";\r\n }", "@Override\n\tpublic void walk() {\n\t\tSystem.out.println(\"»êÃ¥ÀÌ Â¯ÀÌÁö! for sniff~~\");\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di cuocere il pollo\";\r\n }", "@Override\n\tpublic void salir() {\n\t\t\n\t}", "@Override\r\n\tpublic void sound() {\r\n\t\tsuper.sound();\r\n\t\tSystem.out.println(\"SportsCar sound: Vutututututu\");\r\n\t}", "@Override\r\n\tpublic void hacerSonido() {\n\t\tSystem.out.print(\"miau,miau -- o depende\");\r\n\t\t\r\n\t}", "@Override\n\tprotected String getSalirForward() {\n\t\treturn null;\n\t}", "@Override\n public String speak()\n {\n return \"Neigh\";\n }", "public void perder() {\n // TODO implement here\n }", "@Override\n public void popuniPodatke() {\n }", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "public void validerSaisie();", "public abstract Koordinate schuss();", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\r\n\tpublic void science() {\n\t\tSystem.out.println(\"Science class is on every tuesday afternoon\");\r\n\t\t\r\n\t}", "@Override\n public String getSubtitle() {\n return null;\n }", "@Override\n\tpublic void getSport() {\n\t\tsp.mySport();\n\t}", "public void schnattern() {\n\t\tSystem.out.println(\"Schnatter\");\n\t}", "@Override\r\n\tpublic boolean isTraditional() {\n\t\treturn false;\r\n\t}", "private void ss(){\n }", "public void think() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void print() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\tpublic String sonido() {\n\t\treturn \"Miauu\";\r\n\t}", "public void test2(){\r\n\t\tZug zug1 = st.zugErstellen(2, 2, \"Zug 1\");\r\n\t\tst.fahren();\r\n\t}", "@Override\r\n\tpublic void typeform() {\n\t\tSystem.out.println(\"Type Carre\");\r\n\t}" ]
[ "0.6650016", "0.6348518", "0.63173634", "0.62198734", "0.6139625", "0.5978259", "0.59622043", "0.5956143", "0.5956143", "0.5956143", "0.595244", "0.5951498", "0.5936672", "0.5935243", "0.59302825", "0.5903024", "0.5865445", "0.5862473", "0.58508605", "0.5847225", "0.58391243", "0.58387154", "0.58363074", "0.5824676", "0.5818799", "0.5800509", "0.57714975", "0.5767542", "0.5767506", "0.57658726", "0.5749951", "0.57396513", "0.573081", "0.5729066", "0.57196873", "0.57178086", "0.5706257", "0.57043993", "0.5692399", "0.56825525", "0.5678387", "0.5675903", "0.56727463", "0.5649686", "0.5641976", "0.5618457", "0.56181675", "0.56178886", "0.5608249", "0.560148", "0.55704415", "0.5564571", "0.5559604", "0.55509", "0.5546267", "0.5541728", "0.55379194", "0.55356306", "0.5533392", "0.55216014", "0.5513443", "0.5512839", "0.54916596", "0.5488692", "0.5486554", "0.5486554", "0.5486554", "0.5485299", "0.54827094", "0.5463658", "0.545636", "0.5455528", "0.5454095", "0.5450752", "0.5431279", "0.5425086", "0.5422017", "0.5413751", "0.5408311", "0.5407644", "0.54053926", "0.5403828", "0.5403764", "0.54028", "0.5386806", "0.5381341", "0.5367477", "0.53671014", "0.53655165", "0.5362154", "0.53554946", "0.5352995", "0.53498", "0.5349466", "0.53441644", "0.53412926", "0.5339444", "0.5335224", "0.5334982", "0.5334567", "0.53312767" ]
0.0
-1
Liefert die Liste der Scripts.
private TablePart getScripts() throws RemoteException { if (this.scripts != null) return this.scripts; this.scripts = new TablePart(this.getService().getScripts(),null); this.scripts.setMulti(false); this.scripts.setRememberColWidths(true); this.scripts.setRememberOrder(true); this.scripts.setSummary(false); this.scripts.addColumn(i18n.tr("Script-Datei"),"absolutePath"); this.scripts.setFormatter(new TableFormatter() { public void format(TableItem item) { if (item == null) return; File f = (File) item.getData(); if (!f.canRead() || !f.isFile() || !f.exists()) { item.setForeground(Color.ERROR.getSWTColor()); item.setText(f.getAbsolutePath() + " (" + i18n.tr("Datei nicht lesbar") + ")"); } else item.setForeground(Color.FOREGROUND.getSWTColor()); } }); ContextMenu menu = new ContextMenu(); menu.addItem(new ItemAdd()); menu.addItem(new ItemRemove()); this.scripts.setContextMenu(menu); return this.scripts; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<Script> getScripts()\n\t{\n\t\treturn scripts.values();\n\t}", "private static File[] listScripts(File baseDir) {\n\n return baseDir.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n boolean hasJsonFileExtension = \"json\".equals(Files.getFileExtension(name));\n if (!(hasJsonFileExtension || new File(dir, name).isDirectory())) {\n System.err.println(\"Ignoring script \" + name + \". File name must be have .json extension.\");\n return false;\n }\n Integer index = getIndex(name);\n if (index == null) {\n System.err.println(\"Ignoring script \" + name + \". File name must start with an index number followed by an underscore and a description.\");\n return false;\n }\n return true;\n }\n });\n }", "public List<ScriptActivityScriptBlock> scripts() {\n return this.innerTypeProperties() == null ? null : this.innerTypeProperties().scripts();\n }", "public List<Script> getWatchedScripts() {\n try {\n return new ArrayList<Script>(watchedScripts);\n } finally {\n }\n }", "private TemplateModel getScriptList(String themeDir) {\n BeansWrapper wrapper = new DefaultObjectWrapper();\n try {\n return wrapper.wrap(new ScriptList(themeDir)); \n } catch (TemplateModelException e) {\n log.error(\"Error creating script TemplateModel\");\n return null;\n } \n }", "public void updateScripts() {\n\t\tFile file = new File(\"updatedPrescriptions.txt\");\n\t\tBufferedWriter bw;\n\t\ttry {\n\t\t\tbw = new BufferedWriter(new FileWriter(file));\n\t\t\tfor (int i = 0; i < scripts.size(); i++) {\n\n\t\t\t\tbw.write(scripts.get(i).toString());\n\n\t\t\t\tbw.newLine();\n\t\t\t}\n\t\t\tbw.close();\n\t\t} catch (FileNotFoundException e1) {\n\t\t\te1.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public List<Script> addScripts(final List<ScriptDetails> scriptDetails)\n\t{\n\t\tfinal List<Script> addedScripts = new ArrayList<>();\n\t\t\n\t\tfor (final ScriptDetails script : scriptDetails)\n\t\t{\n\t\t\taddedScripts.add(addScript(script));\t\t\t\n\t\t}\n\t\t\n\t\treturn addedScripts;\n\t}", "public List<Script> populateScriptsFromFileList(final List<File> files)\n\t{\n\t\tfinal List<Script> addedScripts = new ArrayList<>();\n\t\t\n\t\tfor (final File scriptFile : files)\n\t\t{\n\t\t\tScript script = scripts.get(Script.getScriptIdFromFile(scriptFile));\n\t\t\t\n\t\t\tif (script == null)\t\t\t\t\t\n\t\t\t{\t\t\t\n\t\t\t\tscript = new Script();\n\t\t\t\t\n\t\t\t\tcreateFileBasedScript(script, scriptFile, new ScriptDetails(true, false, scriptFile.getName())); \t\t\t\n\t\t\t\t\n\t\t\t\taddedScripts.add(script);\n\t\t\t\taddScript(script);\n\t\t\t}\t\t\t\t\n\t\t}\n\t\t\n\t\treturn addedScripts;\n\t}", "public Map<String, Script> getScriptsMap()\n\t{\n\t\treturn scripts;\n\t}", "public List<Script> populateScripts(final List<ScriptDetails> scriptDetails)\n\t{\n\t\tfinal List<Script> addedScripts = new ArrayList<>();\n\t\t\n\t\tfor (final ScriptDetails details : scriptDetails)\n\t\t{\n\t\t\tfinal File scriptFile = new File(details.getFile());\n\t\t\t\n\t\t\tif (!scriptFile.exists())\t\t\t\t\t\n\t\t\t{\n\t\t\t\tlogger.warn(\"Script {} does not exist!\", details.getFile());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlogger.info(\"Adding script {}\", details.getFile());\n\t\t\t\t\t\t\t\n\t\t\t\tScript script = scripts.get(Script.getScriptIdFromFile(scriptFile));\n\t\t\t\t\n\t\t\t\tif (script == null)\t\t\t\t\t\n\t\t\t\t{\n\t\t\t\t\tscript = new Script();\n\t\t\t\t\t\n\t\t\t\t\tcreateFileBasedScript(script, scriptFile, details); \t\t\t\n\t\t\t\t\t\n\t\t\t\t\taddedScripts.add(script);\n\t\t\t\t\taddScript(script);\n\t\t\t\t}\t\n\t\t\t}\n\t\t}\t\t\t\n\t\t\n\t\treturn addedScripts;\n\t}", "boolean supportsScripts();", "List<String> generateDeleteAllScript();", "protected void onLoad() {\n \t\tsuper.onLoad();\n \t\teval(scripts);\n \t}", "private void loadLists() {\n }", "public ExecScriptCallback()\n {\n\tchooserTitle = DragonUI.textSource.getI18NText(TextKeys.SPTFILE,\n\t\t\t\t\t\t \"SCRIPT FILE TO RUN\");\n\t}", "public File[] getScriptFiles() {\n\t\treturn new File[] { scriptFile };\n\t}", "public static void reloadClientScripts() {\n clientizenScripts.clear();\n for (File file : CoreUtilities.listDScriptFiles(clientizenFolder)) {\n String name = CoreUtilities.toLowerCase(file.getName());\n if (clientizenScripts.containsKey(name)) {\n Debug.echoError(\"Multiple script files named '\" + name + \"' found in client-scripts folder!\");\n continue;\n }\n try (FileInputStream stream = new FileInputStream(file)) {\n // TODO: clear comments server-side\n clientizenScripts.put(name, ScriptHelper.convertStreamToString(stream));\n if (CoreConfiguration.debugLoadingInfo) {\n Debug.log(\"Loaded client script: \" + name);\n }\n }\n catch (Exception e) {\n Debug.echoError(\"Failed to load client script file '\" + name + \"', see below stack trace:\");\n Debug.echoError(e);\n }\n }\n scriptsPacket = new SetScriptsPacketOut(clientizenScripts);\n }", "public void setScriptLocations(String scriptLocations) {\r\n this.scriptLocations = scriptLocations;\r\n }", "@Override\n public List<String[]> getScriptAssociations()\n {\n return null;\n }", "public String getScript() {\n return script;\n }", "public String getScript() { \n\t\treturn null;\n\t}", "public static ArrayList<ScriptObject> loadScript(int act, int scene) {\n String path = PropertiesHelper.getString(\"apps.script.base.path\");\n String fileName = String.format(\"scene-%s-%s\", act, scene);\n return scriptExtractor(Objects.requireNonNull(FileReader.readFile(path, fileName)));\n }", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.generic_layout);\n\t\t\n\t\t//inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);\n\t\t\n\t\tactivityTitle = (TextView) findViewById(R.id.app_title);\n\t\tscriptList = (ListView) findViewById(R.id.l_view);\n\t\tscriptAdapter = new ScriptAdapter(this);\n\t\tscriptList.setAdapter(scriptAdapter);\n\t\tactivityTitle.setText(\"Scripts\");\n\t\t\n\t\tscriptList.setOnItemClickListener(new OnItemClickListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\tconstructList();\n\t}", "public void listar() {\n\t\t\n\t}", "private static void listBundle() {\r\n\t\tSystem.out.println(\"listBundle\");\r\n\r\n\t\tif (bundles.isEmpty()){\r\n\t\t\tSystem.out.println(\"There are no bundles\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tSet<Integer> bundleIds = bundles.keySet();\r\n\t\tIterator<Integer> itr = bundleIds.iterator();\r\n\r\n\t\twhile (itr.hasNext()) {\r\n\t\t\tInteger bundleId = (Integer) itr.next();\r\n\t\t\tBundle b = bundles.get(bundleId);\r\n\r\n\t\t\tprintBundle(b);\r\n\t\t}\r\n\t}", "@Override\n\tprotected ArrayList<String> getCommandsToExecute() {\n\t\treturn null;\n\t}", "public ListIDE() {\n initComponents();\n loadAsset();\n directory = new Directory();\n }", "public void setDefaultScripts(String scriptNames) {\n \t\tdefaultScripts = asList(scriptNames.split(\",\"));\n \t}", "public void loadAllLists(){\n }", "protected void executeScripts(List<Script> scripts) {\n for (Script script : scripts) {\n try {\n // We register the script execution, but we indicate it to be unsuccessful. If anything goes wrong or if the update is\n // interrupted before being completed, this will be the final state and the DbMaintainer will do a from-scratch update the next time\n ExecutedScript executedScript = new ExecutedScript(script, new Date(), false);\n versionSource.registerExecutedScript(executedScript);\n\n logger.info(\"Executing script \" + script.getFileName());\n scriptRunner.execute(script.getScriptContentHandle());\n // We now register the previously registered script execution as being successful\n executedScript.setSuccessful(true);\n versionSource.updateExecutedScript(executedScript);\n\n } catch (UnitilsException e) {\n logger.error(\"Error while executing script \" + script.getFileName(), e);\n throw e;\n }\n }\n }", "public String[] getDatabaseCleanScripts() throws AdaFrameworkException {\r\n\t\tString[] returnedValue = null;\r\n\t\tList<String> scriptsList = new ArrayList<String>();\r\n\t\t\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tString[] existingTables = getTables();\r\n\t\t\tif (existingTables != null && existingTables.length > 0) {\r\n\t\t\t\tif (processedTables != null && processedTables.size() > 0) {\r\n\t\t\t\t\tfor(String databaseTable : existingTables) {\r\n\t\t\t\t\t\tboolean tableFound = false;\r\n\t\t\t\t\t\tfor (String modelTable : processedTables) {\r\n\t\t\t\t\t\t\tif (databaseTable.trim().toLowerCase().equals(modelTable.trim().toLowerCase())) {\r\n\t\t\t\t\t\t\t\ttableFound = true;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (!tableFound) {\r\n\t\t\t\t\t\t\tif (!databaseTable.contains(DataUtils.DATABASE_LINKED_TABLE_NAME_PREFIX)) {\r\n\t\t\t\t\t\t\t\tscriptsList.add(String.format(DataUtils.DATABASE_DROP_TABLE_PATTERN, databaseTable));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (scriptsList.size() > 0) {\r\n\t\t\t\treturnedValue = scriptsList.toArray(new String[scriptsList.size()]);\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tExceptionsHelper.manageException(e);\r\n\t\t} finally {\r\n\t\t\tscriptsList.clear();\r\n\t\t\tscriptsList = null;\r\n\t\t}\r\n\t\t\r\n\t\treturn returnedValue;\r\n\t}", "@Override\n public void onCreate(SQLiteDatabase db) {\n for (int i = 0; i<onCreateScripts.length; i++)\n db.execSQL(onCreateScripts[i]);\n }", "private void getScript() {\n\t\tif ((scriptFile != null) && scriptFile.exists()) {\n\t\t\tlong lm = scriptFile.lastModified();\n\t\t\tif (lm > lastModified) {\n\t\t\t\tscript = new PixelScript(scriptFile);\n\t\t\t\tlastModified = lm;\n\t\t\t}\n\t\t}\n\t\telse script = null;\n\t}", "public static List<String> getAllScriptLinks(final String page)\n {\n return getAllMatches(page, SCRIPT_PATTERN, 1);\n }", "public void addDefaultScript(String script) {\n \t\tdefaultScripts.add(script);\n \t}", "public List<Manuscript> showAllMyManuscripts() {\t\t\r\n\t\treturn myManuscripts;\r\n\t}", "Script createScript();", "java.util.List<java.lang.String>\n getCommandList();", "private void initScriptObjects() {\n BeanShell bsh = BeanShell.get();\n for (Player p : game.getAllPlayers()) {\n String colorName = ColorUtil.toString(p.getColor());\n bsh.set(\"p_\" + colorName, p);\n }\n\n bsh.set(\"game\", game);\n bsh.set(\"map\", map);\n }", "protected List<Object> getModules() {\n return new ArrayList<>();\n }", "@Override\n protected String getDefaultScriptsDir() {\n return null;\n }", "public void addScripts(final String directory)\n\t{\n\t\tfinal List<File> files = new ArrayList<File>(); \n\t\t\n\t\tif (directory != null && !directory.isEmpty())\n\t\t{\n\t\t\tfiles.addAll(FileUtils.getFileNamesForDirectory(directory, SCRIPT_EXTENSION));\t\t\t\t\n\t\t}\n\t\telse\n\t\t{\n\t\t\tlogger.error(\"Given directory is empty\");\n\t\t}\t\n\t\t\n\t\tpopulateScriptsFromFileList(files);\n\t}", "@Override\r\n\tpublic void beforeExecuteScript() throws Exception\r\n\t{\n\t}", "private ArrayList<String> gettemplates(){\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\ttry {\n\t\t String[] cmd = {\n\t\t \t\t\"/bin/sh\",\n\t\t \t\t\"-c\",\n\t\t \t\t\"ls -p | grep -v / | grep -v 'pom.xml' \"\n\t\t \t\t};\n\n\t\t Process p = Runtime.getRuntime().exec(cmd); //Runtime r = Runtime.getRuntime(); Process p = r.exec(cmd);\n\t\t BufferedReader in =\n\t\t new BufferedReader(new InputStreamReader(p.getInputStream()));\n\t\t String inputLine;\n\t\t while ((inputLine = in.readLine()) != null) {\n\t\t result.add(inputLine);\n\t\t }\n\t\t in.close();\n\n\t\t} catch (IOException e) {\n\t\t System.out.println(e);\n\t\t}\n\t\t\n\t\treturn result;\n\t\t}", "public void missionlist() {\r\n\t\tfor (Himmelskoerper hTemp : ladung.keySet()) {\r\n\t\t\tSystem.out.println(\" \" + hTemp.getName());\r\n\t\t}\r\n\t}", "public String getScriptAsString() {\n return this.script;\n }", "@Override\r\n public void syncExecute(String script)\r\n {\n\r\n }", "@Test\n public void shouldListBundlesInSourceCode() throws Exception {\n initializeOSGiProjectWithBundlesInSourceCode();\n resetOutput();\n getShell().execute(\"osgi listBundles\");\n Assert.assertTrue(getOutput().startsWith(\"module1\" + TestUtils.getNewLine() + \"module2\" + TestUtils.getNewLine() + \"module3\"));\n }", "protected SiteWhereScriptVersionList getVersionsForScript(SiteWhereScript script) {\n\tString tenantId = script.getMetadata().getLabels().get(ResourceLabels.LABEL_SITEWHERE_TENANT);\n\tString functionalArea = script.getMetadata().getLabels().get(ResourceLabels.LABEL_SITEWHERE_FUNCTIONAL_AREA);\n\tString scriptId = script.getSpec().getScriptId();\n\tString namespace = getMicroservice().getInstanceSettings().getKubernetesNamespace();\n\tMap<String, String> labels = new HashMap<>();\n\tlabels.put(ResourceLabels.LABEL_SCRIPTING_SCRIPT_ID, scriptId);\n\tlabels.put(ResourceLabels.LABEL_SITEWHERE_FUNCTIONAL_AREA, functionalArea);\n\tlabels.put(ResourceLabels.LABEL_SITEWHERE_TENANT, tenantId);\n\treturn getMicroservice().getSiteWhereKubernetesClient().getScriptsVersions().inNamespace(namespace)\n\t\t.withLabels(labels).list();\n }", "public void testScriptTags_AllLocalContent() throws Exception {\n final String content\n = \"<html>\"\n + \"<head><title>foo</title>\"\n + \"<script>One</script>\" // no language specifed - assume javascript\n + \"<script language='javascript'>Two</script>\"\n + \"<script type='text/javascript'>Three</script>\"\n + \"<script type='text/perl'>Four</script>\" // type is unsupported language\n + \"</head>\"\n + \"<body>\"\n + \"<p>hello world</p>\"\n + \"</body></html>\";\n final List collectedScripts = new ArrayList();\n loadPageAndCollectScripts(content, collectedScripts);\n\n // The last expected is the dummy stub that is needed to initialize the javascript engine\n final List expectedScripts = Arrays.asList( new String[]{\n \"One\", \"Two\", \"Three\", \"\" } );\n\n assertEquals( expectedScripts, collectedScripts );\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getScript() {\n return instance.getScript();\n }", "public Functions() {\r\n Functions = new ArrayList<Function>();\r\n }", "public List<Executable> listExecutables() throws IOException,\n\t\t\tClassNotFoundException {\n\t\treturn list(Executable.class);\n\t}", "public void test() {\n\t\tFile file = new File(\"/home/students/\");\r\n\t\t\r\n\t\tString[] list = file.list(new FilenameFilter() {\r\n\t\t\tpublic boolean accept(File dir, String name) {\r\n\t\t\t\tif (name.toLowerCase().endsWith(\".py\")) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfor (String f : list) {\r\n\t\t\tSystem.out.println(f);\r\n\t\t}\r\n\t}", "private ArrayList<String> getJARList() {\n String[] jars = getJARNames();\n return new ArrayList<>(Arrays.asList(jars));\n }", "public Script getScriptObjectFromName(final String scriptFile)\n\t{\n\t\treturn scripts.get(scriptFile);\n\t}", "private void initList() {\r\n\t\tlist = new JList<>();\r\n\t\tFile rootFile = new File(System.getProperty(\"user.dir\"));\r\n\t\tloadFilesInFolder(rootFile);\r\n\t\tlist.addListSelectionListener(new FileListSelectionListener());\r\n\t}", "void scriptStarted(Script s);", "protected void executePostProcessingScripts(List<Script> postProcessingScripts) {\n for (Script script : postProcessingScripts) {\n try {\n logger.info(\"Executing post processing script \" + script.getFileName());\n scriptRunner.execute(script.getScriptContentHandle());\n\n } catch (UnitilsException e) {\n logger.error(\"Error while executing post processing script \" + script.getFileName(), e);\n throw e;\n }\n }\n }", "private void loadLists() {\n setUpFooter();\n if (numberOfLists > 0) {\n this.updateComponent(footer);\n for (Object l : agenda.getConnector().getItems(agenda.getUsername(), \"list\")) {\n Items list = (Items) l;\n comboBox.addItem(list.getName());\n JPanel panel = new JPanel();\n panel.setName(list.getName());\n setup.put(list.getName(), false);\n window.add(list.getName(), panel);\n currentList = list;\n }\n setUpHeader();\n for (Component c : window.getComponents()) {\n if (!setup.get(c.getName())){\n setUpList((JPanel) c);\n setup.replace(c.getName(),true);\n break;\n }\n }\n comboBox.setSelectedIndex(numberOfLists-1);\n } else{\n setUpHeader();\n }\n }", "void addBuiltInLists() {\n BackgroundTask\n .wrap(JournalAbbreviationLoader::getBuiltInAbbreviations)\n .onRunning(() -> isLoadingBuiltIn.setValue(true))\n .onSuccess(result -> {\n isLoadingBuiltIn.setValue(false);\n addList(Localization.lang(\"JabRef built in list\"), result);\n })\n .onFailure(dialogService::showErrorDialogAndWait)\n .executeWith(taskExecutor);\n\n BackgroundTask\n .wrap(() -> {\n if (abbreviationsPreferences.useIEEEAbbreviations()) {\n return JournalAbbreviationLoader.getOfficialIEEEAbbreviations();\n } else {\n return JournalAbbreviationLoader.getStandardIEEEAbbreviations();\n }\n })\n .onRunning(() -> isLoadingIeee.setValue(true))\n .onSuccess(result -> {\n isLoadingIeee.setValue(false);\n addList(Localization.lang(\"IEEE built in list\"), result);\n })\n .onFailure(dialogService::showErrorDialogAndWait)\n .executeWith(taskExecutor);\n }", "boolean hasScript();", "@Override\n\tprotected NSArray<String> additionalJavascriptFiles() {\n\t\treturn new NSMutableArray<String>( new String[] { \"modalbox.js\" } );\n\t}", "public ScriptHistory getScriptHistory() {\n return scriptHistory;\n }", "public List getList () {\nif (list == null) {//GEN-END:|13-getter|0|13-preInit\n // write pre-init user code here\nlist = new List (\"list\", Choice.IMPLICIT);//GEN-BEGIN:|13-getter|1|13-postInit\nlist.append (\"S\\u00F6k text\", null);\nlist.append (\"Tidigare s\\u00F6kningar\", null);\nlist.addCommand (getExitCommand ());\nlist.setCommandListener (this);\nlist.setSelectedFlags (new boolean[] { false, false });//GEN-END:|13-getter|1|13-postInit\n // write post-init user code here\n}//GEN-BEGIN:|13-getter|2|\nreturn list;\n}", "public static void setupModules(){\n\t\tStart.setupModules();\n\t\t//add\n\t\t//e.g.: special custom scripts, workers, etc.\n\t}", "public void initComponents() {\n Iterator<Component> itComponent = this.components.iterator();\n while (itComponent.hasNext()) {\n itComponent.next().init(this);\n }\n\n Iterator<Script> itScript = this.scripts.iterator();\n while (itScript.hasNext()) {\n itScript.next().init(this);\n }\n System.out.println(this.owner.id + \" : \" + this.components.toString() + \" \" + this.scripts.toString());\n\n }", "public static File getScriptDirectory() {\n \t\treturn new File(getScriptlerHomeDirectory(), \"scripts\");\n \t}", "public void getList() {\n\n\t\tFile opFile = new File(\"/home/bridgeit/Desktop/newfile.txt\");\n\t\ttry {\n\t\t\topFile.createNewFile();\n\t\t\tFileWriter fwriter = new FileWriter(opFile);\n\n\t\t\tfor (int i = 0; i < slist.size(); i++) {\n\n\t\t\t\tfwriter.append(slist.returnItem(i) + \" \");\n\n\t\t\t}\n\t\t\tfwriter.close();\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "List<String> getCommands();", "public ScriptActivity withScripts(List<ScriptActivityScriptBlock> scripts) {\n if (this.innerTypeProperties() == null) {\n this.innerTypeProperties = new ScriptActivityTypeProperties();\n }\n this.innerTypeProperties().withScripts(scripts);\n return this;\n }", "@Override\n\tpublic SortedSet<ProjectModule> getSelectedModules(Collection<String> templateNameList) throws UtilityException \n\t{\n\t\tSortedSet<ProjectModule> out = super.getSelectedModules(templateNameList);\n\t\tif (out.isEmpty())\n\t\t\tout = getSelectedModules(Arrays.asList(TEMPLATE_BASE));\n\t\treturn out;\n\t}", "public void addScript(String scriptFilename) {\n scriptHistory = new ScriptHistory(scriptFilename);\n }", "@java.lang.Override\n public com.google.protobuf.ByteString getScript() {\n return script_;\n }", "public void loadList () {\r\n ArrayList<String> list = fileManager.loadWordList();\r\n if (list != null) {\r\n for (String s : list) {\r\n addWord(s);\r\n }\r\n }\r\n }", "public String getScriptName() {\n\t\treturn scriptName;\n\t}", "private List<String> loadLanguages() {\n\t\tFile directory = new File(\"./src/resources/languages\");\t// load current directory\n\t\t\n\t\tFilenameFilter textFilter = new FilenameFilter() {\n\t\t\tpublic boolean accept(File dir, String name) {\n\t\t\t\tif(!name.startsWith(\"Syntax\") && !name.startsWith(\"LanguageCodes\")) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t};\n\t\t\n\t\tResourceFilter filter = new ResourceFilter(directory, textFilter);\n\t\t\n\t\tList<String> languages = (List<String>) filter.getFilteredList();\n\t\t\n\t\tlanguages = languages.stream()\n\t\t\t\t\t\t\t .map(m -> m.replace(UNWANTED_EXTENSION, \"\"))\n\t\t\t\t \t\t\t .collect(Collectors.toList());\n\t\t\n\t\treturn languages;\n\t}", "@Override\n public void onRepositoryInitialized(String dataSourceName,\n String repositoryName,\n ServiceBindingType sbt,\n List<Field> fields,\n List<Property> properties) throws Exception {\n\n if (properties == null || properties.isEmpty()) {\n logger.warn(\"No properties were provided to the RunSqlScript init handler.\");\n logger.warn(CANNOT_PERFORM_TASKS_MESSAGE);\n return;\n }\n\n // First, run a sequence of SQL scripts, where those scripts may\n // optionally be packaged in a resources directory within the\n // current code's packaged JAR file.\n String scriptContents;\n List<String> scriptNames = getSqlScriptNames(properties);\n if (scriptNames == null || scriptNames.isEmpty()) {\n logger.warn(\"Could not obtain the name of any SQL script to run.\");\n logger.warn(CANNOT_PERFORM_TASKS_MESSAGE);\n return;\n }\n for (String scriptName : scriptNames) {\n String scriptPath = getSqlScriptPath(dataSourceName, repositoryName, scriptName);\n if (Tools.isBlank(scriptPath)) {\n logger.warn(\"Could not get path to SQL script.\");\n logger.warn(CANNOT_PERFORM_TASKS_MESSAGE);\n continue;\n }\n scriptContents = getSqlScriptContents(scriptPath);\n if (Tools.isBlank(scriptContents)) {\n logger.warn(\"Could not get contents of SQL script from resource \" + scriptPath);\n logger.warn(CANNOT_PERFORM_TASKS_MESSAGE);\n continue;\n }\n runScript(dataSourceName, repositoryName, scriptContents, \"resource path \" + scriptPath);\n }\n\n // Next, run a second sequence of SQL scripts, where those scripts may be\n // stored on disk, in a resources directory within the server directory.\n List<File> scriptFiles = getSqlScriptFiles(dataSourceName, repositoryName);\n // Run these scripts in a sequence based on the ascending order of their filenames.\n // FIXME: consider adding functionality to specify the locale for filename\n // sorting here. (The current sort order is based on the system's default locale.)\n Collections.sort(scriptFiles, new Comparator<File>() {\n @Override\n public int compare(File f1, File f2) {\n return Collator.getInstance().compare(f1.getName(), f2.getName());\n }\n });\n\n for (File scriptFile : scriptFiles) {\n logger.trace(\"Reading script file \" + scriptFile.getCanonicalPath());\n scriptContents = FileTools.readFile(scriptFile);\n if (Tools.isBlank(scriptContents)) {\n logger.warn(\"Could not get contents of SQL script from file \" + scriptFile.getCanonicalPath());\n logger.warn(CANNOT_PERFORM_TASKS_MESSAGE);\n continue;\n }\n runScript(dataSourceName, repositoryName, scriptContents, \"file \" + scriptFile.getName());\n }\n\n }", "public void loadList(String name){\n }", "public ArrayList<String> listarProgramas();", "public static List<String> getAllModules()\n {\n List<String> list = new ArrayList<String>();\n for (Map.Entry<String, String> listItem: mapper.entrySet()) {\n list.add(listItem.getValue());\n }\n return list;\n }", "public StaticScript() {\n\n }", "protected void listUsedFiles(List<String> list){\r\n // By default do nothing\r\n }", "public List<TaskGenerateTrigger> loadTaskTriggers() {\n\t\treturn null;\r\n\t}", "public ScriptManagerUI(UIController uiController) {\n\t\tthis.uiController = uiController;\n\t\tsetName(MacroBeanShellExtension.NAME);\n\t\tthis.listModel = new DefaulListModel();\n\t\tthis.controller = new MacroBeanShellController(uiController);\n\t\tthis.setLocationRelativeTo(null);\n\t\tinitComponents();\n\t\tdisplayScripts();\n\t}", "@Override\n public List listar() {\n return instalaciones.getAll();\n }", "public static List<String> getPhpList() {\n return phpList;\n }", "public ListCommand() {\n super();\n }", "public void loadPluginsStartup();", "@Override\n public JSONObject listOfTools(long renterId) {\n listOfTools = toolDb.getToolsByRenterId(renterId);\n System.out.println(listOfTools);\n return null;\n }", "public ListSqlHelper() {\n\t\t// for bran creation\n\t}", "private List<String> copySubstitutes(String postScriptName) {\n/* 195 */ return new ArrayList<String>(this.substitutes.get(postScriptName));\n/* */ }", "public StaticScript script(String script) {\n this.script = script;\n return this;\n }", "private ScriptInstanceManager() {\n\t\tsuper();\n\t}", "public void init(Component... components) {\n for (Component component : components) {\n if (component instanceof Script) {\n this.scripts.add((Script) component);\n } else {\n this.components.add(component);\n }\n }\n this.components.sort(new Component.UpdatePriorityComparator());\n }", "@Override\n public String execute(MyList taskList, DukeUserInterface ui, DukeStorage storage) {\n return ui.getList(taskList);\n }", "private void loadLists() {\n loadSavedCourses();\n loadSavedSchedules();\n }", "public interface ScriptBinding\n{\n /**\n * Returns the list of variables this ScriptBinding provides, mapped by variable name.\n * @return The list of variables, or null if no variable is provided.\n */\n public Map<String, Object> getVariables();\n \n /**\n * Returns the list of variables descriptions, mapped by variable name.\n * This list does not have to match the getVariables return value, but the description is used to inform the user of the existence and usability of each variable.\n * @return The list of variables descriptions, or null if no description is provided.\n */\n public Map<String, I18nizableText> getVariablesDescriptions();\n\n /**\n * Allows clean up of variables created during the getVariables call.\n * @param variables The map of variables.\n */\n public void cleanVariables(Map<String, Object> variables);\n \n /**\n * Returns the JavaScript functions to inject at the start of the script, in the form of a single String prepended to the script.\n * @return The functions text, or null if no function is provided.\n */\n public String getFunctions();\n \n /**\n * Returns the list of functions descriptions, mapped by function name.\n * This list does not have to match the functions returned by getFunctions, but the description is used to inform the user of the existence and usability of each function.\n * @return The list of functions descriptions, or null if no description is provided.\n */\n public Map<String, I18nizableText> getFunctionsDescriptions();\n \n /**\n * Process the script result if there are any specificities for this console data.\n * @param result The result\n * @return The result processed, or null if this console data does not have any processing to do. \n * @throws ScriptException If a processing error occurs.\n */\n public Object processScriptResult(Object result) throws ScriptException;\n}", "default List<String> tabComplete(CommandSender sender, String[] args) {\n return Collections.emptyList();\n }", "public Shell(ArrayList<Language> listLanguages) {\r\n this.listLanguages = listLanguages;\r\n }" ]
[ "0.67825073", "0.64109695", "0.64054835", "0.63114303", "0.6291961", "0.6192316", "0.60557604", "0.60324574", "0.595938", "0.5954726", "0.58094853", "0.57103384", "0.56614953", "0.56582683", "0.5642252", "0.5641984", "0.5626359", "0.5625459", "0.560591", "0.5515092", "0.5514606", "0.5456294", "0.5411636", "0.5387573", "0.53741986", "0.5360799", "0.5347263", "0.53402966", "0.5311097", "0.5282251", "0.52565646", "0.5230769", "0.52289283", "0.5216504", "0.520938", "0.51785815", "0.51316476", "0.5129253", "0.5121626", "0.5119309", "0.51169723", "0.5098289", "0.50938535", "0.5092185", "0.5089488", "0.5089065", "0.50857794", "0.5082687", "0.5080546", "0.5073334", "0.5071721", "0.50688785", "0.5064496", "0.50582117", "0.5053705", "0.5049236", "0.50457156", "0.50448537", "0.5034011", "0.5018204", "0.50179785", "0.50105155", "0.50024456", "0.4989223", "0.49645397", "0.4962038", "0.4952923", "0.4931572", "0.4929548", "0.4929055", "0.4923116", "0.49213502", "0.49147364", "0.49119297", "0.49102637", "0.4894209", "0.48939893", "0.48921826", "0.48871294", "0.48798642", "0.4879606", "0.48746353", "0.4868443", "0.48616546", "0.48520014", "0.48484543", "0.48468807", "0.48452106", "0.48375115", "0.4828365", "0.48226377", "0.4821547", "0.48210135", "0.48145023", "0.48117408", "0.48053294", "0.48042086", "0.48017755", "0.47985083", "0.47965476" ]
0.63073057
4
Class DAO Created by yslabko on 07/02/2017.
public interface DAO<T> { boolean save(T t); T get(Serializable id); boolean update(T t); boolean delete(Serializable id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OnibusDAO() {}", "public DescritoresDAO() {\n\t\t\n\t}", "private DAOOfferta() {\r\n\t\ttry {\r\n\t\t\tClass.forName(driverName);\r\n\r\n\t\t\tconn = getConnection(usr, pass);\r\n\r\n\t\t\tps = conn.prepareStatement(createQuery);\r\n\r\n\t\t\tps.executeUpdate();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (ConnectionException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\t/*closeResource()*/;\r\n\t\t}\r\n\t}", "public empresaDAO(){\r\n \r\n }", "public ProtocoloDAO() {\n }", "public AdminDAO()\n {\n con = DataBase.getConnection();//crear una conexión al crear un objeto AdminDAO\n }", "public VRpDyHlrforbeDAOImpl() {\r\n super();\r\n }", "public PacienteDAO(){ \n }", "public interface DAOjdbc\n{\n Boolean admin_log(String u,String p) throws SQLException, ClassNotFoundException;\n Boolean add_topic(String l,String n,String r) throws SQLException, ClassNotFoundException;\n List<Topic> topic(String t) throws SQLException, ClassNotFoundException;\n List<Topic> Select_topic(String i) throws SQLException, ClassNotFoundException;\n Boolean add_tou(String p) throws SQLException, ClassNotFoundException;\n Boolean add_Info(String n,String c,String t,String m) throws SQLException, ClassNotFoundException;\n Boolean add_user(String n,String p,String pw,String t,String m) throws SQLException, ClassNotFoundException;\n User select_user(String u,String p) throws SQLException, ClassNotFoundException;\n}", "public interface RightInfoDAO extends BaseDAO {\n /** The name of the DAO */\n public static final String NAME = \"RightInfoDAO\";\n\n\t/**\n\t * Insert one <tt>RightInfoDTO</tt> object to DB table <tt>azdai_right_info</tt>, return primary key\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>insert into azdai_right_info(code,title,memo,gmt_create,gmt_modify) values (?, ?, ?, ?, ?)</tt>\n\t *\n\t *\t@param rightInfo\n\t *\t@return String\n\t *\t@throws DataAccessException\n\t */\t \n public String insert(RightInfoDTO rightInfo) throws DataAccessException;\n\n\t/**\n\t * Update DB table <tt>azdai_right_info</tt>.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>update azdai_right_info set title=?, memo=?, gmt_modify='NOW' where (code = ?)</tt>\n\t *\n\t *\t@param rightInfo\n\t *\t@return int\n\t *\t@throws DataAccessException\n\t */\t \n public int update(RightInfoDTO rightInfo) throws DataAccessException;\n\n\t/**\n\t * Query DB table <tt>azdai_right_info</tt> for records.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>select * from azdai_right_info where (code = ?)</tt>\n\t *\n\t *\t@param code\n\t *\t@return RightInfoDTO\n\t *\t@throws DataAccessException\n\t */\t \n public RightInfoDTO find(String code) throws DataAccessException;\n\n\t/**\n\t * Query DB table <tt>azdai_right_info</tt> for records.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>select * from azdai_right_info order by code ASC</tt>\n\t *\n\t *\t@return List<RightInfoDTO>\n\t *\t@throws DataAccessException\n\t */\t \n public List<RightInfoDTO> findAll() throws DataAccessException;\n\n\t/**\n\t * Query DB table <tt>azdai_right_info</tt> for records.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>select * from azdai_right_info order by code ASC</tt>\n\t *\n\t *\t@param userNo\n\t *\t@return List<RightInfoDTO>\n\t *\t@throws DataAccessException\n\t */\t \n public List<RightInfoDTO> findUserRights(String userNo) throws DataAccessException;\n\n\t/**\n\t * Delete records from DB table <tt>azdai_right_info</tt>.\n\t *\n\t * <p>\n\t * The sql statement for this operation is <br>\n\t * <tt>delete from azdai_right_info where (code = ?)</tt>\n\t *\n\t *\t@param code\n\t *\t@return int\n\t *\t@throws DataAccessException\n\t */\t \n public int delete(String code) throws DataAccessException;\n\n}", "public EtiquetaDao() {\n //subiendola en modo Embedded\n this.sql2o = new Sql2o(\"jdbc:h2:~/demojdbc\", \"sa\", \"\");\n createTable();\n //cargaDemo();\n }", "public PujaDAO() {\n con = null;\n st = null;\n rs = null;\n }", "public abstract DbDAO AccessToDAO();", "public interface DotaMaxDAO {\n\n\n /**\n * 将hero实例存储到数据库。\n */\n void insertHeroes(List<Heroes> heroList);\n\n /**\n * 将Item实例存储到数据库。\n */\n void insertItems(List<Items> itemsList);\n\n\n /**\n * 加载英雄列表\n * @return\n */\n Heroes getHeroes(int id);\n\n\n\n\n\n\n void insertMatch(MatchDetails match);\n\n /**\n * 加载数据库里已有的数据\n * @param id\n * @return\n */\n MatchDetails getMatch(long id);\n\n /**\n * 加载用户的数据\n * @param account_id\n * @return\n */\n List<MatchDetails> getMatchByAccountId(long account_id);\n\n\n String getItemsNameById(String item_id);\n\n\n\n /**\n * 添加到User表\n */\n boolean insertUser(User user);\n\n /**\n * 从User表读取所有的用户\n */\n List<Long> getUser();\n\n\n\n}", "public interface DBDao {\n /**\n * 添加本地缓存\n * @param url 插入的数据的url\n * @param content 插入的数据的json串\n */\n public void insertData(String url,String content,String time);\n\n /**\n * 删除指定的本地存储数据\n * @param url 指定url\n */\n public void deleteData(String url);\n\n /**\n * 更新本地缓存数据\n * @param url 指定url\n * @param content 需要更新的内容\n * @param time 更新的时间\n */\n public void updateData(String url,String content,String time);\n\n /**\n * 查询指定url的缓存数据\n * @param url 指定的url\n * @return 返回缓存数据content\n */\n public String queryData(String url);\n /**\n * 查询指定url的缓存数据\n * @param url 指定的url\n * @return 返回缓存数据的存储时间\n */\n public String queryDataTime(String url);\n}", "public RcivControlDAOImpl(){\r\n \r\n }", "public TermDAOImpl(){\n connexion= new Connexion();\n }", "public StorePointsUsersDAO(){\n\t\t\n\t}", "public interface DAO<PK extends Serializable, T> {\n\t/**\n\t * Enumerate para saber de que forma ordenar los resultados ASC o DESC\n\t * \n\t * @author Victor Huerta\n\t * \n\t */\n\tpublic enum Ord {\n\t\tASCENDING(\"ASC\"), DESCENDING(\"DESC\"), UNSORTED(\"\");\n\t\tprivate final String ord;\n\n\t\tprivate Ord(String ord) {\n\t\t\tthis.ord = ord;\n\t\t}\n\n\t\tpublic String getOrd() {\n\t\t\treturn ord;\n\t\t}\n\t}\n\n\t/**\n\t * Metodo para recuperar la session actual\n\t * \n\t * @return la session actual\n\t */\n\tSession getCurrentSession();\n\n\t/**\n\t * Metodo para guardar un registro\n\t * \n\t * @param entity\n\t * Entidad a guardar\n\t * @return true si se guardo correctamente false en otro caso\n\t */\n\tBoolean save(T entity);\n\n\t/**\n\t * Metodo para eliminar un registro\n\t * \n\t * @param entity\n\t * Registro a borrar\n\t * @return true si se elimino correctamente false en otro caso\n\t */\n\tBoolean delete(T entity);\n\n\t/**\n\t * Metodo para recuperar todos los objetos de la tabla\n\t * \n\t * @return lista con todos los objetos de la tabla\n\t */\n\tList<T> getAll();\n\n\t/**\n\t * Metodo para recuberar un objeto por el id, este metodo esta destinado a\n\t * los objetos que ya tienen definido el tipo T\n\t * \n\t * @param id\n\t * El id el objeto que se busca\n\t * @return El objeto encontrado\n\t */\n\tT getById(PK id);\n\n\t/**\n\t * Con este metodo se pueden buscar registros con propiedades similares a\n\t * las del objeto que se pasa, no sirve para buscaquedas por id.\n\t * \n\t * @param entity\n\t * Entidad con propiedades que se van a buscar\n\t * @return Lista de entidades encontradas\n\t */\n\tList<T> searchByExample(T entity);\n\n\t/**\n\t * Metodo para buscar registros con propiedades similares a la del objeto\n\t * que recibe, ordenarlos por el campo que manda con el limite y paginas\n\t * dadas\n\t * \n\t * @param entity\n\t * Ejemplo para la busqueda\n\t * @param sortBy\n\t * Campor por el que se desea ordenar\n\t * @param limit\n\t * Numero maximo de registros\n\t * @param page\n\t * Numero de pagina\n\t * @return\n\t */\n\tList<T> searchByExamplePages(T entity, String sortBy, Ord ord,\n\t\t\tInteger limit, Integer page);\n\n\t/**\n\t *\n\t * Metodo para buscar registros con propiedades similares a la del objeto\n\t * que recibe, ordenarlos por el campo que manda con el limite y paginas\n\t * dadas.\n\t * \n\t * @param entity\n\t * Ejemplo para la busqueda\n\t * @param sortBy\n\t * Campor por el que se desea ordenar\n\t * @param limit\n\t * Numero maximo de registros\n\t * @param page\n\t * Numero de pagina\n\t * @param associations\n\t * \t\t\t Mapa propiedad objeto\n\t * \n\t * @return List<T>\n\t */\n\n\tList<T> searchByExamplePages(T entity, String sortBy, Ord ord,\n\t\t\tInteger limit, Integer page, Map<String, Object> associations);\n\n\t/**\n\t * Cuenta todos los registros de la tabla\n\t * \n\t * @return Numero de registros en la tabla\n\t */\n\tInteger countAll();\n\n\t/**\n\t * Cuenta todos los resultados que coinciden con un ejemplo\n\t * \n\t * @param entity\n\t * Entidad de ejemplo para la busqueda\n\t * @return Numero de registros encontrados\n\t */\n\tInteger countByExample(T entity);\n\n\t/**\n\t * Numero de paginas que se obtendran buscando con el ejemplo dado y usando\n\t * un limite\n\t * \n\t * @param entity\n\t * Entidad de ejemplo para la busqueda\n\t * @param limit\n\t * Limite de registros por pagina\n\t * @return\n\t */\n\tInteger countByExamplePages(T entity, Integer limit);\n\n\t/**\n\t * Retorna la clase del tipo generico, la clase de la entidad. Destinada a\n\t * solo funcionar cuando se implemente esta interfaz definiendo el tipo T\n\t * \n\t * @return Clase del tipo generico\n\t */\n\tClass<?> getEntityClass();\n}", "private CommentDAO() {\n\n\t}", "public interface DcSquadDAO {\n /**\n * Insert one <tt>DcSquadDO</tt> object to DB table <tt>dc_squad</tt>, return primary key\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>insert into dc_squad(squad_name,squad_desc,axiser,cubers,followers,investors,status,gmt_create,gmt_modify,attention) values (?, ?, ?, ?, ?, ?, ?, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ?)</tt>\n *\n *\t@param dcSquad\n *\t@return long\n *\t@throws DataAccessException\n */\n public long insert(DcSquadDO dcSquad) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad</tt>\n *\n *\t@return List<DcSquadDO>\n *\t@throws DataAccessException\n */\n public List<DcSquadDO> load() throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where (id = ?)</tt>\n *\n *\t@param id\n *\t@return DcSquadDO\n *\t@throws DataAccessException\n */\n public DcSquadDO loadById(long id) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where (squad_name = ?)</tt>\n *\n *\t@param squadName\n *\t@return DcSquadDO\n *\t@throws DataAccessException\n */\n public DcSquadDO loadByName(String squadName) throws DataAccessException;\n\n /**\n * Update DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>update dc_squad set squad_name=?, squad_desc=?, axiser=?, cubers=?, followers=?, investors=?, status=?, gmt_modify=CURRENT_TIMESTAMP where (id = ?)</tt>\n *\n *\t@param dcSquad\n *\t@return int\n *\t@throws DataAccessException\n */\n public int update(DcSquadDO dcSquad) throws DataAccessException;\n\n /**\n * Delete records from DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>delete from dc_squad where (id = ?)</tt>\n *\n *\t@param id\n *\t@return int\n *\t@throws DataAccessException\n */\n public int deleteById(long id) throws DataAccessException;\n\n /**\n * Query DB table <tt>dc_squad</tt> for records.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>select * from dc_squad where ((squad_name = ?) AND (axiser = ?) AND (cubers = ?) AND (followers = ?) AND (investors = ?) AND (status = ?) AND (gmt_create = ?) AND (gmt_modify = ?))</tt>\n *\n *\t@param squadName\n *\t@param axiser\n *\t@param cubers\n *\t@param followers\n *\t@param investors\n *\t@param status\n *\t@param gmtCreate\n *\t@param gmtModify\n *\t@param pageSize\n *\t@param pageNum\n *\t@return PageList\n *\t@throws DataAccessException\n */\n public PageList query(String squadName, String axiser, String cubers, String followers,\n String investors, String status, Date gmtCreate, Date gmtModify,\n int pageSize, int pageNum) throws DataAccessException;\n\n /**\n * Update DB table <tt>dc_squad</tt>.\n *\n * <p>\n * The sql statement for this operation is <br>\n * <tt>update dc_squad set attention=? where (id = ?)</tt>\n *\n *\t@param attention\n *\t@param id\n *\t@return int\n *\t@throws DataAccessException\n */\n public int updateAttention(long attention, long id) throws DataAccessException;\n\n}", "public interface DVDCategorieDAO {\n /**\n * This is the method to be used to initialize\n * database resources ie. connection.\n */\n public void setDataSource(DataSource ds);\n\n /**\n * This is the method to be used to create\n * a record in the Graduate table.\n */\n public void create(int id, DVD dvd, Categorie categorie);\n\n /**\n * This is the method to be used to list down\n * a record from the Graduate table corresponding\n * to a passed graduate id.\n */\n public DVDCategorie getDVDCategorie(int id);\n\n /**\n * This is the method to be used to list down\n * all the records from the Graduate table.\n */\n public List<DVDCategorie> listDVDCategorie();\n\n /**\n * This is the method to be used to delete\n * a record from the Graduate table corresponding\n * to a passed graduate id.\n */\n public void delete(Integer id);\n\n /**\n * This is the method to be used to update\n * a record into the Graduate table.\n */\n public void update(Integer id, DVD dvd, Categorie categorie);\n}", "public interface EscalaDAO {\r\n\r\n /**\r\n * Select numero manifiesto aeat.\r\n *\r\n * @param srvcId\r\n * the srvc id\r\n * @return the string\r\n */\r\n String selectNumeroManifiestoAeat(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del estado de una escala a partir del estado de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateRecalcularEstado(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del codigo de exencion de una escala a partir del codigo de exencion de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateExencion(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de estancia de una escala a partir del tipo de estancia de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateEstancia(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de navegacion de entrada de una escala a partir del puerto anterior.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateNavegacionEntrada(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de navegacion de salida de una escala a partir del puerto siguiente.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateNavegacionSalida(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de IVA de una escala a partir de datos de la escala.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateTipoIva(final Long srvcId);\r\n\r\n /**\r\n * Modificacion de las fechas de inicio/fin de una escala a partir las fechas de inicio/fin de sus\r\n * atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateRecalcularFechas(final Long srvcId);\r\n}", "public interface ExampleDao {\r\n\r\n /**\r\n * 列出所有测\r\n * @return\r\n */\r\n public List<Example> findExamples() ;\r\n\r\n /**\r\n * 取得总记录数\r\n * @return 记录数量\r\n */\r\n int getExamplesCount();\r\n\r\n /**\r\n * 取得总记录数\r\n * @return 记录数量\r\n */\r\n int getExamplesCount(Query query);\r\n\r\n int getExamplesCount1(TimeQuery query);\r\n\r\n /**\r\n * 取得相关的记录数\r\n * @param query 查询参数\r\n * @return 相关记录\r\n */\r\n List<Example> findExamplesPage(Query query);\r\n\r\n List<Example>findExamplesPage1(TimeQuery query);\r\n\r\n /**\r\n * 创建对象\r\n * @param example\r\n */\r\n void createExample(Example example);\r\n\r\n List<Example> findExamplesByTime(String startDate,String endDate);\r\n\r\n\r\n List<Example> findExamplesByTime1(TimeQuery query);\r\n}", "public interface ReWelfareDAO {\n int deleteByPrimaryKey(Long welfareId);\n\n void insert(ReWelfare record);\n\n void insertSelective(ReWelfare record);\n\n void insertBatch(List<ReWelfare> records);\n\n ReWelfare selectByPrimaryKey(Long welfareId);\n\n int updateByPrimaryKeySelective(ReWelfare record);\n\n int updateByPrimaryKey(ReWelfare record);\n\n /**\n * 精选列表\n * @param platform\n * @return\n */\n List<ReWelfare> selectSelectionListByPlatform(int platform);\n\n /**\n * 福利\n *\n * @param platform\n * @param welfareId\n * @param welfareType\n * @return\n */\n List<ReWelfare> selectListByPlatform(int platform, Long welfareId, Integer welfareType);\n\n /**\n * 从mysql中获取福利id列表\n * @param platform 平台\n * @param welfareType 类型\n * @return\n */\n List<Long> selectWelfareIdListOrderByUpdateTimeDesc(int platform,Integer welfareType);\n}", "public MultaDAO() {\r\n super(MultaDAO.class);\r\n }", "D getDao();", "public UserDAO()\n {\n \n }", "public interface DaoFactory {\r\n\r\n\t/**\r\n\t * Returns objects for access to account table.\r\n\t * \r\n\t * @return DAO for account table.\r\n\t */\r\n\tpublic GenericDao<Account> getAccountDao();\r\n\r\n\t/**\r\n\t * Returns objects for access to client table.\r\n\t * \r\n\t * @return DAO for client table.\r\n\t */\r\n\tpublic GenericDao<Client> getClientDao();\r\n\r\n\t/**\r\n\t * Returns objects for access to payment table.\r\n\t * \r\n\t * @return DAO for payment table.\r\n\t */\r\n\tpublic GenericDao<Payment> getPaymentDao();\r\n\r\n\t/**\r\n\t * Returns objects for access to credit card table.\r\n\t * \r\n\t * @return DAO for credit card table.\r\n\t */\r\n\tpublic GenericDao<CreditCard> getCreditCardDao();\r\n\r\n\t/**\r\n\t * Returns objects for access to authorization table.\r\n\t * \r\n\t * @return DAO for authorization table.\r\n\t */\r\n\tpublic GenericDao<Autorization> getAutorizationDao();\r\n\r\n\t/**\r\n\t * This method returns connection for accessing to database.\r\n\t * \r\n\t * @return\r\n\t */\r\n\tpublic Connection getConnection();\r\n\r\n}", "public MenuDAO() {\n\t\t\n\t\tconnection = ConnectDatabase.connectDatabase();\n\t\t\n\t}", "public ProfesorDAOImpl() {\n super();\n }", "public interface DAO {\n\n\t/**\n\t * Dohvaća entry sa zadanim <code>id</code>-em. Ako takav entry ne postoji,\n\t * vraća <code>null</code>.\n\t * \n\t * @param id ključ zapisa\n\t * @return entry ili <code>null</code> ako entry ne postoji\n\t * @throws DAOException ako dođe do pogreške pri dohvatu podataka\n\t */\n\tpublic BlogEntry getBlogEntry(Long id) throws DAOException;\n\n\t/**\n\t * Returns true if nick exists.\n\t * \n\t * @param nick to check\n\t * @return true if nick exists\n\t * @throws DAOException\n\t */\n\tpublic boolean nickExists(String nick) throws DAOException;\n\n\t/**\n\t * Returns BlogUser with given nick. Null if such user doesn't exist\n\t * \n\t * @param nick Nick\n\t * @return BlogUser with given nick or Null if such user doesn't exist\n\t * @throws DAOException\n\t */\n\tpublic BlogUser getUserByNick(String nick) throws DAOException;\n\t\n//\tpublic List<BlogUser> getUsers();\n\t\n\t/**\n\t * Registers user with information given in form\n\t * \n\t * @param form Informations about user\n\t * @throws DAOException\n\t */\n\tpublic void registerUser(RegisterForm form) throws DAOException;\n\t\n\t/**\n\t * Registers user\n\t * \n\t * @param user to register\n\t * @throws DAOException\n\t */\n\tpublic void registerUser(BlogUser user) throws DAOException;\n\n\t/**\n\t * Returns list of all users\n\t * \n\t * @return list of all users\n\t * @throws DAOException\n\t */\n\tpublic List<BlogUser> getAllUsers() throws DAOException;\n\t\n\t/**\n\t * Adds blog\n\t * \n\t * @param blog to add\n \t * @throws DAOException\n\t */\n\tpublic void addBlog(BlogEntry blog) throws DAOException;\n\t\n\t\n\t/**\n\t * Returns email of user with nick, null if no such user exists\n\t * \n\t * @param nick of user\n\t * @return email of user with nick, null if no such user exists\n\t * @throws DAOException\n\t */\n\tpublic String getUserEmail(String nick) throws DAOException;\n\n\t/**\n\t * Adds comment with informations from CommentForm to BlogEntry blog\n\t * \n\t * @param blog in which comment is added\n\t * @param comment to add\n\t */\n\tpublic void addComment(BlogEntry blog, CommentForm comment);\n\n\t/**\n\t * Updates blog values from values in form\n\t * @param blog to change\n\t * @param form with new values\n\t */\n\tpublic void changeBlog(BlogEntry blog, BlogForm form);\n}", "public DerivedPartOfPerspectivesFKDAOJDBC() {\n \t\n }", "public interface DepartmentDAO {\n\n /**\n * This method is used to retrieve a list of all departments.\n *\n * @return List of generic type {@link Department}\n */\n public List<Department> getAllDepartments();\n\n /**\n * This method is used when adding a department.\n *\n * @param department of type {@link Department}\n */\n public void addDepartment(Department department);\n\n /**\n * This method is used to update the department table.\n *\n * @param department of type {@link Department}\n * @param newDeptName of type String *\n */\n public void updateDepartment(Department department, String newDeptName);\n\n /**\n * This method is used to delete departments by department number.\n *\n * @param dept_no of type integer\n */\n public void deleteDepartmentByDeptNo(int dept_no);\n\n /**\n * This method is use to delete departments by name.\n *\n * @param dept_name of type String\n */\n public void deleteDepartmentByDeptName(String dept_name);\n\n /**\n * This method is responsible for returning a department by dept_no.\n *\n * @param dept_no of type integer\n * @return ResultSet\n */\n public ResultSet getDepartmentByID(int dept_no);\n\n /**\n * This method is responsible for returning a department by dept_name\n *\n * @param dept_name of type String\n * @return ResultSet\n */\n public ResultSet getDepartmentByName(String dept_name);\n}", "public interface EepHeadLoadDAO extends DAO<EepHeadLoad> {\r\n\t/**\r\n\t * Sletter alle linjer tilhørende gitt hode\r\n\t * \r\n\t * @param head\r\n\t */\r\n\tvoid deleteImportFile(EepHeadLoad head);\r\n\r\n\t/**\r\n\t * Finner alle for gitt sekvensnummer\r\n\t * \r\n\t * @param nr\r\n\t * @return alle for gitt sekvensnummer\r\n\t */\r\n\tEepHeadLoad findBySequenceNumber(Integer nr);\r\n}", "public interface DAOInterface<T> {\n T create();\n void adicionar(T obj);\n void excluir(T obj);\n void atualizar(T obj);\n List<T>listar();\n T findForId(int id);\n T findForString(String string);\n}", "public interface ProgramaTVDAO {\n\t/**\n\t * Crea una nueva monitorización\n\t * @param titulo Título del programa\n\t * @param episodeCode Código del Episodio (ej. T01E03)\n\t * @param fechaInicio Fecha y hora de Inicio\n\t * @param fechaFin Fecha y hora de Fin\n\t * @param hashtag Hashtag que se monitorizará\n\t * @return Objeto ProgramaTV\n\t */\n\tpublic ProgramaTV crearMonitorizacion(String titulo, String episodeCode, Date fechaInicio, Date fechaFin, String hashtag);\n\n\t/**\n\t * Monitorización por clave primaria\n\t * @param primaryKey Clave primaria\n\t * @return Objeto ProgramaTV\n\t */\n\tpublic ProgramaTV programaPorId(Long primaryKey);\n\t\n\t/**\n\t * Todas las monitorizaciones que llevan el mismo hashtag\n\t * @param hashtag Hashtag\n\t * @return Lista de objetos ProgramaTV\n\t */\n\tpublic List<ProgramaTV> ProgramasPorHashtag(String hashtag);\n\t\n\t/**\n\t * Lista de monitorizaciones del mismo programa\n\t * @param titulo Título del programa\n\t * @return Lista de objetos ProgramaTV\n\t */\n\tpublic List<ProgramaTV> programasPorTitulo(String titulo);\n\t\n\t /**\n\t * Todas las monitorizaciones\n\t * @return Lists de todos los objetos ProgramaTV\n\t */\n\tpublic List<ProgramaTV> todosLosProgramas();\n\t\n\t/**\n\t * Top 5 programas más vistos\n\t * @return Array ordenado de los 5 programas más vistos\n\t */\n\tpublic ProgramaTV[] programasTop5();\n\n\t/**\n\t * Actualiza monitorizacion\n\t * @param prog Objeto ProgramaTV\n\t */\n\tpublic void updateProgramaTV(ProgramaTV prog);\n\n\n\t/**\n\t * Borra una monitorización\n\t * @param prog Clave primaria de la monitorización\n\t */\n\tpublic void deleteProgramaTV(Long prog);\n\t\n\t/**\n\t * Borra todos los programas\n\t */\n\tpublic void deleteAll();\n\t\n\n\t\n\n\t}", "public interface UserDAO {\n// 查询所有用户\n public List<User> queryAll();\n// 修改用户的状态\n public void update(User user);\n// 添加一个用户\n public void save(User user);\n// 查看一周的活跃量\n public Integer queryAc(Integer num);\n// 查看用户分布\n public List<CityFB> queryCity();\n\n}", "public interface TipoDao {\r\n\r\n /**\r\n * Inserta un nuevo registro en la tabla Tipos.\r\n */\r\n public TipoPk insert(Tipo dto) throws TipoDaoException;\r\n\r\n /**\r\n * Actualiza un unico registro en la tabla Tipos.\r\n */\r\n public void update(TipoPk pk, Tipo dto) throws TipoDaoException;\r\n\r\n /**\r\n * Elimina un unico registro en la tabla Tipos.\r\n */\r\n public void delete(TipoPk pk) throws TipoDaoException;\r\n\r\n /**\r\n * Retorna un unico registro en la tabla Tipos que conicida con la\r\n * primary-key especificada.\r\n */\r\n public Tipo findByPrimaryKey(TipoPk pk) throws TipoDaoException;\r\n\r\n /**\r\n * Retorna un registro de la tabla Tipos que coincida con el criterio\r\n * 'id_tipo = :idTipo'.\r\n */\r\n public Tipo findByPrimaryKey(Integer idTipo) throws TipoDaoException;\r\n\r\n /**\r\n * Retorna todos los registros de la tabla Tipos que coincidan con el\r\n * criterio 'nombre_tipo LIKE %:nombre%'.\r\n */\r\n public Tipo[] findByName(String nombre) throws TipoDaoException;\r\n\r\n /**\r\n * Retorna un registro de la tabla Tipos que coincida con el\r\n * criterio 'nombre_tipo = :nombre'.\r\n */\r\n public Tipo findByFullName(String nombre) throws TipoDaoException;\r\n\r\n /**\r\n * Retorna todas las filas de la tabla Tipos.\r\n */\r\n public Tipo[] findAll() throws TipoDaoException;\r\n\r\n /**\r\n * Retorna todos los registros de la tabla Tipos que coincidan con la\r\n * sentencia SQL especificada arbitrariamente\r\n */\r\n public Tipo[] findByDynamicSelect(String sql, Object[] sqlParams)\r\n throws TipoDaoException;\r\n\r\n /**\r\n * Retorna todos los registros de la tabla Tipos que coincidan con el WHERE\r\n * SQL especificado arbitrariamente\r\n */\r\n public Tipo[] findByDynamicWhere(String sql, Object[] sqlParams)\r\n throws TipoDaoException;\r\n\r\n /**\r\n * Sets the value of maxRows\r\n */\r\n public void setMaxRows(int maxRows);\r\n\r\n /**\r\n * Gets the value of maxRows\r\n */\r\n public int getMaxRows();\r\n\r\n /**\r\n * Retorna la conexión actual del usuario\r\n * \r\n * @return Connection\r\n */\r\n public Connection getUserConn();\r\n\r\n /**\r\n * Setea la conexión a usar con la BD\r\n * \r\n * @param userConn\r\n */\r\n public void setUserConn(Connection userConn);\r\n\r\n}", "public interface HelloDao {\n\tpublic void insertHello(Hello h);\n\tpublic Hello selectHello(String helloId);\n\tpublic List<Hello> selectHelloList(String dateMMDDYYYY);\n}", "public abstract ZALogDao mo87644a();", "public ArAgingDetailReportDAO () {}", "public interface NewsDAO {\n /**\n * method is for adding the new\n *\n * @param news - object of the class News\n * @throws DAOException - exceptions caused by DAO layer\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n String addNew(News news) throws DAOException, ConnectionPoolDataSourceException;\n\n /**\n * method is for finding the new by category\n *\n * @param category - new's category\n * @throws DAOException - exceptions caused by DAO layer\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n ArrayList<News> findByCategory(String category) throws DAOException, ConnectionPoolDataSourceException;\n\n /**\n * method is for finding thw new by title\n *\n * @param title - new's title\n * @throws DAOException - exceptions caused by DAO layer\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n ArrayList<News> findByTitle(String title) throws DAOException, ConnectionPoolDataSourceException;\n\n /**\n * method is for finding the news by author\n *\n * @param author - new's author\n * @throws DAOException - exceptions caused by DAO layer\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n ArrayList<News> findByAuthor(String author) throws DAOException, ConnectionPoolDataSourceException;\n\n /**\n * method is for finding the news by date\n *\n * @param date - new's date\n * @throws DAOException - exceptions caused by DAO layer\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n ArrayList<News> findByDate(String date) throws DAOException, ConnectionPoolDataSourceException;\n\n /**\n * method is for init connection to the database\n *\n * @throws ConnectionPoolDataSourceException - exceptions caused by ConnectionPool\n */\n void init() throws ConnectionPoolDataSourceException;\n\n /**\n * method is for destroy connection to the database\n *\n * @throws ConnectionPoolDataSourceException - exception caused by ConnectionPool\n */\n void destroy() throws ConnectionPoolDataSourceException;\n}", "public ProductDAO() {\n }", "public interface MaestroPersonalDAO {\n\tpublic MaestroPersonalBean obtenerPersonaxUsuario(String cod_user)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerPersonaxCodigo(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerPersonaxRegistro(String cod_reg)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerCorreoEmpleado(Map<String,Object> parm)\n\t\t\tthrows DataAccessException;\n\t\n\tpublic String obtenerRegistroPersonal(String cod_user)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerJefeInmediato(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobador(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorAUC(String cod_auc)\n\tthrows DataAccessException;\n\t\n\tpublic String esIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String esAprobador(String cod_empl)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerSuperIntendente(String cod_empl)\n\tthrows DataAccessException;\n\t\n\t\n\tpublic String esJefeUBG(String cod_empl)\n\tthrows DataAccessException;\n\n\tpublic Collection<MaestroPersonalBean> listarMaestroPersonal(Map parm)\n\tthrows DataAccessException;\n\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonal(Map parm)\n\t\t\tthrows DataAccessException ;\n\t\n\t\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalInactivo(Map parm)\n\t\t\tthrows DataAccessException ;\n\t\n\t\n\t\n\t\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalMovilidad(Map parm)\n\t\t\tthrows DataAccessException ;\n\tpublic Collection<MaestroPersonalBean> buscarMaestroPersonalViaticos(Map parm)\n\t\t\tthrows DataAccessException ;\n\tpublic String obtenerJefeInmediatoEncargado(String cod_empl, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorEncargado(String cod_empl, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerAprobadorEncargadoAUC(String cod_auc, String cod_encargado)\n\tthrows DataAccessException;\n\t\n\tpublic String esAprobadorEncargado(String cod_empl)\n\tthrows DataAccessException;\n\t\n////////////////////////////////////////////////////////////////////////\t\n\tpublic String esJefe(String cod_empl, String cod_dep )\n\tthrows DataAccessException;\n\t\n\tpublic String obtenerJefeAuc(String cod_dep)\n\tthrows DataAccessException;\n\t\n\tpublic String esJefeInmediatoEncargado(String cod_empl, String cod_enca)\n\tthrows DataAccessException;\n\t\n\tpublic String verificaEncargo(String cod_empl, String cod_enca)\n\tthrows DataAccessException;\n\t\n\tpublic MaestroPersonalBean obtenerCategoriaGasto(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaJefeInmediatoEncargadoMovilidad(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaAutorizadorGastoMovilidad(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic String determinaAutorizadorGastoViatico(String codigoEmpleado) throws DataAccessException;\n\t\n\tpublic List<MaestroPersonalBean> buscarMaestroPersonalComisionadoInactivo(Map<String, Object> parm) throws DataAccessException;\n\n\tpublic String buscarNombreAutorizador(String codigoEmpleado) throws Exception;\n\t\n\t//PAS201780000300007\n\tpublic boolean esPerfilColaboradorJefe(String codDependencia,String codEmpleado ) throws DataAccessException;\n\tpublic boolean esPerfilColaboradorEncargado(String codDependencia,String codEmpleado ) throws DataAccessException;\n\tpublic abstract boolean esEncargadoOtraUuoo(String codEmpleado) throws DataAccessException;\n\tpublic abstract boolean esEncargadoAuc(String codEmpleado) throws DataAccessException;\n\tpublic String obtenerCadenaUuoosQueEsJefe(String codEmpleadoJefe) throws DataAccessException;\n}", "public interface DemoDao {\r\n /**\r\n * 保存用户\r\n * @param user\r\n * @throws Exception\r\n */\r\n void insert(DemoUser user)throws Exception;\r\n\r\n /**\r\n * 根据用户Id查询用户信息\r\n * @param userId\r\n * @return\r\n * @throws Exception\r\n */\r\n DemoUser selectById(Integer userId)throws Exception;\r\n\r\n /**\r\n * 更新用户信息\r\n * @param demoUser\r\n * @throws Exception\r\n */\r\n void updateById(DemoUser demoUser)throws Exception;\r\n\r\n\r\n /**\r\n * 根据Id删除用户信息\r\n * @param userId\r\n * @throws Exception\r\n */\r\n void deleteById(Integer userId)throws Exception;\r\n\r\n /**\r\n * 根据用户信息查询用户列表\r\n * 可以传一个对象,或是多个参数\r\n * @param userName\r\n * @param age\r\n * @return\r\n * @throws Exception\r\n */\r\n List<DemoUser> selectList(@Param(\"userName\")String userName, @Param(\"age\")Integer age)throws Exception;\r\n}", "private LabelDbmsDao() {\r\n }", "public interface CashRegisterDAO {\n public void addCashRegister(CashRegister cashRegister ) throws SQLException;\n public void updateCashRegister(CashRegister cashRegister ) throws SQLException;\n public CashRegister getCashRegisterById(Long cashregister_id) throws SQLException;\n public Collection getAllCashRegister() throws SQLException;\n public void deleteCashRegister(CashRegister cashRegister) throws SQLException;\n}", "public interface BaseDao<T , PK> {\n\n /**\n * 获取列表\n *\n * @param queryRule\n * 查询条件\n * @return\n * @throws Exception\n */\n List<T> select(QueryRule queryRule) throws Exception;\n\n /**\n * 获取分页结果\n *\n * @param queryRule\n * 查询条件\n * @param pageNo\n * 页码\n * @param pageSize\n * 每页条数\n * @return\n * @throws Exception\n */\n Page<?> select(QueryRule queryRule , int pageNo , int pageSize) throws Exception;\n\n /**\n * 根据SQL获取列表\n *\n * @param sql\n * sql语句\n * @param args\n * 参数\n * @return\n * @throws Exception\n */\n List<Map<String , Object>> selectBySql(String sql , Object... args) throws Exception;\n\n /**\n * 根据SQL获取分页\n *\n * @param sql\n * SQL语句\n * @param param\n *\n * @param pageNo\n * 页码\n * @param pageSize\n * 每条页码数\n * @return\n * @throws Exception\n */\n Page<Map<String , Object>> selectBySqlToPage(String sql , Object[] param , int pageNo , int pageSize) throws Exception;\n\n /**\n * 删除一条记录\n * @param entity\n * entity中的id不能为空。如果id为空,其他条件不能为空。都为空不执行。\n * @return\n * @throws Exception\n */\n boolean delete(T entity) throws Exception;\n\n /**\n * 批量删除\n * @param list\n * @return 返回受影响的行数\n * @throws Exception\n */\n int deleteAll(List<T> list) throws Exception;\n\n /**\n * 插入一条记录并返回插入后的ID\n * @param entity\n * 只要entity不等于null,就执行插入\n * @return\n * @throws Exception\n */\n PK insertAndReturnId(T entity) throws Exception;\n\n /**\n * 插入一条记录,自增id\n * @param entity\n * @return\n * @throws Exception\n */\n boolean insert(T entity) throws Exception;\n\n /**\n * 批量插入\n *\n * @param list\n * @return\n * 返回受影响的行数\n * @throws Exception\n */\n int insertAll(List<T> list) throws Exception;\n\n /**\n * 修改一条记录\n * @param entity\n * entity中的ID不能为空。如果ID为空,其他条件不能为空。都为空不执行。\n * @return\n * @throws Exception\n */\n boolean update(T entity) throws Exception;\n}", "public interface InterfaceDao<T>{\n //int COUNT_ROWS = 8;\n /**\n *\n * Чья реализауия.\n * @return\n */\n String WhoIsIt();\n\n /**\n *\n * @param El Добавление обьекта <b>EL<b>\n * @throws SQLException\n */\n void insert(T El) throws SQLException;\n\n /**\n *\n * @param El Обновить обьект <b>EL<b>\n * @throws SQLException\n */\n void update(T El) throws SQLException;\n\n /**\n * Получить обьекта по id\n * @param id идентификатор\n * @return возвращает обьект заданного типа\n * @throws SQLException\n */\n\n /**\n * Получить список обьектов\n * @return список\n * @throws SQLException\n */\n List getAll(Class <T> clazz) throws SQLException;\n\n /**\n * Удалить элемент из БД\n * @param El\n * @throws SQLException\n */\n void delete(T El) throws SQLException;\n\n long getCount(Class<T> clazz) throws SQLException;\n\n List getSubList(int position, int count, Class<T> clazz) throws SQLException;\n}", "public interface Useful_LinksDAO {\n public void addUseful_Links(Useful_Links useful_links) throws SQLException;\n public void updateUseful_Links(Useful_Links useful_links) throws SQLException;\n public void deleteUseful_Links(Useful_Links useful_links) throws SQLException;\n}", "public interface InvMainDao extends GenericDao<InvMain, String> {\n\tpublic JQueryPager getInvMainCriteria(final JQueryPager paginatedList,List<PropertyFilter> filters);\n\tpublic boolean checkAllInitInvMainConfirm(String orgCode,String copyCode,String kjYear,String storeId);\n\tpublic InvMain getInvMainByNo(String no, String orgCode, String copyCode);\n\tpublic boolean checkAllDocsInStore(String storeId,String orgCode,String copyCode,String kjYear);\n\tpublic void deleteInvDictAccount(String storeId, String orgCode,String copyCode,String kjYear);\n\n}", "public interface DAO<T> {\n T get(int ID);\n List<T> getAll();\n List<T> findByLastName(String string);\n boolean add(T t);\n boolean update(T t);\n boolean delete(T t);\n\n\n\n \n}", "public interface ProductDAO {\n\n /**\n * 添加商品\n * @param product\n */\n public void addProduct(Product product);\n\n /**\n * 分页查询\n * @param pager\n * @param fileId\n * @param fType\n * @param days1\n * @return\n */\n public Pager4EasyUI<ProductInfo> pager(Pager4EasyUI<ProductInfo> pager, String fileId, String fType);\n\n /**\n * 计数\n * @param fileId\n * @return\n */\n public int count(String fileId);\n\n /**\n * 批量添加\n */\n public void addProducts(List<Product> products);\n\n}", "public OnlineUserDAO(){}", "public interface TipoActividadDAO {\n \n /**\n * Funció que engloba les funcións que s'utilitzen per crear tipus d'activitat\n * @param tipoAct\n * @return String\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract String callCrear(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;\n \n /**\n * Verifica que no existeixi un tipus amb el mateix nom\n * @param tipoAct\n * @return int\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract int getTipoByName(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;\n \n /**\n * Inserta un tipus d'activitat en la base de dades\n * @param tipoAct\n * @return String\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract String insertarTipoActividad(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;\n \n /**\n * Agafa els tipus d'activitats que esten actius\n * @return List de TipoActividad\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract List<TipoActividad> getTiposActividad() throws PersistenceException, ClassNotFoundException;\n \n /**\n * Agafa tots els tipus d'activitats \n * @return List de TipoActividad\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract List<TipoActividad> getTiposActividadAdm() throws PersistenceException, ClassNotFoundException;\n \n /**\n * Seleccionar el tipo de actividad d'una actividad\n * @param activity\n * @return String\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract String getTipoByAct(Actividad activity) throws PersistenceException, ClassNotFoundException;\n\n /**\n * Guarda la sessió del tipus d'activitat\n * @param tipoAct\n * @param pagina\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract void guardarSession(TipoActividad tipoAct, String pagina) throws PersistenceException, ClassNotFoundException;\n \n /**\n * Funció que engloba les funcións per editar un tipus d'activitat\n * @param tipoAct\n * @return String\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract String callEditar(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;\n \n /**\n * Funció que permet editar el Tipus d'activitat\n * @param tipoAct\n * @return String\n * @throws PersistenceException\n * @throws ClassNotFoundException \n */\n public abstract String editarTipoActividad(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;\n}", "public AlManageOnAirDAOImpl() {\r\n super();\r\n }", "public AdministratorDAO() {\n super();\n DAOClassType = Administrator.class;\n }", "public DepartmentsDAO() {\r\n\t\tconn = DBConnector.getConnection();\r\n\t}", "public interface PagoDAO \n{\n\tpublic List<Pago> findAll();\n\n public Pago findById(int id);\n\n public void save(Pago pago);\n}", "public interface FakturaTekstVDAO extends DAO<FakturaTekstV> {\r\n\t/**\r\n\t * Finner tekster tilhørende faktura\r\n\t * \r\n\t * @param fakturaId\r\n\t * @return tekster\r\n\t */\r\n\tList<FakturaTekstV> findByFakturaId(Integer fakturaId);\r\n}", "private OrderFacade(){\n\t\tAbstractDAOFactory f = new MySQLDAOFactory();\n \tthis.odao = f.getOrderDAO();\n\t}", "public ModeOfPurchaseDAOImpl() {\r\n\r\n }", "public interface UserDao {\n /**\n * 用户增加\n *\n * @param user\n */\n void insert(User user);\n\n /**\n * 根据id删除\n *\n * @param id\n */\n void delete(int id);\n\n /**\n * 更新User\n *\n * @param user\n */\n void update(User user);\n\n /**\n * 查询表中所有数据\n *\n * @return\n */\n List<User> queryAll();\n\n /**\n * 根据User查询\n *\n * @param id\n * @return\n */\n User queryById(int id);\n}", "public StockCardReportDAO () {}", "public interface SsoAuthDAO {\r\n\t/**\r\n\t * Insert one <tt>SsoAuthDO</tt> object to DB table <tt>sso_auth</tt>, return primary key\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>insert into sso_auth(auth_code,auth_name,app_id,is_enable,description,last_modifier,gmt_create,gmt_modified) values (?, ?, ?, ?, ?, ?, ?, ?)</tt>\r\n\t *\r\n\t *\t@param ssoAuth\r\n\t *\t@return Integer\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public Integer insert(SsoAuthDO ssoAuth) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Delete records from DB table <tt>sso_auth</tt>.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>delete from sso_auth where (id = ?)</tt>\r\n\t *\r\n\t *\t@param id\r\n\t *\t@return int\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public int delete(Integer id) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Update DB table <tt>sso_auth</tt>.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>update sso_auth set auth_code=?, auth_name=?, app_id=?, is_enable=?, description=?, last_modifier=?, gmt_modified=? where (id = ?)</tt>\r\n\t *\r\n\t *\t@param ssoAuth\r\n\t *\t@return int\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public int update(SsoAuthDO ssoAuth) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select id, auth_code, auth_name, app_id, is_enable, description, last_modifier, gmt_create, gmt_modified from sso_auth where (id = ?)</tt>\r\n\t *\r\n\t *\t@param id\r\n\t *\t@return SsoAuthDO\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public SsoAuthDO query(Integer id) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select id, auth_code, auth_name, app_id, is_enable, description, last_modifier, gmt_create, gmt_modified from sso_auth where (app_id = ?)</tt>\r\n\t *\r\n\t *\t@param appId\r\n\t *\t@return List<SsoAuthDO>\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public List<SsoAuthDO> queryByAppId(Integer appId) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select id, auth_code, auth_name, app_id, is_enable, description, last_modifier, gmt_create, gmt_modified from sso_auth where (auth_code = ?)</tt>\r\n\t *\r\n\t *\t@param authCode\r\n\t *\t@return SsoAuthDO\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public SsoAuthDO queryByAuthCode(String authCode) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select id, auth_code, auth_name, app_id, is_enable, description, last_modifier, gmt_create, gmt_modified from sso_auth where (auth_name = ?)</tt>\r\n\t *\r\n\t *\t@param authName\r\n\t *\t@return SsoAuthDO\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public SsoAuthDO queryByAuthName(String authName) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select b.id id, b.auth_code auth_code, b.auth_name auth_name, b.app_id app_id, b.is_enable is_enable, c.description description, b.last_modifier last_modifier, b.gmt_create gmt_create, b.gmt_modified gmt_modified from sso_role a, sso_auth b, sso_role_auth c where ((a.id = c.role_id) AND (b.id = c.auth_id))</tt>\r\n\t *\r\n\t *\t@param roleName\r\n\t *\t@return List<SsoAuthDO>\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public List<SsoAuthDO> queryByRoleName(String roleName) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Query DB table <tt>sso_auth</tt> for records.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>select e.id id, e.app_id app_id, e.auth_code auth_code, e.auth_name auth_name, e.description description, e.is_enable is_enable, e.last_modifier last_modifier, e.gmt_create gmt_create, e.gmt_modified gmt_modified from sso_user a, sso_user_role b, sso_role c, sso_role_auth d, sso_auth e, sso_app f where ((a.id = b.user_id) AND (b.role_id = d.role_id) AND (d.auth_id = e.id) AND (e.app_id = f.id) AND (a.is_enable = 1) AND (e.is_enable = 1))</tt>\r\n\t *\r\n\t *\t@param userId\r\n\t *\t@param appName\r\n\t *\t@return List<SsoAuthDO>\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public List<SsoAuthDO> queryByAppIdAndUserName(String userId, String appName) throws DataAccessException;\r\n\r\n\t/**\r\n\t * Delete records from DB table <tt>sso_auth</tt>.\r\n\t *\r\n \t * <p>\r\n \t * Description for this operation is<br>\r\n \t * <tt></tt>\r\n\t * <p>\r\n\t * The sql statement for this operation is <br>\r\n\t * <tt>delete from sso_auth where (description LIKE ?)</tt>\r\n\t *\r\n\t *\t@param description\r\n\t *\t@return int\r\n\t *\t@throws DataAccessException\r\n\t */\t \r\n public int deleteByDesc(String description) throws DataAccessException;\r\n\r\n}", "public interface PertenenciaDAO extends GenericDao<Pertenencia, Long> {\n\n}", "public WkBscCoreDAOImpl() {\r\n super();\r\n }", "UserInfoDao getUserInfoDao();", "public JdbcObjectStudentDAO() {\n\t\tsuper();\n\t}", "public interface CategoryDAO extends DAO<AbsractCategory> {\n\n /**\n * getting exactly one category specified by the given id\n *\n * @param identificaitonNumber of the category to search for\n * @return exactely one category\n * @throws PersistenceException\n */\n AbsractCategory searchByID(int identificaitonNumber) throws PersistenceException;\n\n /**\n * getting a list of all equipment categorys\n *\n * @return a list of all equipment categorys like, kurzhantel, langhantel, springschnur ...\n * @throws PersistenceException\n */\n List<EquipmentCategory> getAllEquipment() throws PersistenceException;\n\n /**\n * getting a list of all muscle groups\n *\n * @return a list of all muslce groups like, bauchmuskeln, oberschenkel, unterschenkel ...\n * @throws PersistenceException\n */\n List<MusclegroupCategory> getAllMusclegroup() throws PersistenceException;\n\n /**\n * getting a list of all trainingstypes\n *\n * @return a list of all trainingstypes: ausdauer, kraft, balance, flexibilitaet\n * @throws PersistenceException\n */\n List<TrainingsCategory> getAllTrainingstype() throws PersistenceException;\n\n}", "public interface DAO<T, ID> {\n\n /**\n * A method that saves the specified object.\n *\n * @param t - object name.\n * @return - this object.\n */\n T save(T t);\n\n /**\n * The method that gets the object by the identifier.\n *\n * @param id - ID.\n * @return - object by this ID.\n */\n T getById(ID id);\n\n /**\n * Method to delete an object.\n *\n * @param id - ID.\n * @return - true (if object was removed).\n */\n boolean delete(ID id);\n\n /**\n * Method for retrieving all table objects.\n *\n * @return - got objects.\n */\n List<T> getAll();\n\n}", "public interface ICampaniaDAO {\n\t/**\n\t * Crear la campania en el repositorio\n\t * @param campania\n\t */\n\tvoid crearCampania(GestionPrecioDTO campania);\n\t\n\t\n\t/**\n\t * Actualizar la campania en el repositorio\n\t * @param campania\n\t */\n\tvoid actualizarCampania(GestionPrecioDTO campania, UserDto user);\n\t\n\t/** Metodo actualizarCampania, utilizado para actualizar una campania\n\t * @author srodriguez\n\t * 27/2/2015\n\t * @param campania\n\t * @param user\n\t * @return void\n\t */\n\tvoid actualizarCampania(GestionPrecioDTO campania, String user);\n\t\n\t/**\n\t * Buscar la campania por el c&oacute;digo de referencia\n\t * de Loyalty\n\t * @param codigoCampaniaReferencia C&oacute;digo de Loyalty\n\t * @return\n\t */\n\tGestionPrecioDTO findCampania(String codigoCampaniaReferencia);\n /**\n * Verifica si una campania existe dado su clave primaria como\n * par&aacute;metro de b&uacute;squeda\n * @param id\n * @returnS\n */\n Boolean findExistsCampania(GestionPrecioID id) ;\n /**\n * Obtener todas las campanias existentes en el repositorio\n * @return\n */\n Collection<GestionPrecioDTO> findCampaniasPendientes() ;\n /**\n * Buscar un listado de campanias dado una plantilla de b&uacute;squeda y el\n * estado de cobro\n * @param gestionPrecio Plantilla de b&uacute;squeda\n * @param estadoCobro Estado de cobro. Ej: PENDIENTE, CONFIGURADA, COBRADA, EN CURSO, etc.\n * @return\n */\n Collection<GestionPrecioDTO> findCampaniasFiltros (GestionPrecioDTO gestionPrecio,String estadoCobro);\n \n /**\n * @author cbarahona\n * @param campania\n */\n void actualizarCampaniaLoyalty (GestionPrecioDTO campania);\n \n SearchResultDTO<GestionPrecioDTO> findCampaniasPendientesLazy (Integer firstResult, Integer pageSize, Boolean countAgain);\n \n SearchResultDTO<GestionPrecioDTO> findCampaniasFiltrosLazy (GestionPrecioDTO gestionPrecio, String estadoCobro,Integer firstResult, Integer pageSize, Boolean countAgain);\n \n GestionPrecioDTO findCampania(final String codigoReferencia, final Integer codigoCompania) throws SICException;\n \n void actualizarCampania(GestionPrecioDTO campania) throws SICException;\n \n /**\n * Metodo que valida si una campaña tiene participantes\n * @param codigoReferencia\n * @return\n * @throws SICException\n */\n Boolean tieneParticipantesCampania(String codigoReferencia) throws SICException;\n}", "public interface DeptDao {\n //动态查询\n @SelectProvider(type=DeptDynaSqlProvider.class,method = \"selectWithParam\")\n List<Dept> selectByPage(Map<String,Object> params);\n @SelectProvider(type=DeptDynaSqlProvider.class,method = \"count\")\n Integer count(Map<String,Object> params);\n @Select(\"select * from \"+DEPTTABLE+\" \")\n List<Dept> selectAllDept();\n @Select(\"select * from \"+DEPTTABLE+\" where id = #{id}\")\n Dept selectById(int id);\n @Delete(\"delete from \"+DEPTTABLE+\" where id = #{id}\")\n void deleteById(int id);\n //动态插入部门\n @InsertProvider(type=DeptDynaSqlProvider.class,method = \"insertDept\")\n void save(Dept dept);\n //动态修改部门\n @UpdateProvider(type=DeptDynaSqlProvider.class,method = \"updateDept\")\n void update(Dept dept);\n}", "public interface LugarDAO {\n\n /**\n * Obtiene un lugar dado el id\n * @param lugarId\n * @return Lugar {@link Lugar}\n */\n public Lugar findLugarByID(int lugarId);\n}", "public UserDAO() {\n\t\tthis.emf = Persistence.createEntityManagerFactory(\"feedr_v3\");\n\t\tthis.em = this.emf.createEntityManager();\n\t\tthis.et = this.em.getTransaction();\n\t}", "public BemPessoaDAOImpl() {\n\t\tsuper(\"PESQUISAR_BEM_PESSOA\");\n\t}", "public interface UsageDAO {\n \n /**\n * Find by id.\n *\n * @param id the id\n * @return the optional\n */\n public Optional<UsageData> findById(Long id);\n\n \n /**\n * Creates the.\n *\n * @param ud the ud\n * @return the usage data\n */\n public UsageData create(UsageData ud);\n\n /**\n * Find all.\n *\n * @return the list\n */\n public List<UsageData> findAll();\n}", "public UserDAO() {\n }", "public interface ImplementShoppingDao {\n\n\n public Shopping selectShoppingById(int id);\n\n /**\n * 通过板块plate查询Article\n *\n * @return Article对象集合\n */\npublic List<Shopping> selectShoppingAllshop();\n\n /**\n * 添加商品\n * @param shopping\n * @return\n */\n public boolean addShopping(Shopping shopping);\n}", "public DAOImpl(String baseDatos, String usuario, String clave){\n this.baseDatos = baseDatos;\n this.usuario = usuario;\n this.clave = clave;\n }", "public interface DUserDao {\n /**\n * 根据手机和密码,查询返回病患信息\n * 若不存在返回空,若密码不对返回id=0的医生\n * @param phone 医生手机\n * @return\n */\n DUser queryByPhone(@Param(\"phone\") String phone);\n\n /**\n * 新建一个医生用户\n * @param dUser\n * @return\n */\n boolean save(DUser dUser);\n\n /**\n * 查询所有的医生用户\n * @return\n */\n ArrayList<DUser> queryAll();\n\n /**\n * 更新医生\n * @param dUser\n * @return\n */\n boolean updateDUser(DUser dUser);\n}", "public interface ReadDao {\n\n /**\n * 根据手机号码获取用户\n *\n * @param phone\n * @return\n */\n @Select(\"select * from t_user where phone=#{phone}\")\n UserModel getUserByPhone(@Param(\"phone\") String phone);\n\n /**\n * 根据用户名密码获取用户\n *\n * @param phone\n * @return\n */\n @Select(\"select * from t_user where phone=#{phone} and passwd=substr(md5(#{pwd}),9,8)\")\n UserModel getUserByPassword(@Param(\"phone\") String phone, @Param(\"pwd\") String pwd);\n\n /**\n * 根据商品名查询商品\n *\n * @return\n */\n @Select(\"select id goodsid,name,price from t_goods where name like #{name}\")\n List<Commodity> queryCommodity(@Param(\"name\") String name);\n\n /**\n * 根据关键字查询\n *\n * @param keyword\n * @param size\n * @return\n */\n @Select(\"select * from t_goods where name like #{keyword} limit 0,#{size}\")\n public List<Commodity> getCommodityByKeyword(@Param(\"keyword\") String keyword, @Param(\"size\") int size);\n\n\n /**\n * 根据ID获取商品\n *\n * @param id\n * @return\n */\n @Select(\"select * from t_goods where id=#{id}\")\n public Commodity getCommodityById(@Param(\"id\") long id);\n\n /**\n * 查询所有商品类别\n * @return\n */\n @Select(\"select id,category1,category2 from t_goods_category\")\n public List<CommodityCategory> queryCategorys();\n\n /**\n * 查询所有商品\n * @return\n */\n @Select(\"select * from t_goods\")\n public List<Commodity> queryAllCommodityes();\n\n\n /**\n * 根据父级名称获取子级名称\n *\n * @param name\n * @return\n */\n @Select(\"select * from t_goods_category where category1=#{name}\")\n public List<CommodityCategory> getCommodityCategoryByParentName(@Param(\"name\") String name);\n\n /**\n * 获取一级分类名称\n *\n * @return\n */\n @Select(\"select DISTINCT(category1) as category1 from t_goods_category\")\n public List<CommodityCategory> getParentCommodityCateory();\n}", "public RequisicaoDAO() {\n em = JPAUtil.initConnection();\n }", "public ServiceDAO(){\n\t\t\n\t\tString[] tables = new String[]{\"CUSTOMERS\",\"PRODUCTS\"};\n\t\tfor(String table:tables){\n\t\t\tif(!checkIfDBExists(table)){\n\t\t\t\ttry{\n\t\t\t\t\tnew DerbyDataLoader().loadDataFor(table);\n\t\t\t\t}\n\t\t\t\tcatch(Exception e){\n\t\t\t\t\tlogger.error(\"Error Loading the Data into the Derby\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "public DAOBaseImpl() {\n\t\tsuper();\n\t}", "public interface CompanyDao {\n /**\n * 根据主键ID获取企业信息\n *\n * @param id\n * @return\n */\n Company getById(Long id);\n\n /**\n * 根据会员ID获取企业信息\n *\n * @param memberId\n * @return\n */\n Company getByMemberId(Long memberId);\n \n /**\n * 根据企业名字查询\n *\n * @param company\n * @return\n */\n public Company getByName(String name);\n /**\n * 查询数量\n * @param name\n * @return\n */\n public int getCountByName(@Param(\"name\")String name,@Param(\"statuss\")int statuss[]);\n /**\n * 保存\n * @param company\n */\n public void save(Company company);\n /**\n * 更新\n * @param company\n */\n public void update(Company company);\n}", "public DAO(String dbType){\n this.dbType = dbType;\n if(this.dbType.equals(\"MySQL\")){\n initialPool();\n\n // for q5 mysql use\n if(wholeUserIds == null){\n wholeUserIds = new TreeSet<Long>();\n }\n }\n else if(this.dbType.equals(\"Memory\")){\n // for q5 memory use\n if(wholeCountData == null){\n wholeCountData = new TreeMap<String, Integer>();\n }\n }\n\n }", "public DaoFactory()\n\t{\n\n\t}", "public DaoConnection() {\n\t\t\n\t}", "@DAO(catalog = \"ABC\")\npublic interface AddressDAO {\n static final String TABLE_NAME= \"address\";\n static final String FIELDS = \"id,type,user_id,city,province ,district,phone,address,create_time,update_time,user_device_id\" ;\n static final String INSERT_FIELDS = \"type,user_id,city,province ,district,phone,address,update_time,user_device_id\" ;\n\n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where id =:1\")\n public Address getAddress(long id);\n\n\t@SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where user_id =:1 order by type desc limit :2,:3\")\n\tpublic List<Address> getAddresses(long user_id, int start, int offset);\n\n @ReturnGeneratedKeys\n @SQL(\"insert into \" + TABLE_NAME + \"(\" + INSERT_FIELDS +\") values (:1.type,:1.user_id,:1.city,:1.province,:1.district,:1.phone,:1.address,:1.update_time,:1.user_device_id)\")\n public int addAddress(Address address);\n\n @SQL(\"update \" + TABLE_NAME + \" set city=:1.city,phone =:1.phone, address = :1.address ,update_time=now()\" + \" where id = :1.id\")\n public int updateAddress(Address address);\n\n @SQL(\"delete from \" + TABLE_NAME + \" where id = :1.id\")\n public int delAddress(long address_id);\n\n @SQL(\"update \" + TABLE_NAME + \" set type=1 where id = :1\")\n public int defaultAddress(long address_id);\n\n @SQL(\"update \" + TABLE_NAME + \" set type = 0 where user_id = :1\")\n public int cleanDefaultAddress(long user_id);\n \n @SQL(\"update \" + TABLE_NAME + \" set type = 0 where user_device_id = :1\")\n public int cleanDefaultAddressByUserDeviceId(long userDeviceId);\n \n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where device_user_id =:1\")\n\tpublic List<Address> getAddressesByDeviceUserId(long user_id);\n \n @SQL(\"select \"+ FIELDS +\" from \" + TABLE_NAME + \" where user_id =:1\")\n\tpublic List<Address> getAddresses(long user_id);\n \n @SQL(\"update \" + TABLE_NAME + \" set user_id=:1,user_device_id= -1 where user_device_id = :2\")\n public Integer bindAddress2User(long userId,long userDeviceId);\n \n @ReturnGeneratedKeys\n @SQL(\"insert into \" + TABLE_NAME + \"(\" + INSERT_FIELDS +\") values (:1.type,:1.user_id,:1.city,:1.province,:1.district,:1.phone,:1.address,:1.update_time,:1.user_device_id)\")\n public int addAddressByUserApp(Address address);\n\n}", "public interface CourseDao {\n\n /**\n * 通过课程ID查询课程\n * @param courseId\n * @return\n */\n Course queryCourseById(String courseId);\n\n /**\n * 插入课程\n * @param course\n * @return\n */\n int insertCourse(@Param(\"course\") Course course);\n\n /**\n * 通过ID删除课程\n * @param courseId\n * @return\n */\n int deleteCourseById(String courseId);\n\n /**\n * 查询全部课程\n * @return\n */\n List<Course> queryAllCourses();\n}", "public interface ITimetableDAO {\n\n /**\n * Get all the timetable element of <code>Timetable</code> object <br>\n *\n * @return all the list of <code>Timetable</code> object\n * @throws Exception\n */\n public List<Timetable> getAllTimetable() throws Exception;\n\n /**\n * Get all the list element has search of <code>Timetable</code> object<br>\n *\n * @param from is the date of <code>Timetable</code> object\n * @param to is the date of <code>Timetable</code> object\n * @return all the list has search of <code>Timetable</code> object\n * @throws Exception\n */\n public List<Timetable> getListSearch(String from, String to) throws Exception;\n\n /**\n * Add the all the element of Timetable to database\n *\n * @param date the date of Timetable object, it is an\n * <code>java.sql.Date</code>\n * @param slot the slot of Timetable object, it is an int\n * @param classes the classes of Timetable object, it is a string\n * @param teacher the teacher of Timetable object, it is a string\n * @param room the room of Timetable object, it is an int\n * @throws Exception\n */\n public void addTimetable(String date, String slot, String room, String teacher, String classes) throws Exception;\n\n /**\n * Function to check Timetable exist before add\n *\n * @param date the date of Timetable object, it is an\n * <code>java.sql.Date</code>\n * @param classes the slot of Timetable object, it is an int\n * @param room the room of Timetable object, it is a string\n * @return object of Timetable or null when check exist timetable\n * @throws Exception\n */\n public Timetable checkExistRoomTimeTable(String date, String classes, String room) throws Exception;\n\n /**\n * Paginate by number of timetable in <code>Timetable</code> object <br>\n *\n * @param pageIndex the index of page, it is an <code>int</code>\n * @param pageSize the size of page, it is an <code>int</code>\n * @return list of timetable, it is a <code>java.util.List</code> object.\n * @throws java.lang.Exception\n */\n public List<Timetable> pagging(int pageIndex, int pageSize) throws Exception;\n\n /**\n * Get number of result <code>Gallery</code> object by id\n *\n * @return number result of Gallery object, it is an int\n * @throws java.lang.Exception\n */\n public int numberOfResult() throws Exception;\n\n /**\n * Function to check Timetable exist before add\n *\n * @param date the date of Timetable object, it is an\n * <code>java.sql.Date</code>\n * @param classes the slot of Timetable object, it is an int\n * @param teacher the teacher of Timetable object, it is a string\n * @return object of Timetable or null when check exist timetable\n * @throws Exception\n */\n public Timetable checkExistTeacherTimeTable(String date, String classes, String teacher) throws Exception;\n\n}", "public GudangDao(Connection con){\r\n this.conn=con;\r\n }", "public interface DaoFactory {\n\n // ===== Getters =====\n\n /**\n * Give the Author Data Access Object.\n *\n * @return the Author Data Access Object.\n */\n AuthorDao getAuthorDao();\n\n /**\n * Give the Book Data Access Object.\n *\n * @return the Book Data Access Object.\n */\n BookDao getBookDao();\n\n /**\n * Give the BookBorrowed Data Access Object.\n *\n * @return the BookBorrowed Data Access Object.\n */\n BookBorrowedDao getBookBorrowedDao();\n\n /**\n * Give the bookReservation Data Access Object.\n *\n * @return the bookReservation Data Access Object.\n */\n BookReservationDao getBookReservationDao();\n\n /**\n * Give the Genre Data Access Object.\n *\n * @return the Genre Data Access Object.\n */\n GenreDao getGenreDao();\n\n /**\n * Give the Publisher Data Access Object.\n *\n * @return the Publisher Data Access Object.\n */\n PublisherDao getPublisherDao();\n\n /**\n * Give the Stock Data Access Object.\n *\n * @return the Stock Data Access Object.\n */\n StockDao getStockDao();\n\n /**\n * Give the Address Data Access Object.\n *\n * @return the Address Data Access Object.\n */\n AddressDao getAddressDao();\n\n /**\n * Give the Role Data Access Object.\n *\n * @return the Role Data Access Object.\n */\n RoleDao getRoleDao();\n\n /**\n * Give the User Data Access Object.\n *\n * @return the User Data Access Object.\n */\n UserDao getUserDao();\n\n /**\n * Give the UserOptions Data Access Object.\n *\n * @return the UserOptions Data Access Object.\n */\n UserOptionsDao getUserOptionsDao();\n\n // ===== Setters =====\n\n /**\n * Set the Author Data Access Object.\n *\n * @param authorDao the Author Data Access Object.\n */\n void setAuthorDao(final AuthorDao authorDao);\n\n /**\n * Set the Book Data Access Object.\n *\n * @param bookDao the Book Data Access Object.\n */\n void setBookDao(final BookDao bookDao);\n\n /**\n * Set the BookBorrowed Data Access Object.\n *\n * @param bookBorrowedDao the BookBorrowed Data Access Object.\n */\n void setBookBorrowedDao(final BookBorrowedDao bookBorrowedDao);\n\n /**\n * Set the BookReservation Data Access Object.\n *\n * @param bookReservationDao the BookReservation Data Access Object.\n */\n void setBookReservationDao(final BookReservationDao bookReservationDao);\n\n /**\n * Set the Genre Data Access Object.\n *\n * @param genreDao the Genre Data Access Object.\n */\n void setGenreDao(final GenreDao genreDao);\n\n /**\n * Set the Publisher Data Access Object.\n *\n * @param publisherDao the Publisher Data Access Object.\n */\n void setPublisherDao(final PublisherDao publisherDao);\n\n /**\n * Set the Stock Data Access Object.\n *\n * @param stockDao the Stock Data Access Object.\n */\n void setStockDao(final StockDao stockDao);\n\n /**\n * Set the Address Data Access Object.\n *\n * @param addressDao the Address Data Access Object.\n */\n void setAddressDao(final AddressDao addressDao);\n\n /**\n * Set the Role Data Access Object.\n *\n * @param roleDao the Role Data Access Object.\n */\n void setRoleDao(final RoleDao roleDao);\n\n /**\n * Set the User Data Access Object.\n *\n * @param userDao the User Data Access Object.\n */\n void setUserDao(final UserDao userDao);\n\n /**\n * Set the User Data Access Object.\n *\n * @param userOptionsDao\n */\n void setUserOptionsDao(final UserOptionsDao userOptionsDao);\n}", "public UnidadDAO() {\n this.setCon(cs.getConection());\n \n }", "public ZyCorporationDAOImpl() {\r\n super();\r\n }", "public interface DeptDao {\n\n public Dept selectDept(int id);\n\n public List<Dept> queryAll(@Param(\"tableName\") String tableName);\n\n public void login(@Param(\"name\") String name,@Param(\"password\") String password);\n}", "private HibernateToListDAO(){\r\n\t\tfactory = new AnnotationConfiguration().addPackage(\"il.hit.model\") //the fully qualified package name\r\n .addAnnotatedClass(User.class).addAnnotatedClass(Items.class)\r\n .addResource(\"hibernate.cfg.xml\").configure().buildSessionFactory();\r\n\t}", "public interface modeloDAO {\n void insert(Object obj);\n void update(Object obj);\n void delete(Object obj);\n ArrayList<Object> get();\n}", "public interface SubGeneroDAO {\n /**\n * Método que permite guardar un subgénero.\n * @param subGenero {@link SubGenero} objeto a guardar.\n */\n void guardar(SubGenero subGenero);\n\n /**\n * Método que permite actualizar un subgénero.\n * @param subGenero {@link SubGenero} objeto a actualizar.\n */\n void actualizar(SubGenero subGenero);\n\n /**\n * Método que permite eliminar un subgénero por su identificador.\n * @param id {@link Long} identificador del subgénero a eliminar.\n */\n void eliminiar(Long id);\n\n /**\n * Método que permite consultar la lista de subgéneros.\n * @return {@link List} lista de subgéneros consultados.\n */\n List<SubGenero> consultar();\n\n /**\n * Método que permite consultar un SubGenero a partir de su identificador.\n * @param id {@link Long} identificador del subgénero a consultar.\n * @return {@link SubGenero} un objeto subgénero consultado.\n */\n SubGenero consultarById(Long id);\n\n\n}" ]
[ "0.7900227", "0.75988007", "0.7548652", "0.7466714", "0.7398924", "0.73969024", "0.73567295", "0.7339949", "0.73070186", "0.72979397", "0.720664", "0.7166865", "0.7157461", "0.712254", "0.71006966", "0.7091543", "0.70833766", "0.7061994", "0.7060065", "0.7050846", "0.70420384", "0.699196", "0.6989088", "0.6962268", "0.6960381", "0.6950203", "0.6945019", "0.694008", "0.6937827", "0.69268435", "0.6923866", "0.69172144", "0.69153774", "0.69105583", "0.69069755", "0.6902787", "0.6897004", "0.68922716", "0.6883312", "0.6882906", "0.6878957", "0.68703395", "0.68678486", "0.6866534", "0.6856094", "0.6855927", "0.68556046", "0.6853461", "0.6849095", "0.6848228", "0.68476886", "0.68472964", "0.68436193", "0.6839331", "0.68354887", "0.6834982", "0.6833754", "0.6832331", "0.68287903", "0.6825848", "0.68247795", "0.6824175", "0.6821866", "0.68206537", "0.6817812", "0.68132085", "0.6804127", "0.68019235", "0.6796983", "0.67933565", "0.67879254", "0.6786577", "0.67827743", "0.6782647", "0.67826337", "0.6781265", "0.6771435", "0.67701197", "0.676717", "0.67613363", "0.6753244", "0.6747315", "0.67461693", "0.6745998", "0.6745811", "0.6742079", "0.67382085", "0.67370427", "0.67346257", "0.67315674", "0.67274046", "0.6726268", "0.67218363", "0.6721471", "0.67193735", "0.6718526", "0.6717284", "0.6714881", "0.6709013", "0.6708848", "0.6708481" ]
0.0
-1
false for available and true for borrowed
public Video(String iD, String title, String genre, int rental_type, boolean rental_status) { super(); ID = iD; this.title = title; this.genre = genre; this.rental_type = rental_type; this.rental_status = rental_status; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean borrowed()\r\n\t{\n\t\treturn !(currentlyBorrowed == null);\r\n\t}", "Boolean isAvailable();", "public abstract boolean isAvailable();", "public abstract boolean isAvailable();", "private boolean checkiforiginal(int copynum) {\n boolean isAvailable = false;\n if (copynum == 0) {\n isAvailable = true;\n }\n return isAvailable;\n }", "boolean isAvailable();", "boolean isAvailable();", "boolean isAvailable();", "boolean isAvailable();", "public boolean isUseable()\n {\n if (state == 0)\n {\n return true;\n }\n return false;\n }", "public boolean canBeUsed(){\n\t\treturn !(this.isUsed);\n\t}", "boolean isAvailable() {\r\n\t\treturn available;\r\n\t}", "protected boolean isAvailable() {\r\n\t\treturn true;\r\n\t}", "public boolean isAvailable() {\r\n\treturn available;\r\n }", "boolean available()\n {\n synchronized (m_lock)\n {\n return (null == m_runnable) && (!m_released);\n }\n }", "public abstract boolean isUsable();", "public boolean getAvailability(){\n return availabile;\n }", "boolean isUsed();", "boolean isUsed();", "public boolean isAvalible() {\n return available;\n }", "public void setBorrowed(boolean isBorrowed){ this.isBorrowed = isBorrowed; }", "public boolean isAvailable(){\r\n // return statement\r\n return (veh == null);\r\n }", "public Boolean canBorrowBook() {\n\t\tif (loans.size() >= getLoanLimit()) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "boolean isAchievable();", "public boolean isAvailable()\n {\n return available;\n }", "public boolean isAvailable() {\n return available;\n }", "boolean hasRef();", "public boolean isAvailable() {\r\n\t\treturn available;\r\n\t}", "boolean internal();", "public boolean isAvailable() {\n return available;\n }", "public boolean isAvailable() {\n return available;\n }", "public boolean isAvailable() {\n return available;\n }", "public void makeAvailable() {\n\t\tavailable = true;\n\t}", "public boolean isAvailable() {\r\n return isavailable;\r\n }", "boolean isSetRef();", "public Boolean isFree()\n\t{\n\t\treturn free;\n\t}", "public boolean isAvailable() {\n\t\tObject oo = get_Value(\"IsAvailable\");\n\t\tif (oo != null) {\n\t\t\tif (oo instanceof Boolean)\n\t\t\t\treturn ((Boolean) oo).booleanValue();\n\t\t\treturn \"Y\".equals(oo);\n\t\t}\n\t\treturn false;\n\t}", "public Boolean isAvailable()\n\t{\n\t\treturn presence != null && presence.equals(AVAILABLE);\n\t}", "default Optional<Boolean> isPubliclyReleasable() {\n return Optional.empty();\n }", "public abstract boolean canUse();", "boolean hasReference();", "boolean isReserved();", "public boolean isAvailable() {\n lock.readLock().lock();\n try {\n return available;\n } finally {\n lock.readLock().unlock();\n }\n }", "public void takeAvailable() {\n\t\tavailable = false;\n\t}", "public boolean isReleasable() { return isDone(); }", "boolean hasPakringFree();", "boolean hasPakringFree();", "public final boolean canUse(){\n\t\tmaintain();\n\t\t//check if grown if not try to grow\n\t\tif(grown){\t\n\t\t\tif(host.getStrength()>USE_COST){\n\t\t\t\thost.expend(USE_COST);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\thost.expend(host.getStrength());\n\t\t\t}\n\t\t}\n\t\telse{\t\t\t\n\t\t\tcanGrow(host, this);\n\t\t}\t\n\t\treturn false;\n\t}", "public boolean isAvailable(){\n\t\ttry{\n\t\t\tgetPrimingsInternal(\"Test\", \"ATGATGATGATGATGATGATG\");\n\t\t}\n\t\tcatch(IOException e){\n\t\t\treturn false;\n\t\t}\n\t\tcatch(InterruptedException e){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "protected boolean getUsed(){\n\t\treturn alreadyUsed;\n\t}", "public void setAvailable(boolean x){\n availabile = x;\n }", "public boolean checkAvailability(int num_used) {\n return num_used != this.num_uses;\n }", "boolean hasRetainFlag();", "public abstract boolean isAssignable();", "default boolean isAvailable() {\n switch (getState()) {\n case STOPPED:\n return true;\n case STARTING:\n return false;\n case STARTED:\n return false;\n case STOPPING:\n return false;\n default:\n throw new IllegalStateException(\"The speaker state is in an unknown state\");\n }\n }", "public boolean isReserved(){\n\t\treturn reserved;\n\t}", "boolean hasUsage();", "private boolean isAvailable() {\n\t\tfor (int i = 0; i < lawsuitsAsClaimant.size(); i++) {\n\t\t\tif (lawsuitsAsClaimant.get(i).isActive()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Check lawsuits as Defendant\n\t\tfor (int i = 0; i < lawsuitsAsDefendant.size(); i++) {\n\t\t\tif (lawsuitsAsDefendant.get(i).isActive()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "public boolean isOwned(){\n\t\treturn isOwned;\n\t}", "boolean isFree(Position position);", "public boolean isAcquired() {\r\n return false;\r\n }", "public synchronized void makeAvailable(){\n isBusy = false;\n }", "public boolean readBoolean()\r\n/* 381: */ {\r\n/* 382:394 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 383:395 */ return super.readBoolean();\r\n/* 384: */ }", "public boolean isAvailable() {\n return LocalTime.now().isAfter(busyEndTime);\n }", "public boolean isBuyable();", "protected boolean func_70814_o() { return true; }", "private static boolean isReadyForUse(IReasoner reasoner) {\r\n boolean result = false;\r\n if (null != reasoner) {\r\n ReasonerDescriptor desc = reasoner.getDescriptor();\r\n if (null != desc) {\r\n result = desc.isReadyForUse();\r\n }\r\n }\r\n return result;\r\n }", "public abstract boolean isRetained(Coordinate c);", "boolean hasAlreadCompareLose();", "public boolean isKnown();", "public boolean poolTransfer() {\n \t\treturn !isTransfering();\n \t}", "private boolean dataAvailableOffline() {\n return false;\n }", "@Override\n public boolean isAvailable(Resource resource) {\n return false;\n }", "public void setAvailable(boolean a)\n {\n this.available = a;\n }", "protected boolean isOccupied(){\n\t\treturn occupied;\n\t}", "public boolean isHolding();", "private boolean isValid() {\n\t\treturn proposalTable != null && !proposalTable.isDisposed();\n\t}", "boolean hasForRead();", "boolean checkAvailable(String userName);", "public boolean isOccupied() {\n return !(getLease() == null);\r\n }", "public Boolean getFree() {\n return free;\n }", "public boolean isAbleToBeAllocated( )\r\n {\r\n // Do not allow allocation if it's too slow!\r\n if (lastTransferRateBPS < ServiceManager.sCfg.minimumAllowedTransferRate\r\n && lastTransferRateBPS > 0)\r\n {\r\n addToCandidateLog( \"Refusing candidate allocation as last transfer rate was only \" \r\n + lastTransferRateBPS + \" bps\");\r\n NLogger.debug( NLoggerNames.Download_Candidate_Allocate,\r\n \"Refusing candidate allocation as last transfer rate was only \" \r\n + lastTransferRateBPS + \" bps\");\r\n return false;\r\n }\r\n long currentTime = System.currentTimeMillis();\r\n return statusTimeout <= currentTime;\r\n }", "boolean hasCandidate();", "public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }", "public boolean isAvailable() {\n return this.isAcceptingRider && this.currentTrip == null;\n }", "public final boolean inUse()\n{\n\tif (_buildTime > 0)\n\t{\n\t\treturn false;\n\t}\n\treturn (_base.getAvailableQuarters() - _rules.getPersonnel() < _base.getUsedQuarters() ||\n\t\t\t_base.getAvailableStores() - _rules.getStorage() < _base.getUsedStores() ||\n\t\t\t_base.getAvailableLaboratories() - _rules.getLaboratories() < _base.getUsedLaboratories() ||\n\t\t\t_base.getAvailableWorkshops() - _rules.getWorkshops() < _base.getUsedWorkshops() ||\n\t\t\t_base.getAvailableHangars() - _rules.getCrafts() < _base.getUsedHangars());\n}", "boolean isAccepting();", "public boolean hasBeenAcquired(){\r\n\t\treturn !(acquiredBy == null);\r\n\t}", "public boolean isReserved() {\n return reserved;\n }", "public boolean isPossibleToTake() {\n if (storage == 0) {\n return false;\n } else {\n return true;\n }\n }", "boolean getAlive();", "boolean isBeingUsed() {\n return usageCount > 0;\n }", "private boolean isBusy() {\n return currentStudent != null;\n }", "boolean hasExternalAttributionCredit();", "public boolean repOK(){\n if(passenger == null) return false;\n if(car == null) return false;\n return true;\n }", "public boolean isRenewable() {\n return type_ == TYPE_MULTIPLE_USE_RENEWABLE;\n }", "boolean CanBuyRoad();", "boolean get();", "Link getIsReuseOf();", "public boolean issueBook()\n\t{\n\t\tif(availableBooks==0)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tavailableBooks--;;\n\t\t\treturn true;\n\t\t}\n\t}", "@Test(timeout = 4000)\n public void test098() throws Throwable {\n boolean boolean0 = DBUtil.available(\"Y'\", \"org.databene.commons.condition.CompositeCondition\", \"relative\", \" connection(s)\");\n assertFalse(boolean0);\n }" ]
[ "0.73836887", "0.70678645", "0.69984347", "0.69984347", "0.695874", "0.6907187", "0.6907187", "0.6907187", "0.6907187", "0.68717843", "0.6720766", "0.66985315", "0.6682481", "0.6673287", "0.6662675", "0.663431", "0.66222453", "0.660629", "0.660629", "0.6578764", "0.6544855", "0.6544618", "0.6512549", "0.64997303", "0.64834785", "0.64777106", "0.6470109", "0.6438199", "0.6430872", "0.6406232", "0.6387157", "0.6387157", "0.63118637", "0.6309232", "0.63076067", "0.6292554", "0.6279551", "0.6274793", "0.62736595", "0.62670434", "0.62657887", "0.6251498", "0.62473214", "0.6244893", "0.62217957", "0.62016714", "0.62016714", "0.6191707", "0.61851436", "0.6173589", "0.6168595", "0.616155", "0.6160196", "0.6124375", "0.6076365", "0.6063462", "0.60612833", "0.6055539", "0.60468", "0.60426867", "0.60291106", "0.60258275", "0.60063565", "0.6002114", "0.5993171", "0.5989543", "0.59895027", "0.59816813", "0.59805673", "0.59768605", "0.5965176", "0.59650946", "0.59537745", "0.5941449", "0.59347963", "0.5927055", "0.59235084", "0.5917371", "0.59145254", "0.59128714", "0.5897617", "0.5896049", "0.58915085", "0.5890055", "0.58855826", "0.5883143", "0.5872804", "0.5872104", "0.5871096", "0.5862965", "0.58583516", "0.5849087", "0.5845364", "0.5844525", "0.58361715", "0.5824803", "0.58156645", "0.5812163", "0.58115053", "0.579651", "0.57945037" ]
0.0
-1
Calcul du poids de cet equipement
public int totalEffetInventaire() { int limiteInventaire = 0; if (bonusForce >0) limiteInventaire+= bonusForce; if (bonusDefense >0) limiteInventaire+= bonusDefense; if (bonusVie >0) limiteInventaire+= bonusVie; if (bonusEsquive >0) limiteInventaire+= bonusEsquive; if (bonusInventaire >0) limiteInventaire+= bonusInventaire; return limiteInventaire*3/4; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double Poids () {return this.masse()*G/(this.r*this.r);}", "public double perimeter ()\r\n {\r\n return v1.distanceTo(v2)+v2.distanceTo(v3)+v3.distanceTo(v1);\r\n }", "public void calcPerimeter(){\n perimeter=side1+side2+side3;\n }", "public PVector cohesion (ArrayList<Boid> boids) {\n float neighbordist = 50;\n PVector sum = new PVector(0, 0); // Start with empty vector to accumulate all positions\n int count = 0;\n for (Boid other : boids) {\n float d = PVector.dist(position, other.position);\n if ((d > 0) && (d < neighbordist)) {\n sum.add(other.position); // Add position\n count++;\n }\n }\n if (count > 0) {\n sum.div(count);\n return seek(sum); // Steer towards the position\n } else {\n return new PVector(0, 0);\n }\n }", "public double perimeter()\n\t{\n\t\t// To recognize points, their angles must be compared - middle one always represents the opposing point.\n\t\tdouble angleXAB = pointA.calculateLineAngle(pointB);\n\t\tdouble angleXAC = pointA.calculateLineAngle(pointC);\n\t\tdouble angleXAD = pointA.calculateLineAngle(pointD);\n\t\t\n\t\tdouble side1;\n\t\tdouble side2;\n\t\tdouble side3;\n\t\tdouble side4;\n\n\t\t// Creates sides based on angles comparison.\n\n\t\t// Excluding double 0 cases (vertical and horizontal)\n\t\t// opposite is XAB\n\t\tif(angleXAC == angleXAD)\n\t\t{\n\t\t\tside1 = pointA.getDistance(pointC);\n\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\tside3 = pointB.getDistance(pointC);\n\t\t\tside4 = pointB.getDistance(pointD);\n\t\t\treturn \tside1 + side2 + side3 + side4;\n\t\t} // if \n\t\t// opposite is XAC\n\t\telse if(angleXAB == angleXAD)\n\t\t{\n\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\tside3 = pointC.getDistance(pointB);\n\t\t\tside4 = pointC.getDistance(pointD);\n\t\t\treturn \tside1 + side2 + side3 + side4;\n\t\t} // else if \n\t\t// opposite is XAD\n\t\telse if(angleXAB == angleXAC)\n\t\t{\n\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\tside2 = pointA.getDistance(pointC);\n\t\t\tside3 = pointD.getDistance(pointB);\n\t\t\tside4 = pointD.getDistance(pointC);\n\t\t\treturn \tside1 + side2 + side3 + side4;\n\t\t} // else if \n\t\tif(angleXAB > angleXAC)\n\t\t{\n\t\t\t// opposite is XAC\n\t\t\tif(angleXAC > angleXAD)\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\t\tside3 = pointC.getDistance(pointB);\n\t\t\t\tside4 = pointC.getDistance(pointD);\n\n\t\t\t} // if\n\t\t\t// opposite is XAB\n\t\t\telse if (angleXAD > angleXAB)\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointC);\n\t\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\t\tside3 = pointB.getDistance(pointC);\n\t\t\t\tside4 = pointB.getDistance(pointD);\n\t\t\t} // else if\t\n\t\t\t// opposite is XAD\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\t\tside2 = pointA.getDistance(pointC);\n\t\t\t\tside3 = pointD.getDistance(pointB);\n\t\t\t\tside4 = pointD.getDistance(pointC);\n\t\t\t} // else\n\t\t} // if\n\t\telse\t\n\t\t{\n\t\t\t// opposite is XAC\n\t\t\tif(angleXAD > angleXAC)\t\t\t\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\t\tside3 = pointC.getDistance(pointB);\n\t\t\t\tside4 = pointC.getDistance(pointD);\n\t\t\t} // if \n\t\t\t// opposite is XAD\n\t\t\telse if (angleXAD > angleXAB)\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointB);\n\t\t\t\tside2 = pointA.getDistance(pointC);\n\t\t\t\tside3 = pointD.getDistance(pointB);\n\t\t\t\tside4 = pointD.getDistance(pointC);\n\t\t\t} // else if \n\t\t\t// opposite is XAB\n\t\t\telse \t\n\t\t\t{\n\t\t\t\tside1 = pointA.getDistance(pointC);\n\t\t\t\tside2 = pointA.getDistance(pointD);\n\t\t\t\tside3 = pointB.getDistance(pointC);\n\t\t\t\tside4 = pointB.getDistance(pointD);\n\t\t\t} // else\n\t\t} // else\t\t\n\t\treturn \tside1 + side2 + side3 + side4;\n\t\t\n\t}", "public double getPerimeter(){\n return side1 + side2 + side3;\n }", "public double getPerimeter(){\n\t\tdouble p;\n\t\tp=getside1()+getside2()+getside3();\n\t\treturn p;\n\t}", "public double getNajvacsie() {\n\t\tif ((cislo1 >= cislo2) && (cislo1 >= cislo3)) {\n\t\t\tprve = cislo1;\n\t\t} else if ((cislo2 >= cislo1) && (cislo2 >= cislo3)) {\n\t\t\tprve = cislo2;\n\t\t} else if ((cislo3 >= cislo1) && (cislo3 >= cislo2)) {\n\t\t\tprve = cislo3;\n\t\t}\n\t\treturn prve;\n\n\t}", "double getPerimeter();", "double getPerimeter();", "double getPerimeter();", "double getPerimeter();", "private Double getProzent(Double points)\r\n \t{\r\n \t\treturn points / totalPoints;\r\n \t}", "@Override\r\n public double obtenerVolumen() {\n return Math.pow(getA(), 3);//eleva al cubo\r\n }", "public int promedio() {\r\n // calculo y redondeo del promedio\r\n promedio = Math.round(nota1B+nota2B);\r\n // paso de Double a Int\r\n return (int) promedio;\r\n }", "@Override\r\n\tpublic void calcPerimeter() {\n\t\t\r\n\t}", "double getPerimeter() {\n return width + width + height + height;\n }", "public Point centeroid ()\r\n {\r\n return new Point ((v1.getX()+v2.getX()+v3.getX())/3,(v1.getY()+v2.getY()+v3.getY())/3);\r\n }", "public double calcPerimeter()\n\t{\n\t\treturn (double) oneside * 4;\n\t}", "@Override\n public int calculerPerimetre() {\n return (int)(rayon * 2 * Math.PI);\n }", "double perimeter();", "private void calculateVolume() {\n\n\t\t/*\n\n\t\t */\n\t\tfor(int i=0; i<this._prismoidsLength.size(); i++) \n\t\t\tthis._prismoidsVolumes.add(\n\t\t\t\t\tAmount.valueOf(\n\t\t\t\t\t\t\tthis._prismoidsLength.get(i).divide(3)\n\t\t\t\t\t\t\t.times(\n\t\t\t\t\t\t\t\t\tthis._prismoidsSectionsAreas.get(i).getEstimatedValue()\n\t\t\t\t\t\t\t\t\t+ this._prismoidsSectionsAreas.get(i+1).getEstimatedValue()\n\t\t\t\t\t\t\t\t\t+ Math.sqrt(\n\t\t\t\t\t\t\t\t\t\t\tthis._prismoidsSectionsAreas.get(i)\n\t\t\t\t\t\t\t\t\t\t\t.times(this._prismoidsSectionsAreas.get(i+1))\n\t\t\t\t\t\t\t\t\t\t\t.getEstimatedValue()\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t).getEstimatedValue(),\n\t\t\t\t\t\t\tSI.CUBIC_METRE\n\t\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\n\t\tfor(int i=0; i<this._prismoidsVolumes.size(); i++)\n\t\t\tthis._fuelVolume = this._fuelVolume\n\t\t\t\t\t\t\t\t\t\t.plus(this._prismoidsVolumes.get(i));\n\t\tthis._fuelVolume = this._fuelVolume.times(2);\n\t\t\n\t}", "public abstract double calculatePerimeter();", "public abstract double calculatePerimeter();", "public double calculatePerimeter() {\r\n return 2 * PI * radius;\r\n }", "protected double getPerimeter()\r\n {\r\n return ( 2 + Math.sqrt( 2.0 ) ) * getSide();\r\n }", "double getPerimeter(){\n return 2*height+width;\n }", "public double getPerimeter (Shape s) {\n double totalPerim = 0.0;\n // Start wth prevPt = the last point \n Point prevPt = s.getLastPoint();\n // For each point currPt in the shape,\n for (Point currPt : s.getPoints()) {\n // Find distance from prevPt point to currPt \n double currDist = prevPt.distance(currPt);\n // Update totalPerim by currDist\n totalPerim = totalPerim + currDist;\n // Update prevPt to be currPt\n prevPt = currPt;\n }\n // totalPerim is the answer\n return totalPerim;\n }", "public double calculatePerimeter()\n {\n return 2 * Math.PI * radius;\n }", "public double getPerimeter();", "public double getPerimeter();", "public double perimeter(){\n perimeter = calcSide(x1,y1,x2,y2)+calcSide(x2,y2,x3,y3)+calcSide(x3,y3,x1,y1);\n \n \n \n return perimeter;\n \n \n }", "@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}", "public static double poids(Simulateur simul, Robot rob, Case c, LinkedList<Direction> list){\n\t\tif(list==null){\n\t\t\treturn Double.MAX_VALUE;\n\t\t}\n\t\tif(list.size()==0){\n\t\t\treturn 0;\n\t\t}\n\t\tIterator<Direction> itr = list.iterator();\n\t\tCase c2 = simul.data.map.getVoisin(c, itr.next());\n\t\tdouble p = rob.getTempsDeplacement( c, c2, simul.data.map.getTailleCases());\n\t\twhile(itr.hasNext()){\n\t\t\tCase c1 = c2;\n\t\t\tc2 = simul.data.map.getVoisin(c1, itr.next());\n\t\t\tp += rob.getTempsDeplacement( c1, c2, simul.data.map.getTailleCases());\n\t\t}\n\t\treturn p;\n\t}", "public double perimeter();", "public int getPrecios()\r\n {\r\n for(int i = 0; i < motos.size(); i++)\r\n {\r\n precio_motos += motos.get(i).getCoste();\r\n }\r\n \r\n return precio_motos;\r\n }", "public double getPerimeter (Shape s) {\n double totalPerim = 0.0;\n // Start wth prevPt = the last point\n Point prevPt = s.getLastPoint();\n // For each point currPt in the shape,\n for (Point currPt : s.getPoints()) {\n // Find distance from prevPt point to currPt\n double currDist = prevPt.distance(currPt);\n // Update totalPerim by currDist\n totalPerim = totalPerim + currDist;\n // Update prevPt to be currPt\n prevPt = currPt;\n }\n // totalPerim is the answer\n return totalPerim;\n }", "@Override\r\n\tpublic double getPerimeter() {\n\t\treturn (this.side1 + this.side2 + this.base);\r\n\t}", "public int getPerimeter()\t{\n//\t\treturn 2 * x + 2 * y;\n\t\treturn x + y + width + height;\n\t}", "private int obliczDowoz() {\n int x=this.klient.getX();\n int y=this.klient.getY();\n double odl=Math.sqrt((Math.pow((x-189),2))+(Math.pow((y-189),2)));\n int kilometry=(int)(odl*0.5); //50 gr za kilometr\n return kilometry;\n }", "public static void numberTwo(){\n\n\n short x = 40; // 1 side side of cube 40 cm\n short y = 12; // cube has 12 edges\n short perimetercube = 40 * 12;\n System.out.println(\" Perimeter cube:\" + perimetercube);\n // Piramida - rectangle\n int a1 = 20;\n int b2 = 30;\n int c3 = 20;\n int d4 = 30;\n int perimeter = a1 + b2 + c3 + d4;\n System.out.println(\" Perimeter rectangle : \" + perimeter);\n final double PI = 3.14;\n\n\n\n double veryDouble = 3.14;\n double r = 58;\n\n System.out.println(PI);\n\n }", "@Override\n public double getPerimeter() {\n return 4 * ((int) this.radiusX + (int) this.radiusY - (4 - Math.PI) * ((int) this.radiusX * (int) this.radiusY) / ((int) this.radiusX + (int) this.radiusY));\n }", "private double calculatePI() {\n return 4.0 * numberOfPointsInsideCircle / numberOfPoints;\n }", "public int perimeter() {\n \treturn 0;\n }", "@Override\n\tpublic double calculatePerimeter() {\n\t\treturn 2* Shape.PI * r;\n\t}", "@Override\n\tpublic double calPerimeter() {\n\t\treturn 2*Math.PI*radius;\n\t}", "public PVector cohesion (ArrayList<Boid> boids) {\n float neighbordist = 90.0f;\n PVector steer = new PVector(0,0); // Start with empty vector to accumulate all locations\n int count = 0;\n for (Boid other : boids) {\n float d = PVector.dist(location,other.location);\n if ((d > 0) && (d < neighbordist)) {\n steer.add(other.location); // Add location\n count++;\n }\n }\n if (count > 0) {\n steer.div((float)count);\n return seek(steer); // Steer towards the location\n }\n return steer;\n }", "public void calcularIndicePlasticidad(){\r\n\t\tindicePlasticidad = limiteLiquido - limitePlastico;\r\n\t}", "@Override\n\tpublic double calcPerimeter() {\n\t\treturn 2*(x+y);\n\t}", "@Override\n public int calculerSurface() {\n return (int)(Math.PI * carre(rayon));\n }", "public Double getPrecio(){\n\t\t// Implementar\n\t\tDouble precio = 0.0;\n\t\tfor (Ingrediente ingrediente : ingredientes) {\n\t\t\tprecio+=ingrediente.getPrecio();\n\t\t}\n\t\treturn precio;\n\t}", "@Override\n public double obtenerVolumen(){\n return (1.0 / 3.0) * c.obtenerArea() * c.obtenerAltura();\n }", "public int produtosDiferentesComprados(){\r\n return this.faturacao.produtosDiferentesComprados();\r\n }", "public double[] getCot() { return Cot; }", "@Override\n\tpublic double mangeViande() {\n\t\treturn quantiteViande*this.getPoids();\n\t}", "private double calculaPerimetro(){\r\n double perimetro;\r\n perimetro=(float) ((2*(cir.getY()-cir.getX()))*Math.PI);\r\n return perimetro;\r\n }", "public double getPerimeter(){\n return 0;\n }", "public abstract float getPerimeter();", "public double getEquinox();", "@Override\n\tpublic double getPerimeter() {\n\t\treturn side1 + side2 + side3;\n\t}", "public double promedioAlum(){\n setProm((getC1() + getC2() + getC3() + getC4()) / 4);\n return getProm();\n }", "int numOfPillars() {\n // there are one more coordinate line than blocks in each direction\n // since each block must be hinged on a coordinate line on each side\n return (ni+1) * (nj+1);\n }", "static Double computePerimeter() {\n // Perimeter is 2(height) + 2(width)\n Double perimeter = height*2 + width*2;\n return perimeter;\n }", "private double hitungG_pelukis(){\r\n return Math.sqrt(Math.pow(super.getRadius(),2)+Math.pow(tinggi,2));\r\n }", "public double getStockFinal(long pv) {\n float entree = 0 ;\n float sortie = 0 ;\n\n ArrayList<Produit> produits = null ;\n if (pv==0) produits = produitDAO.getAll();\n else produits = produitDAO.getAllByPv(pv) ;\n\n ArrayList<Mouvement> mouvements = null;\n\n double valeur = 0 ;\n double total = 0 ;\n double quantite = 0 ;\n double cmpu = 0 ;\n double restant = 0 ;\n double qsortie = 0 ;\n double qentree = 0 ;\n // Vente par produit\n Mouvement mouvement = null ;\n Operation operation = null ;\n\n for (int i = 0; i < produits.size(); i++) {\n try {\n mouvements = mouvementDAO.getManyByProductInterval(produits.get(i).getId_externe(),DAOBase.formatter2.parse(datedebut),DAOBase.formatter2.parse(datefin)) ;\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n if (mouvements != null){\n valeur = 0 ;\n quantite = 0 ;\n restant = 0 ;\n qentree = 0 ;\n cmpu = 0 ;\n qsortie = 0 ;\n\n for (int j = 0; j < mouvements.size(); j++) {\n mouvement = mouvements.get(j) ;\n operation = operationDAO.getOne(mouvement.getOperation_id()) ;\n if (operation==null || (operation.getAnnuler()==1 && operation.getDateannulation().before(new Date())) || operation.getTypeOperation_id().startsWith(OperationDAO.CMD)) continue;\n\n //if (pv!=0 && caisseDAO.getOne(operation.getCaisse_id()).getPointVente_id()!=pv) continue;\n if (j==0)\n if (mouvement.getRestant()==mouvement.getQuantite() && mouvement.getEntree()==0){\n restant = 0 ;\n }\n else restant = mouvement.getRestant() ;\n\n if (mouvement.getEntree()==0) {\n valeur -= mouvement.getPrixA() * mouvement.getQuantite() ;\n qentree += mouvement.getQuantite() ;\n cmpu = mouvement.getPrixA() ;\n }\n else {\n valeur += mouvement.getCmup() * mouvement.getQuantite() ;\n qsortie += mouvement.getQuantite() ;\n }\n /*\n if (restant!=0) cmpu = valeur / restant ;\n else cmpu = mouvement.getCmup() ;\n */\n }\n\n quantite = restant + qentree - qsortie ;\n total+=Math.abs(valeur) ;\n }\n }\n\n return total;\n }", "@Override\n public double getPerimeter() {\n return a + b + c;\n }", "public void hallarPerimetroIsosceles() {\r\n this.perimetro = 2*(this.ladoA+this.ladoB);\r\n }", "public Cartesiana polar_cartesiano (Polar p){\n \n return polar_cartesiano (p.getRadio(),p.getAngulo()); // implementar procedimiento correcto\n}", "public double Perimeter() {\r\n \treturn((getLength() * 2) + (getWidth() * 2));\r\n }", "public double getPerimeter() {\n return 2 * radius * Math.PI;\n }", "private int calcDeg(Point2D[] p)\n {\n Set<Point> set = new HashSet<>();\n for (Point2D itp : p)\n {\n Point np = new Point((int) Math.round(itp.getX() * 1000), (int) Math.round(itp.getY() * 1000));\n set.add(np);\n }\n return set.size();\n }", "public Integer getTotalPeroid() {\n return totalPeroid;\n }", "public double dlugoscOkregu() {\n\t\treturn 2 * Math.PI * promien;\n\t}", "@Override\r\n\tpublic double area() {\n\r\n\t\tif (cube1.area()>cube2.area()) {\r\n\t\r\nc double volume() {\r\n\t\t\t\treturn super.area() * iDepth;\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\tpublic double perimeter() throws UnsupportedOperationException{\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t\t\tpublic class SortByArea implements Comparator<Cuboid>{\r\n\r\n\t\t\t\tSortByArea() {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic int compare(Cuboid cub1, Cuboid cub2) {\r\n\t\t\t\t\tif (cub1.area() > cub2.area()) {\r\n\t\t\t\t\t\treturn 1;\r\n\t\t\t\t\t} else if(cub1.area() < cub2.area()) {\r\n\t\t\t\t\t\treturn -1;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t\t\tpublic class SortByVolume implements Comparator<Cuboid>{\r\n\r\n\t\t\t\tSortByVolume() {\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic int compare(Cuboid cub1, Cuboid cub2) {\r\n\t\t\t\t\tif (cub1.volume() > cub2.volume()) {\r\n\t\t\t\t\t\treturn 1;\r\n\t\t\t\t\t} else if(cub1.volume() < cub2.volume()) {\r\n\t\t\t\t\t\treturn -1;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn 0;\r\n\t\r\n}\r\n}", "int obliczLiczbaKont()\n\t{\n\t\tListaProsumentowWrap listaProsumentowWrap= ListaProsumentowWrap.getInstance();\n\t\tArrayList<Prosument> listaProsumentow = listaProsumentowWrap.getListaProsumentow();\n\t\t\n\t\tint sum=0;\n\t\t\n\t\tint i=0;\n\t\twhile (i<listaProsumentow.size())\n\t\t{\n\t\t\tProsument prosument = listaProsumentow.get(i);\n\t\t\t\n\t\t\tif (prosument instanceof ProsumentEV)\n\t\t\t{\n\t\t\t\tsum+=2;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsum++;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\treturn sum;\n\t}", "@Override\n\tpublic double perimeter() {\n\t\t// TODO Auto-generated method stub\n\t\treturn 0;\n\t}", "public int calculateVolume() {\n return (int) Math.pow(this.sideLength, 3) ;\n }", "public double perimeter() {\n return 2 * Math.PI * r;\n }", "public int getPerimeter()\n\t{\n\t\treturn (int) (Math.PI * radius * 2);\n\t}", "public int donnePoidsMax() { return this.poidsMax; }", "public double getPerimeter(){\r\n\t\t\r\n\t\tdouble obim = 2 * PI * this.radius;\r\n\t\t\r\n\t\treturn obim;\r\n\t}", "@Override\n\tpublic double getPerimeter() {\n\t\treturn this.N * getSide();\n\t}", "@Override\r\n\tpublic double getRelacaoCinturaQuadril() {\r\n\r\n\t\treturn anamnese.getCintura() / anamnese.getQuadril();\r\n\t}", "public static double calcPente(double x, double y){\r\n\t\tif(x == 0 && y == 0)\r\n\t\t\treturn Integer.MAX_VALUE;\r\n\t\tdouble res = (Math.acos(x / (Math.sqrt(x*x + y*y))));\r\n\t\tif(y < 0){\r\n\t\t\tres *= -1;\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "public Object[] pesquisarIntervaloNumeroQuadraPorRota(Integer idRota) throws ErroRepositorioException ;", "public double Baricentro() {\n if (puntos.size() <= 2) {\n return 0;\n } else {\n // Inicializacion de las areas\n double areaPonderada = 0;\n double areaTotal = 0;\n double areaLocal;\n // Recorrer la lista conservando 2 puntos\n Punto2D antiguoPt = null;\n for (Punto2D pt : puntos) {\n if (antiguoPt != null) {\n // Cálculo deñ baricentro local\n if (antiguoPt.y == pt.y) {\n // Es un rectángulo, el baricentro esta en\n // centro\n areaLocal = pt.y * (pt.x - antiguoPt.x);\n areaTotal += areaLocal;\n areaPonderada += areaLocal * ((pt.x - antiguoPt.x) / 2.0 + antiguoPt.x);\n } else {\n // Es un trapecio, que podemos descomponer en\n // un reactangulo con un triangulo\n // rectangulo adicional\n // Separamos ambas formas\n // Primer tiempo: rectangulo\n areaLocal = Math.min(pt.y, antiguoPt.y) + (pt.x - antiguoPt.x);\n areaTotal += areaLocal;\n areaPonderada += areaLocal * ((pt.x - antiguoPt.x) / 2.0 + antiguoPt.x);\n //Segundo tiempo: triangulo rectangulo\n areaLocal = (pt.x - antiguoPt.x) * Math.abs(pt.y - antiguoPt.y) / 2.0;\n areaTotal += areaLocal;\n if (pt.y > antiguoPt.y) {\n // Baricentro a 1/3 del lado pt\n areaPonderada += areaLocal * (2.0 / 3.0 * (pt.x - antiguoPt.x) + antiguoPt.x);\n } else {\n // Baricentro a 1/3 dek lado antiguoPt\n areaPonderada += areaLocal * (1.0 / 3.0 * (pt.x - antiguoPt.x) + antiguoPt.x);\n }\n }\n }\n antiguoPt = pt;\n }\n // Devolvemos las coordenadas del baricentro\n return areaPonderada / areaTotal;\n }\n }", "public int getProteksi(){\n\t\treturn (getTotal() - getPromo()) * protectionCost / 100;\n\t}", "public void perimeter()\n {\n int perimeterOfTraiangle = a+b+c;\n System.out.println(\"Periemter of traiangle : \" + perimeterOfTraiangle);\n }", "abstract void findPerimeter();", "@Override\r\n public double perimeter() {\n return (height+width)*2;\r\n }", "protected void calculerAire() {\r\n\t\taire = Math.PI * rayonV * rayonH;\r\n\t\t\r\n\t}", "public void calcP() {\r\n\t\tthis.setP(sick/people.size());\r\n\t}", "public int getPointsC() {\r\n pointsC = getPointsCroupier() + getPointsCroupier2();\r\n\r\n if (pointsC >= 10) {\r\n pointsC -= 10;\r\n }\r\n\r\n return pointsC;\r\n }", "public static void calcIntegersDivBy()\r\n\t{\r\n\t\tint x = 5;\r\n\t\tint y = 20;\r\n\t\tint p = 3;\r\n\t\tint result = 0;\r\n\t\tif (x % p == 0)\r\n\t\t\tresult = (y / p - x / p + 1);\r\n\t\telse\r\n\t\t\tresult = (y / p - x / p);\r\n\t\tSystem.out.println(result);\r\n\t}", "public void calcArea(){\n double p=(side1+side2+side3)/2;\n area=p*(p-side1)*(p-side2)*(p-side3);\n area=Math.sqrt(area);\n\n\n }", "@Override\r\n\tpublic double perimeter() {\n\t\t\r\n\t\tdouble result;\r\n\t\t\r\n\t\tint width = this.getWidth();\r\n\t\tint height = this.getHeight();\r\n\t\t\r\n\t\tresult = (width + height) * 2;\r\n\t\t\r\n\t\treturn result;\r\n\t}", "@Override\n\tpublic double calculaTributos() {\n\t\treturn numeroDePacientes * 10;\n\t}", "int getRatioQuantity();", "public double similitudPearson(Pelicula i1, Pelicula i2, ArrayList<Long> test){\r\n // Variables auxiliares:\r\n double norma1 = 0;\r\n double norma2 = 0;\r\n int val1;\r\n int val2;\r\n Long key;\r\n double numerador = 0;\r\n double media1 = i1.getMedia();\r\n double media2 = i2.getMedia();\r\n \r\n // 1. Nos quedamos con la películas que tenga menos valoraciones.\r\n if (i1.getValoraciones().size() < i2.getValoraciones().size()){\r\n for (Map.Entry<Long,Valoracion> e : i1.getValoraciones().entrySet()) {\r\n key = e.getKey();\r\n // 2. Descartamos los usuarios de la partición test.\r\n if (!test.contains(key)){\r\n // 3. Comprobamos que la otra película haya sido valorada por el mismo usuario.\r\n if (i2.getValoraciones().containsKey(key)){\r\n // 4. Realizamos los cálculos de similitud.\r\n val1 = e.getValue().getValor();\r\n val2 = i2.getValoraciones().get(key).getValor();\r\n\r\n norma1 = norma1 + (val1 - media1)*(val1 - media1);\r\n norma2 = norma2 + (val2 - media2)*(val2 - media2);\r\n\r\n numerador = numerador + (val1 - media1)*(val2 - media2);\r\n }\r\n }\r\n }\r\n }else{\r\n for (Map.Entry<Long,Valoracion> e : i2.getValoraciones().entrySet()) {\r\n key = e.getKey();\r\n if (!test.contains(key)){\r\n if (i1.getValoraciones().containsKey(key)){\r\n val2 = e.getValue().getValor();\r\n val1 = i1.getValoraciones().get(key).getValor();\r\n\r\n norma1 = norma1 + (val1 - media1)*(val1 - media1);\r\n norma2 = norma2 + (val2 - media2)*(val2 - media2);\r\n\r\n numerador = numerador + (val1 - media1)*(val2 - media2);\r\n }\r\n }\r\n }\r\n }\r\n \r\n if (norma1 != 0 && norma2 !=0){\r\n double sim = numerador / (Math.sqrt(norma1*norma2)) ;\r\n sim = (sim + 1)/2;\r\n if (sim > 1){\r\n return 1;\r\n }\r\n return sim;\r\n }else{\r\n return 0;\r\n }\r\n \r\n }", "int perimeter() {\r\n\t\tint perimeter = 2 * (getLength()) + (getBreath());\r\n\t\treturn (perimeter);\r\n\t}", "public void calcularEntropia(){\n //Verificamos si será con la misma probabilida o con probabilidad\n //especifica\n if(contadorEstados == 0){\n //Significa que será con la misma probabilidad por lo que nosotros\n //calcularemos las probabilidades individuales\n for(int i = 0; i < numEstados; i++){\n probabilidadEstados[i] = 1.0 / numEstados;\n }\n }\n for(int i = 0; i < numEstados; i++){\n double logEstado = Math.log10(probabilidadEstados[i]);\n logEstado = logEstado * (-1);\n double logDos = Math.log10(2);\n double divisionLog = logEstado / logDos;\n double entropiaTmp = probabilidadEstados[i] * divisionLog;\n resultado += entropiaTmp;\n }\n }" ]
[ "0.739408", "0.6049267", "0.6018544", "0.5969417", "0.5896399", "0.58816004", "0.5881239", "0.5853827", "0.5848729", "0.5848729", "0.5848729", "0.5848729", "0.5830038", "0.57921463", "0.57664853", "0.5762468", "0.5761071", "0.5761001", "0.5760687", "0.57432777", "0.57199997", "0.57177424", "0.57045203", "0.57045203", "0.5692297", "0.56890774", "0.5686983", "0.56868595", "0.5666497", "0.56664807", "0.56664807", "0.5647524", "0.564096", "0.5629684", "0.56283736", "0.5624645", "0.5619864", "0.561413", "0.56135064", "0.5608726", "0.56064", "0.55854756", "0.5582709", "0.5580436", "0.55701613", "0.55656487", "0.5565424", "0.5565069", "0.55626845", "0.55614316", "0.55600655", "0.55591404", "0.5548241", "0.55477804", "0.5527687", "0.552736", "0.55227995", "0.55216396", "0.55214876", "0.551769", "0.55012333", "0.5495242", "0.5489239", "0.54881436", "0.5476024", "0.5475831", "0.54660803", "0.54657775", "0.54590976", "0.5449821", "0.54471564", "0.54361385", "0.54358554", "0.54355294", "0.543109", "0.542854", "0.5424796", "0.5423058", "0.5419222", "0.5416673", "0.5409493", "0.54041564", "0.54030997", "0.5400575", "0.5390134", "0.5379206", "0.5361945", "0.535575", "0.53519315", "0.5342429", "0.53396356", "0.5338872", "0.5338339", "0.53345144", "0.5331172", "0.5325882", "0.531297", "0.53081876", "0.530384", "0.5302824", "0.52983034" ]
0.0
-1
Utilise par la methode parler de la console
public String toString() { return this.getNom() + formatbonus('f', bonusForce) + formatbonus('d', bonusDefense) + formatbonus('v', bonusVie) + formatbonus('e', bonusEsquive) + formatbonus('i', bonusInventaire) + ""; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void preparar() {\n\t\tSystem.out.println(\"massa, presunto, queijo, calabreza e cebola\");\n\t\t\n\t}", "public void parler() {\n\t System.out.println(this.formulerMonNom()); // appel d'une méthode de l'objet\n\t System.out.println(\"Je suis un animal et j'ai \" + this.nombreDePatte + \" pattes\");\n\t }", "public void printCommand() {\n System.out.println(\"Cette commande n'est pas supportee\");\n System.out.println(\"Quitter : \\\"quit\\\", Total: \\\"total\\\" , Liste: \\\"list\\\" ou Time: \\\"time\\\"\");\n System.out.println(\"--------\");\n }", "void pasarALista();", "@Override\n\tpublic void pausaParaComer() {\n\n\t}", "public void printCommands(){\n LocalApi.print_commands();\n }", "void comer() {\n\t\tSystem.out.println(\"comiendo\");\n\t}", "@Override\n public void comunicar() {\n System.out.println(\"miauuuu\");\n\n }", "private void printHelp()//Method was given\n {\n System.out.println(\"Your command words are:\");\n parser.showCommands();\n }", "public static void status(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n System.out.printf(\"\\nNOMBRE:\\t\\t\\t\"+nombrePersonaje);\n\tSystem.out.printf(\"\\nPuntos De Vida (HP):\\t\"+puntosDeVida);\n\tSystem.out.printf(\"\\nPuntos De mana (MP):\\t\"+puntosDeMana);\n System.out.printf(\"\\nNivel: \\t\\t\\t\"+nivel);\n\tSystem.out.printf(\"\\nExperiencia:\\t\\t\"+experiencia);\n\tSystem.out.printf(\"\\nOro: \\t\\t\"+oro);\n System.out.printf(\"\\nPotion:\\t\\t\\t\"+articulo1);\n System.out.printf(\"\\nHi-Potion:\\t\\t\"+articulo2);\n System.out.printf(\"\\nM-Potion:\\t\\t\"+articulo3);\n System.out.printf(\"\\n\\tEnemigos Vencidos:\\t\");\n\tSystem.out.printf(\"\\nNombre:\\t\\t\\tNo.Derrotas\");\n System.out.printf(\"\\nDark Wolf:\\t\\t\"+enemigoVencido1);\n\tSystem.out.printf(\"\\nDragon:\\t\\t\\t\"+enemigoVencido2);\n System.out.printf(\"\\nMighty Golem:\\t\\t\"+enemigoVencido3);\t\n }", "private void syso() {\nSystem.out();\r\n}", "ProcessRunner print();", "void showInConsole();", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\r\n Function c = new Function();\r\n //System.out.print(c.PrimeMover(s.nextLine()));\r\n System.out.print(c.PrimeMover(16));\r\n }", "private static void mostrarMenu() {\n\t\tSystem.out.println(\"------------------------------\");\n\t\tSystem.out.println(\"-----------OPCIONES-----------\");\n\t\tSystem.out.println(\"------------------------------\");\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"\\n\\t1) Mostrar los procesos\");\n\t\tSystem.out.println(\"\\n\\t2) Parar un proceso\");\n\t\tSystem.out.println(\"\\n\\t3) Arrancar un proceso\");\n\t\tSystem.out.println(\"\\n\\t4) A�adir un proceso\");\n\t\tSystem.out.println(\"\\n\\t5) Terminar ejecucion\");\n\t\tSystem.out.println(\"\\n------------------------------\");\n\t}", "@Override\r\n\tpublic void alimentar() {\n\t\tSystem.out.print(\" como carne, yummy, yummy\");\r\n\t}", "public static void main(String[] args) {\n\n\t\tString p1, p2, p3;\n\t\tp1 = \"Hola como\";\n\t\tp2 = \"estas hermano\";\n\t\tp3 = \", tanto tiempo\";\n\t\t\tScanner Teclado = new Scanner(System.in);\n\t\t\t\n\t\t\tSystem.out.printf(\" %s %s %s\", p1, p2,p3);\n\t\t\t\n\t}", "@Override\n\tpublic void muestraInfo() {\n\t\tSystem.out.println(\"Adivina un número par: Es un juego en el que el jugador\" +\n\t\t\t\t\" deberá acertar un número PAR comprendido entre el 0 y el 10 mediante un número limitado de intentos(vidas)\");\n\t}", "@Override\n\tpublic String parler() {\n\t\treturn \"Je suis un Orc\";\n\t}", "public void doPrimeObjective()\n {\n getLogger().info( \"hello from TerminalComponent\" );\n }", "public void comer(){\r\n\t\tSystem.out.println(\"He comido\");\r\n\t}", "abstract void initiateConsole();", "public void disparar(){}", "public static void main(String[] args) {\n\tpublic static void vertical (String str))\n\tsystem.out.println(\"The call of vertical (\\\"\" +strt\"\\\") produce the followin output:\");\n\tfor (int i=o;i<str.length(); i++)\n\t{\n\t\t//Display the output\n\t\tSyste.out.println(str.charAt(i));\n\t}\n */\n}", "public abstract void execAndPrint(String s);", "private void execute(){\n readFromConsole();\n getMaxValue();\n }", "private void quoteline(String[] args) {\r\n\t\tStringBuilder buf = new StringBuilder();\r\n\t\tif (args.length>0) buf.append(q(args[0]));\r\n\t\tint k = 1;\r\n\t\twhile(k < args.length) buf.append(delim).append(q(args[k++]));\r\n\t\tout.println(buf.toString());\r\n\t}", "public static void main(String[] args) {\n System.out.println(getLetra(\"los lanister envian sus saludos\",'l'));\n\n }", "public void command() {\n List<String> commands = new ArrayList<>();\n commands.add(\": start\");\n commands.add(\": exit\");\n commands.add(\": help\");\n commands.add(\": commands\");\n\n for (String command : commands) {\n System.out.println(command);\n }\n System.out.println();\n }", "public static void main(String[] args){\n printcom(0 , 4 , 0 , 2 , \"\");\n \n}", "public static void main(String[] args) {\n\t\tCommandProcess cp = new CommandProcess();\n\t\tcp.process(new Command() {\n\t\t\t@Override\n\t\t\tpublic void execute() {\n\t\t\t\tSystem.out.println(\"내용보기 실행\");\n\t\t\t}\n\t\t});\n\t}", "private void getCommand(String cmlet) {\n\t\tSystem.out.println(\"Command Version\");\n\t\tSystem.out.println(\"----------- -------\");\n\t\tSystem.out.println(\" Exit 1.0\");\n\t\tSystem.out.println(\" Get-Host 1.0\");\n\t\tSystem.out.println(\" Get-Command 1.0\");\n\t\tSystem.out.println(\" Write-Host 1.0\");\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(\"4 ile 6 ortalaması: \");\r\n\t\tortala(4,6); // Metot çağrımı\r\n\t}", "private static void instructions()\n {\n System.out.println(\"Input integer on console to invoke method of your choice as follows:\\n\");\n System.out.println( \"0 User's Home Page BY DATE\\n\"\n + \"1 User's Home Page BY USER\\n\"\n + \"2 User's Home Page BY CONVERSATION\\n\"\n + \"3 LeaderBoard MOST SOCIAL\\n\"\n + \"4 LeaderBoard MOST TALKATIVE\\n\"\n + \"5 LeaderBoard LEAST TALKATIVE\\n\"\n + \"-1 To Quit\");\n }", "private void sysout() {\nSystem.out.println(\"pandiya\");\n}", "public static void main(String[] args) {\n\t\tStream st = new Stream();\r\n\t\tSystem.out.println(\">>> Filtrar <<<\");\r\n\t\tst.filtrar();\r\n\t\tSystem.out.println(\">>> Transformar <<<\");\r\n\t\tst.transformar();\r\n\t\tSystem.out.println(\">>> Ordenar <<<\");\r\n\t\tst.ordenar();\r\n\t\tSystem.out.println(\">>> Limitar <<<\");\r\n\t\tst.limitar();\r\n\t\tSystem.out.println(\">>> Contar <<<\");\r\n\t\tst.contar();\r\n\t\t\r\n\t}", "public static void mostrarPorConsola(String[] args) {\n\t}", "public static void main(String[] args) {\n Potencia p = new Potencia(2, 5);\n //2-Impriman los 3 atributos\n System.out.println(p.base+\"^\"+p.expo+\"=\"+p.pot);\n }", "public static void main(String[] args) {\n\t\tString rut;\r\n\t\tString nacionalidad;\r\n\t\tSystem.out.println(\"La clase hija esta caminando\");\r\n\t}", "protected abstract void go(CommandLine line) throws Exception;", "public static void main(String[] args) {// mais é o Start Point da aplicação\n\t// estou na classe e dentro do metodo\n\tSystem.out.print(\"Olá mundo\");\n\t\n}", "public void mostrarInformacion(){\n mostrarInformacionP();\n }", "public static void main(String[] args) {\r\n\t\tPilha p = new Pilha();\r\n\t\tp.adicionar(10);\r\n\t\tp.adicionar(12);\r\n\t\tp.adicionar(30);\r\n\t\tp.mostrar();\r\n\t\tp.remover();\r\n\t\tp.mostrar();\r\n\t}", "public static void main(String[] args) {\n \n int[] numeros = {56, 89, 87, 56, 45};\n \n System.out.print(\"Array no ordenado: \");\n Impresion(numeros);//impresión del array no ordenado\n System.out.println(\"\");\n System.out.println(\"\");\n \n shell(numeros);//llamada del metodo shell\n \n System.out.print(\"Array ordenado: \");\n Impresion(numeros);//impresión del array ordenado\n System.out.println(\"\");\n \n \n }", "public void displayTextToConsole();", "public static void main(String[] args) {\n\t\tSystem.out.println(\"Ingrese un texto: \");\n\t\tScanner sc = new Scanner(System.in);\n\t\tString texto = sc.nextLine();\n\t\tSystem.out.println(\"escribio: \".concat(texto));\n\t\tStringHandle sH = new StringHandle();\n\t\tsH.ImprimirCantidadDeCaracteres(texto);\n\t\tsH.ImprimirPrimeraMitadDeLosCaracteres(texto);\n\t\tsH.ImprimirUltimoCaracter(texto);\n\t}", "public static void main(String[] args) {\n one_two_four();\n /* result:\n world\n hello\n */\n\n }", "private String pipeCaller(String... args) {\r\n\t\tByteArrayOutputStream stdout = new ByteArrayOutputStream();\r\n\t\tString result = \"\";\r\n\t\tString joinedStr = String.join(\" \", args);\r\n\t\tPipeCommand pipeCmd = new PipeCommand(joinedStr);\r\n\t\ttry {\r\n\t\t\tpipeCmd.parse();\r\n\t\t\tpipeCmd.evaluate(null, stdout);\r\n\t\t\tresult = stdout.toString(\"UTF-8\");\r\n\t\t} catch (AbstractApplicationException | ShellException | UnsupportedEncodingException e) {\r\n\t\t\tresult = e.getMessage();\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "@Override\r\n\tpublic void hacerSonido() {\n\t\tSystem.out.print(\"miau,miau -- o depende\");\r\n\t\t\r\n\t}", "public void intro(){Scanner teclado = new Scanner(System.in);\nSystem.out.println(\"Introduzca la unidad de medida a la que transformar \"\n + \"pies, cm o yardas\");\nSystem.out.println(\"o escriba salir si quiere volver al primer menu\");\nopcion=teclado.nextLine();}", "private void retriveCommand(){\n\t\tdirections.add(\"Turn left.\");\n\t\tdirections.add(\"Walk 20 meters and turn right.\");\n\t\tdirections.add(\"Arrive destination.\");\n\t}", "Commands getCommandes();", "private static void task43() {\n System.out.println(\"Twinkle, twinkle, little star,\");\n System.out.println(\"\\tHow I wonder what you are!\");\n System.out.println(\"\\t\\tUp above the world so high,\");\n System.out.println(\"\\t\\tLike a diamond in the sky!\");\n System.out.println(\"Twinkle, twinkle, little star,\");\n System.out.println(\"How I wonder what you are.\");\n }", "public void setOptions(){\n System.out.println(\"¿Que operacion desea realizar?\");\n System.out.println(\"\");\n System.out.println(\"1- Consultar sus datos\");\n System.out.println(\"2- Ingresar\");\n System.out.println(\"3- Retirar\");\n System.out.println(\"4- Transferencia\");\n System.out.println(\"5- Consultar saldo\");\n System.out.println(\"6- Cerrar\");\n System.out.println(\"\");\n}", "public static void main(String[] args) {\n\t\t\n\n\t\tSystem.out.println(\"Hello World Ejemplo. Pobre Alan\");\n\t\tSystem.out.print(\"Agrego esta linea\");\n\n\n\t\tSystem.out.println(\"Hello World Ejemplo. Pobre Alan, LTA\");\n\t\tSystem.out.print(\"Agrego esta linea y esta\");\n\t\t//Un comentario no puede romper nada\n\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t\tint side;\r\n\t\tint i;\r\n\t\tScanner NissanTiida = new Scanner(System.in);\r\n\t\tSystem.out.println(\"設定共要幾次呼叫:\");\r\n\t\tside = NissanTiida.nextInt();\r\n\t\tfor(i=0;i<side;i++)\r\n\t\t{\r\n\t\t\ttiida();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}", "public static void print() { //This is a Java method,Which will print \"Hello World\" on the cmd prompt.\n //Note : Keywords used : -\n //public : for the public access of method anywhere in this file or Another file.\n //static : It is used for a constant variable or a method that is same for every instance of a class.\n //void : returns nothing.\n System.out.println(\"Hello World\");\n }", "public static void main(String[] args) {\nSystem.out.println(\"hello\");\r\nSystem.out.println(\"world\");\r\nSystem.out.println(\"haaai\");\r\nSystem.out.println(\"hell\");\r\n\t}", "@Override\n protected String process() {\n process.print();\n return \"hello world!!\";\n }", "public static void main(String[] args) {\n char ch1 = '1';\n char ch2 = 'Z';\n int numberPerLine = 10;\n //Peredajem dani metody\n printChars(ch1, ch2, numberPerLine);\n }", "private static String promptString(String descricao) {\n System.out.print(\"\\t>>> \" + descricao + \": \");\n return scan.nextLine();\n }", "public static void main(String[] args) {\n ICommand[] commandRegister = {\n new LeagueCmd(),\n new TeamCmd(),\n new MatchCmd(),\n new LoadCmd(),\n new SaveCmd()\n };\n if (Utils.initSaveFileLocation()) {\n final CommandHandler cmdHandler = new CommandHandler(commandRegister);\n Scanner scanner = new Scanner(System.in);\n boolean isExited = false;\n String userInput;\n String[] exitCmd = {\"exit\", \"quit\", \"close\"};\n\n System.out.println(\"# CompetitionManager.\\nAfin d'afficher la liste des commandes, entrez \\\"help\\\".\");\n Utils.displayBasePath();\n\n while (!isExited) {\n // Boucle de lecture des commandes\n System.out.printf(\"%s> \", renderSelected());\n userInput = scanner.nextLine();\n if (Arrays.asList(exitCmd).contains(userInput)) isExited = true;\n else cmdHandler.handleMessage(userInput);\n }\n } else {\n System.out.println(\"Une erreur est survenue lors de l'initialisation de l'application.\");\n }\n }", "public static void poder(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n if(experiencia>=100){ //condicion de aumento de nivel\n nivel=nivel+1;\n System.out.println(\"Aumento de nivel exitoso\");\n }\n else{\n System.out.println(\"carece de experiencia para subir su nivel\");\n }\n }", "public void limpiarPantalla() \n\t{\n\t\tfor( int i = 0; i < 300;i++)\n\t\t\tthis.println();\t\t\n\t}", "public static void main(String[] args) {\n\t String str = \"esto es un ejemplo de como funciona split\";\n\t Integer var=null;\n\t String regex;\n\t regex=Leer.pedirCadena(\"Expresión regular\", null);\n\t if(regex.equals(\"\")){\n\t \t regex=null;\n\t }\n\t var=Leer.pedirEntero(\"Pedir un entero\", regex);\n\t Leer.mostrarEnPantalla(\"El dato \"+var);\n\n\t}", "public static void MostrarPerroSegunCodigo( Perro BaseDeDatosPerros[]){\n int codigo;\r\n System.out.println(\"Ingrese el codigo del perro del cual decea saber la informacion\");\r\n codigo=TecladoIn.readLineInt();\r\n System.out.println(\"____________________________________________\");\r\n System.out.println(\"El nombre del Dueño es: \"+BaseDeDatosPerros[codigo].getNombreDuenio());\r\n System.out.println(\"El telefono del Dueño es :\"+BaseDeDatosPerros[codigo].getTelefonoDuenio());\r\n System.out.println(\"____________________________________________\");\r\n \r\n }", "public static void main (String arg[]){\n \nMensaje miMensaje = new Mensaje ( );\nmiMensaje.imprime ( );\n\n }", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t \n\t\t//Chiede di introdurre nome e cognome\n\t\tSystem.out.println(\"Introduci nome :\");\n\t\tString nome = scan.next(); //qui il programma attende l'immissione dei dati\n\t\tSystem.out.println(\"introduci cognome:\");\n\t\tString cognome= scan.next(); \n\t\t//Chiede di introdurre la cittą\n\t\tSystem.out.println(\"Introduci cittą:\");\n\t\tString citta = scan.next(); \n\t\t \n\t\tSystem.out.println(\"Nome e cognome : \" + nome+\" \"+cognome);\n\t\tSystem.out.println(\"Cittą : \" + citta);\n\t\tscan.close();\n\t\t\n\n\t}", "public interface ICommand {\r\n\t\r\n\t/**\r\n\t * \r\n\t * @return long description of the command\r\n\t */\r\n\tString description();\r\n\r\n\t/**\r\n\t * \r\n\t * @return name of the command\r\n\t */\r\n\tString name();\r\n\r\n\t/**\r\n\t * Get called when the comma\r\n\t * @param console callback for output\r\n\t * @param options of the command invocation\r\n\t */\r\n\tvoid exec(ICommandConsole console, List<String> options);\r\n\r\n\t/**\r\n\t * \r\n\t * @return usage of the command\r\n\t */\r\n\tString usage();\r\n}", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tSystem.out.print(\"Id resultado: \" + PersonaABM.getInstancia().agregar(\"Apellido\", \"Generic\", 14));\n\t\t\tSystem.out.println(\"\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "static Interaction prints(String... lines) {\n return (input, output) -> {\n for (String line : lines) {\n output.append(line).append('\\n');\n }\n };\n }", "public void come(String comida) {\n System.out.println(\"Estoy comiendo \" + comida);\n }", "public static void main(String[] args) {\n Tabuleiro resta1 = new Tabuleiro();\n //Imprime o estado inicial do tabuleiro\n System.out.println(\"Tabuleiro inicial\");\n resta1.imprimir(); \n //Lê comandos e os tranforma em um vetor de strings\n CSVReader csv = new CSVReader();\n csv.setDataSource(\"/home/cristiano/Documents/resta.csv\");\n String commands[] = csv.requestCommands();\n //Executa comandos no tabuleiro\n for(int i=0; i<commands.length; i++){\n resta1.movimento(commands[i]);\n //Encerra o loop caso o jogador ganhe\n if(Pecas.n==1)\n break;\n }\n }", "public static void main(String[] args) {\n Mensaje m= new Mensaje();\n System.out.println(m.recorre(\"buenos dias\")); \n }", "public static void main(String[] args) \n {\n // Llamado de la función etapas\n Scanner sc = new Scanner(System.in); \n int edad_paco = sc.nextInt(); //Obtener por consola edad de paco\n etapas(edad_paco);\n \n }", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.print(\"숫자 입력 : \");\n\t\tint num = s.nextInt();\n\t\t\n\t\tint result = func(num);\n\t\tSystem.out.println(num + \"!=\" + result);\n\t\ts.close();\n\t}", "public void setmostrar(){\n System.out.println(\"¿Qué deseas hacer?\");\n System.out.println(\"i=incrementar\");\n System.out.println(\"d=decrementar\");\n System.out.println(\"s=salir\");\n }", "public static void main(String[] args) {\n\r\n\t\t\r\n\t\t\r\n\t\t Figura\r\n\t}", "public static void main(String[] args) {\n\t\tSystem.out.println(\"What task: \");\r\n\t\tint option = scan.nextInt();\r\n\t\tswitch (option) {\r\n\t\tcase 1:\r\n\t\t\tpositionalNumbers();\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tpassword();\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tmean();\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tbase();\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "public static void main(String[] args) { //main č il primo mtodo che viene chiamato quando voglio eseguire codice\n System.out.println(Math.PI); // println=stampa una riga. č un metodo evocato/eseguito\n }", "public Invoker() {\n\n\t\twhile (true) {\n\t\t\tSystem.out.println(execute(scanner.next()));\n\t\t}\n\t}", "public static void main(String[] args){\n //how to print\n\n }", "public void ler()\n {\n lerDados( AxellIO.readLine(\"\") );\n }", "public static void main(String args[]){\n \n Produto p3 = new Produto(\"Figo\", 5.99 , 200);\n \n System.out.println(p3.getDescricao() \n + \"\\n\" + p3.getPreco() \n + \"\\n\" + p3.getEstoque());\n \n }", "public static void main(String[] ar) {\r\n Pila pila1=new Pila();\r\n System.out.println(\"Insertamos datos en la pila.\");\r\n pila1.insertar(4);\r\n pila1.insertar(12);\r\n pila1.insertar(13);\r\n pila1.insertar(25);\r\n pila1.insertar(33);\r\n pila1.insertar(45);\r\n pila1.insertar(58);\r\n \r\n pila1.imprimir();\r\n \r\n System.out.println(\"Extraemos un dato de la pila.\");\r\n pila1.recuperar();\r\n pila1.imprimir(); \r\n \r\n pila1.devolver();\r\n pila1.imprimir();\r\n \r\n pila1.obtener();\r\n pila1.imprimir();\r\n }", "public String userCommand(){\n return scanner.nextLine();\n }", "public static void main(String[] args) {\n\tString variavel_separada_por_underline;\n\t\n\t// padrão camelCase\n\tString variavelSeparadaPorCamelCase;\n\t\n\t// valido porem estranho\n\tint _numero = 1;\n\t\n\tSystem.out.println(_numero);\n\t\n\t// valido porem mais estranho ainda! parec PHP\n\tint $outroNumero = 1;\n\tSystem.out.println($outroNumero);\n\t\n\t/*Não pode começar com caracteres especiais\n\t * \n\t * String 1um;\n\t\n\t int @arroba;\n\t\n\t String *texto \n\t * \n\t */\n\t\n}", "private void showCommands() {\n System.out.println(\"\\n Commands:\");\n System.out.println(\"\\t lf: List reference frames\");\n System.out.println(\"\\t af: Add a reference frame\");\n System.out.println(\"\\t rf: Remove a reference frame\");\n System.out.println(\"\\t le: List events\");\n System.out.println(\"\\t ae: Add an event\");\n System.out.println(\"\\t re: Remove an event\");\n System.out.println(\"\\t ve: View all events from a certain frame\");\n System.out.println(\"\\t li: Calculate the Lorentz Invariant of two events\");\n System.out.println(\"\\t s: Save the world to file\");\n System.out.println(\"\\t l: Load the world from file\");\n System.out.println(\"\\t exit: Exit the program\");\n }", "public void run() {\n String line = finalArg.toString();\n\n String separate = line, text=\"\";\n boolean isEmoji = false;\n String[] words = separate.split(\" \");\n for (int i = 0; i < words.length; i++) {\n if (words[i].equals(\"Ω:v\") || words[i].equals(\":3\") || words[i].equals(\":)\") || words[i].equals(\":(\") || words[i].equals(\"o.O\") || words[i].equals(\":poop:\")\n || words[i].equals(\"(^^^)\") || words[i].equals(\"-_-\") || words[i].equals(\"<(')\") || words[i].equals(\"><\") || words[i].equals(\":kiss:\") || words[i].equals(\"(y)\")\n || words[i].equals(\":love:\") || words[i].equals(\"<3\") || words[i].equals(\":crysmiley:\") || words[i].equals(\":nervous:\")\n ) {\n isEmoji = true;\n text = words[i];\n words[i] = \"\";\n }\n }\n String ans = \"\";\n for (String i : words) {\n ans += (i + \" \");\n }\n// textPane.setFont(new java.awt.Font(\"Arial\", Font.PLAIN, 15));\n if (line.startsWith(\"Tôi:\")) {\n addColoredText(textPane, ans, Color.BLACK);\n } else if (ans.startsWith(\"***\") || ans.startsWith(\"Welcome\") || ans.startsWith(\"To\")) {\n addColoredText(textPane, ans, Color.red);\n } else {\n addColoredText(textPane, ans, Color.BLUE);\n new Notifications();\n }\n\n if (isEmoji) {\n try {\n addIcon(textPane, text);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n addColoredText(textPane, \"\\n\", Color.red);\n\n }", "public static void main(String[] args) {\n Parabola par1=new Parabola(1,2,3);\r\n Parabola par2=new Parabola(2,4,5);\r\n par1.afisare();\r\n par2.afisare();\r\n Parabola.mijloc(par1, par2);\r\n\t}", "public static void main (String [] args) \n\t{\n\t\tProgram.getParameters (\"C:\\\\Klijenti\\\\Parametri.txt\");\n\t\t\n\t\tProgram pr = new Program ();\n\t\t\n\t\tpr.klijenti.get (0).procitaj (); // prvi klijent preuzima sadrzaj\n\n\t\twhile (!pr.completed ()) // dok svi klijenti ne preuzmu sadrzaj\n\t\t{\n\t\t\tProgramRunnable p = new ProgramRunnable (pr);\n\t\t\tThread t = new Thread (p);\n\t\t\t\t\n\t\t\tt.start ();\n\t\t}\n\t\t\n\t\t// Prenosi sadrzaj svakog klijenta u odgovarajuci direktorijum.S\n\t\tfor (int s = 0; s < pr.klijenti.size (); s++)\n\t\t\tpr.klijenti.get (s).inDirectory ();\n\t}", "void prosegui(String messaggio);", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tbyte opcao = 0;\n\t\tControleRemoto remoto = new ControleRemoto(new TV());\n\t\tdo {\n\t\t\tSystem.out.println(\"Selecione o comando (0 para sair)\");\n\t\t\tSystem.out.println(\"1 - Ligar/Desligar\");\n\t\t\tSystem.out.println(\"2 - Aumentar Volume\");\n\t\t\tSystem.out.println(\"3 - Abaixar Volume\");\n\t\t\topcao = sc.nextByte();\n\t\t\tswitch (opcao) {\n\t\t\tcase 1:\n\t\t\t\tremoto.pressLigDes();\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tremoto.pressAumVol();\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tremoto.pressAbxVol();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} while (opcao != 0);\n\t}", "public String[] nextCommand() {\r\n String[] result = null;\r\n if (sc.hasNextLine()) {\r\n String temp = sc.next();\r\n if (temp.equals(\"insert\")) {\r\n result = new String[3];\r\n result[0] = \"insert\";\r\n temp = sc.nextLine().trim();\r\n result[1] = temp.split(\"<SEP>\")[0];\r\n result[2] = temp.split(\"<SEP>\")[1];\r\n }\r\n else if (temp.equals(\"remove\")) {\r\n result = new String[3];\r\n result[0] = \"remove\";\r\n result[1] = sc.next();\r\n result[2] = sc.nextLine().trim();\r\n }\r\n else if (temp.equals(\"print\")) {\r\n result = new String[2];\r\n result[0] = \"print\";\r\n result[1] = sc.nextLine().trim();\r\n }\r\n else {\r\n sc.nextLine();\r\n }\r\n return result;\r\n }\r\n return null;\r\n }", "String consoleInput();", "public static void menu(){\n System.out.println(\"-Ingrese el número correspondiente-\");\n System.out.println(\"------------ Opciones -------------\");\n System.out.println(\"------------ 1. Sumar -------------\");\n System.out.println(\"------------ 2. Restar ------------\");\n System.out.println(\"------------ 3. Multiplicar -------\");\n System.out.println(\"------------ 4. Dividir -----------\");\n }", "String getCommand();", "public static void main(String[] args) {\n\t\tString variavel_seprada_com_underline;\n\t\t\n\t\t//padrao camelCase\n\t\tString variavelJuntaComCamelCase;\n\t\t\n\t\t// valido porem estranho\n\t\tint _numero = 1;\n\t\t\n\t\tSystem.out.println(_numero);\n\t\t\n\t\t//valido porem mais estranho ainda! Parece PHP\n\t\tint $outroNumero = 1;\n\t\t\n\t\tSystem.out.println($outroNumero);\n\t\t\n\t\t/*\n\t\t * nao pode iniciar com caracteres especiais\n\t\t\n\t\tString 1um;\n\t\t\n\t\tint @arroba;\n\t\t\n\t\tString *texto\n\t\t\n\t\t */\n\t\t\n\t}", "public static void main(String[] args){\n \n System.out.print(\"Print tanpa Enter\\n\"); //Output message tanpa Enter\n System.out.println(\"Print Pake Enter\"); //Output message dengan Enter di akhir pesan \n new Pengenalan(); //Pemanggilan constructor dari Class Pengenalan \n System.out.println(\"\\nBeberapa Statement C++ berfungsi di Java\");\n System.out.println(\"Contoh : If Else, Switch, For, While\");\n }", "private String getCommandWithPrompt() {\n print(\"dbg<\" + pc + getLabel(pc) + \">\");\n return nextLine();\n }", "private void mian()\r\n {\n System.out.println(\"Hello World222222221111\");\n System.out.println(\"12345\");\n }" ]
[ "0.6515877", "0.6213212", "0.59986734", "0.5950002", "0.59012985", "0.5869573", "0.5855107", "0.58531946", "0.58338666", "0.5786462", "0.57713926", "0.5754566", "0.5749135", "0.5734382", "0.5708082", "0.56981397", "0.5680404", "0.5680185", "0.56690866", "0.56269574", "0.56216025", "0.5600497", "0.5596206", "0.5595906", "0.5553854", "0.55474544", "0.55442184", "0.5533329", "0.55328584", "0.5528825", "0.5523519", "0.55210227", "0.5519161", "0.5515505", "0.5502895", "0.5498481", "0.54911375", "0.5490332", "0.5474002", "0.5473441", "0.54459333", "0.5445571", "0.5442139", "0.54356337", "0.54342675", "0.5433222", "0.54226935", "0.54213136", "0.5418944", "0.5418139", "0.54123217", "0.54031223", "0.5403057", "0.5398204", "0.53974867", "0.53967273", "0.53928334", "0.5387814", "0.5385575", "0.53781706", "0.5377921", "0.53613704", "0.5360917", "0.5356415", "0.5344321", "0.53413534", "0.5339469", "0.5333988", "0.53328955", "0.53281134", "0.5322371", "0.5321186", "0.5320427", "0.5320032", "0.5310823", "0.53069305", "0.5306598", "0.52986735", "0.5293554", "0.52917284", "0.5291609", "0.5291308", "0.5282228", "0.52803546", "0.52798873", "0.52764225", "0.52755827", "0.527311", "0.527113", "0.52701074", "0.5269631", "0.5264122", "0.5262804", "0.5260157", "0.5257508", "0.52552146", "0.52546144", "0.5254248", "0.52534646", "0.5252557", "0.5252053" ]
0.0
-1
Perform the action. Any exceptions thrown and values returned are passed back to the caller.
public Object perform(MethodActionEvent event) throws Throwable;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void executeActionsIfError();", "public abstract boolean execute(ActionContext actionContext)\n throws Exception;", "public Object call() throws Exception {\n return this.call();\n }", "public void performAction(HandlerData actionInfo) throws ActionException;", "private ActionStepOrResult executeAction(ExtendedEventHandler eventHandler, Action action)\n throws LostInputsActionExecutionException, InterruptedException {\n ActionResult result;\n try (SilentCloseable c = profiler.profile(ProfilerTask.INFO, \"Action.execute\")) {\n checkForUnsoundDirectoryInputs(action, actionExecutionContext.getInputMetadataProvider());\n\n result = action.execute(actionExecutionContext);\n\n // An action's result (or intermediate state) may have been affected by lost inputs. If an\n // action filesystem is used, it may know whether inputs were lost. We should fail fast if\n // any were; rewinding may be able to fix it.\n checkActionFileSystemForLostInputs(\n actionExecutionContext.getActionFileSystem(), action, outputService);\n } catch (ActionExecutionException e) {\n Path primaryOutputPath = actionExecutionContext.getInputPath(action.getPrimaryOutput());\n maybeSignalLostInputs(e, primaryOutputPath);\n return ActionStepOrResult.of(\n processAndGetExceptionToThrow(\n eventHandler,\n primaryOutputPath,\n action,\n e,\n actionExecutionContext.getFileOutErr(),\n ErrorTiming.AFTER_EXECUTION));\n } catch (InterruptedException e) {\n return ActionStepOrResult.of(e);\n }\n\n try {\n ActionExecutionValue actionExecutionValue;\n try (SilentCloseable c =\n profiler.profile(ProfilerTask.ACTION_COMPLETE, \"actuallyCompleteAction\")) {\n actionExecutionValue = actuallyCompleteAction(eventHandler, result);\n }\n return new ActionPostprocessingStep(actionExecutionValue);\n } catch (ActionExecutionException e) {\n return ActionStepOrResult.of(e);\n }\n }", "public Object proceed() throws Throwable;", "@Override\n protected void run(Result result) throws Throwable {\n }", "Object proceed() throws Throwable;", "void apply() throws Exception;", "@Override\r\n public void executeAction() throws Exception {\r\n\r\n BufferedImage originalImage;\r\n\r\n\r\n if (getAssetVersionId() <= 0) {\r\n throw new IllegalArgumentException(\"The asset version id is not positive\");\r\n }\r\n\r\n AssetVersion assetVersion = getAssetVersionService().getAssetVersion(getAssetVersionId());\r\n\r\n if (assetVersion == null) {\r\n throw new IllegalArgumentException(\"The specific asset version does not exist\");\r\n }\r\n\r\n // now we need to check if user has access to the asset the asset version belong to\r\n Asset assetToCheck = getAssetService().getAsset(assetVersion.getAssetId());\r\n checkIfAssetDownloadAllowed(assetToCheck, DirectUtils.getTCSubjectFromSession());\r\n\r\n File imageFile = null;\r\n\r\n if (isPreview()) {\r\n imagePath = assetVersion.getPreviewImagePath();\r\n } else {\r\n imagePath = assetVersion.getFilePath();\r\n }\r\n\r\n imageFile = new File(imagePath);\r\n\r\n originalImage = ImageIO.read(imageFile);\r\n\r\n // convert BufferedImage to byte array\r\n\r\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n\r\n ImageIO.write(originalImage, FilenameUtils.getExtension(imagePath).toLowerCase(), baos);\r\n\r\n baos.flush();\r\n imageInByte = baos.toByteArray();\r\n baos.close();\r\n }", "@Override\n public void execute() throws EngineException {\n Object target = JavaReflectionUtil.getObject(this.target, \n callStatement.getEntries().subList(1,\n callStatement.getEntries().size() - 1));\n this.getParent().setResult(executeMethod(target, callStatement));\n pop();\n }", "protected boolean applyImpl() throws Exception\n {\n MBeanServer mbeanServer = (MBeanServer) getCorrectiveActionContext()\n .getContextObject(CorrectiveActionContextConstants.Agent_MBeanServer);\n ObjectName objectName = (ObjectName) getCorrectiveActionContext()\n .getContextObject(CorrectiveActionContextConstants.MBean_ObjectName);\n\n Object result = mbeanServer.invoke(objectName, m_methodName, m_parameters, m_signature);\n\n return matchesDesiredResult(result);\n }", "public void doResult() throws Exception {\n\t\tJSONObject map=new JSONObject(getResult());\n\t\tif(!\"ok\".equalsIgnoreCase(map.getString(\"status\"))){\n\t\t\tdoFailureResult();\n\t\t\treturn;\n\t\t}\n\t\tif(getHandler()!=null){\n\t\t\tMessage hmsg=getHandler().obtainMessage();\n\t\t\thmsg.obj=map;\n\t\t\thmsg.arg1=1;\n\t\t\tgetHandler().sendMessage(hmsg);\n\t\t\tsetHandler(null);\n\t\t}\n\t}", "abstract public void performAction();", "protected void execute() {}", "@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}", "public void doAction(){}", "void execute() throws Exception;", "protected String doExecute() throws SystemException \n\t{\n\t\tDatabase db = CastorDatabaseService.getDatabase();\n\t\t\n\t\ttry \n\t\t{\n\t\t\t//now restore the value and list what we get\n\t\t\tFile file = FileUploadHelper.getUploadedFile(ActionContext.getContext().getMultiPartRequest());\n\t\t\tif(file == null || !file.exists())\n\t\t\t{\n\t\t\t\tString filePath = ActionContext.getContext().getMultiPartRequest().getParameter(\"filePath\");\n\t\t\t\tlogger.info(\"filePath:\" + filePath);\n\t\t\t\tif(filePath != null)\n\t\t\t\t{\n\t\t\t\t\tfile = new File(filePath);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tthrow new SystemException(\"The file upload must have gone bad as no file reached the import utility.\");\n\t\t\t}\n\t\t\t\n\t\t\tif(file.getName().endsWith(\".zip\"))\n\t\t\t\treturn importV3(file);\n\t\t\t\n\t\t\tString encoding = \"UTF-8\";\n\t\t\tint version = 1;\n\t\t\t\n\t\t\t//Looking up what kind of dialect this is.\n\t \n\t\t\tFileInputStream fisTemp = new FileInputStream(file);\n InputStreamReader readerTemp = new InputStreamReader(fisTemp, encoding);\n BufferedReader bufferedReaderTemp = new BufferedReader(readerTemp);\n String line = bufferedReaderTemp.readLine();\n int index = 0;\n while(line != null && index < 50)\n {\n \tlogger.info(\"line:\" + line + '\\n');\n \tif(line.indexOf(\"contentTypeDefinitionId\") > -1)\n \t{\n \t\tlogger.info(\"This was a new export...\");\n \t\tversion = 2;\n \t\tbreak;\n \t}\n \tline = bufferedReaderTemp.readLine();\n \tindex++;\n }\n \n bufferedReaderTemp.close();\n readerTemp.close();\n fisTemp.close();\n\n Mapping map = new Mapping();\n\t\t\tif(version == 1)\n\t\t\t{\n\t logger.info(\"MappingFile:\" + CastorDatabaseService.class.getResource(\"/xml_mapping_site.xml\").toString());\n\t\t\t\tmap.loadMapping(CastorDatabaseService.class.getResource(\"/xml_mapping_site.xml\").toString());\n\t\t\t}\n\t\t\telse if(version == 2)\n\t\t\t{\n\t\t\t logger.info(\"MappingFile:\" + CastorDatabaseService.class.getResource(\"/xml_mapping_site_2.5.xml\").toString());\n\t\t\t map.loadMapping(CastorDatabaseService.class.getResource(\"/xml_mapping_site_2.5.xml\").toString());\t\n\t\t\t}\n\n\t\t\t// All ODMG database access requires a transaction\n\t\t\tdb.begin();\n\t\t\t\n\t\t\tMap contentIdMap = new HashMap();\n\t\t\tMap siteNodeIdMap = new HashMap();\n\t\t\tList allContentIds = new ArrayList();\n\n\t\t\tMap<String,String> replaceMap = new HashMap<String,String>();\n\t\t\ttry\n\t\t\t{\n\t\t\t\tboolean isUTF8 = false;\n\t\t\t\tboolean hasUnicodeChars = false;\n\t\t\t\tif(replacements.indexOf((char)65533) > -1)\n\t\t\t\t\tisUTF8 = true;\n\t\t\t\t\n\t\t\t\tfor(int i=0; i<replacements.length(); i++)\n\t\t\t\t{\n\t\t\t\t\tint c = (int)replacements.charAt(i);\n\t\t\t\t\tif(c > 255 && c < 65533)\n\t\t\t\t\t\thasUnicodeChars = true;\n\t\t\t\t}\n\n\t\t\t\tif(!isUTF8 && !hasUnicodeChars)\n\t\t\t\t{\n\t\t\t\t\tString fromEncoding = CmsPropertyHandler.getUploadFromEncoding();\n\t\t\t\t\tif(fromEncoding == null)\n\t\t\t\t\t\tfromEncoding = \"iso-8859-1\";\n\t\t\t\t\t\n\t\t\t\t\tString toEncoding = CmsPropertyHandler.getUploadToEncoding();\n\t\t\t\t\tif(toEncoding == null)\n\t\t\t\t\t\ttoEncoding = \"utf-8\";\n\t\t\t\t\t\n\t\t\t\t\tif(replacements.indexOf(\"å\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"ä\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"ö\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Å\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Ä\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Ö\") == -1)\n\t\t\t\t\t{\n\t\t\t\t\t\treplacements = new String(replacements.getBytes(fromEncoding), toEncoding);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\tProperties properties = new Properties();\n\t\t\ttry\n\t\t\t{\n\t\t\t\tproperties.load(new ByteArrayInputStream(replacements.getBytes(\"ISO-8859-1\")));\n\t\t\t\t\n\t\t\t\tIterator propertySetIterator = properties.keySet().iterator();\n\t\t\t\twhile(propertySetIterator.hasNext())\n\t\t\t\t{\n\t\t\t\t\tString key = (String)propertySetIterator.next();\n\t\t\t\t\tString value = properties.getProperty(key);\n\t\t\t\t\treplaceMap.put(key, value);\n\t\t\t\t}\n\t\t\t}\t\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t logger.error(\"Error loading properties from string. Reason:\" + e.getMessage());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t\tImportController.getController().importRepository(db, map, file, encoding, version, onlyLatestVersions, false, contentIdMap, siteNodeIdMap, allContentIds, replaceMap, mergeExistingRepositories);\n\t\t\t\n\t\t\tdb.commit();\n\t\t\tdb.close();\n\t\t\t\n\t\t\tIterator allContentIdsIterator = allContentIds.iterator();\n\t\t\twhile(allContentIdsIterator.hasNext())\n\t\t\t{\n\t\t\t\tInteger contentId = (Integer)allContentIdsIterator.next();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tdb = CastorDatabaseService.getDatabase();\n\t\t\t\t\tdb.begin();\n\t\n\t\t\t\t\tContent content = ContentController.getContentController().getContentWithId(contentId, db);\n\t\t\t\t\tImportController.getController().updateContentVersions(content, contentIdMap, siteNodeIdMap, onlyLatestVersions, new HashMap());\n\t\t\t\t\t//updateContentVersions(content, contentIdMap, siteNodeIdMap);\n\t\n\t\t\t\t\tdb.commit();\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tdb.rollback();\n\t\t\t\t\t}\n\t\t\t\t\tcatch(Exception e2) { e2.printStackTrace(); }\n\t logger.error(\"An error occurred when updating content version for content: \" + e.getMessage(), e);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tdb.close();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\tcatch ( Exception e) \n\t\t{\n\t\t\ttry\n {\n db.rollback();\n db.close();\n } \n\t\t\tcatch (Exception e1)\n {\n logger.error(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n \t\t\tthrow new SystemException(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n }\n\t\t\t\n\t\t\tlogger.error(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n\t\t\tthrow new SystemException(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n\t\t}\n\t\t\n\t\treturn \"success\";\n\t}", "public Object proceed(Object[] args) throws Throwable;", "protected void execute() {\r\n }", "public void execute() {\n if (hasError())\n return;\n\n runLocally();\n runRemotely();\n }", "public void perform() {\n\t\tlog.info(\"begin to play the drum\");\n\t\tthrow new RuntimeException();\n\t}", "@Override\n public V call() throws HttpRequestException {\n boolean bl = false;\n try {\n V v = this.run();\n return v;\n }\n catch (HttpRequestException httpRequestException) {\n bl = true;\n throw httpRequestException;\n }\n catch (IOException iOException) {\n bl = true;\n throw new HttpRequestException(iOException);\n }\n finally {\n this.done();\n }\n }", "protected abstract void actionExecuted(SUT system, State state, Action action);", "protected void execute() {\n\t\t\n\t}", "public String execute() throws Exception {\t\t\n\t\t//Obtains user information from session, then sets it to Model.\n\t\tthis.yjaService.setUserInfoToModel(actionModel);\t\t\n\t\treturn initExecute();\t\t\n\t}", "protected void execute() {\n\t}", "protected abstract void execute() throws Exception;", "protected void execute()\n\t{\n\t}", "protected void execute() {\n\n\t}", "Action execute(Context context);", "protected void execute() {\n \t\n }", "protected void execute() {\n \t\n }", "@Override\r\n\tpublic void execTheAction(Struct actionInput) throws Exception {\n \t n = Integer.parseInt( actionInput.getArg(0).toString() );\r\n \t myresult = fibonacci( n );\r\n// throw new Exception(\"simulateFault\");\t\t//(1)\r\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute() {\n }", "protected void execute()\n {\n }", "public void action() {\n action.action();\n }", "abstract protected String performAction(String input);", "@Override\r\n\tpublic Message doAction() {\n\t\treturn null;\r\n\t}", "@Override\n public void run() {\n if (checkFailure()) {\n throw new InvalidInputException(\"任务结果计算器暂时无法工作,因为未满足条件\");\n } else {\n analysisDistribution();\n File file = writeFile();\n task.setResult(OSSWriter.upload(file));\n task.setHasResult(true);\n taskController.update(task);\n }\n }", "public void performAction();", "public void execute()\n/* */ throws Pausable, Exception\n/* */ {\n/* 378 */ errNotWoven(this);\n/* */ }", "protected void execute(ActionInvocation<LocalService> actionInvocation, Object serviceImpl) throws Exception {\n/* 67 */ Object result, inputArgumentValues[] = createInputArgumentValues(actionInvocation, this.method);\n/* */ \n/* */ \n/* 70 */ if (!actionInvocation.getAction().hasOutputArguments()) {\n/* 71 */ log.fine(\"Calling local service method with no output arguments: \" + this.method);\n/* 72 */ Reflections.invoke(this.method, serviceImpl, inputArgumentValues);\n/* */ \n/* */ return;\n/* */ } \n/* 76 */ boolean isVoid = this.method.getReturnType().equals(void.class);\n/* */ \n/* 78 */ log.fine(\"Calling local service method with output arguments: \" + this.method);\n/* */ \n/* 80 */ boolean isArrayResultProcessed = true;\n/* 81 */ if (isVoid) {\n/* */ \n/* 83 */ log.fine(\"Action method is void, calling declared accessors(s) on service instance to retrieve ouput argument(s)\");\n/* 84 */ Reflections.invoke(this.method, serviceImpl, inputArgumentValues);\n/* 85 */ result = readOutputArgumentValues(actionInvocation.getAction(), serviceImpl);\n/* */ }\n/* 87 */ else if (isUseOutputArgumentAccessors(actionInvocation)) {\n/* */ \n/* 89 */ log.fine(\"Action method is not void, calling declared accessor(s) on returned instance to retrieve ouput argument(s)\");\n/* 90 */ Object returnedInstance = Reflections.invoke(this.method, serviceImpl, inputArgumentValues);\n/* 91 */ result = readOutputArgumentValues(actionInvocation.getAction(), returnedInstance);\n/* */ }\n/* */ else {\n/* */ \n/* 95 */ log.fine(\"Action method is not void, using returned value as (single) output argument\");\n/* 96 */ result = Reflections.invoke(this.method, serviceImpl, inputArgumentValues);\n/* 97 */ isArrayResultProcessed = false;\n/* */ } \n/* */ \n/* 100 */ ActionArgument[] arrayOfActionArgument = actionInvocation.getAction().getOutputArguments();\n/* */ \n/* 102 */ if (isArrayResultProcessed && result instanceof Object[]) {\n/* 103 */ Object[] results = (Object[])result;\n/* 104 */ log.fine(\"Accessors returned Object[], setting output argument values: \" + results.length);\n/* 105 */ for (int i = 0; i < arrayOfActionArgument.length; i++) {\n/* 106 */ setOutputArgumentValue(actionInvocation, arrayOfActionArgument[i], results[i]);\n/* */ }\n/* 108 */ } else if (arrayOfActionArgument.length == 1) {\n/* 109 */ setOutputArgumentValue(actionInvocation, arrayOfActionArgument[0], result);\n/* */ } else {\n/* 111 */ throw new ActionException(ErrorCode.ACTION_FAILED, \"Method return does not match required number of output arguments: \" + arrayOfActionArgument.length);\n/* */ } \n/* */ }", "@SuppressWarnings(\"unchecked\")\n public <T> T execute() {\n return (T) fetchResponse(getCallToExecute());\n }", "protected abstract void execute() throws InterruptedException, SenseException;", "@Override\n protected void doAct() {\n }", "public Object run() throws Exception {\n System.out.println(\"Performing secure action ...\");\n return null;\n }", "@Override\n\tpublic Response call() throws Exception {\n\t\tClientResponse response = callWebService(this.spaceEntry);\n\t\tthis.transId = (int) response.getEntity(Integer.class);\n\t\tresponse.close();\n\t\t/*wait for web service to provide tuple Object result*/\n\t\tawaitResult();\n\t\t\n\t\t/*return result*/\n\t\treturn result;\n\t}", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "public String execute() throws Exception {\n\t\treturn SUCCESS;\r\n\t}", "public boolean performAction(int action, Bundle arguments) {\n/* 583 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@SuppressWarnings(\"unchecked\")\n public void execute() {\n execute(null, null);\n }", "public String execute() throws Exception {\n\t\t\n\t\tif(upFile != null){\n\t\t\timportService.setUpFile(upFile);\n\t\t} else {\n\t\t\treturn ERROR;\n\t\t}\n\t\t\n\t\tif(importService.importExcel(type) == 1){\n\t\t\treturn SUCCESS;\n\t\t} else {\n\t\t\treturn ERROR;\n\t\t}\n\n\t\t/*\n\t\tif(uploadsHelper.uploadsSingleFile(upFile, upFileFileName , savePath)){\n\t\t\timportService.setUpFile(new File(savePath + \"/\" + upFileFileName));\n\t\t\tif(importService.importWells() == 1){\n\t\t\t\treturn SUCCESS;\n\t\t\t} else {\n\t\t\t\treturn ERROR;\n\t\t\t}\n\t\t} else {\n\t\t\treturn ERROR;\n\t\t}*/\n\t}", "@Override\n public void execute() {\n this.setMyReturnValue(myHandler.getXcor());\n }", "@Override\n protected void performActionResults(Action targetingAction) {\n PhysicalCard cardToSteal = targetingAction.getPrimaryTargetCard(targetGroupId);\n\n // Perform result(s)\n action.appendEffect(\n new StealCardToLocationEffect(action, cardToSteal));\n }", "@Override\n public String execute() throws Exception {\n return SUCCESS;\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\tSystem.out.println(bean.toString());\n\t\treturn Action.SUCCESS;\n\t}", "public abstract Value<T> run() throws Exception;", "public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "@Api(1.1)\n public Response execute() throws HaloNetException {\n return mBuilder.mClient.request(mRequest);\n }", "V call() throws StatusRuntimeException;", "public abstract void doInvoke(InvocationContext ic) throws Exception;", "ResponseEntity execute();", "private void execute() throws Exception {\n String parserIdentifier = Parsers.getIdentifier(parser);\n MDC.put(\"parser\", parserIdentifier);\n\n File dataSet = checkInbox();\n\n if (dataSet != null) {\n SLALogItem slaLogItem = getSLALogger().createLogItem(\"Executing parser \" + parserIdentifier, parser.getClass().getCanonicalName());\n try {\n context.isInProgress(true);\n\n MDC.put(\"input\", dataSet.getName());\n\n logger.info(\"Executing parser.\");\n\n parser.process(dataSet, persister);\n\n timeManager.update();\n\n // It is important that we commit before\n // we advance the inbox. Since it is not done\n // in a transaction we must make sure that items\n // are actually stored before removing the item\n // from the inbox. If removing the item fails\n // the parser will complain the next time we try\n // to import the item.\n //\n connection.commit();\n\n // Once the import is complete\n // we can remove of the data set\n // from the inbox.\n //\n inbox.advance();\n\n logger.info(\"Import successful.\");\n \n slaLogItem.setCallResultOk();\n slaLogItem.store();\n \n } catch (Exception e) {\n slaLogItem.setCallResultError(\"Parser \" + parserIdentifier + \" failed - Cause: \" + e.getMessage());\n slaLogItem.store();\n\n throw e;\n }\n }\n }", "public OperationStatus execute(T operation) throws AbstractAgentException;", "Object executeMethodCall(String actionName, String inMainParamValue) throws APIException;", "@Override\n\tpublic Void call() throws Exception {\n\t\tlong money = ThreadLocalRandom.current().nextLong(0,21);\n\t\tUtility.p(callType + \" processing \" + money);\n\t\ttry {\n\t\tswitch ( callType ){\n\t\tcase myAccountYourAccount:\n\t\t\tlock.transferMoneyBad(myAccount,yourAccount,money);\n\t\t\tUtility.p(\"result myAccount:\" + myAccount );\n\t\t\tUtility.p(\"result yourAccount:\" + yourAccount);\n\t\t\tbreak;\n\t\tcase yourAccountMyAccount:\n\t\t\tlock.transferMoneyBad(yourAccount,myAccount,money);\n\t\t\tUtility.p(\"result yourAccount:\" + yourAccount);\n\t\t\tUtility.p(\"result myAccount:\" + myAccount );\n\t\t\tbreak;\n\t\tcase myAccountYourAccountHash:\n\t\t\tlock.transferMoney(myAccount,yourAccount,money);\n\t\t\tUtility.p(\"result myAccount:\" + myAccount );\n\t\t\tUtility.p(\"result yourAccount:\" + yourAccount);\n\t\t\tbreak;\n\t\tcase yourAccountMyAccountHash:\n\t\t\tlock.transferMoney(yourAccount,myAccount,money);\n\t\t\tUtility.p(\"result yourAccount:\" + yourAccount);\n\t\t\tUtility.p(\"result myAccount:\" + myAccount );\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tUtility.p(\"illegal type:\" + callType);\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\treturn null;\n\t}finally {\n\t\tUtility.p(\"exiting\");\n\t}\n\t}", "@Override\n public Boolean call() throws Exception {\n return this.state22();\n }", "@Override\n public ServiceResult performAction() throws UpdateException {\n children.add(createDeleteEnrichmentAction());\n children.add(createMoveEnrichmentToCommonRecordAction());\n return ServiceResult.newOkResult();\n }", "protected Object doInvoke( Object instance, List<String> parameterNames,\n Object[] parameterValues ) throws IllegalArgumentException,\n IllegalAccessException, InvocationTargetException,\n ActionExecutionException {\n if (log.isInfoEnabled()) {\n if (!actionName.matches(\"Internal.*Operations.*\")\n && !actionName.startsWith(\"InternalProcessTalker\")) {\n log.info(\"Executing '\" + actionName + \"' with arguments \"\n + StringUtils.methodInputArgumentsToString(parameterValues));\n } else {\n // internal action\n if (log.isDebugEnabled())\n log.debug(\"Executing '\" + actionName + \"' with arguments \"\n + StringUtils.methodInputArgumentsToString(parameterValues));\n }\n }\n\n return method.invoke(instance, parameterValues);\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\t\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic void doExecute(Runnable action) {\n\t\t\n\t}", "@Override\n public ServiceResult performAction() throws UpdateException {\n return LOGGER.callChecked(log -> {\n final StopWatch watch = new Log4JStopWatch(\"opencatBusiness.checkDoubleRecord\").setTimeThreshold(LOG_DURATION_THRESHOLD_MS);\n try {\n final String trackingId = MDC.get(MDC_TRACKING_ID_LOG_CONTEXT);\n state.getOpencatBusiness().checkDoubleRecord(record, trackingId);\n return ServiceResult.newOkResult();\n } catch (OpencatBusinessConnectorException | JSONBException ex) {\n final String message = String.format(state.getMessages().getString(\"internal.double.record.check.error\"), ex.getMessage());\n log.error(message, ex);\n return ServiceResult.newOkResult();\n } finally {\n watch.stop();\n }\n });\n }", "T execute() throws MageException;", "public abstract T execute() throws Exception;", "private void runAction(Runnable action) {\n try {\n action.run();\n }\n catch ( Exception e ) {\n if (this.logger != null) {\n this.logger.error(e.getMessage(), e);\n }\n }\n }", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "@Override\n\tpublic String execute() throws Exception {\n\t\treturn super.execute();\n\t}", "protected abstract void execute();", "protected abstract void action(Object obj);", "private AvmTransactionResult runExternalInvoke(KernelInterface parentKernel, TransactionTask task, TransactionContext ctx) {\n AvmTransactionResult.Code error = null;\n\n // Sanity checks around energy pricing and nonce are done in the caller.\n // balance check\n Address sender = ctx.getSenderAddress();\n\n BigInteger transactionCost = BigInteger.valueOf(ctx.getTransaction().getEnergyLimit() * ctx.getTransactionEnergyPrice()).add(ctx.getTransferValue());\n if (!parentKernel.accountBalanceIsAtLeast(sender, transactionCost)) {\n error = AvmTransactionResult.Code.REJECTED_INSUFFICIENT_BALANCE;\n }\n\n // exit if validation check fails\n if (error != null) {\n AvmTransactionResult result = new AvmTransactionResult(ctx.getTransaction().getEnergyLimit(), ctx.getTransaction().getEnergyLimit());\n result.setResultCode(error);\n return result;\n }\n\n /*\n * After this point, no rejection should occur.\n */\n\n // Deduct the total energy cost\n parentKernel.adjustBalance(sender, BigInteger.valueOf(ctx.getTransaction().getEnergyLimit() * ctx.getTransactionEnergyPrice()).negate());\n\n // Run the common logic with the parent kernel as the top-level one.\n AvmTransactionResult result = commonInvoke(parentKernel, task, ctx);\n\n // Refund energy for transaction\n long energyRemaining = result.getEnergyRemaining() * ctx.getTransactionEnergyPrice();\n parentKernel.refundAccount(sender, BigInteger.valueOf(energyRemaining));\n\n // Transfer fees to miner\n parentKernel.adjustBalance(ctx.getMinerAddress(), BigInteger.valueOf(result.getEnergyUsed() * ctx.getTransactionEnergyPrice()));\n\n return result;\n }", "@Override\n\t\t\tpublic Integer call() throws Exception {\n\t\t\t\treturn null;\n\t\t\t}", "@Override\r\n\tpublic Integer call() throws Exception {\n\t\treturn ps.executeUpdate(); // TDOD release resources\r\n\t}", "protected ActionForward processActionPerform(HttpServletRequest request,\n HttpServletResponse response,\n Action action,\n ActionForm form,\n ActionMapping mapping)\n throws IOException, ServletException\n { //20030502AH - Copied from struts src, with extra code added \n try\n {\n if(mapping instanceof GTActionMapping)\n {\n //20050317AH - mod to also check for asdmin rights where spec'd in mapping\n GTActionMapping gtMapping = (GTActionMapping)mapping;\n boolean needsSession = gtMapping.isRequiresGtSession() ||gtMapping.isRequiresAdmin() \n \t\t\t\t\t\t\t\t\t\t\t\t|| gtMapping.isRequiresP2P() || gtMapping.isRequiresUDDI();\n if( needsSession )\n {\n //We will try to obtain a reference to the IGTSession using the method provided\n //in StaticWebUtils. This will throw a NoSessionException if we have no IGTSession.\n //By putting this check here it will be captured as though it was thrown by the action.\n IGTSession gtasSession = StaticWebUtils.getGridTalkSession(request);\n //NSL20060424 Check for P2P and UDDI requirement\n if (gtMapping.isRequiresP2P() && gtasSession.isNoP2P())\n {\n \tthrow new IllegalStateException(\"P2P functionality access required for mapped path \"+gtMapping.getPath());\n }\n if (gtMapping.isRequiresUDDI() && gtasSession.isNoUDDI())\n {\n \tthrow new IllegalStateException(\"UDDI functionality access required for mapped path \"+gtMapping.getPath());\n }\n if(gtMapping.isRequiresAdmin() && !gtasSession.isAdmin())\n {\n throw new IllegalStateException(\"Admin access required for mapped path \" + gtMapping.getPath());\n }\n }\n }\n return (action.execute(mapping, form, request, response));\n }\n catch (Exception e)\n {\n return (processException(request, response,e, form, mapping));\n }\n \n }", "@Override\n public String execute() throws Exception {\n\treturn SUCCESS;\n }", "@Override\r\n\tpublic void execute() {\n\t\tif (this.content != null) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.e2eValidationClient.execute(this.content);\r\n\t\t\t\tthis.result = this.e2eValidationClient.getResponse();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tthrow new RuntimeException(e);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"Nothing to execute!\");\r\n\t\t}\r\n\r\n\t}", "WebActionResponse processWebAction(String actionName, RequestContext rc) {\n WebActionHandlerRef webActionRef = webObjectRegistry.getWebActionHandlerRef(actionName);\n\n if (webActionRef == null) {\n throw new SnowException(Error.NO_WEB_ACTION, \"WebAction\", actionName);\n }\n\n // --------- Invoke Method --------- //\n Object result = null;\n try {\n result = methodInvoker.invokeWebHandler(webActionRef, rc);\n } catch (Throwable t) {\n throw Throwables.propagate(t);\n }\n // --------- /Invoke Method --------- //\n\n WebActionResponse response = new WebActionResponse(result);\n return response;\n }" ]
[ "0.65545684", "0.6411654", "0.63602877", "0.6352042", "0.6239977", "0.6125695", "0.61129194", "0.6109233", "0.6081127", "0.60628074", "0.6043582", "0.5995687", "0.59854686", "0.59622604", "0.59601784", "0.5922259", "0.59043694", "0.5895129", "0.58869326", "0.58818334", "0.5878368", "0.58676827", "0.5851091", "0.58509606", "0.58344316", "0.5823833", "0.5817654", "0.58169353", "0.5804531", "0.57989275", "0.57967925", "0.57922864", "0.57857907", "0.57857907", "0.5775361", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.57652235", "0.575465", "0.5754072", "0.57474816", "0.57422006", "0.5731182", "0.57180226", "0.571194", "0.57100886", "0.5699842", "0.5691359", "0.56883645", "0.56863534", "0.568611", "0.56836843", "0.56836843", "0.56762874", "0.5669517", "0.56686074", "0.56671405", "0.5653368", "0.5648875", "0.56483054", "0.5644073", "0.5638242", "0.56365085", "0.5632461", "0.5609945", "0.5596508", "0.5587524", "0.5581955", "0.5574991", "0.5574298", "0.55740947", "0.55733156", "0.5569668", "0.55660915", "0.556069", "0.55569935", "0.5550916", "0.5548878", "0.5547054", "0.5532213", "0.5532213", "0.5532213", "0.55282736", "0.55274063", "0.55220175", "0.55210495", "0.55202746", "0.55179375", "0.55127513", "0.55088305", "0.5504973" ]
0.5720153
52
create the control panels
public void peerConnected(final ServiceManager serviceManager) { serviceControlPanelsMap = ServiceControlPanelFactory.getInstance().createServiceControlPanelsMap(this, serviceManager); // refresh the state of the control panels refresh(); // notify listeners of the peer connection for (final ControlPanelManagerEventListener listener : controlPanelManagerEventListeners) { listener.handlePeerConnectedEvent(serviceControlPanelsMap); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addPanelControls() {\n\t\tlist_sort = new JComboBox<>(new String[] { \"MSSV\", \"HoTen\", \"NTNS\" });\r\n\t\tbtn_sapxep = new JButton(\"Sap xep\");\r\n\t\tbtn_them = new JButton(\"Them\");\r\n\t\tbtn_xoa = new JButton(\"Xoa\");\r\n\t\tbtn_save = new JButton(\"Save\");\r\n\t\tbtn_load = new JButton(\"Load\");\r\n\r\n\t\tJPanel mControlPanel = new JPanel(new GridLayout(5, 1));\r\n\t\tmControlPanel.add(btn_them);\r\n\t\tmControlPanel.add(btn_xoa);\r\n\t\tJPanel sapxepPanel = new JPanel();\r\n\t\tsapxepPanel.add(list_sort);\r\n\t\tsapxepPanel.add(btn_sapxep);\r\n\t\tmControlPanel.add(sapxepPanel);\r\n\t\tmControlPanel.add(btn_save);\r\n\t\tmControlPanel.add(btn_load);\r\n\r\n\t\tmControlPanel.setPreferredSize(new Dimension(380, 200));\r\n\t\tmControlPanel.setBorder(new TitledBorder(\"Controls\"));\r\n\t\tc.fill = GridBagConstraints.HORIZONTAL;\r\n\t\tc.weightx = 0.5;\r\n\t\tc.gridx = 1;\r\n\t\tc.gridy = 0;\r\n\t\tpanel.add(mControlPanel,c);\r\n\t}", "private void createComponents() {\n\n add(createSetDataPanel(), BorderLayout.NORTH);\n add(createResourcesListAndButtonsPanel(), BorderLayout.CENTER);\n }", "private void initializePanels() {\n queueInfoPanel.setBackground(new Color(236, 125, 51));\n queueButtonsPanel.setBackground(new Color(93, 118, 161));\n createLabelForPanel(queueInfoPanel);\n createButtonsForPanel(queueButtonsPanel);\n }", "private void createWidgets() {\n\n\t\tJPanel filmPanel = createFilmPanel();\n\t\tJPanel musicPanel = createMusicPanel();\n\t\tJPanel unclassPanel = createUnclassifiedPanel();\n\n\t\tthis.add(filmPanel);\n\t\tthis.add(musicPanel);\n\t\tthis.add(unclassPanel);\n\t}", "private void addPanels() {\n\t\tthis.add(dicePanel, BorderLayout.WEST);\n\t\tthis.add(inputPanel, BorderLayout.CENTER);\n\t\tthis.add(infoPanel, BorderLayout.SOUTH);\n\t}", "public void initPanel(){\r\n\t \r\n\t\t//Titre\r\n\t\tlabel.setFont(new Font(\"Verdana\",1,40));\r\n\t label.setForeground(Color.black);\r\n\t label.setBorder(BorderFactory.createLineBorder(Color.BLACK, 2));\r\n\t label.setBounds(110,0,575,50);\r\n\t\tthis.panel.setLayout(null);\t \r\n\t this.panel.add(label);\r\n\t \r\n\t //dc\r\n\t this.panel.add(label1, BorderLayout.CENTER);\r\n\t label1.setFont(new Font(\"Verdana\",1,40));\r\n\t label1.setForeground(Color.black);\r\n\t label1.setBorder(BorderFactory.createLineBorder(Color.BLACK, 2));\r\n\t label1.setBounds(150,500,100,50);\r\n\t //ab\r\n\t this.panel.add(label2);\r\n\t label2.setFont(new Font(\"Verdana\",1,40));\r\n\t label2.setForeground(Color.black);\r\n\t label2.setBorder(BorderFactory.createLineBorder(Color.BLACK, 2));\r\n\t label2.setBounds(550,500,100,50);\r\n\t //Button dc\r\n\t\tdc.setBounds(50,200,300,250);\r\n\t\tthis.panel.add(dc);\r\n\t\tdc.addActionListener(this);\r\n\t\t//Button ab\r\n\t\tab.setBounds(450,200,300,250);\r\n\t\tthis.panel.add(ab);\r\n\t\tab.addActionListener(this);\r\n\t\t\r\n\t\tthis.panel.add(label3);\r\n\t label3.setFont(new Font(\"Verdana\",1,20));\r\n\t label3.setForeground(Color.black);\r\n\t label3.setBorder(BorderFactory.createLineBorder(Color.BLACK, 2));\r\n\t label3.setBounds(90,575,220,30);\r\n\t \r\n\t this.panel.add(label4);\r\n\t label4.setFont(new Font(\"Verdana\",1,20));\r\n\t label4.setForeground(Color.black);\r\n\t label4.setBorder(BorderFactory.createLineBorder(Color.BLACK, 2));\r\n\t label4.setBounds(490,575,220,30);\r\n\t}", "private void setupPanels() {\n\t\tsplitPanel.addEast(east, Window.getClientWidth() / 5);\n\t\tsplitPanel.add(battleMatCanvasPanel);\n\t\tpanelsSetup = true;\n\t}", "private void createPanel() {\n JPanel panel = new JPanel();\n \n for(int i = 0; i < button.size(); i++){\n panel.add(button.get(i));\n }\n panel.add(label);\n \n add(panel);\n }", "private void initializePanels()\r\n\t{\r\n\t\tthis.subscribersPanel = new SubscribersPanel(DIMENSIONS);\r\n\t\tthis.consolePanel = new ConsolePanel(DIMENSIONS);\r\n\r\n\t\tthis.parametersPanel = new ParametersPanel(DIMENSIONS);\r\n\t\tthis.parametersPanel.setSize(DIMENSIONS);\r\n\r\n\t\tthis.mainPanel = new MainPanel(parametersPanel, this);\r\n\t\tthis.mainPanel.setSize(DIMENSIONS);\r\n\r\n\t\tshowParametersPanel();\r\n\t}", "private void preparePanel()\r\n\t{\r\n\t\t\r\n\t\tSystem.out.println(\"[INFO] <RADIOBUTTON_PANEL> Running preparePanel\"); // Debug\r\n\t\t\r\n\t\tthis.setLayout(new GridLayout(0,2)); // Infinite rows 2 columns\r\n\t\t\r\n\t\t// Create a button group for the radio buttons\r\n\t\tgroup = new ButtonGroup();\r\n\t\t\r\n\t\tfor (JRadioButton button : buttons) // Add each button to the array\r\n\t\t{\r\n\t\t\tthis.add(button);\r\n\t\t\tgroup.add(button); // Add the buttons to the button group\r\n\t\t}\r\n\t\t\r\n\t\t// Calculate the number of rows\r\n\t\tint numberOfRows = (buttons.length + 1)/2;\r\n\t\t\r\n\t\t// Make the panel the correct size, 40px per row\r\n\t\tthis.setPreferredSize(new Dimension(700,40*numberOfRows));\r\n\t\tthis.setMaximumSize(new Dimension(700,50*numberOfRows));\r\n\t}", "private void addComponents(){\n GridBagConstraints constraints = new GridBagConstraints();\n constraints.anchor = GridBagConstraints.WEST;\n constraints.insets = new Insets(5, 5, 5, 5);\n constraints.fill = GridBagConstraints.BOTH;\n \n // Add components to the panel\n // Note>> the constraints are applied to both panels\n constraints.gridx = 0;\n constraints.gridy = 0; \n subPanel1.add(onDo1, constraints); // Add button to pane 1\n\n constraints.gridx = 1;\n subPanel1.add(onDo2, constraints); // Add button to pane 1\n \n constraints.gridx = 0;\n constraints.gridy = 1; \n subPanel1.add(onDo3, constraints); // Add button to pane 1\n subPanel2.add(l1, constraints); // Add button to pane 2\n \n constraints.gridx = 1;\n constraints.gridy = 1;\n subPanel1.add(onDo4, constraints); // Add button to pane 1\n \n\n // Set border for sub panel 1 \n subPanel1.setBorder(BorderFactory.createTitledBorder(\n BorderFactory.createEtchedBorder(), \"Events\"));\n \n // Set border for sub panel 2 \n subPanel2.setBorder(BorderFactory.createTitledBorder(\n BorderFactory.createEtchedBorder(), \"Debug\"));\n }", "private void createControls() {\n JScrollPane votesScroller = new JScrollPane(votesTable, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n JPanel bottomPanel = new JPanel();\n JPanel buttonsPanel = new JPanel();\n JLabel votesLabel = new JLabel(\"<html><div style='text-align: center; width: \" + PANEL_SIZE.width + \";'><h3>Votes</h3></html>\");\n \n // Enables/disables buttons.\n enableAdding();\n \n // Hooks up the controller on the action listeners.\n loadButton.addActionListener((e) -> controller.loadVotes());\n addButton.addActionListener((e) -> {\n // Uses the selected indexes of the combo boxes to determine the candidate IDs.\n ArrayList<Integer> candidateIds = new ArrayList<>();\n comboBoxes.forEach((comboBox) -> candidateIds.add(comboBox.getSelectedIndex() - 1));\n \n // Requests that the controller adds a vote with the given candidate IDs.\n controller.addVote(candidateIds);\n });\n \n // Lays out the components.\n panel.setLayout(new BorderLayout());\n panel.add(votesLabel, BorderLayout.PAGE_START);\n panel.add(votesScroller, BorderLayout.CENTER);\n panel.add(bottomPanel, BorderLayout.PAGE_END);\n \n bottomPanel.setLayout(new BorderLayout());\n bottomPanel.add(createComboBoxes(), BorderLayout.PAGE_START);\n bottomPanel.add(buttonsPanel, BorderLayout.PAGE_END);\n \n buttonsPanel.setLayout(new FlowLayout(FlowLayout.CENTER));\n buttonsPanel.add(addButton);\n buttonsPanel.add(loadButton);\n \n \n panel.setPreferredSize(PANEL_SIZE);\n }", "private void addGUIComponents() {\n\t\t\n\t\t/*length panel*/\n\t\tJPanel lengthPanel = new JPanel();\n\t\tlengthPanel.setBackground(new Color(109,109,109));\n\t\tGridLayout layout = new GridLayout(1,2);\n\t\tlayout.setHgap(20);\n\t\tlengthPanel.setLayout(layout);\n\n\t\tJPanel lengthLeftPan = new JPanel();\n\t\tlengthLeftPan.setBackground(new Color(109,109,109));\n\t\tlengthLeftPan.setLayout(new GridLayout(9,2));\n\t\tlengthLeftPan.add(_X_A0_lb);\n\t\tlengthLeftPan.add(_X_A0);\n\t\tlengthLeftPan.add(_Y_A0_lb);\n\t\tlengthLeftPan.add(_Y_A0);\n\t\tlengthLeftPan.add(_X_d_lb);\n\t\tlengthLeftPan.add(_X_d);\n\t\tlengthLeftPan.add(_Y_d_lb);\n\t\tlengthLeftPan.add(_Y_d);\n\t\tlengthLeftPan.add(_X_s_lb);\n\t\tlengthLeftPan.add(_X_s);\n\t\tlengthLeftPan.add(_Y_s_lb);\n\t\tlengthLeftPan.add(_Y_s);\n\t\tlengthLeftPan.add(_ro_min_lb);\n\t\tlengthLeftPan.add(_ro_min);\n\t\tlengthLeftPan.add(new JLabel(\"\"));\n\t\tlengthLeftPan.add(new JLabel(\"\"));\n\t\tlengthLeftPan.add(new JLabel(\"\"));\n\t\tlengthLeftPan.add(new JLabel(\"\"));\n\n\t\tJPanel lengthRightPan = new JPanel(new GridLayout(10,2));\n\t\tlengthRightPan.setBackground(new Color(109,109,109));\n\t\tlengthRightPan.add(_L3_lb);\n\t\tlengthRightPan.add(_L3);\n\t\tlengthRightPan.add(_L31_lb);\n\t\tlengthRightPan.add(_L31);\n\t\tlengthRightPan.add(_L3p_lb);\n\t\tlengthRightPan.add(_L3p);\n\t\tlengthRightPan.add(_L4_lb);\n\t\tlengthRightPan.add(_L4);\n\t\tlengthRightPan.add(_L5_lb);\n\t\tlengthRightPan.add(_L5);\n\t\tlengthRightPan.add(_L1_lb);\n\t\tlengthRightPan.add(_L1);\n\t\tlengthRightPan.add(_rR_lb);\n\t\tlengthRightPan.add(_rR);\n\t\tlengthRightPan.add(_rG_lb);\n\t\tlengthRightPan.add(_rG);\n\t\tlengthRightPan.add(_ep_lb);\n\t\tlengthRightPan.add(_ep);\n\t\tlengthRightPan.add(_y_lb);\n\t\tlengthRightPan.add(_y);\n\t\t\n\t\tlengthPanel.add(lengthLeftPan);\n\t\tlengthPanel.add(lengthRightPan);\n\t\t\n\t\t/*angle panel*/\n\t\tJPanel anglePanel = new JPanel(new GridLayout(5,2));\n\t\tanglePanel.setBackground(new Color(109,109,109));\n\t\tanglePanel.add(_delta_lb);\n\t\tanglePanel.add(_delta);\n\t\tanglePanel.add(_gama_lb);\n\t\tanglePanel.add(_gama);\n\t\tanglePanel.add(_miu_an_min_lb);\n\t\tanglePanel.add(_miu_an_min);\n\t\tanglePanel.add(_miu_ab_min_lb);\n\t\tanglePanel.add(_miu_ab_min);\n\t\tanglePanel.add(_n_lb);\n\t\tanglePanel.add(_n);\n\t\t\n\t\t\n\t\t/*Title label for the length panel*/\n\t\tJLabel lengthPanelTitle = new JLabel(LanguageFactory.getInstance().getExpresion(LENGTH_TITLE_NAME));\n\t\t/*Title label for the angle panel*/\n\t\tJLabel anglePanelTitle = new JLabel(LanguageFactory.getInstance().getExpresion(ANGLE_TITLE_NAME));\n\t\t\n\t\t/*Wave radius textbox label*/\n\t\tJLabel waveRadius = new JLabel(LanguageFactory.getInstance().getExpresion(WAVE_RADIUS_LABEL_NAME));\n\t\t/*Seiben (???) radius textbox label*/\n\t\tJLabel seibenRadius = new JLabel(LanguageFactory.getInstance().getExpresion(SEIBEN_RADIUS_LABEL_NAME));\n\t\t\n\t\t\n\t\tJPanel radiusPan = new JPanel(new GridLayout(2,2));\n\t\tradiusPan.setBackground(new Color(109,109,109));\n\t\tradiusPan.add(waveRadius);\n\t\tradiusPan.add(_waveRad);\n\t\tradiusPan.add(seibenRadius);\n\t\tradiusPan.add(_siebenRad);\n\t\t\n\t\t\n\t\tJPanel leftPan = new JPanel(new GridBagLayout());\n\t\tleftPan.setBorder(BorderFactory.createRaisedBevelBorder());\n\t\tleftPan.setBackground(new Color(109,109,109));\n\t\tleftPan.add(lengthPanelTitle, new GBC(0,0).setFill(GBC.NONE).setAnchor(GBC.NORTH).setInsets(0,10,50,10));\n\t\tleftPan.add(lengthPanel, new GBC(0,1).setFill(GBC.NONE).setAnchor(GBC.NORTH).setInsets(0, 10, 0, 10));\n\t\tleftPan.add(radiusPan, new GBC(0,2).setFill(GBC.NONE).setAnchor(GBC.NORTHWEST).setInsets(20, 10, 0, 10));\n\t\t\n\t\tJPanel rightPan = new JPanel(new GridBagLayout());\n\t\trightPan.setBorder(BorderFactory.createRaisedBevelBorder());\n\t\trightPan.setBackground(new Color(109,109,109));\n\t\trightPan.add(anglePanelTitle, new GBC(1,0).setFill(GBC.NONE).setAnchor(GBC.NORTH).setInsets(0,10,50,10));\n\t\trightPan.add(anglePanel, new GBC(1,1).setFill(GBC.NONE).setAnchor(GBC.NORTH).setInsets(0, 10, 0, 10));\n\t\t\n\t\t/*adding the two panels to the layout*/\n\t\tJPanel mainPan = new JPanel(new GridBagLayout());\n\t\tmainPan.add(leftPan, new GBC(0, 0).setFill(GBC.VERTICAL).setAnchor(GBC.NORTH).setInsets(0, 0, 0, 20).setWeight(100, 100));\n\t\tmainPan.add(rightPan, new GBC(1, 0).setFill(GBC.VERTICAL).setAnchor(GBC.NORTH).setInsets(0, 20, 0, 0).setWeight(100, 100));\n\t\tmainPan.add(_drawing_btn, new GBC(2, 0, 1, 2).setFill(GBC.NONE).setAnchor(GBC.NORTH));\n\t\t\n\t\tsetLayout(new BorderLayout());\n\t\tadd(mainPan, BorderLayout.CENTER);\n\t\tsetPreferredSize(new Dimension(800, 400));\n\t\tsetSize(getPreferredSize());\n\n\t}", "private void setPanel()\r\n\t{\r\n\t\tpanel = new JPanel();\r\n\t\tpanel.setLayout(new GridLayout(5, 2));\r\n\t\t\r\n\t\tpanel.add(bubbleL);\r\n\t\tpanel.add(bubblePB);\r\n\t\t\r\n\t\tpanel.add(insertionL);\r\n\t\tpanel.add(insertionPB);\r\n\t\t\r\n\t\tpanel.add(mergeL);\r\n\t\tpanel.add(mergePB);\r\n\t\t\r\n\t\tpanel.add(quickL);\r\n\t\tpanel.add(quickPB);\r\n\t\t\r\n\t\tpanel.add(radixL);\r\n\t\tpanel.add(radixPB);\r\n\t}", "private void addComponents() {\n //this.getContentPane().add(new ViewDeckComputer(), BorderLayout.NORTH);\n createTopPanel();\n createCentralPanel();\n createBottomPanel();\n }", "private void setUpPanel() {\n\n this.add(nameLabel);\n this.add(showMetadataButton);\n this.add(compressFilesButton);\n this.add(decompressFilesButton);\n this.add(compressionResultLabel);\n this.add(messageShorteningButton);\n this.add(messageShorteningResultLabel);\n }", "public JPanel createPanel() {\n\t\t\r\n\t\tJPanel mainPanel = new JPanel();\r\n\t\tmainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));\r\n\t\tmainPanel.setBackground(Color.WHITE);\r\n\t\tmainPanel.setBorder(new CompoundBorder(\r\n\t\t\t\tBorderFactory.createLineBorder(new Color(0x3B70A3), 4),\r\n\t\t\t\tnew EmptyBorder(10, 20, 10, 20)));\r\n\r\n\t\t/*\r\n\t\t * Instruction\r\n\t\t */\t\r\n\t\tmainPanel.add(instructionPanel());\r\n\t\t\r\n\t\t\r\n\t\t// TODO: set task order for each group - make first 3 tasks = groups tasks\r\n\t\tmainPanel.add(messagesPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(phonePanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(clockPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(cameraPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\t\r\n\r\n\t\tmainPanel.add(contactPanel());\r\n\t\tmainPanel.add(Box.createRigidArea(new Dimension(this.getWidth(), 5)));\r\n\r\n\t\tmainPanel.add(galleryPanel());\r\n\t\t\r\n\t\treturn mainPanel;\r\n\t}", "private void initPanel() {\n\n\t\t// Create a group with radioButtons\n\t\tButtonGroup group = new ButtonGroup();\n\t\t// add radioButtons in ButtonGroup\n\t\tgroup.add(configProfilingCondSetRBtn);\n\t\tgroup.add(useAllCondSetsRBtn);\n\n\t\t// table models\n\t\tmodelCondTable = new DefaultTableModel(translator.getTranslation(Tags.CONDTIONS_TABLE_HEAD).split(\";\"), 0);\n\t\t\n\t\t// configure table\n\t\tscrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);\n\t\ttable.setPreferredScrollableViewportSize(new Dimension(scrollPane.getWidth(), scrollPane.getHeight()));\n\t\ttable.setModel(modelCondTable);\n\n\t\t// Set element transparent.\n\t\tscrollPane.setOpaque(false);\n\n\t\t//set layout manager\n\t\tthis.setLayout(new GridBagLayout());\n\t\t\n\t\tGridBagConstraints gbc = new GridBagConstraints();\n\n\t\t// -------------- add the panel for select the document type\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\t\tthis.add(createSelectDocTypePanel(),gbc);\n\n\t\t// -------------- add checkBox for select to check using profiling\n\t\t// conditions\n\t\tgbc.gridy++;\n\t\tgbc.weightx = 1;\n\t\tgbc.insets.top = InsetValues.COMPONENT_TOP_INSET;\n\t\tthis.add(useProfilingCondCBox, gbc);\n\t\t\n\t\t// ------------------ add checkBox for select to check using all available\n\t\t// conditions sets and a button to display Preferences/Profiling/Conditional text.\n\t\tgbc.gridy++;\n\t\tgbc.anchor = GridBagConstraints.WEST;\n\t\tgbc.fill = GridBagConstraints.NONE;\n\t\tgbc.insets.left = InsetValues.NEW_LEVEL_LEFT_INSET;\n\t\tthis.add(createAvailableConditionsSetPanel(), gbc);\n\t\t\n\t\t// -------------- Radio button for select to configure a conditions set\n\t\tgbc.gridy++;\n\t\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\t\tconfigProfilingCondSetRBtn.setSelected(true);\n\t\tthis.add(configProfilingCondSetRBtn, gbc);\n\n\t\t// --------------- add scrollPane, that contains conditionsTable\n\t\tgbc.gridy++;\n\t\tgbc.weighty = 1;\n\t\tgbc.insets.left = 2 * InsetValues.NEW_LEVEL_LEFT_INSET;\n\t\tgbc.fill = GridBagConstraints.BOTH;\n\t\t// add list selection listener\n\t\ttable.getSelectionModel().addListSelectionListener(listSelectionListener);\n\t\tthis.add(scrollPane, gbc);\n\n\t\t// ---------------- add getBtn, addBtn and removeBtn\n\t\tgbc.gridy++;\n\t\tgbc.weightx = 0;\n\t\tgbc.weighty = 0;\n\t\tgbc.insets.left = 0;\n\t\tgbc.fill = GridBagConstraints.NONE;\n\t\tgbc.anchor = GridBagConstraints.EAST;\n\n\t\t// panel that contains get, add and remove buttons\n\t\tJPanel btnsPanel = new JPanel(new GridLayout(1, 2));\n\t\tbtnsPanel.setOpaque(false);\n\n\t\tbtnsPanel.add(addBtn);\n\t\tbtnsPanel.add(remvBtn);\n\n\t\t// add table btnsPanel\n\t\tthis.add(btnsPanel, gbc);\n\n\t\t\n\t\t// ------------------ add reportUndefined checkBox\n\t\tgbc.gridy++;\n\t\tgbc.weightx = 1;\n\t\tgbc.anchor = GridBagConstraints.WEST;\n\t\tthis.add(reportUndefinedConditionsCBox,gbc);\n\n\t}", "private void createComponents() {\n view = new JPanel(new GridBagLayout());\n\n GridBagConstraints constraints = new GridBagConstraints();\n constraints.gridx = 0;\n constraints.gridy = 0;\n constraints.weightx = 1;\n constraints.weighty = 1;\n constraints.fill = GridBagConstraints.BOTH;\n\n view.add(new JPanel(), constraints);\n\n constraints.gridy = 1;\n view.add(new JPanel(), constraints);\n\n constraints.gridx = 1;\n constraints.weighty = 4;\n constraints.weightx = 6;\n view.add(renderMain(), constraints);\n\n constraints.gridx = 2;\n constraints.weightx = 1;\n constraints.weighty = 1;\n view.add(new JPanel(), constraints);\n\n constraints.gridx = 0;\n constraints.gridy = 2;\n view.add(renderBottom(), constraints);\n\n registerEvents();\n }", "private void populateControlPanel() {\n \n ControlListener control = new ControlListener();\n startStopButton = new JButton(\"Start/Stop\");\n startStopButton.addActionListener(control);\n \n saveButton = new JButton(\"Save\");\n saveButton.addActionListener(control);\n \n loadButton = new JButton(\"Load\");\n loadButton.addActionListener(control);\n \n resetButton = new JButton(\"Reset\");\n resetButton.addActionListener(control);\n \n add(startStopButton);\n add(saveButton);\n add(loadButton);\n add(resetButton);\n }", "private void crearComponentes(){\n\tjdpFondo.setSize(942,592);\n\t\n\tjtpcContenedor.setSize(230,592);\n\t\n\tjtpPanel.setTitle(\"Opciones\");\n\tjtpPanel2.setTitle(\"Volver\");\n \n jpnlPanelPrincilal.setBounds(240, 10 ,685, 540);\n \n }", "public void setPanels() {\n\t\tframe.setPreferredSize(new Dimension(3000, 2000));\n\n\t\tcontainer.setBackground(lightGray);\n\t\tcontainer.setPreferredSize(new Dimension(2300, 120));\n\t\tcontainer.setBorder(BorderFactory.createLineBorder(black));\n\n\t\tagePanel.setBackground(lightGray);\n\t\tagePanel.setPreferredSize(new Dimension(2400, 120));\n\t\tagePanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\theightPanel.setBackground(lightGray);\n\t\theightPanel.setPreferredSize(new Dimension(1200, 120));\n\t\theightPanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\tweightPanel.setBackground(lightGray);\n\t\tweightPanel.setPreferredSize(new Dimension(850, 120));\n\t\tweightPanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\thairPanel.setBackground(lightGray);\n\t\thairPanel.setPreferredSize(new Dimension(900, 120));\n\t\thairPanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\teyePanel.setBackground(lightGray);\n\t\teyePanel.setPreferredSize(new Dimension(900, 120));\n\t\teyePanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\tabilitySelectionPanel.setBackground(lightGray);\n\t\tabilitySelectionPanel.setPreferredSize(new Dimension(2400, 120));\n\t\tabilitySelectionPanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\tphysicalAbilityPanel.setBackground(lightGray);\n\t\tphysicalAbilityPanel.setPreferredSize(new Dimension(2400, 400));\n\t\tphysicalAbilityPanel.setBorder(BorderFactory.createLineBorder(black));\n\n\t\tmentalAbilityPanel.setBackground(lightGray);\n\t\tmentalAbilityPanel.setPreferredSize(new Dimension(2400, 400));\n\t\tmentalAbilityPanel.setBorder(BorderFactory.createLineBorder(black));\n\t}", "private JPanel makeControlPanel() {\n\n final JPanel panel = new JPanel(new FlowLayout(3));\n final JButton refreshButton = new JButton(new ImageIcon(iconMaker(\"refreshREAL.png\")));\n refreshButton.setFocusPainted(false);\n refreshButton.addActionListener(this::refreshButtonClicked);\n refreshButton.setToolTipText(\"Refresh Item Price(s)\");\n //checkButton.setPreferredSize(new Dimension(25,25));\n JButton viewLink = new JButton(new ImageIcon(iconMaker(\"visitSite.png\")));\n viewLink.setToolTipText(\"Visit Item Website\");\n JButton deleteItem = new JButton(new ImageIcon(iconMaker(\"delete.png\")));\n deleteItem.setToolTipText(\"Remove Item\");\n JButton addItem = buttonMaker(\"additem.png\");\n addItem.setToolTipText(\"Add Item to Price Watcher\");\n JButton editItem = buttonMaker(\"edititem.png\");\n editItem.setToolTipText(\"Edit Item Details\");\n\n\n viewLink.setFocusPainted(false);\n deleteItem.setFocusPainted(false);\n\n viewLink.addActionListener(this::viewPageClicked);\n panel.add(refreshButton);\n panel.add(viewLink);\n panel.add(deleteItem);\n panel.add(addItem);\n panel.add(editItem);\n\n return panel;\n }", "private void addWidgets() {\n\t\tgrid.setHgap(10);\n\t\tgrid.setVgap(5);\n\t\tgrid.setPadding(new Insets(150, 80, 80, 80));\n\t\tgrid.add(lblPort, 0, 1);\n\t\tgrid.add(txtPort, 1, 1);\n\t\tgrid.add(lblAdress, 0, 2);\n\t\tgrid.add(txtAdress, 1, 2);\n\t\tgrid.add(lblNick, 0, 4);\n\t\tgrid.add(txtNickname, 1, 4);\n\t\tgrid.add(lblNickTaken, 1, 5);\n\t\tgrid.add(lblCardDesign, 0, 3);\n\t\tgrid.add(comboBoxCardDesign, 1, 3);\n\t\tgrid.add(btnLogin, 0, 7);\n\t\timvStart.setImage(imageStart);\n\t}", "private DisplayPanel(){\r\n\t\t\t\tControlActionListenter cal = new ControlActionListenter();\r\n\t\t\t\tsetLayout(new BorderLayout());\r\n\t\t\t\tfinal JButton btn1 = new JButton(\"First\");\r\n\t\t\t\tbtn1.setFocusable(false);\r\n \t \tbtn1.addActionListener(cal);\r\n \t\t\tfinal JButton btn2 = new JButton(\"Next\");\r\n \t\t\tbtn2.addActionListener(cal);\r\n \t\t\t\tfinal JButton btn3 = new JButton(\"Previous\");\r\n \t\t \tbtn3.addActionListener(cal);\r\n \t\t final JButton btn4 = new JButton(\"Last\");\r\n \t\tbtn4.addActionListener(cal);\r\n \t\tbtn2.setFocusable(false);\r\n \t\tbtn3.setFocusable(false);\r\n \t\tbtn4.setFocusable(false);\r\n \t\t \tJPanel controlButtons = new JPanel(new GridLayout(2,2,5,5));\r\n \t\t \tcontrolButtons.add(btn3);\r\n \t\t \tcontrolButtons.add(btn2);\r\n \t\t \tcontrolButtons.add(btn1);\r\n \t\tcontrolButtons.add(btn4);\r\n \t\tcontrolButtons.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\r\n \t\tadd(controlButtons, BorderLayout.PAGE_END);\r\n\t\t\t}", "private void putPanels() {\n\t\tfrmUserDesign.getContentPane().add(userDesignPanel, \"userDesign\");\n\t\tfrmUserDesign.getContentPane().add(vendasClass.getVendas(), \"Vendas\");\n\t\tfrmUserDesign.getContentPane().add(maquinaClass.getMaquinas(), \"Maquinas\");\n\t\tfrmUserDesign.getContentPane().add(funcionarioClasse.getFuncionarios(), \"Funcionarios\");\n\t\tfrmUserDesign.getContentPane().add(produtoClass.getProdutos(), \"Produtos\");\n\t\tfrmUserDesign.getContentPane().add(chart.getGrafico(), \"Grafico\");\n\t\tcl.show(frmUserDesign.getContentPane(), \"userDesign\");// mostrar o main menu\n\t}", "private void initComponents() {\n java.awt.GridBagConstraints gridBagConstraints;\n\n scroolPane1 = new pkl49.component.ScroolPane();\n panelScroll = new pkl49.component.PanelTransparan();\n panelTabel = new pkl49.component.PanelTransparan();\n panelTransparan2 = new pkl49.component.PanelTransparan();\n label1 = new pkl49.component.Label();\n panelTransparan3 = new pkl49.component.PanelTransparan();\n label2 = new pkl49.component.Label();\n panelTransparan4 = new pkl49.component.PanelTransparan();\n label3 = new pkl49.component.Label();\n label4 = new pkl49.component.Label();\n label5 = new pkl49.component.Label();\n panelTransparan5 = new pkl49.component.PanelTransparan();\n label6 = new pkl49.component.Label();\n label8 = new pkl49.component.Label();\n label10 = new pkl49.component.Label();\n label11 = new pkl49.component.Label();\n label12 = new pkl49.component.Label();\n label39 = new pkl49.component.Label();\n panelTransparan7 = new pkl49.component.PanelTransparan();\n label9 = new pkl49.component.Label();\n label13 = new pkl49.component.Label();\n label14 = new pkl49.component.Label();\n label15 = new pkl49.component.Label();\n label16 = new pkl49.component.Label();\n label17 = new pkl49.component.Label();\n label18 = new pkl49.component.Label();\n panelTransparan13 = new pkl49.component.PanelTransparan();\n label19 = new pkl49.component.Label();\n label21 = new pkl49.component.Label();\n label22 = new pkl49.component.Label();\n label24 = new pkl49.component.Label();\n panelTransparan14 = new pkl49.component.PanelTransparan();\n label26 = new pkl49.component.Label();\n label27 = new pkl49.component.Label();\n label89 = new pkl49.component.Label();\n label90 = new pkl49.component.Label();\n panelTransparan15 = new pkl49.component.PanelTransparan();\n label28 = new pkl49.component.Label();\n label29 = new pkl49.component.Label();\n label30 = new pkl49.component.Label();\n label31 = new pkl49.component.Label();\n label32 = new pkl49.component.Label();\n label33 = new pkl49.component.Label();\n label34 = new pkl49.component.Label();\n label37 = new pkl49.component.Label();\n panelTransparan16 = new pkl49.component.PanelTransparan();\n label35 = new pkl49.component.Label();\n label36 = new pkl49.component.Label();\n label38 = new pkl49.component.Label();\n label40 = new pkl49.component.Label();\n panelTransparan17 = new pkl49.component.PanelTransparan();\n label41 = new pkl49.component.Label();\n label42 = new pkl49.component.Label();\n label43 = new pkl49.component.Label();\n label44 = new pkl49.component.Label();\n label91 = new pkl49.component.Label();\n panelTransparan18 = new pkl49.component.PanelTransparan();\n label49 = new pkl49.component.Label();\n label50 = new pkl49.component.Label();\n label51 = new pkl49.component.Label();\n label52 = new pkl49.component.Label();\n panelTransparan19 = new pkl49.component.PanelTransparan();\n label45 = new pkl49.component.Label();\n label46 = new pkl49.component.Label();\n panelTransparan20 = new pkl49.component.PanelTransparan();\n label47 = new pkl49.component.Label();\n panelTransparan27 = new pkl49.component.PanelTransparan();\n label63 = new pkl49.component.Label();\n panelTransparan23 = new pkl49.component.PanelTransparan();\n label55 = new pkl49.component.Label();\n panelTransparan24 = new pkl49.component.PanelTransparan();\n label56 = new pkl49.component.Label();\n panelTransparan21 = new pkl49.component.PanelTransparan();\n label48 = new pkl49.component.Label();\n panelTransparan22 = new pkl49.component.PanelTransparan();\n label54 = new pkl49.component.Label();\n panelTransparan25 = new pkl49.component.PanelTransparan();\n label57 = new pkl49.component.Label();\n panelTransparan26 = new pkl49.component.PanelTransparan();\n label58 = new pkl49.component.Label();\n panelTransparan28 = new pkl49.component.PanelTransparan();\n label59 = new pkl49.component.Label();\n panelTransparan29 = new pkl49.component.PanelTransparan();\n label60 = new pkl49.component.Label();\n label61 = new pkl49.component.Label();\n panelTransparan30 = new pkl49.component.PanelTransparan();\n label62 = new pkl49.component.Label();\n label64 = new pkl49.component.Label();\n label65 = new pkl49.component.Label();\n label66 = new pkl49.component.Label();\n label67 = new pkl49.component.Label();\n label70 = new pkl49.component.Label();\n panelTransparan31 = new pkl49.component.PanelTransparan();\n label68 = new pkl49.component.Label();\n label69 = new pkl49.component.Label();\n label92 = new pkl49.component.Label();\n label93 = new pkl49.component.Label();\n label104 = new pkl49.component.Label();\n panelTransparan32 = new pkl49.component.PanelTransparan();\n label71 = new pkl49.component.Label();\n label76 = new pkl49.component.Label();\n label105 = new pkl49.component.Label();\n label106 = new pkl49.component.Label();\n label107 = new pkl49.component.Label();\n panelTransparan33 = new pkl49.component.PanelTransparan();\n label77 = new pkl49.component.Label();\n label78 = new pkl49.component.Label();\n label79 = new pkl49.component.Label();\n panelTransparan34 = new pkl49.component.PanelTransparan();\n label72 = new pkl49.component.Label();\n panelTransparan35 = new pkl49.component.PanelTransparan();\n label73 = new pkl49.component.Label();\n panelTransparan36 = new pkl49.component.PanelTransparan();\n label74 = new pkl49.component.Label();\n panelTransparan37 = new pkl49.component.PanelTransparan();\n label75 = new pkl49.component.Label();\n panelTransparan38 = new pkl49.component.PanelTransparan();\n label80 = new pkl49.component.Label();\n panelTransparan39 = new pkl49.component.PanelTransparan();\n label81 = new pkl49.component.Label();\n panelTransparan40 = new pkl49.component.PanelTransparan();\n label82 = new pkl49.component.Label();\n panelTransparan41 = new pkl49.component.PanelTransparan();\n label83 = new pkl49.component.Label();\n panelTransparan42 = new pkl49.component.PanelTransparan();\n label84 = new pkl49.component.Label();\n panelTransparan43 = new pkl49.component.PanelTransparan();\n label85 = new pkl49.component.Label();\n panelTransparan44 = new pkl49.component.PanelTransparan();\n label86 = new pkl49.component.Label();\n panelTransparan45 = new pkl49.component.PanelTransparan();\n label87 = new pkl49.component.Label();\n panelTransparan46 = new pkl49.component.PanelTransparan();\n label88 = new pkl49.component.Label();\n panelTransparan52 = new pkl49.component.PanelTransparan();\n label94 = new pkl49.component.Label();\n panelTransparan53 = new pkl49.component.PanelTransparan();\n txtB9AK2_1 = new pkl49.component.TextField();\n panelTransparan54 = new pkl49.component.PanelTransparan();\n txtB9AK4_26 = new pkl49.component.TextField();\n panelTransparan55 = new pkl49.component.PanelTransparan();\n txtB9AK3_26 = new pkl49.component.TextField();\n txtB9AK3_26Als = new pkl49.component.TextField();\n panelTransparan56 = new pkl49.component.PanelTransparan();\n txtB9AK5_1 = new pkl49.component.TextField();\n txtB9AK5_1Als = new pkl49.component.TextField();\n panelTransparan57 = new pkl49.component.PanelTransparan();\n txtB9AK6_1 = new pkl49.component.TextField();\n panelTransparan58 = new pkl49.component.PanelTransparan();\n txtB9AK7_1 = new pkl49.component.TextField();\n panelTransparan59 = new pkl49.component.PanelTransparan();\n txtB9AK8_1 = new pkl49.component.TextField();\n panelTransparan60 = new pkl49.component.PanelTransparan();\n txtB9AK9_1 = new pkl49.component.TextField();\n panelTransparan61 = new pkl49.component.PanelTransparan();\n txtB9AK10_1 = new pkl49.component.TextField();\n panelTransparan62 = new pkl49.component.PanelTransparan();\n txtB9AK11_1 = new pkl49.component.TextField();\n panelTransparan63 = new pkl49.component.PanelTransparan();\n txtB9AK12_26 = new pkl49.component.TextField();\n panelTransparan64 = new pkl49.component.PanelTransparan();\n txtB9AK13_1 = new pkl49.component.TextField();\n txtB9AK13_1Als = new pkl49.component.TextField();\n panelTransparan70 = new pkl49.component.PanelTransparan();\n label95 = new pkl49.component.Label();\n panelTransparan71 = new pkl49.component.PanelTransparan();\n txtB9AK2_2 = new pkl49.component.TextField();\n panelTransparan72 = new pkl49.component.PanelTransparan();\n panelTransparan73 = new pkl49.component.PanelTransparan();\n panelTransparan74 = new pkl49.component.PanelTransparan();\n txtB9AK5_2 = new pkl49.component.TextField();\n txtB9AK5_2Als = new pkl49.component.TextField();\n panelTransparan75 = new pkl49.component.PanelTransparan();\n txtB9AK6_2 = new pkl49.component.TextField();\n panelTransparan76 = new pkl49.component.PanelTransparan();\n txtB9AK7_2 = new pkl49.component.TextField();\n panelTransparan77 = new pkl49.component.PanelTransparan();\n txtB9AK8_2 = new pkl49.component.TextField();\n panelTransparan78 = new pkl49.component.PanelTransparan();\n txtB9AK9_2 = new pkl49.component.TextField();\n panelTransparan79 = new pkl49.component.PanelTransparan();\n txtB9AK10_2 = new pkl49.component.TextField();\n panelTransparan80 = new pkl49.component.PanelTransparan();\n txtB9AK11_2 = new pkl49.component.TextField();\n panelTransparan81 = new pkl49.component.PanelTransparan();\n panelTransparan82 = new pkl49.component.PanelTransparan();\n txtB9AK13_2 = new pkl49.component.TextField();\n txtB9AK13_2Als = new pkl49.component.TextField();\n panelTransparan88 = new pkl49.component.PanelTransparan();\n label96 = new pkl49.component.Label();\n panelTransparan89 = new pkl49.component.PanelTransparan();\n txtB9AK2_3 = new pkl49.component.TextField();\n panelTransparan90 = new pkl49.component.PanelTransparan();\n panelTransparan91 = new pkl49.component.PanelTransparan();\n panelTransparan92 = new pkl49.component.PanelTransparan();\n txtB9AK5_3 = new pkl49.component.TextField();\n txtB9AK5_3Als = new pkl49.component.TextField();\n panelTransparan93 = new pkl49.component.PanelTransparan();\n txtB9AK6_3 = new pkl49.component.TextField();\n panelTransparan94 = new pkl49.component.PanelTransparan();\n txtB9AK7_3 = new pkl49.component.TextField();\n panelTransparan95 = new pkl49.component.PanelTransparan();\n txtB9AK9_3 = new pkl49.component.TextField();\n panelTransparan96 = new pkl49.component.PanelTransparan();\n txtB9AK8_3 = new pkl49.component.TextField();\n panelTransparan97 = new pkl49.component.PanelTransparan();\n txtB9AK10_3 = new pkl49.component.TextField();\n panelTransparan98 = new pkl49.component.PanelTransparan();\n txtB9AK11_3 = new pkl49.component.TextField();\n panelTransparan99 = new pkl49.component.PanelTransparan();\n panelTransparan100 = new pkl49.component.PanelTransparan();\n txtB9AK13_3 = new pkl49.component.TextField();\n txtB9AK13_3Als = new pkl49.component.TextField();\n panelTransparan106 = new pkl49.component.PanelTransparan();\n label97 = new pkl49.component.Label();\n panelTransparan107 = new pkl49.component.PanelTransparan();\n txtB9AK2_4 = new pkl49.component.TextField();\n panelTransparan108 = new pkl49.component.PanelTransparan();\n panelTransparan109 = new pkl49.component.PanelTransparan();\n panelTransparan110 = new pkl49.component.PanelTransparan();\n txtB9AK5_4 = new pkl49.component.TextField();\n txtB9AK5_4Als = new pkl49.component.TextField();\n panelTransparan111 = new pkl49.component.PanelTransparan();\n txtB9AK6_4 = new pkl49.component.TextField();\n panelTransparan112 = new pkl49.component.PanelTransparan();\n txtB9AK7_4 = new pkl49.component.TextField();\n panelTransparan113 = new pkl49.component.PanelTransparan();\n txtB9AK8_4 = new pkl49.component.TextField();\n panelTransparan114 = new pkl49.component.PanelTransparan();\n txtB9AK9_4 = new pkl49.component.TextField();\n panelTransparan115 = new pkl49.component.PanelTransparan();\n txtB9AK10_4 = new pkl49.component.TextField();\n panelTransparan116 = new pkl49.component.PanelTransparan();\n txtB9AK11_4 = new pkl49.component.TextField();\n panelTransparan117 = new pkl49.component.PanelTransparan();\n panelTransparan118 = new pkl49.component.PanelTransparan();\n txtB9AK13_4 = new pkl49.component.TextField();\n txtB9AK13_4Als = new pkl49.component.TextField();\n panelTransparan124 = new pkl49.component.PanelTransparan();\n label98 = new pkl49.component.Label();\n panelTransparan125 = new pkl49.component.PanelTransparan();\n txtB9AK2_5 = new pkl49.component.TextField();\n panelTransparan126 = new pkl49.component.PanelTransparan();\n panelTransparan127 = new pkl49.component.PanelTransparan();\n panelTransparan128 = new pkl49.component.PanelTransparan();\n txtB9AK5_5 = new pkl49.component.TextField();\n txtB9AK5_5Als = new pkl49.component.TextField();\n panelTransparan129 = new pkl49.component.PanelTransparan();\n txtB9AK6_5 = new pkl49.component.TextField();\n panelTransparan130 = new pkl49.component.PanelTransparan();\n txtB9AK7_5 = new pkl49.component.TextField();\n panelTransparan131 = new pkl49.component.PanelTransparan();\n txtB9AK8_5 = new pkl49.component.TextField();\n panelTransparan132 = new pkl49.component.PanelTransparan();\n txtB9AK9_5 = new pkl49.component.TextField();\n panelTransparan133 = new pkl49.component.PanelTransparan();\n txtB9AK10_5 = new pkl49.component.TextField();\n panelTransparan134 = new pkl49.component.PanelTransparan();\n txtB9AK11_5 = new pkl49.component.TextField();\n panelTransparan135 = new pkl49.component.PanelTransparan();\n panelTransparan136 = new pkl49.component.PanelTransparan();\n txtB9AK13_5 = new pkl49.component.TextField();\n txtB9AK13_5Als = new pkl49.component.TextField();\n panelTransparan142 = new pkl49.component.PanelTransparan();\n label99 = new pkl49.component.Label();\n panelTransparan143 = new pkl49.component.PanelTransparan();\n txtB9AK2_6 = new pkl49.component.TextField();\n panelTransparan144 = new pkl49.component.PanelTransparan();\n panelTransparan145 = new pkl49.component.PanelTransparan();\n panelTransparan146 = new pkl49.component.PanelTransparan();\n txtB9AK5_6 = new pkl49.component.TextField();\n txtB9AK5_6Als = new pkl49.component.TextField();\n panelTransparan147 = new pkl49.component.PanelTransparan();\n txtB9AK6_6 = new pkl49.component.TextField();\n panelTransparan148 = new pkl49.component.PanelTransparan();\n txtB9AK7_6 = new pkl49.component.TextField();\n panelTransparan149 = new pkl49.component.PanelTransparan();\n txtB9AK8_6 = new pkl49.component.TextField();\n panelTransparan150 = new pkl49.component.PanelTransparan();\n txtB9AK9_6 = new pkl49.component.TextField();\n panelTransparan151 = new pkl49.component.PanelTransparan();\n txtB9AK10_6 = new pkl49.component.TextField();\n panelTransparan152 = new pkl49.component.PanelTransparan();\n txtB9AK11_6 = new pkl49.component.TextField();\n panelTransparan153 = new pkl49.component.PanelTransparan();\n panelTransparan154 = new pkl49.component.PanelTransparan();\n txtB9AK13_6 = new pkl49.component.TextField();\n txtB9AK13_6Als = new pkl49.component.TextField();\n panelTransparan160 = new pkl49.component.PanelTransparan();\n label100 = new pkl49.component.Label();\n panelTransparan161 = new pkl49.component.PanelTransparan();\n txtB9AK2_7 = new pkl49.component.TextField();\n panelTransparan162 = new pkl49.component.PanelTransparan();\n panelTransparan163 = new pkl49.component.PanelTransparan();\n panelTransparan164 = new pkl49.component.PanelTransparan();\n txtB9AK5_7 = new pkl49.component.TextField();\n txtB9AK5_7Als = new pkl49.component.TextField();\n panelTransparan165 = new pkl49.component.PanelTransparan();\n txtB9AK6_7 = new pkl49.component.TextField();\n panelTransparan166 = new pkl49.component.PanelTransparan();\n txtB9AK7_7 = new pkl49.component.TextField();\n panelTransparan167 = new pkl49.component.PanelTransparan();\n txtB9AK8_7 = new pkl49.component.TextField();\n panelTransparan168 = new pkl49.component.PanelTransparan();\n txtB9AK9_7 = new pkl49.component.TextField();\n panelTransparan169 = new pkl49.component.PanelTransparan();\n txtB9AK10_7 = new pkl49.component.TextField();\n panelTransparan170 = new pkl49.component.PanelTransparan();\n txtB9AK11_7 = new pkl49.component.TextField();\n panelTransparan171 = new pkl49.component.PanelTransparan();\n panelTransparan172 = new pkl49.component.PanelTransparan();\n txtB9AK13_7 = new pkl49.component.TextField();\n txtB9AK13_7Als = new pkl49.component.TextField();\n panelTransparan178 = new pkl49.component.PanelTransparan();\n label101 = new pkl49.component.Label();\n panelTransparan179 = new pkl49.component.PanelTransparan();\n txtB9AK2_8 = new pkl49.component.TextField();\n panelTransparan180 = new pkl49.component.PanelTransparan();\n panelTransparan181 = new pkl49.component.PanelTransparan();\n panelTransparan182 = new pkl49.component.PanelTransparan();\n txtB9AK5_8 = new pkl49.component.TextField();\n txtB9AK5_8Als = new pkl49.component.TextField();\n panelTransparan183 = new pkl49.component.PanelTransparan();\n txtB9AK6_8 = new pkl49.component.TextField();\n panelTransparan184 = new pkl49.component.PanelTransparan();\n txtB9AK7_8 = new pkl49.component.TextField();\n panelTransparan185 = new pkl49.component.PanelTransparan();\n txtB9AK8_8 = new pkl49.component.TextField();\n panelTransparan186 = new pkl49.component.PanelTransparan();\n txtB9AK9_8 = new pkl49.component.TextField();\n panelTransparan187 = new pkl49.component.PanelTransparan();\n txtB9AK10_8 = new pkl49.component.TextField();\n panelTransparan188 = new pkl49.component.PanelTransparan();\n txtB9AK11_8 = new pkl49.component.TextField();\n panelTransparan189 = new pkl49.component.PanelTransparan();\n panelTransparan190 = new pkl49.component.PanelTransparan();\n txtB9AK13_8 = new pkl49.component.TextField();\n txtB9AK13_8Als = new pkl49.component.TextField();\n panelTransparan196 = new pkl49.component.PanelTransparan();\n label102 = new pkl49.component.Label();\n panelTransparan197 = new pkl49.component.PanelTransparan();\n txtB9AK2_9 = new pkl49.component.TextField();\n panelTransparan198 = new pkl49.component.PanelTransparan();\n panelTransparan199 = new pkl49.component.PanelTransparan();\n panelTransparan200 = new pkl49.component.PanelTransparan();\n txtB9AK5_9 = new pkl49.component.TextField();\n txtB9AK5_9Als = new pkl49.component.TextField();\n panelTransparan201 = new pkl49.component.PanelTransparan();\n txtB9AK6_9 = new pkl49.component.TextField();\n panelTransparan202 = new pkl49.component.PanelTransparan();\n txtB9AK7_9 = new pkl49.component.TextField();\n panelTransparan203 = new pkl49.component.PanelTransparan();\n txtB9AK8_9 = new pkl49.component.TextField();\n panelTransparan204 = new pkl49.component.PanelTransparan();\n txtB9AK9_9 = new pkl49.component.TextField();\n panelTransparan205 = new pkl49.component.PanelTransparan();\n txtB9AK10_9 = new pkl49.component.TextField();\n panelTransparan206 = new pkl49.component.PanelTransparan();\n txtB9AK11_9 = new pkl49.component.TextField();\n panelTransparan207 = new pkl49.component.PanelTransparan();\n panelTransparan208 = new pkl49.component.PanelTransparan();\n txtB9AK13_9 = new pkl49.component.TextField();\n txtB9AK13_9Als = new pkl49.component.TextField();\n panelTransparan214 = new pkl49.component.PanelTransparan();\n label103 = new pkl49.component.Label();\n panelTransparan215 = new pkl49.component.PanelTransparan();\n txtB9AK2_10 = new pkl49.component.TextField();\n panelTransparan216 = new pkl49.component.PanelTransparan();\n panelTransparan217 = new pkl49.component.PanelTransparan();\n panelTransparan218 = new pkl49.component.PanelTransparan();\n txtB9AK5_10 = new pkl49.component.TextField();\n txtB9AK5_10Als = new pkl49.component.TextField();\n panelTransparan219 = new pkl49.component.PanelTransparan();\n txtB9AK6_10 = new pkl49.component.TextField();\n panelTransparan220 = new pkl49.component.PanelTransparan();\n txtB9AK7_10 = new pkl49.component.TextField();\n panelTransparan221 = new pkl49.component.PanelTransparan();\n txtB9AK8_10 = new pkl49.component.TextField();\n panelTransparan222 = new pkl49.component.PanelTransparan();\n txtB9AK9_10 = new pkl49.component.TextField();\n panelTransparan223 = new pkl49.component.PanelTransparan();\n txtB9AK10_10 = new pkl49.component.TextField();\n panelTransparan224 = new pkl49.component.PanelTransparan();\n txtB9AK11_10 = new pkl49.component.TextField();\n panelTransparan225 = new pkl49.component.PanelTransparan();\n panelTransparan226 = new pkl49.component.PanelTransparan();\n txtB9AK13_10 = new pkl49.component.TextField();\n txtB9AK13_10Als = new pkl49.component.TextField();\n panelTransparan227 = new pkl49.component.PanelTransparan();\n label108 = new pkl49.component.Label();\n panelTransparan228 = new pkl49.component.PanelTransparan();\n txtB9AK2_11 = new pkl49.component.TextField();\n panelTransparan229 = new pkl49.component.PanelTransparan();\n panelTransparan230 = new pkl49.component.PanelTransparan();\n panelTransparan231 = new pkl49.component.PanelTransparan();\n txtB9AK5_11 = new pkl49.component.TextField();\n txtB9AK5_11Als = new pkl49.component.TextField();\n panelTransparan232 = new pkl49.component.PanelTransparan();\n txtB9AK6_11 = new pkl49.component.TextField();\n panelTransparan233 = new pkl49.component.PanelTransparan();\n txtB9AK7_11 = new pkl49.component.TextField();\n panelTransparan234 = new pkl49.component.PanelTransparan();\n txtB9AK8_11 = new pkl49.component.TextField();\n panelTransparan235 = new pkl49.component.PanelTransparan();\n txtB9AK9_11 = new pkl49.component.TextField();\n panelTransparan236 = new pkl49.component.PanelTransparan();\n txtB9AK10_11 = new pkl49.component.TextField();\n panelTransparan237 = new pkl49.component.PanelTransparan();\n txtB9AK11_11 = new pkl49.component.TextField();\n panelTransparan238 = new pkl49.component.PanelTransparan();\n panelTransparan239 = new pkl49.component.PanelTransparan();\n txtB9AK13_11 = new pkl49.component.TextField();\n txtB9AK13_11Als = new pkl49.component.TextField();\n panelTransparan240 = new pkl49.component.PanelTransparan();\n label109 = new pkl49.component.Label();\n panelTransparan241 = new pkl49.component.PanelTransparan();\n txtB9AK2_12 = new pkl49.component.TextField();\n panelTransparan242 = new pkl49.component.PanelTransparan();\n panelTransparan243 = new pkl49.component.PanelTransparan();\n txtB9AK5_12 = new pkl49.component.TextField();\n txtB9AK5_12Als = new pkl49.component.TextField();\n panelTransparan244 = new pkl49.component.PanelTransparan();\n txtB9AK6_12 = new pkl49.component.TextField();\n panelTransparan245 = new pkl49.component.PanelTransparan();\n txtB9AK7_12 = new pkl49.component.TextField();\n panelTransparan246 = new pkl49.component.PanelTransparan();\n panelTransparan247 = new pkl49.component.PanelTransparan();\n txtB9AK8_12 = new pkl49.component.TextField();\n panelTransparan248 = new pkl49.component.PanelTransparan();\n txtB9AK9_12 = new pkl49.component.TextField();\n panelTransparan249 = new pkl49.component.PanelTransparan();\n txtB9AK10_12 = new pkl49.component.TextField();\n panelTransparan250 = new pkl49.component.PanelTransparan();\n txtB9AK11_12 = new pkl49.component.TextField();\n panelTransparan251 = new pkl49.component.PanelTransparan();\n panelTransparan252 = new pkl49.component.PanelTransparan();\n txtB9AK13_12 = new pkl49.component.TextField();\n txtB9AK13_12Als = new pkl49.component.TextField();\n panelTransparan253 = new pkl49.component.PanelTransparan();\n label110 = new pkl49.component.Label();\n panelTransparan254 = new pkl49.component.PanelTransparan();\n txtB9AK2_13 = new pkl49.component.TextField();\n panelTransparan255 = new pkl49.component.PanelTransparan();\n panelTransparan256 = new pkl49.component.PanelTransparan();\n txtB9AK5_13 = new pkl49.component.TextField();\n txtB9AK5_13Als = new pkl49.component.TextField();\n panelTransparan257 = new pkl49.component.PanelTransparan();\n txtB9AK6_13 = new pkl49.component.TextField();\n panelTransparan258 = new pkl49.component.PanelTransparan();\n txtB9AK7_13 = new pkl49.component.TextField();\n panelTransparan259 = new pkl49.component.PanelTransparan();\n panelTransparan260 = new pkl49.component.PanelTransparan();\n txtB9AK8_13 = new pkl49.component.TextField();\n panelTransparan261 = new pkl49.component.PanelTransparan();\n txtB9AK9_13 = new pkl49.component.TextField();\n panelTransparan262 = new pkl49.component.PanelTransparan();\n txtB9AK10_13 = new pkl49.component.TextField();\n panelTransparan263 = new pkl49.component.PanelTransparan();\n txtB9AK11_13 = new pkl49.component.TextField();\n panelTransparan264 = new pkl49.component.PanelTransparan();\n panelTransparan265 = new pkl49.component.PanelTransparan();\n txtB9AK13_13 = new pkl49.component.TextField();\n txtB9AK13_13Als = new pkl49.component.TextField();\n panelTransparan266 = new pkl49.component.PanelTransparan();\n label111 = new pkl49.component.Label();\n panelTransparan267 = new pkl49.component.PanelTransparan();\n txtB9AK2_14 = new pkl49.component.TextField();\n panelTransparan268 = new pkl49.component.PanelTransparan();\n panelTransparan269 = new pkl49.component.PanelTransparan();\n txtB9AK5_14 = new pkl49.component.TextField();\n txtB9AK5_14Als = new pkl49.component.TextField();\n panelTransparan270 = new pkl49.component.PanelTransparan();\n txtB9AK6_14 = new pkl49.component.TextField();\n panelTransparan271 = new pkl49.component.PanelTransparan();\n txtB9AK7_14 = new pkl49.component.TextField();\n panelTransparan272 = new pkl49.component.PanelTransparan();\n panelTransparan273 = new pkl49.component.PanelTransparan();\n txtB9AK8_14 = new pkl49.component.TextField();\n panelTransparan274 = new pkl49.component.PanelTransparan();\n txtB9AK9_14 = new pkl49.component.TextField();\n panelTransparan275 = new pkl49.component.PanelTransparan();\n txtB9AK10_14 = new pkl49.component.TextField();\n panelTransparan276 = new pkl49.component.PanelTransparan();\n txtB9AK11_14 = new pkl49.component.TextField();\n panelTransparan277 = new pkl49.component.PanelTransparan();\n panelTransparan278 = new pkl49.component.PanelTransparan();\n txtB9AK13_14 = new pkl49.component.TextField();\n txtB9AK13_14Als = new pkl49.component.TextField();\n panelTransparan279 = new pkl49.component.PanelTransparan();\n label112 = new pkl49.component.Label();\n panelTransparan280 = new pkl49.component.PanelTransparan();\n txtB9AK2_15 = new pkl49.component.TextField();\n panelTransparan281 = new pkl49.component.PanelTransparan();\n panelTransparan282 = new pkl49.component.PanelTransparan();\n panelTransparan283 = new pkl49.component.PanelTransparan();\n txtB9AK5_15 = new pkl49.component.TextField();\n txtB9AK5_15Als = new pkl49.component.TextField();\n panelTransparan284 = new pkl49.component.PanelTransparan();\n txtB9AK6_15 = new pkl49.component.TextField();\n panelTransparan285 = new pkl49.component.PanelTransparan();\n txtB9AK7_15 = new pkl49.component.TextField();\n panelTransparan286 = new pkl49.component.PanelTransparan();\n txtB9AK8_15 = new pkl49.component.TextField();\n panelTransparan287 = new pkl49.component.PanelTransparan();\n txtB9AK9_15 = new pkl49.component.TextField();\n panelTransparan288 = new pkl49.component.PanelTransparan();\n txtB9AK10_15 = new pkl49.component.TextField();\n panelTransparan289 = new pkl49.component.PanelTransparan();\n txtB9AK11_15 = new pkl49.component.TextField();\n panelTransparan290 = new pkl49.component.PanelTransparan();\n panelTransparan291 = new pkl49.component.PanelTransparan();\n txtB9AK13_15 = new pkl49.component.TextField();\n txtB9AK13_15Als = new pkl49.component.TextField();\n panelTransparan292 = new pkl49.component.PanelTransparan();\n label113 = new pkl49.component.Label();\n panelTransparan293 = new pkl49.component.PanelTransparan();\n txtB9AK2_16 = new pkl49.component.TextField();\n panelTransparan294 = new pkl49.component.PanelTransparan();\n panelTransparan295 = new pkl49.component.PanelTransparan();\n panelTransparan296 = new pkl49.component.PanelTransparan();\n txtB9AK5_16 = new pkl49.component.TextField();\n txtB9AK5_16Als = new pkl49.component.TextField();\n panelTransparan297 = new pkl49.component.PanelTransparan();\n txtB9AK6_16 = new pkl49.component.TextField();\n panelTransparan298 = new pkl49.component.PanelTransparan();\n txtB9AK7_16 = new pkl49.component.TextField();\n panelTransparan299 = new pkl49.component.PanelTransparan();\n txtB9AK8_16 = new pkl49.component.TextField();\n panelTransparan300 = new pkl49.component.PanelTransparan();\n txtB9AK9_16 = new pkl49.component.TextField();\n panelTransparan301 = new pkl49.component.PanelTransparan();\n txtB9AK10_16 = new pkl49.component.TextField();\n panelTransparan302 = new pkl49.component.PanelTransparan();\n txtB9AK11_16 = new pkl49.component.TextField();\n panelTransparan303 = new pkl49.component.PanelTransparan();\n panelTransparan304 = new pkl49.component.PanelTransparan();\n txtB9AK13_16 = new pkl49.component.TextField();\n txtB9AK13_16Als = new pkl49.component.TextField();\n panelTransparan305 = new pkl49.component.PanelTransparan();\n label114 = new pkl49.component.Label();\n panelTransparan306 = new pkl49.component.PanelTransparan();\n txtB9AK2_17 = new pkl49.component.TextField();\n panelTransparan307 = new pkl49.component.PanelTransparan();\n panelTransparan308 = new pkl49.component.PanelTransparan();\n panelTransparan309 = new pkl49.component.PanelTransparan();\n txtB9AK5_17 = new pkl49.component.TextField();\n txtB9AK5_17Als = new pkl49.component.TextField();\n panelTransparan310 = new pkl49.component.PanelTransparan();\n txtB9AK6_17 = new pkl49.component.TextField();\n panelTransparan311 = new pkl49.component.PanelTransparan();\n txtB9AK7_17 = new pkl49.component.TextField();\n panelTransparan312 = new pkl49.component.PanelTransparan();\n txtB9AK8_17 = new pkl49.component.TextField();\n panelTransparan313 = new pkl49.component.PanelTransparan();\n txtB9AK9_17 = new pkl49.component.TextField();\n panelTransparan314 = new pkl49.component.PanelTransparan();\n txtB9AK10_17 = new pkl49.component.TextField();\n panelTransparan315 = new pkl49.component.PanelTransparan();\n txtB9AK11_17 = new pkl49.component.TextField();\n panelTransparan316 = new pkl49.component.PanelTransparan();\n panelTransparan317 = new pkl49.component.PanelTransparan();\n txtB9AK13_17 = new pkl49.component.TextField();\n txtB9AK13_17Als = new pkl49.component.TextField();\n panelTransparan318 = new pkl49.component.PanelTransparan();\n label115 = new pkl49.component.Label();\n panelTransparan319 = new pkl49.component.PanelTransparan();\n txtB9AK2_18 = new pkl49.component.TextField();\n panelTransparan320 = new pkl49.component.PanelTransparan();\n panelTransparan321 = new pkl49.component.PanelTransparan();\n panelTransparan322 = new pkl49.component.PanelTransparan();\n txtB9AK5_18 = new pkl49.component.TextField();\n txtB9AK5_18Als = new pkl49.component.TextField();\n panelTransparan323 = new pkl49.component.PanelTransparan();\n txtB9AK6_18 = new pkl49.component.TextField();\n panelTransparan324 = new pkl49.component.PanelTransparan();\n txtB9AK7_18 = new pkl49.component.TextField();\n panelTransparan325 = new pkl49.component.PanelTransparan();\n txtB9AK8_18 = new pkl49.component.TextField();\n panelTransparan326 = new pkl49.component.PanelTransparan();\n txtB9AK9_18 = new pkl49.component.TextField();\n panelTransparan327 = new pkl49.component.PanelTransparan();\n txtB9AK10_18 = new pkl49.component.TextField();\n panelTransparan328 = new pkl49.component.PanelTransparan();\n txtB9AK11_18 = new pkl49.component.TextField();\n panelTransparan329 = new pkl49.component.PanelTransparan();\n panelTransparan330 = new pkl49.component.PanelTransparan();\n txtB9AK13_18 = new pkl49.component.TextField();\n txtB9AK13_18Als = new pkl49.component.TextField();\n panelTransparan331 = new pkl49.component.PanelTransparan();\n label116 = new pkl49.component.Label();\n panelTransparan332 = new pkl49.component.PanelTransparan();\n txtB9AK2_19 = new pkl49.component.TextField();\n panelTransparan333 = new pkl49.component.PanelTransparan();\n panelTransparan334 = new pkl49.component.PanelTransparan();\n panelTransparan335 = new pkl49.component.PanelTransparan();\n txtB9AK5_19 = new pkl49.component.TextField();\n txtB9AK5_19Als = new pkl49.component.TextField();\n panelTransparan336 = new pkl49.component.PanelTransparan();\n txtB9AK6_19 = new pkl49.component.TextField();\n panelTransparan337 = new pkl49.component.PanelTransparan();\n txtB9AK7_19 = new pkl49.component.TextField();\n panelTransparan338 = new pkl49.component.PanelTransparan();\n txtB9AK8_19 = new pkl49.component.TextField();\n panelTransparan339 = new pkl49.component.PanelTransparan();\n txtB9AK9_19 = new pkl49.component.TextField();\n panelTransparan340 = new pkl49.component.PanelTransparan();\n txtB9AK10_19 = new pkl49.component.TextField();\n panelTransparan341 = new pkl49.component.PanelTransparan();\n txtB9AK11_19 = new pkl49.component.TextField();\n panelTransparan342 = new pkl49.component.PanelTransparan();\n panelTransparan343 = new pkl49.component.PanelTransparan();\n txtB9AK13_19 = new pkl49.component.TextField();\n txtB9AK13_19Als = new pkl49.component.TextField();\n panelTransparan344 = new pkl49.component.PanelTransparan();\n label117 = new pkl49.component.Label();\n panelTransparan345 = new pkl49.component.PanelTransparan();\n txtB9AK2_20 = new pkl49.component.TextField();\n panelTransparan346 = new pkl49.component.PanelTransparan();\n panelTransparan347 = new pkl49.component.PanelTransparan();\n panelTransparan348 = new pkl49.component.PanelTransparan();\n txtB9AK5_20 = new pkl49.component.TextField();\n txtB9AK5_20Als = new pkl49.component.TextField();\n panelTransparan349 = new pkl49.component.PanelTransparan();\n txtB9AK6_20 = new pkl49.component.TextField();\n panelTransparan350 = new pkl49.component.PanelTransparan();\n txtB9AK7_20 = new pkl49.component.TextField();\n panelTransparan351 = new pkl49.component.PanelTransparan();\n txtB9AK8_20 = new pkl49.component.TextField();\n panelTransparan352 = new pkl49.component.PanelTransparan();\n txtB9AK9_20 = new pkl49.component.TextField();\n panelTransparan353 = new pkl49.component.PanelTransparan();\n txtB9AK10_20 = new pkl49.component.TextField();\n panelTransparan354 = new pkl49.component.PanelTransparan();\n txtB9AK11_20 = new pkl49.component.TextField();\n panelTransparan355 = new pkl49.component.PanelTransparan();\n panelTransparan356 = new pkl49.component.PanelTransparan();\n txtB9AK13_20 = new pkl49.component.TextField();\n txtB9AK13_20Als = new pkl49.component.TextField();\n panelTransparan357 = new pkl49.component.PanelTransparan();\n label118 = new pkl49.component.Label();\n panelTransparan358 = new pkl49.component.PanelTransparan();\n txtB9AK2_21 = new pkl49.component.TextField();\n panelTransparan359 = new pkl49.component.PanelTransparan();\n panelTransparan360 = new pkl49.component.PanelTransparan();\n panelTransparan361 = new pkl49.component.PanelTransparan();\n txtB9AK5_21 = new pkl49.component.TextField();\n txtB9AK5_21Als = new pkl49.component.TextField();\n panelTransparan362 = new pkl49.component.PanelTransparan();\n txtB9AK6_21 = new pkl49.component.TextField();\n panelTransparan363 = new pkl49.component.PanelTransparan();\n txtB9AK7_21 = new pkl49.component.TextField();\n panelTransparan364 = new pkl49.component.PanelTransparan();\n txtB9AK8_21 = new pkl49.component.TextField();\n panelTransparan365 = new pkl49.component.PanelTransparan();\n txtB9AK9_21 = new pkl49.component.TextField();\n panelTransparan366 = new pkl49.component.PanelTransparan();\n txtB9AK10_21 = new pkl49.component.TextField();\n panelTransparan367 = new pkl49.component.PanelTransparan();\n txtB9AK11_21 = new pkl49.component.TextField();\n panelTransparan368 = new pkl49.component.PanelTransparan();\n panelTransparan369 = new pkl49.component.PanelTransparan();\n txtB9AK13_21 = new pkl49.component.TextField();\n txtB9AK13_21Als = new pkl49.component.TextField();\n panelTransparan370 = new pkl49.component.PanelTransparan();\n label119 = new pkl49.component.Label();\n panelTransparan371 = new pkl49.component.PanelTransparan();\n txtB9AK2_22 = new pkl49.component.TextField();\n panelTransparan372 = new pkl49.component.PanelTransparan();\n panelTransparan373 = new pkl49.component.PanelTransparan();\n panelTransparan374 = new pkl49.component.PanelTransparan();\n txtB9AK5_22 = new pkl49.component.TextField();\n txtB9AK5_22Als = new pkl49.component.TextField();\n panelTransparan375 = new pkl49.component.PanelTransparan();\n txtB9AK6_22 = new pkl49.component.TextField();\n panelTransparan376 = new pkl49.component.PanelTransparan();\n txtB9AK7_22 = new pkl49.component.TextField();\n panelTransparan377 = new pkl49.component.PanelTransparan();\n txtB9AK8_22 = new pkl49.component.TextField();\n panelTransparan378 = new pkl49.component.PanelTransparan();\n txtB9AK9_22 = new pkl49.component.TextField();\n panelTransparan379 = new pkl49.component.PanelTransparan();\n txtB9AK10_22 = new pkl49.component.TextField();\n panelTransparan380 = new pkl49.component.PanelTransparan();\n txtB9AK11_22 = new pkl49.component.TextField();\n panelTransparan381 = new pkl49.component.PanelTransparan();\n panelTransparan382 = new pkl49.component.PanelTransparan();\n txtB9AK13_22 = new pkl49.component.TextField();\n txtB9AK13_22Als = new pkl49.component.TextField();\n panelTransparan383 = new pkl49.component.PanelTransparan();\n label120 = new pkl49.component.Label();\n panelTransparan384 = new pkl49.component.PanelTransparan();\n txtB9AK2_23 = new pkl49.component.TextField();\n panelTransparan385 = new pkl49.component.PanelTransparan();\n panelTransparan386 = new pkl49.component.PanelTransparan();\n panelTransparan387 = new pkl49.component.PanelTransparan();\n txtB9AK5_23 = new pkl49.component.TextField();\n txtB9AK5_23Als = new pkl49.component.TextField();\n panelTransparan388 = new pkl49.component.PanelTransparan();\n txtB9AK6_23 = new pkl49.component.TextField();\n panelTransparan389 = new pkl49.component.PanelTransparan();\n txtB9AK7_23 = new pkl49.component.TextField();\n panelTransparan390 = new pkl49.component.PanelTransparan();\n txtB9AK8_23 = new pkl49.component.TextField();\n panelTransparan391 = new pkl49.component.PanelTransparan();\n txtB9AK9_23 = new pkl49.component.TextField();\n panelTransparan392 = new pkl49.component.PanelTransparan();\n txtB9AK10_23 = new pkl49.component.TextField();\n panelTransparan393 = new pkl49.component.PanelTransparan();\n txtB9AK11_23 = new pkl49.component.TextField();\n panelTransparan394 = new pkl49.component.PanelTransparan();\n panelTransparan395 = new pkl49.component.PanelTransparan();\n txtB9AK13_23 = new pkl49.component.TextField();\n txtB9AK13_23Als = new pkl49.component.TextField();\n panelTransparan396 = new pkl49.component.PanelTransparan();\n label121 = new pkl49.component.Label();\n panelTransparan397 = new pkl49.component.PanelTransparan();\n txtB9AK2_24 = new pkl49.component.TextField();\n panelTransparan398 = new pkl49.component.PanelTransparan();\n panelTransparan399 = new pkl49.component.PanelTransparan();\n panelTransparan400 = new pkl49.component.PanelTransparan();\n txtB9AK5_24 = new pkl49.component.TextField();\n txtB9AK5_24Als = new pkl49.component.TextField();\n panelTransparan401 = new pkl49.component.PanelTransparan();\n txtB9AK6_24 = new pkl49.component.TextField();\n panelTransparan402 = new pkl49.component.PanelTransparan();\n txtB9AK7_24 = new pkl49.component.TextField();\n panelTransparan403 = new pkl49.component.PanelTransparan();\n txtB9AK8_24 = new pkl49.component.TextField();\n panelTransparan404 = new pkl49.component.PanelTransparan();\n txtB9AK9_24 = new pkl49.component.TextField();\n panelTransparan405 = new pkl49.component.PanelTransparan();\n txtB9AK10_24 = new pkl49.component.TextField();\n panelTransparan406 = new pkl49.component.PanelTransparan();\n txtB9AK11_24 = new pkl49.component.TextField();\n panelTransparan407 = new pkl49.component.PanelTransparan();\n panelTransparan408 = new pkl49.component.PanelTransparan();\n txtB9AK13_24 = new pkl49.component.TextField();\n txtB9AK13_24Als = new pkl49.component.TextField();\n panelTransparan409 = new pkl49.component.PanelTransparan();\n label122 = new pkl49.component.Label();\n panelTransparan410 = new pkl49.component.PanelTransparan();\n txtB9AK2_25 = new pkl49.component.TextField();\n panelTransparan411 = new pkl49.component.PanelTransparan();\n panelTransparan412 = new pkl49.component.PanelTransparan();\n panelTransparan413 = new pkl49.component.PanelTransparan();\n txtB9AK5_25 = new pkl49.component.TextField();\n txtB9AK5_25Als = new pkl49.component.TextField();\n panelTransparan414 = new pkl49.component.PanelTransparan();\n txtB9AK6_25 = new pkl49.component.TextField();\n panelTransparan415 = new pkl49.component.PanelTransparan();\n txtB9AK7_25 = new pkl49.component.TextField();\n panelTransparan416 = new pkl49.component.PanelTransparan();\n txtB9AK8_25 = new pkl49.component.TextField();\n panelTransparan417 = new pkl49.component.PanelTransparan();\n txtB9AK9_25 = new pkl49.component.TextField();\n panelTransparan418 = new pkl49.component.PanelTransparan();\n txtB9AK10_25 = new pkl49.component.TextField();\n panelTransparan419 = new pkl49.component.PanelTransparan();\n txtB9AK11_25 = new pkl49.component.TextField();\n panelTransparan420 = new pkl49.component.PanelTransparan();\n panelTransparan421 = new pkl49.component.PanelTransparan();\n txtB9AK13_25 = new pkl49.component.TextField();\n txtB9AK13_25Als = new pkl49.component.TextField();\n panelTransparan422 = new pkl49.component.PanelTransparan();\n panelTransparan423 = new pkl49.component.PanelTransparan();\n panelTransparan424 = new pkl49.component.PanelTransparan();\n panelTransparan425 = new pkl49.component.PanelTransparan();\n panelTransparan426 = new pkl49.component.PanelTransparan();\n panelTransparan427 = new pkl49.component.PanelTransparan();\n panelTransparan428 = new pkl49.component.PanelTransparan();\n panelTransparan429 = new pkl49.component.PanelTransparan();\n panelTransparan430 = new pkl49.component.PanelTransparan();\n panelTransparan431 = new pkl49.component.PanelTransparan();\n panelTransparan432 = new pkl49.component.PanelTransparan();\n panelTransparan433 = new pkl49.component.PanelTransparan();\n panelTransparan434 = new pkl49.component.PanelTransparan();\n\n setOpaque(false);\n setLayout(new java.awt.BorderLayout());\n\n panelTabel.setLayout(new java.awt.GridBagLayout());\n\n panelTransparan2.setAlpha(70);\n panelTransparan2.setLayout(new java.awt.GridBagLayout());\n\n label1.setText(\"VIII. PENGETAHUAN TENTANG PROGRAM KESEHATAN GRATIS, PROGRAM PENDIDIKAN GRATIS, DAN PENGETAHUAN TENTANG KESEHATAN\"); // NOI18N\n label1.setFont(new java.awt.Font(\"Tahoma\", 1, 12));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan2.add(label1, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridwidth = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan2, gridBagConstraints);\n\n panelTransparan3.setAlpha(70);\n panelTransparan3.setLayout(new java.awt.GridBagLayout());\n\n label2.setText(\"VIII.A KESEHATAN DAN PENDIDIKAN GRATIS DALAM SATU TAHUN TERAKHIR\"); // NOI18N\n label2.setFont(new java.awt.Font(\"Tahoma\", 1, 12));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan3.add(label2, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.gridwidth = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan3, gridBagConstraints);\n\n panelTransparan4.setAlpha(50);\n panelTransparan4.setLayout(new java.awt.GridBagLayout());\n\n label3.setText(\"No.\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan4.add(label3, gridBagConstraints);\n\n label4.setText(\"ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan4.add(label4, gridBagConstraints);\n\n label5.setText(\"Urut\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan4.add(label5, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.gridheight = 4;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan4, gridBagConstraints);\n\n panelTransparan5.setAlpha(50);\n panelTransparan5.setLayout(new java.awt.GridBagLayout());\n\n label6.setText(\"Apakah ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label6, gridBagConstraints);\n\n label8.setText(\"mempunyai jaminan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label8, gridBagConstraints);\n\n label10.setText(\"pembiayaan/asuransi\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label10, gridBagConstraints);\n\n label11.setText(\"kesehatan untuk di\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label11, gridBagConstraints);\n\n label12.setText(\"[Isikan kode]\"); // NOI18N\n label12.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label12, gridBagConstraints);\n\n label39.setText(\"bawah ini?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan5.add(label39, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan5, gridBagConstraints);\n\n panelTransparan7.setAlpha(50);\n panelTransparan7.setLayout(new java.awt.GridBagLayout());\n\n label9.setText(\"0. Tidak punya\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label9, gridBagConstraints);\n\n label13.setText(\"1. Askes\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label13, gridBagConstraints);\n\n label14.setText(\"2. Asabri\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label14, gridBagConstraints);\n\n label15.setText(\"4. Jamsostek\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label15, gridBagConstraints);\n\n label16.setText(\"8. Jamkes Swasta\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label16, gridBagConstraints);\n\n label17.setText(\"16. Jamkesmas\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label17, gridBagConstraints);\n\n label18.setText(\"32. Jamkes Mandiri\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan7.add(label18, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan7, gridBagConstraints);\n\n panelTransparan13.setAlpha(50);\n panelTransparan13.setLayout(new java.awt.GridBagLayout());\n\n label19.setText(\"Apakah ada ART yang\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan13.add(label19, gridBagConstraints);\n\n label21.setText(\"mengetahui tentang\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan13.add(label21, gridBagConstraints);\n\n label22.setText(\"program pemerintah\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan13.add(label22, gridBagConstraints);\n\n label24.setText(\"Jamsoskes semesta?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan13.add(label24, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan13, gridBagConstraints);\n\n panelTransparan14.setAlpha(50);\n panelTransparan14.setLayout(new java.awt.GridBagLayout());\n\n label26.setText(\"1=ya [Sumber informasi]\"); // NOI18N\n label26.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan14.add(label26, gridBagConstraints);\n\n label27.setText(\"2=tidak\"); // NOI18N\n label27.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan14.add(label27, gridBagConstraints);\n\n label89.setText(\"[Jika kode=2,\"); // NOI18N\n label89.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan14.add(label89, gridBagConstraints);\n\n label90.setText(\"lanjut ke K.12]\"); // NOI18N\n label90.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan14.add(label90, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan14, gridBagConstraints);\n\n panelTransparan15.setAlpha(50);\n panelTransparan15.setLayout(new java.awt.GridBagLayout());\n\n label28.setText(\"Apakah ada ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label28, gridBagConstraints);\n\n label29.setText(\"tentang siapa\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label29, gridBagConstraints);\n\n label30.setText(\"yang mengetahui\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label30, gridBagConstraints);\n\n label31.setText(\"yang berhak\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label31, gridBagConstraints);\n\n label32.setText(\"pelayanan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label32, gridBagConstraints);\n\n label33.setText(\"Jamsoskes\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label33, gridBagConstraints);\n\n label34.setText(\"semesta?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 7;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label34, gridBagConstraints);\n\n label37.setText(\"mendapatkan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan15.add(label37, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan15, gridBagConstraints);\n\n panelTransparan16.setAlpha(50);\n panelTransparan16.setLayout(new java.awt.GridBagLayout());\n\n label35.setText(\"1=ya\"); // NOI18N\n label35.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 0;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan16.add(label35, gridBagConstraints);\n\n label36.setText(\"2=tidak\"); // NOI18N\n label36.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan16.add(label36, gridBagConstraints);\n\n label38.setText(\"[Isikan jika\"); // NOI18N\n label38.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan16.add(label38, gridBagConstraints);\n\n label40.setText(\"K.3=1]\"); // NOI18N\n label40.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan16.add(label40, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan16, gridBagConstraints);\n\n panelTransparan17.setAlpha(50);\n panelTransparan17.setLayout(new java.awt.GridBagLayout());\n\n label41.setText(\"Apakah ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan17.add(label41, gridBagConstraints);\n\n label42.setText(\"[Isikan jika K.2=0 dan\"); // NOI18N\n label42.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan17.add(label42, gridBagConstraints);\n\n label43.setText(\"jamsoskes?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan17.add(label43, gridBagConstraints);\n\n label44.setText(\"K.3=1]\"); // NOI18N\n label44.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan17.add(label44, gridBagConstraints);\n\n label91.setText(\"memanfaatkan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan17.add(label91, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan17, gridBagConstraints);\n\n panelTransparan18.setAlpha(50);\n panelTransparan18.setLayout(new java.awt.GridBagLayout());\n\n label49.setText(\"1=ya\"); // NOI18N\n label49.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 0;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan18.add(label49, gridBagConstraints);\n\n label50.setText(\"2=tidak [alasan]\"); // NOI18N\n label50.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan18.add(label50, gridBagConstraints);\n\n label51.setText(\"[jika kode=2 Lanjut\"); // NOI18N\n label51.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan18.add(label51, gridBagConstraints);\n\n label52.setText(\"ke K12]\"); // NOI18N\n label52.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan18.add(label52, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan18, gridBagConstraints);\n\n panelTransparan19.setAlpha(50);\n panelTransparan19.setLayout(new java.awt.GridBagLayout());\n\n label45.setText(\"Jenis pelayanan yang pernah didapatkan dengan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan19.add(label45, gridBagConstraints);\n\n label46.setText(\"memanfaatkan jamsoskes\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan19.add(label46, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.gridwidth = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan19, gridBagConstraints);\n\n panelTransparan20.setAlpha(50);\n panelTransparan20.setLayout(new java.awt.GridBagLayout());\n\n label47.setText(\"1=ya 2=tidak\"); // NOI18N\n label47.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan20.add(label47, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridwidth = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan20, gridBagConstraints);\n\n panelTransparan27.setAlpha(50);\n panelTransparan27.setLayout(new java.awt.GridBagLayout());\n\n label63.setText(\"Rawat Jalan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan27.add(label63, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.gridwidth = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan27, gridBagConstraints);\n\n panelTransparan23.setAlpha(50);\n panelTransparan23.setLayout(new java.awt.GridBagLayout());\n\n label55.setText(\"Rawat Inap\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan23.add(label55, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.gridwidth = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan23, gridBagConstraints);\n\n panelTransparan24.setAlpha(50);\n panelTransparan24.setLayout(new java.awt.GridBagLayout());\n\n label56.setText(\"Gawat Darurat\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan24.add(label56, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.gridwidth = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan24, gridBagConstraints);\n\n panelTransparan21.setAlpha(50);\n panelTransparan21.setLayout(new java.awt.GridBagLayout());\n\n label48.setText(\"Tahap 1\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan21.add(label48, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan21, gridBagConstraints);\n\n panelTransparan22.setAlpha(50);\n panelTransparan22.setLayout(new java.awt.GridBagLayout());\n\n label54.setText(\"Lanjutan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan22.add(label54, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan22, gridBagConstraints);\n\n panelTransparan25.setAlpha(50);\n panelTransparan25.setLayout(new java.awt.GridBagLayout());\n\n label57.setText(\"Tahap 1\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan25.add(label57, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan25, gridBagConstraints);\n\n panelTransparan26.setAlpha(50);\n panelTransparan26.setLayout(new java.awt.GridBagLayout());\n\n label58.setText(\"Lanjutan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan26.add(label58, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan26, gridBagConstraints);\n\n panelTransparan28.setAlpha(50);\n panelTransparan28.setLayout(new java.awt.GridBagLayout());\n\n label59.setText(\"Puskesmas\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan28.add(label59, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan28, gridBagConstraints);\n\n panelTransparan29.setAlpha(50);\n panelTransparan29.setLayout(new java.awt.GridBagLayout());\n\n label60.setText(\"Rumah\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan29.add(label60, gridBagConstraints);\n\n label61.setText(\"Sakit\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan29.add(label61, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan29, gridBagConstraints);\n\n panelTransparan30.setAlpha(50);\n panelTransparan30.setLayout(new java.awt.GridBagLayout());\n\n label62.setText(\"Apakah ada ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label62, gridBagConstraints);\n\n label64.setText(\"tentang\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label64, gridBagConstraints);\n\n label65.setText(\"yang mengetahui\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label65, gridBagConstraints);\n\n label66.setText(\"program\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label66, gridBagConstraints);\n\n label67.setText(\"gratis?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 5;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label67, gridBagConstraints);\n\n label70.setText(\"pendidikan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan30.add(label70, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan30, gridBagConstraints);\n\n panelTransparan31.setAlpha(50);\n panelTransparan31.setLayout(new java.awt.GridBagLayout());\n\n label68.setText(\"1=ya\"); // NOI18N\n label68.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan31.add(label68, gridBagConstraints);\n\n label69.setText(\"[Jika kode=2\"); // NOI18N\n label69.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan31.add(label69, gridBagConstraints);\n\n label92.setText(\"Blok IX.B]\"); // NOI18N\n label92.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan31.add(label92, gridBagConstraints);\n\n label93.setText(\"2=tidak\"); // NOI18N\n label93.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan31.add(label93, gridBagConstraints);\n\n label104.setText(\"lanjut ke\"); // NOI18N\n label104.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan31.add(label104, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan31, gridBagConstraints);\n\n panelTransparan32.setAlpha(50);\n panelTransparan32.setLayout(new java.awt.GridBagLayout());\n\n label71.setText(\"Apakah ART\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan32.add(label71, gridBagConstraints);\n\n label76.setText(\"pendidikan gratis?\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan32.add(label76, gridBagConstraints);\n\n label105.setText(\"memanfaatkan\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan32.add(label105, gridBagConstraints);\n\n label106.setText(\"7-18 tahun]\"); // NOI18N\n label106.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 4;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan32.add(label106, gridBagConstraints);\n\n label107.setText(\"[Ditanyakan untuk ART\"); // NOI18N\n label107.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan32.add(label107, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan32, gridBagConstraints);\n\n panelTransparan33.setAlpha(50);\n panelTransparan33.setLayout(new java.awt.GridBagLayout());\n\n label77.setText(\"1=ya\"); // NOI18N\n label77.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan33.add(label77, gridBagConstraints);\n\n label78.setText(\"alasan jika K.12=1]\"); // NOI18N\n label78.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 2;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan33.add(label78, gridBagConstraints);\n\n label79.setText(\"2=tidak [tanyakan\"); // NOI18N\n label79.setFont(new java.awt.Font(\"Tahoma\", 2, 11));\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 1;\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan33.add(label79, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 3;\n gridBagConstraints.gridheight = 3;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan33, gridBagConstraints);\n\n panelTransparan34.setAlpha(30);\n panelTransparan34.setLayout(new java.awt.GridBagLayout());\n\n label72.setText(\"(1)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan34.add(label72, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan34, gridBagConstraints);\n\n panelTransparan35.setAlpha(30);\n panelTransparan35.setLayout(new java.awt.GridBagLayout());\n\n label73.setText(\"(2)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan35.add(label73, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan35, gridBagConstraints);\n\n panelTransparan36.setAlpha(30);\n panelTransparan36.setLayout(new java.awt.GridBagLayout());\n\n label74.setText(\"(3)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan36.add(label74, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan36, gridBagConstraints);\n\n panelTransparan37.setAlpha(30);\n panelTransparan37.setLayout(new java.awt.GridBagLayout());\n\n label75.setText(\"(4)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan37.add(label75, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan37, gridBagConstraints);\n\n panelTransparan38.setAlpha(30);\n panelTransparan38.setLayout(new java.awt.GridBagLayout());\n\n label80.setText(\"(5)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan38.add(label80, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan38, gridBagConstraints);\n\n panelTransparan39.setAlpha(30);\n panelTransparan39.setLayout(new java.awt.GridBagLayout());\n\n label81.setText(\"(6)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan39.add(label81, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan39, gridBagConstraints);\n\n panelTransparan40.setAlpha(30);\n panelTransparan40.setLayout(new java.awt.GridBagLayout());\n\n label82.setText(\"(7)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan40.add(label82, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan40, gridBagConstraints);\n\n panelTransparan41.setAlpha(30);\n panelTransparan41.setLayout(new java.awt.GridBagLayout());\n\n label83.setText(\"(8)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan41.add(label83, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan41, gridBagConstraints);\n\n panelTransparan42.setAlpha(30);\n panelTransparan42.setLayout(new java.awt.GridBagLayout());\n\n label84.setText(\"(9)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan42.add(label84, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan42, gridBagConstraints);\n\n panelTransparan43.setAlpha(30);\n panelTransparan43.setLayout(new java.awt.GridBagLayout());\n\n label85.setText(\"(10)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan43.add(label85, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan43, gridBagConstraints);\n\n panelTransparan44.setAlpha(30);\n panelTransparan44.setLayout(new java.awt.GridBagLayout());\n\n label86.setText(\"(11)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan44.add(label86, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan44, gridBagConstraints);\n\n panelTransparan45.setAlpha(30);\n panelTransparan45.setLayout(new java.awt.GridBagLayout());\n\n label87.setText(\"(12)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan45.add(label87, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan45, gridBagConstraints);\n\n panelTransparan46.setAlpha(30);\n panelTransparan46.setLayout(new java.awt.GridBagLayout());\n\n label88.setText(\"(13)\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan46.add(label88, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 6;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan46, gridBagConstraints);\n\n panelTransparan52.setLayout(new java.awt.GridBagLayout());\n\n label94.setText(\"1\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan52.add(label94, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan52, gridBagConstraints);\n\n txtB9AK2_1.setColumns(3);\n txtB9AK2_1.setLength(2);\n txtB9AK2_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan53.add(txtB9AK2_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan53, gridBagConstraints);\n\n panelTransparan54.setAlpha(70);\n panelTransparan54.setLayout(new java.awt.GridBagLayout());\n\n txtB9AK4_26.setColumns(2);\n txtB9AK4_26.setMaxDigit('2');\n txtB9AK4_26.setMinDigit('1');\n txtB9AK4_26.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan54.add(txtB9AK4_26, new java.awt.GridBagConstraints());\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan54, gridBagConstraints);\n\n panelTransparan55.setAlpha(70);\n panelTransparan55.setLayout(new java.awt.GridBagLayout());\n\n txtB9AK3_26.setColumns(2);\n txtB9AK3_26.setMaxDigit('2');\n txtB9AK3_26.setMinDigit('1');\n txtB9AK3_26.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 2);\n panelTransparan55.add(txtB9AK3_26, gridBagConstraints);\n\n txtB9AK3_26Als.setColumns(3);\n txtB9AK3_26Als.setCharType(1);\n txtB9AK3_26Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n txtB9AK3_26AlsfocusTxt(evt);\n }\n });\n panelTransparan55.add(txtB9AK3_26Als, new java.awt.GridBagConstraints());\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan55, gridBagConstraints);\n\n txtB9AK5_1.setColumns(2);\n txtB9AK5_1.setMaxDigit('2');\n txtB9AK5_1.setMinDigit('1');\n txtB9AK5_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan56.add(txtB9AK5_1);\n\n txtB9AK5_1Als.setColumns(3);\n txtB9AK5_1Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan56.add(txtB9AK5_1Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan56, gridBagConstraints);\n\n txtB9AK6_1.setColumns(2);\n txtB9AK6_1.setMaxDigit('2');\n txtB9AK6_1.setMinDigit('1');\n txtB9AK6_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan57.add(txtB9AK6_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan57, gridBagConstraints);\n\n txtB9AK7_1.setColumns(2);\n txtB9AK7_1.setMaxDigit('2');\n txtB9AK7_1.setMinDigit('1');\n txtB9AK7_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan58.add(txtB9AK7_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan58, gridBagConstraints);\n\n txtB9AK8_1.setColumns(2);\n txtB9AK8_1.setMaxDigit('2');\n txtB9AK8_1.setMinDigit('1');\n txtB9AK8_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan59.add(txtB9AK8_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan59, gridBagConstraints);\n\n txtB9AK9_1.setColumns(2);\n txtB9AK9_1.setMaxDigit('2');\n txtB9AK9_1.setMinDigit('1');\n txtB9AK9_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan60.add(txtB9AK9_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan60, gridBagConstraints);\n\n txtB9AK10_1.setColumns(2);\n txtB9AK10_1.setMaxDigit('2');\n txtB9AK10_1.setMinDigit('1');\n txtB9AK10_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan61.add(txtB9AK10_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan61, gridBagConstraints);\n\n txtB9AK11_1.setColumns(2);\n txtB9AK11_1.setMaxDigit('2');\n txtB9AK11_1.setMinDigit('1');\n txtB9AK11_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan62.add(txtB9AK11_1);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan62, gridBagConstraints);\n\n panelTransparan63.setAlpha(70);\n panelTransparan63.setLayout(new java.awt.GridBagLayout());\n\n txtB9AK12_26.setColumns(2);\n txtB9AK12_26.setMaxDigit('2');\n txtB9AK12_26.setMinDigit('1');\n txtB9AK12_26.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan63.add(txtB9AK12_26, new java.awt.GridBagConstraints());\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan63, gridBagConstraints);\n\n txtB9AK13_1.setColumns(2);\n txtB9AK13_1.setMaxDigit('2');\n txtB9AK13_1.setMinDigit('1');\n txtB9AK13_1.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan64.add(txtB9AK13_1);\n\n txtB9AK13_1Als.setColumns(3);\n txtB9AK13_1Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan64.add(txtB9AK13_1Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 8;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan64, gridBagConstraints);\n\n panelTransparan70.setLayout(new java.awt.GridBagLayout());\n\n label95.setText(\"4\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan70.add(label95, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan70, gridBagConstraints);\n\n txtB9AK2_2.setColumns(3);\n txtB9AK2_2.setLength(2);\n txtB9AK2_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan71.add(txtB9AK2_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan71, gridBagConstraints);\n\n panelTransparan72.setAlpha(70);\n panelTransparan72.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan72, gridBagConstraints);\n\n panelTransparan73.setAlpha(70);\n panelTransparan73.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan73, gridBagConstraints);\n\n txtB9AK5_2.setColumns(2);\n txtB9AK5_2.setMaxDigit('2');\n txtB9AK5_2.setMinDigit('1');\n txtB9AK5_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan74.add(txtB9AK5_2);\n\n txtB9AK5_2Als.setColumns(3);\n txtB9AK5_2Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan74.add(txtB9AK5_2Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan74, gridBagConstraints);\n\n txtB9AK6_2.setColumns(2);\n txtB9AK6_2.setMaxDigit('2');\n txtB9AK6_2.setMinDigit('1');\n txtB9AK6_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan75.add(txtB9AK6_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan75, gridBagConstraints);\n\n txtB9AK7_2.setColumns(2);\n txtB9AK7_2.setMaxDigit('2');\n txtB9AK7_2.setMinDigit('1');\n txtB9AK7_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan76.add(txtB9AK7_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan76, gridBagConstraints);\n\n txtB9AK8_2.setColumns(2);\n txtB9AK8_2.setMaxDigit('2');\n txtB9AK8_2.setMinDigit('1');\n txtB9AK8_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan77.add(txtB9AK8_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan77, gridBagConstraints);\n\n txtB9AK9_2.setColumns(2);\n txtB9AK9_2.setMaxDigit('2');\n txtB9AK9_2.setMinDigit('1');\n txtB9AK9_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan78.add(txtB9AK9_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan78, gridBagConstraints);\n\n txtB9AK10_2.setColumns(2);\n txtB9AK10_2.setMaxDigit('2');\n txtB9AK10_2.setMinDigit('1');\n txtB9AK10_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan79.add(txtB9AK10_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan79, gridBagConstraints);\n\n txtB9AK11_2.setColumns(2);\n txtB9AK11_2.setMaxDigit('2');\n txtB9AK11_2.setMinDigit('1');\n txtB9AK11_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan80.add(txtB9AK11_2);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan80, gridBagConstraints);\n\n panelTransparan81.setAlpha(70);\n panelTransparan81.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan81, gridBagConstraints);\n\n txtB9AK13_2.setColumns(2);\n txtB9AK13_2.setMaxDigit('2');\n txtB9AK13_2.setMinDigit('1');\n txtB9AK13_2.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan82.add(txtB9AK13_2);\n\n txtB9AK13_2Als.setColumns(3);\n txtB9AK13_2Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan82.add(txtB9AK13_2Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan82, gridBagConstraints);\n\n panelTransparan88.setLayout(new java.awt.GridBagLayout());\n\n label96.setText(\"5\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan88.add(label96, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan88, gridBagConstraints);\n\n txtB9AK2_3.setColumns(3);\n txtB9AK2_3.setLength(2);\n txtB9AK2_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan89.add(txtB9AK2_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan89, gridBagConstraints);\n\n panelTransparan90.setAlpha(70);\n panelTransparan90.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan90, gridBagConstraints);\n\n panelTransparan91.setAlpha(70);\n panelTransparan91.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan91, gridBagConstraints);\n\n txtB9AK5_3.setColumns(2);\n txtB9AK5_3.setMaxDigit('2');\n txtB9AK5_3.setMinDigit('1');\n txtB9AK5_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan92.add(txtB9AK5_3);\n\n txtB9AK5_3Als.setColumns(3);\n txtB9AK5_3Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan92.add(txtB9AK5_3Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan92, gridBagConstraints);\n\n txtB9AK6_3.setColumns(2);\n txtB9AK6_3.setMaxDigit('2');\n txtB9AK6_3.setMinDigit('1');\n txtB9AK6_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan93.add(txtB9AK6_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan93, gridBagConstraints);\n\n txtB9AK7_3.setColumns(2);\n txtB9AK7_3.setMaxDigit('2');\n txtB9AK7_3.setMinDigit('1');\n txtB9AK7_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan94.add(txtB9AK7_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan94, gridBagConstraints);\n\n txtB9AK9_3.setColumns(2);\n txtB9AK9_3.setMaxDigit('2');\n txtB9AK9_3.setMinDigit('1');\n txtB9AK9_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan95.add(txtB9AK9_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan95, gridBagConstraints);\n\n txtB9AK8_3.setColumns(2);\n txtB9AK8_3.setMaxDigit('2');\n txtB9AK8_3.setMinDigit('1');\n txtB9AK8_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan96.add(txtB9AK8_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan96, gridBagConstraints);\n\n txtB9AK10_3.setColumns(2);\n txtB9AK10_3.setMaxDigit('2');\n txtB9AK10_3.setMinDigit('1');\n txtB9AK10_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan97.add(txtB9AK10_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan97, gridBagConstraints);\n\n txtB9AK11_3.setColumns(2);\n txtB9AK11_3.setMaxDigit('2');\n txtB9AK11_3.setMinDigit('1');\n txtB9AK11_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan98.add(txtB9AK11_3);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan98, gridBagConstraints);\n\n panelTransparan99.setAlpha(70);\n panelTransparan99.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan99, gridBagConstraints);\n\n txtB9AK13_3.setColumns(2);\n txtB9AK13_3.setMaxDigit('2');\n txtB9AK13_3.setMinDigit('1');\n txtB9AK13_3.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan100.add(txtB9AK13_3);\n\n txtB9AK13_3Als.setColumns(3);\n txtB9AK13_3Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan100.add(txtB9AK13_3Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan100, gridBagConstraints);\n\n panelTransparan106.setLayout(new java.awt.GridBagLayout());\n\n label97.setText(\"3\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan106.add(label97, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 10;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan106, gridBagConstraints);\n\n txtB9AK2_4.setColumns(3);\n txtB9AK2_4.setLength(2);\n txtB9AK2_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan107.add(txtB9AK2_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan107, gridBagConstraints);\n\n panelTransparan108.setAlpha(70);\n panelTransparan108.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan108, gridBagConstraints);\n\n panelTransparan109.setAlpha(70);\n panelTransparan109.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan109, gridBagConstraints);\n\n txtB9AK5_4.setColumns(2);\n txtB9AK5_4.setMaxDigit('2');\n txtB9AK5_4.setMinDigit('1');\n txtB9AK5_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan110.add(txtB9AK5_4);\n\n txtB9AK5_4Als.setColumns(3);\n txtB9AK5_4Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan110.add(txtB9AK5_4Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan110, gridBagConstraints);\n\n txtB9AK6_4.setColumns(2);\n txtB9AK6_4.setMaxDigit('2');\n txtB9AK6_4.setMinDigit('1');\n txtB9AK6_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan111.add(txtB9AK6_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan111, gridBagConstraints);\n\n txtB9AK7_4.setColumns(2);\n txtB9AK7_4.setMaxDigit('2');\n txtB9AK7_4.setMinDigit('1');\n txtB9AK7_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan112.add(txtB9AK7_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan112, gridBagConstraints);\n\n txtB9AK8_4.setColumns(2);\n txtB9AK8_4.setMaxDigit('2');\n txtB9AK8_4.setMinDigit('1');\n txtB9AK8_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan113.add(txtB9AK8_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan113, gridBagConstraints);\n\n txtB9AK9_4.setColumns(2);\n txtB9AK9_4.setMaxDigit('2');\n txtB9AK9_4.setMinDigit('1');\n txtB9AK9_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan114.add(txtB9AK9_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan114, gridBagConstraints);\n\n txtB9AK10_4.setColumns(2);\n txtB9AK10_4.setMaxDigit('2');\n txtB9AK10_4.setMinDigit('1');\n txtB9AK10_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan115.add(txtB9AK10_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan115, gridBagConstraints);\n\n txtB9AK11_4.setColumns(2);\n txtB9AK11_4.setMaxDigit('2');\n txtB9AK11_4.setMinDigit('1');\n txtB9AK11_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan116.add(txtB9AK11_4);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan116, gridBagConstraints);\n\n panelTransparan117.setAlpha(70);\n panelTransparan117.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan117, gridBagConstraints);\n\n txtB9AK13_4.setColumns(2);\n txtB9AK13_4.setMaxDigit('2');\n txtB9AK13_4.setMinDigit('1');\n txtB9AK13_4.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan118.add(txtB9AK13_4);\n\n txtB9AK13_4Als.setColumns(3);\n txtB9AK13_4Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan118.add(txtB9AK13_4Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 11;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan118, gridBagConstraints);\n\n panelTransparan124.setLayout(new java.awt.GridBagLayout());\n\n label98.setText(\"6\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan124.add(label98, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan124, gridBagConstraints);\n\n txtB9AK2_5.setColumns(3);\n txtB9AK2_5.setLength(2);\n txtB9AK2_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan125.add(txtB9AK2_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan125, gridBagConstraints);\n\n panelTransparan126.setAlpha(70);\n panelTransparan126.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan126, gridBagConstraints);\n\n panelTransparan127.setAlpha(70);\n panelTransparan127.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan127, gridBagConstraints);\n\n txtB9AK5_5.setColumns(2);\n txtB9AK5_5.setMaxDigit('2');\n txtB9AK5_5.setMinDigit('1');\n txtB9AK5_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan128.add(txtB9AK5_5);\n\n txtB9AK5_5Als.setColumns(3);\n txtB9AK5_5Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan128.add(txtB9AK5_5Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan128, gridBagConstraints);\n\n txtB9AK6_5.setColumns(2);\n txtB9AK6_5.setMaxDigit('2');\n txtB9AK6_5.setMinDigit('1');\n txtB9AK6_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan129.add(txtB9AK6_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan129, gridBagConstraints);\n\n txtB9AK7_5.setColumns(2);\n txtB9AK7_5.setMaxDigit('2');\n txtB9AK7_5.setMinDigit('1');\n txtB9AK7_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan130.add(txtB9AK7_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan130, gridBagConstraints);\n\n txtB9AK8_5.setColumns(2);\n txtB9AK8_5.setMaxDigit('2');\n txtB9AK8_5.setMinDigit('1');\n txtB9AK8_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan131.add(txtB9AK8_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan131, gridBagConstraints);\n\n txtB9AK9_5.setColumns(2);\n txtB9AK9_5.setMaxDigit('2');\n txtB9AK9_5.setMinDigit('1');\n txtB9AK9_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan132.add(txtB9AK9_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan132, gridBagConstraints);\n\n txtB9AK10_5.setColumns(2);\n txtB9AK10_5.setMaxDigit('2');\n txtB9AK10_5.setMinDigit('1');\n txtB9AK10_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan133.add(txtB9AK10_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan133, gridBagConstraints);\n\n txtB9AK11_5.setColumns(2);\n txtB9AK11_5.setMaxDigit('2');\n txtB9AK11_5.setMinDigit('1');\n txtB9AK11_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan134.add(txtB9AK11_5);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan134, gridBagConstraints);\n\n panelTransparan135.setAlpha(70);\n panelTransparan135.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan135, gridBagConstraints);\n\n txtB9AK13_5.setColumns(2);\n txtB9AK13_5.setMaxDigit('2');\n txtB9AK13_5.setMinDigit('1');\n txtB9AK13_5.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan136.add(txtB9AK13_5);\n\n txtB9AK13_5Als.setColumns(3);\n txtB9AK13_5Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan136.add(txtB9AK13_5Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 12;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan136, gridBagConstraints);\n\n panelTransparan142.setLayout(new java.awt.GridBagLayout());\n\n label99.setText(\"2\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan142.add(label99, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 9;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan142, gridBagConstraints);\n\n txtB9AK2_6.setColumns(3);\n txtB9AK2_6.setLength(2);\n txtB9AK2_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan143.add(txtB9AK2_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan143, gridBagConstraints);\n\n panelTransparan144.setAlpha(70);\n panelTransparan144.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan144, gridBagConstraints);\n\n panelTransparan145.setAlpha(70);\n panelTransparan145.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan145, gridBagConstraints);\n\n txtB9AK5_6.setColumns(2);\n txtB9AK5_6.setMaxDigit('2');\n txtB9AK5_6.setMinDigit('1');\n txtB9AK5_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan146.add(txtB9AK5_6);\n\n txtB9AK5_6Als.setColumns(3);\n txtB9AK5_6Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan146.add(txtB9AK5_6Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan146, gridBagConstraints);\n\n txtB9AK6_6.setColumns(2);\n txtB9AK6_6.setMaxDigit('2');\n txtB9AK6_6.setMinDigit('1');\n txtB9AK6_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan147.add(txtB9AK6_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan147, gridBagConstraints);\n\n txtB9AK7_6.setColumns(2);\n txtB9AK7_6.setMaxDigit('2');\n txtB9AK7_6.setMinDigit('1');\n txtB9AK7_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan148.add(txtB9AK7_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan148, gridBagConstraints);\n\n txtB9AK8_6.setColumns(2);\n txtB9AK8_6.setMaxDigit('2');\n txtB9AK8_6.setMinDigit('1');\n txtB9AK8_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan149.add(txtB9AK8_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan149, gridBagConstraints);\n\n txtB9AK9_6.setColumns(2);\n txtB9AK9_6.setMaxDigit('2');\n txtB9AK9_6.setMinDigit('1');\n txtB9AK9_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan150.add(txtB9AK9_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan150, gridBagConstraints);\n\n txtB9AK10_6.setColumns(2);\n txtB9AK10_6.setMaxDigit('2');\n txtB9AK10_6.setMinDigit('1');\n txtB9AK10_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan151.add(txtB9AK10_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan151, gridBagConstraints);\n\n txtB9AK11_6.setColumns(2);\n txtB9AK11_6.setMaxDigit('2');\n txtB9AK11_6.setMinDigit('1');\n txtB9AK11_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan152.add(txtB9AK11_6);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan152, gridBagConstraints);\n\n panelTransparan153.setAlpha(70);\n panelTransparan153.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan153, gridBagConstraints);\n\n txtB9AK13_6.setColumns(2);\n txtB9AK13_6.setMaxDigit('2');\n txtB9AK13_6.setMinDigit('1');\n txtB9AK13_6.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan154.add(txtB9AK13_6);\n\n txtB9AK13_6Als.setColumns(3);\n txtB9AK13_6Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan154.add(txtB9AK13_6Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 13;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan154, gridBagConstraints);\n\n panelTransparan160.setLayout(new java.awt.GridBagLayout());\n\n label100.setText(\"7\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan160.add(label100, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan160, gridBagConstraints);\n\n txtB9AK2_7.setColumns(3);\n txtB9AK2_7.setLength(2);\n txtB9AK2_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan161.add(txtB9AK2_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan161, gridBagConstraints);\n\n panelTransparan162.setAlpha(70);\n panelTransparan162.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan162, gridBagConstraints);\n\n panelTransparan163.setAlpha(70);\n panelTransparan163.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan163, gridBagConstraints);\n\n txtB9AK5_7.setColumns(2);\n txtB9AK5_7.setMaxDigit('2');\n txtB9AK5_7.setMinDigit('1');\n txtB9AK5_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan164.add(txtB9AK5_7);\n\n txtB9AK5_7Als.setColumns(3);\n txtB9AK5_7Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan164.add(txtB9AK5_7Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan164, gridBagConstraints);\n\n txtB9AK6_7.setColumns(2);\n txtB9AK6_7.setMaxDigit('2');\n txtB9AK6_7.setMinDigit('1');\n txtB9AK6_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan165.add(txtB9AK6_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan165, gridBagConstraints);\n\n txtB9AK7_7.setColumns(2);\n txtB9AK7_7.setMaxDigit('2');\n txtB9AK7_7.setMinDigit('1');\n txtB9AK7_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan166.add(txtB9AK7_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan166, gridBagConstraints);\n\n txtB9AK8_7.setColumns(2);\n txtB9AK8_7.setMaxDigit('2');\n txtB9AK8_7.setMinDigit('1');\n txtB9AK8_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan167.add(txtB9AK8_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan167, gridBagConstraints);\n\n txtB9AK9_7.setColumns(2);\n txtB9AK9_7.setMaxDigit('2');\n txtB9AK9_7.setMinDigit('1');\n txtB9AK9_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan168.add(txtB9AK9_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan168, gridBagConstraints);\n\n txtB9AK10_7.setColumns(2);\n txtB9AK10_7.setMaxDigit('2');\n txtB9AK10_7.setMinDigit('1');\n txtB9AK10_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan169.add(txtB9AK10_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan169, gridBagConstraints);\n\n txtB9AK11_7.setColumns(2);\n txtB9AK11_7.setMaxDigit('2');\n txtB9AK11_7.setMinDigit('1');\n txtB9AK11_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan170.add(txtB9AK11_7);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan170, gridBagConstraints);\n\n panelTransparan171.setAlpha(70);\n panelTransparan171.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan171, gridBagConstraints);\n\n txtB9AK13_7.setColumns(2);\n txtB9AK13_7.setMaxDigit('2');\n txtB9AK13_7.setMinDigit('1');\n txtB9AK13_7.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan172.add(txtB9AK13_7);\n\n txtB9AK13_7Als.setColumns(3);\n txtB9AK13_7Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan172.add(txtB9AK13_7Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 14;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan172, gridBagConstraints);\n\n panelTransparan178.setLayout(new java.awt.GridBagLayout());\n\n label101.setText(\"8\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan178.add(label101, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan178, gridBagConstraints);\n\n txtB9AK2_8.setColumns(3);\n txtB9AK2_8.setLength(2);\n txtB9AK2_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan179.add(txtB9AK2_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan179, gridBagConstraints);\n\n panelTransparan180.setAlpha(70);\n panelTransparan180.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan180, gridBagConstraints);\n\n panelTransparan181.setAlpha(70);\n panelTransparan181.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan181, gridBagConstraints);\n\n txtB9AK5_8.setColumns(2);\n txtB9AK5_8.setMaxDigit('2');\n txtB9AK5_8.setMinDigit('1');\n txtB9AK5_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan182.add(txtB9AK5_8);\n\n txtB9AK5_8Als.setColumns(3);\n txtB9AK5_8Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan182.add(txtB9AK5_8Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan182, gridBagConstraints);\n\n txtB9AK6_8.setColumns(2);\n txtB9AK6_8.setMaxDigit('2');\n txtB9AK6_8.setMinDigit('1');\n txtB9AK6_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan183.add(txtB9AK6_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan183, gridBagConstraints);\n\n txtB9AK7_8.setColumns(2);\n txtB9AK7_8.setMaxDigit('2');\n txtB9AK7_8.setMinDigit('1');\n txtB9AK7_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan184.add(txtB9AK7_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan184, gridBagConstraints);\n\n txtB9AK8_8.setColumns(2);\n txtB9AK8_8.setMaxDigit('2');\n txtB9AK8_8.setMinDigit('1');\n txtB9AK8_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan185.add(txtB9AK8_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan185, gridBagConstraints);\n\n txtB9AK9_8.setColumns(2);\n txtB9AK9_8.setMaxDigit('2');\n txtB9AK9_8.setMinDigit('1');\n txtB9AK9_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan186.add(txtB9AK9_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan186, gridBagConstraints);\n\n txtB9AK10_8.setColumns(2);\n txtB9AK10_8.setMaxDigit('2');\n txtB9AK10_8.setMinDigit('1');\n txtB9AK10_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan187.add(txtB9AK10_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan187, gridBagConstraints);\n\n txtB9AK11_8.setColumns(2);\n txtB9AK11_8.setMaxDigit('2');\n txtB9AK11_8.setMinDigit('1');\n txtB9AK11_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan188.add(txtB9AK11_8);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan188, gridBagConstraints);\n\n panelTransparan189.setAlpha(70);\n panelTransparan189.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan189, gridBagConstraints);\n\n txtB9AK13_8.setColumns(2);\n txtB9AK13_8.setMaxDigit('2');\n txtB9AK13_8.setMinDigit('1');\n txtB9AK13_8.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan190.add(txtB9AK13_8);\n\n txtB9AK13_8Als.setColumns(3);\n txtB9AK13_8Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan190.add(txtB9AK13_8Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 15;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan190, gridBagConstraints);\n\n panelTransparan196.setLayout(new java.awt.GridBagLayout());\n\n label102.setText(\"9\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan196.add(label102, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan196, gridBagConstraints);\n\n txtB9AK2_9.setColumns(3);\n txtB9AK2_9.setLength(2);\n txtB9AK2_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan197.add(txtB9AK2_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan197, gridBagConstraints);\n\n panelTransparan198.setAlpha(70);\n panelTransparan198.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan198, gridBagConstraints);\n\n panelTransparan199.setAlpha(70);\n panelTransparan199.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan199, gridBagConstraints);\n\n txtB9AK5_9.setColumns(2);\n txtB9AK5_9.setMaxDigit('2');\n txtB9AK5_9.setMinDigit('1');\n txtB9AK5_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan200.add(txtB9AK5_9);\n\n txtB9AK5_9Als.setColumns(3);\n txtB9AK5_9Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan200.add(txtB9AK5_9Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan200, gridBagConstraints);\n\n txtB9AK6_9.setColumns(2);\n txtB9AK6_9.setMaxDigit('2');\n txtB9AK6_9.setMinDigit('1');\n txtB9AK6_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan201.add(txtB9AK6_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan201, gridBagConstraints);\n\n txtB9AK7_9.setColumns(2);\n txtB9AK7_9.setMaxDigit('2');\n txtB9AK7_9.setMinDigit('1');\n txtB9AK7_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan202.add(txtB9AK7_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan202, gridBagConstraints);\n\n txtB9AK8_9.setColumns(2);\n txtB9AK8_9.setMaxDigit('2');\n txtB9AK8_9.setMinDigit('1');\n txtB9AK8_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan203.add(txtB9AK8_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan203, gridBagConstraints);\n\n txtB9AK9_9.setColumns(2);\n txtB9AK9_9.setMaxDigit('2');\n txtB9AK9_9.setMinDigit('1');\n txtB9AK9_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan204.add(txtB9AK9_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan204, gridBagConstraints);\n\n txtB9AK10_9.setColumns(2);\n txtB9AK10_9.setMaxDigit('2');\n txtB9AK10_9.setMinDigit('1');\n txtB9AK10_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan205.add(txtB9AK10_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan205, gridBagConstraints);\n\n txtB9AK11_9.setColumns(2);\n txtB9AK11_9.setMaxDigit('2');\n txtB9AK11_9.setMinDigit('1');\n txtB9AK11_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan206.add(txtB9AK11_9);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan206, gridBagConstraints);\n\n panelTransparan207.setAlpha(70);\n panelTransparan207.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan207, gridBagConstraints);\n\n txtB9AK13_9.setColumns(2);\n txtB9AK13_9.setMaxDigit('2');\n txtB9AK13_9.setMinDigit('1');\n txtB9AK13_9.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan208.add(txtB9AK13_9);\n\n txtB9AK13_9Als.setColumns(3);\n txtB9AK13_9Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan208.add(txtB9AK13_9Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 16;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan208, gridBagConstraints);\n\n panelTransparan214.setLayout(new java.awt.GridBagLayout());\n\n label103.setText(\"10\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan214.add(label103, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan214, gridBagConstraints);\n\n txtB9AK2_10.setColumns(3);\n txtB9AK2_10.setLength(2);\n txtB9AK2_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan215.add(txtB9AK2_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan215, gridBagConstraints);\n\n panelTransparan216.setAlpha(70);\n panelTransparan216.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan216, gridBagConstraints);\n\n panelTransparan217.setAlpha(70);\n panelTransparan217.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan217, gridBagConstraints);\n\n txtB9AK5_10.setColumns(2);\n txtB9AK5_10.setMaxDigit('2');\n txtB9AK5_10.setMinDigit('1');\n txtB9AK5_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan218.add(txtB9AK5_10);\n\n txtB9AK5_10Als.setColumns(3);\n txtB9AK5_10Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan218.add(txtB9AK5_10Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan218, gridBagConstraints);\n\n txtB9AK6_10.setColumns(2);\n txtB9AK6_10.setMaxDigit('2');\n txtB9AK6_10.setMinDigit('1');\n txtB9AK6_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan219.add(txtB9AK6_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan219, gridBagConstraints);\n\n txtB9AK7_10.setColumns(2);\n txtB9AK7_10.setMaxDigit('2');\n txtB9AK7_10.setMinDigit('1');\n txtB9AK7_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan220.add(txtB9AK7_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan220, gridBagConstraints);\n\n txtB9AK8_10.setColumns(2);\n txtB9AK8_10.setMaxDigit('2');\n txtB9AK8_10.setMinDigit('1');\n txtB9AK8_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan221.add(txtB9AK8_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan221, gridBagConstraints);\n\n txtB9AK9_10.setColumns(2);\n txtB9AK9_10.setMaxDigit('2');\n txtB9AK9_10.setMinDigit('1');\n txtB9AK9_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan222.add(txtB9AK9_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan222, gridBagConstraints);\n\n txtB9AK10_10.setColumns(2);\n txtB9AK10_10.setMaxDigit('2');\n txtB9AK10_10.setMinDigit('1');\n txtB9AK10_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan223.add(txtB9AK10_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan223, gridBagConstraints);\n\n txtB9AK11_10.setColumns(2);\n txtB9AK11_10.setMaxDigit('2');\n txtB9AK11_10.setMinDigit('1');\n txtB9AK11_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan224.add(txtB9AK11_10);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan224, gridBagConstraints);\n\n panelTransparan225.setAlpha(70);\n panelTransparan225.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan225, gridBagConstraints);\n\n txtB9AK13_10.setColumns(2);\n txtB9AK13_10.setMaxDigit('2');\n txtB9AK13_10.setMinDigit('1');\n txtB9AK13_10.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan226.add(txtB9AK13_10);\n\n txtB9AK13_10Als.setColumns(3);\n txtB9AK13_10Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan226.add(txtB9AK13_10Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 18;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan226, gridBagConstraints);\n\n panelTransparan227.setLayout(new java.awt.GridBagLayout());\n\n label108.setText(\"11\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan227.add(label108, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan227, gridBagConstraints);\n\n txtB9AK2_11.setColumns(3);\n txtB9AK2_11.setLength(2);\n txtB9AK2_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan228.add(txtB9AK2_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan228, gridBagConstraints);\n\n panelTransparan229.setAlpha(70);\n panelTransparan229.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan229, gridBagConstraints);\n\n panelTransparan230.setAlpha(70);\n panelTransparan230.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan230, gridBagConstraints);\n\n txtB9AK5_11.setColumns(2);\n txtB9AK5_11.setMaxDigit('2');\n txtB9AK5_11.setMinDigit('1');\n txtB9AK5_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan231.add(txtB9AK5_11);\n\n txtB9AK5_11Als.setColumns(3);\n txtB9AK5_11Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan231.add(txtB9AK5_11Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan231, gridBagConstraints);\n\n txtB9AK6_11.setColumns(2);\n txtB9AK6_11.setMaxDigit('2');\n txtB9AK6_11.setMinDigit('1');\n txtB9AK6_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan232.add(txtB9AK6_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan232, gridBagConstraints);\n\n txtB9AK7_11.setColumns(2);\n txtB9AK7_11.setMaxDigit('2');\n txtB9AK7_11.setMinDigit('1');\n txtB9AK7_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan233.add(txtB9AK7_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan233, gridBagConstraints);\n\n txtB9AK8_11.setColumns(2);\n txtB9AK8_11.setMaxDigit('2');\n txtB9AK8_11.setMinDigit('1');\n txtB9AK8_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan234.add(txtB9AK8_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan234, gridBagConstraints);\n\n txtB9AK9_11.setColumns(2);\n txtB9AK9_11.setMaxDigit('2');\n txtB9AK9_11.setMinDigit('1');\n txtB9AK9_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan235.add(txtB9AK9_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan235, gridBagConstraints);\n\n txtB9AK10_11.setColumns(2);\n txtB9AK10_11.setMaxDigit('2');\n txtB9AK10_11.setMinDigit('1');\n txtB9AK10_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan236.add(txtB9AK10_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan236, gridBagConstraints);\n\n txtB9AK11_11.setColumns(2);\n txtB9AK11_11.setMaxDigit('2');\n txtB9AK11_11.setMinDigit('1');\n txtB9AK11_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan237.add(txtB9AK11_11);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan237, gridBagConstraints);\n\n panelTransparan238.setAlpha(70);\n panelTransparan238.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan238, gridBagConstraints);\n\n txtB9AK13_11.setColumns(2);\n txtB9AK13_11.setMaxDigit('2');\n txtB9AK13_11.setMinDigit('1');\n txtB9AK13_11.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan239.add(txtB9AK13_11);\n\n txtB9AK13_11Als.setColumns(3);\n txtB9AK13_11Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan239.add(txtB9AK13_11Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 20;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan239, gridBagConstraints);\n\n panelTransparan240.setLayout(new java.awt.GridBagLayout());\n\n label109.setText(\"12\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan240.add(label109, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan240, gridBagConstraints);\n\n txtB9AK2_12.setColumns(3);\n txtB9AK2_12.setLength(2);\n txtB9AK2_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan241.add(txtB9AK2_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan241, gridBagConstraints);\n\n panelTransparan242.setAlpha(70);\n panelTransparan242.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan242, gridBagConstraints);\n\n txtB9AK5_12.setColumns(2);\n txtB9AK5_12.setMaxDigit('2');\n txtB9AK5_12.setMinDigit('1');\n txtB9AK5_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan243.add(txtB9AK5_12);\n\n txtB9AK5_12Als.setColumns(3);\n txtB9AK5_12Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan243.add(txtB9AK5_12Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan243, gridBagConstraints);\n\n txtB9AK6_12.setColumns(2);\n txtB9AK6_12.setMaxDigit('2');\n txtB9AK6_12.setMinDigit('1');\n txtB9AK6_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan244.add(txtB9AK6_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan244, gridBagConstraints);\n\n txtB9AK7_12.setColumns(2);\n txtB9AK7_12.setMaxDigit('2');\n txtB9AK7_12.setMinDigit('1');\n txtB9AK7_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan245.add(txtB9AK7_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan245, gridBagConstraints);\n\n panelTransparan246.setAlpha(70);\n panelTransparan246.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan246, gridBagConstraints);\n\n txtB9AK8_12.setColumns(2);\n txtB9AK8_12.setMaxDigit('2');\n txtB9AK8_12.setMinDigit('1');\n txtB9AK8_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan247.add(txtB9AK8_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan247, gridBagConstraints);\n\n txtB9AK9_12.setColumns(2);\n txtB9AK9_12.setMaxDigit('2');\n txtB9AK9_12.setMinDigit('1');\n txtB9AK9_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan248.add(txtB9AK9_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan248, gridBagConstraints);\n\n txtB9AK10_12.setColumns(2);\n txtB9AK10_12.setMaxDigit('2');\n txtB9AK10_12.setMinDigit('1');\n txtB9AK10_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan249.add(txtB9AK10_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan249, gridBagConstraints);\n\n txtB9AK11_12.setColumns(2);\n txtB9AK11_12.setMaxDigit('2');\n txtB9AK11_12.setMinDigit('1');\n txtB9AK11_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan250.add(txtB9AK11_12);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan250, gridBagConstraints);\n\n panelTransparan251.setAlpha(70);\n panelTransparan251.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan251, gridBagConstraints);\n\n txtB9AK13_12.setColumns(2);\n txtB9AK13_12.setMaxDigit('2');\n txtB9AK13_12.setMinDigit('1');\n txtB9AK13_12.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan252.add(txtB9AK13_12);\n\n txtB9AK13_12Als.setColumns(3);\n txtB9AK13_12Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan252.add(txtB9AK13_12Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 21;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan252, gridBagConstraints);\n\n panelTransparan253.setLayout(new java.awt.GridBagLayout());\n\n label110.setText(\"13\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan253.add(label110, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan253, gridBagConstraints);\n\n txtB9AK2_13.setColumns(3);\n txtB9AK2_13.setLength(2);\n txtB9AK2_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan254.add(txtB9AK2_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan254, gridBagConstraints);\n\n panelTransparan255.setAlpha(70);\n panelTransparan255.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan255, gridBagConstraints);\n\n txtB9AK5_13.setColumns(2);\n txtB9AK5_13.setMaxDigit('2');\n txtB9AK5_13.setMinDigit('1');\n txtB9AK5_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan256.add(txtB9AK5_13);\n\n txtB9AK5_13Als.setColumns(3);\n txtB9AK5_13Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan256.add(txtB9AK5_13Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan256, gridBagConstraints);\n\n txtB9AK6_13.setColumns(2);\n txtB9AK6_13.setMaxDigit('2');\n txtB9AK6_13.setMinDigit('1');\n txtB9AK6_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan257.add(txtB9AK6_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan257, gridBagConstraints);\n\n txtB9AK7_13.setColumns(2);\n txtB9AK7_13.setMaxDigit('2');\n txtB9AK7_13.setMinDigit('1');\n txtB9AK7_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan258.add(txtB9AK7_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan258, gridBagConstraints);\n\n panelTransparan259.setAlpha(70);\n panelTransparan259.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan259, gridBagConstraints);\n\n txtB9AK8_13.setColumns(2);\n txtB9AK8_13.setMaxDigit('2');\n txtB9AK8_13.setMinDigit('1');\n txtB9AK8_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan260.add(txtB9AK8_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan260, gridBagConstraints);\n\n txtB9AK9_13.setColumns(2);\n txtB9AK9_13.setMaxDigit('2');\n txtB9AK9_13.setMinDigit('1');\n txtB9AK9_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan261.add(txtB9AK9_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan261, gridBagConstraints);\n\n txtB9AK10_13.setColumns(2);\n txtB9AK10_13.setMaxDigit('2');\n txtB9AK10_13.setMinDigit('1');\n txtB9AK10_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan262.add(txtB9AK10_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan262, gridBagConstraints);\n\n txtB9AK11_13.setColumns(2);\n txtB9AK11_13.setMaxDigit('2');\n txtB9AK11_13.setMinDigit('1');\n txtB9AK11_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan263.add(txtB9AK11_13);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan263, gridBagConstraints);\n\n panelTransparan264.setAlpha(70);\n panelTransparan264.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan264, gridBagConstraints);\n\n txtB9AK13_13.setColumns(2);\n txtB9AK13_13.setMaxDigit('2');\n txtB9AK13_13.setMinDigit('1');\n txtB9AK13_13.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan265.add(txtB9AK13_13);\n\n txtB9AK13_13Als.setColumns(3);\n txtB9AK13_13Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan265.add(txtB9AK13_13Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 22;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan265, gridBagConstraints);\n\n panelTransparan266.setLayout(new java.awt.GridBagLayout());\n\n label111.setText(\"14\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan266.add(label111, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan266, gridBagConstraints);\n\n txtB9AK2_14.setColumns(3);\n txtB9AK2_14.setLength(2);\n txtB9AK2_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan267.add(txtB9AK2_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan267, gridBagConstraints);\n\n panelTransparan268.setAlpha(70);\n panelTransparan268.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan268, gridBagConstraints);\n\n txtB9AK5_14.setColumns(2);\n txtB9AK5_14.setMaxDigit('2');\n txtB9AK5_14.setMinDigit('1');\n txtB9AK5_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan269.add(txtB9AK5_14);\n\n txtB9AK5_14Als.setColumns(3);\n txtB9AK5_14Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan269.add(txtB9AK5_14Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan269, gridBagConstraints);\n\n txtB9AK6_14.setColumns(2);\n txtB9AK6_14.setMaxDigit('2');\n txtB9AK6_14.setMinDigit('1');\n txtB9AK6_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan270.add(txtB9AK6_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan270, gridBagConstraints);\n\n txtB9AK7_14.setColumns(2);\n txtB9AK7_14.setMaxDigit('2');\n txtB9AK7_14.setMinDigit('1');\n txtB9AK7_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan271.add(txtB9AK7_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan271, gridBagConstraints);\n\n panelTransparan272.setAlpha(70);\n panelTransparan272.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan272, gridBagConstraints);\n\n txtB9AK8_14.setColumns(2);\n txtB9AK8_14.setMaxDigit('2');\n txtB9AK8_14.setMinDigit('1');\n txtB9AK8_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan273.add(txtB9AK8_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan273, gridBagConstraints);\n\n txtB9AK9_14.setColumns(2);\n txtB9AK9_14.setMaxDigit('2');\n txtB9AK9_14.setMinDigit('1');\n txtB9AK9_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan274.add(txtB9AK9_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan274, gridBagConstraints);\n\n txtB9AK10_14.setColumns(2);\n txtB9AK10_14.setMaxDigit('2');\n txtB9AK10_14.setMinDigit('1');\n txtB9AK10_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan275.add(txtB9AK10_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan275, gridBagConstraints);\n\n txtB9AK11_14.setColumns(2);\n txtB9AK11_14.setMaxDigit('2');\n txtB9AK11_14.setMinDigit('1');\n txtB9AK11_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan276.add(txtB9AK11_14);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan276, gridBagConstraints);\n\n panelTransparan277.setAlpha(70);\n panelTransparan277.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan277, gridBagConstraints);\n\n txtB9AK13_14.setColumns(2);\n txtB9AK13_14.setMaxDigit('2');\n txtB9AK13_14.setMinDigit('1');\n txtB9AK13_14.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan278.add(txtB9AK13_14);\n\n txtB9AK13_14Als.setColumns(3);\n txtB9AK13_14Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan278.add(txtB9AK13_14Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 24;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan278, gridBagConstraints);\n\n panelTransparan279.setLayout(new java.awt.GridBagLayout());\n\n label112.setText(\"15\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan279.add(label112, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan279, gridBagConstraints);\n\n txtB9AK2_15.setColumns(3);\n txtB9AK2_15.setLength(2);\n txtB9AK2_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan280.add(txtB9AK2_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan280, gridBagConstraints);\n\n panelTransparan281.setAlpha(70);\n panelTransparan281.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan281, gridBagConstraints);\n\n panelTransparan282.setAlpha(70);\n panelTransparan282.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan282, gridBagConstraints);\n\n txtB9AK5_15.setColumns(2);\n txtB9AK5_15.setMaxDigit('2');\n txtB9AK5_15.setMinDigit('1');\n txtB9AK5_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan283.add(txtB9AK5_15);\n\n txtB9AK5_15Als.setColumns(3);\n txtB9AK5_15Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan283.add(txtB9AK5_15Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan283, gridBagConstraints);\n\n txtB9AK6_15.setColumns(2);\n txtB9AK6_15.setMaxDigit('2');\n txtB9AK6_15.setMinDigit('1');\n txtB9AK6_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan284.add(txtB9AK6_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan284, gridBagConstraints);\n\n txtB9AK7_15.setColumns(2);\n txtB9AK7_15.setMaxDigit('2');\n txtB9AK7_15.setMinDigit('1');\n txtB9AK7_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan285.add(txtB9AK7_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan285, gridBagConstraints);\n\n txtB9AK8_15.setColumns(2);\n txtB9AK8_15.setMaxDigit('2');\n txtB9AK8_15.setMinDigit('1');\n txtB9AK8_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan286.add(txtB9AK8_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan286, gridBagConstraints);\n\n txtB9AK9_15.setColumns(2);\n txtB9AK9_15.setMaxDigit('2');\n txtB9AK9_15.setMinDigit('1');\n txtB9AK9_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan287.add(txtB9AK9_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan287, gridBagConstraints);\n\n txtB9AK10_15.setColumns(2);\n txtB9AK10_15.setMaxDigit('2');\n txtB9AK10_15.setMinDigit('1');\n txtB9AK10_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan288.add(txtB9AK10_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan288, gridBagConstraints);\n\n txtB9AK11_15.setColumns(2);\n txtB9AK11_15.setMaxDigit('2');\n txtB9AK11_15.setMinDigit('1');\n txtB9AK11_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan289.add(txtB9AK11_15);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan289, gridBagConstraints);\n\n panelTransparan290.setAlpha(70);\n panelTransparan290.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan290, gridBagConstraints);\n\n txtB9AK13_15.setColumns(2);\n txtB9AK13_15.setMaxDigit('2');\n txtB9AK13_15.setMinDigit('1');\n txtB9AK13_15.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan291.add(txtB9AK13_15);\n\n txtB9AK13_15Als.setColumns(3);\n txtB9AK13_15Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan291.add(txtB9AK13_15Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan291, gridBagConstraints);\n\n panelTransparan292.setLayout(new java.awt.GridBagLayout());\n\n label113.setText(\"16\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan292.add(label113, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan292, gridBagConstraints);\n\n txtB9AK2_16.setColumns(3);\n txtB9AK2_16.setLength(2);\n txtB9AK2_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan293.add(txtB9AK2_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan293, gridBagConstraints);\n\n panelTransparan294.setAlpha(70);\n panelTransparan294.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan294, gridBagConstraints);\n\n panelTransparan295.setAlpha(70);\n panelTransparan295.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan295, gridBagConstraints);\n\n txtB9AK5_16.setColumns(2);\n txtB9AK5_16.setMaxDigit('2');\n txtB9AK5_16.setMinDigit('1');\n txtB9AK5_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan296.add(txtB9AK5_16);\n\n txtB9AK5_16Als.setColumns(3);\n txtB9AK5_16Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan296.add(txtB9AK5_16Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan296, gridBagConstraints);\n\n txtB9AK6_16.setColumns(2);\n txtB9AK6_16.setMaxDigit('2');\n txtB9AK6_16.setMinDigit('1');\n txtB9AK6_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan297.add(txtB9AK6_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan297, gridBagConstraints);\n\n txtB9AK7_16.setColumns(2);\n txtB9AK7_16.setMaxDigit('2');\n txtB9AK7_16.setMinDigit('1');\n txtB9AK7_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan298.add(txtB9AK7_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan298, gridBagConstraints);\n\n txtB9AK8_16.setColumns(2);\n txtB9AK8_16.setMaxDigit('2');\n txtB9AK8_16.setMinDigit('1');\n txtB9AK8_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan299.add(txtB9AK8_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan299, gridBagConstraints);\n\n txtB9AK9_16.setColumns(2);\n txtB9AK9_16.setMaxDigit('2');\n txtB9AK9_16.setMinDigit('1');\n txtB9AK9_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan300.add(txtB9AK9_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan300, gridBagConstraints);\n\n txtB9AK10_16.setColumns(2);\n txtB9AK10_16.setMaxDigit('2');\n txtB9AK10_16.setMinDigit('1');\n txtB9AK10_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan301.add(txtB9AK10_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan301, gridBagConstraints);\n\n txtB9AK11_16.setColumns(2);\n txtB9AK11_16.setMaxDigit('2');\n txtB9AK11_16.setMinDigit('1');\n txtB9AK11_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan302.add(txtB9AK11_16);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 25;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan302, gridBagConstraints);\n\n panelTransparan303.setAlpha(70);\n panelTransparan303.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan303, gridBagConstraints);\n\n txtB9AK13_16.setColumns(2);\n txtB9AK13_16.setMaxDigit('2');\n txtB9AK13_16.setMinDigit('1');\n txtB9AK13_16.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan304.add(txtB9AK13_16);\n\n txtB9AK13_16Als.setColumns(3);\n txtB9AK13_16Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan304.add(txtB9AK13_16Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 26;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan304, gridBagConstraints);\n\n panelTransparan305.setLayout(new java.awt.GridBagLayout());\n\n label114.setText(\"17\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan305.add(label114, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan305, gridBagConstraints);\n\n txtB9AK2_17.setColumns(3);\n txtB9AK2_17.setLength(2);\n txtB9AK2_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan306.add(txtB9AK2_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan306, gridBagConstraints);\n\n panelTransparan307.setAlpha(70);\n panelTransparan307.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan307, gridBagConstraints);\n\n panelTransparan308.setAlpha(70);\n panelTransparan308.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan308, gridBagConstraints);\n\n txtB9AK5_17.setColumns(2);\n txtB9AK5_17.setMaxDigit('2');\n txtB9AK5_17.setMinDigit('1');\n txtB9AK5_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan309.add(txtB9AK5_17);\n\n txtB9AK5_17Als.setColumns(3);\n txtB9AK5_17Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan309.add(txtB9AK5_17Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan309, gridBagConstraints);\n\n txtB9AK6_17.setColumns(2);\n txtB9AK6_17.setMaxDigit('2');\n txtB9AK6_17.setMinDigit('1');\n txtB9AK6_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan310.add(txtB9AK6_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan310, gridBagConstraints);\n\n txtB9AK7_17.setColumns(2);\n txtB9AK7_17.setMaxDigit('2');\n txtB9AK7_17.setMinDigit('1');\n txtB9AK7_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan311.add(txtB9AK7_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan311, gridBagConstraints);\n\n txtB9AK8_17.setColumns(2);\n txtB9AK8_17.setMaxDigit('2');\n txtB9AK8_17.setMinDigit('1');\n txtB9AK8_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan312.add(txtB9AK8_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan312, gridBagConstraints);\n\n txtB9AK9_17.setColumns(2);\n txtB9AK9_17.setMaxDigit('2');\n txtB9AK9_17.setMinDigit('1');\n txtB9AK9_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan313.add(txtB9AK9_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan313, gridBagConstraints);\n\n txtB9AK10_17.setColumns(2);\n txtB9AK10_17.setMaxDigit('2');\n txtB9AK10_17.setMinDigit('1');\n txtB9AK10_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan314.add(txtB9AK10_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan314, gridBagConstraints);\n\n txtB9AK11_17.setColumns(2);\n txtB9AK11_17.setMaxDigit('2');\n txtB9AK11_17.setMinDigit('1');\n txtB9AK11_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan315.add(txtB9AK11_17);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan315, gridBagConstraints);\n\n panelTransparan316.setAlpha(70);\n panelTransparan316.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan316, gridBagConstraints);\n\n txtB9AK13_17.setColumns(2);\n txtB9AK13_17.setMaxDigit('2');\n txtB9AK13_17.setMinDigit('1');\n txtB9AK13_17.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan317.add(txtB9AK13_17);\n\n txtB9AK13_17Als.setColumns(3);\n txtB9AK13_17Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan317.add(txtB9AK13_17Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 27;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan317, gridBagConstraints);\n\n panelTransparan318.setLayout(new java.awt.GridBagLayout());\n\n label115.setText(\"18\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan318.add(label115, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan318, gridBagConstraints);\n\n txtB9AK2_18.setColumns(3);\n txtB9AK2_18.setLength(2);\n txtB9AK2_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan319.add(txtB9AK2_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan319, gridBagConstraints);\n\n panelTransparan320.setAlpha(70);\n panelTransparan320.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan320, gridBagConstraints);\n\n panelTransparan321.setAlpha(70);\n panelTransparan321.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan321, gridBagConstraints);\n\n txtB9AK5_18.setColumns(2);\n txtB9AK5_18.setMaxDigit('2');\n txtB9AK5_18.setMinDigit('1');\n txtB9AK5_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan322.add(txtB9AK5_18);\n\n txtB9AK5_18Als.setColumns(3);\n txtB9AK5_18Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan322.add(txtB9AK5_18Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan322, gridBagConstraints);\n\n txtB9AK6_18.setColumns(2);\n txtB9AK6_18.setMaxDigit('2');\n txtB9AK6_18.setMinDigit('1');\n txtB9AK6_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan323.add(txtB9AK6_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan323, gridBagConstraints);\n\n txtB9AK7_18.setColumns(2);\n txtB9AK7_18.setMaxDigit('2');\n txtB9AK7_18.setMinDigit('1');\n txtB9AK7_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan324.add(txtB9AK7_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan324, gridBagConstraints);\n\n txtB9AK8_18.setColumns(2);\n txtB9AK8_18.setMaxDigit('2');\n txtB9AK8_18.setMinDigit('1');\n txtB9AK8_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan325.add(txtB9AK8_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan325, gridBagConstraints);\n\n txtB9AK9_18.setColumns(2);\n txtB9AK9_18.setMaxDigit('2');\n txtB9AK9_18.setMinDigit('1');\n txtB9AK9_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan326.add(txtB9AK9_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan326, gridBagConstraints);\n\n txtB9AK10_18.setColumns(2);\n txtB9AK10_18.setMaxDigit('2');\n txtB9AK10_18.setMinDigit('1');\n txtB9AK10_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan327.add(txtB9AK10_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan327, gridBagConstraints);\n\n txtB9AK11_18.setColumns(2);\n txtB9AK11_18.setMaxDigit('2');\n txtB9AK11_18.setMinDigit('1');\n txtB9AK11_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan328.add(txtB9AK11_18);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan328, gridBagConstraints);\n\n panelTransparan329.setAlpha(70);\n panelTransparan329.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan329, gridBagConstraints);\n\n txtB9AK13_18.setColumns(2);\n txtB9AK13_18.setMaxDigit('2');\n txtB9AK13_18.setMinDigit('1');\n txtB9AK13_18.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan330.add(txtB9AK13_18);\n\n txtB9AK13_18Als.setColumns(3);\n txtB9AK13_18Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan330.add(txtB9AK13_18Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 28;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan330, gridBagConstraints);\n\n panelTransparan331.setLayout(new java.awt.GridBagLayout());\n\n label116.setText(\"19\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan331.add(label116, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan331, gridBagConstraints);\n\n txtB9AK2_19.setColumns(3);\n txtB9AK2_19.setLength(2);\n txtB9AK2_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan332.add(txtB9AK2_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan332, gridBagConstraints);\n\n panelTransparan333.setAlpha(70);\n panelTransparan333.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan333, gridBagConstraints);\n\n panelTransparan334.setAlpha(70);\n panelTransparan334.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan334, gridBagConstraints);\n\n txtB9AK5_19.setColumns(2);\n txtB9AK5_19.setMaxDigit('2');\n txtB9AK5_19.setMinDigit('1');\n txtB9AK5_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan335.add(txtB9AK5_19);\n\n txtB9AK5_19Als.setColumns(3);\n txtB9AK5_19Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan335.add(txtB9AK5_19Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan335, gridBagConstraints);\n\n txtB9AK6_19.setColumns(2);\n txtB9AK6_19.setMaxDigit('2');\n txtB9AK6_19.setMinDigit('1');\n txtB9AK6_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan336.add(txtB9AK6_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan336, gridBagConstraints);\n\n txtB9AK7_19.setColumns(2);\n txtB9AK7_19.setMaxDigit('2');\n txtB9AK7_19.setMinDigit('1');\n txtB9AK7_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan337.add(txtB9AK7_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan337, gridBagConstraints);\n\n txtB9AK8_19.setColumns(2);\n txtB9AK8_19.setMaxDigit('2');\n txtB9AK8_19.setMinDigit('1');\n txtB9AK8_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan338.add(txtB9AK8_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan338, gridBagConstraints);\n\n txtB9AK9_19.setColumns(2);\n txtB9AK9_19.setMaxDigit('2');\n txtB9AK9_19.setMinDigit('1');\n txtB9AK9_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan339.add(txtB9AK9_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan339, gridBagConstraints);\n\n txtB9AK10_19.setColumns(2);\n txtB9AK10_19.setMaxDigit('2');\n txtB9AK10_19.setMinDigit('1');\n txtB9AK10_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan340.add(txtB9AK10_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan340, gridBagConstraints);\n\n txtB9AK11_19.setColumns(2);\n txtB9AK11_19.setMaxDigit('2');\n txtB9AK11_19.setMinDigit('1');\n txtB9AK11_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan341.add(txtB9AK11_19);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan341, gridBagConstraints);\n\n panelTransparan342.setAlpha(70);\n panelTransparan342.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan342, gridBagConstraints);\n\n txtB9AK13_19.setColumns(2);\n txtB9AK13_19.setMaxDigit('2');\n txtB9AK13_19.setMinDigit('1');\n txtB9AK13_19.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan343.add(txtB9AK13_19);\n\n txtB9AK13_19Als.setColumns(3);\n txtB9AK13_19Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan343.add(txtB9AK13_19Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 29;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan343, gridBagConstraints);\n\n panelTransparan344.setLayout(new java.awt.GridBagLayout());\n\n label117.setText(\"20\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan344.add(label117, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan344, gridBagConstraints);\n\n txtB9AK2_20.setColumns(3);\n txtB9AK2_20.setLength(2);\n txtB9AK2_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan345.add(txtB9AK2_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan345, gridBagConstraints);\n\n panelTransparan346.setAlpha(70);\n panelTransparan346.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan346, gridBagConstraints);\n\n panelTransparan347.setAlpha(70);\n panelTransparan347.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan347, gridBagConstraints);\n\n txtB9AK5_20.setColumns(2);\n txtB9AK5_20.setMaxDigit('2');\n txtB9AK5_20.setMinDigit('1');\n txtB9AK5_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan348.add(txtB9AK5_20);\n\n txtB9AK5_20Als.setColumns(3);\n txtB9AK5_20Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan348.add(txtB9AK5_20Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan348, gridBagConstraints);\n\n txtB9AK6_20.setColumns(2);\n txtB9AK6_20.setMaxDigit('2');\n txtB9AK6_20.setMinDigit('1');\n txtB9AK6_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan349.add(txtB9AK6_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan349, gridBagConstraints);\n\n txtB9AK7_20.setColumns(2);\n txtB9AK7_20.setMaxDigit('2');\n txtB9AK7_20.setMinDigit('1');\n txtB9AK7_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan350.add(txtB9AK7_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan350, gridBagConstraints);\n\n txtB9AK8_20.setColumns(2);\n txtB9AK8_20.setMaxDigit('2');\n txtB9AK8_20.setMinDigit('1');\n txtB9AK8_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan351.add(txtB9AK8_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan351, gridBagConstraints);\n\n txtB9AK9_20.setColumns(2);\n txtB9AK9_20.setMaxDigit('2');\n txtB9AK9_20.setMinDigit('1');\n txtB9AK9_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan352.add(txtB9AK9_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan352, gridBagConstraints);\n\n txtB9AK10_20.setColumns(2);\n txtB9AK10_20.setMaxDigit('2');\n txtB9AK10_20.setMinDigit('1');\n txtB9AK10_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan353.add(txtB9AK10_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan353, gridBagConstraints);\n\n txtB9AK11_20.setColumns(2);\n txtB9AK11_20.setMaxDigit('2');\n txtB9AK11_20.setMinDigit('1');\n txtB9AK11_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan354.add(txtB9AK11_20);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan354, gridBagConstraints);\n\n panelTransparan355.setAlpha(70);\n panelTransparan355.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan355, gridBagConstraints);\n\n txtB9AK13_20.setColumns(2);\n txtB9AK13_20.setMaxDigit('2');\n txtB9AK13_20.setMinDigit('1');\n txtB9AK13_20.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan356.add(txtB9AK13_20);\n\n txtB9AK13_20Als.setColumns(3);\n txtB9AK13_20Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan356.add(txtB9AK13_20Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 30;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan356, gridBagConstraints);\n\n panelTransparan357.setLayout(new java.awt.GridBagLayout());\n\n label118.setText(\"21\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan357.add(label118, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan357, gridBagConstraints);\n\n txtB9AK2_21.setColumns(3);\n txtB9AK2_21.setLength(2);\n txtB9AK2_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan358.add(txtB9AK2_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan358, gridBagConstraints);\n\n panelTransparan359.setAlpha(70);\n panelTransparan359.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan359, gridBagConstraints);\n\n panelTransparan360.setAlpha(70);\n panelTransparan360.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan360, gridBagConstraints);\n\n txtB9AK5_21.setColumns(2);\n txtB9AK5_21.setMaxDigit('2');\n txtB9AK5_21.setMinDigit('1');\n txtB9AK5_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan361.add(txtB9AK5_21);\n\n txtB9AK5_21Als.setColumns(3);\n txtB9AK5_21Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan361.add(txtB9AK5_21Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan361, gridBagConstraints);\n\n txtB9AK6_21.setColumns(2);\n txtB9AK6_21.setMaxDigit('2');\n txtB9AK6_21.setMinDigit('1');\n txtB9AK6_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan362.add(txtB9AK6_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan362, gridBagConstraints);\n\n txtB9AK7_21.setColumns(2);\n txtB9AK7_21.setMaxDigit('2');\n txtB9AK7_21.setMinDigit('1');\n txtB9AK7_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan363.add(txtB9AK7_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan363, gridBagConstraints);\n\n txtB9AK8_21.setColumns(2);\n txtB9AK8_21.setMaxDigit('2');\n txtB9AK8_21.setMinDigit('1');\n txtB9AK8_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan364.add(txtB9AK8_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan364, gridBagConstraints);\n\n txtB9AK9_21.setColumns(2);\n txtB9AK9_21.setMaxDigit('2');\n txtB9AK9_21.setMinDigit('1');\n txtB9AK9_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan365.add(txtB9AK9_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan365, gridBagConstraints);\n\n txtB9AK10_21.setColumns(2);\n txtB9AK10_21.setMaxDigit('2');\n txtB9AK10_21.setMinDigit('1');\n txtB9AK10_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan366.add(txtB9AK10_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan366, gridBagConstraints);\n\n txtB9AK11_21.setColumns(2);\n txtB9AK11_21.setMaxDigit('2');\n txtB9AK11_21.setMinDigit('1');\n txtB9AK11_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan367.add(txtB9AK11_21);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan367, gridBagConstraints);\n\n panelTransparan368.setAlpha(70);\n panelTransparan368.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan368, gridBagConstraints);\n\n txtB9AK13_21.setColumns(2);\n txtB9AK13_21.setMaxDigit('2');\n txtB9AK13_21.setMinDigit('1');\n txtB9AK13_21.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan369.add(txtB9AK13_21);\n\n txtB9AK13_21Als.setColumns(3);\n txtB9AK13_21Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan369.add(txtB9AK13_21Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 32;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan369, gridBagConstraints);\n\n panelTransparan370.setLayout(new java.awt.GridBagLayout());\n\n label119.setText(\"22\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan370.add(label119, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan370, gridBagConstraints);\n\n txtB9AK2_22.setColumns(3);\n txtB9AK2_22.setLength(2);\n txtB9AK2_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan371.add(txtB9AK2_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan371, gridBagConstraints);\n\n panelTransparan372.setAlpha(70);\n panelTransparan372.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan372, gridBagConstraints);\n\n panelTransparan373.setAlpha(70);\n panelTransparan373.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan373, gridBagConstraints);\n\n txtB9AK5_22.setColumns(2);\n txtB9AK5_22.setMaxDigit('2');\n txtB9AK5_22.setMinDigit('1');\n txtB9AK5_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan374.add(txtB9AK5_22);\n\n txtB9AK5_22Als.setColumns(3);\n txtB9AK5_22Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan374.add(txtB9AK5_22Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan374, gridBagConstraints);\n\n txtB9AK6_22.setColumns(2);\n txtB9AK6_22.setMaxDigit('2');\n txtB9AK6_22.setMinDigit('1');\n txtB9AK6_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan375.add(txtB9AK6_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan375, gridBagConstraints);\n\n txtB9AK7_22.setColumns(2);\n txtB9AK7_22.setMaxDigit('2');\n txtB9AK7_22.setMinDigit('1');\n txtB9AK7_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan376.add(txtB9AK7_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan376, gridBagConstraints);\n\n txtB9AK8_22.setColumns(2);\n txtB9AK8_22.setMaxDigit('2');\n txtB9AK8_22.setMinDigit('1');\n txtB9AK8_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan377.add(txtB9AK8_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan377, gridBagConstraints);\n\n txtB9AK9_22.setColumns(2);\n txtB9AK9_22.setMaxDigit('2');\n txtB9AK9_22.setMinDigit('1');\n txtB9AK9_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan378.add(txtB9AK9_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan378, gridBagConstraints);\n\n txtB9AK10_22.setColumns(2);\n txtB9AK10_22.setMaxDigit('2');\n txtB9AK10_22.setMinDigit('1');\n txtB9AK10_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan379.add(txtB9AK10_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan379, gridBagConstraints);\n\n txtB9AK11_22.setColumns(2);\n txtB9AK11_22.setMaxDigit('2');\n txtB9AK11_22.setMinDigit('1');\n txtB9AK11_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan380.add(txtB9AK11_22);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan380, gridBagConstraints);\n\n panelTransparan381.setAlpha(70);\n panelTransparan381.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan381, gridBagConstraints);\n\n txtB9AK13_22.setColumns(2);\n txtB9AK13_22.setMaxDigit('2');\n txtB9AK13_22.setMinDigit('1');\n txtB9AK13_22.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan382.add(txtB9AK13_22);\n\n txtB9AK13_22Als.setColumns(3);\n txtB9AK13_22Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan382.add(txtB9AK13_22Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan382, gridBagConstraints);\n\n panelTransparan383.setLayout(new java.awt.GridBagLayout());\n\n label120.setText(\"23\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan383.add(label120, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan383, gridBagConstraints);\n\n txtB9AK2_23.setColumns(3);\n txtB9AK2_23.setLength(2);\n txtB9AK2_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan384.add(txtB9AK2_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan384, gridBagConstraints);\n\n panelTransparan385.setAlpha(70);\n panelTransparan385.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan385, gridBagConstraints);\n\n panelTransparan386.setAlpha(70);\n panelTransparan386.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan386, gridBagConstraints);\n\n txtB9AK5_23.setColumns(2);\n txtB9AK5_23.setMaxDigit('2');\n txtB9AK5_23.setMinDigit('1');\n txtB9AK5_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan387.add(txtB9AK5_23);\n\n txtB9AK5_23Als.setColumns(3);\n txtB9AK5_23Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan387.add(txtB9AK5_23Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan387, gridBagConstraints);\n\n txtB9AK6_23.setColumns(2);\n txtB9AK6_23.setMaxDigit('2');\n txtB9AK6_23.setMinDigit('1');\n txtB9AK6_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan388.add(txtB9AK6_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan388, gridBagConstraints);\n\n txtB9AK7_23.setColumns(2);\n txtB9AK7_23.setMaxDigit('2');\n txtB9AK7_23.setMinDigit('1');\n txtB9AK7_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan389.add(txtB9AK7_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan389, gridBagConstraints);\n\n txtB9AK8_23.setColumns(2);\n txtB9AK8_23.setMaxDigit('2');\n txtB9AK8_23.setMinDigit('1');\n txtB9AK8_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan390.add(txtB9AK8_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan390, gridBagConstraints);\n\n txtB9AK9_23.setColumns(2);\n txtB9AK9_23.setMaxDigit('2');\n txtB9AK9_23.setMinDigit('1');\n txtB9AK9_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan391.add(txtB9AK9_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan391, gridBagConstraints);\n\n txtB9AK10_23.setColumns(2);\n txtB9AK10_23.setMaxDigit('2');\n txtB9AK10_23.setMinDigit('1');\n txtB9AK10_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan392.add(txtB9AK10_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan392, gridBagConstraints);\n\n txtB9AK11_23.setColumns(2);\n txtB9AK11_23.setMaxDigit('2');\n txtB9AK11_23.setMinDigit('1');\n txtB9AK11_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan393.add(txtB9AK11_23);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan393, gridBagConstraints);\n\n panelTransparan394.setAlpha(70);\n panelTransparan394.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 33;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan394, gridBagConstraints);\n\n txtB9AK13_23.setColumns(2);\n txtB9AK13_23.setMaxDigit('2');\n txtB9AK13_23.setMinDigit('1');\n txtB9AK13_23.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan395.add(txtB9AK13_23);\n\n txtB9AK13_23Als.setColumns(3);\n txtB9AK13_23Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan395.add(txtB9AK13_23Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 34;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan395, gridBagConstraints);\n\n panelTransparan396.setLayout(new java.awt.GridBagLayout());\n\n label121.setText(\"24\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan396.add(label121, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan396, gridBagConstraints);\n\n txtB9AK2_24.setColumns(3);\n txtB9AK2_24.setLength(2);\n txtB9AK2_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan397.add(txtB9AK2_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan397, gridBagConstraints);\n\n panelTransparan398.setAlpha(70);\n panelTransparan398.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan398, gridBagConstraints);\n\n panelTransparan399.setAlpha(70);\n panelTransparan399.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan399, gridBagConstraints);\n\n txtB9AK5_24.setColumns(2);\n txtB9AK5_24.setMaxDigit('2');\n txtB9AK5_24.setMinDigit('1');\n txtB9AK5_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan400.add(txtB9AK5_24);\n\n txtB9AK5_24Als.setColumns(3);\n txtB9AK5_24Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan400.add(txtB9AK5_24Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan400, gridBagConstraints);\n\n txtB9AK6_24.setColumns(2);\n txtB9AK6_24.setMaxDigit('2');\n txtB9AK6_24.setMinDigit('1');\n txtB9AK6_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan401.add(txtB9AK6_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan401, gridBagConstraints);\n\n txtB9AK7_24.setColumns(2);\n txtB9AK7_24.setMaxDigit('2');\n txtB9AK7_24.setMinDigit('1');\n txtB9AK7_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan402.add(txtB9AK7_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan402, gridBagConstraints);\n\n txtB9AK8_24.setColumns(2);\n txtB9AK8_24.setMaxDigit('2');\n txtB9AK8_24.setMinDigit('1');\n txtB9AK8_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan403.add(txtB9AK8_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan403, gridBagConstraints);\n\n txtB9AK9_24.setColumns(2);\n txtB9AK9_24.setMaxDigit('2');\n txtB9AK9_24.setMinDigit('1');\n txtB9AK9_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan404.add(txtB9AK9_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan404, gridBagConstraints);\n\n txtB9AK10_24.setColumns(2);\n txtB9AK10_24.setMaxDigit('2');\n txtB9AK10_24.setMinDigit('1');\n txtB9AK10_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan405.add(txtB9AK10_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan405, gridBagConstraints);\n\n txtB9AK11_24.setColumns(2);\n txtB9AK11_24.setMaxDigit('2');\n txtB9AK11_24.setMinDigit('1');\n txtB9AK11_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan406.add(txtB9AK11_24);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan406, gridBagConstraints);\n\n panelTransparan407.setAlpha(70);\n panelTransparan407.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan407, gridBagConstraints);\n\n txtB9AK13_24.setColumns(2);\n txtB9AK13_24.setMaxDigit('2');\n txtB9AK13_24.setMinDigit('1');\n txtB9AK13_24.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan408.add(txtB9AK13_24);\n\n txtB9AK13_24Als.setColumns(3);\n txtB9AK13_24Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan408.add(txtB9AK13_24Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 35;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan408, gridBagConstraints);\n\n panelTransparan409.setLayout(new java.awt.GridBagLayout());\n\n label122.setText(\"25\"); // NOI18N\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);\n panelTransparan409.add(label122, gridBagConstraints);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan409, gridBagConstraints);\n\n txtB9AK2_25.setColumns(3);\n txtB9AK2_25.setLength(2);\n txtB9AK2_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan410.add(txtB9AK2_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan410, gridBagConstraints);\n\n panelTransparan411.setAlpha(70);\n panelTransparan411.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan411, gridBagConstraints);\n\n panelTransparan412.setAlpha(70);\n panelTransparan412.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan412, gridBagConstraints);\n\n txtB9AK5_25.setColumns(2);\n txtB9AK5_25.setMaxDigit('2');\n txtB9AK5_25.setMinDigit('1');\n txtB9AK5_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan413.add(txtB9AK5_25);\n\n txtB9AK5_25Als.setColumns(3);\n txtB9AK5_25Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan413.add(txtB9AK5_25Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan413, gridBagConstraints);\n\n txtB9AK6_25.setColumns(2);\n txtB9AK6_25.setMaxDigit('2');\n txtB9AK6_25.setMinDigit('1');\n txtB9AK6_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan414.add(txtB9AK6_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan414, gridBagConstraints);\n\n txtB9AK7_25.setColumns(2);\n txtB9AK7_25.setMaxDigit('2');\n txtB9AK7_25.setMinDigit('1');\n txtB9AK7_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan415.add(txtB9AK7_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan415, gridBagConstraints);\n\n txtB9AK8_25.setColumns(2);\n txtB9AK8_25.setMaxDigit('2');\n txtB9AK8_25.setMinDigit('1');\n txtB9AK8_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan416.add(txtB9AK8_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan416, gridBagConstraints);\n\n txtB9AK9_25.setColumns(2);\n txtB9AK9_25.setMaxDigit('2');\n txtB9AK9_25.setMinDigit('1');\n txtB9AK9_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan417.add(txtB9AK9_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan417, gridBagConstraints);\n\n txtB9AK10_25.setColumns(2);\n txtB9AK10_25.setMaxDigit('2');\n txtB9AK10_25.setMinDigit('1');\n txtB9AK10_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan418.add(txtB9AK10_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan418, gridBagConstraints);\n\n txtB9AK11_25.setColumns(2);\n txtB9AK11_25.setMaxDigit('2');\n txtB9AK11_25.setMinDigit('1');\n txtB9AK11_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan419.add(txtB9AK11_25);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan419, gridBagConstraints);\n\n panelTransparan420.setAlpha(70);\n panelTransparan420.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan420, gridBagConstraints);\n\n txtB9AK13_25.setColumns(2);\n txtB9AK13_25.setMaxDigit('2');\n txtB9AK13_25.setMinDigit('1');\n txtB9AK13_25.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan421.add(txtB9AK13_25);\n\n txtB9AK13_25Als.setColumns(3);\n txtB9AK13_25Als.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n focusTxt(evt);\n }\n });\n panelTransparan421.add(txtB9AK13_25Als);\n\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 37;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan421, gridBagConstraints);\n\n panelTransparan422.setAlpha(70);\n panelTransparan422.setLayout(new java.awt.GridBagLayout());\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 0;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan422, gridBagConstraints);\n\n panelTransparan423.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 1;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan423, gridBagConstraints);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 2;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan424, gridBagConstraints);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 3;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan425, gridBagConstraints);\n\n panelTransparan426.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 4;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan426, gridBagConstraints);\n\n panelTransparan427.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 5;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan427, gridBagConstraints);\n\n panelTransparan428.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 6;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan428, gridBagConstraints);\n\n panelTransparan429.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 7;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan429, gridBagConstraints);\n\n panelTransparan430.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 8;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan430, gridBagConstraints);\n\n panelTransparan431.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 9;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan431, gridBagConstraints);\n\n panelTransparan432.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 10;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan432, gridBagConstraints);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 11;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan433, gridBagConstraints);\n\n panelTransparan434.setAlpha(70);\n gridBagConstraints = new java.awt.GridBagConstraints();\n gridBagConstraints.gridx = 12;\n gridBagConstraints.gridy = 38;\n gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;\n panelTabel.add(panelTransparan434, gridBagConstraints);\n\n javax.swing.GroupLayout panelScrollLayout = new javax.swing.GroupLayout(panelScroll);\n panelScroll.setLayout(panelScrollLayout);\n panelScrollLayout.setHorizontalGroup(\n panelScrollLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelScrollLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(panelTabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(275, Short.MAX_VALUE))\n );\n panelScrollLayout.setVerticalGroup(\n panelScrollLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelScrollLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(panelTabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(31, Short.MAX_VALUE))\n );\n\n scroolPane1.setViewportView(panelScroll);\n\n add(scroolPane1, java.awt.BorderLayout.CENTER);\n }", "private void initUI() {\r\n\t\t//Äußeres Panel\r\n\t\tContainer pane = getContentPane();\r\n\t\tGroupLayout gl = new GroupLayout(pane);\r\n\t\tpane.setLayout(gl);\r\n\t\t//Abstende von den Containern und dem äußeren Rand\r\n\t\tgl.setAutoCreateContainerGaps(true);\r\n\t\tgl.setAutoCreateGaps(true);\r\n\t\t//TextFeld für die Ausgabe\r\n\t\tJTextField output = view.getTextField();\r\n\t\t//Die jeweiligen Panels für die jeweiigen Buttons\r\n\t\tJPanel brackets = view.getBracketPanel();\r\n\t\tJPanel remove = view.getTop2Panel();\r\n\t\tJPanel numbers = view.getNumbersPanel();\r\n\t\tJPanel last = view.getBottomPanel();\r\n\t\t//Anordnung der jeweiligen Panels durch den Layout Manager\r\n\t\tgl.setHorizontalGroup(gl.createParallelGroup().addComponent(output).addComponent(brackets).addComponent(remove).addComponent(numbers).addComponent(last));\r\n\t\tgl.setVerticalGroup(gl.createSequentialGroup().addComponent(output).addComponent(brackets).addComponent(remove).addComponent(numbers).addComponent(last));\r\n\t\tpack();\r\n\t\tsetTitle(\"Basic - Taschenrechner\");\r\n\t\tsetDefaultCloseOperation(EXIT_ON_CLOSE);\r\n\t\tsetResizable(false);\r\n\t}", "private void makeButtonPanel()\n {\n \n this.buttonPanel.setLayout(new GridLayout(10, 2, 30, 10));\n \n \n this.buttonPanel.add(this.fLabel);\n this.fName.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.fName);\n\n this.buttonPanel.add(this.lLabel);\n this.lName.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.lName);\n\n this.buttonPanel.add(this.idLabel);\n this.iD.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.iD);\n\n this.buttonPanel.add(this.courseLabel);\n this.course.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.course);\n\n this.buttonPanel.add(this.instructorLabel);\n this.instructor.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.instructor);\n\n this.buttonPanel.add(this.tutorLabel);\n this.tutor.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.tutor);\n \n this.buttonPanel.add(this.commentsLable);\n this.comments.setColumns(COL_WIDTH);\n this.buttonPanel.add(this.comments);\n //Removed for appointment tabel\n //this.buttonPanel.add(this.appointmentLable);\n //this.buttonPanel.add(this.appointment);\n this.buttonPanel.add(this.sessionLenLabel);\n this.sessionLength.setColumns(COL_WIDTH);\n this.sessionLength.setText(\"30\");\n this.buttonPanel.add(this.sessionLength);\n\n this.ADD_BUTTON.addActionListener(new AddButtonListener());\n //buttonPanel.add(ADD_BUTTON);\n \n \n this.addSessionPlaceHolder.add(this.buttonPanel);\n }", "private Panel designPanel() {\n Panel panel = new Panel();\n contentLayout = new FormLayout();\n wrapperLayout = new VerticalLayout();\n numberOfDatasetsBox = new ComboBox<>();\n numberOfReplicatesBox = new ComboBox<>(\"Select number of Replicates\");\n\n\n List<Integer> possibleDatasetNumber =\n IntStream.rangeClosed(1, 100).boxed().collect(Collectors.toList());\n numberOfDatasetsBox.setItems(possibleDatasetNumber);\n\n List<Integer> possibleReplicateNumber =\n IntStream.rangeClosed(1, 100).boxed().collect(Collectors.toList());\n numberOfReplicatesBox.setItems(possibleReplicateNumber);\n\n datasetAccordion = new Accordion();\n datasetAccordion.setWidth(\"100%\");\n\n panel.setContent(wrapperLayout);\n return panel;\n }", "private void crearPanel() {\r\n\t\tJLabel lbl_Empresa = new JLabel(\"Empresa:\");\r\n\t\tlbl_Empresa.setBounds(10, 52, 72, 14);\r\n\t\tadd(lbl_Empresa);\r\n\r\n\t\ttxField_Empresa = new JTextField();\r\n\t\ttxField_Empresa.setBounds(116, 49, 204, 20);\r\n\t\tadd(txField_Empresa);\r\n\t\ttxField_Empresa.setColumns(10);\r\n\r\n\t\tlbl_Oferta = new JLabel(\" \");\r\n\t\tlbl_Oferta.setFont(new Font(\"Tahoma\", Font.PLAIN, 20));\r\n\t\tlbl_Oferta.setBounds(10, 11, 742, 20);\r\n\t\tadd(lbl_Oferta);\r\n\r\n\t\tJLabel lbl_sueldoMin = new JLabel(\"Sueldo Minimo:\");\r\n\t\tlbl_sueldoMin.setBounds(10, 83, 96, 14);\r\n\t\tadd(lbl_sueldoMin);\r\n\r\n\t\ttxField_sueldoMin = new JTextField();\r\n\t\ttxField_sueldoMin.setColumns(10);\r\n\t\ttxField_sueldoMin.setBounds(116, 80, 93, 20);\r\n\t\tadd(txField_sueldoMin);\r\n\r\n\t\tJLabel lbl_sueldoMax = new JLabel(\"Sueldo Maximo:\");\r\n\t\tlbl_sueldoMax.setBounds(10, 115, 96, 14);\r\n\t\tadd(lbl_sueldoMax);\r\n\r\n\t\ttxField_sueldoMax = new JTextField();\r\n\t\ttxField_sueldoMax.setColumns(10);\r\n\t\ttxField_sueldoMax.setBounds(116, 112, 93, 20);\r\n\t\tadd(txField_sueldoMax);\r\n\r\n\t\tJLabel lbl_experiencia = new JLabel(\"A\\u00F1os de experiencia minimos:\");\r\n\t\tlbl_experiencia.setBounds(10, 143, 185, 14);\r\n\t\tadd(lbl_experiencia);\r\n\r\n\t\ttxField_experiencia = new JTextField();\r\n\t\ttxField_experiencia.setColumns(10);\r\n\t\ttxField_experiencia.setBounds(205, 140, 93, 20);\r\n\t\tadd(txField_experiencia);\r\n\r\n\t\tJLabel lbl_aspectosValorar = new JLabel(\"Aspectos a valorar:\");\r\n\t\tlbl_aspectosValorar.setBounds(10, 178, 137, 14);\r\n\t\tadd(lbl_aspectosValorar);\r\n\r\n\t\ttxArea_aspectosValorar = new JTextArea();\r\n\t\ttxArea_aspectosValorar.setBorder(UIManager.getBorder(\"TextField.border\"));\r\n\t\ttxArea_aspectosValorar.setBounds(157, 172, 253, 41);\r\n\t\tadd(txArea_aspectosValorar);\r\n\r\n\t\tJLabel lbl_aspectosImpres = new JLabel(\"Aspectos imprescindibles:\");\r\n\t\tlbl_aspectosImpres.setBounds(10, 238, 133, 14);\r\n\t\tadd(lbl_aspectosImpres);\r\n\r\n\t\ttxArea_aspectosImpres = new JTextArea();\r\n\t\ttxArea_aspectosImpres.setBorder(UIManager.getBorder(\"TextField.border\"));\r\n\t\ttxArea_aspectosImpres.setBounds(157, 232, 253, 41);\r\n\t\tadd(txArea_aspectosImpres);\r\n\r\n\t\tJLabel lbl_descripcion = new JLabel(\"Descripcion:\");\r\n\t\tlbl_descripcion.setBounds(10, 302, 107, 14);\r\n\t\tadd(lbl_descripcion);\r\n\r\n\t\ttxArea_descripcion = new JTextArea();\r\n\t\ttxArea_descripcion.setBorder(UIManager.getBorder(\"TextField.border\"));\r\n\t\ttxArea_descripcion.setBounds(10, 328, 465, 149);\r\n\t\tadd(txArea_descripcion);\r\n\r\n\t\tJLabel lbl_conocimientos = new JLabel(\"Conocimientos requeridos:\");\r\n\t\tlbl_conocimientos.setBounds(537, 125, 169, 14);\r\n\t\tadd(lbl_conocimientos);\r\n\r\n\t\tpa_conocimientos = new PanelListaDoble(Usuario.getConocimientosTotales(), miOferta.getConocimientos());\r\n\t\tpa_conocimientos.setBounds(537, 174, 215, 180);\r\n\t\tadd(pa_conocimientos);\r\n\r\n\t\ttxField_buscarCono = new JTextField();\r\n\t\ttxField_buscarCono.setBounds(537, 140, 135, 20);\r\n\t\tadd(txField_buscarCono);\r\n\t\ttxField_buscarCono.setColumns(10);\r\n\r\n\t\tJButton btn_buscar = new JButton(\"\");\r\n\t\tbtn_buscar.setBounds(682, 138, 24, 23);\r\n\t\tadd(btn_buscar);\r\n\r\n\t\tbtn_crear = new JButton(\"\");\r\n\t\tbtn_crear.setBounds(716, 138, 24, 23);\r\n\t\tadd(btn_crear);\r\n\r\n\t\ttxField_lugar = new JTextField();\r\n\t\ttxField_lugar.setEditable(false);\r\n\t\ttxField_lugar.setColumns(10);\r\n\t\ttxField_lugar.setBounds(506, 49, 234, 20);\r\n\t\tadd(txField_lugar);\r\n\r\n\t\tJLabel lbl_lugar = new JLabel(\"Lugar de trabajo:\");\r\n\t\tlbl_lugar.setBounds(392, 52, 104, 14);\r\n\t\tadd(lbl_lugar);\r\n\r\n\t\tJLabel lbl_contrato = new JLabel(\"Tipo de contrato:\");\r\n\t\tlbl_contrato.setBounds(392, 83, 104, 14);\r\n\t\tadd(lbl_contrato);\r\n\r\n\t\tcombo_contrato = new JComboBox<Contrato>();\r\n\t\tcombo_contrato.addItem(Contrato.INDEFINIDO_TIEMPO_COMPLETO);\r\n\t\tcombo_contrato.addItem(Contrato.INDEFINIDO_TIEMPO_PARCIAL);\r\n\t\tcombo_contrato.addItem(Contrato.TEMPORAL_TIEMPO_COMPLETO);\r\n\t\tcombo_contrato.addItem(Contrato.TEMPORTAL_TIEMPO_PARCIAL);\r\n\t\tcombo_contrato.setBounds(506, 83, 159, 20);\r\n\t\tadd(combo_contrato);\r\n\t\t// d\r\n\t\tinicializar(miOferta);\r\n\t\tdesHabCampos(false);\r\n\t\tif (miOferta.getEmpresa().getNumID().compareToIgnoreCase(Aplicacion.getUsuario().getNumID()) == 0) {\r\n\t\t\tbtnEliminar = new JButton(\"Eliminar\");\r\n\t\t\tbtnEliminar.setToolTipText(\"Eliminar\");\r\n\t\t\tbtnEliminar.setBounds(492, 384, 125, 41);\r\n\t\t\tadd(btnEliminar);\r\n\r\n\t\t\tbtnRetirar = new JButton(\"\\uD83D\\uDC40\");\r\n\t\t\tbtnRetirar.setToolTipText(\"Retirar Oferta\");\r\n\t\t\tbtnRetirar.setBounds(627, 384, 125, 41);\r\n\t\t\tadd(btnRetirar);\r\n\r\n\t\t\tbutton_Editar = new JButton(\"Editar\");\r\n\t\t\tbutton_Editar.setToolTipText(\"Editar\");\r\n\t\t\tbutton_Editar.setBounds(627, 436, 125, 41);\r\n\t\t\tadd(button_Editar);\r\n\r\n\t\t\tbutton_Editar.addMouseListener(new MouseAdapter() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\t\t\t\t\tdesHabCampos(true);\r\n\t\t\t\t\tbutton_Editar.setVisible(false);\r\n\t\t\t\t\tbtnEliminar.setVisible(false);\r\n\t\t\t\t\tbtnRetirar.setVisible(false);\r\n\t\t\t\t\tbtn_crear.setVisible(false);\r\n\r\n\t\t\t\t\tbtn_guardar = new JButton(\"Guardar\");\r\n\t\t\t\t\tbtn_guardar.setToolTipText(\"Guardar\");\r\n\t\t\t\t\tbtn_guardar.setBounds(627, 436, 125, 41);\r\n\t\t\t\t\tadd(btn_guardar);\r\n\r\n\t\t\t\t\tbtn_cancelar = new JButton(\"Cancelar\");\r\n\t\t\t\t\tbtn_cancelar.setToolTipText(\"Cancelar\");\r\n\t\t\t\t\tbtn_cancelar.setBounds(492, 436, 125, 41);\r\n\t\t\t\t\tadd(btn_cancelar);\r\n\r\n\t\t\t\t\tbtn_cancelar.addMouseListener(new MouseAdapter() {\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\t\t\t\t\t\t\tbtn_guardar.removeAll();\r\n\t\t\t\t\t\t\tbtn_cancelar.removeAll();\r\n\t\t\t\t\t\t\tbtn_cancelar.setVisible(false);\r\n\t\t\t\t\t\t\tbtn_guardar.setVisible(false);\r\n\t\t\t\t\t\t\tbtnEliminar.setVisible(true);\r\n\t\t\t\t\t\t\tbutton_Editar.setVisible(true);\r\n\t\t\t\t\t\t\tbtnRetirar.setVisible(true);\r\n\t\t\t\t\t\t\tbtn_crear.setVisible(true);\r\n\t\t\t\t\t\t\tinicializar(miOferta);\r\n\t\t\t\t\t\t\tdesHabCampos(false);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tbtn_guardar.addMouseListener(new MouseAdapter() {\r\n\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\t\t\t\t\t\t\tEmergenteCambios.createWindow(\"┐Desea guardar los cambios?\", (TieneEmergente) padre);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}", "private void initPanels() {\r\n\t\r\n\tpanel = new JPanel();\r\n\tpanel.setBounds(0, 0, ScreenSize.WIDTH + 25, ScreenSize.HEIGHT + 50);\r\n\tpanel.setLayout(new BorderLayout());\r\n\tpanel.addComponentListener(this);\r\n\r\n\tbord = new BordPanel();\r\n\tbord.setBounds(0 ,0 ,ScreenSize.WIDTH, ScreenSize.HEIGHT);\r\n\tbord.setOpaque(true);\r\n\r\n\tlabel = new JLabel();\r\n\tlabel.setText(\"Text\");\r\n\r\n\tpanel.add(label, BorderLayout.SOUTH);\r\n\tpanel.add(bord, BorderLayout.CENTER);\r\n\t\r\n\tframe.add(panel);\r\n }", "private void setupPanel()\n\t{\n\t\tthis.setLayout(baseLayout);\n\t\tthis.add(firstButton);\n\t\tthis.add(firstField);\n\t}", "protected void createMainPanel() {\n\t\tthis.mainPanel = new VerticalPanel(); \n\t\tthis.mainPanel.setSpacing(5);\n\t\tthis.mainPanel.setScrollMode(getScrollMode());\n\t}", "@SuppressWarnings({ \"unused\", \"unchecked\", \"rawtypes\" })\r\n\tprivate void buildPanel() {\r\n\t\tageField = new JComboBox(ageRanges);\r\n\t\tfNameField = new JTextField(20);\r\n\t\tGhostText fNameGhost = new GhostText(fNameField, \"First Name\");\r\n\t\tlNameField = new JTextField(20);\r\n\t\tGhostText lNameGhost = new GhostText(lNameField, \"Last Name\");\r\n\t\tmInitField = new JTextField(2);\r\n\t\tGhostText mInitGhost = new GhostText(mInitField, \"M\");\r\n\t\temailField = new JTextField(20);\r\n\t\tGhostText emailGhost = new GhostText(emailField, \"Email\");\r\n\t\tphoneNumberField = new JTextField(12);\r\n\t\timage = new JLabel();\r\n\t\tGhostText phoneNoGhost = new GhostText(phoneNumberField, \"Phone Number\");\r\n\t\tJPanel namePanel = new JPanel();\r\n\t\tJPanel emailPhoneAgePanel = new JPanel();\r\n\t\tJPanel northPanel = new JPanel();\r\n\t\tJPanel centerPanel = new JPanel();\r\n\t\temailPhoneAgePanel.setLayout(new GridLayout(0, 3));\r\n\t\temailPhoneAgePanel.setSize(new Dimension(400, 25));\r\n\t\temailPhoneAgePanel.setMaximumSize(new Dimension(400, 25));\r\n\t\tregisterButton = new JButton(\"Register & Save\");\r\n\t\tregisterButton.addActionListener(new registerButtonAction());\r\n\t\tregisterButton.setEnabled(false);\r\n\t\tuploadButton = new JButton(\"Upload Photo\");\r\n\t\tuploadButton.addActionListener(new uploadListener());\r\n\t\tnamePanel.add(fNameField);\r\n\t\tnamePanel.add(lNameField);\r\n\t\tnamePanel.add(mInitField);\r\n\t\tnamePanel.setBackground(Color.BLACK);\r\n\t\tnamePanel.setLayout(new GridBagLayout());\r\n\t\temailPhoneAgePanel.add(emailField);\r\n\t\temailPhoneAgePanel.add(phoneNumberField);\r\n\t\temailPhoneAgePanel.add(ageField);\r\n\t\temailPhoneAgePanel.setBackground(Color.BLACK);\r\n\t\temailPhoneAgePanel.setLayout(new GridBagLayout());\r\n\t\tcenterPanel.add(image);\r\n\t\tJPanel buttonPanel = new JPanel();\r\n\t\tbuttonPanel.add(uploadButton);\r\n\t\tbuttonPanel.add(registerButton);\r\n\t\tnorthPanel.add(namePanel, BorderLayout.NORTH);\r\n\t\tnorthPanel.add(emailPhoneAgePanel, BorderLayout.CENTER);\r\n\t\tnorthPanel.setBackground(Color.BLACK);\r\n\t\tcenterPanel.setBackground(Color.BLACK);\r\n\t\tthis.add(northPanel, BorderLayout.NORTH);\r\n\t\tthis.add(centerPanel, BorderLayout.CENTER);\r\n\t\tthis.add(buttonPanel, BorderLayout.SOUTH);\t\r\n\t\t}", "private void buildGUI() {\n\t\tpanel = new JPanel();\n\t\tpanel.setLayout(null);\n\t\tpanel.setBorder(LineBorder.createGrayLineBorder());\n\t\tadd(panel);\n\t\t\n\t\taddRootPaneListener();\n\t\taddLoginComp();\n\t\taddButtons();\n\t\taddTitle();\n\t}", "private void buildPanel()\n\t{\n\t\tvoterIDMessage = new JLabel(\"Please Enter Your Voter ID.\");\n\t\tbutton1 = new JButton(\"Cancel\");\n\t\tbutton1.addActionListener(new ButtonListener());\n\t\tbutton2 = new JButton(\"OK\");\n\t\tbutton2.addActionListener(new ButtonListener());\n\t\tidText = new JTextField(10);\n\t\tpanel1 = new JPanel();\n\t\tpanel2 = new JPanel();\n\t\tpanel3 = new JPanel();\n\t\tpanel1.add(voterIDMessage);\n\t\tpanel2.add(idText);\n\t\tpanel3.add(button1);\n\t\tpanel3.add(button2);\n\t}", "private void createpanel1() {\r\n\t\theader = new JLabel();\r\n\t\theader.setText(\"Type in Userinformation\");\r\n\t\theader.setFont(customFont.deriveFont(25f));\r\n\t\theader.setForeground(Color.WHITE);\r\n\r\n\t\tpanels[0].add(header);\r\n\t\tpanels[0].setOpaque(false);\r\n\t\tallComponents.add(panels[0]);\r\n\r\n\t}", "public void createUI() {\r\n\t\ttry {\r\n\t\t\tJPanel centerPanel = this.createCenterPane();\r\n\t\t\tJPanel westPanel = this.createWestPanel();\r\n\t\t\tm_XONContentPane.add(westPanel, BorderLayout.WEST);\r\n\t\t\tm_XONContentPane.add(centerPanel, BorderLayout.CENTER);\r\n\t\t\tm_XONContentPane.revalidate();\r\n\t\t} catch (Exception ex) {\r\n\t\t\tRGPTLogger.logToFile(\"Exception at createUI \", ex);\r\n\t\t}\r\n\t}", "private void initComponents() {\n buttonGroup = new javax.swing.ButtonGroup();\n buttonGroupMethod = new javax.swing.ButtonGroup();\n buttonGroupExtMethod = new javax.swing.ButtonGroup();\n buttonGroupExtMsg = new javax.swing.ButtonGroup();\n buttonGroupBERSource = new javax.swing.ButtonGroup();\n buttonGroupBERTarget = new javax.swing.ButtonGroup();\n jPanelMainMenu = new javax.swing.JPanel();\n jSplitPane1 = new javax.swing.JSplitPane();\n jPanel2 = new javax.swing.JPanel();\n jPanelMenu3 = new javax.swing.JPanel();\n jLabelMenu3 = new javax.swing.JLabel();\n jPanelMenu4 = new javax.swing.JPanel();\n jLabelMenu4 = new javax.swing.JLabel();\n jPanelMenu5 = new javax.swing.JPanel();\n jLabelMenu5 = new javax.swing.JLabel();\n jPanelMenu6 = new javax.swing.JPanel();\n jLabelMenu6 = new javax.swing.JLabel();\n jPanelMenu7 = new javax.swing.JPanel();\n jLabelMenu7 = new javax.swing.JLabel();\n jPanel3 = new javax.swing.JPanel();\n jPanelSideCenter = new javax.swing.JPanel();\n jPanelGraph1 = new javax.swing.JPanel();\n jPanelGraph2 = new javax.swing.JPanel();\n jToolBarPlayer = new javax.swing.JToolBar();\n jButtonStop = new javax.swing.JButton();\n jButtonPlay = new javax.swing.JButton();\n jButtonPause = new javax.swing.JButton();\n jButtonRecord = new javax.swing.JButton();\n jPanelSideRight1 = new javax.swing.JPanel();\n jScrollPane5 = new javax.swing.JScrollPane();\n jListPlaylist = new javax.swing.JList();\n jPanel9 = new javax.swing.JPanel();\n jLabel35 = new javax.swing.JLabel();\n jScrollPane6 = new javax.swing.JScrollPane();\n jTableProperties = new javax.swing.JTable();\n jPanel11 = new javax.swing.JPanel();\n jToolBar2 = new javax.swing.JToolBar();\n jButton4 = new javax.swing.JButton();\n jButton5 = new javax.swing.JButton();\n jButton6 = new javax.swing.JButton();\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"ARMS: Audio wateRMarking System\");\n setBackground(new java.awt.Color(255, 255, 255));\n setResizable(false);\n jPanelMainMenu.setLayout(new java.awt.BorderLayout());\n\n jSplitPane1.setBorder(null);\n jSplitPane1.setDividerLocation(80);\n jSplitPane1.setDividerSize(3);\n jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu3.setBackground(new java.awt.Color(255, 255, 255));\n jPanelMenu3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));\n jPanelMenu3.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jPanelMenu3MouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n jPanelMenu3MouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jPanelMenu3MouseExited(evt);\n }\n });\n\n jLabelMenu3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelMenu3.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/ins.png\")));\n jLabelMenu3.setText(\"Insert Mark\");\n jLabelMenu3.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);\n jLabelMenu3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jLabelMenu3.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jPanelMenu3.add(jLabelMenu3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 60));\n\n jPanel2.add(jPanelMenu3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 70));\n\n jPanelMenu4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu4.setBackground(new java.awt.Color(255, 255, 255));\n jPanelMenu4.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));\n jPanelMenu4.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jPanelMenu4MouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n jPanelMenu4MouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jPanelMenu4MouseExited(evt);\n }\n });\n\n jLabelMenu4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelMenu4.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/ext.png\")));\n jLabelMenu4.setText(\"Extract Mark\");\n jLabelMenu4.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);\n jLabelMenu4.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jLabelMenu4.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jPanelMenu4.add(jLabelMenu4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 60));\n\n jPanel2.add(jPanelMenu4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 70, 80, 70));\n\n jPanelMenu5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu5.setBackground(new java.awt.Color(255, 255, 255));\n jPanelMenu5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));\n jPanelMenu5.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jPanelMenu5MouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n jPanelMenu5MouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jPanelMenu5MouseExited(evt);\n }\n });\n\n jLabelMenu5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelMenu5.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/tes.png\")));\n jLabelMenu5.setText(\"Error Test\");\n jLabelMenu5.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);\n jLabelMenu5.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jLabelMenu5.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jPanelMenu5.add(jLabelMenu5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 60));\n\n jPanel2.add(jPanelMenu5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 140, 80, 70));\n\n jPanelMenu6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu6.setBackground(new java.awt.Color(255, 255, 255));\n jPanelMenu6.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));\n jPanelMenu6.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jPanelMenu6MouseClicked(evt);\n }\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n jPanelMenu6MouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jPanelMenu6MouseExited(evt);\n }\n });\n\n jLabelMenu6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelMenu6.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/bitcheck.png\")));\n jLabelMenu6.setText(\"Recovery Test\");\n jLabelMenu6.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);\n jLabelMenu6.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jLabelMenu6.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jPanelMenu6.add(jLabelMenu6, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 60));\n\n jPanel2.add(jPanelMenu6, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 210, 80, 70));\n\n jPanelMenu7.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelMenu7.setBackground(new java.awt.Color(255, 255, 255));\n jPanelMenu7.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204)));\n jPanelMenu7.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n jPanelMenu7MouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n jPanelMenu7MouseExited(evt);\n }\n });\n\n jLabelMenu7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabelMenu7.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/ady1.jpg\")));\n jLabelMenu7.setText(\"About\");\n jLabelMenu7.setVerticalAlignment(javax.swing.SwingConstants.BOTTOM);\n jLabelMenu7.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jLabelMenu7.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jPanelMenu7.add(jLabelMenu7, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 80, 80));\n\n jPanel2.add(jPanelMenu7, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 280, 80, 90));\n\n jSplitPane1.setLeftComponent(jPanel2);\n\n jPanel3.setLayout(new java.awt.BorderLayout());\n\n jPanelSideCenter.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelSideCenter.setBackground(new java.awt.Color(255, 255, 255));\n jPanelGraph1.setLayout(new java.awt.BorderLayout());\n\n jPanelSideCenter.add(jPanelGraph1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 520, 210));\n\n jPanelGraph2.setLayout(new java.awt.BorderLayout());\n\n jPanelSideCenter.add(jPanelGraph2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 230, 520, 210));\n\n jToolBarPlayer.setBorder(null);\n jButtonStop.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/stop.png\")));\n jButtonStop.setText(\"Stop\");\n jButtonStop.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonStop.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonStop.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonStopActionPerformed(evt);\n }\n });\n\n jToolBarPlayer.add(jButtonStop);\n\n jButtonPlay.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/play.png\")));\n jButtonPlay.setText(\"Play\");\n jButtonPlay.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonPlay.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonPlay.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonPlayActionPerformed(evt);\n }\n });\n\n jToolBarPlayer.add(jButtonPlay);\n\n jButtonPause.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/pause.png\")));\n jButtonPause.setText(\"Pause\");\n jButtonPause.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonPause.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonPause.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonPauseActionPerformed(evt);\n }\n });\n\n jToolBarPlayer.add(jButtonPause);\n\n jButtonRecord.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/record.png\")));\n jButtonRecord.setText(\"Record\");\n jButtonRecord.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n jButtonRecord.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n jButtonRecord.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonRecordActionPerformed(evt);\n }\n });\n\n jToolBarPlayer.add(jButtonRecord);\n\n jPanelSideCenter.add(jToolBarPlayer, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 450, 710, -1));\n\n jPanelSideRight1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jPanelSideRight1.setBackground(new java.awt.Color(255, 255, 255));\n jScrollPane5.setBorder(null);\n jListPlaylist.setSelectionBackground(new java.awt.Color(104, 121, 144));\n jListPlaylist.addListSelectionListener(new javax.swing.event.ListSelectionListener() {\n public void valueChanged(javax.swing.event.ListSelectionEvent evt) {\n jListPlaylistValueChanged(evt);\n }\n });\n\n jScrollPane5.setViewportView(jListPlaylist);\n\n jPanelSideRight1.add(jScrollPane5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 240, 170, 190));\n\n jPanel9.setLayout(new java.awt.BorderLayout());\n\n jPanel9.setBackground(new java.awt.Color(51, 95, 130));\n jLabel35.setForeground(new java.awt.Color(255, 255, 255));\n jLabel35.setText(\" Available Stream\");\n jPanel9.add(jLabel35, java.awt.BorderLayout.CENTER);\n\n jPanelSideRight1.add(jPanel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 220, 170, 20));\n\n jScrollPane6.setBorder(null);\n jTableProperties.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Properties\", \"Value\"\n }\n ));\n jTableProperties.setSelectionBackground(new java.awt.Color(104, 121, 144));\n jScrollPane6.setViewportView(jTableProperties);\n\n jPanelSideRight1.add(jScrollPane6, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 170, 220));\n\n jPanel11.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jToolBar2.setBorder(null);\n jButton4.setText(\" add \");\n jButton4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton4ActionPerformed(evt);\n }\n });\n\n jToolBar2.add(jButton4);\n\n jButton5.setText(\" sav \");\n jButton5.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton5ActionPerformed(evt);\n }\n });\n\n jToolBar2.add(jButton5);\n\n jButton6.setText(\" rem \");\n jButton6.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton6ActionPerformed(evt);\n }\n });\n\n jToolBar2.add(jButton6);\n\n jPanel11.add(jToolBar2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 170, 20));\n\n jPanelSideRight1.add(jPanel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 430, 170, 20));\n\n jPanelSideCenter.add(jPanelSideRight1, new org.netbeans.lib.awtextra.AbsoluteConstraints(539, 0, 170, 450));\n\n jPanel3.add(jPanelSideCenter, java.awt.BorderLayout.CENTER);\n\n jSplitPane1.setRightComponent(jPanel3);\n\n jPanelMainMenu.add(jSplitPane1, java.awt.BorderLayout.CENTER);\n\n getContentPane().add(jPanelMainMenu, java.awt.BorderLayout.CENTER);\n\n jPanel1.setLayout(new java.awt.BorderLayout());\n\n jPanel1.setBackground(new java.awt.Color(102, 121, 187));\n jLabel1.setFont(new java.awt.Font(\"Harlow Solid Italic\", 0, 36));\n jLabel1.setForeground(new java.awt.Color(255, 255, 255));\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/wavemark/images/head3.jpg\")));\n jPanel1.add(jLabel1, java.awt.BorderLayout.CENTER);\n\n getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);\n\n java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();\n setBounds((screenSize.width-800)/2, (screenSize.height-600)/2, 800, 600);\n }", "private void setupPanels() {\n for (String className : PANEL_CLASS_NAMES) {\n try {\n Class<?> c = Class.forName(className);\n Object p = c.newInstance();\n VisualizationPanel panel = (VisualizationPanel) p;\n panel.setGcTraceSet(gcTraceSet);\n gcTraceSet.addListener(panel.getListener());\n panels.add(panel);\n tabbedPane.addTab(panel.getPanelName(), panel.getPanel());\n } catch (ClassNotFoundException e) {\n ErrorReporting.warning(className + \" not found\");\n } catch (InstantiationException e) {\n ErrorReporting.warning(\"could not instantiate \" + className);\n } catch (IllegalAccessException e) {\n ErrorReporting.warning(\"could not access constructor of \" + className);\n } catch (ClassCastException e) {\n ErrorReporting.warning(\"could not cast \" + className + \" to VisualizationPanel\");\n }\n }\n ErrorReporting.fatalError(panels.size() > TRACE_MANAGEMENT_PANEL_INDEX,\n \"There must be at least one panel set up, \" +\n \"the trace management panel.\");\n try {\n traceManagementPanel =\n (TraceManagementPanel) panels.get(TRACE_MANAGEMENT_PANEL_INDEX);\n } catch (ClassCastException e) {\n ErrorReporting.fatalError(\"could not cast panel with index \" +\n TRACE_MANAGEMENT_PANEL_INDEX + \" to TraceManagementPanel\");\n }\n ErrorReporting.fatalError(traceManagementPanel != null,\n \"The trace management panel should not be null\");\n }", "private void $$$setupUI$$$() {\n createUIComponents();\n panel = new JPanel();\n panel.setLayout(new GridLayoutManager(2, 1, new Insets(10, 10, 10, 10), -1, -1));\n final JScrollPane scrollPane1 = new JScrollPane();\n panel.add(scrollPane1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n scrollPane1.setViewportView(table);\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(1, 3, new Insets(0, 0, 0, 0), -1, -1));\n panel.add(panel1, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n buttonRegister = new JButton();\n buttonRegister.setText(\"Track\");\n panel1.add(buttonRegister, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n buttonMenu = new JButton();\n buttonMenu.setText(\"Menu\");\n panel1.add(buttonMenu, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final Spacer spacer1 = new Spacer();\n panel1.add(spacer1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\n }", "private void init(){\n panel_principal = new JPanel();\r\n panel_principal.setLayout(new BorderLayout());\r\n //EN EL NORTE IRA LA CAJA DE TEXTO\r\n caja = new JTextField();\r\n panel_principal.add(\"North\",caja);\r\n //EN EL CENTRO IRA EL PANEL DE BOTONES\r\n panel_botones = new JPanel();\r\n //El GRIDLAYOUT RECIBE COMO PARAMETROS:\r\n //FILAS,COLUMNAS ESPACIADO ENTRE FILAS,\r\n //ESPACIADO ENTRE COLUMNAS\r\n panel_botones.setLayout(new GridLayout(5,4,8,8));\r\n agregarBotones();\r\n panel_principal.add(\"Center\",panel_botones);\r\n //AGREGAMOS TODO EL CONTENIDO QUE ACABAMOS DE HACER EN\r\n //PANEL_PRINCIPAL A EL PANEL DEL FORMULARIO\r\n getContentPane().add(panel_principal);\r\n\r\n }", "private void createpanel4() {\r\n\t\tpanels[3].setLayout(new FlowLayout(FlowLayout.CENTER, 20, 0));\r\n\r\n\t\texecute = new JButton(\"Login\") {\r\n\r\n\t\t\tprivate static final long serialVersionUID = 1L;\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void paint(Graphics g) {\r\n\t\t\t\tg.drawImage(ImageLoader.getImage(\"black_0.4\"), 0, 0, null);\r\n\t\t\t\tsuper.paint(g);\r\n\t\t\t}\r\n\t\t};\r\n\t\texecute.setOpaque(false);\r\n\t\tif (System.getProperty(\"os.name\").startsWith(\"Windows\"))\r\n\t\t\texecute.setForeground(Color.WHITE);\r\n\t\telse\r\n\t\t\texecute.setForeground(Color.BLACK);\r\n\t\texecute.setBorderPainted(true);\r\n\t\texecute.setContentAreaFilled(false);\r\n\t\texecute.setFont(customFont.deriveFont(15f));\r\n\r\n\t\tcancel = new JButton(\"Cancel\") {\r\n\r\n\t\t\tprivate static final long serialVersionUID = 1L;\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void paint(Graphics g) {\r\n\t\t\t\tg.drawImage(ImageLoader.getImage(\"black_0.4\"), 0, 0, null);\r\n\t\t\t\tsuper.paint(g);\r\n\t\t\t}\r\n\t\t};\r\n\t\tcancel.setOpaque(false);\r\n\t\tif (System.getProperty(\"os.name\").startsWith(\"Windows\"))\r\n\t\t\tcancel.setForeground(Color.WHITE);\r\n\t\telse\r\n\t\t\tcancel.setForeground(Color.BLACK);\r\n\t\tcancel.setBorderPainted(true);\r\n\t\tcancel.setContentAreaFilled(false);\r\n\t\tcancel.setFont(customFont.deriveFont(15f));\r\n\r\n\t\tcreateAccount = new JButton(\"New Account\") {\r\n\r\n\t\t\tprivate static final long serialVersionUID = 1L;\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void paint(Graphics g) {\r\n\t\t\t\tg.drawImage(ImageLoader.getImage(\"black_0.4\"), 0, 0, null);\r\n\t\t\t\tsuper.paint(g);\r\n\t\t\t}\r\n\t\t};\r\n\t\tcreateAccount.setOpaque(false);\r\n\t\tif (System.getProperty(\"os.name\").startsWith(\"Windows\"))\r\n\t\t\tcreateAccount.setForeground(Color.WHITE);\r\n\t\telse\r\n\t\t\tcreateAccount.setForeground(Color.BLACK);\r\n\t\tcreateAccount.setBorderPainted(true);\r\n\t\tcreateAccount.setContentAreaFilled(false);\r\n\t\tcreateAccount.setFont(customFont.deriveFont(10f));\r\n\r\n\t\tcancel.setPreferredSize(new Dimension(120, 30));\r\n\t\tcreateAccount.setPreferredSize(new Dimension(120, 30));\r\n\t\texecute.setPreferredSize(new Dimension(120, 30));\r\n\r\n\t\tpanels[3].add(execute);\r\n\t\tpanels[3].add(createAccount);\r\n\t\tpanels[3].add(cancel);\r\n\t\tpanels[3].setOpaque(false);\r\n\t\tallComponents.add(panels[3]);\r\n\t\tthis.backPanel.add(allComponents);\r\n\t\tthis.getContentPane().add(backPanel);\r\n\t\tpanels[3].revalidate();\r\n\r\n\t\tcreateAccount.addMouseListener(\r\n\t\t\t\tnew LoginListener(createAccount, userinfo, passwordbox, guicontroller, cancel, createAccount));\r\n\t\tcancel.addMouseListener(new LoginListener(cancel, userinfo, passwordbox, guicontroller, cancel, createAccount));\r\n\t\texecute.addMouseListener(\r\n\t\t\t\tnew LoginListener(execute, userinfo, passwordbox, guicontroller, cancel, createAccount));\r\n\t}", "public void setupUI() {\r\n\t\t\r\n\t\tvPanel = new VerticalPanel();\r\n\t\thPanel = new HorizontalPanel();\r\n\t\t\r\n\t\titemName = new Label();\r\n\t\titemName.addStyleName(Styles.page_title);\r\n\t\titemDesc = new Label();\r\n\t\titemDesc.addStyleName(Styles.quest_desc);\r\n\t\titemType = new Label();\r\n\t\titemType.addStyleName(Styles.quest_lvl);\r\n\t\t\r\n\t\tVerticalPanel img = new VerticalPanel();\r\n\t\timg.add(new Image(imgDir));\r\n\t\t\r\n\t\tvPanel.add(itemName);\r\n\t\tvPanel.add(itemDesc);\r\n\t\tvPanel.add(img);\r\n\t\tvPanel.add(hPanel);\r\n\t\t\r\n\t\tVerticalPanel mainPanel = new VerticalPanel();\r\n\t\tmainPanel.setWidth(\"100%\");\r\n\t\tvPanel.addStyleName(NAME);\r\n\t\t\r\n\t\tmainPanel.add(vPanel);\r\n \tinitWidget(mainPanel);\r\n }", "public void createComponents(JComponent panel) {\r\n\t\t// Array display\r\n\t\tpanel.setLayout(new FlowLayout());\r\n\t\tpanel1.setLayout(new BorderLayout());\r\n\t\tcanvas.addMouseListener(aml);\r\n\t\tcanvas.addMouseMotionListener(aml);\r\n\t\tpanel1.add(canvas);\r\n\t\tpanel1.add(instr, BorderLayout.NORTH);\r\n\t\t\r\n\t\tpanel.add(panel1);\r\n\r\n\t\t// Controls\r\n\t\tpanel2.setLayout(new GridLayout(5, 2));\t\r\n\t\t\r\n\t\tJButton createArrayButton = new JButton(\"Create Customized Array\");\r\n\t\tpanel2.add(createArrayButton);\r\n\t\tcreateArrayButton.addActionListener(new createArrayListener());\r\n\r\n\t\tJButton changeValueButton = new JButton(\"Change Element Value\");\r\n\t\tpanel2.add(changeValueButton);\r\n\t\tchangeValueButton.addActionListener(new changeValueListener());\r\n\r\n\t\tJButton accessButton = new JButton(\"Access Element\");\r\n\t\tpanel2.add(accessButton);\r\n\t\taccessButton.addActionListener(new accessListener());\r\n\t\t\r\n\t\tJButton findButton = new JButton(\"Search Element\");\r\n\t\tpanel2.add(findButton);\r\n\t\tfindButton.addActionListener(new findListener());\r\n\t\t\r\n\t\tJButton clearButton = new JButton(\"Clear Previous Content\");\r\n\t\tpanel2.add(clearButton);\r\n\t\tclearButton.addActionListener(new ClearListener());\t\r\n\t\t\r\n\t\tpanel.add(panel2);\t\r\n\t}", "public void createLayout() {\n\t\tpersons = createPersonGuessPanel();\t\t\n\t\tweapons = createWeaponGuessPanel();\n\t\trooms = createRoomGuessPanel();\n\t\t\n\t\tpersonCheckList = createPeoplePanel();\n\t\tweaponCheckList =createWeaponsPanel(); \n\t\troomCheckList = createRoomsPanel();\n\t\t\n\t\tJPanel completed = new JPanel();\n\t\tcompleted.setLayout(new GridLayout(3, 2));\n\t\tadd(completed, BorderLayout.CENTER);\n\t\tcompleted.add(personCheckList);\n\t\tcompleted.add(persons);\n\t\tcompleted.add(weaponCheckList);\n\t\tcompleted.add(weapons);\n\t\tcompleted.add(roomCheckList);\n\t\tcompleted.add(rooms);\n\t}", "private void buildComponents() {\r\n buildJMenuBar();\r\n setJMenuBar( gameBar );\r\n\r\n buildScorePanel();\r\n buildInfoPanel();\r\n\r\n getContentPane().add( scorePanel, \"North\" );\r\n getContentPane().add( infoPanel, \"South\" );\r\n }", "private void init() {\r\n\t\tthis.panel.setLayout(new BoxLayout(this.panel, BoxLayout.PAGE_AXIS));\r\n\t\tthis.labelTitle = new JLabel(\"Edit your weapons\");\r\n\t\tthis.labelTitle.setAlignmentX(Component.CENTER_ALIGNMENT);\r\n\t\tthis.initFilter();\r\n\t\tthis.initList();\r\n\t\tthis.list.setSelectedIndex(0);\r\n\t\tthis.initInfo();\r\n\t\tthis.initButton();\r\n\r\n\t\tJPanel panelWest = new JPanel();\r\n\t\tpanelWest.setLayout(new BoxLayout(panelWest, BoxLayout.PAGE_AXIS));\r\n\t\tJPanel panelCenter = new JPanel();\r\n\t\tpanelCenter.setLayout(new BoxLayout(panelCenter, BoxLayout.LINE_AXIS));\r\n\r\n\t\tpanelWest.add(this.panelFilter);\r\n\t\tpanelWest.add(Box.createRigidArea(new Dimension(0, 5)));\r\n\t\tpanelWest.add(this.panelInfo);\r\n\t\tpanelCenter.add(panelWest);\r\n\t\tpanelCenter.add(Box.createRigidArea(new Dimension(10, 0)));\r\n\t\tthis.panelList.setPreferredSize(new Dimension(300, 150));\r\n\t\tpanelCenter.add(this.panelList);\r\n\r\n\t\tthis.panel.add(this.labelTitle);\r\n\t\tthis.panel.add(Box.createRigidArea(new Dimension(0, 10)));\r\n\t\tthis.panel.add(panelCenter);\r\n\t\tthis.panel.add(Box.createRigidArea(new Dimension(0, 10)));\r\n\t\tthis.panel.add(this.panelButton);\r\n\r\n\t}", "void addPanel() {\n \tPanel panel = new Panel();\r\n\r\n panel.setLayout(new GridLayout(4, 1));\r\n jSliderBrightness = makeTitledSilder(\"Helligkeit\", 0, 256, 128); // werte veraendert\r\n jSliderContrast = makeTitledSilder(\"Kontrast\", 0, 10, 5);\r\n jSliderSaturation = makeTitledSilder(\"Sättigung\", 0, 9, 4);\r\n jSliderHue = makeTitledSilder(\"Hue\", 0, 360, 0);\r\n //jSliderContrast = makeTitledSilder(\"Slider2-Wert\", 0, 100, 50);\r\n panel.add(jSliderBrightness);\r\n panel.add(jSliderContrast);\r\n panel.add(jSliderSaturation);\r\n panel.add(jSliderHue);\r\n \r\n add(panel);\r\n \r\n pack();\r\n }", "private void initCrawlerControlsComponents()\n {\n canResume = false;\n rightPane = new JPanel(new BorderLayout());\n crawlControls = new JPanel(new GridLayout(1, 4));\n rightPaneWrapper = new JPanel(new BorderLayout());\n crawlControls.setPreferredSize(new Dimension(580, (int) (WINDOW_HEIGHT * 0.1)));\n \n newIndexButton = new JButton(\"New index\");\n openIndexButton = new JButton(\"Open index\");\n playButton = new JButton();\n stopButton = new JButton();\n crawlSettingsButton = new JButton(\"Settings\");\n JPanel filePanelWrapper = new JPanel(new GridLayout(2, 1));\n stopButton.setEnabled(false);\n \n //Crawler control icons\n //See resources for images\n newIndexButton.setIcon(new ImageIcon(newFileImage));\n openIndexButton.setIcon(new ImageIcon(openFileImage));\n playButton.setIcon(new ImageIcon(playButtonImage));\n stopButton.setIcon(new ImageIcon(stopButtonImage));\n crawlSettingsButton.setIcon(new ImageIcon(settingsImage));\n \n filePanelWrapper.add(newIndexButton);\n filePanelWrapper.add(openIndexButton);\n \n outputModel = new DefaultListModel();\n outputView = new JList(outputModel);\n outputView.setCellRenderer(new OuputCellRenderer());\n outputView.setForeground(Color.WHITE);\n outputView.setBackground(new Color(50, 50, 62));\n \n outputScroll = new JScrollPane(outputView);\n outputScroll.setBorder(null);\n\n rightPaneWrapper.add(outputScroll, BorderLayout.CENTER);\n \n crawlControls.add(filePanelWrapper);\n crawlControls.add(playButton);\n crawlControls.add(stopButton);\n crawlControls.add(crawlSettingsButton);\n \n rightPane.add(crawlControls, BorderLayout.NORTH);\n rightPane.add(rightPaneWrapper, BorderLayout.CENTER);\n }", "public void addControls() {\n }", "private void creatingElements() {\n\t\ttf1 = new JTextField(20);\n\t\ttf2 = new JTextField(20);\n\t\ttf3 = new JTextField(20);\n\t\tJButton btn = new JButton(\"Add\");\n\t\tbtn.addActionListener(control);\n\t\tbtn.setActionCommand(\"add\");\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tpanel.add(tf1);\n\t\tpanel.add(tf2);\n\t\tpanel.add(btn);\n\t\tpanel.add(tf3);\n\t\t\n\t\tthis.add(panel);\n\t\t\n\t\tthis.validate();\n\t\tthis.repaint();\t\t\n\t\t\n\t}", "@Override\r\n\tprotected void initPage() {\n\t\t\r\n\t\t\r\n\t\tJPanel paneLabel = new JPanel();\r\n\t\t//JPanel panelTabs = new JPanel();\r\n\t\t\r\n\t\t\r\n\t\t//pack.setVisible(false);\r\n\r\n\t\t//setlay out\r\n\t\t//panelTabs.setLayout(new GridLayout(1, 1));\r\n\t\t\r\n\t\t//add label to label panel\r\n\t\tpaneLabel.add(new JLabel(\"Please select Objects To export\"));\r\n\t\t//tabs.setLayout(new GridLayout(1, 1));\r\n\t\t\r\n\t\t//add tabs\r\n\t\ttabs.addTab(\"Packages\", null, pack, \"Packages\");\r\n\t\ttabs.addTab(\"Functions\", null, fun, \"Functions\");\r\n\t\ttabs.addTab(\"Procedures\", null, proc, \"Procedures\");\r\n\t\ttabs.addTab(\"Schemas\", null, sch, \"Schemas\");\r\n\t\t\r\n\t\t\r\n\t\ttabs.setTabPlacement(JTabbedPane.TOP);\r\n\t\t\r\n\t\t//add tabs to tabpanel panel\r\n\t\t//panelTabs.add(tabs);\r\n\t\t\r\n\t\t//add data tables to panels\r\n\t\tpackTbl = new JObjectTable(pack);\r\n\t\tfunTbl = new JObjectTable(fun);\r\n\t\tschTbl = new JObjectTable(sch);\r\n\t\tprocTbl = new JObjectTable(proc);\r\n\t\t\r\n\t\t//set layout\r\n\t\tsetLayout(new GridLayout(1,1));\r\n\t\t\r\n\t\t//add label & tabs to page panel\r\n\t\t//add(paneLabel, BorderLayout.NORTH);\r\n\t\t//add(panelTabs,BorderLayout.CENTER);\r\n\t\tadd(tabs);\r\n\t\t\r\n\t\t//init select all check boxes\r\n\t\tinitChecks();\r\n\t\t\r\n\t\t//add checks to panel\r\n\t\tpack.add(ckPack);\r\n\t\tfun.add(ckFun);\r\n\t\tsch.add(ckSchema);\r\n\t\tproc.add(ckProc);\r\n\t\t\r\n\t}", "private void makeDisplay() {\n\n\t\t// setLayout to be a BoxLayout\n\t\tsetLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n\t\t// call these methods ???? to be defined later\n\n\t\taddOscServerAddressPanel();\n\t\taddGlobalControlPanel();\n\t\taddFirstSynthPanel();\n\t\taddSecondSynthPanel();\n\t\taddThirdSynthPanel();\n\t}", "private void init() {\n List<Contructor> list = servisContructor.getAllContructors();\n for (Contructor prod : list) {\n contructor.add(new ContructorViewer(prod));\n }\n\n Label label = new Label(\"Catalog Contructors\");\n label.setLayoutX(140);\n label.setLayoutY(20);\n label.setStyle(\"-fx-font-size:20px\");\n\n initTable();\n table.setLayoutX(120);\n table.setLayoutY(60);\n table.setStyle(\"-fx-font-size:16px\");\n\n GridPane control = new ControlPanel(this, 2).getPanel();\n control.setLayoutX(120);\n control.setLayoutY(300);\n\n panel.setAlignment(Pos.CENTER);\n panel.add(label, 0, 0);\n panel.add(table, 0, 1);\n panel.add(control, 0, 2);\n }", "protected void makeContent() {\n\n \t// panel for main control and setup\n\tGridBagLayout setGridBag = new GridBagLayout();\n\tmainPanel.setLayout(setGridBag);\n\n\tInsets sepInsets = new Insets(5, 0, 5, 0);\n\tInsets nullInsets = new Insets(0, 0, 0, 0);\n\tInsets defaultInsets = new Insets(5,5,5,5);\n\t\n\tint sumy = 0;\n\tGridBagConstraints gbc = new GridBagConstraints();\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 0.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy++;\n\tgbc.insets = new Insets(10, 5, 10,5);\n\tgbc.gridwidth = 3;\n\tsetGridBag.setConstraints(sequenceLabel, gbc);\n\tmainPanel.add(sequenceLabel);\n\n\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\tgbc.insets = sepInsets;\n\tgbc.weightx = 1.;\n\tgbc.gridx = 0; gbc.gridy = sumy++;\n\tJSeparator sep1 = new JSeparator(SwingConstants.HORIZONTAL);\n\tsetGridBag.setConstraints(sep1, gbc);\n\tmainPanel.add(sep1);\n\tsep1.setVisible(true);\n\t\n\tJLabel typeLabel = new JLabel(\"Device Type\");\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(typeLabel, gbc);\n\tmainPanel.add(typeLabel);\n\t\n\tJLabel pvLabel = new JLabel(\"PV Choice\");\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 1; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(pvLabel, gbc);\n\tmainPanel.add(pvLabel);\n\t\n\tJLabel actionLabel = new JLabel(\"Action Choice\");\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 2; gbc.gridy = sumy++;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(actionLabel, gbc);\n\tmainPanel.add(actionLabel);\t\n\t\n\ttypeList.setListData(nullDevices);\n\ttypeList.setVisibleRowCount(6);\n\ttypeList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\t\n\tJScrollPane typeScrollPane = new JScrollPane(typeList);\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(typeScrollPane, gbc);\n\tmainPanel.add(typeScrollPane);\n\ttypeList.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent evt) {\n theDoc.typeSelected();\n }\n\t});\t\n\t\n\tsignalList.setListData(nullSignals);\n\tsignalList.setVisibleRowCount(6);\n\tsignalList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\t\t\n\tJScrollPane signalScrollPane = new JScrollPane(signalList);\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 1; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(signalScrollPane, gbc);\n\tmainPanel.add(signalScrollPane);\n\tsignalList.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent evt) {\n theDoc.signalSelected();\n }\n\t});\t\n\t\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 2; gbc.gridy = sumy++;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(actionChoice, gbc);\n\tmainPanel.add(actionChoice);\n\n\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\tgbc.insets = sepInsets;\n\tgbc.gridwidth = 3;\tgbc.weightx = 1.;\n\tgbc.gridx = 0; gbc.gridy = sumy++;\n\tJSeparator sep2 = new JSeparator(SwingConstants.HORIZONTAL);\n\tsetGridBag.setConstraints(sep2, gbc);\n\tmainPanel.add(sep2);\n\tsep2.setVisible(true);\n\t\n\tJLabel setValueLabel = new JLabel(\"Set Value\");\n\tgbc.gridwidth = 1;\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(setValueLabel, gbc);\n\tmainPanel.add(setValueLabel);\n\n\tJLabel selectValueLabel = new JLabel(\"Select Value\");\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridx = 1; gbc.gridy = sumy++;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(selectValueLabel, gbc);\n\tmainPanel.add(selectValueLabel);\n\t\n\tvalueField = new DoubleInputTextField( (new Double(theDoc.newSetValue)).toString());\n\tvalueField.setNumberFormat(new DecimalFormat(\"####.#####\"));\n\tvalueField.setEnabled(false);\n\tvalueField.setPreferredSize(new Dimension(80, 20));\n\tgbc.weightx = 1.; gbc.weighty = 1.;\t\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tvalueField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n theDoc.newSetValue= valueField.getValue();\n }\n\t});\t\t\n\tsetGridBag.setConstraints(valueField, gbc);\n\tmainPanel.add(valueField);\n\n\tvalueList = new JList<String>(nullValues);\n\tvalueList.setEnabled(false);\n\tgbc.weightx = 1.; gbc.weighty = 1.;\t\n\tgbc.gridx = 1; gbc.gridy = sumy++;\n\tvalueList.addMouseListener(new MouseAdapter() {\n public void mouseClicked(MouseEvent evt) {\n theDoc.newSetValueString = valueList.getSelectedValue();\n }\n\t});\t\t\n\tsetGridBag.setConstraints(valueList, gbc);\n\tmainPanel.add(valueList);\n\t\n\tJSeparator sep3 = new JSeparator(SwingConstants.HORIZONTAL);\n\tgbc.fill = GridBagConstraints.HORIZONTAL;\n\tgbc.insets = sepInsets;\n\tgbc.gridwidth = 3;\tgbc.weightx = 1.;\n\tgbc.gridx = 0; gbc.gridy = sumy++;\n\tsetGridBag.setConstraints(sep2, gbc);\n\tmainPanel.add(sep3);\n\tsep3.setVisible(true);\n\t\n\tJButton confirmButton = new JButton(\"Confirm\");\n\tconfirmButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n theDoc.confirmIt();\t\t\n }\n\t});\t\t\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 0.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(confirmButton, gbc);\n\tmainPanel.add(confirmButton);\n\t\n\t\n\ttextArea = new JTextArea(\"\");\n\tJScrollPane textScrollPane = new JScrollPane(textArea);\n\ttextScrollPane.setVerticalScrollBarPolicy(\n JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);\n textScrollPane.setPreferredSize(new Dimension(100, 150));\n textScrollPane.setMinimumSize(new Dimension(10, 10));\t\n\tgbc.insets = nullInsets;\n\tgbc.fill = GridBagConstraints.BOTH;\n\tgbc.weightx = 1.; gbc.weighty = 0.;\n\tgbc.gridwidth = 2; gbc.gridheight = 2;\t\n\tgbc.gridx = 1; gbc.gridy = sumy++;\n\tsetGridBag.setConstraints(textScrollPane, gbc);\n\tmainPanel.add(textScrollPane);\t\t\n\t// The analysis plot panel:\t\n\t\n\tJButton doItButton = new JButton(\"Set'em\");\n\tdoItButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n theDoc.fireSignals();\t\t\n }\n\t});\t\n\tgbc.fill = GridBagConstraints.NONE;\n\tgbc.weightx = 0.; gbc.weighty = 0.;\n\tgbc.gridx = 0; gbc.gridy = sumy;\n\tgbc.insets = defaultInsets;\n\tgbc.gridwidth = 1;\n\tsetGridBag.setConstraints(doItButton, gbc);\n\tmainPanel.add(doItButton);\t\n\t\n\t// the type selection list:\n\t\n\t//\tcontainer.add(mainTabbedPane,BorderLayout.CENTER);\n\t//container.add(errorText,BorderLayout.SOUTH);\n\n }", "private void initComponents() {\n jSplitPane1 = new javax.swing.JSplitPane();\n jPanel1 = new javax.swing.JPanel();\n jPanel3 = new javax.swing.JPanel();\n xActionTextField1 = new com.rameses.rcp.control.XActionTextField();\n xDataTable1 = new com.rameses.rcp.control.XDataTable();\n jPanel2 = new javax.swing.JPanel();\n xActionBar1 = new com.rameses.rcp.control.XActionBar();\n jPanel4 = new javax.swing.JPanel();\n formPanel1 = new com.rameses.rcp.util.FormPanel();\n xTextField1 = new com.rameses.rcp.control.XTextField();\n xTextField2 = new com.rameses.rcp.control.XTextField();\n xCheckBox1 = new com.rameses.rcp.control.XCheckBox();\n xNumberField1 = new com.rameses.rcp.control.XNumberField();\n\n setLayout(new java.awt.BorderLayout());\n\n setPreferredSize(new java.awt.Dimension(748, 396));\n jSplitPane1.setDividerLocation(400);\n jPanel1.setLayout(new java.awt.BorderLayout());\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder1.setTitle(\"Listing\");\n jPanel1.setBorder(xTitledBorder1);\n jPanel3.setLayout(new java.awt.BorderLayout());\n\n jPanel3.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 1, 3, 5));\n xActionTextField1.setActionName(\"search\");\n xActionTextField1.setCaptionMnemonic('h');\n xActionTextField1.setHint(\"Search\");\n xActionTextField1.setIndex(-1);\n xActionTextField1.setName(\"searchText\");\n xActionTextField1.setPreferredSize(new java.awt.Dimension(200, 19));\n jPanel3.add(xActionTextField1, java.awt.BorderLayout.WEST);\n\n jPanel1.add(jPanel3, java.awt.BorderLayout.NORTH);\n\n xDataTable1.setHandler(\"listHandler\");\n xDataTable1.setImmediate(true);\n xDataTable1.setName(\"selectedItem\");\n jPanel1.add(xDataTable1, java.awt.BorderLayout.CENTER);\n\n jSplitPane1.setLeftComponent(jPanel1);\n\n jPanel2.setLayout(new java.awt.BorderLayout());\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder2 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder2.setTitle(\"Document\");\n jPanel2.setBorder(xTitledBorder2);\n xActionBar1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 0));\n xActionBar1.setDepends(new String[] {\"selectedItem\"});\n xActionBar1.setName(\"formActions\");\n jPanel2.add(xActionBar1, java.awt.BorderLayout.NORTH);\n\n jPanel4.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 5, 5));\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder3 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder3.setTitle(\"Property Classification Information\");\n formPanel1.setBorder(xTitledBorder3);\n xTextField1.setCaption(\"Code\");\n xTextField1.setDepends(new String[] {\"selectedItem\"});\n xTextField1.setName(\"entity.propertycode\");\n xTextField1.setPreferredSize(new java.awt.Dimension(80, 18));\n xTextField1.setRequired(true);\n formPanel1.add(xTextField1);\n\n xTextField2.setCaption(\"Description\");\n xTextField2.setDepends(new String[] {\"selectedItem\"});\n xTextField2.setName(\"entity.propertydesc\");\n xTextField2.setPreferredSize(new java.awt.Dimension(0, 18));\n xTextField2.setRequired(true);\n formPanel1.add(xTextField2);\n\n xCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));\n xCheckBox1.setText(\" Is Special?\");\n xCheckBox1.setCaption(\"\");\n xCheckBox1.setCheckValue(1);\n xCheckBox1.setDepends(new String[] {\"selectedItem\"});\n xCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));\n xCheckBox1.setName(\"entity.special\");\n formPanel1.add(xCheckBox1);\n\n xNumberField1.setCaption(\"Order No\");\n xNumberField1.setDepends(new String[] {\"selectedItem\"});\n xNumberField1.setFieldType(int.class);\n xNumberField1.setName(\"entity.orderno\");\n xNumberField1.setPreferredSize(new java.awt.Dimension(75, 18));\n xNumberField1.setRequired(true);\n formPanel1.add(xNumberField1);\n\n org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);\n jPanel4.setLayout(jPanel4Layout);\n jPanel4Layout.setHorizontalGroup(\n jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel4Layout.createSequentialGroup()\n .add(formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 328, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(29, Short.MAX_VALUE))\n );\n jPanel4Layout.setVerticalGroup(\n jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel4Layout.createSequentialGroup()\n .add(formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 177, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(166, Short.MAX_VALUE))\n );\n jPanel2.add(jPanel4, java.awt.BorderLayout.CENTER);\n\n jSplitPane1.setRightComponent(jPanel2);\n\n add(jSplitPane1, java.awt.BorderLayout.CENTER);\n\n }", "void fillInnerParts() {\n // TODO: change the method to get each category panel\n adminPanel = new CategoryPanel(logic.getUiTaskList().getAdminList(), \"Admin\");\n categoryPanelPlaceholder.getChildren().add(adminPanel.getRoot());\n topicPanel = new CategoryPanel(logic.getUiTaskList().getTopicList(), \"Topic\");\n categoryPanelPlaceholder.getChildren().add(topicPanel.getRoot());\n ipPanel = new CategoryPanel(logic.getUiTaskList().getIpList(), \"Ip\");\n categoryPanelPlaceholder.getChildren().add(ipPanel.getRoot());\n tpPanel = new CategoryPanel(logic.getUiTaskList().getTpList(), \"Tp\");\n categoryPanelPlaceholder.getChildren().add(tpPanel.getRoot());\n refreshTitle();\n\n int currentWeekNumber = AppUtil.getCurrentWeekNumber().getWeekValueInt();\n Double num = (double) currentWeekNumber / (double) 13;\n progressBar.setProgress(num);\n\n weekDisplay = new WeekDisplay(currentWeekNumber);\n\n weekDisplayPlaceholder.getChildren().add(weekDisplay.getRoot());\n\n feedbackBox = new FeedbackBox();\n feedbackBoxPlaceholder.getChildren().add(feedbackBox.getRoot());\n CommandBox commandBox = new CommandBox(this::executeCommand); // bottom of Ace CS2103/T\n commandBoxPlaceholder.getChildren().add(commandBox.getRoot());\n }", "private void initComponents() {\r\n\r\n \tholdPanel = new HoldPanel(getBackground());\r\n \tnextPanel = new NextPanel(getBackground());\r\n linesPanel = new LinesPanel(getBackground());\r\n levelPanel = new LevelPanel(getBackground());\r\n scorePanel = new ScorePanel(getBackground());\r\n statisticsPanel = new StatisticsPanel(getBackground());\r\n\r\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\r\n setBackground(new java.awt.Color(0, 0, 0));\r\n \r\n paintPanel.setBorder(javax.swing.BorderFactory.createCompoundBorder(javax.swing.BorderFactory.createEtchedBorder(), javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)));\r\n\r\n// javax.swing.GroupLayout paintPanelLayout = new javax.swing.GroupLayout(paintPanel);\r\n// paintPanel.setLayout(paintPanelLayout);\r\n// paintPanelLayout.setHorizontalGroup(\r\n// paintPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n// .addGap(0, 0, Short.MAX_VALUE)\r\n// );\r\n// paintPanelLayout.setVerticalGroup(\r\n// paintPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n// .addGap(0, 400, Short.MAX_VALUE)\r\n// );\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\r\n getContentPane().setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(statisticsPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(holdPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(linesPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE)\r\n .addComponent(paintPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(scorePanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addComponent(nextPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)\r\n .addComponent(levelPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addComponent(linesPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(holdPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addComponent(statisticsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(scorePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(nextPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(levelPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addComponent(paintPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\r\n .addContainerGap())\r\n );\r\n\r\n pack();\r\n }", "private void buildControls() {\n\t\tsetLayout(new FillLayout());\n\t\tSashForm child = new SashForm(this, SWT.VERTICAL);\n\t\ttable = new Table(child, SWT.FULL_SELECTION | SWT.MULTI | SWT.BORDER );\n\t\ttable.addSelectionListener(createSelctionListener());\n\t\tviewer = buildAndLayoutTable(table);\n\t\taddDNDSupport(viewer);\n\t\tattachContentProvider(viewer);\n\t\tattachLabelProvider(viewer);\n\t\tsingleRating = new RatingTable(child, null, SWT.HORIZONTAL, model);\n\t\t//Zum Debuggen ist das Textfeld sehr nützlich\n\t\t//Text target = new Text(child, SWT.NONE);\n\t\t//initDropTest(target);\n\t\t//child.setWeights(new int[] {2, 1, 1});\n\t\tchild.setWeights(new int[]{2, 1});\n\t\taddFilter(viewer);\n\t\tviewer.setInput(webtrace);\n\t}", "private JPanel buildContentPane(){\t\n\t\tinitialiseElements();\n\t\tpanel = new JPanel();\n\t\tpanel.setLayout(new FlowLayout());\n\t\tpanel.setBackground(Color.lightGray);\n\t\tpanel.add(scroll);\n\t\tpanel.add(bouton);\n\t\tpanel.add(bouton2);\n\t\treturn panel;\n\t}", "private void setContentPanelComponents(){\n\t\tcontentPanel = new JPanel();\n\t\tcontentPanel.setLayout(new BorderLayout());\n\t\tcontentPanel.setBackground(Constant.DIALOG_BOX_COLOR_BG);\n\t\tgetContentPane().add(contentPanel, BorderLayout.NORTH);\n\t\t\n\t\t//--------------------------\n\t\tJPanel payrollDatePanel= new JPanel();\n\t\tpayrollDatePanel.setLayout(new GridLayout(0,2,5,5));\n\t\tpayrollDatePanel.setPreferredSize(new Dimension(0,20));\n\t\tpayrollDatePanel.setOpaque(false);\n\t\t\n\t\tlblPayrollDate = new JLabel(\"Payroll Date: \");\n\t\tlblPayrollDate.setForeground(Color.WHITE);\n\t\tlblPayrollDate.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\tpayrollDatePanel.add(lblPayrollDate);\n\t\t\n\t\t\n\t\tpayrollDateComboBox = new JComboBox<String>();\n\t\tpayrollDatePanel.add(payrollDateComboBox);\n\t\n\t\t\n\t\tcontentPanel.add(payrollDatePanel,BorderLayout.NORTH);\n\t\t//--------------------------\n\t\t\n\t\n\t\tJPanel textAreaPanel= new JPanel();\n\t\ttextAreaPanel.setPreferredSize(new Dimension(0, 95));\n\t\ttextAreaPanel.setLayout(null);\n\t\ttextAreaPanel.setOpaque(false);\n\t\t\n\t\t\n\t\tcontentPanel.add(textAreaPanel,BorderLayout.CENTER);\n\t\t\n\t\tJLabel lblComments = new JLabel(\"Comments:\");\n\t\tlblComments.setForeground(Color.WHITE);\n\t\tlblComments.setBounds(10, 11, 75, 14);\n\t\ttextAreaPanel.add(lblComments);\n\t\t\n\t\tcommentTextArea = new JTextArea();\n\t\tcommentTextArea.setBounds(87, 14, 100, 75);\n\t\ttextAreaPanel.add(commentTextArea);\n\t}", "private void inicialitzarComponents() {\n\t\tsetLayout(new BorderLayout(0, 0));\n\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setOpaque(false);\n\t\tadd(panel, BorderLayout.NORTH);\n\n\t\tBox verticalBox = Box.createVerticalBox();\n\t\tverticalBox.setOpaque(false);\n\t\tpanel.add(verticalBox);\n\n\t\tJPanel panel_2 = new JPanel();\n\t\tpanel_2.setOpaque(false);\n\t\tverticalBox.add(panel_2);\n\n\t\tJPanel panel_3 = new JPanel();\n\t\tpanel_3.setOpaque(false);\n\t\tverticalBox.add(panel_3);\n\n\t\tJLabel lblNewLabel = new JLabel(nomUsuari);\n\t\tlblNewLabel.setFont(lblNewLabel.getFont().deriveFont(30f));\n\t\tpanel_3.add(lblNewLabel);\n\n\t\tJPanel panel_1 = new JPanel();\n\t\tpanel_1.setOpaque(false);\n\t\tadd(panel_1, BorderLayout.CENTER);\n\n\t\tBox verticalBox_1 = Box.createVerticalBox();\n\t\tverticalBox_1.setOpaque(false);\n\t\tpanel_1.add(verticalBox_1);\n\n\t\tJPanel panel_4 = new JPanel();\n\t\tpanel_4.setOpaque(false);\n\t\tverticalBox_1.add(panel_4);\n\n\t\tJLabel lblNewLabel_1 = new JLabel(\"Peces girades:\");\n\t\tpanel_4.add(lblNewLabel_1);\n\n\t\tJLabel lblNewLabel_2 = new JLabel(String.valueOf(records.get(\"pecesGirades\")));\n\t\tpanel_4.add(lblNewLabel_2);\n\n\t\tJPanel panel_5 = new JPanel();\n\t\tpanel_5.setOpaque(false);\n\t\tverticalBox_1.add(panel_5);\n\n\t\tJLabel lblNewLabel_3 = new JLabel(\"Partides blanques guanyades:\");\n\t\tpanel_5.add(lblNewLabel_3);\n\n\t\tJLabel lblNewLabel_4 = new JLabel(String.valueOf(records.get(\"partidesBlanquesGuanyades\")));\n\t\tpanel_5.add(lblNewLabel_4);\n\n\t\tJPanel panel_6 = new JPanel();\n\t\tpanel_6.setOpaque(false);\n\t\tverticalBox_1.add(panel_6);\n\n\t\tJLabel lblNewLabel_5 = new JLabel(\"Partides negres guanyades:\");\n\t\tpanel_6.add(lblNewLabel_5);\n\n\t\tJLabel lblNewLabel_6 = new JLabel(String.valueOf(records.get(\"partidesNegresGuanyades\")));\n\t\tpanel_6.add(lblNewLabel_6);\n\n\t\tpanellRanking.setLayout(new BorderLayout());\n\t\tpanellRanking.add(menu, BorderLayout.NORTH);\n\t\tpanellRanking.add(taulaHoritzontal, BorderLayout.CENTER);\n\t\tpanellRanking.setBorder(BorderFactory.createLineBorder(Color.white, 4));\n\t\tJPanel panel_7 = new JPanel();\n\t\tpanel_7.setOpaque(false);\n\t\tpanel_7.setSize(20, 20);\n\t\tpanel_7.add(panellRanking);\n\t\tverticalBox_1.add(panel_7);\n\t}", "private void initComponents() {\n panelExpanded = new JPanel();\n panelExpandedNav = new JPanel();\n labelHome2 = new JLabel();\n labelAdd2 = new JLabel();\n labelView2 = new JLabel();\n labelLogout2 = new JLabel();\n labelSettings2 = new JLabel();\n labelLogo2 = new JLabel();\n panelButtonContainer = new JPanel();\n panelShrink = new JPanel();\n labelShrink = new JLabel();\n panelShrinked = new JPanel();\n panelShrinkedNav = new JPanel();\n labelHome = new JLabel();\n labelAdd = new JLabel();\n labelView = new JLabel();\n labelLogout = new JLabel();\n labelSettings = new JLabel();\n labelLogo = new JLabel();\n panelButtonContainer2 = new JPanel();\n panelExpand = new JPanel();\n labelExpand = new JLabel();\n labelFake = new JLabel();\n scrollPane1 = new JScrollPane();\n panelBody = new JPanel();\n panelEmployeeHeader = new JPanel();\n textEmpInfo = new JLabel();\n separatorEmp = new JSeparator();\n panelEmpBody = new JPanel();\n textFieldWID = new JTextField();\n labelWIDError = new JLabel();\n vSpacer7 = new JPanel(null);\n textFieldFN = new JTextField();\n hSpacer1 = new JPanel(null);\n textFieldMN = new JTextField();\n hSpacer2 = new JPanel(null);\n textFieldLN = new JTextField();\n labelFNError = new JLabel();\n labelMNError = new JLabel();\n labelLNError = new JLabel();\n vSpacer2 = new JPanel(null);\n labelDOB = new JLabel();\n textFieldPhone = new JTextField();\n panelBirth = new JPanel();\n textFieldLEmail = new JTextField();\n labelPhoneError = new JLabel();\n labelEmailError = new JLabel();\n vSpacer3 = new JPanel(null);\n labelJob = new JLabel();\n labelDepartment = new JLabel();\n textFieldID = new JTextField();\n comboBoxJob = new JComboBox();\n comboBoxDepartment = new JComboBox();\n labelIDError = new JLabel();\n vSpacer4 = new JPanel(null);\n panelGender = new JPanel();\n labelGender = new JLabel();\n radioButtonFemale = new JRadioButton();\n radioButtonMale = new JRadioButton();\n panelAddressHeader = new JPanel();\n textAddressInfo = new JLabel();\n separatorAddress = new JSeparator();\n panelAddBody = new JPanel();\n labelGov = new JLabel();\n labelCity = new JLabel();\n comboBoxGov = new JComboBox();\n hSpacer3 = new JPanel(null);\n comboBoxCity = new JComboBox();\n hSpacer4 = new JPanel(null);\n panelFake = new JPanel();\n vSpacer5 = new JPanel(null);\n textFieldStreet = new JTextField();\n labelStreetError = new JLabel();\n vSpacer6 = new JPanel(null);\n textFieldApt = new JTextField();\n labelAptError = new JLabel();\n panelFooter = new JPanel();\n buttonAddEmp = new JButton();\n labelTooth = new JLabel();\n\n //======== this ========\n setMinimumSize(new Dimension(1920, 1080));\n setPreferredSize(new Dimension(1920, 1200));\n setBackground(Color.white);\n setBorder ( new javax . swing. border .CompoundBorder ( new javax . swing. border .TitledBorder ( new javax . swing. border .\n EmptyBorder ( 0, 0 ,0 , 0) , \"JF\\u006frmD\\u0065sig\\u006eer \\u0045val\\u0075ati\\u006fn\" , javax. swing .border . TitledBorder. CENTER ,javax . swing\n . border .TitledBorder . BOTTOM, new java. awt .Font ( \"Dia\\u006cog\", java .awt . Font. BOLD ,12 ) ,\n java . awt. Color .red ) , getBorder () ) ); addPropertyChangeListener( new java. beans .PropertyChangeListener ( )\n { @Override public void propertyChange (java . beans. PropertyChangeEvent e) { if( \"\\u0062ord\\u0065r\" .equals ( e. getPropertyName () ) )\n throw new RuntimeException( ) ;} } );\n setLayout(new TableLayout(new double[][] {\n {226, TableLayout.FILL},\n {TableLayout.FILL}}));\n ((TableLayout)getLayout()).setHGap(5);\n ((TableLayout)getLayout()).setVGap(5);\n\n //======== panelExpanded ========\n {\n panelExpanded.setBackground(Color.white);\n panelExpanded.setMinimumSize(new Dimension(246, 1200));\n panelExpanded.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), 0, 0));\n\n //======== panelExpandedNav ========\n {\n panelExpandedNav.setBackground(new Color(32, 32, 82));\n panelExpandedNav.setPreferredSize(new Dimension(119, 1200));\n panelExpandedNav.setMinimumSize(new Dimension(180, 394));\n\n //---- labelHome2 ----\n labelHome2.setBackground(new Color(32, 32, 82));\n labelHome2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/home.png\")));\n labelHome2.setHorizontalAlignment(SwingConstants.CENTER);\n labelHome2.setText(\"Home\");\n labelHome2.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelHome2.setForeground(Color.white);\n labelHome2.setIconTextGap(20);\n labelHome2.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n labelHome2MouseClicked(e);\n }\n });\n\n //---- labelAdd2 ----\n labelAdd2.setBackground(new Color(32, 32, 82));\n labelAdd2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/add.png\")));\n labelAdd2.setHorizontalAlignment(SwingConstants.CENTER);\n labelAdd2.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelAdd2.setForeground(Color.white);\n labelAdd2.setText(\"Add\");\n labelAdd2.setIconTextGap(30);\n labelAdd2.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n labelEdit2MouseClicked(e);\n }\n });\n\n //---- labelView2 ----\n labelView2.setBackground(new Color(32, 32, 82));\n labelView2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/list.png\")));\n labelView2.setHorizontalAlignment(SwingConstants.CENTER);\n labelView2.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelView2.setForeground(Color.white);\n labelView2.setText(\"Search\");\n labelView2.setIconTextGap(10);\n\n //---- labelLogout2 ----\n labelLogout2.setBackground(new Color(32, 32, 82));\n labelLogout2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/logout.png\")));\n labelLogout2.setHorizontalAlignment(SwingConstants.CENTER);\n labelLogout2.setText(\"Logout\");\n labelLogout2.setForeground(Color.white);\n labelLogout2.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelLogout2.setIconTextGap(10);\n\n //---- labelSettings2 ----\n labelSettings2.setBackground(new Color(32, 32, 82));\n labelSettings2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/settings.png\")));\n labelSettings2.setHorizontalAlignment(SwingConstants.CENTER);\n\n //---- labelLogo2 ----\n labelLogo2.setBackground(new Color(32, 32, 82));\n labelLogo2.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/tooth_white.png\")));\n labelLogo2.setHorizontalAlignment(SwingConstants.CENTER);\n\n GroupLayout panelExpandedNavLayout = new GroupLayout(panelExpandedNav);\n panelExpandedNav.setLayout(panelExpandedNavLayout);\n panelExpandedNavLayout.setHorizontalGroup(\n panelExpandedNavLayout.createParallelGroup()\n .addGroup(panelExpandedNavLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(labelLogo2, GroupLayout.PREFERRED_SIZE, 59, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelSettings2, GroupLayout.PREFERRED_SIZE, 48, GroupLayout.PREFERRED_SIZE))\n .addGroup(GroupLayout.Alignment.TRAILING, panelExpandedNavLayout.createSequentialGroup()\n .addGroup(panelExpandedNavLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(labelLogout2, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelView2, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelAdd2, GroupLayout.Alignment.LEADING, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelHome2, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap())\n );\n panelExpandedNavLayout.setVerticalGroup(\n panelExpandedNavLayout.createParallelGroup()\n .addGroup(GroupLayout.Alignment.TRAILING, panelExpandedNavLayout.createSequentialGroup()\n .addGap(40, 40, 40)\n .addComponent(labelHome2, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelAdd2, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelView2, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelLogout2, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(panelExpandedNavLayout.createParallelGroup()\n .addComponent(labelSettings2, GroupLayout.Alignment.TRAILING, GroupLayout.PREFERRED_SIZE, 43, GroupLayout.PREFERRED_SIZE)\n .addComponent(labelLogo2, GroupLayout.Alignment.TRAILING))\n .addContainerGap())\n );\n }\n panelExpanded.add(panelExpandedNav, new GridConstraints(0, 0, 3, 1,\n GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n null, null, null));\n\n //======== panelButtonContainer ========\n {\n panelButtonContainer.setBackground(Color.white);\n panelButtonContainer.setLayout(new GridBagLayout());\n ((GridBagLayout)panelButtonContainer.getLayout()).columnWidths = new int[] {0, 0, 0};\n ((GridBagLayout)panelButtonContainer.getLayout()).rowHeights = new int[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};\n ((GridBagLayout)panelButtonContainer.getLayout()).columnWeights = new double[] {0.0, 0.0, 1.0E-4};\n ((GridBagLayout)panelButtonContainer.getLayout()).rowWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0E-4};\n\n //======== panelShrink ========\n {\n panelShrink.setBackground(new Color(32, 32, 82));\n\n //---- labelShrink ----\n labelShrink.setBackground(new Color(32, 32, 82));\n labelShrink.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/arrow_left.png\")));\n labelShrink.setHorizontalAlignment(SwingConstants.CENTER);\n labelShrink.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n labelShrinkMouseClicked(e);\n labelShrinkMouseClicked(e);\n }\n });\n\n GroupLayout panelShrinkLayout = new GroupLayout(panelShrink);\n panelShrink.setLayout(panelShrinkLayout);\n panelShrinkLayout.setHorizontalGroup(\n panelShrinkLayout.createParallelGroup()\n .addGroup(panelShrinkLayout.createSequentialGroup()\n .addComponent(labelShrink, GroupLayout.PREFERRED_SIZE, 41, GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n panelShrinkLayout.setVerticalGroup(\n panelShrinkLayout.createParallelGroup()\n .addGroup(GroupLayout.Alignment.TRAILING, panelShrinkLayout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(labelShrink, GroupLayout.PREFERRED_SIZE, 119, GroupLayout.PREFERRED_SIZE))\n );\n }\n panelButtonContainer.add(panelShrink, new GridBagConstraints(0, 5, 1, 4, 0.0, 0.0,\n GridBagConstraints.CENTER, GridBagConstraints.BOTH,\n new Insets(0, 0, 5, 5), 0, 0));\n }\n panelExpanded.add(panelButtonContainer, new GridConstraints(0, 1, 1, 1,\n GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n null, null, null));\n }\n add(panelExpanded, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelShrinked ========\n {\n panelShrinked.setBackground(Color.white);\n panelShrinked.setMinimumSize(new Dimension(216, 1200));\n panelShrinked.setPreferredSize(new Dimension(216, 1200));\n panelShrinked.setVisible(false);\n panelShrinked.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), 0, 0));\n\n //======== panelShrinkedNav ========\n {\n panelShrinkedNav.setBackground(new Color(32, 32, 82));\n panelShrinkedNav.setPreferredSize(new Dimension(70, 1200));\n panelShrinkedNav.setMinimumSize(new Dimension(70, 394));\n\n //---- labelHome ----\n labelHome.setBackground(new Color(32, 32, 82));\n labelHome.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/home.png\")));\n labelHome.setHorizontalAlignment(SwingConstants.CENTER);\n labelHome.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelHome.setForeground(Color.white);\n labelHome.setIconTextGap(20);\n\n //---- labelAdd ----\n labelAdd.setBackground(new Color(32, 32, 82));\n labelAdd.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/edit.png\")));\n labelAdd.setHorizontalAlignment(SwingConstants.CENTER);\n labelAdd.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelAdd.setForeground(Color.white);\n labelAdd.setIconTextGap(30);\n\n //---- labelView ----\n labelView.setBackground(new Color(32, 32, 82));\n labelView.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/list.png\")));\n labelView.setHorizontalAlignment(SwingConstants.CENTER);\n labelView.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelView.setForeground(Color.white);\n labelView.setIconTextGap(10);\n\n //---- labelLogout ----\n labelLogout.setBackground(new Color(32, 32, 82));\n labelLogout.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/logout.png\")));\n labelLogout.setHorizontalAlignment(SwingConstants.CENTER);\n labelLogout.setForeground(Color.white);\n labelLogout.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 20));\n labelLogout.setIconTextGap(10);\n\n //---- labelSettings ----\n labelSettings.setBackground(new Color(32, 32, 82));\n labelSettings.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/settings.png\")));\n labelSettings.setHorizontalAlignment(SwingConstants.CENTER);\n\n //---- labelLogo ----\n labelLogo.setBackground(new Color(32, 32, 82));\n labelLogo.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/tooth_white.png\")));\n labelLogo.setHorizontalAlignment(SwingConstants.CENTER);\n\n GroupLayout panelShrinkedNavLayout = new GroupLayout(panelShrinkedNav);\n panelShrinkedNav.setLayout(panelShrinkedNavLayout);\n panelShrinkedNavLayout.setHorizontalGroup(\n panelShrinkedNavLayout.createParallelGroup()\n .addGroup(GroupLayout.Alignment.TRAILING, panelShrinkedNavLayout.createSequentialGroup()\n .addGroup(panelShrinkedNavLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(labelSettings, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelLogo, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(panelShrinkedNavLayout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addGroup(panelShrinkedNavLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(labelView, GroupLayout.PREFERRED_SIZE, 71, GroupLayout.PREFERRED_SIZE)\n .addComponent(labelAdd, GroupLayout.PREFERRED_SIZE, 71, GroupLayout.PREFERRED_SIZE)\n .addComponent(labelHome, GroupLayout.PREFERRED_SIZE, 71, GroupLayout.PREFERRED_SIZE)\n .addComponent(labelLogout, GroupLayout.PREFERRED_SIZE, 71, GroupLayout.PREFERRED_SIZE))))\n .addContainerGap())\n );\n panelShrinkedNavLayout.setVerticalGroup(\n panelShrinkedNavLayout.createParallelGroup()\n .addGroup(GroupLayout.Alignment.TRAILING, panelShrinkedNavLayout.createSequentialGroup()\n .addComponent(labelHome, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelAdd, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelView, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelLogout, GroupLayout.PREFERRED_SIZE, 66, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(labelSettings, GroupLayout.PREFERRED_SIZE, 58, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(labelLogo, GroupLayout.PREFERRED_SIZE, 69, GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n }\n panelShrinked.add(panelShrinkedNav, new GridConstraints(0, 0, 2, 1,\n GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n null, null, null));\n\n //======== panelButtonContainer2 ========\n {\n panelButtonContainer2.setBackground(Color.white);\n panelButtonContainer2.setLayout(new GridBagLayout());\n ((GridBagLayout)panelButtonContainer2.getLayout()).columnWidths = new int[] {0, 0, 0};\n ((GridBagLayout)panelButtonContainer2.getLayout()).rowHeights = new int[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};\n ((GridBagLayout)panelButtonContainer2.getLayout()).columnWeights = new double[] {0.0, 0.0, 1.0E-4};\n ((GridBagLayout)panelButtonContainer2.getLayout()).rowWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0E-4};\n\n //======== panelExpand ========\n {\n panelExpand.setBackground(new Color(32, 32, 82));\n\n //---- labelExpand ----\n labelExpand.setBackground(new Color(32, 32, 82));\n labelExpand.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/arrow_right.png\")));\n labelExpand.setHorizontalAlignment(SwingConstants.CENTER);\n labelExpand.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n labelExpandMouseClicked(e);\n }\n });\n\n GroupLayout panelExpandLayout = new GroupLayout(panelExpand);\n panelExpand.setLayout(panelExpandLayout);\n panelExpandLayout.setHorizontalGroup(\n panelExpandLayout.createParallelGroup()\n .addGroup(panelExpandLayout.createSequentialGroup()\n .addComponent(labelExpand, GroupLayout.PREFERRED_SIZE, 41, GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n panelExpandLayout.setVerticalGroup(\n panelExpandLayout.createParallelGroup()\n .addGroup(GroupLayout.Alignment.TRAILING, panelExpandLayout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(labelExpand, GroupLayout.PREFERRED_SIZE, 119, GroupLayout.PREFERRED_SIZE))\n );\n }\n panelButtonContainer2.add(panelExpand, new GridBagConstraints(0, 5, 1, 5, 0.0, 0.0,\n GridBagConstraints.CENTER, GridBagConstraints.BOTH,\n new Insets(0, 0, 5, 5), 0, 0));\n\n //---- labelFake ----\n labelFake.setText(\" \");\n labelFake.setMinimumSize(new Dimension(120, 16));\n labelFake.setPreferredSize(new Dimension(120, 16));\n panelButtonContainer2.add(labelFake, new GridBagConstraints(1, 7, 1, 1, 0.0, 0.0,\n GridBagConstraints.CENTER, GridBagConstraints.BOTH,\n new Insets(0, 0, 5, 0), 0, 0));\n }\n panelShrinked.add(panelButtonContainer2, new GridConstraints(0, 1, 1, 1,\n GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW,\n null, null, null));\n }\n add(panelShrinked, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== scrollPane1 ========\n {\n scrollPane1.setBackground(Color.white);\n scrollPane1.setForeground(Color.white);\n scrollPane1.setBorder(null);\n\n //======== panelBody ========\n {\n panelBody.setBackground(Color.white);\n panelBody.setAutoscrolls(true);\n panelBody.setBorder(new EmptyBorder(0, 20, 10, 30));\n panelBody.setLayout(new TableLayout(new double[][] {\n {TableLayout.FILL},\n {92, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.FILL}}));\n ((TableLayout)panelBody.getLayout()).setHGap(5);\n ((TableLayout)panelBody.getLayout()).setVGap(5);\n\n //======== panelEmployeeHeader ========\n {\n panelEmployeeHeader.setBackground(Color.white);\n panelEmployeeHeader.setLayout(new TableLayout(new double[][] {\n {TableLayout.PREFERRED, TableLayout.FILL},\n {93}}));\n ((TableLayout)panelEmployeeHeader.getLayout()).setHGap(5);\n ((TableLayout)panelEmployeeHeader.getLayout()).setVGap(5);\n\n //---- textEmpInfo ----\n textEmpInfo.setText(\"Empolyee info\");\n textEmpInfo.setFont(new Font(\"Alike\", Font.PLAIN, 21));\n textEmpInfo.setForeground(Color.black);\n panelEmployeeHeader.add(textEmpInfo, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n panelEmployeeHeader.add(separatorEmp, new TableLayoutConstraints(1, 0, 1, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.CENTER));\n }\n panelBody.add(panelEmployeeHeader, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelEmpBody ========\n {\n panelEmpBody.setBackground(Color.white);\n panelEmpBody.setLayout(new TableLayout(new double[][] {\n {TableLayout.FILL, TableLayout.PREFERRED, TableLayout.FILL, TableLayout.PREFERRED, TableLayout.FILL},\n {TableLayout.PREFERRED, TableLayout.PREFERRED, 30, 50, TableLayout.PREFERRED, 30, 50, TableLayout.PREFERRED, 30, 50, TableLayout.PREFERRED, 30, 50}}));\n ((TableLayout)panelEmpBody.getLayout()).setHGap(5);\n ((TableLayout)panelEmpBody.getLayout()).setVGap(5);\n\n //---- textFieldWID ----\n textFieldWID.setBackground(Color.white);\n textFieldWID.setForeground(Color.black);\n textFieldWID.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldWID.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Employee ID\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldWID, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelWIDError ----\n labelWIDError.setForeground(new Color(191, 44, 39));\n labelWIDError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelWIDError.setBackground(Color.white);\n panelEmpBody.add(labelWIDError, new TableLayoutConstraints(0, 1, 0, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer7 ----\n vSpacer7.setBackground(Color.white);\n vSpacer7.setPreferredSize(new Dimension(50, 10));\n vSpacer7.setMinimumSize(new Dimension(50, 10));\n panelEmpBody.add(vSpacer7, new TableLayoutConstraints(0, 2, 0, 2, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldFN ----\n textFieldFN.setBackground(Color.white);\n textFieldFN.setForeground(Color.black);\n textFieldFN.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldFN.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"First Name\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldFN, new TableLayoutConstraints(0, 3, 0, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- hSpacer1 ----\n hSpacer1.setBackground(Color.white);\n hSpacer1.setMinimumSize(new Dimension(30, 12));\n hSpacer1.setPreferredSize(new Dimension(50, 10));\n panelEmpBody.add(hSpacer1, new TableLayoutConstraints(1, 3, 1, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldMN ----\n textFieldMN.setBackground(Color.white);\n textFieldMN.setForeground(Color.black);\n textFieldMN.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldMN.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Middle Name\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldMN, new TableLayoutConstraints(2, 3, 2, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- hSpacer2 ----\n hSpacer2.setBackground(Color.white);\n hSpacer2.setMinimumSize(new Dimension(30, 12));\n hSpacer2.setPreferredSize(new Dimension(50, 10));\n panelEmpBody.add(hSpacer2, new TableLayoutConstraints(3, 3, 3, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldLN ----\n textFieldLN.setBackground(Color.white);\n textFieldLN.setForeground(Color.black);\n textFieldLN.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldLN.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Last Name\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldLN, new TableLayoutConstraints(4, 3, 4, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelFNError ----\n labelFNError.setForeground(new Color(191, 44, 39));\n labelFNError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelFNError.setBackground(Color.white);\n panelEmpBody.add(labelFNError, new TableLayoutConstraints(0, 4, 0, 4, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelMNError ----\n labelMNError.setForeground(new Color(191, 44, 39));\n labelMNError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelMNError.setBackground(Color.white);\n panelEmpBody.add(labelMNError, new TableLayoutConstraints(2, 4, 2, 4, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelLNError ----\n labelLNError.setForeground(new Color(191, 44, 39));\n labelLNError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelLNError.setBackground(Color.white);\n panelEmpBody.add(labelLNError, new TableLayoutConstraints(4, 4, 4, 4, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer2 ----\n vSpacer2.setBackground(Color.white);\n vSpacer2.setPreferredSize(new Dimension(50, 10));\n vSpacer2.setMinimumSize(new Dimension(50, 10));\n panelEmpBody.add(vSpacer2, new TableLayoutConstraints(0, 5, 0, 5, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelDOB ----\n labelDOB.setText(\"Date of Birth\");\n labelDOB.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelDOB.setForeground(Color.black);\n panelEmpBody.add(labelDOB, new TableLayoutConstraints(2, 5, 2, 5, TableLayoutConstraints.FULL, TableLayoutConstraints.BOTTOM));\n\n //---- textFieldPhone ----\n textFieldPhone.setBackground(Color.white);\n textFieldPhone.setForeground(Color.black);\n textFieldPhone.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldPhone.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Phone Number\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldPhone, new TableLayoutConstraints(0, 6, 0, 6, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelBirth ========\n {\n panelBirth.setBackground(Color.gray);\n panelBirth.setLayout(new BorderLayout());\n }\n panelEmpBody.add(panelBirth, new TableLayoutConstraints(2, 6, 2, 6, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldLEmail ----\n textFieldLEmail.setBackground(Color.white);\n textFieldLEmail.setForeground(Color.black);\n textFieldLEmail.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldLEmail.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"E-mail\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldLEmail, new TableLayoutConstraints(4, 6, 4, 6, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelPhoneError ----\n labelPhoneError.setForeground(new Color(191, 44, 39));\n labelPhoneError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n panelEmpBody.add(labelPhoneError, new TableLayoutConstraints(0, 7, 0, 7, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelEmailError ----\n labelEmailError.setForeground(new Color(191, 44, 39));\n labelEmailError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n panelEmpBody.add(labelEmailError, new TableLayoutConstraints(4, 7, 4, 7, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer3 ----\n vSpacer3.setBackground(Color.white);\n vSpacer3.setPreferredSize(new Dimension(50, 10));\n vSpacer3.setMinimumSize(new Dimension(50, 10));\n panelEmpBody.add(vSpacer3, new TableLayoutConstraints(0, 8, 0, 8, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelJob ----\n labelJob.setText(\"Job Title\");\n labelJob.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelJob.setForeground(Color.black);\n panelEmpBody.add(labelJob, new TableLayoutConstraints(2, 8, 2, 8, TableLayoutConstraints.FULL, TableLayoutConstraints.BOTTOM));\n\n //---- labelDepartment ----\n labelDepartment.setText(\"Department\");\n labelDepartment.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelDepartment.setForeground(Color.black);\n panelEmpBody.add(labelDepartment, new TableLayoutConstraints(4, 8, 4, 8, TableLayoutConstraints.FULL, TableLayoutConstraints.BOTTOM));\n\n //---- textFieldID ----\n textFieldID.setBackground(Color.white);\n textFieldID.setForeground(Color.black);\n textFieldID.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldID.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"National ID\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelEmpBody.add(textFieldID, new TableLayoutConstraints(0, 9, 0, 9, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- comboBoxJob ----\n comboBoxJob.setBackground(Color.white);\n comboBoxJob.setForeground(new Color(32, 32, 82));\n comboBoxJob.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n panelEmpBody.add(comboBoxJob, new TableLayoutConstraints(2, 9, 2, 9, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- comboBoxDepartment ----\n comboBoxDepartment.setBackground(Color.white);\n comboBoxDepartment.setForeground(new Color(32, 32, 82));\n comboBoxDepartment.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n panelEmpBody.add(comboBoxDepartment, new TableLayoutConstraints(4, 9, 4, 9, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelIDError ----\n labelIDError.setForeground(new Color(191, 44, 39));\n labelIDError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n panelEmpBody.add(labelIDError, new TableLayoutConstraints(0, 10, 0, 10, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer4 ----\n vSpacer4.setBackground(Color.white);\n vSpacer4.setPreferredSize(new Dimension(50, 10));\n vSpacer4.setMinimumSize(new Dimension(50, 10));\n panelEmpBody.add(vSpacer4, new TableLayoutConstraints(0, 11, 0, 11, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelGender ========\n {\n panelGender.setBackground(Color.white);\n panelGender.setLayout(new TableLayout(new double[][] {\n {TableLayout.PREFERRED, TableLayout.FILL, TableLayout.FILL},\n {50}}));\n ((TableLayout)panelGender.getLayout()).setHGap(5);\n ((TableLayout)panelGender.getLayout()).setVGap(5);\n\n //---- labelGender ----\n labelGender.setText(\"Gender\");\n labelGender.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelGender.setForeground(Color.black);\n panelGender.add(labelGender, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- radioButtonFemale ----\n radioButtonFemale.setText(\"Female\");\n radioButtonFemale.setBackground(Color.white);\n radioButtonFemale.setForeground(Color.black);\n radioButtonFemale.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n radioButtonFemale.setSelected(true);\n radioButtonFemale.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n radioButtonFemaleMouseClicked(e);\n }\n });\n panelGender.add(radioButtonFemale, new TableLayoutConstraints(1, 0, 1, 0, TableLayoutConstraints.CENTER, TableLayoutConstraints.FULL));\n\n //---- radioButtonMale ----\n radioButtonMale.setText(\"Male\");\n radioButtonMale.setBackground(Color.white);\n radioButtonMale.setForeground(Color.black);\n radioButtonMale.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n radioButtonMale.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n radioButtonMaleMouseClicked(e);\n }\n });\n panelGender.add(radioButtonMale, new TableLayoutConstraints(2, 0, 2, 0, TableLayoutConstraints.CENTER, TableLayoutConstraints.FULL));\n }\n panelEmpBody.add(panelGender, new TableLayoutConstraints(0, 12, 0, 12, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n }\n panelBody.add(panelEmpBody, new TableLayoutConstraints(0, 1, 0, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelAddressHeader ========\n {\n panelAddressHeader.setBackground(Color.white);\n panelAddressHeader.setLayout(new TableLayout(new double[][] {\n {TableLayout.PREFERRED, TableLayout.FILL},\n {93}}));\n ((TableLayout)panelAddressHeader.getLayout()).setHGap(5);\n ((TableLayout)panelAddressHeader.getLayout()).setVGap(5);\n\n //---- textAddressInfo ----\n textAddressInfo.setText(\"Address info\");\n textAddressInfo.setFont(new Font(\"Alike\", Font.PLAIN, 21));\n textAddressInfo.setForeground(Color.black);\n panelAddressHeader.add(textAddressInfo, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n panelAddressHeader.add(separatorAddress, new TableLayoutConstraints(1, 0, 1, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.CENTER));\n }\n panelBody.add(panelAddressHeader, new TableLayoutConstraints(0, 2, 0, 2, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelAddBody ========\n {\n panelAddBody.setBackground(Color.white);\n panelAddBody.setLayout(new TableLayout(new double[][] {\n {TableLayout.FILL, TableLayout.PREFERRED, TableLayout.FILL, TableLayout.PREFERRED, TableLayout.FILL},\n {TableLayout.PREFERRED, 50, 30, 50, TableLayout.PREFERRED, 30, 50, TableLayout.PREFERRED}}));\n ((TableLayout)panelAddBody.getLayout()).setHGap(5);\n ((TableLayout)panelAddBody.getLayout()).setVGap(5);\n\n //---- labelGov ----\n labelGov.setText(\"Governorate\");\n labelGov.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelGov.setForeground(Color.black);\n panelAddBody.add(labelGov, new TableLayoutConstraints(0, 0, 0, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.BOTTOM));\n\n //---- labelCity ----\n labelCity.setText(\"City\");\n labelCity.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 12));\n labelCity.setForeground(Color.black);\n panelAddBody.add(labelCity, new TableLayoutConstraints(2, 0, 2, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- comboBoxGov ----\n comboBoxGov.setBackground(Color.white);\n comboBoxGov.setForeground(new Color(32, 32, 82));\n comboBoxGov.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n comboBoxGov.addItemListener(e -> comboBoxGovItemStateChanged(e));\n panelAddBody.add(comboBoxGov, new TableLayoutConstraints(0, 1, 0, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- hSpacer3 ----\n hSpacer3.setBackground(Color.white);\n hSpacer3.setMinimumSize(new Dimension(30, 12));\n hSpacer3.setPreferredSize(new Dimension(50, 10));\n panelAddBody.add(hSpacer3, new TableLayoutConstraints(1, 1, 1, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- comboBoxCity ----\n comboBoxCity.setBackground(Color.white);\n comboBoxCity.setForeground(new Color(32, 32, 82));\n comboBoxCity.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));\n panelAddBody.add(comboBoxCity, new TableLayoutConstraints(2, 1, 2, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- hSpacer4 ----\n hSpacer4.setBackground(Color.white);\n hSpacer4.setMinimumSize(new Dimension(30, 12));\n hSpacer4.setPreferredSize(new Dimension(50, 10));\n panelAddBody.add(hSpacer4, new TableLayoutConstraints(3, 1, 3, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelFake ========\n {\n panelFake.setBackground(Color.white);\n\n GroupLayout panelFakeLayout = new GroupLayout(panelFake);\n panelFake.setLayout(panelFakeLayout);\n panelFakeLayout.setHorizontalGroup(\n panelFakeLayout.createParallelGroup()\n .addGap(0, 280, Short.MAX_VALUE)\n );\n panelFakeLayout.setVerticalGroup(\n panelFakeLayout.createParallelGroup()\n .addGap(0, 50, Short.MAX_VALUE)\n );\n }\n panelAddBody.add(panelFake, new TableLayoutConstraints(4, 1, 4, 1, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer5 ----\n vSpacer5.setBackground(Color.white);\n vSpacer5.setPreferredSize(new Dimension(50, 10));\n vSpacer5.setMinimumSize(new Dimension(50, 10));\n panelAddBody.add(vSpacer5, new TableLayoutConstraints(0, 2, 0, 2, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldStreet ----\n textFieldStreet.setBackground(Color.white);\n textFieldStreet.setForeground(Color.black);\n textFieldStreet.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldStreet.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Street\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelAddBody.add(textFieldStreet, new TableLayoutConstraints(0, 3, 0, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelStreetError ----\n labelStreetError.setForeground(new Color(191, 44, 39));\n labelStreetError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelStreetError.setBackground(Color.white);\n panelAddBody.add(labelStreetError, new TableLayoutConstraints(0, 4, 0, 4, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- vSpacer6 ----\n vSpacer6.setBackground(Color.white);\n vSpacer6.setPreferredSize(new Dimension(50, 10));\n vSpacer6.setMinimumSize(new Dimension(50, 10));\n panelAddBody.add(vSpacer6, new TableLayoutConstraints(0, 5, 0, 5, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- textFieldApt ----\n textFieldApt.setBackground(Color.white);\n textFieldApt.setForeground(Color.black);\n textFieldApt.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 16));\n textFieldApt.setBorder(new TitledBorder(new EtchedBorder(new Color(66, 66, 135), new Color(139, 139, 195)), \"Apartment\", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION,\n new Font(\"Helvetica-Normal\", Font.PLAIN, 12), Color.black));\n panelAddBody.add(textFieldApt, new TableLayoutConstraints(0, 6, 0, 6, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //---- labelAptError ----\n labelAptError.setForeground(new Color(191, 44, 39));\n labelAptError.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n labelAptError.setBackground(Color.white);\n panelAddBody.add(labelAptError, new TableLayoutConstraints(0, 7, 0, 7, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n }\n panelBody.add(panelAddBody, new TableLayoutConstraints(0, 3, 0, 3, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n\n //======== panelFooter ========\n {\n panelFooter.setBackground(Color.white);\n panelFooter.setLayout(null);\n\n //---- buttonAddEmp ----\n buttonAddEmp.setText(\"ADD\");\n buttonAddEmp.setBackground(new Color(32, 32, 82));\n buttonAddEmp.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n buttonAddEmp.setForeground(Color.white);\n buttonAddEmp.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n buttonAddEmpMouseClicked(e);\n }\n });\n panelFooter.add(buttonAddEmp);\n buttonAddEmp.setBounds(0, 105, 190, 35);\n\n //---- labelTooth ----\n labelTooth.setIcon(new ImageIcon(getClass().getResource(\"/com/example/clinicsystem/pictures/tooth_purple.png\")));\n panelFooter.add(labelTooth);\n labelTooth.setBounds(90, 5, 100, 144);\n\n {\n // compute preferred size\n Dimension preferredSize = new Dimension();\n for(int i = 0; i < panelFooter.getComponentCount(); i++) {\n Rectangle bounds = panelFooter.getComponent(i).getBounds();\n preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);\n preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);\n }\n Insets insets = panelFooter.getInsets();\n preferredSize.width += insets.right;\n preferredSize.height += insets.bottom;\n panelFooter.setMinimumSize(preferredSize);\n panelFooter.setPreferredSize(preferredSize);\n }\n }\n panelBody.add(panelFooter, new TableLayoutConstraints(0, 4, 0, 4, TableLayoutConstraints.RIGHT, TableLayoutConstraints.BOTTOM));\n }\n scrollPane1.setViewportView(panelBody);\n }\n add(scrollPane1, new TableLayoutConstraints(1, 0, 1, 0, TableLayoutConstraints.FULL, TableLayoutConstraints.FULL));\n // JFormDesigner - End of component initialization //GEN-END:initComponents\n\n datePicker = new DatePicker();\n datePicker.setDateToToday();\n datePicker.setBackground(Color.white);\n datePicker.setFont(new Font(\"Helvetica-Normal\", Font.PLAIN, 14));\n panelBirth.add(datePicker);\n\n for(int i=0; i<ClinicSystem.governorates.size(); i++) {\n comboBoxGov.addItem(ClinicSystem.governorates.get(i));\n }\n\n for(int i=0; i<ClinicSystem.cairoCities.size(); i++) {\n comboBoxCity.addItem(ClinicSystem.cairoCities.get(i));\n }\n }", "public PanelControl() {\r\n initComponents();\r\n VersionEImageIcon versionEImageIcon = new VersionEImageIcon();\r\n versionEImageIcon.newColorFromPanel(panelColor);\r\n jLabel1.setText(INFO_LABEL);\r\n Usuario usuarioTipo = Login.getUsuario();\r\n this.administrador = usuarioTipo.isAdmin();\r\n if (!administrador)\r\n {\r\n rangos.setEnabled(false);\r\n controles.setEnabled(false);\r\n alta_usuarios.setEnabled(false);\r\n verificacion.setEnabled(false);\r\n }\r\n }", "public void addComponentsToPanel() {\n\t\tpanel.add(backBtn);\n\t\tpanel.add(forgotPassword);\n\t\tpanel.add(txtPass);\n\t\tpanel.add(txtSendEmail);\n\t\tpanel.add(remindMeBtn);\n\n\t\tpanel.add(backgroundLabel);\n\t}", "private void createWidgets() {\n\t\tgrid = new GridPane();\n\t\ttxtNickname = new TextField();\n\t\ttxtPort = new TextField();\n\t\ttxtAdress = new TextField();\n\n\t\tlblNick = new Label(\"Nickname\");\n\t\tlblNickTaken = new Label();\n\t\tlblPort = new Label(\"Port\");\n\t\tlblAdress = new Label(\"Adress\");\n\t\tlblCardDesign = new Label(\"Carddesign\");\n\n\t\tbtnLogin = new Button(\"\");\n\t\timageStart = new Image(BTNSTARTWOOD, 85, 35, true, true);\n\t\timvStart = new ImageView();\n\n\t\tcardDesignOptions = FXCollections.observableArrayList(\n\t\t\t\t\"original design\", \"pirate design\", \"graveyard design\");\n\t\tcomboBoxCardDesign = new ComboBox<String>(cardDesignOptions);\n\n\t\tcomboBoxCardDesign\n\t\t\t\t.setCellFactory(new Callback<ListView<String>, ListCell<String>>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic ListCell<String> call(ListView<String> list) {\n\t\t\t\t\t\treturn new ExtCell();\n\t\t\t\t\t}\n\n\t\t\t\t});\n\t}", "private void createHeaderPanel()\n\t{\n\t\theaderPanel.setLayout (new GridLayout(2,1));\n\t\theaderPanel.add(textPanel);\n\t\theaderPanel.add(functionPanel);\n\t\t\t\t\t\n\t}", "public void preparePanelPoder(){\n\t\tpanelNombrePoder = new JPanel();\n\t\tpanelNombrePoder.setLayout( new GridLayout(3,1,0,0 ));\n\t\t\n\t\tString name = ( game.getCurrentSorpresa() == null )?\" No hay sorpresa\":\" \"+game.getCurrentSorpresa().getClass().getName();\n\t\tn1 = new JLabel(\"Sorpresa actual:\"); \n\t\tn1.setForeground(Color.WHITE);\n\t\t\n\t\tn2 = new JLabel();\n\t\tn2.setText(name.replace(\"aplicacion.\",\"\"));\n\t\tn2.setForeground(Color.WHITE);\n\t\t\n\t\tpanelNombrePoder.add(n1);\n\t\tpanelNombrePoder.add(n2);\n\t\tpanelNombrePoder.setBounds( 34,200 ,110,50);\n\t\tpanelNombrePoder.setOpaque(false);\n\t\tthis.add( panelNombrePoder);\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "private void createElements() {\n\n\t\tBorderLayout manager = new BorderLayout();\n\t\tthis.setLayout(manager);\n\t\tthis.manager = manager;\n\t\tJLabel title = new JLabel(\"Welcome!\"); //change to display customer name\n\t\ttitle.setFont(new Font(title.getName(), Font.BOLD, 24));\n\t\ttitle.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tthis.add(title, BorderLayout.PAGE_START);\n\n\t\t//left Option panel\n\t\tJPanel optPanel = new JPanel();\n\t\toptPanel.setBorder(BorderFactory.createLineBorder(Color.black));\n\t\toptPanel.setPreferredSize(new Dimension (200,500));\n\t\toptPanel.setLayout(new GridBagLayout());\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tJButton newApt = new JButton(\"Check Rented Media\");\n\t\tnewApt.addActionListener(controller);\n\t\tnewApt.setActionCommand(\"rented\");\n\t\tJButton viewApt = new JButton(\"Rent Media\");\n\t\tviewApt.addActionListener(controller);\n\t\tviewApt.setActionCommand(\"newRent\");\n\t\tJButton close = new JButton(\"Exit Program\");\n\t\tclose.addActionListener(controller);\n\t\tclose.setActionCommand(\"close\");\n\t\tc.weighty = 1;\n\t\tc.fill = GridBagConstraints.HORIZONTAL;\n\t\tc.ipady = 10;\n\t\tc.insets = new Insets(20,0,0,0);\n\t\tc.gridy = 0;\n\t\toptPanel.add(newApt, c);\n\t\tc.gridy = 1;\n\t\toptPanel.add(viewApt, c);\n\t\tc.gridy = 2;\n\t\toptPanel.add(close, c);\n\t\tthis.add(optPanel, BorderLayout.LINE_START);\n\n\t\tJPanel placeHolder = new JPanel();\n\t\tthis.add(placeHolder, BorderLayout.CENTER);\n\n\t\tJLabel pointsLbl = new JLabel (\"The customer has \" + controller.getCustomerPoints() +\n\t\t\t\t\" loyalty points.\");\n\t\tthis.pointsLbl = pointsLbl;\n\t\tpointsLbl.setHorizontalAlignment(SwingConstants.CENTER);\n\t\tthis.add(pointsLbl, BorderLayout.PAGE_END);\n\t\tthis.validate();\n\t\tthis.repaint();\n\n\t}", "private void createOperationsPanel() {\n\t\toperationsPanel = new JPanel(new GridLayout(5, 1));\n\n\t\tspanningTreeButton = new JButton(\"Árvore de cobertura\");\n\t\tspanningTreeButton.addActionListener(new SpanningTreeHandler());\n\n\t\tblockingStatesButton = new JButton(\"Estados bloqueantes\");\n\t\tblockingStatesButton.addActionListener(new BlockingStatesHandler());\n\n\t\tnonLimitedStatesButton = new JButton(\"Estados não-limitados\");\n\t\tnonLimitedStatesButton.addActionListener(new NonLimitedStatesHandler());\n\n\t\tnetworkConservationButton = new JButton(\"Conservação da rede\");\n\t\tnetworkConservationButton.addActionListener(new NetworkConservationHandler());\n\n\t\treachabelStateButton = new JButton(\"Estado alcançável\");\n\t\treachabelStateButton.addActionListener(new ReachableStateHandler());\n\n\t\toperationsPanel.add(spanningTreeButton);\n\t\toperationsPanel.add(blockingStatesButton);\n\t\toperationsPanel.add(nonLimitedStatesButton);\n\t\toperationsPanel.add(networkConservationButton);\n\t\toperationsPanel.add(reachabelStateButton);\n\n\t\tthis.add(operationsPanel, BorderLayout.WEST);\n\t}", "private void setupPanel()\n\t{\n\t\tsetLayout(numberLayout);\n\t\tsetBorder(new EtchedBorder(EtchedBorder.RAISED, Color.GRAY, Color.DARK_GRAY));\n\t\tsetBackground(Color.LIGHT_GRAY);\n\t\tadd(ans);\n\t\tadd(clear);\n\t\tadd(backspace);\n\t\tadd(divide);\n\t\tadd(seven);\n\t\tadd(eight);\n\t\tadd(nine);\n\t\tadd(multiply);\n\t\tadd(four);\n\t\tadd(five);\n\t\tadd(six);\n\t\tadd(subtract);\n\t\tadd(one);\n\t\tadd(two);\n\t\tadd(three);\n\t\tadd(add);\n\t\tadd(negative);\n\t\tadd(zero);\n\t\tadd(point);\n\t\tadd(equals);\n\t}", "public PrintsPanel() {\n initComponents();\n createPanels();\n\n }", "private void $$$setupUI$$$() {\n contentPane = new JPanel();\n contentPane.setLayout(new GridLayoutManager(1, 3, new Insets(0, 0, 0, 0), -1, -1));\n materialFirstWordLabel = new JLabel();\n materialFirstWordLabel.setText(\"нет данных\");\n contentPane.add(materialFirstWordLabel, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(10, -1), null, 0, false));\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(3, 1, new Insets(0, 0, 0, 0), -1, -1));\n contentPane.add(panel1, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n materialMarkLabel = new JLabel();\n materialMarkLabel.setText(\" \");\n materialMarkLabel.setVerticalTextPosition(1);\n panel1.add(materialMarkLabel, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n materialProfileLabel = new JLabel();\n materialProfileLabel.setText(\" \");\n materialProfileLabel.setVerticalTextPosition(3);\n panel1.add(materialProfileLabel, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n materialSeparator = new JSeparator();\n panel1.add(materialSeparator, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n final Spacer spacer1 = new Spacer();\n contentPane.add(spacer1, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, 1, null, null, null, 0, false));\n }", "private void createLayout () {\n \t\n \tBorderPane border = new BorderPane();\n \t\n \t\n \t tabPane = new TabPane();\n ArrayList <ScrollPane> tabs = new ArrayList <ScrollPane>();\n \t\n //create column 1 - need to refactor this and make more generic\n TilePane col1 = new TilePane();\n \tcol1.setPrefColumns(2);\n \tcol1.prefWidthProperty().bind(controller.primaryStage.widthProperty());\n \tcol1.setAlignment(Pos.TOP_LEFT);\n \tcol1.getChildren().addAll(createElements ());\n \tScrollPane scrollCol1 = new ScrollPane(col1);\n \ttabs.add(scrollCol1);\n \t\n \tTilePane col2 = new TilePane();\n \tcol2.setPrefColumns(2);\n \tcol2.prefWidthProperty().bind(controller.primaryStage.widthProperty());\n \tcol2.setAlignment(Pos.TOP_LEFT);\n \tcol2.getChildren().addAll(createElements ());\n \tScrollPane scrollCol2 = new ScrollPane(col2);\n \ttabs.add(scrollCol2);\n \t\n \t\n \t\n for (int i = 0; i < tabs.size(); i++) {\n Tab tab = new Tab();\n String tabLabel = \"Col-\" + i;\n tab.setText(tabLabel);\n keywordsList.put(tabLabel, new ArrayList <String>());\n \n tab.setContent(tabs.get(i));\n tabPane.getTabs().add(tab);\n }\n \t\n \t\n \t\n \t\n \t\n \t\n //System.out.println(controller.getScene());\n border.prefHeightProperty().bind(controller.primaryStage.heightProperty());\n border.prefWidthProperty().bind(controller.primaryStage.widthProperty());\n ToolBar toolbar = createtoolBar();\n toolbar.setPrefHeight(50);\n \n border.setTop(toolbar);\n\t\t\n\n\t scrollCol1.prefHeightProperty().bind(controller.primaryStage.heightProperty());\n\t scrollCol1.prefWidthProperty().bind(controller.primaryStage.widthProperty());\n border.setCenter(tabPane);\n\t Group root = (Group)this.getRoot();\n root.getChildren().add(border);\n\t}", "private void $$$setupUI$$$() {\n mainPanel = new JPanel();\n mainPanel.setLayout(new GridLayoutManager(3, 3, new Insets(0, 0, 0, 0), -1, -1));\n toolBarPanel = new JPanel();\n toolBarPanel.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(toolBarPanel, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n containerPanel = new JPanel();\n containerPanel.setLayout(new BorderLayout(0, 0));\n mainPanel.add(containerPanel, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n errorPanel = new JPanel();\n errorPanel.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));\n mainPanel.add(errorPanel, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n valuePanel = new JPanel();\n valuePanel.setLayout(new BorderLayout(0, 0));\n mainPanel.add(valuePanel, new GridConstraints(1, 1, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n label1.setText(\"view as\");\n mainPanel.add(label1, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n comboBox1 = new JComboBox();\n final DefaultComboBoxModel defaultComboBoxModel1 = new DefaultComboBoxModel();\n defaultComboBoxModel1.addElement(\"UTF-8String\");\n comboBox1.setModel(defaultComboBoxModel1);\n mainPanel.add(comboBox1, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n }", "private void $$$setupUI$$$() {\n panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));\n rootTabControl = new JTabbedPane();\n panel1.add(rootTabControl, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, new Dimension(200, 200), null, 0, false));\n }", "private void fillPanel(){\n\t\t\tcontent.setLayout(new GridLayout(9,1));\n\t\t\tcontent.setBackground(Color.BLACK);\n\t\t\tcontent.add(playerNameLabel);\n\t\t\tcontent.add(playerNameField);\n\t\t\tcontent.add(placeHolder);\n\t\t\tcontent.add(passwordLabel);\n\t\t\tcontent.add(passwordField);\n\t\t\tcontent.add(passwordLabelRepeat);\n\t\t\tcontent.add(passwordFieldRepeat);\n\t\t\tcontent.add(placeHolder2);\n\t\t\tcontent.add(createButton);\t\n\t\t}", "private void setUpPanel() { \n this.setPreferredSize(new Dimension(myWidth, myHeight)); \n // Set this panel as a grid panel with 1 column, 6 rows. \n this.setLayout(new GridLayout(NUM_ROWS, 1)); \n // Create the next piece panel.\n this.myNextPiece = new TetrisNextPiecePanel();\n this.add(myNextPiece); \n // Add another panel which will show game instruction.\n final HowToPlayPanel instructionsPanel = new HowToPlayPanel();\n this.add(instructionsPanel);\n // add the last panel which will show the scores, level, game state etc.\n this.setUpLastPanel();\n }", "private void setupPanel()\n\t{\n\t\tthis.setLayout(baseLayout);\n\t\tqueryButton = new JButton(\"query\");\n\t\tthis.add(queryButton);\n\t\tthis.add(displayPane);\n\t\tdisplayArea = new JTextArea(10,30);\n\t\tadd(displayArea);\n\t\t\n\t\t\n\t}", "private void createComponents() {\n \n Dimension thisSize = this.getSize();\n \n this.setLayout(new BoxLayout(this, BoxLayout.X_AXIS));\n \n ArrayList<Integer> numbers = new ArrayList<>();\n for (int i = 0; i < recordCount; ++i) {\n numbers.add(i);\n }\n \n recordList = new JList(numbers.toArray());\n recordList.addListSelectionListener(selectionListener);\n JScrollPane listPane = new JScrollPane(recordList);\n listPane.setPreferredSize(new Dimension(thisSize.width / 3, thisSize.height));\n \n select(0, 0);\n \n this.add(listPane);\n \n recordForm = new RecordForm(fields, thisSize);\n entryForm = new JScrollPane(recordForm);\n \n this.add(entryForm);\n \n selectionAction = WAITING_ON_SELECTION;\n \n }", "private JPanel getControlPanel() {\n\t\tJPanel controlPanel = new JPanel();\n\t\t\n\t\tTitledBorder border = new TitledBorder(\" CONTROL PANEL\");\n\t\tborder.setTitleFont(new Font(\"TimesNewRoman\", Font.BOLD, 12));\n\t\tcontrolPanel.setBorder(border);\n\t\tcontrolPanel.setBackground(new Color(245, 214, 196));\n\t\tcontrolPanel.setPreferredSize(new Dimension(595, 50));\n\t\t\n\t\tJRadioButton viewRcmButton = new JRadioButton(\"View RCM\");\n\t\tviewRcmButton.setSelected(true);\n\t\t\n\t\tJRadioButton addRcmButton = new JRadioButton(\"Add RCM\");\n\t\t\n\t\tJRadioButton removeRcmButton = new JRadioButton(\"Remove RCM\");\n\t\t\n\t\tJRadioButton manageRcmButton = new JRadioButton(\"Manage RCM\");\n\t\t\n\t\tJRadioButton manageItemButton = new JRadioButton(\"Manage Items\");\n\t\t\n\t\tButtonGroup group = new ButtonGroup();\n\t group.add(viewRcmButton);\n\t group.add(addRcmButton);\n\t group.add(removeRcmButton);\n\t group.add(manageRcmButton);\n\t group.add(manageItemButton);\n\t \n\t viewRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tviewRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t addRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t removeRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tremoveRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t \n\t manageRcmButton.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tmanageRcmButtonHandler();\n\t\t\t\t\n\t\t\t}\n\t\t});\n\n\t\t\n\t manageItemButton.addActionListener(new ActionListener() {\n\t\n\t \t@Override\n\t \tpublic void actionPerformed(ActionEvent e) {\n\t \t\tmanageItemButtonHandler();\n\t\t\n\t \t}\n\t });\n\t controlPanel.add(viewRcmButton);\n\t controlPanel.add(addRcmButton);\n\t controlPanel.add(removeRcmButton);\n\t controlPanel.add(manageRcmButton);\n\t controlPanel.add(manageItemButton);\n\t \n\t\treturn controlPanel;\n\t}", "private void initPanel() {\n\t\tthis.panel = new JPanel();\n\t\tthis.panel.setBounds(5, 5, 130, 20);\n\t\tthis.panel.setLayout(null); \n\n\t}", "protected final void setPanelDatos(){\n panel_datos.setBackground(fondo);\n panel_datos.setBorder(BorderFactory.createTitledBorder(null,\"Datos\",TitledBorder.CENTER,TitledBorder.DEFAULT_POSITION, titulo, titulos));\n\n titulo_funcion.setFont(titulo); \n titulo_funcion.setForeground(titulos);\n titulo_h.setFont(titulo); \n titulo_h.setForeground(titulos);\n titulo_x.setFont(titulo); \n titulo_x.setForeground(titulos);\n titulo_n.setFont(titulo); \n titulo_n.setForeground(titulos);\n titulo_condiciones.setFont(titulo); \n titulo_condiciones.setForeground(titulos);\n titulo_y.setFont(titulo); \n titulo_y.setForeground(titulos);\n titulo_val.setFont(titulo); \n titulo_val.setForeground(titulos);\n titulo_metodo.setFont(titulo); \n titulo_metodo.setForeground(titulos);\n\n calcular.setBackground(titulos);\n calcular.setBorder(BorderFactory.createLineBorder(fondo,2));\n\n limpiar.setBackground(titulos);\n limpiar.setBorder(BorderFactory.createLineBorder(fondo,2));\n\n agregar.setBackground(titulos);\n agregar.setBorder(BorderFactory.createLineBorder(fondo,2));\n\n funcion.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n h.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n x.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n n.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n y.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n val.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n variables.setBorder(BorderFactory.createLineBorder(Color.BLACK));\n\n GroupLayout panel_datosLayout = new GroupLayout(panel_datos);\n panel_datos.setLayout(panel_datosLayout);\n\n panel_datosLayout.setHorizontalGroup(\n panel_datosLayout.createParallelGroup(GroupLayout.Alignment.LEADING)\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.LEADING)\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_funcion))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_metodo)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(metodo, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_n)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(n, GroupLayout.PREFERRED_SIZE, 63, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_x)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(x, GroupLayout.PREFERRED_SIZE, 79, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_h)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(h, GroupLayout.PREFERRED_SIZE, 58, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addGap(56, 56, 56)\n .addComponent(calcular, GroupLayout.PREFERRED_SIZE, 81, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(limpiar, GroupLayout.PREFERRED_SIZE, 89, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addGap(99, 99, 99)\n .addComponent(agregar,GroupLayout.PREFERRED_SIZE, 89, GroupLayout.PREFERRED_SIZE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(titulo_y)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(y, GroupLayout.PREFERRED_SIZE, 70, GroupLayout.PREFERRED_SIZE)\n .addGap(11, 11, 11)\n .addComponent(titulo_val)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(val, GroupLayout.PREFERRED_SIZE,50, GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.LEADING)\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addComponent(funcion)\n .addContainerGap())\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addComponent(titulo_condiciones)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addComponent(titulo_variables, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(variables, GroupLayout.PREFERRED_SIZE, 63, GroupLayout.PREFERRED_SIZE)\n .addGap(16, 16, 16))))\n );\n\n panel_datosLayout.setVerticalGroup(\n panel_datosLayout.createParallelGroup(GroupLayout.Alignment.LEADING)\n .addGroup(panel_datosLayout.createSequentialGroup()\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)\n .addComponent(titulo_variables)\n .addComponent(variables, GroupLayout.PREFERRED_SIZE, 24, GroupLayout.PREFERRED_SIZE))\n .addGap(5, 5, 5)\n .addComponent(titulo_funcion)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(funcion, GroupLayout.PREFERRED_SIZE, 26, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(titulo_condiciones)\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(titulo_y)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)\n .addComponent(y, GroupLayout.PREFERRED_SIZE, 22, GroupLayout.PREFERRED_SIZE)\n .addComponent(titulo_val)\n .addComponent(val, GroupLayout.DEFAULT_SIZE, 24, Short.MAX_VALUE)))\n .addGap(11,11,11)\n .addComponent(agregar,GroupLayout.PREFERRED_SIZE, 28, GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 16, Short.MAX_VALUE)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(titulo_h)\n .addComponent(h, GroupLayout.PREFERRED_SIZE,22, GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(titulo_x)\n .addComponent(x, GroupLayout.PREFERRED_SIZE, 24, GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(titulo_n)\n .addComponent(n, GroupLayout.PREFERRED_SIZE, 24, GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)\n .addComponent(titulo_metodo)\n .addComponent(metodo, GroupLayout.PREFERRED_SIZE,24, GroupLayout.PREFERRED_SIZE))\n .addGap(28, 28, 28)\n .addGroup(panel_datosLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)\n .addComponent(calcular, GroupLayout.PREFERRED_SIZE, 28, GroupLayout.PREFERRED_SIZE)\n .addComponent(limpiar, GroupLayout.PREFERRED_SIZE, 28, GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11))\n );\n }", "private void initComponents() {\n xActionBar1 = new com.rameses.rcp.control.XActionBar();\n jPanel1 = new javax.swing.JPanel();\n formPanel1 = new com.rameses.rcp.util.FormPanel();\n xNumberField1 = new com.rameses.rcp.control.XNumberField();\n jTabbedPane1 = new javax.swing.JTabbedPane();\n jPanel2 = new javax.swing.JPanel();\n xDataTable5 = new com.rameses.rcp.control.XDataTable();\n xDataTable4 = new com.rameses.rcp.control.XDataTable();\n xLabel1 = new com.rameses.rcp.control.XLabel();\n jPanel3 = new javax.swing.JPanel();\n jPanel4 = new javax.swing.JPanel();\n xDataTable6 = new com.rameses.rcp.control.XDataTable();\n jTabbedPane2 = new javax.swing.JTabbedPane();\n jPanel5 = new javax.swing.JPanel();\n xDataTable7 = new com.rameses.rcp.control.XDataTable();\n xDataTable8 = new com.rameses.rcp.control.XDataTable();\n jPanel6 = new javax.swing.JPanel();\n xDataTable9 = new com.rameses.rcp.control.XDataTable();\n xLabel2 = new com.rameses.rcp.control.XLabel();\n jPanel7 = new javax.swing.JPanel();\n xButton2 = new com.rameses.rcp.control.XButton();\n xButton3 = new com.rameses.rcp.control.XButton();\n xButton4 = new com.rameses.rcp.control.XButton();\n xDataTable10 = new com.rameses.rcp.control.XDataTable();\n\n setLayout(new java.awt.BorderLayout());\n\n xActionBar1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 0));\n xActionBar1.setDepends(new String[] {\"selectedItem\"});\n xActionBar1.setName(\"formActions\");\n add(xActionBar1, java.awt.BorderLayout.NORTH);\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder1.setTitle(\"Land RY Setting\");\n jPanel1.setBorder(xTitledBorder1);\n\n formPanel1.setCaptionWidth(100);\n xNumberField1.setEditable(false);\n xNumberField1.setCaption(\"Revision Year\");\n xNumberField1.setCaptionWidth(100);\n xNumberField1.setEnabled(false);\n xNumberField1.setFieldType(Integer.class);\n xNumberField1.setName(\"entity.ry\");\n xNumberField1.setPreferredSize(new java.awt.Dimension(80, 19));\n xNumberField1.setRequired(true);\n formPanel1.add(xNumberField1);\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder2 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder2.setTitle(\"If not Special, the applicable Assessment Levels\");\n xDataTable5.setBorder(xTitledBorder2);\n xDataTable5.setDepends(new String[] {\"selectedAssessLevel\"});\n xDataTable5.setDynamic(true);\n xDataTable5.setHandler(\"rangeLevelListHandler\");\n xDataTable5.setImmediate(true);\n xDataTable5.setName(\"selectedRangeLevel\");\n\n xDataTable4.setHandler(\"assessLevelListHandler\");\n xDataTable4.setImmediate(true);\n xDataTable4.setName(\"selectedAssessLevel\");\n\n xLabel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n xLabel1.setForeground(new java.awt.Color(153, 0, 0));\n xLabel1.setFont(new java.awt.Font(\"Arial\", 1, 12));\n xLabel1.setName(\"assessLevelMsg\");\n xLabel1.setPreferredSize(new java.awt.Dimension(104, 22));\n\n org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel2Layout.createSequentialGroup()\n .add(xDataTable4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 399, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xDataTable5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 363, Short.MAX_VALUE))\n .add(xLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 768, Short.MAX_VALUE))\n .addContainerGap())\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)\n .add(xDataTable5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE)\n .add(xDataTable4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE))\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n jTabbedPane1.addTab(\"Assessment Levels\", jPanel2);\n\n jPanel3.setLayout(new java.awt.BorderLayout());\n\n xDataTable6.setHandler(\"lcuvListHandler\");\n xDataTable6.setImmediate(true);\n xDataTable6.setName(\"selectedLCUV\");\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder3 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder3.setTitle(\"Specific Class\");\n xDataTable7.setBorder(xTitledBorder3);\n xDataTable7.setHandler(\"specificClassListHandler\");\n xDataTable7.setImmediate(true);\n xDataTable7.setName(\"selectedSpecificClass\");\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder4 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder4.setTitle(\"Sub Class\");\n xDataTable8.setBorder(xTitledBorder4);\n xDataTable8.setHandler(\"subClassListHandler\");\n xDataTable8.setImmediate(true);\n xDataTable8.setName(\"selectedSubClass\");\n\n org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5);\n jPanel5.setLayout(jPanel5Layout);\n jPanel5Layout.setHorizontalGroup(\n jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup()\n .addContainerGap()\n .add(xDataTable7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 293, Short.MAX_VALUE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xDataTable8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 275, Short.MAX_VALUE)\n .addContainerGap())\n );\n jPanel5Layout.setVerticalGroup(\n jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)\n .add(org.jdesktop.layout.GroupLayout.LEADING, xDataTable7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 373, Short.MAX_VALUE)\n .add(org.jdesktop.layout.GroupLayout.LEADING, xDataTable8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 373, Short.MAX_VALUE))\n .addContainerGap())\n );\n jTabbedPane2.addTab(\"Specific and Sub Classes\", jPanel5);\n\n com.rameses.rcp.control.border.XTitledBorder xTitledBorder5 = new com.rameses.rcp.control.border.XTitledBorder();\n xTitledBorder5.setTitle(\"Stripping\");\n xDataTable9.setBorder(xTitledBorder5);\n xDataTable9.setHandler(\"strippingListHandler\");\n xDataTable9.setImmediate(true);\n xDataTable9.setName(\"selectedStripping\");\n\n org.jdesktop.layout.GroupLayout jPanel6Layout = new org.jdesktop.layout.GroupLayout(jPanel6);\n jPanel6.setLayout(jPanel6Layout);\n jPanel6Layout.setHorizontalGroup(\n jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel6Layout.createSequentialGroup()\n .addContainerGap()\n .add(xDataTable9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 297, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(287, Short.MAX_VALUE))\n );\n jPanel6Layout.setVerticalGroup(\n jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel6Layout.createSequentialGroup()\n .addContainerGap()\n .add(xDataTable9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 373, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jTabbedPane2.addTab(\"Stripping\", jPanel6);\n\n xLabel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n xLabel2.setForeground(new java.awt.Color(153, 0, 0));\n xLabel2.setFont(new java.awt.Font(\"Arial\", 1, 12));\n xLabel2.setName(\"lcuvMsg\");\n xLabel2.setPreferredSize(new java.awt.Dimension(104, 22));\n\n org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);\n jPanel4.setLayout(jPanel4Layout);\n jPanel4Layout.setHorizontalGroup(\n jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel4Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(xLabel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 768, Short.MAX_VALUE)\n .add(jPanel4Layout.createSequentialGroup()\n .add(xDataTable6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 163, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jTabbedPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 599, Short.MAX_VALUE)))\n .addContainerGap())\n );\n jPanel4Layout.setVerticalGroup(\n jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel4Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(xDataTable6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 423, Short.MAX_VALUE)\n .add(jTabbedPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 423, Short.MAX_VALUE))\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xLabel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n );\n jPanel3.add(jPanel4, java.awt.BorderLayout.CENTER);\n\n jTabbedPane1.addTab(\"LCUV\", jPanel3);\n\n xButton2.setMnemonic('n');\n xButton2.setText(\"New\");\n xButton2.setName(\"createLandAdjustment\");\n\n xButton3.setMnemonic('o');\n xButton3.setText(\"Open\");\n xButton3.setName(\"openLandAdjustment\");\n\n xButton4.setMnemonic('r');\n xButton4.setText(\"Remove\");\n xButton4.setName(\"removeLandAdjustment\");\n\n xDataTable10.setHandler(\"landAdjustmentListHandler\");\n xDataTable10.setName(\"selectedLandAdjustment\");\n\n org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7);\n jPanel7.setLayout(jPanel7Layout);\n jPanel7Layout.setHorizontalGroup(\n jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel7Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(xDataTable10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 768, Short.MAX_VALUE)\n .add(jPanel7Layout.createSequentialGroup()\n .add(xButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xButton3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xButton4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap())\n );\n jPanel7Layout.setVerticalGroup(\n jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel7Layout.createSequentialGroup()\n .addContainerGap()\n .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)\n .add(xButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .add(xButton3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .add(xButton4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(xDataTable10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 411, Short.MAX_VALUE)\n .addContainerGap())\n );\n jTabbedPane1.addTab(\"Land Adjustment\", jPanel7);\n\n org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1Layout.createSequentialGroup()\n .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1Layout.createSequentialGroup()\n .add(29, 29, 29)\n .add(formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 240, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n .add(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .add(jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 793, Short.MAX_VALUE)))\n .addContainerGap())\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(jPanel1Layout.createSequentialGroup()\n .add(formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jTabbedPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 490, Short.MAX_VALUE)\n .addContainerGap())\n );\n add(jPanel1, java.awt.BorderLayout.CENTER);\n\n }", "private void $$$setupUI$$$() {\n createUIComponents();\n panel = new JPanel();\n panel.setLayout(new GridLayoutManager(3, 1, new Insets(0, 0, 0, 0), -1, -1));\n panel.setMinimumSize(new Dimension(-1, -1));\n final JScrollPane scrollPane1 = new JScrollPane();\n panel.add(scrollPane1, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n nodeList.setSelectionMode(1);\n scrollPane1.setViewportView(nodeList);\n final JPanel panel1 = new JPanel();\n panel1.setLayout(new GridLayoutManager(1, 2, new Insets(0, 0, 0, 0), -1, -1));\n panel.add(panel1, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n addNodeButton = new JButton();\n this.$$$loadButtonText$$$(addNodeButton, ResourceBundle.getBundle(\"language\").getString(\"button_addNode\"));\n panel1.add(addNodeButton, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n removeNodeButton = new JButton();\n this.$$$loadButtonText$$$(removeNodeButton, ResourceBundle.getBundle(\"language\").getString(\"button_removeNode\"));\n panel1.add(removeNodeButton, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final JLabel label1 = new JLabel();\n Font label1Font = this.$$$getFont$$$(\"Droid Sans Mono\", Font.BOLD, 16, label1.getFont());\n if (label1Font != null) label1.setFont(label1Font);\n this.$$$loadLabelText$$$(label1, ResourceBundle.getBundle(\"language\").getString(\"title_nodes\"));\n panel.add(label1, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n }", "private void initComponents() {\n\n jPanel2 = new javax.swing.JPanel();\n jPanel3 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jToggleButton1 = new javax.swing.JToggleButton();\n jPanel4 = new javax.swing.JPanel();\n jLabel8 = new javax.swing.JLabel();\n jLabel9 = new javax.swing.JLabel();\n jLabel10 = new javax.swing.JLabel();\n jProgressBar1 = new javax.swing.JProgressBar();\n jEditorPane1 = new javax.swing.JEditorPane();\n\n setLayout(new java.awt.BorderLayout());\n\n jPanel2.setLayout(new java.awt.BorderLayout());\n\n jPanel3.setLayout(new java.awt.GridLayout(4, 0, 0, 8));\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel1.text\")); // NOI18N\n jLabel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel3.add(jLabel1);\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel3.text\")); // NOI18N\n jLabel3.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel3.add(jLabel3);\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel4.text\")); // NOI18N\n jLabel4.setToolTipText(org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel4.toolTipText\")); // NOI18N\n jLabel4.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel3.add(jLabel4);\n\n org.openide.awt.Mnemonics.setLocalizedText(jToggleButton1, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jToggleButton1.text\")); // NOI18N\n jToggleButton1.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jToggleButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jToggleButton1ActionPerformed(evt);\n }\n });\n jPanel3.add(jToggleButton1);\n\n jPanel2.add(jPanel3, java.awt.BorderLayout.WEST);\n\n jPanel4.setLayout(new java.awt.GridLayout(4, 0, 0, 8));\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel8, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel8.text\")); // NOI18N\n jLabel8.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel4.add(jLabel8);\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel9, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel9.text\")); // NOI18N\n jLabel9.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel4.add(jLabel9);\n\n org.openide.awt.Mnemonics.setLocalizedText(jLabel10, org.openide.util.NbBundle.getMessage(GenDatasetVisualPanel3.class, \"GenDatasetVisualPanel3.jLabel10.text\")); // NOI18N\n jLabel10.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jPanel4.add(jLabel10);\n\n jProgressBar1.setBorder(javax.swing.BorderFactory.createEmptyBorder(2, 12, 2, 8));\n jProgressBar1.setStringPainted(true);\n jPanel4.add(jProgressBar1);\n\n jPanel2.add(jPanel4, java.awt.BorderLayout.CENTER);\n\n add(jPanel2, java.awt.BorderLayout.PAGE_START);\n\n jEditorPane1.setBackground(jPanel2.getBackground());\n jEditorPane1.setBorder(javax.swing.BorderFactory.createEmptyBorder(8, 12, 8, 12));\n jEditorPane1.setEditable(false);\n jEditorPane1.setMaximumSize(new java.awt.Dimension(200, 200));\n add(jEditorPane1, java.awt.BorderLayout.CENTER);\n }", "private void setUpPanel() {\n this.panel = new JPanel();\n functions = new JPanel();\n panel.setPreferredSize(new Dimension(Screen.screenWidth, Screen.screenHeight));\n\n int borderBottom = Screen.screenHeight / 8;\n if (Screen.screenHeight > 1400) {\n borderBottom = Screen.screenHeight / 7;\n }\n\n panel.setBorder(BorderFactory.createEmptyBorder(80, Screen.border, borderBottom, Screen.border));\n panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));\n functions.setPreferredSize(new Dimension(600, 500));\n functions.setLayout(cardLayout);\n }", "private void createdComponent() {\r\n\r\n\t\tloadImage();\r\n\t\tresizeImage();\r\n\t\ttry {\r\n\t\t\tif (customFont == null) {\r\n\t\t\t\tcustomFont = FontLoader.getInstance().getXenipa();\r\n\t\t\t\tif (customFont == null) {\r\n\t\t\t\t\tcustomFont = new FontLoader().importFont();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (FontFormatException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t} catch (IOException e1) {\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tUIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (InstantiationException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IllegalAccessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (UnsupportedLookAndFeelException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tthis.init();\r\n\t\tthis.createpanel1();\r\n\t\tthis.createpanel2();\r\n\t\tthis.createpanel3();\r\n\t\tthis.createpanel4();\r\n\t\tthis.revalidate();\r\n\t}", "private void createButtonsPanel() {\r\n Composite buttonsPanel = new Composite(this, SWT.NONE);\r\n buttonsPanel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));\r\n buttonsPanel.setLayout(new GridLayout(4, true));\r\n\r\n getButtonFromAction(buttonsPanel, \"New\", new NewAction(_window));\r\n getButtonFromAction(buttonsPanel, \"Save\", new SaveAction());\r\n getButtonFromAction(buttonsPanel, \"Delete\", new DeleteAction(_window));\r\n getButtonFromAction(buttonsPanel, \"Cancel\", new CancelAction());\r\n }", "private void initComponents() {\n contentPanel = new JPanel();\n label_visitDate = new JLabel();\n visitDate = ATBasicComponentFactory.createDateField(detailsModel.getModel( PatronVisits.PROPERTYNAME_VISIT_DATE));\n visitTypeLabel = new JLabel();\n visitTypeComboBox = ATBasicComponentFactory.createComboBox(detailsModel, PatronVisits.PROPERTYNAME_VISIT_TYPE, PatronVisits.class);\n label_subject = new JLabel();\n address1 = ATBasicComponentFactory.createTextField(detailsModel.getModel(PatronVisits.PROPERTYNAME_CONTACT_ARCHIVIST));\n label_topic = new JLabel();\n scrollPane1 = new JScrollPane();\n patronNotes = ATBasicComponentFactory.createTextArea(detailsModel.getModel(PatronVisits.PROPERTYNAME_TOPIC));\n scrollPane5 = new JScrollPane();\n researchPurposeTable = new DomainSortableTable(PatronVisitsResearchPurposes.class);\n panel12 = new JPanel();\n addResearchPurpose = new JButton();\n editResearchPurposeButton = new JButton();\n removeResearchPurpose = new JButton();\n separator5 = new JSeparator();\n tabbedPane1 = new JTabbedPane();\n panel1 = new JPanel();\n subjectLabel = new JLabel();\n scrollPane3 = new JScrollPane();\n subjectsTable = new DomainSortableTable(PatronVisitsSubjects.class);\n panel10 = new JPanel();\n addSubject = new JButton();\n removeSubject = new JButton();\n separator1 = new JSeparator();\n namesLabel = new JLabel();\n scrollPane4 = new JScrollPane();\n namesTable = new DomainSortableTable(PatronVisitsNames.class);\n panel11 = new JPanel();\n editNameRelationshipButton = new JButton();\n addName = new JButton();\n removeName = new JButton();\n panel2 = new JPanel();\n scrollPane2 = new JScrollPane();\n resourcesTable = new DomainSortableTable(PatronVisitsResources.class);\n panel3 = new JPanel();\n addResourceButton = new JButton();\n removeResourceButton = new JButton();\n resourcesUsedLabel = new JLabel();\n scrollPane6 = new JScrollPane();\n textArea1 = ATBasicComponentFactory.createTextArea(detailsModel.getModel(PatronVisits.PROPERTYNAME_DETAILS_ON_RESOURCES));\n panel4 = new JPanel();\n userDefinedStringLabel = new JLabel();\n userDefinedTextField1 = ATBasicComponentFactory.createTextField(detailsModel.getModel(PatronVisits.PROPERTYNAME_USER_DEFINED_STRING1),false);\n userDefinedBooleanLabel = new JLabel();\n userDefinedCheckBox1 = ATBasicComponentFactory.createCheckBox(detailsModel, PatronVisits.PROPERTYNAME_USER_DEFINED_BOOLEAN1, PatronVisits.class);\n userDefinedTextLabel = new JLabel();\n scrollPane7 = new JScrollPane();\n userDefinedTextArea1 = ATBasicComponentFactory.createTextArea(detailsModel.getModel(PatronVisits.PROPERTYNAME_USER_DEFINED_TEXT1));\n CellConstraints cc = new CellConstraints();\n\n //======== this ========\n setLayout(new FormLayout(\n \"default:grow\",\n \"top:default:grow\"));\n\n //======== contentPanel ========\n {\n contentPanel.setBorder(Borders.DLU4_BORDER);\n contentPanel.setLayout(new FormLayout(\n new ColumnSpec[] {\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW)\n },\n new RowSpec[] {\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n new RowSpec(RowSpec.TOP, Sizes.DEFAULT, FormSpec.NO_GROW),\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC\n }));\n\n //---- label_visitDate ----\n label_visitDate.setText(\"Date\");\n ATFieldInfo.assignLabelInfo(label_visitDate, PatronVisits.class, PatronVisits.PROPERTYNAME_VISIT_DATE);\n contentPanel.add(label_visitDate, cc.xy(1, 1));\n\n //---- visitDate ----\n visitDate.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n visitDate.setColumns(10);\n contentPanel.add(visitDate, cc.xy(3, 1));\n\n //---- visitTypeLabel ----\n visitTypeLabel.setText(\"Visit Type\");\n ATFieldInfo.assignLabelInfo(visitTypeLabel, PatronVisits.class, PatronVisits.PROPERTYNAME_VISIT_TYPE);\n contentPanel.add(visitTypeLabel, cc.xy(1, 3));\n contentPanel.add(visitTypeComboBox, cc.xy(3, 3));\n\n //---- label_subject ----\n label_subject.setText(\"Contact\");\n ATFieldInfo.assignLabelInfo(label_subject, PatronVisits.class, PatronVisits.PROPERTYNAME_CONTACT_ARCHIVIST);\n contentPanel.add(label_subject, cc.xy(1, 5));\n\n //---- address1 ----\n address1.setColumns(30);\n contentPanel.add(address1, cc.xy(3, 5));\n\n //---- label_topic ----\n label_topic.setText(\"Topic\");\n ATFieldInfo.assignLabelInfo(label_topic, PatronVisits.class, PatronVisits.PROPERTYNAME_TOPIC);\n contentPanel.add(label_topic, cc.xy(1, 7));\n\n //======== scrollPane1 ========\n {\n\n //---- patronNotes ----\n patronNotes.setRows(4);\n patronNotes.setLineWrap(true);\n patronNotes.setWrapStyleWord(true);\n patronNotes.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n patronNotes.setMinimumSize(new Dimension(200, 16));\n scrollPane1.setViewportView(patronNotes);\n }\n contentPanel.add(scrollPane1, cc.xy(3, 7));\n\n //======== scrollPane5 ========\n {\n scrollPane5.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n scrollPane5.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n scrollPane5.setPreferredSize(new Dimension(219, 100));\n\n //---- researchPurposeTable ----\n researchPurposeTable.setPreferredScrollableViewportSize(new Dimension(200, 200));\n researchPurposeTable.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n researchPurposeTableMouseClicked(e);\n }\n });\n scrollPane5.setViewportView(researchPurposeTable);\n }\n contentPanel.add(scrollPane5, cc.xywh(1, 9, 3, 1));\n\n //======== panel12 ========\n {\n panel12.setBackground(new Color(231, 188, 251));\n panel12.setOpaque(false);\n panel12.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n panel12.setLayout(new FormLayout(\n new ColumnSpec[] {\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n FormFactory.DEFAULT_COLSPEC\n },\n RowSpec.decodeSpecs(\"default\")));\n\n //---- addResearchPurpose ----\n addResearchPurpose.setText(\"Add Reseach Purpose\");\n addResearchPurpose.setOpaque(false);\n addResearchPurpose.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n addResearchPurpose.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n addResearchPurposeActionPerformed();\n }\n });\n panel12.add(addResearchPurpose, cc.xy(1, 1));\n\n //---- editResearchPurposeButton ----\n editResearchPurposeButton.setText(\"Edit Research Purpose\");\n editResearchPurposeButton.setOpaque(false);\n editResearchPurposeButton.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n editResearchPurposeButton.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n editResearchPurposeButtonActionPerformed();\n }\n });\n panel12.add(editResearchPurposeButton, cc.xy(3, 1));\n\n //---- removeResearchPurpose ----\n removeResearchPurpose.setText(\"Remove Reseach Purpose\");\n removeResearchPurpose.setOpaque(false);\n removeResearchPurpose.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n removeResearchPurpose.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n removeResearchPurposeActionPerformed();\n }\n });\n panel12.add(removeResearchPurpose, cc.xy(5, 1));\n }\n contentPanel.add(panel12, cc.xywh(1, 11, 3, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));\n\n //---- separator5 ----\n separator5.setBackground(new Color(220, 220, 232));\n separator5.setForeground(new Color(147, 131, 86));\n separator5.setMinimumSize(new Dimension(1, 10));\n separator5.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n contentPanel.add(separator5, cc.xywh(1, 13, 3, 1));\n\n //======== tabbedPane1 ========\n {\n\n //======== panel1 ========\n {\n panel1.setLayout(new FormLayout(\n ColumnSpec.decodeSpecs(\"default:grow\"),\n new RowSpec[] {\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC\n }));\n\n //---- subjectLabel ----\n subjectLabel.setText(\"Subjects\");\n panel1.add(subjectLabel, cc.xy(1, 1));\n\n //======== scrollPane3 ========\n {\n scrollPane3.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n scrollPane3.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n scrollPane3.setPreferredSize(new Dimension(219, 100));\n\n //---- subjectsTable ----\n subjectsTable.setPreferredScrollableViewportSize(new Dimension(200, 200));\n scrollPane3.setViewportView(subjectsTable);\n }\n panel1.add(scrollPane3, cc.xy(1, 3));\n\n //======== panel10 ========\n {\n panel10.setBackground(new Color(231, 188, 251));\n panel10.setOpaque(false);\n panel10.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n panel10.setLayout(new FormLayout(\n new ColumnSpec[] {\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n FormFactory.DEFAULT_COLSPEC\n },\n RowSpec.decodeSpecs(\"default\")));\n\n //---- addSubject ----\n addSubject.setText(\"Add Subject\");\n addSubject.setOpaque(false);\n addSubject.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n addSubject.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n addSubjectActionPerformed();\n }\n });\n panel10.add(addSubject, cc.xy(1, 1));\n\n //---- removeSubject ----\n removeSubject.setText(\"Remove Subject\");\n removeSubject.setOpaque(false);\n removeSubject.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n removeSubject.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n removeSubjectActionPerformed();\n }\n });\n panel10.add(removeSubject, cc.xy(3, 1));\n }\n panel1.add(panel10, cc.xywh(1, 5, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));\n\n //---- separator1 ----\n separator1.setMinimumSize(new Dimension(1, 10));\n separator1.setForeground(new Color(147, 131, 86));\n panel1.add(separator1, cc.xy(1, 7));\n\n //---- namesLabel ----\n namesLabel.setText(\"Names\");\n panel1.add(namesLabel, cc.xy(1, 9));\n\n //======== scrollPane4 ========\n {\n scrollPane4.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n scrollPane4.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n scrollPane4.setPreferredSize(new Dimension(219, 100));\n\n //---- namesTable ----\n namesTable.setPreferredScrollableViewportSize(new Dimension(200, 200));\n namesTable.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n namesTableMouseClicked(e);\n }\n });\n scrollPane4.setViewportView(namesTable);\n }\n panel1.add(scrollPane4, cc.xy(1, 11));\n\n //======== panel11 ========\n {\n panel11.setBackground(new Color(231, 188, 251));\n panel11.setOpaque(false);\n panel11.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n panel11.setLayout(new FormLayout(\n new ColumnSpec[] {\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n FormFactory.DEFAULT_COLSPEC\n },\n RowSpec.decodeSpecs(\"default\")));\n\n //---- editNameRelationshipButton ----\n editNameRelationshipButton.setText(\"Edit Name Link\");\n editNameRelationshipButton.setOpaque(false);\n editNameRelationshipButton.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n editNameRelationshipButton.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n editNameRelationshipButtonActionPerformed();\n }\n });\n panel11.add(editNameRelationshipButton, cc.xy(1, 1));\n\n //---- addName ----\n addName.setText(\"Add Name\");\n addName.setOpaque(false);\n addName.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n addName.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n addNameActionPerformed();\n }\n });\n panel11.add(addName, cc.xy(3, 1));\n\n //---- removeName ----\n removeName.setText(\"Remove Name\");\n removeName.setOpaque(false);\n removeName.setFont(new Font(\"Trebuchet MS\", Font.PLAIN, 13));\n removeName.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n removeNameActionPerformed();\n }\n });\n panel11.add(removeName, cc.xy(5, 1));\n }\n panel1.add(panel11, cc.xywh(1, 13, 1, 1, CellConstraints.CENTER, CellConstraints.DEFAULT));\n }\n tabbedPane1.addTab(\"Subjects and Names\", panel1);\n\n\n //======== panel2 ========\n {\n panel2.setLayout(new FormLayout(\n ColumnSpec.decodeSpecs(\"default:grow\"),\n new RowSpec[] {\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n new RowSpec(RowSpec.CENTER, Sizes.DEFAULT, FormSpec.DEFAULT_GROW)\n }));\n\n //======== scrollPane2 ========\n {\n scrollPane2.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n scrollPane2.setPreferredSize(new Dimension(219, 100));\n\n //---- resourcesTable ----\n resourcesTable.setPreferredScrollableViewportSize(new Dimension(200, 200));\n scrollPane2.setViewportView(resourcesTable);\n }\n panel2.add(scrollPane2, cc.xy(1, 1));\n\n //======== panel3 ========\n {\n panel3.setLayout(new FlowLayout());\n\n //---- addResourceButton ----\n addResourceButton.setText(\"Add Resource\");\n addResourceButton.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n addResourceButtonActionPerformed();\n }\n });\n panel3.add(addResourceButton);\n\n //---- removeResourceButton ----\n removeResourceButton.setText(\"Remove Resource\");\n removeResourceButton.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n removeResourceButtonActionPerformed();\n }\n });\n panel3.add(removeResourceButton);\n }\n panel2.add(panel3, cc.xy(1, 3));\n\n //---- resourcesUsedLabel ----\n resourcesUsedLabel.setText(\"Details On Resources Used\");\n ATFieldInfo.assignLabelInfo(resourcesUsedLabel, PatronVisits.class, PatronVisits.PROPERTYNAME_DETAILS_ON_RESOURCES);\n panel2.add(resourcesUsedLabel, cc.xy(1, 5));\n\n //======== scrollPane6 ========\n {\n\n //---- textArea1 ----\n textArea1.setRows(10);\n scrollPane6.setViewportView(textArea1);\n }\n panel2.add(scrollPane6, cc.xy(1, 7));\n }\n tabbedPane1.addTab(\"Resources Used\", panel2);\n\n\n //======== panel4 ========\n {\n panel4.setLayout(new FormLayout(\n new ColumnSpec[] {\n FormFactory.DEFAULT_COLSPEC,\n FormFactory.LABEL_COMPONENT_GAP_COLSPEC,\n new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW)\n },\n new RowSpec[] {\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n FormFactory.DEFAULT_ROWSPEC,\n FormFactory.LINE_GAP_ROWSPEC,\n new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW)\n }));\n\n //---- userDefinedStringLabel ----\n userDefinedStringLabel.setText(\"User String\");\n ATFieldInfo.assignLabelInfo(userDefinedStringLabel, PatronVisits.class, PatronVisits.PROPERTYNAME_USER_DEFINED_STRING1);\n panel4.add(userDefinedStringLabel, cc.xy(1, 1));\n panel4.add(userDefinedTextField1, cc.xy(3, 1));\n\n //---- userDefinedBooleanLabel ----\n userDefinedBooleanLabel.setText(\"User Boolean\");\n ATFieldInfo.assignLabelInfo(userDefinedBooleanLabel, PatronVisits.class, PatronVisits.PROPERTYNAME_USER_DEFINED_BOOLEAN1);\n panel4.add(userDefinedBooleanLabel, cc.xy(1, 3));\n\n //---- userDefinedCheckBox1 ----\n userDefinedCheckBox1.setText(\"Option\");\n panel4.add(userDefinedCheckBox1, cc.xy(3, 3));\n\n //---- userDefinedTextLabel ----\n userDefinedTextLabel.setText(\"User Text\");\n ATFieldInfo.assignLabelInfo(userDefinedTextLabel, PatronVisits.class, PatronVisits.PROPERTYNAME_USER_DEFINED_TEXT1);\n panel4.add(userDefinedTextLabel, cc.xywh(1, 5, 1, 1, CellConstraints.DEFAULT, CellConstraints.TOP));\n\n //======== scrollPane7 ========\n {\n scrollPane7.setViewportView(userDefinedTextArea1);\n }\n panel4.add(scrollPane7, cc.xy(3, 5));\n }\n tabbedPane1.addTab(\"User Defined Fields\", panel4);\n\n }\n contentPanel.add(tabbedPane1, cc.xywh(1, 15, 3, 1));\n }\n add(contentPanel, cc.xy(1, 1));\n\t\t// JFormDesigner - End of component initialization //GEN-END:initComponents\n\t}", "public void createContents(){\n\t\t// Creates control for ScrolledCompositeController controlItemSCSCLC\n\t\tcontrolItemSCSCLC = new ScrolledCompositeController(\"controlItemSC\", coreController, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tsetDirtyManagement(false);\n\t\t\t\t\tgetComposite().setLayout(new MigLayout(\"wrap 2\",\"[align right]10[fill,grow]\",\"[]\"));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t// Creates control for LabelController background$1LBL\n\t\tbackground$1LBL = new LabelController(\"background$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"background\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBackground(this);\n\t\t// Creates control for LabelController backgroundImage$1LBL\n\t\tbackgroundImage$1LBL = new LabelController(\"backgroundImage$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"backgroundImage\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBackgroundImage(this);\n\t\t// Creates control for LabelController bounds$1LBL\n\t\tbounds$1LBL = new LabelController(\"bounds$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"bounds\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateBounds(this);\n\t\t// Creates control for LabelController capture$1LBL\n\t\tcapture$1LBL = new LabelController(\"capture$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"capture\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateCapture(this);\n\t\t// Creates control for LabelController containerBackground$1LBL\n\t\tcontainerBackground$1LBL = new LabelController(\"containerBackground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBackground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBackground(this);\n\t\t// Creates control for LabelController containerBackgroundImage$1LBL\n\t\tcontainerBackgroundImage$1LBL = new LabelController(\"containerBackgroundImage$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBackgroundImage\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBackgroundImage(this);\n\t\t// Creates control for LabelController containerBounds$1LBL\n\t\tcontainerBounds$1LBL = new LabelController(\"containerBounds$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerBounds\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerBounds(this);\n\t\t// Creates control for LabelController containerCapture$1LBL\n\t\tcontainerCapture$1LBL = new LabelController(\"containerCapture$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerCapture\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerCapture(this);\n\t\t// Creates control for LabelController containerFocus$1LBL\n\t\tcontainerFocus$1LBL = new LabelController(\"containerFocus$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerFocus\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerFocus(this);\n\t\t// Creates control for LabelController containerFont$1LBL\n\t\tcontainerFont$1LBL = new LabelController(\"containerFont$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerFont\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerFont(this);\n\t\t// Creates control for LabelController containerForeground$1LBL\n\t\tcontainerForeground$1LBL = new LabelController(\"containerForeground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerForeground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerForeground(this);\n\t\t// Creates control for LabelController containerLayoutData$1LBL\n\t\tcontainerLayoutData$1LBL = new LabelController(\"containerLayoutData$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerLayoutData\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerLayoutData(this);\n\t\t// Creates control for LabelController containerLocation$1LBL\n\t\tcontainerLocation$1LBL = new LabelController(\"containerLocation$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerLocation\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerLocation(this);\n\t\t// Creates control for LabelController containerMenu$1LBL\n\t\tcontainerMenu$1LBL = new LabelController(\"containerMenu$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerMenu\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerMenu(this);\n\t\t// Creates control for LabelController containerRedraw$1LBL\n\t\tcontainerRedraw$1LBL = new LabelController(\"containerRedraw$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerRedraw\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerRedraw(this);\n\t\t// Creates control for LabelController containerSize$1LBL\n\t\tcontainerSize$1LBL = new LabelController(\"containerSize$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerSize\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerSize(this);\n\t\t// Creates control for LabelController containerStyle$1LBL\n\t\tcontainerStyle$1LBL = new LabelController(\"containerStyle$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"containerStyle\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateContainerStyle(this);\n\t\t// Creates control for LabelController editable$1LBL\n\t\teditable$1LBL = new LabelController(\"editable$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"editable\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateEditable(this);\n\t\t// Creates control for LabelController enabled$1LBL\n\t\tenabled$1LBL = new LabelController(\"enabled$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"enabled\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateEnabled(this);\n\t\t// Creates control for LabelController focus$1LBL\n\t\tfocus$1LBL = new LabelController(\"focus$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"focus\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateFocus(this);\n\t\t// Creates control for LabelController font$1LBL\n\t\tfont$1LBL = new LabelController(\"font$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"font\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateFont(this);\n\t\t// Creates control for LabelController foreground$1LBL\n\t\tforeground$1LBL = new LabelController(\"foreground$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"foreground\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateForeground(this);\n\t\t// Creates control for LabelController layoutData$1LBL\n\t\tlayoutData$1LBL = new LabelController(\"layoutData$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"layoutData\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateLayoutData(this);\n\t\t// Creates control for LabelController location$1LBL\n\t\tlocation$1LBL = new LabelController(\"location$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"location\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateLocation(this);\n\t\t// Creates control for LabelController menu$1LBL\n\t\tmenu$1LBL = new LabelController(\"menu$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"menu\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateMenu(this);\n\t\t// Creates control for LabelController orientation$1LBL\n\t\torientation$1LBL = new LabelController(\"orientation$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"orientation\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateOrientation(this);\n\t\t// Creates control for LabelController redraw$1LBL\n\t\tredraw$1LBL = new LabelController(\"redraw$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"redraw\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateRedraw(this);\n\t\t// Creates control for LabelController size$1LBL\n\t\tsize$1LBL = new LabelController(\"size$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"size\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateSize(this);\n\t\t// Creates control for LabelController style$1LBL\n\t\tstyle$1LBL = new LabelController(\"style$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"style\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateStyle(this);\n\t\t// Creates control for LabelController tabs$1LBL\n\t\ttabs$1LBL = new LabelController(\"tabs$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"tabs\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateTabs(this);\n\t\t// Creates control for LabelController text$1LBL\n\t\ttext$1LBL = new LabelController(\"text$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"text\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateText(this);\n\t\t// Creates control for LabelController textLimit$1LBL\n\t\ttextLimit$1LBL = new LabelController(\"textLimit$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"richText\", \"textLimit\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateTextLimit(this);\n\t\t// Creates control for LabelController toolTipText$1LBL\n\t\ttoolTipText$1LBL = new LabelController(\"toolTipText$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"widget\", \"toolTipText\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateToolTipText(this);\n\t\t// Creates control for LabelController visible$1LBL\n\t\tvisible$1LBL = new LabelController(\"visible$1\", controlItemSCSCLC, this) {\n\t\t\t@Override\n\t\t\tpublic void createControl() {\n\t\t\t\tsuper.createControl();\n\t\t\t\tif (isValid()) {\n\t\t\t\t\tgetControl().setText(AdichatzApplication.getInstance().getMessage(\"org.adichatz.studio\", \"control\", \"visible\").concat(\":\"));\n\t\t\t\t\tsetForeground(AdichatzApplication.getInstance().getFormToolkit().getColors().getColor(IFormColors.TITLE));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tcreateVisible(this);\n\t}", "private void buildMainPanel() {\n\t\t\n\t\tif(theMode == MODE_FPC) {\n\t\t\ttheFields = new PropertyComponent[9];\n\t\t\t\n\t\t\ttheFields[0] = new PropertyComponent(\"category\", \"Uncategorized\", 1, false, false);\n\t\t\ttheFields[1] = new PropertyComponent(\"display_name\", theDisplayName, 1, false, false);\n\t\t\ttheFields[2] = new PropertyComponent(\"grp_type\", \"Chromosome\", 1, false, false);\n\t\t\ttheFields[3] = new PropertyComponent(\"grp_prefix\", \"\", 1, false, false);\n\t\t\t//theFields[4] = new PropertyComponent(\"grp_sort\", FPC_GRP_SORT, 0, true, false);\t\t\t\n\t\t\t//theFields[5] = new PropertyComponent(\"grp_order\", \"\", 1, true, false);\t\t\t\n\t\t\ttheFields[4] = new PropertyComponent(\"cbsize\", \"1200\", 1, false, false);\t\t\t\n\t\t\ttheFields[5] = new PropertyComponent(\"description\", \"\", 2, false, false);\t\t\t\n\t\t\ttheFields[6] = new PropertyComponent(\"fpc_file\", \"\", true, true, true);\n\t\t\ttheFields[7] = new PropertyComponent(\"bes_files\", \"\", true, true, false);\n\t\t\ttheFields[8] = new PropertyComponent(\"marker_files\", \"\", true, true, false);\n\t\t} else { //MODE_PSEUDO\n\t\t\ttheFields = new PropertyComponent[13];\n\t\t\t\n\t\t\ttheFields[0] = new PropertyComponent(\"category\", \"Uncategorized\", 1, false, false);\n\t\t\ttheFields[1] = new PropertyComponent(\"display_name\", theDisplayName, 1, false, false);\n\t\t\ttheFields[2] = new PropertyComponent(\"grp_type\", \"Chromosome\", 1, false, false);\n\t\t\ttheFields[3] = new PropertyComponent(\"grp_prefix\", \"Chr\", 1, false, false);\t\t\t\n\t\t\t//theFields[4] = new PropertyComponent(\"grp_sort\", PSEUDO_GRP_SORT, 0, true, false);\n\t\t\ttheFields[4] = new PropertyComponent(\"order_against\", getProjectSelections(), 0, false, true);\n\t\t\ttheFields[5] = new PropertyComponent(\"mask_all_but_genes\", PSEUDO_MASK_GENES, 1, false, true);\n\t\t\ttheFields[6] = new PropertyComponent(\"min_size\", \"100000\", 1, true, false);\t\t\t\n\t\t\ttheFields[7] = new PropertyComponent(\"min_display_size_bp\", \"0\", 1, false, false);\t\t\t\n\t\t\ttheFields[8] = new PropertyComponent(\"description\", \"\", 2, false, false);\t\t\t\n\t\t\ttheFields[9] = new PropertyComponent(\"annot_keywords\", \"\", 2, false, false);\t\t\t\n\t\t\ttheFields[10] = new PropertyComponent(\"annot_kw_mincount\", \"50\", 2, false, false);\t\n\t\t\ttheFields[11] = new PropertyComponent(\"anno_files\", \"\", true, true, false);\n\t\t\ttheFields[12] = new PropertyComponent(\"sequence_files\", \"\", true, true, false);\n\t\t}\n\t\t\t\n\t\tJPanel tempPanel = new JPanel();\n\t\ttempPanel.setLayout(new BoxLayout(tempPanel, BoxLayout.PAGE_AXIS));\n\t\ttempPanel.setBackground(Color.WHITE);\n\t\t\n\t\tfor(int x=0; x<theFields.length; x++) {\n\t\t\ttempPanel.add(Box.createVerticalStrut(5));\n\t\t\ttheFields[x].setTextListener(theListener);\n\t\t\ttempPanel.add(theFields[x]);\n\t\t}\n\t\ttempPanel.add(Box.createVerticalStrut(20));\n\t\ttempPanel.add(createButtonPanel());\n\t\ttempPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\n\t\ttempPanel.setMaximumSize(tempPanel.getPreferredSize());\n\t\ttempPanel.setAlignmentX(Component.CENTER_ALIGNMENT);\n\t\t\t\n\t\tgetContentPane().add(tempPanel);\n\t}", "protected void createComponents() {\n sampleText = new JTextField(20);\n displayArea = new JLabel(\"\");\n displayArea.setPreferredSize(new Dimension(200, 75));\n displayArea.setMinimumSize(new Dimension(200, 75));\n }", "private JPanel createResourcesListAndButtonsPanel() {\n\n JPanel panel = new JPanel(new BorderLayout());\n panel.setBorder(PADDING_BORDER);\n\n panel.add(createResourcesPanel(), BorderLayout.NORTH);\n panel.add(createConfirmButtons(), BorderLayout.SOUTH);\n\n return panel;\n }", "private void initLayoutComponents()\n {\n viewPaneWrapper = new JPanel(new CardLayout());\n viewPane = new JTabbedPane();\n crawlPane = new JPanel(new BorderLayout());\n transitionPane = new JPanel();\n searchPane = new BGRenderer(Color.WHITE, WINDOW_WIDTH, WINDOW_HEIGHT);\n resultsPane = new BGRenderer(Color.WHITE, WINDOW_WIDTH, WINDOW_HEIGHT);\n }", "private JPanel buildNorthPanel() {\n\t\t\n\t\tGridBagLayout layout;\n\t\tGridBagConstraints constraints;\n\t\tJPanel panel;\n\t\tint row, col;\n\t\t\n\t\tlayout = new GridBagLayout();\n\t\tconstraints = new GridBagConstraints();\n\t\tpanel = new JPanel(layout);\n\t\trow = 0;\n\t\tcol = 0;\n\t\tJLabel headerLabel = new JLabel(stringFactory.getString(\n\t\t\t\tLabelStringFactory.SAVEASCONFIG_FRAME_SAVE_NEW_CONFIGURATION));\n\t\theaderLabel.setFont(new Font(\"arial\", Font.PLAIN, 18));\n\t\tGUIUtils.add(panel, headerLabel, layout, constraints, row++, col, \n\t\t\t1, 1, 1, 1, GridBagConstraints.NORTHEAST, GridBagConstraints.BOTH,\n\t\t\tGUIUtils.MED_LARGE_INSETS);\n\t\treturn panel;\n\t}", "public JComponent createContentPanel() {\n\t\t// Separating the component initialization and configuration\n\t\t// from the layout code makes both parts easier to read.\n\t\tinitControls();\n\t\t//TODO set minimum size\n\t\tFormLayout layout = new FormLayout(\"default, 3dlu, default\", // cols\n\t\t\t\t\"p, 3dlu,p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu\"); // rows\n\t\tDefaultFormBuilder builder = new DefaultFormBuilder(layout);\n\t\tbuilder.setDefaultDialogBorder();\n\t\tCellConstraints cc = new CellConstraints();\n\t\t\n\t\tIterator l=labels.iterator();\n\t\tIterator c=valueComponents.iterator();\n\t\twhile (l.hasNext()){\n\t\t String name=(String)l.next();\n\t\t JComponent comp=(JComponent)c.next();\n\t\t builder.append(name,comp);\n\t\t builder.nextLine(2);\n\t\t}\n\t\treturn builder.getPanel();\n\t}", "private void createComponents() {\n\t\tbuttons = new Button[9];\r\n\t\tfor (int i = 0; i < 9; i++) {\r\n\t\t\tbuttons[i] = new Button();\r\n\t\t}\r\n\r\n\t\t// Initialize components\r\n\t\tplayAgainButton = new Button(\"Play Again\");\r\n\t\tquitButton = new Button(\"Quit\");\r\n\r\n\t\t// Initialize layouts\r\n\t\tgameButtonGrid = new GridPane();\r\n\t\tgameButtonGrid.setStyle(\"-fx-background-color:Aquamarine;\");\r\n\t\tbottomButtonsHBox = new HBox();\r\n\t\tbottomButtonsHBox.setStyle(\"-fx-background-color:LightSlateGray;\");\r\n\t\tsceneVBox = new VBox();\r\n\t\t\r\n\t\t//Game components\r\n\t\tgameInfo = new GameInfo();\r\n\t}", "private void createUIComponents() {\n this.removeAll();\n this.setLayout(new GridBagLayout());\n\n selectionListener = e -> update();\n\n categorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategorySet.class, new Full_Set<>(database, CategorySet.class), false, this);\n categorySet_panel.addControlButtons(new CategorySet_ElementController(database, this));\n categorySet_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n virtualCategory_set = new OneParent_Children_Set<>(VirtualCategory.class, null);\n virtualCategory_elementController = new VirtualCategory_ElementController(database, this);\n virtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), VirtualCategory.class, virtualCategory_set, false, this);\n virtualCategory_panel.addControlButtons(virtualCategory_elementController);\n virtualCategory_panel.getMainPanel().getListSelectionModel().addListSelectionListener(selectionListener);\n\n categoryToCategorySet_set = new OneParent_Children_Set<>(CategoryToCategorySet.class, null);\n categoryToCategorySet_elementController = new CategoryToCategorySet_ElementController(database, this);\n categoryToCategorySet_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToCategorySet.class, categoryToCategorySet_set, false, this);\n categoryToCategorySet_panel.addControlButtons(categoryToCategorySet_elementController);\n\n categoryToVirtualCategory_set = new OneParent_Children_Set<>(CategoryToVirtualCategory.class, null);\n categoryToVirtualCategory_elementController = new CategoryToVirtualCategory_ElementController(database, this);\n categoryToVirtualCategory_panel = new DataObject_DisplayList<>(database.getSchema(), CategoryToVirtualCategory.class, categoryToVirtualCategory_set, false, this);\n categoryToVirtualCategory_panel.addControlButtons(categoryToVirtualCategory_elementController);\n\n GridBagConstraints gridBagConstraints = new GridBagConstraints();\n gridBagConstraints.fill = GridBagConstraints.BOTH;\n gridBagConstraints.weightx = 1;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridheight = 2;\n\n gridBagConstraints.gridx = 0;\n this.add(categorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 1;\n gridBagConstraints.gridx = 1;\n this.add(virtualCategory_panel, gridBagConstraints);\n\n gridBagConstraints.weighty = 2;\n this.add(categoryToCategorySet_panel, gridBagConstraints);\n\n gridBagConstraints.gridheight = 2;\n gridBagConstraints.weighty = 1;\n gridBagConstraints.gridx = 2;\n this.add(categoryToVirtualCategory_panel, gridBagConstraints);\n }" ]
[ "0.79110086", "0.77585393", "0.76743025", "0.74962413", "0.74310374", "0.74290496", "0.7410206", "0.73417354", "0.7288716", "0.7268488", "0.7225393", "0.72169566", "0.72067434", "0.71620905", "0.7161701", "0.7160352", "0.71502036", "0.7132776", "0.71315354", "0.7115256", "0.71143514", "0.71035415", "0.7079466", "0.7072325", "0.70712185", "0.70508945", "0.70413905", "0.7006397", "0.699954", "0.6995216", "0.69750917", "0.6969716", "0.6965471", "0.69615144", "0.6954439", "0.6952895", "0.69461757", "0.69413316", "0.6929695", "0.6926713", "0.6924142", "0.6922455", "0.692225", "0.69168496", "0.6913195", "0.6910524", "0.6900754", "0.6899927", "0.68997526", "0.68898094", "0.68825597", "0.68810946", "0.6879453", "0.6873331", "0.68723726", "0.6870081", "0.68667805", "0.6866755", "0.6839894", "0.6829415", "0.6821903", "0.6820821", "0.6820559", "0.68139553", "0.6813019", "0.6808389", "0.68062645", "0.6804174", "0.6788136", "0.6786608", "0.6784338", "0.6783472", "0.6772908", "0.6768482", "0.6767003", "0.6764532", "0.67637897", "0.6763655", "0.67578435", "0.6757247", "0.67571837", "0.67545676", "0.6754143", "0.6747288", "0.6736761", "0.672857", "0.67275333", "0.67252964", "0.6722409", "0.67219007", "0.6720447", "0.6718309", "0.67060614", "0.67051905", "0.6704389", "0.67008", "0.6691494", "0.6688385", "0.6687556", "0.6686027", "0.6674987" ]
0.0
-1
Builds a new aggregator engine.
public CGImageAggregatorEngine(final Boolean aggregate, final DimensionPacker<Nut> packer, final SpriteProvider[] sp) { super(aggregate); spriteProviders = Arrays.copyOf(sp, sp.length); dimensionPacker = packer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Engine build() {\n this.extensions.add(new CoreExtension());\n \n // load extensions\n this.extensions.forEach(extension -> {\n this.renderers.putAll(extension.getRenderers());\n this.directives.putAll(extension.getDirectives());\n this.nodeParsers.putAll(extension.getNodeParsers());\n this.filters.putAll(extension.getFilters());\n this.tests.putAll(extension.getTests());\n this.unaryOperators.putAll(extension.getUnaryOperators());\n this.binaryOperators.putAll(extension.getBinaryOperators());\n this.factories.addAll(extension.getNodeVisitorFactories());\n this.safeNodes.addAll(extension.getSafeNodes());\n });\n \n // create an operator token parser\n TokenParser unaryOperatorParser = TokenParser.in(TokenType.OPERATOR, this.unaryOperators.keySet().toArray(new String[]{}));\n TokenParser binaryOperatorParser = TokenParser.in(TokenType.OPERATOR, this.binaryOperators.keySet().toArray(new String[]{}));\n TokenParser operatorParser = unaryOperatorParser.or(binaryOperatorParser);\n \n // create a execute token parser\n TokenParser executeOpenParser = TokenParser.from(TokenType.EXECUTE_OPEN, compile(quote(this.executeOpen)), false);\n TokenParser executeCloseParser = TokenParser.from(TokenType.EXECUTE_CLOSE, compile(quote(this.executeClose)), false);\n TokenParser executeParser = executeOpenParser.then(NAME).then(operatorParser.or(EXPRESSION).until(executeCloseParser));\n this.starts.add(this.executeOpen);\n \n // create a print token parser\n TokenParser printOpenParser = TokenParser.from(TokenType.PRINT_OPEN, compile(quote(this.printOpen)), false);\n TokenParser printCloseParser = TokenParser.from(TokenType.PRINT_CLOSE, compile(quote(this.printClose)), false);\n TokenParser printParser = printOpenParser.then(operatorParser.or(EXPRESSION).until(printCloseParser));\n this.starts.add(this.printOpen);\n \n // create a comment token parser\n TokenParser commentOpenParser = TokenParser.from(TokenType.COMMENT_OPEN, compile(quote(this.commentOpen)), false);\n TokenParser commentCloseParser = TokenParser.from(TokenType.COMMENT_CLOSE, compile(quote(this.commentClose)), false);\n TokenParser commentInner = TokenParser.until(TokenType.TEXT, this.commentClose);\n TokenParser commentParser = commentOpenParser.then(commentInner.optional()).then(commentCloseParser);\n this.starts.add(this.commentOpen);\n \n // create a text token parser\n TokenParser leadingText = TokenParser.until(TokenType.TEXT, this.starts);\n TokenParser text = TokenParser.from(TokenType.TEXT, Pattern.compile(\"^.*\", Pattern.DOTALL | Pattern.MULTILINE), false);\n \n TokenParser principal = commentParser.or(executeParser).or(printParser).or(leadingText).zeroOrMore().then(text.optional()).then(EOF);\n this.tokenizerBuilder.parser(principal);\n Tokenizer tokenizer = this.tokenizerBuilder.build();\n \n ExpressionParser expressionParser = new ExpressionParser(this.unaryOperators, this.binaryOperators);\n \n Engine engine = new Engine(this.environment, expressionParser,\n renderers, directives, nodeParsers, \n filters, tests, factories, safeNodes,\n tokenizer);\n return engine;\n }", "AggregationBuilder buildAggregation();", "public LSMEngine<T> build() {\n return lsmEngine;\n }", "public void build(FuzzyEngine engine) throws FuzzyEngineException;", "public AppEngineDataStoreFactory build() {\n return new AppEngineDataStoreFactory(this);\n }", "@Override\n public Object build() {\n return innerAggregationBuilder.getAggregations();\n }", "private SearchSourceBuilder buildBaseSearchSource() {\n long histogramSearchStartTime = Math.max(0, context.start - ExtractorUtils.getHistogramIntervalMillis(context.aggs));\n\n SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder()\n .size(0)\n .query(ExtractorUtils.wrapInTimeRangeQuery(context.query, context.timeField, histogramSearchStartTime, context.end));\n\n context.aggs.getAggregatorFactories().forEach(searchSourceBuilder::aggregation);\n context.aggs.getPipelineAggregatorFactories().forEach(searchSourceBuilder::aggregation);\n return searchSourceBuilder;\n }", "public AggregatorFactoryImpl() {\n \t\tsuper();\n \t}", "public EventBus build() {\n return new EventBus(this);\n }", "public AggregateFunctionBuilder<T> createAggregate(){\r\n return AggregateFunction.forType(this);\r\n }", "Analytics_Engine createAnalytics_Engine();", "public static AggregatorFactory init() {\n \t\ttry {\n \t\t\tAggregatorFactory theAggregatorFactory = (AggregatorFactory) EPackage.Registry.INSTANCE.getEFactory(\"http://www.eclipse.org/b3/2010/aggregator/1.0.0\");\n \t\t\tif(theAggregatorFactory != null) {\n \t\t\t\treturn theAggregatorFactory;\n \t\t\t}\n \t\t}\n \t\tcatch(Exception exception) {\n \t\t\tEcorePlugin.INSTANCE.log(exception);\n \t\t}\n \t\treturn new AggregatorFactoryImpl();\n \t}", "@Override\n public Object build() {\n ScriptedMetricAggregationBuilder scriptedMetric = AggregationBuilders.scriptedMetric(this.getName());\n Map<String, Object> params = new HashMap<>();\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n /*case \"init_script\":\n scriptedMetric.initScript((String)param.getValue());\n break;\n\n case \"map_script\":\n scriptedMetric.mapScript((String)param.getValue());\n break;\n\n case \"combine_script\":\n scriptedMetric.combineScript((String)param.getValue());\n break;\n\n case \"reduce_script\":\n scriptedMetric.reduceScript((String)param.getValue());\n break;*/\n\n default:\n params.put(param.getName(), param.getValue());\n break;\n }\n }\n\n if (!params.isEmpty()) {\n scriptedMetric.params(params);\n }\n\n return scriptedMetric;\n }", "IGraphEngine graphEngineFactory();", "@Override\n public Object build() {\n TermsAggregationBuilder terms = AggregationBuilders.terms(this.getName());\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n terms.field((String)param.getValue());\n break;\n\n case \"size\":\n terms.size((int)param.getValue());\n break;\n\n case \"shard_size\":\n terms.shardSize((int)param.getValue());\n break;\n\n case \"execution_hint\":\n terms.executionHint((String)param.getValue());\n break;\n\n case \"collect_mode\":\n terms.collectMode((Aggregator.SubAggCollectionMode)param.getValue());\n break;\n }\n }\n\n for (Composite childComposite : this.getChildren().stream()\n .filter(child -> !ParamComposite.class.isAssignableFrom(child.getClass()) &&\n !HavingComposite.class.isAssignableFrom(child.getClass())).collect(Collectors.toList())) {\n\n applySubAggregationFromChild(terms, childComposite);\n }\n\n return terms;\n }", "@Override\n public Object build() {\n String countFilterField = null;\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n countFilterField = (String)param.getValue();\n break;\n case \"operator\":\n operator = (BiPredicate) param.getValue();\n break;\n case \"operands\":\n operands = (List<String>)param.getValue();\n break;\n\n }\n }\n\n if (countFilterField != null) {\n String fieldName = (this.getName()+ COUNT_FIELD).replace(\".\",\"_\");\n TermsAggregationBuilder aggregation = AggregationBuilders.terms(this.getName()).field(this.getName())\n .subAggregation(PipelineAggregatorBuilders.bucketSelector(countFilterField,\n Collections.singletonMap(fieldName,\"_count\"),\n BuildFilterScript.script(fieldName, operator,operands)));\n return aggregation;\n }\n\n return this;\n }", "public abstract Object build();", "public void build() {\r\n // TODO\r\n }", "Aggregator createAggregator(Aggregator aggregator) throws RepoxException;", "public Engine() {\n super(0,0,0,0,null, \"ENGINE\");\n }", "abstract Object build();", "private void build()\n\t{\n\t\tengine.addSystem(new InputSystem());\n\t\tengine.addSystem(new MovementSystem());\n\t\t\n\t}", "abstract T build();", "@Override\n public Object build() {\n Map<String, org.opensearch.index.query.QueryBuilder> filterMap = new HashMap<>();\n for (FilterComposite filter : this.getChildren().stream()\n .filter(child -> FilterComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (FilterComposite) child).collect(Collectors.toList())) {\n\n org.opensearch.index.query.QueryBuilder filterBuilder = (org.opensearch.index.query.QueryBuilder)filter.queryBuilder.seekRoot().query().filtered().filter().getCurrent().build();\n filterMap.put(filter.getName(), filterBuilder);\n }\n\n FiltersAggregationBuilder filtersAggsBuilder = AggregationBuilders.filters(this.getName(),\n Stream.ofAll(filterMap.entrySet())\n .map(entry -> new FiltersAggregator.KeyedFilter(entry.getKey(), entry.getValue()))\n .toJavaArray(FiltersAggregator.KeyedFilter.class));\n\n for (Composite childComposite : this.getChildren().stream()\n .filter(child -> !FilterComposite.class.isAssignableFrom(child.getClass()) &&\n !ParamComposite.class.isAssignableFrom(child.getClass()) &&\n !HavingComposite.class.isAssignableFrom(child.getClass())).collect(Collectors.toList())) {\n\n applySubAggregationFromChild(filtersAggsBuilder, childComposite);\n }\n\n return filtersAggsBuilder;\n }", "public BackendService build() {\n return new BackendService(super.buildUnknownFields());\n }", "@Override\r\n public AgendaItemDefinition build() {\r\n return new AgendaItemDefinition(this);\r\n }", "@Override\n public Object build() {\n return AggregationBuilders.filter(this.getName(),\n (org.opensearch.index.query.QueryBuilder)this.queryBuilder.seekRoot().query().filtered().filter().getCurrent().build());\n }", "protected void build() {\n // Make sure we have a fresh build of everything needed to run a JAM session\n // - bootstrap, translator and agent suites\n builder(\"clean\");\n builder(\"\");\n buildBootstrap();\n }", "public Invoker() {\n this.agg = new Aggregator();\n }", "private LSMEngineBuilder<T> buildLevelProcessors(ApplicationContext applicationContext) {\n LevelProcessorChain<T, IInsertionRequest, InsertRequestContext> insertionLevelProcessChain =\n generateLevelProcessorsChain(applicationContext.getInsertionLevelProcessClass());\n LevelProcessorChain<T, IDeletionRequest, DeleteRequestContext> deletionLevelProcessChain =\n generateLevelProcessorsChain(applicationContext.getDeletionLevelProcessClass());\n LevelProcessorChain<T, IQueryRequest, QueryRequestContext> queryLevelProcessChain =\n generateLevelProcessorsChain(applicationContext.getQueryLevelProcessClass());\n return buildQueryManager(queryLevelProcessChain)\n .buildInsertionManager(insertionLevelProcessChain)\n .buildDeletionManager(deletionLevelProcessChain);\n }", "public GDMAudioEngine(int channels) {\n\t\tthis.channels = new GDMAudio[channels];\n\n\t\t// added in r1\n\t\tthis.futures = new Future[channels];\n\n\t\tthis.pool = (ThreadPoolExecutor)\n\t\t\tExecutors.newCachedThreadPool(GDMThreadFactory.getInstance());\n\t}", "public static AnalysisEngineDescription createAggregateDescription(List<LeoDelegate> specs, FlowControllerDescription flowControllerDescription, String name) {\n //Create the aggregate descriptor object and set the name\n AnalysisEngineDescription aed = new AnalysisEngineDescription_impl();\n aed.getAnalysisEngineMetaData().setName(name);\n aed.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME);\n aed.setPrimitive(false);\n\n //Variables to track multipleDeployment and component names\n ArrayList<String> compNames = new ArrayList<String>();\n boolean multipleDeploy = true;\n\n for(LeoDelegate ld : specs) {\n //Add the delegate\n String component = ld.getName();\n Import imprt = new Import_impl();\n imprt.setLocation(ld.getDescriptorLocator());\n aed.getDelegateAnalysisEngineSpecifiersWithImports().put(component, (MetaDataObject)imprt);\n\n //Add component to the list\n compNames.add(component);\n //Bind external resources for AnalysisEngines and set the multiple deployment flag\n if(ld instanceof LeoAEDescriptor) {\n bindExternalResources(aed, (ResourceCreationSpecifier) ld.getResourceSpecifier());\n multipleDeploy &= ((AnalysisEngineDescription) ld.getResourceSpecifier()).getAnalysisEngineMetaData()\n .getOperationalProperties().isMultipleDeploymentAllowed();\n }\n }\n\n //Set the multiple deployment property\n aed.getAnalysisEngineMetaData().getOperationalProperties().setMultipleDeploymentAllowed(multipleDeploy);\n\n //Set the custom flow controller if provided\n if(flowControllerDescription != null) {\n FlowControllerDeclaration flowControllerDeclaration = new FlowControllerDeclaration_impl();\n flowControllerDeclaration.setSpecifier(flowControllerDescription);\n aed.setFlowControllerDeclaration(flowControllerDeclaration);\n }\n //Set the flow controller constraints, uses fixed flow if no custom flow controller was provided\n FixedFlow fixedFlow = new FixedFlow_impl();\n fixedFlow.setFixedFlow(compNames.toArray(new String[compNames.size()]));\n aed.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow);\n\n return aed;\n }", "public ZEPipelineBindLayout build();", "@Override\n public void initEngine() {\n \n }", "@Override\n public void initEngine() {\n \n }", "@Override\n public SymmetricOpDescription build() {\n return new SymmetricOpDescription(operatorType, dataCodecClass, tasks, redFuncClass);\n }", "private void buildPebbleEngine () {\n Builder builder = new PebbleEngine.Builder();\r\n\r\n // Add bundle specific loader\r\n builder.loader(loader);\r\n\r\n // Add page extensions\r\n Extension pageExtension = new AbstractExtension() {\r\n @Override\r\n public List<TokenParser> getTokenParsers() {\r\n List<TokenParser> parsers = new ArrayList<>();\r\n parsers.add(new Entity2TokenParser(loader));\r\n return parsers;\r\n }\r\n };\r\n builder.extension(pageExtension);\r\n \r\n // Build the Pebble engine\r\n pebbleEngine = builder.build();\r\n }", "public Compactor build(final Config config) {\n final TObjectLongMap<String> modMap = config.getModMap();\n final long dotNodes = config.getDotNodes();\n final long dotEdges = config.getDotEdges();\n modMap.put(\"node_read\", dotNodes);\n modMap.put(\"node_write\", dotNodes);\n modMap.put(\"node_create\", dotNodes);\n modMap.put(\"node_update\", dotNodes);\n modMap.put(\"node_delete\", dotNodes);\n modMap.put(\"edge_read\", dotEdges);\n modMap.put(\"edge_write\", dotEdges);\n modMap.put(\"edge_create\", dotNodes);\n modMap.put(\"edge_update\", dotNodes);\n modMap.put(\"edge_delete\", dotNodes);\n modMap.put(\"clean_ok\", config.getDotOk());\n \n // Iterators for input\n final PropertyContainerEventProducer<NodeEvent> nodeProducer = new GlopsNodeEventProducer(config, sourceDb);\n final PropertyContainerEventProducer<EdgeEvent> edgeProducer = new GlopsEdgeEventProducer(config, sourceDb);\n \n return new Compactor(config, nodeProducer, edgeProducer);\n }", "public JOSEMatcher build() {\n\n\t\t\treturn new JOSEMatcher(classes, algs, encs, jkus, kids);\n\t\t}", "public static CustomHazelcastBuilder builder () {\n return new CustomHazelcastBuilder();\n }", "public static IXccdfEngine createEngine(IPlugin plugin, SystemEnumeration... systems) {\r\n \treturn new OEMEngine(plugin, systems);\r\n }", "public static AnalysisEngineDescription createAggregateDescription(String name, List<ResourceSpecifier> specs) {\n //Create the aggregate descriptor object and set the name\n AnalysisEngineDescription aed = new AnalysisEngineDescription_impl();\n aed.getAnalysisEngineMetaData().setName(name);\n aed.setFrameworkImplementation(Constants.JAVA_FRAMEWORK_NAME);\n aed.setPrimitive(false);\n\n //Additional variables for operational information\n ArrayList<String> compNames = new ArrayList<String>();\n FlowControllerDescription fcd = null;\n boolean multipleDeploy = true;\n Import_impl imprt = null;\n\n for (ResourceSpecifier spec : specs) {\n if (spec instanceof AnalysisEngineDescription || spec instanceof CasConsumerDescription) {\n //Add as an import\n String component = ((ResourceCreationSpecifier)spec).getMetaData().getName();\n aed.getDelegateAnalysisEngineSpecifiersWithImports().put(component, spec);\n\n //Add component name to the list\n compNames.add(component);\n\n //Bind external resources\n bindExternalResources(aed, (ResourceCreationSpecifier)spec);\n\n //Set the multiple deployment flag\n if (spec instanceof AnalysisEngineDescription) {\n multipleDeploy &= ((AnalysisEngineDescription) spec).getAnalysisEngineMetaData()\n .getOperationalProperties().isMultipleDeploymentAllowed();\n } else { //Can't deploy more than one CasConsumer\n multipleDeploy = false;\n }//else\n } else if (spec instanceof FlowControllerDescription) {\n fcd = (FlowControllerDescription) spec;\n } else if (spec instanceof CustomResourceSpecifier) {\n //Add the delegate as an import\n String component = getComponentName(((CustomResourceSpecifier) spec).getParameters(), \"leoRemoteServiceDelegate\");\n aed.getDelegateAnalysisEngineSpecifiersWithImports().put(component, spec);\n\n //Add component name to the list\n compNames.add(component);\n } else if (spec instanceof PearSpecifier) {\n String component = getComponentName(((PearSpecifier) spec).getParameters(), \"leoPearServiceDelegate\");\n aed.getDelegateAnalysisEngineSpecifiersWithImports().put(component, spec);\n compNames.add(component);\n }\n }//for\n\n //Set the multiple deployment property\n aed.getAnalysisEngineMetaData().getOperationalProperties().setMultipleDeploymentAllowed(multipleDeploy);\n\n //Setup the flow controller\n if (fcd != null) {\n FlowControllerDeclaration flowControllerDecl = new FlowControllerDeclaration_impl();\n flowControllerDecl.setSpecifier(fcd);\n aed.setFlowControllerDeclaration(flowControllerDecl);\n }//if\n //Setup fixed flow FlowController - will only be used if custom flow controller not provided.\n FixedFlow fixedFlow = new FixedFlow_impl();\n fixedFlow.setFixedFlow(compNames.toArray(new String[compNames.size()]));\n aed.getAnalysisEngineMetaData().setFlowConstraints(fixedFlow);\n\n //Perform full validation on the descriptor before returning\n //Removed validation to support late serialization - TomG 01/31/2012\n //aed.doFullValidation(UIMAFramework.newDefaultResourceManager());\n return aed;\n }", "public AbstractSearchEngine() {}", "public Object build();", "public static IXccdfEngine createEngine(IPlugin plugin) {\r\n \treturn new OEMEngine(plugin, SystemEnumeration.ANY);\r\n }", "public static EngineBuilderFactory getInstance() {\n if (instance == null) {\n instance = new EngineBuilderFactory();\n }\n\n return instance;\n }", "@Override\n public Object build() {\n CardinalityAggregationBuilder cardinality = AggregationBuilders.cardinality(this.getName());\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n cardinality.field((String)param.getValue());\n break;\n\n /*case \"script\":\n cardinality.script((String)param.getValue());\n break;*/\n\n case \"precision_threshold\":\n cardinality.precisionThreshold((long)param.getValue());\n break;\n }\n }\n\n return cardinality;\n }", "public void testCreateAggregator() throws Exception {\n testCreateIndex();\n List<SummaSearcher> searchers = createSearchers(Arrays.asList(new File(INDEX_ROOT, \"index_1\")));\n SummaSearcher aggregator = createAggregator(searchers);\n log.info(\"Aggregated search for 'bar' resulted in:\\n\" + search(aggregator, \"bar\"));\n assertTrue(\"The result should contain a field with 'bar'\",\n search(aggregator, \"bar\").contains(\"<field name=\\\"single_token\\\">bar</field>\"));\n close(searchers);\n }", "@Override\n public Object build() {\n TopHitsAggregationBuilder topHitsBuilder = AggregationBuilders.topHits(this.getName());\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"size\":\n topHitsBuilder.size((int)param.getValue());\n break;\n\n case \"fetch_source\":\n topHitsBuilder.fetchSource((boolean)param.getValue());\n break;\n }\n }\n\n return topHitsBuilder;\n }", "public RulesEngineInner() {\n }", "private ENFAutomaton build() {\n final Set<State> states = new HashSet<State>(this.states.values());\n final Set<State> acceptStates = new HashSet<State>(this.acceptStates.values());\n\n final Set<Input> alphabet = alphabetBuilder.build();\n\n final ENFAutomatonTransferFunction transferFunction = transferFunctionBuilder.build(this.states);\n\n return new ENFAutomaton(states, acceptStates, alphabet, transferFunction, initial);\n }", "@Override\r\n public EngineInjection createEngineInjection() {\r\n return new Turbofan();\r\n }", "public LogInfluxClient build() {\n LogInfluxClient logStatsdClient = new LogInfluxClient();\n logStatsdClient.setSendSink(sendSink);\n logStatsdClient.setCommonTags(commonTags);\n return logStatsdClient;\n }", "Object build();", "public SearchQuery build() {\n this._Web_search.set_maxDepth(_maxDepth);\n this._Web_search.set_maxResults(_maxResults);\n this._Web_search.set_threshold(_threshold);\n this._Web_search.set_beamWidth(_beamWidth);\n if (heuristicSearchType == null) {\n this._Web_search.setHeuristicSearchType(Enums.HeuristicSearchType.BEST_FIRST);\n } else {\n this._Web_search.setHeuristicSearchType(heuristicSearchType);\n }\n\n return new SearchQuery(this._query, this._Web_search);\n }", "protected abstract Nfa buildInternal();", "public Query<T, R> build() {\n // if criteria.size == 0, rootCriterion = null\n Criterion rootCriterion = null;\n if (criteria.size() == 1) {\n rootCriterion = criteria.get(0);\n } else if (criteria.size() > 1) {\n rootCriterion = Restrictions.and(criteria\n .toArray(new Criterion[criteria.size()]));\n }\n return new QueryImpl<T, R>(entityClass, returnType, rootCriterion,\n orderings, maxResults, returnFields);\n }", "private static SessionFactory buildSessionFactory() {\n Configuration configObj = new Configuration();\n configObj.configure(\"hibernate.cfg.xml\");\n\n ServiceRegistry serviceRegistryObj = new StandardServiceRegistryBuilder().applySettings(configObj.getProperties()).build();\n\n // Creating Hibernate SessionFactory Instance\n sessionFactoryObj = configObj.buildSessionFactory(serviceRegistryObj);\n return sessionFactoryObj;\n }", "public MetricBatch build() {\n Attributes attributes = commonAttributesBuilder.build();\n return new MetricBatch(metrics, attributes);\n }", "private Engine() {\n\n }", "@DebugLog\n private void buildDaggerGraph(){\n mComponent = DaggerAppComponent.builder()\n .appModule(new AppModule(this))\n .dataModule(new DataModule())\n .uiModule(new UiModule())\n .apiModule(new ApiModule())\n .infoModule(new InfoModule())\n .build();\n mComponent.inject(this);\n }", "public Pub build() {\n return new Pub(keyId, algo, keyLen, creationDate, expirationDate, flags);\n }", "public hu.blackbelt.epsilon.runtime.model.test1.data.DataModel build() {\n final hu.blackbelt.epsilon.runtime.model.test1.data.DataModel _newInstance = hu.blackbelt.epsilon.runtime.model.test1.data.DataFactory.eINSTANCE.createDataModel();\n if (m_featureNameSet) {\n _newInstance.setName(m_name);\n }\n if (m_featureEntitySet) {\n _newInstance.getEntity().addAll(m_entity);\n } else {\n if (!m_featureEntityBuilder.isEmpty()) {\n for (hu.blackbelt.epsilon.runtime.model.test1.data.util.builder.IDataBuilder<? extends hu.blackbelt.epsilon.runtime.model.test1.data.Entity> builder : m_featureEntityBuilder) {\n _newInstance.getEntity().add(builder.build());\n }\n }\n }\n return _newInstance;\n }", "public Module build() {\n return new Module(moduleCode, moduleTitle, academicYear, semester,\n students, tags);\n }", "public abstract CONFIG build();", "public interface IExecutorBuilder {\n /**\n * Build IExecutor implementation.\n * @return IExecutor\n */\n IExecutor build();\n}", "@Override\n public Object build() {\n return this.getChildren().stream()\n .map(child -> (org.opensearch.search.aggregations.AbstractAggregationBuilder) child.build()).collect(Collectors.toList());\n }", "public ProxyHandlerRegistry build() {\n checkNotNull(finder, \"No channel finder defined\");\n\n ProxyServerCallHandler<InputStream, InputStream> proxyHandler =\n new ProxyServerCallHandler<>(finder, CallOptions.DEFAULT);\n\n Map<String, ServerMethodDefinition<?, ?>> methods = new HashMap<>();\n for (ServerServiceDefinition service : services.values()) {\n for (ServerMethodDefinition<?, ?> method : service.getMethods()) {\n String methodName = method.getMethodDescriptor().getFullMethodName();\n methods.put(\n methodName,\n createProxyServerMethodDefinition(\n method.getMethodDescriptor(),\n proxyHandler)\n );\n }\n }\n return new ProxyHandlerRegistry(\n Collections.unmodifiableMap(methods));\n }", "@Override\r\n\tpublic void engine() {\n\t\t\r\n\t}", "@Override\n public Object build() {\n AvgAggregationBuilder avg = AggregationBuilders.avg(this.getName());\n\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n avg.field((String)param.getValue());\n /*case \"script\":\n avg.script((String)param.getValue());*/\n }\n }\n\n return avg;\n }", "private SearchRequestBuilder createSearchBuilder(StoreURL storeURL, EsQuery esQuery) {\n SearchRequestBuilder searchBuilder = this.getClient(storeURL)\n .prepareSearch(esQuery.getGraph())\n .setQuery(RootBuilder.get(esQuery))\n .setFetchSource(true)\n .setFrom(esQuery.getPageNo())\n .setSize(esQuery.getPageSize());\n if(CollectionUtils.isNotEmpty(esQuery.getSchemas())){\n searchBuilder.setTypes(esQuery.getSchemas().toArray(new String[]{}));\n }\n this.addAggregations(esQuery, searchBuilder); // aggregation\n this.addSortFields(esQuery, searchBuilder); // sort\n this.addHighlightFields(esQuery, searchBuilder); // highlight\n return searchBuilder;\n }", "@Override\r\n public RuleDefinition build() {\r\n return new RuleDefinition(this);\r\n }", "public abstract CertPathBuilderResult engineBuild(CertPathParameters params)\n throws CertPathBuilderException, InvalidAlgorithmParameterException;", "public abstract StandaloneAlgorithm createAlgorithm();", "public DynamicModelPart build() {\n return this.rotateModelPart(this.rotation).addCuboids();\n }", "public interface FactBuilder {\n\n public ProjectDataModelOracleBuilder end();\n\n public void build( final ProjectDataModelOracleImpl oracle );\n\n}", "public Script build() {\n return new Script(scriptLanguage, scriptText);\n }", "public final Nfa build() {\n accepts();\n return buildNoAccept();\n }", "public void Build() {\n OCCwrapJavaJNI.BRepAlgo_NormalProjection_Build(swigCPtr, this);\n }", "public Engine toEngine(SbiEngines hibEngine){\r\n\t\tEngine eng = new Engine();\r\n\t\teng.setCriptable(new Integer(hibEngine.getEncrypt().intValue()));\r\n\t\teng.setDescription(hibEngine.getDescr());\r\n\t\teng.setDirUpload(hibEngine.getObjUplDir());\r\n\t\teng.setDirUsable(hibEngine.getObjUseDir());\r\n\t\teng.setDriverName(hibEngine.getDriverNm());\r\n\t\teng.setId(hibEngine.getEngineId());\r\n\t\teng.setName(hibEngine.getName());\r\n\t\teng.setLabel(hibEngine.getLabel());\r\n\t\teng.setSecondaryUrl(hibEngine.getSecnUrl());\r\n\t\teng.setUrl(hibEngine.getMainUrl());\r\n\t\teng.setLabel(hibEngine.getLabel());\r\n\t\treturn eng;\r\n\t}", "IGraphEngine getGraphEngine();", "@SuppressWarnings(\"unchecked\")\n\tprivate void initAggregator() throws CatascopiaException{\n\t\tString inter = this.config.getProperty(\"aggregator.interface\", \"StringAggregator\");\n\t\t\n\t\tClass<?>[] myArgs = new Class[3];\n\t\tmyArgs[0] = String.class;\n myArgs[1] = String.class;\n myArgs[2] = IMonitoringAgent.class;\n String path = \"eu.celarcloud.jcatascopia.agent.aggregators.\"+inter;\n try{\n\t Class<IAggregator> _tempClass = (Class<IAggregator>) Class.forName(path);\n\t Constructor<IAggregator> _tempConst = _tempClass.getDeclaredConstructor(myArgs);\n\t\t\tthis.aggregator = _tempConst.newInstance(this.agentID, this.agentIP, this);\n\t\t\tthis.writeToLog(Level.INFO, inter+\">> Successully instantiated and initialized\");\t\n }\n catch (ClassNotFoundException e){\n\t\t\tthis.writeToLog(Level.SEVERE, e);\n\t\t\tthrow new CatascopiaException(e.getMessage(),CatascopiaException.ExceptionType.AGGREGATOR);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tthis.writeToLog(Level.SEVERE, e);\n\t\t\tthrow new CatascopiaException(e.getMessage(),CatascopiaException.ExceptionType.AGGREGATOR);\n\t\t}\n\t}", "@Override\n\tpublic Alg newInstance() {\n\t\treturn new BnetDistributedCF();\n\t}", "public interface BuildProvider {\n \n /**\n * 构建器\n * - Sql Source\n * - Result Map\n *\n * @param statement\n */\n void build(MappedStatement statement);\n}", "public Entity build();", "public Component build(){\n\t\tif(children!=null)\n\t\t\tnew CollectionHelper.Iterator.Adapter.Default<Component>(children.getElements()){\n\t\t\t\tprivate static final long serialVersionUID = 1L;\n\t\t\t\t@Override\n\t\t\t\tprotected void __executeForEach__(Component component) {\n\t\t\t\t\tcomponent.build();\n\t\t\t\t}\n\t\t\t}.execute();\n\t\t//built = ListenerHelper.getInstance()\n\t\t//\t\t.listenObject(Listener.COLLECTION, Listener.METHOD_NAME_BUILD, MethodHelper.Method.Parameter.buildArray(Component.class,this));\n\t\tbuilt = ClassHelper.getInstance().instanciateOne(Listener.class).build(this);\n\t\thasBeenBuilt = Boolean.TRUE;\n\t\treturn this;\n\t}", "void init(@NotNull final AIEngine engine);", "private synchronized void buildConcreteProcessor(Environment env) throws Exception {\n if (this.concreteProcessor != null && this.source.getLastModified() == this.lastModified) {\n // Nothing changed\n return;\n }\n\n long startTime = System.currentTimeMillis();\n\n // Dispose the old processor, if any\n if (this.concreteProcessor != null) {\n this.concreteProcessor.markForDisposal();\n }\n\n // Get a builder\n TreeBuilder builder = (TreeBuilder)this.builderSelector.select(\"sitemap\");\n ConcreteTreeProcessor newProcessor = new ConcreteTreeProcessor(this);\n long newLastModified;\n this.setupLogger(newProcessor);\n //FIXME (SW): why do we need to enterProcessor here?\n CocoonComponentManager.enterEnvironment(env, this.manager, this);\n try {\n if (builder instanceof Recomposable) {\n ((Recomposable)builder).recompose(this.manager);\n }\n builder.setProcessor(newProcessor);\n\n newLastModified = this.source.getLastModified();\n\n ProcessingNode root = builder.build(this.source);\n\n newProcessor.setProcessorData(builder.getSitemapComponentManager(), root, builder.getDisposableNodes());\n } finally {\n CocoonComponentManager.leaveEnvironment();\n this.builderSelector.release(builder);\n }\n\n if (this.getLogger().isDebugEnabled()) {\n double time = (this.lastModified - startTime) / 1000.0;\n this.getLogger().debug(\"TreeProcessor built in \" + time + \" secs from \" + this.source.getURI());\n }\n\n // Switch to the new processor (ensure it's never temporarily null)\n this.concreteProcessor = newProcessor;\n this.lastModified = newLastModified;\n }", "private ReducedCFGBuilder() {\n\t}", "private WrappedEngine() {\n logger = new ONDEXCoreLogger();\n addONDEXListener(logger);\n pluginLogger = new ONDEXPluginLogger();\n EnvironmentVariable ev = new EnvironmentVariable(\"ONDEX VAR=\" + Config.ondexDir);\n ev.setLog4jLevel(Level.INFO);\n fireEventOccurred(ev);\n }", "Lighter build();", "public QrdaDecoderEngine(Context context) {\n\t\tObjects.requireNonNull(context, \"converter\");\n\n\t\tthis.context = context;\n\t\tthis.decoders = context.getRegistry(Decoder.class);\n\t}", "public LibraryBuilder() {\n\t\tthis.addToLibrary = new MyMusicLibrary();\n\t\tthis.addToArtiLibrary = new MyArtistLibrary();\n\t}", "T build();", "T build();", "public static DocumentBuilder createDocumentBuilder() {\n\t\treturn createDocumentBuilder(DefaultEntityResolver.getInstance());\n\t}", "Algorithm createAlgorithm();", "public SimilarProduct build() {\n return new SimilarProductImpl(product, variantId, meta);\n }", "private TracingEngine getEngine() {\n try {\n return engine.get(\"\", reloadEngine());\n } catch (final ExecutionException e) {\n return new NoopTracingEngine();\n }\n }", "Provider createProvider(Provider prov, Aggregator agr) throws RepoxException;" ]
[ "0.6126886", "0.60786855", "0.5982379", "0.58229667", "0.5675144", "0.56208336", "0.5426427", "0.53354883", "0.5292015", "0.5281686", "0.5213265", "0.5206873", "0.51996714", "0.5199045", "0.5177175", "0.5154047", "0.51050717", "0.5099855", "0.5098932", "0.50305814", "0.50144005", "0.49906763", "0.4973089", "0.49656528", "0.4958764", "0.4947209", "0.49369514", "0.49272543", "0.49214602", "0.48961455", "0.48923934", "0.4892026", "0.48801357", "0.48762333", "0.48762333", "0.48517573", "0.4841677", "0.48370394", "0.48147616", "0.4814465", "0.4803533", "0.47966343", "0.47935513", "0.4786146", "0.4776179", "0.4772684", "0.47702903", "0.476565", "0.47512645", "0.47404355", "0.47325796", "0.47257018", "0.47214583", "0.47205892", "0.4718466", "0.47146738", "0.47078592", "0.46734333", "0.467162", "0.46702406", "0.4666936", "0.46559647", "0.4654932", "0.46511018", "0.46386603", "0.4635491", "0.46345574", "0.46276337", "0.4627002", "0.4624355", "0.4618174", "0.46126205", "0.45994434", "0.45988142", "0.45894095", "0.4586884", "0.45860633", "0.45828325", "0.45800626", "0.45773584", "0.45707074", "0.4567067", "0.4562103", "0.45601392", "0.45529473", "0.45426992", "0.45286167", "0.452845", "0.45193925", "0.45177716", "0.4517359", "0.4510256", "0.45051497", "0.45050648", "0.45050648", "0.45021138", "0.44994873", "0.44954115", "0.44949284", "0.4490992" ]
0.45895836
74
Initializes all sprite providers.
private void initSpriteProviders(final String name) { for (final SpriteProvider sp : spriteProviders) { sp.init(name); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void init() {\n\t\tloadSpritesheet();\n\t\tloadSounds();\n\t\tinitIntro();\n\t}", "protected void initSkins()\n {\n synchronized (this)\n {\n _skins = new HashMap<SkinMetadata, Skin>();\n }\n }", "public void initialize()\n {\n \t// Luodaan manager-luokat\n EffectManager.getInstance();\n MessageManager.getInstance();\n CameraManager.getInstance();\n\n // Luodaan pelitilan eri osat\n backgroundManager = new BackgroundManager(wrapper);\n \tweaponManager = new WeaponManager();\n hud = new Hud(context, weaponManager);\n touchManager = new TouchManager(dm, surfaceView, context, hud, weaponManager);\n gameMode = new GameMode(gameActivity, this, dm, context, hud, weaponManager);\n \n // Järjestellään Wrapperin listat uudelleen\n wrapper.sortDrawables();\n wrapper.generateAiGroups();\n \n // Merkitään kaikki ladatuiksi\n allLoaded = true;\n }", "private void init() {\n display = new Display(title, getWidth(), getHeight());\n Assets.init();\n player = new Player(getWidth() / 2, getHeight() - 100, 1, 60, 40, this);\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 6; j++) {\n aliens.add(new Alien(150 + 50 * j, 50 + 50 * i, 1, 40, 40, this));\n }\n }\n display.getJframe().addKeyListener(keyManager);\n }", "private static void initResources() {\n\t\tString[] res = new String[4];\r\n\t\tres[0] = \"res/entity/spaceshipv1.png\";\r\n\t\tres[1] = \"res/entity/prob.png\";\r\n\t\tres[2] = \"res/dot.png\";\r\n\t\tres[3] = \"res/entity/spaceshipv2.png\";\r\n\t\tSResLoader.addSpriteArray(res);\r\n\t}", "private void ini_Sprites()\r\n\t{\r\n\t\tLogger.DEBUG(\"ini_Sprites\");\r\n\t\tResourceCache.LoadSprites(false);\r\n\t}", "private void init() {\n\n\t\tinitializeLists();\n\t\tcreateTiles();\n\t\tcreateTileViews();\n\t\tshuffleTiles();\n\n\t}", "public final void init() {\r\n GroundItemManager.create(this);\r\n SPAWNS.add(this);\r\n }", "private final void init() {\n\t\tam = new nativeAssetManager();\n\t\tam.addDefaultAssets();\n\t}", "public void initialize()\r\n {\r\n ceresImage = new Image(\"Ceres.png\");\r\n erisImage = new Image(\"Eris.png\");\r\n haumeaImage = new Image(\"Haumea.png\");\r\n makemakeImage = new Image(\"MakeMake.png\");\r\n plutoImage = new Image(\"Pluto.png\");\r\n }", "public void initialize() {\n warpController = new WarpController(this);\n kitController = new KitController(this);\n crafting = new CraftingController(this);\n mobs = new MobController(this);\n items = new ItemController(this);\n enchanting = new EnchantingController(this);\n anvil = new AnvilController(this);\n blockController = new BlockController(this);\n hangingController = new HangingController(this);\n entityController = new EntityController(this);\n playerController = new PlayerController(this);\n inventoryController = new InventoryController(this);\n explosionController = new ExplosionController(this);\n requirementsController = new RequirementsController(this);\n worldController = new WorldController(this);\n arenaController = new ArenaController(this);\n arenaController.start();\n if (CompatibilityLib.hasStatistics() && !CompatibilityLib.hasJumpEvent()) {\n jumpController = new JumpController(this);\n }\n File examplesFolder = new File(getPlugin().getDataFolder(), \"examples\");\n examplesFolder.mkdirs();\n\n File urlMapFile = getDataFile(URL_MAPS_FILE);\n File imageCache = new File(dataFolder, \"imagemapcache\");\n imageCache.mkdirs();\n maps = new MapController(this, urlMapFile, imageCache);\n\n // Initialize EffectLib.\n if (com.elmakers.mine.bukkit.effect.EffectPlayer.initialize(plugin, getLogger())) {\n getLogger().info(\"EffectLib initialized\");\n } else {\n getLogger().warning(\"Failed to initialize EffectLib\");\n }\n\n // Pre-create schematic folder\n File magicSchematicFolder = new File(plugin.getDataFolder(), \"schematics\");\n magicSchematicFolder.mkdirs();\n\n // One-time migration of legacy configurations\n migrateConfig(\"enchanting\", \"paths\");\n migrateConfig(\"automata\", \"blocks\");\n migrateDataFile(\"automata\", \"blocks\");\n\n // Ready to load\n load();\n resourcePacks.startResourcePackChecks();\n }", "private void initSprites(){\r\n try\r\n {\r\n spriteSheet = ImageIO.read (spriteSheetFile);\r\n }\r\n catch (IOException e)\r\n {\r\n System.out.println(\"SPRITE spritesheet not found\");\r\n } \r\n try\r\n {\r\n iconSheet=ImageIO.read(playerIconFile);\r\n }\r\n catch (IOException e)\r\n {\r\n System.out.println(\"PLAYERICON spritesheet not found\");\r\n } \r\n\r\n // saves images to array\r\n for(int i=0;i<3;i++){\r\n bomb[i]=new BufferedImage(32,32,BufferedImage.TYPE_INT_ARGB); \r\n bomb[i]=spriteSheet.getSubimage(i*32,6,32,32);\r\n }\r\n for(int i=0;i<4;i++){\r\n icons[i] = new BufferedImage(30,30,BufferedImage.TYPE_INT_ARGB);\r\n icons[i] = iconSheet.getSubimage(0, 31*i, 30, 30);\r\n }\r\n }", "private void initTextures() {\n\n\t\ttextureManager.loadTexture(\"PNG\", \"menu_bg\", \"res/menu_bg.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"mountain_bg\", \"res/mountain_bg.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"ball\", \"res/ball_sm.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"inner_bg1\", \"res/inner_bg1.png\");\r\n\t\ttextureManager.loadSheet(\"stand_still\", \"res/stand_still.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"testAnim\", \"res/testAnim.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"tileSet\", \"res/tileset_small.png\", 32, 32);\n\t\ttextureManager.loadSheet(\"walking\", \"res/walking.png\", 32, 64);\r\n\t\ttextureManager.loadSheet(\"jumping\", \"res/jumping.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"slime_still\", \"res/slime_still_small.png\", 32, 32);\n\t}", "@SuppressWarnings(\"static-access\")\n\tprivate void init() {\n\t\tdisplay= new Display(title,width,height);\n\t\tdisplay.getFrame().addMouseListener(mouseManager);\n\t\tdisplay.getFrame().addMouseMotionListener(mouseManager);\n\t\tdisplay.getCanvas().addMouseListener(mouseManager);\n\t\tdisplay.getCanvas().addMouseMotionListener(mouseManager);\n\n\t\t\n\t\t//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Declarare imagini~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Assets.init();\n \n\t\tgameState= new GameState(this);\n\t\tgameStateAI= new GameStateAI(this);\n\t\tmenuState = new MenuState(this);\n\t\tsettingsState= new SettingsState(this);\n\t\tState.setState(menuState);\t\n\t\t\n\t\n\t}", "@Override\n\tpublic void init () {\n\t\tframeBuffers = new FrameBuffer[getPassQuantity()];\n\t\tpassShaderProviders = new ShaderProvider[getPassQuantity()];\n\n\t\tfor (int i = 0; i < getPassQuantity(); i++) {\n\t\t\tinit(i);\n\t\t}\n\t}", "private void initSubSprites() {\n\n subSprites = new Hashtable<>();\n\n for (BrushType cT : BrushType.values()) {\n\n int x = cT.subSpr.x;\n int y = cT.subSpr.y;\n\n BufferedImage sprite = spriteSheet.getSubimage(x, y, 8, 8);\n\n subSprites.put(cT, sprite);\n }\n }", "public static void init()\n {\n\n addShapeless();\n\n addShaped();\n }", "public void initialize() {\r\n addSprite(this.info.getBackground());\r\n createBorders();\r\n defineDeathBlock();\r\n addIndicators();\r\n BlockRemover removeBlock = new BlockRemover(this, this.remainingBlocks);\r\n// this.remainingBlocks=removeBlock.getRemainingBlocks();\r\n ScoreTrackingListener scoreTrackingListener = new ScoreTrackingListener(this.score);\r\n for (int i = 0; i < info.blocks().size(); i++) {\r\n info.blocks().get(i).addHitListener(removeBlock);\r\n info.blocks().get(i).addHitListener(scoreTrackingListener);\r\n info.blocks().get(i).addToGame(this);\r\n }\r\n }", "protected void initialize() {\n \tsetShowStartScreen(false);\n \t\n \t// do not preload resources, for this very simple game\n \t// preloadResources();\n \t\n \t// Max number of balls is just 17\n \tchains.setMaxBalls(17);\n }", "public void init() {\n if (!getLocation().isTileMap()) {\n //Debug.signal( Debug.NOTICE, null, \"PlayerImpl::init\");\n this.animation = new Animation(this.wotCharacter.getImage(), ClientDirector.getDataManager().getImageLibrary());\n this.sprite = (Sprite) this.wotCharacter.getDrawable(this);\n this.brightnessFilter = new BrightnessFilter();\n this.sprite.setDynamicImageFilter(this.brightnessFilter);\n }\n this.movementComposer.init(this);\n }", "public void initSpriteSheet() {\n\t\tString url = \"https://amiealbrecht.files.wordpress.com/2016/08/set-cards.jpg?w=1250\";\n\n\t\tcimg = loadImage(url, \"png\");\n\t}", "public static void init(){\n for(EOres ore: EOres.values()){\n new TileOre(ore).register();\n }\n \n for(EOres ore : EOres.values()){\n addDependencyForOre(ore.name());\n }\n }", "protected void init() {\n splashImg = new Texture(\"splash.png\");\n }", "public void initialiseAvatars() {\n\n\t\timage1 = null;\n\t\timage2 = null;\n\t\timage3 = null;\n\t\timage4 = null;\n\t\timage5 = null;\n\t\timage6 = null;\n\n\t\ttry {\n\t\t\timage1 = new Image(new FileInputStream(\"avatars/avatar1.png\"));\n\t\t\timage2 = new Image(new FileInputStream(\"avatars/avatar2.png\"));\n\t\t\timage3 = new Image(new FileInputStream(\"avatars/avatar3.png\"));\n\t\t\timage4 = new Image(new FileInputStream(\"avatars/avatar4.png\"));\n\t\t\timage5 = new Image(new FileInputStream(\"avatars/avatar5.png\"));\n\t\t\timage6 = new Image(new FileInputStream(\"avatars/avatar6.png\"));\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tav1.setImage(image1);\n\t\tav2.setImage(image2);\n\t\tav3.setImage(image3);\n\t\tav4.setImage(image4);\n\t\tav5.setImage(image5);\n\t\tav6.setImage(image6);\n\n\t}", "public void initialize() {\n // create a runner using a function\n this.createScreenBorders();\n // create a keyboard sensor.\n this.keyboard = this.runner.getGUI().getKeyboardSensor();\n //create the environment for the game (game environment and sprites collection)\n this.createEnvironment();\n // BACKGROUND CREATION //\n this.createBackground();\n // create the counters for the game.\n this.createCounters();\n // LISTENERS CREATION //\n //create a message printing listener.\n HitListener phl = new PrintingHitListener();\n //create a new block remover listener.\n HitListener blockrmv = new BlockRemover(this, blockCounter);\n //create a new ball remover listener.\n HitListener ballrmv = new BallRemover(this, ballCounter);\n //create a new score counter listener.\n HitListener scorelstn = new ScoreTrackingListener(this.scoreCounter);\n // BLOCKS CREATION //\n this.createBlocks(phl, blockrmv, scorelstn);\n // SIDE BLOCKS CREATION //\n this.createSideBlocks();\n // DEATH BLOCK CREATION //\n this.createDeathBlock(ballrmv);\n // LEVEL'S NAME //\n LevelsName name = new LevelsName(this.levelInfo.levelName());\n // add the whole-game indicators to the sprites list.\n this.sprites.addSprite(scoreIndi);\n this.sprites.addSprite(lifeIndi);\n this.sprites.addSprite(name);\n }", "private static void loadSprites(){\n \t\tshipSprites.put(\"SCOUT_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/colonizer.png\"), 0.5f, 0.5f));\n \t\t\n \t\t/*\n \t\t * Ships Red Player\n \t\t */\n \t\tshipSprites.put(\"SCOUT_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/colonizer.png\"), 0.5f, 0.5f));\n \n \t\t/*\n \t\t * Path Arrows\n \t\t */\n\t\tpathTextures.put(\"HEAD\", Toolkit.getDefaultToolkit().getImage(\"res/path/head.png\"));\n\t\tpathTextures.put(\"START\", Toolkit.getDefaultToolkit().getImage(\"res/path/start.png\"));\n\t\tpathTextures.put(\"STRAIGHT\", Toolkit.getDefaultToolkit().getImage(\"res/path/straight.png\"));\n\t\tpathTextures.put(\"TURN\", Toolkit.getDefaultToolkit().getImage(\"res/path/turn.png\"));\n \t\t\n \t\t/*\n \t\t * Planets\n \t\t */\n \t\tmetalplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_0.png\"), 0.5f, 0));\n \t\tmetalplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_1.png\"), 0.5f, 0));\n \t\tmetalplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_2.png\"), 0.5f, 0));\n \t\tmetalplanets.put(3, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_3.png\"), 0.5f, 0));\n \t\tgasplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_0.png\"), 0.5f, 0));\n \t\tgasplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_1.png\"), 0.5f, 0));\n \t\tgasplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_2.png\"), 0.5f, 0));\n \t\t\n \t\t/*\n \t\t * Colony Sprite\n \t\t */\n \t\tloadColonySprites(Color.RED, \"RED\");\n \t\tloadColonySprites(Color.BLUE, \"BLUE\");\n \t}", "public void init() {\n\t\tfor(int i = 0; i < roamingAliens; ++i) {\n\t\t\tAlien alien = new Alien(ColorUtil.MAGENTA, screenHeight, screenWidth, speed, speedMulti);\n\t\t\tgameObject.add((GameObject) alien); \n\t\t}\n\t\tfor(int i = 0; i < roamingAstronauts; ++i) {\n\t\t\tAstronaut astronaut = new Astronaut(ColorUtil.GREEN, screenHeight, screenWidth, speed, speedMulti);\n\t\t\tgameObject.add((GameObject) astronaut);\n\t\t}\n\t\tgameObject.add((Spaceship.getSpaceship()));\n\t\tthis.setChanged();\n\t\tthis.notifyObservers();\n\t\tthis.clearChanged();\n\t}", "private void init() {\n healthBars = new TextureAtlas( Gdx.files.internal( \"health/health.pack\" ) );\n buildUIElements();\n }", "public static void init() {\n\t\tregisterRecipes();\n\t\tregisterShapelessRecipes();\n\t\tregisterSmeltingRecipes();\n\t}", "protected void initialize() {\n // Attribute Load\n this.attributeMap.clear();\n this.attributeMap.putAll(this.loadAttribute());\n // RuleUnique Load\n this.unique = this.loadRule();\n // Marker Load\n this.marker = this.loadMarker();\n // Reference Load\n this.reference = this.loadReference();\n }", "private void initImageLoader() {\n ImageLoaderConfiguration.Builder config = new ImageLoaderConfiguration.Builder(this);\n config.threadPriority(Thread.NORM_PRIORITY - 2);\n config.denyCacheImageMultipleSizesInMemory();\n config.diskCacheFileNameGenerator(new Md5FileNameGenerator());\n config.diskCacheSize(50 * 1024 * 1024); // 50 MiB\n config.tasksProcessingOrder(QueueProcessingType.LIFO);\n // Initialize ImageLoader with configuration.\n ImageLoader.getInstance().init(config.build());\n }", "private void manageLoaders() {\n\n // note: null is used in place of a Bundle object since all additional\n // parameters for Loader are global variables\n\n // get LoaderManager and initialise the loader\n if (getSupportLoaderManager().getLoader(LOADER_ID_01) == null) {\n getSupportLoaderManager().initLoader(LOADER_ID_01, null, this);\n } else {\n getSupportLoaderManager().restartLoader(LOADER_ID_01, null, this);\n }\n }", "void init() {\n\t\tinitTypes();\n\t\tinitGlobalFunctions();\n\t\tinitFunctions();\n\t\tinitClasses();\n\t}", "private void buildSprites() {\n\t\tSpriteRotatable sprite = new SpriteRotatable(new Vec2f(0, 0), 1);\n\t\tsprite.setCentered(true);\n\t\tspriteManager.addSprite(sprite, \"avenger.png\");\n\t\tsprite.setVisible(true);\n\t\ttarget = new SpriteRotatable(new Vec2f(2, 2), 1);\n\t\ttarget.setCentered(true);\n\t\tspriteManager.addSprite(target, \"fighter.png\");\n\t\ttarget.setVisible(true);\n\n\t}", "public static void init() {\r\n load();\r\n registerEventListener();\r\n }", "private void init_all() \r\n\t{\r\n\t\tinit_draw_line();\r\n\t\tinit_free_hand_draw();\r\n\t}", "private void init() {\n\t\tdisplay = new Display(title, width, height);\n\t\tdisplay.getFrame().addKeyListener(keyManager); //lets us access keyboard\n\t\tdisplay.getFrame().addMouseListener(mouseManager);\n\t\tdisplay.getFrame().addMouseMotionListener(mouseManager);\n\t\tdisplay.getCanvas().addMouseListener(mouseManager);\n\t\tdisplay.getCanvas().addMouseMotionListener(mouseManager);\n\t\tAssets.init();\n\t\t\n\t\tgameCamera = new GameCamera(this, 0,0);\n\t\thandler = new Handler(this);\n\t\t\n\t\tgameState = new GameState(handler);\n\t\tmenuState = new MenuState(handler);\n\t\tsettingState = new SettingState(handler);\n\t\tmapState = new mapState(handler);\n\t\tmansionState = new mansionState(handler);\n\t\tparkState = new parkState(handler);\n\t\tjazzState = new jazzState(handler);\n\t\tmansionGardenState = new mansionGardenState(handler);\n\t\tmansionArcadeState = new mansionArcadeState(handler);\n\t\tmansionStudyState = new mansionStudyState(handler);\n\t\tjazzPRoomState = new jazzPRoomState(handler);\n\t\tState.setState(menuState);\n\t}", "public void initialize() {\n\t\tinitialiseAvatars();\n\t\tcreateAccountButton.setOnAction(e -> createAccount());\n\t\topenGeneratorButton.setOnAction(e -> openCustomPictureCreator());\n\n\t\tavatar1.setOnAction(e -> updateAvatar(1));\n\t\tavatar2.setOnAction(e -> updateAvatar(2));\n\t\tavatar3.setOnAction(e -> updateAvatar(3));\n\t\tavatar4.setOnAction(e -> updateAvatar(4));\n\t\tavatar5.setOnAction(e -> updateAvatar(5));\n\t\tavatar6.setOnAction(e -> updateAvatar(6));\n\n\t\tavatarIndex = 1;\n\t}", "public static void initClasses() {\n\t // base class must be initialized first\n\t \t SoAction.initClass();\n\t \t \n\t \t SoCallbackAction.initClass();\n\t \t SoGLRenderAction.initClass();\n\t \t SoGetBoundingBoxAction.initClass();\n\t \t SoGetMatrixAction.initClass();\n\t \t SoGetPrimitiveCountAction.initClass();\n\t \t SoHandleEventAction.initClass();\n\t \t SoPickAction.initClass();\n\t \t SoRayPickAction.initClass();\n\t \t SoSearchAction.initClass();\n\t \t SoWriteAction.initClass();\n\t \t \t \t\n\t }", "private void init() throws IOException {\n //Initializing a new Display\n this.display = new Display(title, width, height);\n this.background = new SpriteSheet(gfx.loader(\"/images/RoadTile3.png\"));\n this.inputHandler = new InputHandler(this.display);\n Assets.init();\n\n gameState = new GameState();\n StateManager.setState(gameState);\n\n player = new Player();\n enemies = new ArrayList<>();\n }", "public void initialize(){\n\t screens.put(ScreenType.Game, new GameScreen(this));\n screens.put(ScreenType.Menu, new MenuScreen(this));\n }", "private void initEntities() {\n\t\tship = new ShipEntity(this,\"ship.gif\",370,550);\n\t\tentities.add(ship);\n\t\tscore = 0;\n\t\t// create a block of aliens (5 rows, by 12 aliens, spaced evenly)\n\t\talienCount = 0;\n\t\tfor (int row=0;row<5;row++) {\n\t\t\tfor (int x=0;x<12;x++) {\n\t\t\t\tEntity alien = new AlienEntity(this,\"alien.gif\",100+(x*50),(50)+row*30);\n\t\t\t\tentities.add(alien);\n\t\t\t\talienCount++;\n\t\t\t}\n\t\t}\n\t}", "private void initImages() throws SlickException {\n\t\t// laser images\n\t\tlaserbeamimageN = new Image(\"resources/images_Gameplay/laserBeam_Norm.png\");\n\t\tlaserbeamimageA = new Image(\"resources/images_Gameplay/laserBeam_Add.png\");\n\t\tlasertipimageN = new Image(\"resources/images_Gameplay/laserTip_Norm.png\");\n\t\tlasertipimageA = new Image(\"resources/images_Gameplay/laserTip_Add.png\");\n\t}", "static void init() {\n\t\tContainerProviderRegistry.INSTANCE.registerFactory(ROCKET_CRATE_CONTAINER,\n\t\t\t\t(syncId, id, player, buf) -> new RocketCrateScreenHandler(syncId, buf.readInt(), player.inventory));\n\t\tContainerProviderRegistry.INSTANCE.registerFactory(LAUNCH_PAD_CONTAINER,\n\t\t\t\t(syncId, id, player, buf) -> new LaunchPadScreenHandler(syncId, buf.readBlockPos(), player.inventory));\n\t\tContainerProviderRegistry.INSTANCE.registerFactory(CONTRACT_MACHINE,\n\t\t\t\t(syncId, id, player, buf) -> new ContractMachineScreenHandler(syncId, buf.readBlockPos(), player.inventory));\n\t}", "public static void classInit(){\n //set up font\n //font = WurfelEngine.getInstance().manager.get(\"com/BombingGames/WurfelEngine/EngineCore/arial.fnt\"); //load font\n font = new BitmapFont(false);\n //font.scale(2);\n\n\n font.setColor(Color.GREEN);\n //font.scale(-0.5f);\n \n //load sprites\n Block.loadSheet();\n addInputProcessor(staticStage);\n skin = new Skin(Gdx.files.internal(\"com/BombingGames/WurfelEngine/Core/skin/uiskin.json\"));\n GameplayScreen.msgSystem().viewInit(skin,Gdx.graphics.getWidth()/2, Gdx.graphics.getHeight()/4);\n }", "synchronized public void initGfx()\n {\n // Points for initial sprite placement\n Point p1, p2, p3;\n\n p1 = getMainPoint();\n p2 = getRandomMiniPoint();\n p3 = getRandomMiniPoint();\n\n // Reset score\n score = 0;\n\n // Reset text for score\n ((TextView)findViewById(R.id.the_score_label)).setText(\"SCORE: 0\");\n\n // Set main sprite\n ((GameBoard)findViewById(R.id.the_canvas)).setMainSprite(p1.x, p1.y);\n\n // Set mini sprites\n ((GameBoard)findViewById(R.id.the_canvas)).setMiniSprite(p2.x, p2.y);\n ((GameBoard)findViewById(R.id.the_canvas)).setMiniSprite2(p3.x, p3.y);\n\n // Set game over sprite to outside screen\n ((GameBoard) findViewById(R.id.the_canvas)).setOverSprite(-2000, -2000);\n\n // Enable reset button\n ((Button)findViewById(R.id.reset_button)).setEnabled(true);\n\n frame.removeCallbacks(frameUpdate);\n ((GameBoard)findViewById(R.id.the_canvas)).invalidate();\n frame.postDelayed(frameUpdate, FRAME_RATE);\n }", "private void initClassloaders() {\n\t\tthis.commonloader = createClassloader(\"common\",null);\n\t\tthis.sharedloader = createClassloader(\"shared\", commonloader);\n\t\tthis.catalinaloader = createClassloader(\"server\", commonloader);\n\t}", "protected void initializeInstances() {\n if (mUser == null) {\n mUser = new User(getApplicationContext());\n }\n if (mUserCache == null) {\n mUserCache = new UserCache();\n }\n if(mGlobalGroupContainer == null) {\n mGlobalGroupContainer = new GroupContainer(getApplicationContext());\n }\n if(mGlobalHistoryContainer == null) {\n mGlobalHistoryContainer = new HistoryContainer(getApplicationContext());\n }\n\n if(mGlobalContactContainer == null) {\n mGlobalContactContainer = new ContactContainer(getApplicationContext());\n mGlobalContactContainer.setContactSortKey(Contact.UserSortKey.USER_FIRST_NAME);\n }\n }", "public static void initImageLoader() {\n }", "private void init()\n {\n batch = new SpriteBatch();\n \n camera = new OrthographicCamera(Constants.VIEWPORT_WIDTH, Constants.VIEWPORT_HEIGHT);\n camera.position.set(0, 0, 0);\n camera.update();\n \n cameraGui = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH, Constants.VIEWPORT_GUI_HEIGHT);\n cameraGui.position.set(0, 0, 0);\n cameraGui.setToOrtho(true); // flip y-axis\n cameraGui.update();\n \n cameraBg = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH, Constants.VIEWPORT_GUI_HEIGHT);\n cameraBg.position.set(0, 0, 0);\n //cameraBg.setToOrtho(true);\n cameraBg.update();\n \n b2Debug = new Box2DDebugRenderer();\n }", "private void init () \n\t{ \n\t\tbatch = new SpriteBatch();\n\t\tcamera = new OrthographicCamera(Constants.VIEWPORT_WIDTH,\n\t\t\tConstants.VIEWPORT_HEIGHT);\n\t\tcamera.position.set(0, 0, 0);\n\t\tcamera.update();\n\t\tcameraGUI = new OrthographicCamera(Constants.VIEWPORT_GUI_WIDTH,\n\t\t\t\tConstants.VIEWPORT_GUI_HEIGHT);\n\t\tcameraGUI.position.set(0, 0, 0);\n\t\tcameraGUI.setToOrtho(true); // flip y-axis\n\t\tcameraGUI.update();\n\t\t\n\t\tb2debugRenderer = new Box2DDebugRenderer();\n\t}", "@SuppressWarnings(\"unchecked\")\n protected AbstractTextureManager() {\n lastAtlasIndex = new ArrayList<Integer>();\n expectedAtlasCount = new ArrayList<Integer>();\n rootDirectories = new ArrayList<String>();\n textures = new HashMap<String, Texture>();\n }", "public Game_classes_init(Context context){\n game_class_init_context = context;\n\n init_game_classes();\n }", "@Override\n public void init() {\n GetSprite(\"/images/bullet.png\");\n MusicUtils.StopASounds(\"/music/Laser_Shoot.wav\");\n Level().play(\"/music/Laser_Shoot.wav\");\n }", "public static void initialize()\n {\n CHUNK_LOADER = new ChunkLoader();\n //VILLAGE_INDICATOR = new VillageIndicator();\n\n BLOCK_LIST.add(CHUNK_LOADER);\n //BLOCK_LIST.add(VILLAGE_INDICATOR);\n Log.info(\"=========================================================> Initialized Blocks\");\n }", "public void initImageLoader() {\n if (!ImageLoader.getInstance().isInited()) {\n ImageLoaderConfiguration config = ImageLoaderConfiguration.createDefault(getActivity().getApplicationContext());\n ImageLoader.getInstance().init(config);\n }\n }", "public void init() {\n\t\tbg = new MyImg(\"gamepage/endgame/bg.png\");\n\t\tbut0 = new MyImg(\"paygame/qdbut.png\");\n\t\tbut1 = new MyImg(\"paygame/qxbut.png\");\n\t}", "protected void initialize() {\n\t\tthis.position = Point3D.ZERO;\n\t\t// reset subclasses properties if any\n\t\treset();\n\t}", "public static void init() {\n\t\tdrive = Drive.getInstance();\n\t\toi = OI.getInstance();\n\t\tshooter = Shooter.getInstance();\n\t\tarmservo = ArmServo.getInstance();\n\t\t//pneumatic = Pneumatic.getInstance();\n\t\tarmMotor = ArmMotor.getInstance();\n\t\tramp = RampMotor.getInstance();\n\t\tif(shooter == null) {\n\t\t\tSystem.out.println(\"Shooter in NULL in init\");\n\t\t}\n\t\t\n\t}", "private void initManagers() {\n\t\t// TODO Auto-generated method stub\n\t\tvenueManager = new VenueManager();\n\t\tadView = new AdView(this, AdSize.SMART_BANNER,\n\t\t\t\tConstants.AppConstants.ADDMOB);\n\t\tanimationSounds = new AnimationSounds(VenuesActivity.this);\n\n\t}", "public static void init() {\n Handler.log(Level.INFO, \"Loading Blocks\");\n\n oreAluminum = new BaseOre(Config.oreAluminumID).setUnlocalizedName(Archive.oreAluminum)\n .setHardness(3.0F).setResistance(5.0F);\n\n blockGrinder = new BaseContainerBlock(Config.blockGrinderID, Archive.grinderGUID)\n .setUnlocalizedName(Archive.blockGrinder);\n\n blockOven = new BaseContainerBlock(Config.blockOvenID, Archive.ovenGUID)\n .setUnlocalizedName(Archive.blockOven);\n }", "private void init() {\n display = new Display(title, getWidth(), getHeight()); \n Assets.init();\n player = new Player(getWidth() / 2 - 50, getHeight() - 50, 100, 30, this);\n rayo = new Rayo(getWidth() / 2 - 10, player.y - player.height , 10, 30, 0, 0, this);\n borrego = new Borrego(-80, 60 , 50, 20, 0, 0, this);\n generateEnemies();\n generateFortalezas();\n bombas= new ArrayList<Bomba>();\n \n \n display.getJframe().addKeyListener(keyManager);\n }", "public void init() {\n\t\tfor (Node node : nodes)\n\t\t\tnode.init();\n\t}", "public void init() {\n initLayers();\n for (int i = 0; i < indivCount; i++) {\n ArrayList<Layer> iLayers = new ArrayList<>();\n for (Layer l : layers)\n iLayers.add(l.cloneSettings());\n individuals[i] = new Individual(iLayers);\n }\n }", "protected void initialize() {\n\t\tthis.initializeFileMenu();\n\t\tthis.initializeEditMenu();\n\t\tthis.initializeNavigationMenu();\n\t\tthis.initializeHelpMenu();\n\t}", "private void init() {\n filmCollection = new FilmCollection();\n cameraCollection = new CameraCollection();\n }", "public static void load(){\r\n\t \ttry {\r\n\t \t\t// load and set all sprites\r\n\t\t\t\tsetBlueGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/blueGarbage.png\")));\r\n\t\t\t\tsetRank(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/rank.png\")));\r\n\t\t\t\tsetRedGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/redGarbage.png\")));\r\n\t\t\t\tsetYellowGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/yellowGarbage.png\")));\r\n\t\t\t\tsetGreenGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/greenGarbage.png\")));\r\n\t\t\t\tsetBlueSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/blueSnakeBodyPart.png\")));\r\n\t\t\t\tsetRedSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/redSnakeBodyPart.png\")));\r\n\t\t\t\tsetYellowSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/yellowSnakeBodyPart.png\")));\r\n\t\t\t\tsetGreenSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/greenSnakeBodyPart.png\")));\r\n\t\t\t\tsetHeart(ImageIO.read(classPath.getResourceAsStream(\"/images/heart.png\")));\r\n\t\t\t\tsetGameScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameScreenBackground.png\")));\r\n\t\t\t\tsetGameScreenHeader(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameScreenHeader.png\")));\r\n\t\t\t\tsetGameOver(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameOver.png\")));\r\n\t\t\t\tsetHitsOwnBody(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/hitsOwnBody.png\")));\r\n\t\t\t\tsetHitsWall(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/hitsWall.png\")));\r\n\t\t\t\tsetWrongColor(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/wrongColor.png\")));\r\n\t\t\t\tsetHelpScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/helpScreenBackground.png\")));\r\n\t\t\t \tsetWarningScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/warningScreenBackground.png\")));\r\n\t\t\t \tsetOkButton(ImageIO.read(classPath.getClass().getResource(\"/images/okButton.png\")));\r\n\t\t\t \tsetMenuScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/menuScreenBackground.png\")));\r\n\t\t\t\tsetStartButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/startButton.png\")));\r\n\t\t\t\tsetExitButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/exitButton.png\")));\r\n\t\t\t\tsetHelpButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/helpButton.png\")));\r\n\t\t\t\t\r\n\t \t} \r\n\t \tcatch (Exception e) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e.getStackTrace(), \"Erro ao carregar imagens\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t\r\n\t\t\t}\t\r\n \t\r\n \t}", "public void Init(){\n\t\trequestFocus();\n\t\tBufferedImageLoader loader = new BufferedImageLoader();\t\t// Class to load images\n\t\ttry {\n\t\t\tBackGround = loader.loadImage(\"/Scroll Small.png\");\t\t// Load background\n\t\t} catch (IOException e) {e.printStackTrace();}\n\t\t\n\t\ttext = new Text(this);\n\t\tren = new Render(screenHeight, screenWidth);\n\t\titems = ItemManager.getInstance();\n\t\tmon = MonsterManager.getInstance(this, text);\n\t\trooms = RoomManager.getInstance(items, mon);\n\t\trep = new Reponses(this, text, rooms);\n\t\tthis.addKeyListener(new KeyInput(this, mon));\t\t\t\t// Keyboard input\n\t\tthis.addMouseListener(new MouseInput(this, text, screenHeight, screenWidth)); // Mouse input\n\t\t\n\t\troom = rooms.x2y3;\t\t\t\t// Set starting location\n\t\t\n\t\trender(); render(); render();\t// Render screen\n\t}", "public void initializeMixer() {\n\t\tinitializeSlidersAndTextFields();\n\t\tinitializeTooltips();\n\t\tinitializeRecorderListener();\n\t}", "public void initMap() {\r\n\r\n\t\tproviders = new AbstractMapProvider[3];\t\r\n\t\tproviders[0] = new Microsoft.HybridProvider();\r\n\t\tproviders[1] = new Microsoft.RoadProvider();\r\n\t\tproviders[2] = new Microsoft.AerialProvider();\r\n\t\t/*\r\n\t\t * providers[3] = new Yahoo.AerialProvider(); providers[4] = new\r\n\t\t * Yahoo.RoadProvider(); providers[5] = new OpenStreetMapProvider();\r\n\t\t */\r\n\t\tcurrentProviderIndex = 0;\r\n\r\n\t\tmap = new InteractiveMap(this, providers[currentProviderIndex],\r\n\t\t\t\tUtilities.mapOffset.x, Utilities.mapOffset.y,\r\n\t\t\t\tUtilities.mapSize.x, Utilities.mapSize.y);\r\n\t\tmap.panTo(locationUSA);\r\n\t\tmap.setZoom(minZoom);\r\n\r\n\t\tupdateCoordinatesLimits();\r\n\t}", "public void init() {\r\n\t\tsuper.init();\r\n\t\tfor (int i = 0; i < _composites.size(); i++) {\r\n\t\t\t_composites.get(i).init();\t\t\t\r\n\t\t} \r\n\t}", "@Override\n\tpublic void init() {\n\t\tthis.image = Helper.getImageFromAssets(AssetConstants.IMG_ROAD_NORMAL);\n\t}", "public void init() {\n\t\t// Image init\n\t\tcharacter_static = MainClass.getImage(\"\\\\data\\\\character.png\");\n\t\tcharacter_static2 = MainClass.getImage(\"\\\\data\\\\character2.png\");\n\t\tcharacter_static3 = MainClass.getImage(\"\\\\data\\\\character3.png\");\n\t\t\n\t\tcharacterCover = MainClass.getImage(\"\\\\data\\\\cover.png\");\n\t\tcharacterJumped = MainClass.getImage(\"\\\\data\\\\jumped.png\");\n\t\t\n\t\t// Animated when static.\n\t\tthis.addFrame(character_static, 2000);\n\t\tthis.addFrame(character_static2, 50);\n\t\tthis.addFrame(character_static3, 100);\n\t\tthis.addFrame(character_static2, 50);\n\t\t\n\t\tthis.currentImage = super.getCurrentImage();\n\t}", "private void initialize() {\n\t\troot = new Group();\n\t\tgetProperties();\n\t\tsetScene();\n\t\tsetStage();\n\t\tsetGUIComponents();\n\t}", "private void initLevel(){\r\n\t\tBetterSprite doodleSprite = (BetterSprite)(getGroup(\"doodleSprite\").getSprites()[0]);\r\n\t\tinitControls(doodleSprite);\r\n\t\tinitEvents();\r\n\t}", "@PostConstruct\n\tprotected void init() {\n\t\tLOGGER.info(\"GalleryModel init Start\");\n\t\tcharacterList.clear();\n\t\ttry {\n\t\t\tif (resource != null && !resource.getPath().contains(\"conf\")) {\n\t\t\t\t\tresolver = resource.getResourceResolver();\n\t\t\t\t\thomePagePath=TrainingHelper.getHomePagePath(resource);\n\t\t\t\t\tif(homePagePath!=null){\n\t\t\t\t\tlandinggridPath = homePagePath;\n\t\t\t\t\tif (!linkNavigationCheck) {\n\t\t\t\t\t\tlinkNavOption = \"\";\n\t\t\t\t\t}\n\t\t\t\t\tcheckLandingGridPath();\n\t\t\t\t\tif (!\"products\".equals(galleryFor)) {\n\t\t\t\t\t\tcharacterList = tileGalleryAndLandingService.getAllTiles(landinggridPath, galleryFor, \"landing\",\n\t\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLOGGER.error(\"Exception Occured\", e);\n\t\t}\n\t\tLOGGER.info(\"GalleryModel init End\");\n\t}", "public void init () {\n\t\tshaderProgram.addUniform(TEXTURE_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(SCALING_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(TRANSLATION_UNIFORM_KEY);\n\t\tshaderProgram.addUniform(POSITION_UNIFORM_KEY);\n\t}", "private void init() {\n\t\tcircle.init();\n\n\t\tcircle.startCircle();\n\t\tboard.startUpdating();\n\t}", "public void init() {\n \tpidControllers.add(leftMotorPID);\n\t\tpidControllers.add(rightMotorPID);\n\t\tpidControllers.add(leftMiniCIMMotorPID);\n\t\tpidControllers.add(rightMiniCIMMotorPID);\n\t\t\n \tgyro.initGyro();\n \tgyro.setSensitivity(RobotMap.gyroGain);\n \tgyro.calibrate();\n }", "@Override\n public void init() {\n super.init();\n prev1 = new Gamepad();\n prev2 = new Gamepad();\n armExtended = false;\n\n glyphLiftState = GlyphLiftState.ASCENDING;\n }", "private void init() {\n\t\t\n\t\tdisplay = new Display(title, width, height);\n\t\tdisplay.getFrame().addKeyListener(keyManager);\n\t\tdisplay.getFrame().addMouseListener(mouseManager);\n\t\tdisplay.getFrame().addMouseMotionListener(mouseManager);\n\t\t\n\t\t//Adding the mouseManager to the canvas reduces glitches\n\t\tdisplay.getCanvas().addMouseListener(mouseManager); \n\t\tdisplay.getCanvas().addMouseMotionListener(mouseManager);\n\t\t\n\t\t\n\t\tVisuals.init();\n\n\t\tManager.init(this); // Setting up our manager singleton\n\n\t\tgameCamera = new GameCamera(0, 0);\n\t\tgameTimer = new GameTimer();\n\n\t\tgameState = new GameState();\n\t\t//We want to initialise the states we may switch to for easy access\n\t\t//The main menu state\n\t\tState menuState = new MenuState();\n\t\t//The state for the settings menu\n\t\tState settingState = new SettingState();\n\t\t\n\t\tState.setState(gameState); //This sets the state of the program to our game\n\t\t\n\t}", "public void init() throws IOException\n\t{\n\t\tString pth = \"\";\n\t\tif(normal)\n\t\t{\n\t\t\tpth = \"Assets\\\\Art\\\\Tiles\\\\\";\n\t\t}\n\t\ttry\n\t\t{\n\t\t\ttexture = TextureLoader.getTexture(\"PNG\", ResourceLoader.getResourceAsStream(pth+path));\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\ttexture = TextureLoader.getTexture(\"PNG\", ResourceLoader.getResourceAsStream(pth+\"default.png\"));\n\t\t}\n\n\t\theight = texture.getImageHeight();\n\t\twidth = texture.getImageWidth();\n\t\tRandom rand = new Random();\n\t\tthis.identity = rand.nextInt();\n\t\ta = new AudioController();\n\t\t\n\t}", "private void init()\n {\n holder = getHolder();\n holder.addCallback(this);\n holder.setType(SurfaceHolder.SURFACE_TYPE_GPU);\n }", "public void initialize() {\n\t\tthis.avatar = new Avatar();\n\t\tthis.pellet = new Pellet(HEIGHT, WIDTH);\n\t\tthis.wall = new Wall(HEIGHT, WIDTH);\n\n\t\t// notifies the user about the controls\n\t\tSystem.out.println(\"\\nGame controls:\");\n\t\tSystem.out.println(\"w --> move up, s --> move down, a --> move left, d --> move right\");\n\t\tSystem.out.println(\"e --> exit the game\");\n\t\t\n\t\t// display the initial score and location\n\t\tSystem.out.println(\"\\nAvatar location: \" + avatar.getLocation().getX() + \",\" + avatar.getLocation().getY());\n System.out.println(\"Points: \" + avatar.getScore());\n\t}", "public ResourceManager(GraphicsConfiguration gc) {\n this.gc = gc;\n loadTileImages();\n loadCreatureSprites();\n loadPowerUpSprites();\n }", "public void initialize() {\n\t\ttoolBar.setDrawingPanel(this.drawingPanel);\r\n\t\t//component initialize\r\n\t\tmenuBar.initialize();\r\n\t\ttoolBar.initialize();\r\n\t\tdrawingPanel.initialize();\r\n\t\t\r\n\t}", "private void initialize() {\n\t\tdisenioVentana();\n\n\t\tdisenioMenu();\n\n\t\tdisenio_Cuerpo();\n\n\t}", "private void initImageLoader() {\n UniversalImageLoader universalImageLoader = new UniversalImageLoader(mContext);\n ImageLoader.getInstance().init(universalImageLoader.getConfig());\n }", "@Override\r\n\tpublic void init() {\n\t\timg = new ImageClass();\r\n\t\timg.Init(imgPath);\r\n\t}", "public void resetSprites() {\n\t\tSPRITE_LIST.clear();\n\t}", "public void initialize() {\n sceneSwitch = SceneSwitch.getInstance();\n addTypes();\n }", "@Override\n public void init(GameContainer gc, StateBasedGame stateBasedGame) throws SlickException {\n //Clear all all objects & add them again\n objects.clear();\n objects.add(new Tower());\n objects.add(new Player());\n objects.add(new Enemy());\n\n //Clear the lists\n bulletList.clear();\n enemies.clear();\n basicTowers.clear();\n sniperTowers.clear();\n quickTowers.clear();\n bomberTowers.clear();\n\n //Set the variables when the state is initialized\n enemyCounter = 10;\n enemyHPCounter = 5;\n currentLevel = 0;\n sellTower = false;\n upgradePressed = false;\n timePassedEnemy = 0;\n\n //Loads this seperate, else the map is over-riding all drawn during the game\n loadMap.init(gc, stateBasedGame);\n\n //Run init for all objects\n for (GameObject obj : objects) {\n obj.init(gc, stateBasedGame);\n }\n\n java.awt.Font font = new java.awt.Font(\"Agency FB\", java.awt.Font.BOLD, 16);\n pauseFont = new TrueTypeFont(font,false);\n\n }", "public void init()\n\t{\n\t\taddKeyListener(this);\n\t\taddMouseListener(this);\n\t\taddMouseMotionListener(this);\n\t\n\t}", "private void loadSpritesheet() {\n\t\tobjects = new SpriteSheet(\"res\\\\pong.png\");\n\t\tobjects_hires = new SpriteSheet(\"res\\\\ponghires.png\",\n\t\t\t\tSpriteSheet.LINEAR);\n\t}", "public static void init()\n {\n all = new HashMap<String, Player>();\n all.put(\"oli\", new Player(null));\n }", "public void init(){\n\t\n\t\t//background init\n\t\tthis.background = new Sprite(this.scene, \"space-backdrop.png\", 1280 * 5, 800 * 5);\n\t\tthis.background.setBoundAction(\"background\");\n\t\tthis.background.setSpeedScale(0.2);\n\t\tthis.background.setSpeed(0);\n\t\tthis.sprites.add(this.background);\n\t\t\n\t\t//compass init\n\t\tthis.compass = new Sprite(this.scene, \"compass.png\", 100, 100);\n\t\tthis.compass.setSpeed(0);\n\t\tthis.compass.setPosition(this.compass.getWidth() / 2, this.scene.getHeight() - this.compass.getHeight() / 2);\n\t\t\n\t\t//earth init\n\t\tthis.earth = new Planet(this.scene, \"earth.png\", 4800, 4800);\n\t\tthis.earth.setSpeed(0);\n\t\tthis.earth.setPosition(0, 7000);\n\t\tthis.earth.setBoundAction(\"continue\");\n\t\tthis.sprites.add(this.earth);\n\t\t\n\t\t//ship init\n\t\tthis.mainSprite = new Ship(this.scene, \"cannon.png\", 50, 50, this.k);\n\t\tthis.mainSprite.keyListen = true;\n\t\tthis.mainSprite.setSpeed(0);\n\t\tthis.mainSprite.setPosition(this.scene.getWidth() / 2, this.scene.getHeight() / 2);\n\t\t\n\t\t//asteroids init\n\t\tthis.asteroids.add(new Body(this.scene, \"asteroid.png\", 250, 250, this));\n\t\tthis.asteroids.get(0).setBoundAction(\"continue\");\n\t\tthis.asteroids.get(0).setSpeed(0);\n\t\tthis.asteroids.get(0).setPosition(0, 0);\n\t\tthis.sprites.add(this.asteroids.get(0));\n\t\t\n\t\tfor(int i = 1; i < 200; i++){\n\t\t\t\n\t\t\tint size = (int) Math.round(Math.random() * 400 + 50);\n\t\t\tlong x = Math.round(Math.random() * this.background.getWidth() - (this.background.getWidth() / 2));\n\t\t\tlong y = Math.round(Math.random() * this.background.getHeight() - (this.background.getHeight() / 2));\n\t\t\t\n\t\t\twhile(x > 0 && x < this.scene.getWidth()){\n\t\t\t\tx = Math.round(Math.random() * this.background.getWidth() - (this.background.getWidth() / 2));\n\t\t\t}\n\t\t\t\n\t\t\twhile(y > 0 && y < this.scene.getHeight()){\n\t\t\t\ty = Math.round(Math.random() * this.background.getHeight() - (this.background.getHeight() / 2));\n\t\t\t}\n\t\t\t\n\t\t\tthis.asteroids.add(new Body(this.scene, \"asteroid.png\", size, size, this));\n\t\t\tthis.asteroids.get(i).setBoundAction(\"continue\");\n\t\t\tthis.asteroids.get(i).setSpeed(0);\n\t\t\tthis.asteroids.get(i).setPosition(x, y);\n\t\t\t\n\t\t\tthis.sprites.add(this.asteroids.get(i));\n\t\t}\n\t\t\n\t\t\n\t\t//chest init\n\t\tthis.chests.add(new Chest(this.scene, \"chest.png\", 100, 50));\n\t\tthis.chests.get(0).setBoundAction(\"continue\");\n\t\tthis.chests.get(0).setSpeed(0);\n\t\tthis.chests.get(0).setPosition(500, 500);\n\t\tthis.sprites.add(this.chests.get(0));\n\t\t\n\t\tfor(int i = 1; i < this.numChests; i++){\n\t\t\t\n\t\t\tthis.chests.add(new Chest(this.scene, \"chest.png\", 100, 50));\n\t\t\tthis.chests.get(i).setBoundAction(\"continue\");\n\t\t\tthis.chests.get(i).setSpeed(0);\n\t\t\t\n\t\t\tboolean keepGoing = true;\n\t\t\tdo{\n\t\t\t\t\n\t\t\t\tlong x = Math.round(Math.random() * this.background.getWidth() - (this.background.getWidth() / 2));\n\t\t\t\tlong y = Math.round(Math.random() * this.background.getHeight() - (this.background.getHeight() / 2));\n\t\t\t\t\n\t\t\t\twhile(x > 0 && x < this.scene.getWidth()){\n\t\t\t\t\tx = Math.round(Math.random() * this.background.getWidth() - (this.background.getWidth() / 2));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\twhile(y > 0 && y < this.scene.getHeight()){\n\t\t\t\t\ty = Math.round(Math.random() * this.background.getHeight() - (this.background.getHeight() / 2));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tthis.chests.get(i).setPosition(x, y);\n\t\t\t\t\n\t\t\t\t//check for collisions with asteroids\n\t\t\t\tboolean colliding = false;\n\t\t\t\tfor(int j = 0; j < this.asteroids.size() && colliding == false; j++){\n\t\t\t\t\tif(this.asteroids.get(j).collidesWith(this.chests.get(i))){\n\t\t\t\t\t\tcolliding = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tkeepGoing = colliding;\n\t\t\t\t\n\t\t\t}while(keepGoing);\n\t\t\t\n\t\t\tthis.sprites.add(this.chests.get(i));\n\t\t\t\n\t\t}//end for\n\t\n\t\tthis.scene.start();\n\t\t\n\t\tSystem.out.println(\"==== Welcome to Space Smuggler! ====\");\n\t\tSystem.out.println(\"(WASD to move)\");\n\t\tSystem.out.println(\"Follow your compass in the bottom left corner to find treasure.\");\n\t\tSystem.out.println(\"Collect all of the treasure, then follow your compass to Earth!\");\n\t\tSystem.out.println(\"Watch out for the asteroids though, their gravitational pull is strong!\");\n\t\tSystem.out.println(\"Crashing into one will certainly kill you! D:\");\n\t\tSystem.out.println(\"Good Luck!\");\n\t\t\n\t}", "private void initialize() {\n this.board.addBoardChangeListener(this);\n\n this.layers = new ArrayList();\n this.bounds = new Rectangle();\n\n this.zoom = 1.0;\n this.zoomLevel = ZOOM_NORMALSIZE;\n this.affineTransform = new AffineTransform();\n\n this.loadTiles(board);\n this.setPreferredSize(new Dimension((board.getWidth() * 32),\n (board.getHeight() * 32)));\n\n bufferedImage = new BufferedImage((board.getWidth() * 32),\n (board.getHeight() * 32), BufferedImage.TYPE_INT_ARGB);\n\n this.antialiasGrid = true;\n this.gridColor = DEFAULT_GRID_COLOR;\n this.gridOpacity = 100;\n\n if (!this.layers.isEmpty()) {\n this.currentSelectedLayer = this.layers.get(0);\n }\n }", "private void initListener() {\n initPieceListener();\n initButtonsListener();\n }", "private void initUIComponents() {\n Glide.with(this)\n .load(mNeighbour.getAvatarUrl()\n .replace(\"/150?\", \"/450?\"))\n .centerCrop()\n .into(mAvatarImg);\n mTitleTxt.setText(mNeighbour.getName());\n mNameTxt.setText(mNeighbour.getName());\n mAddressTxt.setText(mNeighbour.getAddress());\n mPhoneNumberTxt.setText(mNeighbour.getPhoneNumber());\n mFacebookTxt.setText(\"www.facebook.fr/\"+mNeighbour.getName());\n mAboutMeTextTxt.setText(mNeighbour.getAboutMe());\n }", "private void initResources()\n {\n try\n {\n searchBackgroundImage = ImageIO.read(new File(IMAGES_DIR + \"logo.jpg\"));\n searchIcon = ImageIO.read(new File(IMAGES_DIR + \"search_icon.png\"));\n miniMenuAddImage = ImageIO.read(new File(IMAGES_DIR + \"addSmallIcon.png\"));\n miniMenuRemoveImage = ImageIO.read(new File(IMAGES_DIR + \"removeSmallIcon.png\"));\n updateMiniImage = ImageIO.read(new File(IMAGES_DIR + \"up.png\"));\n playButtonImage = ImageIO.read(new File(IMAGES_DIR + \"play_arrow.png\"));\n stopButtonImage = ImageIO.read(new File(IMAGES_DIR + \"stop_square.png\"));\n openFileImage = ImageIO.read(new File(IMAGES_DIR + \"open_icon.png\"));\n newFileImage = ImageIO.read(new File(IMAGES_DIR + \"new_file.png\"));\n settingsImage = ImageIO.read(new File(IMAGES_DIR + \"settings.png\"));\n spiderImage = ImageIO.read(new File(IMAGES_DIR + \"spider_icon.png\"));\n searchIconDark = ImageIO.read(new File(IMAGES_DIR + \"search_icon_dark.png\"));\n webIconImage = ImageIO.read(new File(IMAGES_DIR + \"web_icon.png\"));\n clipboardImage = ImageIO.read(new File(IMAGES_DIR + \"clipboard.png\"));\n colorIconImage = ImageIO.read(new File(IMAGES_DIR + \"color_icon.png\"));\n transitionSpinnerImage = IMAGES_DIR + \"loading.gif\";\n processingImage = IMAGES_DIR + \"processing.gif\";\n processingMiniImage = IMAGES_DIR + \"spinner.gif\";\n }\n \n catch(IOException e)\n {\n JOptionPane.showMessageDialog(null, \"[Error] Failed to load resource(s)\");\n }\n }" ]
[ "0.6803971", "0.6587246", "0.65534246", "0.65266484", "0.649941", "0.6473817", "0.6398072", "0.6340996", "0.6325436", "0.62381494", "0.62290794", "0.6219569", "0.6216598", "0.61839837", "0.61813605", "0.6172162", "0.61699426", "0.6167809", "0.6156747", "0.6151863", "0.6140003", "0.6132603", "0.6118741", "0.6117385", "0.6116212", "0.6100815", "0.6089715", "0.60504633", "0.6026518", "0.6019607", "0.6013573", "0.60130775", "0.60103834", "0.6007484", "0.60048956", "0.5996211", "0.5992406", "0.59740716", "0.59725654", "0.5961255", "0.59549576", "0.59451115", "0.59381366", "0.5920912", "0.5919183", "0.5915202", "0.58712924", "0.5863621", "0.58365786", "0.5822339", "0.581756", "0.5807737", "0.5802832", "0.5792269", "0.57759553", "0.5773003", "0.5769403", "0.5767932", "0.5765755", "0.5764328", "0.5762895", "0.57478654", "0.5744574", "0.57394946", "0.572588", "0.5725495", "0.57221216", "0.57213765", "0.57091767", "0.5708132", "0.5707173", "0.5704223", "0.56949216", "0.56937325", "0.5688512", "0.56873786", "0.5683564", "0.5680067", "0.56756055", "0.5675512", "0.56737727", "0.5672844", "0.56726915", "0.5667687", "0.56647944", "0.5656826", "0.5647072", "0.5643686", "0.56433076", "0.56268483", "0.5622607", "0.56137365", "0.5609589", "0.56072867", "0.5592974", "0.5590772", "0.5588747", "0.5582745", "0.5574953", "0.5574705" ]
0.7732651
0
Adds the region to all sprite providers.
private void addRegionToSpriteProviders(final Region region, final String name) { for (final SpriteProvider sp : spriteProviders) { sp.addRegion(region, name); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addRegion(Region region);", "public void addRegions(Collection<GridRegion> regions) {\n if (this.regions == null) {\n this.regions = new ArrayList<GridRegion>();\n }\n this.regions.addAll(regions);\n }", "@Override\r\n public void addQueryRegion(QueryRegion region)\r\n {\n removeQueryRegion(region.getGeometries());\r\n\r\n synchronized (myQueryRegions)\r\n {\r\n myQueryRegions.add(region);\r\n }\r\n\r\n Collection<PolygonGeometry> geometries = New.collection(region.getGeometries().size());\r\n for (PolygonGeometry polygon : region.getGeometries())\r\n {\r\n if (polygon.getRenderProperties().isDrawable() || polygon.getRenderProperties().isPickable())\r\n {\r\n geometries.add(polygon);\r\n }\r\n }\r\n myToolbox.getGeometryRegistry().addGeometriesForSource(this, geometries);\r\n\r\n myChangeSupport.notifyListeners(listener -> listener.queryRegionAdded(region), myDispatchExecutor);\r\n }", "public void addRegion(com.hps.july.persistence.Region arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().addRegion(arg0);\n }", "private void initSpriteProviders(final String name) {\n for (final SpriteProvider sp : spriteProviders) {\n sp.init(name);\n }\n }", "public void secondaryAddRegion(com.hps.july.persistence.Region arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().secondaryAddRegion(arg0);\n }", "@Override\n public void onAdd() {\n onRemove();\n \n // Generate a list of renderable images\n MapChunk[] chunks = generateChunks(generate());\n \n // Ensure the list is valid\n if(chunks == null) {\n return;\n }\n \n // Move the textures onto Rectangle shapes\n int chunkWidth = getChunkWidth();\n int chunkHeight = getChunkHeight();\n \n int rows = getHeightInChunks();\n int cols = getWidthInChunks();\n \n // Init our storage\n mTextures = new Texture[ rows * cols ];\n mShapes = new RectangleShape[ rows * cols ];\n \n // Iterate the whole map in chunks\n for(int x = 0; x < cols; x++) {\n for(int y = 0; y < rows; y++) {\n \n // Get the chunk for this position\n MapChunk thisChunk = chunks[ (y * cols) + x ];\n \n if(thisChunk == null) {\n // Something went wrong. Undo.\n onRemove();\n return;\n }\n \n // Convert our image into a texture\n Texture t = new Texture();\n if(t == null || !t.loadFromImage(thisChunk.image)) {\n onRemove();\n return;\n }\n \n // Store the texture for removal later on\n mTextures[ (y * cols) + x ] = t;\n \n // Create a rectangle shape\n RectangleShape r = new RectangleShape( chunkWidth, chunkHeight );\n \n // Apply some settings\n r.setTexture(t);\n r.setPosition( x * chunkWidth, y * chunkHeight );\n \n // Add this shape to the renderer\n if(mRenderer.add(r) < 0) {\n onRemove();\n return;\n }\n \n // Store the shape\n mShapes[ (y * cols) + x ] = r;\n \n }\n }\n \n }", "private void update() {\n int curRegionX = client.getRegionBaseX();\n int curRegionY = client.getRegionBaseY();\n if(lastRegionX != curRegionX || lastRegionY != curRegionY) {\n //Search for Altars:\n altars.clear();\n Landscape.accept(new LandscapeVisitor() {\n @Override\n public void acceptObject(RSEntityMarker marker) {\n int id = UID.getEntityID(marker.getUid());\n RSObjectDefinition def = client.getObjectDef(id);\n if(def == null || def.getName() == null) return;\n if(def.getName().equals(\"Altar\")) {\n altars.add(marker);\n }\n }\n });\n }\n }", "public void addTexture(TextureRegion texture) {\n int width = texture.getRegionWidth();\n if (width > maxWidth) {\n maxWidth = width;\n }\n int height = texture.getRegionHeight();\n if (height > maxHeight) {\n maxHeight = height;\n }\n // Ajout de la texture\n textures.add(texture);\n }", "public void add(final BaseTextureRegion pTextureRegion) {\n\t\tfinal ITexture texture = pTextureRegion.getTexture();\n\n\t\tif(texture == null) { // TODO Check really needed?\n\t\t\treturn;\n\t\t}\n\n\t\tfinal int x1 = Float.floatToRawIntBits(pTextureRegion.getTextureCoordinateX1());\n\t\tfinal int y1 = Float.floatToRawIntBits(pTextureRegion.getTextureCoordinateY1());\n\t\tfinal int x2 = Float.floatToRawIntBits(pTextureRegion.getTextureCoordinateX2());\n\t\tfinal int y2 = Float.floatToRawIntBits(pTextureRegion.getTextureCoordinateY2());\n\n\t\tfinal int[] bufferData = this.mBufferData;\n\n\t\tint index = this.mIndex;\n\t\tbufferData[index++] = x1;\n\t\tbufferData[index++] = y1;\n\n\t\tbufferData[index++] = x1;\n\t\tbufferData[index++] = y2;\n\n\t\tbufferData[index++] = x2;\n\t\tbufferData[index++] = y1;\n\n\t\tbufferData[index++] = x2;\n\t\tbufferData[index++] = y1;\n\n\t\tbufferData[index++] = x1;\n\t\tbufferData[index++] = y2;\n\n\t\tbufferData[index++] = x2;\n\t\tbufferData[index++] = y2;\n\t\tthis.mIndex = index;\n\t}", "private void createRegions() {\n\t\t// create pitch regions\n\t\tfor (int column = 0; column < REGION_COLUMNS; column++) {\n\t\t\tfor (int row = 0; row < REGION_ROWS; row++) {\n\t\t\t\tthis.regions.add(new Rectangle(column * REGION_WIDTH_IN_PX, row * REGION_HEIGHT_IN_PX,\n\t\t\t\t\t\t REGION_WIDTH_IN_PX, REGION_HEIGHT_IN_PX));\n\t\t\t}\n\t\t}\n\t}", "public static void registerOres(){\n overworldOres.add(register(\"limestone\", Feature.ORE.withConfiguration(new OreFeatureConfig(\n OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD, AnnotatedBlockHolder.LIMESTONE.getDefaultState(), 24)) //Vein Size\n .range(72).square()\n .func_242731_b(24))); \n\n overworldOres.add(register(\"halite_ore\", Feature.ORE.withConfiguration(new OreFeatureConfig(\n new BlockMatchRuleTest(AnnotatedBlockHolder.LIMESTONE.getDefaultState().getBlock()), AnnotatedBlockHolder.HALITE_ORE.getDefaultState(), 16)) //Vein Size\n .range(72).square() //Spawn height start\n .func_242731_b(48))); //Chunk spawn frequency\n }", "private void addIndexRegions(RegionIds regionIds) {\n\t\tIterator<Integer> iter = regionIds.ids.iterator();\n\t\tint start = regionIds.start;\n\t\tint stop = regionIds.stop;\n\t\twhile (iter.hasNext()) {\n\t\t\tIndexRegion ir = null; //new IndexRegion(start, stop, iter.next());\n//IO.pl(\"\\t\\t\\tSaving \"+ir);\n\t\t\tnumRegionsLoaded++;\n\t\t\t//add start and stop irs\n\t\t\tif (workingIndex[start] == null) workingIndex[start] = new ArrayList<IndexRegion>();\n\t\t\tworkingIndex[start].add(ir);\n\t\t\tif (workingIndex[stop] == null) workingIndex[stop] = new ArrayList<IndexRegion>();\n\t\t\tworkingIndex[stop].add(ir);\n\t\t}\n\t}", "protected void initSkins()\n {\n synchronized (this)\n {\n _skins = new HashMap<SkinMetadata, Skin>();\n }\n }", "public void addSprite(Scene pScene, int x, int y) {\n\t\t\r\n\t}", "public WorldRegion(GameWorldEntity entity) {\n gameWorldEntities.add(entity);\n }", "@Override\n public void addLoaders(WorldLoader wl, WorldInfo info) {\n }", "public void addSprite(Sprite s) {\r\n this.sprites.add(s);\r\n }", "@Override\n\tpublic void onAdd() {\n\t\tsuper.onAdd();\n\n\t\tsetIdleAnimation(4527);\n\t\tsetNeverRandomWalks(true);\n\t\tsetWalkingHomeDisabled(true);\n\n\t\tthis.region = Stream.of(AbyssalSireRegion.values()).filter(r -> r.getSire().getX() == getSpawnPositionX()\n\t\t && r.getSire().getY() == getSpawnPositionY()).findAny().orElse(null);\n\n\t\tRegion region = Region.getRegion(getSpawnPositionX(), getSpawnPositionY());\n\n\t\tif (region != null) {\n\t\t\tregion.forEachNpc(npc -> {\n\t\t\t\tif (npc instanceof AbyssalSireTentacle) {\n\t\t\t\t\tif (!npc.isDead()) {\n\t\t\t\t\t\tnpc.setDead(true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tList<Position> tentaclePositions = Arrays.asList(\n\t\t\t\tthis.region.getTentacleEast(),\n\t\t\t\tthis.region.getTentacleWest(),\n\t\t\t\tthis.region.getTentacleNorthEast(),\n\t\t\t\tthis.region.getTentacleNorthWest(),\n\t\t\t\tthis.region.getTentacleSouthEast(),\n\t\t\t\tthis.region.getTentacleSouthWest()\n\t\t );\n\n\t\ttentaclePositions.forEach(position -> {\n\t\t\ttentacles.add(NpcHandler.spawnNpc(5909, position.getX(), position.getY(), position.getZ()));\n\t\t});\n\n\t\tList<Position> respiratoryPositions = Arrays.asList(\n\t\t\t\tthis.region.getRespiratorySystemNorthEast(),\n\t\t\t\tthis.region.getRespiratorySystemNorthWest(),\n\t\t\t\tthis.region.getRespiratorySystemSouthEast(),\n\t\t\t\tthis.region.getRespiratorySystemSouthWest()\n\t\t );\n\n\t\trespiratoryPositions.forEach(position -> respiratorySystems.add(\n\t\t\t\tNpcHandler.spawnNpc(5914, position.getX(), position.getY(), position.getZ())));\n\t}", "public void setRegion(String region);", "@Override\n\tpublic void registerGFX() {\n\t\t\n\t}", "private void setupRegions(View root) {\n }", "private void addRegionsToMeta(final MasterProcedureEnv env) throws IOException {\n newRegions = CreateTableProcedure.addTableToMeta(env, tableDescriptor, newRegions);\n\n // TODO: parentsToChildrenPairMap is always empty, which makes updateMetaParentRegions()\n // a no-op. This part seems unnecessary. Figure out. - Appy 12/21/17\n RestoreSnapshotHelper.RestoreMetaChanges metaChanges =\n new RestoreSnapshotHelper.RestoreMetaChanges(tableDescriptor, parentsToChildrenPairMap);\n metaChanges.updateMetaParentRegions(env.getMasterServices().getConnection(), newRegions);\n }", "public static void register() {\n Registry.register(Registry.BLOCK, new Identifier(\"cultivation\", \"sieve_block\"), SIEVE_BLOCK);\n Registry.register(Registry.ITEM, new Identifier(\"cultivation\", \"sieve_block\"), new BlockItem(SIEVE_BLOCK, new Item.Settings().group(Cultivation.GROUP)));\n Registry.register(Registry.BLOCK, new Identifier(\"cultivation\", \"pod_shell\"), POD_SHELL);\n }", "public void save() {\n RegionOwn.saveRegionOwner(this);\n }", "@Override\n public void onMapRegionChangeStarted(SKCoordinateRegion mapRegion) {\n\n }", "@Override\n\tpublic void addToLayer(Sprite sprite) {\n\t\trenderList.add(sprite);\n\t}", "private void createIdleRegions(Texture spriteSheet) {\n\n TextureRegion downRegion = new TextureRegion(spriteSheet, 0, 0, TILESIZE, TILESIZE);\n\n idleSprites.add(new TextureRegion(spriteSheet, 0, TILESIZE * 3, TILESIZE, TILESIZE));\n idleSprites.add(new TextureRegion(spriteSheet, 0, TILESIZE, TILESIZE, TILESIZE));\n idleSprites.add(downRegion);\n idleSprites.add(new TextureRegion(spriteSheet, 0, TILESIZE * 2, TILESIZE, TILESIZE));\n idleSprites.add(downRegion);\n }", "WithResourceGroup withRegion(Region location);", "WithResourceGroup withRegion(Region location);", "public void addSprite(Sprite s) {\n sprites.addSprite(s);\n }", "private void heroStandingTextureLoad() {\n standLeft = new TextureRegion(logicController.getGame().getAssetManager().get(\"Game/hero_left.png\", Texture.class), 1, 1, 16, 21);\n standBack = new TextureRegion(logicController.getGame().getAssetManager().get(\"Game/hero_back.png\", Texture.class), 1, 1, 16, 21);\n standFront = new TextureRegion(logicController.getGame().getAssetManager().get(\"Game/hero_front.png\", Texture.class), 1, 1, 17, 22);\n standRight = new TextureRegion(logicController.getGame().getAssetManager().get(\"Game/hero_left.png\", Texture.class), 1, 1, 16, 21);\n }", "public void addSprite(Sprite s) {\r\n this.sprites.addSprite(s);\r\n }", "public void addUnitsToMinimap() {\n\n for (Unit unit : model.getApp().getCurrentPlayer().getGame().getAllUnits()) {\n Player player = unit.getPlayer();\n Color color;\n if (player.getColor().equals(\"RED\")) {\n color = Color.RED;\n } else if (player.getColor().equals(\"BLUE\")) {\n color = Color.BLUE;\n } else if (player.getColor().equals(\"YELLOW\")) {\n color = Color.YELLOW;\n } else { //if(player.getColor().equals(\"GREEN\")){\n color = Color.GREEN;\n }\n\n MinimapUnit minimapUnit = new MinimapUnit(blockSize, blockSize);\n minimapUnit.setMyPlayer(player);\n minimapUnit.setColor(color);\n minimapUnit.setMyUnit(unit);\n minimapUnit.setPosXY((unit.getPosX() * blockSize) + 1, (unit.getPosY() * blockSize) + 1);\n minimapUnits.add(minimapUnit);\n drawPane.getChildren().add(minimapUnit);\n }\n System.out.println(\"allUnitsToMinimap\");\n }", "protected void addedToWorld(World world) \n {\n createImages();\n }", "@Override\n\tpublic void onLoadResources() {\n\t\tBitmapTextureAtlasTextureRegionFactory.setAssetBasePath(\"gfx/\");\t\t\n\t\tmBitmapParralaxTextureAtlas=new BitmapTextureAtlas(1024,1024);\n\t\tmBitmapTextureAtlas=new BitmapTextureAtlas(512, 512);\n\t\tmTextureRegion=BitmapTextureAtlasTextureRegionFactory.createFromAsset(mBitmapParralaxTextureAtlas, this, \"parallax_background_layer_back.png\", 0, 0);\n\t\tbananaRegion=BitmapTextureAtlasTextureRegionFactory.createTiledFromAsset(mBitmapTextureAtlas, this, \"banana_tiled.png\", 0, 0, 4,2);\n\t\tmEngine.getTextureManager().loadTextures(mBitmapParralaxTextureAtlas,mBitmapTextureAtlas);\n\t}", "WithResourceGroup withRegion(String location);", "WithResourceGroup withRegion(String location);", "public void register(IPartType partType, Collection<IAspect> aspects);", "public void addToWorld() {\n world().addObject(this, xPos, yPos);\n \n try{\n terrHex = MyWorld.theWorld.getObjectsAt(xPos, yPos, TerritoryHex.class).get(0);\n } catch(IndexOutOfBoundsException e){\n MessageDisplayer.showMessage(\"The new LinkIndic didn't find a TerritoryHex at this position.\");\n this.destroy();\n }\n \n }", "private void ini_Sprites()\r\n\t{\r\n\t\tLogger.DEBUG(\"ini_Sprites\");\r\n\t\tResourceCache.LoadSprites(false);\r\n\t}", "public void registerVariants(){\n\t\tModelResourceLocation[] variants = new ModelResourceLocation[metaNames.length];\r\n\t\tfor(int i = 0; i < metaNames.length; i++){\r\n\t\t\tvariants[i] = new ModelResourceLocation(ElementsMod.MODID + \":\" + getNameFromDamage(i), \"inventory\");\r\n\t\t}\r\n\t\tModelBakery.registerItemVariants(ItemManager.apple, variants);\r\n\t}", "public TextureRegion loadTextureRegion(Texture texture, Rectangle rec);", "private void addAllSprites(String heroName) throws IOException {\n BufferedReader reader = new BufferedReader(\n new FileReader(\"assets/config/characters/\"+heroName+\"Sprites.txt\")\n );\n String line = reader.readLine();\n String[] data;\n BufferedImage[] sprites;\n while (line != null) {\n data = line.split(\"\\\\s+\"); //regex for spliting all spaces\n sprites = new BufferedImage[data.length-1];\n for (int i = 1; i < data.length; i++) {\n sprites[i-1] = Util.urlToImage(\"characters/\"+heroName+\"/\"+data[i]);\n \n }\n this.sprites.put(data[0], sprites);\n line = reader.readLine();\n }\n reader.close();\n }", "public static void loadBlockTextures() {\n\t\tspriteTopOn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/topOn.png\");\n\t\tspriteTopOff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/topOff.png\");\n\t\tspriteROn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/rxOn.png\");\n\t\tspriteROff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/rxOff.png\");\n\t\tspriteTOn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/txOn.png\");\n\t\tspriteTOff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/txOff.png\");\n\t}", "public void setRegion(final TypeOfRegion region);", "public void addValidRegionList(IRegionalValidity validRegion);", "IRegion getRegion();", "public void attachSprite(Sprite s){\n \tgraphicsElements.add(s);\n }", "protected void registerTile(int x, int y) {}", "public void setTexture(TextureRegion region) {\n \ttexture = region;\n \torigin = new Vector2(texture.getRegionWidth()/2.0f,texture.getRegionHeight()/2.0f);\n }", "@Override\n\tpublic void draw(Batch batch) {\n\t\tbatch.draw(textureRegion, super.getPosition().x, super.getPosition().y);\n\t}", "@Override\n\tpublic void addRecipes() \n\t{\n GameRegistry.addRecipe(new ItemStack(this), \"xxx\", \"xyx\", \"xxx\",\t\t\t\t\t\t\n 'x', Items.fireworks, \n 'y', Items.string\n ); \n \n // Bundle of rockets back to 8 rockets\n GameRegistry.addShapelessRecipe(new ItemStack(Items.fireworks, 8), new ItemStack(this));\n\t}", "public void addSprite(String state, BufferedImage[] images) {\n // checkValidState(state);\n this.sprites.put(state, images);\n }", "public void registerTileEntitySpecialRenderer()\n {\n }", "public void addRgion(String regionName) throws InterruptedException {\n\t\t// Wait for page load\n\t\twaitTillElemenyVisibility(sidebar);\n\tif(verifyElementIsDisplayed(alertify_popup)) {\n\t\t\tclickOnElement(button_dismiss);\n\t\t\tclickOnElement(button_dismissConfirmationOK);\n\t\t}\n\t\twaitTillElemenyVisibility(tab_setUp);\n\t\tclickOnElement(tab_setUp);\n\t\t js.executeScript(\"arguments[0].scrollIntoView();\",link_Regions);\n\t\tclickOnElement(link_Regions);\t\n\t\twaitTillElemenyVisibility(button_addRegion);\n\t\tclickOnElement(button_addRegion);\n\t\tenterText(textbox_regionName, regionName);\n\t\tclickOnElement(popup_addREgion);\n\t\tThread.sleep(3000);\n\t\tclickOnElement(button_submitRegion);\t\t\n\t\tassertTrue(verifyTableData(regionName));\n\t\t\n\t\t\n\t\n\n\t}", "public static void registerWorldProviderReplacer(IWorldProviderReplacer replacer) {\n\t\tINSTANCE.worldProviderReplacers.add(replacer);\n\t}", "@Override\r\n public void addToGame(GameLevel g) {\r\n g.addSprite(this);\r\n }", "@Generated\n @Selector(\"setRegion:\")\n public native void setRegion(@NotNull UIRegion value);", "@Override\n public void register(@Nonnull IModRegistry registry)\n {\n registry.addRecipes(WorldTransmutations.getWorldTransmutations(), WorldTransmuteRecipeCategory.UID);\n registry.getRecipeTransferRegistry().addRecipeTransferHandler(PhilosStoneContainer.class, VanillaRecipeCategoryUid.CRAFTING, 1, 9, 10, 36);\n }", "private static void registerBlocks() {\n for(Block block : modBlocks) {\n ForgeRegistries.BLOCKS.register(block);\n\n ItemBlock itemBlock = new ItemBlock(block);\n itemBlock.setRegistryName(block.getRegistryName());\n ForgeRegistries.ITEMS.register(itemBlock);\n }\n }", "public void setRegion(Region region) {\n this.region = region;\n }", "public void registerIcons(IconRegister register)\n {\n this.blockIcon = register.registerIcon(\"decoBlockMud\");\n }", "public void render(SpriteBatch batch){\n Utils.drawTextureRegion(batch, region ,position.x,position.y-1, 1.0F);\n }", "public void addSuperRegionAccs(com.hps.july.persistence.SuperRegionAcc arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException {\n\n instantiateEJB();\n ejbRef().addSuperRegionAccs(arg0);\n }", "public void registerIcons(IconRegister par1IconRegister) {\n\t\tthis.blockIcon = par1IconRegister.registerIcon(\"melon_side\");\n\t\tthis.theIcon = par1IconRegister.registerIcon(\"melon_top\");\n\t}", "@SideOnly(Side.CLIENT)\n/* 31: */ public void registerIcons(IIconRegister iconRegister) {}", "void addClass(String className, ItemStack[] items, ItemStack offHand, ItemStack[] armors);", "private void initSubSprites() {\n\n subSprites = new Hashtable<>();\n\n for (BrushType cT : BrushType.values()) {\n\n int x = cT.subSpr.x;\n int y = cT.subSpr.y;\n\n BufferedImage sprite = spriteSheet.getSubimage(x, y, 8, 8);\n\n subSprites.put(cT, sprite);\n }\n }", "public void register(WorldGenKawaiiBaseWorldGen.WorldGen gen)\r\n\t{\t\r\n\t\tif (!this.Enabled) return; \r\n\t\tGameRegistry.registerBlock(this, this.getUnlocalizedName());\r\n\t\t\r\n\t\tString saplingName = name + \".sapling\";\r\n\t\tSapling = new ItemKawaiiSeed(saplingName, SaplingToolTip, this);\r\n\t\tSapling.OreDict = SaplingOreDict;\r\n\t\tSapling.MysterySeedWeight = SeedsMysterySeedWeight;\r\n\t\tSapling.register();\r\n\r\n\t\tString fruitName = name + \".fruit\";\r\n\t\tif (FruitEdible)\r\n\t\t{\r\n\t\t\tItemKawaiiFood fruit = new ItemKawaiiFood(fruitName, FruitToolTip, FruitHunger, FruitSaturation, FruitPotionEffets);\r\n\t\t\tFruit = fruit;\r\n\t\t\tfruit.OreDict = FruitOreDict;\r\n\t\t\t\r\n\t\t\tfruit.register();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tItemKawaiiIngredient fruit = new ItemKawaiiIngredient(fruitName, FruitToolTip);\r\n\t\t\tFruit = fruit;\r\n\t\t\tfruit.OreDict = FruitOreDict;\r\n\t\t\t\r\n\t\t\tfruit.register();\r\n\t\t}\r\n\t\t\r\n\t\tif (gen.weight > 0)\r\n\t\t{\r\n\t\t\tgen.generator = new WorldGenKawaiiTree(this);\r\n\t\t\tModWorldGen.WorldGen.generators.add(gen);\r\n\t\t}\r\n\r\n\t\tModBlocks.AllTrees.add(this);\t\t\r\n\t}", "public void registerIcons(IconRegister var1)\n {\n this.blockIcon = var1.registerIcon(\"Aether:Aether Portal\");\n }", "abstract public void loadSprite();", "@Override\n public void register(@Nonnull IModRegistry registry)\n {\n registry.addRecipes(WorldTransmuteRecipeCategory.getAllTransmutations(), WorldTransmuteRecipeCategory.UID);\n registry.getRecipeTransferRegistry().addRecipeTransferHandler(PhilosStoneContainer.class, VanillaRecipeCategoryUid.CRAFTING, 1, 9, 10, 36);\n\n registry.addRecipeCatalyst(new ItemStack(ObjHandler.philosStone), VanillaRecipeCategoryUid.CRAFTING);\n registry.addRecipeCatalyst(new ItemStack(ObjHandler.philosStone), WorldTransmuteRecipeCategory.UID);\n registry.addRecipeCatalyst(new ItemStack(ObjHandler.collectorMK1), CollectorRecipeCategory.UID);\n registry.addRecipeCatalyst(new ItemStack(ObjHandler.collectorMK2), CollectorRecipeCategory.UID);\n registry.addRecipeCatalyst(new ItemStack(ObjHandler.collectorMK3), CollectorRecipeCategory.UID);\n\n mappers.add(new JEIFuelMapper());\n }", "private void registerCaches(){\n // Initialize region arraylist\n prisoners = new HashMap<>();\n regions = QueryManager.getRegions();\n prisonBlocks = QueryManager.getPrisonBlocks();\n portals = QueryManager.getPortals();\n }", "public void setRegion(String region) {\n this.region = region;\n }", "public void setRegion(CoordinateRadius region);", "private void loadTextures() {\n\t\tspriteSheet01 = new Texture(\"data/buttonsspritesheet02.png\");\n\n\t\tnew TextureRegion(spriteSheet01, BROKEN_COLUMN * SQUARE_SIZE,\n\t\t\t\tBROKEN_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, EMPTY_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tEMPTY_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, ACTIVATED_COLUMN * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, DEPRESSED_BUTTON * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, HIGHLIGHTED_COLUMN * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, CAROUSEL_COLUMN * SQUARE_SIZE,\n\t\t\t\t(CAROUSEL_ROW * SQUARE_SIZE) + CAROUSEL_PIXELS, SQUARE_SIZE,\n\t\t\t\tCAROUSEL_PIXELS);\n\n\t\tnew TextureRegion(spriteSheet01, FIX_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tFIX_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, WILD_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tWILD_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tcarousel = new TextureRegion[MAIN_COLOUR_AMOUNT];\n\t\tfor (int i = 0; i < MAIN_COLOUR_AMOUNT; i++) {\n\t\t\tcarousel[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(CAROUSEL_COLUMN * SQUARE_SIZE) + (i * CAROUSEL_PIXELS),\n\t\t\t\t\tCAROUSEL_ROW * SQUARE_SIZE, CAROUSEL_PIXELS,\n\t\t\t\t\tCAROUSEL_PIXELS);\n\t\t}\n\n\t\trings = new TextureRegion[RING_AMOUNT];\n\t\tfor (int i = 0; i < RING_AMOUNT; i++) {\n\t\t\trings[i] = new TextureRegion(spriteSheet01, i * SQUARE_SIZE,\n\t\t\t\t\tRING_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tmainColour = new TextureRegion[MAIN_COLOUR_AMOUNT];\n\t\tfor (int i = 0; i < MAIN_COLOUR_AMOUNT; i++) {\n\t\t\tmainColour[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i + MAIN_COLOUR_COLUMN) * SQUARE_SIZE, MAIN_COLOUR_ROW,\n\t\t\t\t\tSQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tspecials = new TextureRegion[SPECIALS_AMOUNT];\n\t\tfor (int i = 0; i < SPECIALS_ROW_ONE_AMOUNT; i++) {\n\t\t\tspecials[i] = new TextureRegion(spriteSheet01, i * SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\t\tfor (int i = SPECIALS_ROW_ONE_AMOUNT; i < SPECIALS_AMOUNT; i++) {\n\t\t\tspecials[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i - SPECIALS_ROW_ONE_AMOUNT) * SQUARE_SIZE,\n\t\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tenemyBaseColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyBaseColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_BASE_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyHalfColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyHalfColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_HALF_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyThirdColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyThirdColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_THIRD_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyRimColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyRimColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_RIM_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyConnectors = new TextureRegion[ENEMY_CONNECTORS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_CONNECTORS_AMOUNT; i++) {\n\t\t\tenemyConnectors[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i + ENEMY_CONNECTORS_COLUMN) * SQUARE_SIZE,\n\t\t\t\t\tENEMY_CONNECTORS_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\t}", "public static void LoadSpritesIntoArray() {\r\n\t\t// Get all nodes for the settings\r\n\t\t// Node main = document.getElementById(\"main\");\r\n\t\t// Node textures = document.getElementById(\"textures\");\r\n\t\t// NodeList nList = document.getElementsByTagName(\"TexturePath\");\r\n\r\n\t\t// for (Element texPath : texturePathElements) {\r\n\t\t// System.out.println(texPath.getAttribute(\"name\") + \" \" +\r\n\t\t// texPath.getAttribute(\"name\"));\r\n\t\t// sprites.add(new Sprite(texPath.getAttribute(\"name\"),\r\n\t\t// texPath.getAttribute(\"path\")));\r\n\t\t// }\r\n\r\n\t\tsprites = ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game\");\r\n\r\n\t\t/*\r\n\t\t * This method i got from a stack overflow question\r\n\t\t * https://stackoverflow.com/questions/22610526/how-to-append-elements-\r\n\t\t * at-the-end-of-arraylist-in-java\r\n\t\t */\r\n\t\tint endOfList = sprites.size();\r\n\t\tsprites.addAll(endOfList, ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game_HUD\"));\r\n\t\tendOfList = sprites.size();\r\n\t\tsprites.addAll(endOfList, ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game_Custom\"));\r\n\t\tSystem.out.println(endOfList);\r\n\r\n\t\tfor (Element el : texturePathElements) {\r\n\r\n\t\t\ttry {\r\n\t\t\t\tsprites.add(new Sprite(el.getAttribute(\"name\"), el.getAttribute(\"path\")));\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tisTexturesDone = true;\r\n\t}", "protected void registerPreLoad(ConfigurationSection configuration) {\n PreLoadEvent loadEvent = new PreLoadEvent(this);\n Bukkit.getPluginManager().callEvent(loadEvent);\n\n blockBreakManagers.addAll(loadEvent.getBlockBreakManagers());\n blockBuildManagers.addAll(loadEvent.getBlockBuildManagers());\n pvpManagers.addAll(loadEvent.getPVPManagers());\n teamProviders.addAll(loadEvent.getTeamProviders());\n castManagers.addAll(loadEvent.getCastManagers());\n targetingProviders.addAll(loadEvent.getTargetingManagers());\n teamProviders.addAll(loadEvent.getTeamProviders());\n playerWarpManagers.putAll(loadEvent.getWarpManagers());\n\n // Vault currency must be registered after VaultController initialization\n ConfigurationSection currencyConfiguration = configuration.getConfigurationSection(\"builtin_currency\");\n addCurrency(new VaultCurrency(this, currencyConfiguration.getConfigurationSection(\"currency\")));\n\n // Custom currencies can override the defaults\n for (Currency currency : loadEvent.getCurrencies()) {\n addCurrency(currency);\n }\n\n if (aureliumSkillsManager != null) {\n aureliumSkillsManager.register(currencyConfiguration);\n }\n if (tokenManager != null) {\n tokenManager.register(currencyConfiguration);\n }\n\n // Configured currencies override everything else\n currencyConfiguration = configuration.getConfigurationSection(\"custom_currency\");\n Set<String> keys = currencyConfiguration.getKeys(false);\n for (String key : keys) {\n addCurrency(new CustomCurrency(this, key, currencyConfiguration.getConfigurationSection(key)));\n }\n\n log(\"Registered currencies: \" + StringUtils.join(currencies.keySet(), \",\"));\n\n // Register any attribute providers that were in the PreLoadEvent.\n for (AttributeProvider provider : loadEvent.getAttributeProviders()) {\n externalProviders.add(provider);\n }\n\n // Re-register any providers previously registered by external plugins via register()\n for (MagicProvider provider : externalProviders) {\n registerAndUpdate(provider);\n }\n\n // Don't allow overriding Magic requirements\n checkMagicRequirements();\n }", "@Override\r\n\tpublic void createSprites(World world) {\r\n \t// the height of the map since 0,0 in Tiled is in the top left\r\n // compared to the TiledMap's 0,0 in the bottom left\r\n int height = 2400;\r\n\r\n // file locations of different trees\r\n TextureAtlas atlas = new TextureAtlas(\"Game Tilesets/Trees/Trees.pack\");\r\n Skin skin = new Skin();\r\n skin.addRegions(atlas);\r\n TextureRegion T2 = skin.getRegion(\"T2\");\r\n TextureRegion T3 = skin.getRegion(\"T3\");\r\n TextureRegion T7 = skin.getRegion(\"T7\");\r\n TextureRegion T9 = skin.getRegion(\"T9\");\r\n TextureRegion T10 = skin.getRegion(\"T10\");\r\n \r\n // add all of the trees\r\n \tthis.addSprite(new ObjectSprites(T2, 236, height - 1490));\r\n \r\n this.addSprite(new ObjectSprites(T9, 622, height - 1907));\r\n this.addSprite(new ObjectSprites(T9, 683, height - 1687));\r\n this.addSprite(new ObjectSprites(T9, 174, height - 1851));\r\n this.addSprite(new ObjectSprites(T9, 361, height - 1643));\r\n \r\n this.addSprite(new ObjectSprites(T10, 572, height - 1354));\r\n this.addSprite(new ObjectSprites(T10, 0, height - 1475));\r\n this.addSprite(new ObjectSprites(T10, -9, height - 1707));\r\n this.addSprite(new ObjectSprites(T10, 675, height - 1479));\r\n this.addSprite(new ObjectSprites(T10, 416, height - 1903));\r\n\r\n this.addSprite(new ObjectSprites(T3, 428, height - 1453));\r\n this.addSprite(new ObjectSprites(T3, 596, height - 1122));\r\n this.addSprite(new ObjectSprites(T3, -32, height - 988));\r\n this.addSprite(new ObjectSprites(T3, 476, height - 864));\r\n this.addSprite(new ObjectSprites(T3, 640, height - 725));\r\n this.addSprite(new ObjectSprites(T3, 424, height - 2123));\r\n \r\n this.addSprite(new ObjectSprites(T7, 145, height - 1347));\r\n this.addSprite(new ObjectSprites(T7, 83, height - 1935));\r\n this.addSprite(new ObjectSprites(T7, 585, height - 2031));\r\n this.addSprite(new ObjectSprites(T7, 290, height - 2304));\r\n \r\n Bandit b1 = new Bandit();\r\n b1.defineBody(world, 215, 1305);\r\n super.addSprite(b1);\r\n \r\n Bandit b2 = new Bandit();\r\n b2.defineBody(world, 60, 1445);\r\n super.addSprite(b2);\r\n \r\n Bandit b3 = new Bandit();\r\n b3.defineBody(world, 90, 1640);\r\n super.addSprite(b3);\r\n \r\n Bandit b4 = new Bandit();\r\n b4.defineBody(world, 530, 1740);\r\n super.addSprite(b4);\r\n \r\n Bandit b5 = new Bandit();\r\n b5.defineBody(world, 730, 1655);\r\n super.addSprite(b5);\r\n \r\n Bandit b6 = new Bandit();\r\n b6.defineBody(world, 90, 2235);\r\n super.addSprite(b6);\r\n \r\n Bandit b7 = new Bandit();\r\n b7.defineBody(world, 715, 1490);\r\n super.addSprite(b7);\r\n \r\n Bandit b8 = new Bandit();\r\n b8.defineBody(world, 318, 1605);\r\n super.addSprite(b8);\r\n }", "@Override\n @SideOnly(Side.CLIENT)\n public void registerIcons(final IconRegister register) {\n itemIcon = register.registerIcon(TextureHelper.getTextureFromName(this.getUnlocalizedName(), Locations.TEXTURE + \"tools/\"));\n }", "public void registerIcons(IIconRegister iconRegister) {\n/* 51 */ this.itemIcon = iconRegister.registerIcon(\"forgottenrelics:Soul_Tome\");\n/* */ }", "public void removeSprites(){\r\n\r\n\t}", "public void registerRenderer() {}", "public void registerRenderer() {}", "@SideOnly(Side.CLIENT)\r\n/* 55: */ public void registerBlockIcons(IIconRegister par1IIconRegister)\r\n/* 56: */ {\r\n/* 57: 55 */ nodeBase = par1IIconRegister.registerIcon(\"extrautils:extractor_base\");\r\n/* 58: 56 */ nodeSideEnergy = par1IIconRegister.registerIcon(\"extrautils:extractor_energy\");\r\n/* 59: 57 */ nodeSideEnergyHyper = par1IIconRegister.registerIcon(\"extrautils:extractor_energy_hyper\");\r\n/* 60: 58 */ nodeSideLiquid = par1IIconRegister.registerIcon(\"extrautils:extractor_liquid\");\r\n/* 61: 59 */ nodeSideExtract = par1IIconRegister.registerIcon(\"extrautils:extractor_extract\");\r\n/* 62: 60 */ particle = par1IIconRegister.registerIcon(\"extrautils:particle\");\r\n/* 63: 61 */ super.registerBlockIcons(par1IIconRegister);\r\n/* 64: */ }", "@Override\n public void onMapRegionChangeEnded(SKCoordinateRegion mapRegion) {\n\n }", "public static void register() {\n\t\tInteractionEvent.RIGHT_CLICK_BLOCK.register(OriginEventHandler::preventBlockUse);\n\t\t//Replaces ItemStackMixin\n\t\tInteractionEvent.RIGHT_CLICK_ITEM.register(OriginEventHandler::preventItemUse);\n\t\t//Replaces LoginMixin#openOriginsGui\n\t\tPlayerEvent.PLAYER_JOIN.register(OriginEventHandler::playerJoin);\n\t\t//Replaces LoginMixin#invokePowerRespawnCallback\n\t\tPlayerEvent.PLAYER_RESPAWN.register(OriginEventHandler::respawn);\n\t}", "public static void registerRenders() {\n for(Block block : modBlocks)\n BlockHelper.registerRender(block);\n }", "public void updateWorldRegion()\n\t{\n\t\tif(!isVisible)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tL2WorldRegion newRegion = WorldManager.getInstance().getRegion(getWorldPosition());\n\t\tL2WorldRegion oldRegion = region;\n\t\tif(!newRegion.equals(oldRegion))\n\t\t{\n\t\t\tif(oldRegion != null)\n\t\t\t{\n\t\t\t\toldRegion.removeVisibleObject(object);\n\t\t\t}\n\n\t\t\tsetWorldRegion(newRegion);\n\n\t\t\t// Add the L2Object spawn to _visibleObjects and if necessary to all players of its L2WorldRegion\n\t\t\tnewRegion.addVisibleObject(object);\n\t\t}\n\t}", "public static void loadItemTextures() {\n\t\tspriteTItem = ModLoader.addOverride(\"/gui/items.png\",\n\t\t\t\t\"/WirelessSprites/txOn.png\");\n\t\tspriteRItem = ModLoader.addOverride(\"/gui/items.png\",\n\t\t\t\t\"/WirelessSprites/rxOn.png\");\n\t}", "@Override\n\tpublic void loadUnits() {\n\t\tsprites.put(\"axeman\", RES.getSprite(\"axeman\"));\n\t\tsprites.put(\"warg\", RES.getSprite(\"warg_right\"));\n\t}", "public void addProvider() {\n\t\tproviderDatabase.addProvider();\n\t\t\n\t}", "public void addSprite(Sprite thisSprite) {\n\t\tthis.addList.add(thisSprite);\n\t\t\n\t}", "public void addResource(PSResource res) {\n/* 72 */ prepareResourceSet();\n/* 73 */ this.resources.add(res);\n/* */ }", "public static void decorateRegionServerConfiguration(Configuration conf) {\n if (!isBackupEnabled(conf)) {\n return;\n }\n\n String classes = conf.get(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY);\n String regionProcedureClass = LogRollRegionServerProcedureManager.class.getName();\n if (classes == null) {\n conf.set(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY, regionProcedureClass);\n } else if (!classes.contains(regionProcedureClass)) {\n conf.set(ProcedureManagerHost.REGIONSERVER_PROCEDURE_CONF_KEY,\n classes + \",\" + regionProcedureClass);\n }\n String coproc = conf.get(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY);\n String regionObserverClass = BackupObserver.class.getName();\n conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY,\n (coproc == null ? \"\" : coproc + \",\") + regionObserverClass);\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Added region procedure manager: {}. Added region observer: {}\",\n regionProcedureClass, regionObserverClass);\n }\n }", "private static void loadSprites(){\n \t\tshipSprites.put(\"SCOUT_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/colonizer.png\"), 0.5f, 0.5f));\n \t\t\n \t\t/*\n \t\t * Ships Red Player\n \t\t */\n \t\tshipSprites.put(\"SCOUT_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/colonizer.png\"), 0.5f, 0.5f));\n \n \t\t/*\n \t\t * Path Arrows\n \t\t */\n\t\tpathTextures.put(\"HEAD\", Toolkit.getDefaultToolkit().getImage(\"res/path/head.png\"));\n\t\tpathTextures.put(\"START\", Toolkit.getDefaultToolkit().getImage(\"res/path/start.png\"));\n\t\tpathTextures.put(\"STRAIGHT\", Toolkit.getDefaultToolkit().getImage(\"res/path/straight.png\"));\n\t\tpathTextures.put(\"TURN\", Toolkit.getDefaultToolkit().getImage(\"res/path/turn.png\"));\n \t\t\n \t\t/*\n \t\t * Planets\n \t\t */\n \t\tmetalplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_0.png\"), 0.5f, 0));\n \t\tmetalplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_1.png\"), 0.5f, 0));\n \t\tmetalplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_2.png\"), 0.5f, 0));\n \t\tmetalplanets.put(3, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_3.png\"), 0.5f, 0));\n \t\tgasplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_0.png\"), 0.5f, 0));\n \t\tgasplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_1.png\"), 0.5f, 0));\n \t\tgasplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_2.png\"), 0.5f, 0));\n \t\t\n \t\t/*\n \t\t * Colony Sprite\n \t\t */\n \t\tloadColonySprites(Color.RED, \"RED\");\n \t\tloadColonySprites(Color.BLUE, \"BLUE\");\n \t}", "public void setRegion(String region) {\n this.region = region;\n }", "void setImageProvider(TileImageProvider tip)\n/* 71: */ {\n/* 72:118 */ this.mapPanel.setTileImageProvider(tip);\n/* 73: */ }", "public static void registerBlockEntities()\n\t{\n\t}" ]
[ "0.6866656", "0.57936805", "0.5741619", "0.56321144", "0.5583295", "0.5543043", "0.5502471", "0.54201883", "0.5404874", "0.53475267", "0.5233902", "0.52208686", "0.5196816", "0.5185383", "0.5182418", "0.5168482", "0.51678914", "0.5123339", "0.5122462", "0.51057494", "0.5097304", "0.5081295", "0.5071168", "0.50701296", "0.50589114", "0.50419", "0.50356764", "0.5023645", "0.49689248", "0.49689248", "0.4961023", "0.4954552", "0.49528447", "0.49221358", "0.49163333", "0.490713", "0.48950624", "0.48950624", "0.4893276", "0.48860186", "0.4883757", "0.48787728", "0.4877093", "0.4865133", "0.48641142", "0.48570296", "0.48541614", "0.48533452", "0.48528588", "0.48433656", "0.48410022", "0.4838833", "0.48278305", "0.48084947", "0.4805802", "0.47981223", "0.47919658", "0.47883204", "0.47850487", "0.4783274", "0.47799742", "0.47791052", "0.47763616", "0.47692597", "0.47608107", "0.47502956", "0.474852", "0.47464606", "0.4727834", "0.47161525", "0.47117093", "0.47073558", "0.46978012", "0.46977013", "0.46956736", "0.46936336", "0.46919173", "0.46915704", "0.46915355", "0.4690128", "0.4689205", "0.46854186", "0.46798852", "0.46769887", "0.46769887", "0.4672028", "0.46620032", "0.46276167", "0.46268806", "0.46247363", "0.46208796", "0.46189946", "0.46174958", "0.4617292", "0.46142316", "0.4608726", "0.4607648", "0.46055084", "0.46017668", "0.45994166" ]
0.80830646
0
Generates sprites from all sprite providers and add it to the given nut.
private Nut applySpriteProviders(final String url, final String heapId, final String suffix, final Nut n, final EngineRequest request) throws WuicException { if (spriteProviders.length == 0) { return n; } Nut retval = null; for (final SpriteProvider sp : spriteProviders) { Nut nut = sp.getSprite(url, heapId, suffix); final Engine chain = request.getChainFor(nut.getNutType()); if (chain != null) { /* * We perform request by skipping cache to not override cache entry with the given heap ID as key. * We also skip inspection because this is not necessary to detect references to this image */ final List<Nut> parsed = chain.parse(new EngineRequest(heapId, Arrays.asList(nut), request, EngineType.CACHE, EngineType.INSPECTOR)); if (retval != null) { n.addReferencedNut(parsed.get(0)); } else { retval = parsed.get(0); retval.addReferencedNut(n); } } else if (retval != null) { n.addReferencedNut(nut); } else { retval = nut; retval.addReferencedNut(n); } } return retval == null ? n : retval; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addAllSprites(String heroName) throws IOException {\n BufferedReader reader = new BufferedReader(\n new FileReader(\"assets/config/characters/\"+heroName+\"Sprites.txt\")\n );\n String line = reader.readLine();\n String[] data;\n BufferedImage[] sprites;\n while (line != null) {\n data = line.split(\"\\\\s+\"); //regex for spliting all spaces\n sprites = new BufferedImage[data.length-1];\n for (int i = 1; i < data.length; i++) {\n sprites[i-1] = Util.urlToImage(\"characters/\"+heroName+\"/\"+data[i]);\n \n }\n this.sprites.put(data[0], sprites);\n line = reader.readLine();\n }\n reader.close();\n }", "private void initSpriteProviders(final String name) {\n for (final SpriteProvider sp : spriteProviders) {\n sp.init(name);\n }\n }", "private void generate() {\n preGenerate();\n\n SpriteGrid grid = new SpriteGrid(specState);\n IOHelper.pixelsToBitmap(grid.draw(), sprite);\n\n }", "private void buildSprites() {\n\t\tSpriteRotatable sprite = new SpriteRotatable(new Vec2f(0, 0), 1);\n\t\tsprite.setCentered(true);\n\t\tspriteManager.addSprite(sprite, \"avenger.png\");\n\t\tsprite.setVisible(true);\n\t\ttarget = new SpriteRotatable(new Vec2f(2, 2), 1);\n\t\ttarget.setCentered(true);\n\t\tspriteManager.addSprite(target, \"fighter.png\");\n\t\ttarget.setVisible(true);\n\n\t}", "public static void LoadSpritesIntoArray() {\r\n\t\t// Get all nodes for the settings\r\n\t\t// Node main = document.getElementById(\"main\");\r\n\t\t// Node textures = document.getElementById(\"textures\");\r\n\t\t// NodeList nList = document.getElementsByTagName(\"TexturePath\");\r\n\r\n\t\t// for (Element texPath : texturePathElements) {\r\n\t\t// System.out.println(texPath.getAttribute(\"name\") + \" \" +\r\n\t\t// texPath.getAttribute(\"name\"));\r\n\t\t// sprites.add(new Sprite(texPath.getAttribute(\"name\"),\r\n\t\t// texPath.getAttribute(\"path\")));\r\n\t\t// }\r\n\r\n\t\tsprites = ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game\");\r\n\r\n\t\t/*\r\n\t\t * This method i got from a stack overflow question\r\n\t\t * https://stackoverflow.com/questions/22610526/how-to-append-elements-\r\n\t\t * at-the-end-of-arraylist-in-java\r\n\t\t */\r\n\t\tint endOfList = sprites.size();\r\n\t\tsprites.addAll(endOfList, ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game_HUD\"));\r\n\t\tendOfList = sprites.size();\r\n\t\tsprites.addAll(endOfList, ImageTools.LoadAllSpriteTexturesFromSpriteSheet(\"In_Game_Custom\"));\r\n\t\tSystem.out.println(endOfList);\r\n\r\n\t\tfor (Element el : texturePathElements) {\r\n\r\n\t\t\ttry {\r\n\t\t\t\tsprites.add(new Sprite(el.getAttribute(\"name\"), el.getAttribute(\"path\")));\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tisTexturesDone = true;\r\n\t}", "private void generateSprites() {\n final int PIXEL_ZOMBIE_SKIN = 0xa0ff90;\n final int PIXEL_SKIN = 0xFF9993;\n\n int pix = 0;\n for (int i = 0; i < 18; i++) {\n int skin = PIXEL_SKIN;\n int clothes = 0xFFffff;\n\n if (i > 0) {\n skin = PIXEL_ZOMBIE_SKIN;\n clothes = (random.nextInt(0x1000000) & 0x7f7f7f);\n }\n for (int t = 0; t < 4; t++) {\n for (int d = 0; d < 16; d++) {\n double dir = d * Math.PI * 2 / 16.0;\n\n if (t == 1)\n dir += 0.5 * Math.PI * 2 / 16.0;\n if (t == 3)\n dir -= 0.5 * Math.PI * 2 / 16.0;\n\n // if (i == 17)\n // {\n // dir = d * Math.PI * 2 / 64;\n // }\n\n double cos = Math.cos(dir);\n double sin = Math.sin(dir);\n\n for (int y = 0; y < 12; y++) {\n int col = 0x000000;\n for (int x = 0; x < 12; x++) {\n int xPix = (int) (cos * (x - 6) + sin * (y - 6) + 6.5);\n int yPix = (int) (cos * (y - 6) - sin * (x - 6) + 6.5);\n\n if (i == 17) {\n if (xPix > 3 && xPix < 9 && yPix > 3 && yPix < 9) {\n col = 0xff0000 + (t & 1) * 0xff00;\n }\n } else {\n if (t == 1 && xPix > 1 && xPix < 4 && yPix > 3 && yPix < 8)\n col = skin;\n if (t == 3 && xPix > 8 && xPix < 11 && yPix > 3 && yPix < 8)\n col = skin;\n\n if (xPix > 1 && xPix < 11 && yPix > 5 && yPix < 8) {\n col = clothes;\n }\n if (xPix > 4 && xPix < 8 && yPix > 4 && yPix < 8) {\n col = skin;\n }\n }\n sprites[pix++] = col;\n\n // If we just drew a pixel, make the next one an almost-black\n // pixel, and if it's already an almost-black one, make it\n // transparent (full black). (This is all honored only if the\n // next pixel isn't actually set to something else.) This takes\n // advantage of the left-to-right scanning of the sprite\n // generation to create a slight shadow effect on each sprite.\n if (col > 1) {\n col = 1;\n } else {\n col = 0;\n }\n }\n }\n }\n }\n }\n }", "private void loadSprites() throws IOException {\n \t\tsprites.put(\"fullBin\", ImageIO.read(new File(\"user-trash-full64.png\")));\n \t\tsprites.put(\"emptyBin\", ImageIO.read(new File(\"user-trash64.png\")));\n \t\tsprites.put(\"sysfileLarge\", ImageIO.read(new File(\"sysfile1-48.png\")));\n \t\tsprites.put(\"sysfileMedium\", ImageIO.read(new File(\"sysfile2-32.png\")));\n \t\tsprites.put(\"sysfileSmall\", ImageIO.read(new File(\"sysfile3-16.png\")));\n \t\tsprites.put(\"junk\", ImageIO.read(new File(\"junk.png\")));\n \t\tsprites.put(\"grass\", ImageIO.read(new File(\"grass.jpg\")));\n \t}", "private void addRegionToSpriteProviders(final Region region, final String name) {\n for (final SpriteProvider sp : spriteProviders) {\n sp.addRegion(region, name);\n }\n }", "@Override\r\n\tpublic void createSprites(World world) {\r\n \t// the height of the map since 0,0 in Tiled is in the top left\r\n // compared to the TiledMap's 0,0 in the bottom left\r\n int height = 2400;\r\n\r\n // file locations of different trees\r\n TextureAtlas atlas = new TextureAtlas(\"Game Tilesets/Trees/Trees.pack\");\r\n Skin skin = new Skin();\r\n skin.addRegions(atlas);\r\n TextureRegion T2 = skin.getRegion(\"T2\");\r\n TextureRegion T3 = skin.getRegion(\"T3\");\r\n TextureRegion T7 = skin.getRegion(\"T7\");\r\n TextureRegion T9 = skin.getRegion(\"T9\");\r\n TextureRegion T10 = skin.getRegion(\"T10\");\r\n \r\n // add all of the trees\r\n \tthis.addSprite(new ObjectSprites(T2, 236, height - 1490));\r\n \r\n this.addSprite(new ObjectSprites(T9, 622, height - 1907));\r\n this.addSprite(new ObjectSprites(T9, 683, height - 1687));\r\n this.addSprite(new ObjectSprites(T9, 174, height - 1851));\r\n this.addSprite(new ObjectSprites(T9, 361, height - 1643));\r\n \r\n this.addSprite(new ObjectSprites(T10, 572, height - 1354));\r\n this.addSprite(new ObjectSprites(T10, 0, height - 1475));\r\n this.addSprite(new ObjectSprites(T10, -9, height - 1707));\r\n this.addSprite(new ObjectSprites(T10, 675, height - 1479));\r\n this.addSprite(new ObjectSprites(T10, 416, height - 1903));\r\n\r\n this.addSprite(new ObjectSprites(T3, 428, height - 1453));\r\n this.addSprite(new ObjectSprites(T3, 596, height - 1122));\r\n this.addSprite(new ObjectSprites(T3, -32, height - 988));\r\n this.addSprite(new ObjectSprites(T3, 476, height - 864));\r\n this.addSprite(new ObjectSprites(T3, 640, height - 725));\r\n this.addSprite(new ObjectSprites(T3, 424, height - 2123));\r\n \r\n this.addSprite(new ObjectSprites(T7, 145, height - 1347));\r\n this.addSprite(new ObjectSprites(T7, 83, height - 1935));\r\n this.addSprite(new ObjectSprites(T7, 585, height - 2031));\r\n this.addSprite(new ObjectSprites(T7, 290, height - 2304));\r\n \r\n Bandit b1 = new Bandit();\r\n b1.defineBody(world, 215, 1305);\r\n super.addSprite(b1);\r\n \r\n Bandit b2 = new Bandit();\r\n b2.defineBody(world, 60, 1445);\r\n super.addSprite(b2);\r\n \r\n Bandit b3 = new Bandit();\r\n b3.defineBody(world, 90, 1640);\r\n super.addSprite(b3);\r\n \r\n Bandit b4 = new Bandit();\r\n b4.defineBody(world, 530, 1740);\r\n super.addSprite(b4);\r\n \r\n Bandit b5 = new Bandit();\r\n b5.defineBody(world, 730, 1655);\r\n super.addSprite(b5);\r\n \r\n Bandit b6 = new Bandit();\r\n b6.defineBody(world, 90, 2235);\r\n super.addSprite(b6);\r\n \r\n Bandit b7 = new Bandit();\r\n b7.defineBody(world, 715, 1490);\r\n super.addSprite(b7);\r\n \r\n Bandit b8 = new Bandit();\r\n b8.defineBody(world, 318, 1605);\r\n super.addSprite(b8);\r\n }", "private void initSprites(){\r\n try\r\n {\r\n spriteSheet = ImageIO.read (spriteSheetFile);\r\n }\r\n catch (IOException e)\r\n {\r\n System.out.println(\"SPRITE spritesheet not found\");\r\n } \r\n try\r\n {\r\n iconSheet=ImageIO.read(playerIconFile);\r\n }\r\n catch (IOException e)\r\n {\r\n System.out.println(\"PLAYERICON spritesheet not found\");\r\n } \r\n\r\n // saves images to array\r\n for(int i=0;i<3;i++){\r\n bomb[i]=new BufferedImage(32,32,BufferedImage.TYPE_INT_ARGB); \r\n bomb[i]=spriteSheet.getSubimage(i*32,6,32,32);\r\n }\r\n for(int i=0;i<4;i++){\r\n icons[i] = new BufferedImage(30,30,BufferedImage.TYPE_INT_ARGB);\r\n icons[i] = iconSheet.getSubimage(0, 31*i, 30, 30);\r\n }\r\n }", "public abstract void createSprites() throws FileNotFoundException;", "private void initSubSprites() {\n\n subSprites = new Hashtable<>();\n\n for (BrushType cT : BrushType.values()) {\n\n int x = cT.subSpr.x;\n int y = cT.subSpr.y;\n\n BufferedImage sprite = spriteSheet.getSubimage(x, y, 8, 8);\n\n subSprites.put(cT, sprite);\n }\n }", "public void addTargets (Set<GameElement> sprites) {\n myTargets.clear();\n sprites.forEach(s -> myTargets.add(s));\n }", "@Override\n public void onAdd() {\n onRemove();\n \n // Generate a list of renderable images\n MapChunk[] chunks = generateChunks(generate());\n \n // Ensure the list is valid\n if(chunks == null) {\n return;\n }\n \n // Move the textures onto Rectangle shapes\n int chunkWidth = getChunkWidth();\n int chunkHeight = getChunkHeight();\n \n int rows = getHeightInChunks();\n int cols = getWidthInChunks();\n \n // Init our storage\n mTextures = new Texture[ rows * cols ];\n mShapes = new RectangleShape[ rows * cols ];\n \n // Iterate the whole map in chunks\n for(int x = 0; x < cols; x++) {\n for(int y = 0; y < rows; y++) {\n \n // Get the chunk for this position\n MapChunk thisChunk = chunks[ (y * cols) + x ];\n \n if(thisChunk == null) {\n // Something went wrong. Undo.\n onRemove();\n return;\n }\n \n // Convert our image into a texture\n Texture t = new Texture();\n if(t == null || !t.loadFromImage(thisChunk.image)) {\n onRemove();\n return;\n }\n \n // Store the texture for removal later on\n mTextures[ (y * cols) + x ] = t;\n \n // Create a rectangle shape\n RectangleShape r = new RectangleShape( chunkWidth, chunkHeight );\n \n // Apply some settings\n r.setTexture(t);\n r.setPosition( x * chunkWidth, y * chunkHeight );\n \n // Add this shape to the renderer\n if(mRenderer.add(r) < 0) {\n onRemove();\n return;\n }\n \n // Store the shape\n mShapes[ (y * cols) + x ] = r;\n \n }\n }\n \n }", "private void generateEnemiesOnLayer(Layer layer, int count) {\n // Enemies are generated below the screen all with the same x position as the starting tile\n // but varying y positions.\n Random random = new Random();\n for (int i = 1; i <= count; i++) {\n int enemyType = random.nextInt(7 - 1 + 1) + 1;\n int randomOffset = (2 * (random.nextInt(40 - 15 + 1) + 15));\n int startingHeight = layer.getStartY() + (i * Tile.TILE_HEIGHT) + randomOffset;\n Enemy enemy = null;\n switch (enemyType) {\n case 1:\n enemy = new Rat(layer, layer.getStartX(), startingHeight, player);\n break;\n case 2:\n enemy = new Bat(layer, layer.getStartX(), startingHeight, player);\n break;\n case 3:\n enemy = new Skeleton(layer, layer.getStartX(), startingHeight, player);\n break;\n case 4:\n enemy = new Spider(layer, layer.getStartX(), startingHeight, player);\n break;\n case 5:\n enemy = new Goblin(layer, layer.getStartX(), startingHeight, player);\n break;\n case 6:\n enemy = new Slime(layer, layer.getStartX(), startingHeight, player);\n break;\n case 7:\n enemy = new Imp(layer, layer.getStartX(), startingHeight, player);\n break;\n }\n switch (layer.getLayerType()) {\n case HELL:\n hellEnemies.add(enemy);\n break;\n case EARTH:\n earthEnemies.add(enemy);\n break;\n case HEAVEN:\n heavenEnemies.add(enemy);\n break;\n }\n }\n }", "public StoneSummon() {\n// ArrayList<BufferedImage> images = SprssssssaasssssaddddddddwiteUtils.loadImages(\"\"\n createStones();\n\n }", "private static void loadSprites(){\n \t\tshipSprites.put(\"SCOUT_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_BLUE\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/blue/colonizer.png\"), 0.5f, 0.5f));\n \t\t\n \t\t/*\n \t\t * Ships Red Player\n \t\t */\n \t\tshipSprites.put(\"SCOUT_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/scout.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"HUNTER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/hunter.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"DESTROYER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/destroyer.png\"), 0, 0.5f));\n \t\tshipSprites.put(\"COLONIZER_RED\", new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/red/colonizer.png\"), 0.5f, 0.5f));\n \n \t\t/*\n \t\t * Path Arrows\n \t\t */\n\t\tpathTextures.put(\"HEAD\", Toolkit.getDefaultToolkit().getImage(\"res/path/head.png\"));\n\t\tpathTextures.put(\"START\", Toolkit.getDefaultToolkit().getImage(\"res/path/start.png\"));\n\t\tpathTextures.put(\"STRAIGHT\", Toolkit.getDefaultToolkit().getImage(\"res/path/straight.png\"));\n\t\tpathTextures.put(\"TURN\", Toolkit.getDefaultToolkit().getImage(\"res/path/turn.png\"));\n \t\t\n \t\t/*\n \t\t * Planets\n \t\t */\n \t\tmetalplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_0.png\"), 0.5f, 0));\n \t\tmetalplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_1.png\"), 0.5f, 0));\n \t\tmetalplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_2.png\"), 0.5f, 0));\n \t\tmetalplanets.put(3, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/metalplanet_3.png\"), 0.5f, 0));\n \t\tgasplanets.put(0, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_0.png\"), 0.5f, 0));\n \t\tgasplanets.put(1, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_1.png\"), 0.5f, 0));\n \t\tgasplanets.put(2, new Sprite(Toolkit.getDefaultToolkit().getImage(\"res/icons/planets/gasplanet_2.png\"), 0.5f, 0));\n \t\t\n \t\t/*\n \t\t * Colony Sprite\n \t\t */\n \t\tloadColonySprites(Color.RED, \"RED\");\n \t\tloadColonySprites(Color.BLUE, \"BLUE\");\n \t}", "private void createSpritesList() {\n\t\tArrayList<PartyMember> pmList = player.getPartyMembers();\n\t\tfor (int i = 0; i < pmList.size(); i++) {\n\t\t\tSprite as = pmList.get(i);\n\t\t\tsprites.put(as.hashCode(), as);\n\t\t}\n\t\telements = new SortingElement[sprites.size()];\n\t\tIterator<Integer> it = sprites.keySet().iterator();\n\t\tint i = 0;\n\t\twhile (it.hasNext()) {\n\t\t\tint index = it.next();\n\t\t\tSprite as = sprites.get(index);\n\t\t\telements[i++] = new SortingElement(as.pos[Values.Y], index);\n\t\t}\n\t}", "public static void loadSprites(MediaTracker m)\r\n\t{\r\n\t\tsprites = new ArrayList<String>();\r\n\t\t\r\n\t\t//Get list of files in pedestrian sprite directory\r\n\t\tFile folder = new File(\"res/pedestrians\");\r\n\t\tString[] files = folder.list();\r\n\t\t\r\n\t\t//Load all .gif files from the directory\r\n\t\tfor(String fileName : files){\r\n\t\t\tif (fileName.endsWith(\".gif\")) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (fileName.endsWith(\"Walk1.gif\")) {\r\n\t\t\t\t\t\tsprites.add(fileName);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tnew Sprite(\"pedestrians/\"+fileName, m);\r\n\t\t\t\t} catch (FileNotFoundException e) {\r\n\t\t\t\t\tSystem.err.println(\"ERROR: Unable to load pedestrian sprite \"+fileName);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//Ensure at least one sprite was loaded\r\n\t\tif (sprites.isEmpty()) {\r\n\t\t\tSystem.err.println(\"ERROR: Unable to load any pedestrian sprites\");\r\n\t\t}\r\n\t}", "public static void load() {\n\t\tspritesheet = new Spritesheet(\"src/de/kaffeeliebhaber/assets/pyxel/voland_spritesheet_new.png\", 32, 32);\n\t\tspritesheet.load();\n\t\t\n\t\t// load player\n\t\tAssetsLoader.loadPlayerAssets();\n\t\t\n\t\t// load crate\n\t\tAssetsLoader.loadCrates();\n\t\t\n\t\t// load item spritesheet \n\t\tspritesheetInventory = new Spritesheet(Config.ITEM_SPRITESHEET, Config.ITEM_SIZE, Config.ITEM_SIZE);\n\t\tspritesheetInventory.load();\n\t\t\n\t\t// load font \n\t\tloadFonts();\n\t\t\n\t\t// ui\n\t\timageUI = ImageLoader.loadImage(\"src/de/kaffeeliebhaber/assets/ui/ui.png\");\n\t\t\n\t\tAssetsLoader.loadInfoPaneAssets();\n\t\t\n\t\t// npc\n\t\tspritesheetNPC = new Spritesheet(\"src/de/kaffeeliebhaber/assets/AH_SpriteSheet_People1.png\", 16, 16);\n\t\tspritesheetNPC.load();\n\t\t\n\t\t// fox\n\t\tspritesheetNPCFox = new Spritesheet(\"src/de/kaffeeliebhaber/assets/imgs/72c68863962b7a6b5a9f5f5bcc5afb16.png\", 32, 32);\n\t\tspritesheetNPCFox.load();\n\n\t\t// *** LOAD NPCs\n\t\tAssetsLoader.loadFoxAssets();\n\t\t\n\t\tAssetsLoader.loadNPCs();\n\t\t\n\t\tspritesheetFemale = new Spritesheet(\"src/de/kaffeeliebhaber/assets/imgs/Female 01-1.png\", 32, 32);\n\t\tspritesheetFemale.load();\n\t}", "public void addSprite(Sprite s) {\r\n this.sprites.add(s);\r\n }", "protected static LinkedList<Location> generateLocations() {\n int i = 0;\n LinkedList<Location> list = new LinkedList<Location>();\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n ImagePacker gearImgs = new ImagePacker();\n\n try {\n gearImgs.readDirectory(new File(Objects.requireNonNull(classLoader.getResource(\"assets/gear-tiles\")).getPath()));\n } catch (Exception e) {\n e.printStackTrace();\n }\n for (i = 0; i < GEARTILES; i++) {\n list.add(new Location(LocationType.GEAR).withImg(gearImgs.popImg()));\n }\n list.get((int)(Math.random()*list.size())).toggleStartingLoc();\n\n Image waterImg = new Image(Objects.requireNonNull(classLoader.getResource(\"assets/water/water-tile.jpg\")).toString());\n for (i = 0; i < WATERTILES; i++) {\n list.add(new Location(LocationType.WELL).withImg(waterImg));\n }\n\n Image waterFakeImg = new Image(Objects.requireNonNull(classLoader.getResource(\"assets/water/water-fake-tile.jpg\")).toString());\n for (i = 0; i < WATERFAKETILES; i++) {\n list.add(new Location(LocationType.MIRAGE).withImg(waterFakeImg));\n }\n\n //TODO: Finish images\n for (i = 0; i < LANDINGPADTILES; i++) {\n list.add(new Location(LocationType.LANDINGPAD).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/landing-pad.jpg\")).toString())));\n }\n for (i = 0; i < TUNNELTILES; i++) {\n list.add(new Location(LocationType.TUNNEL).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/tunnel.jpg\")).toString())));\n }\n list.add(new Clue(Artifact.COMPASS, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/compass-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.COMPASS, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/compass-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.PROPELLER, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/propeller-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.PROPELLER, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/propeller-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.ENGINE, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/motor-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.ENGINE, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/motor-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.CRYSTAL, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/monolith-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.CRYSTAL, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/monolith-LR.jpg\")).toString())));\n\n return list;\n }", "public void initTiles()\n {\n PropertiesManager props = PropertiesManager.getPropertiesManager(); \n String imgPath = props.getProperty(MahjongSolitairePropertyType.IMG_PATH);\n int spriteTypeID = 0;\n SpriteType sT;\n \n // WE'LL RENDER ALL THE TILES ON TOP OF THE BLANK TILE\n String blankTileFileName = props.getProperty(MahjongSolitairePropertyType.BLANK_TILE_IMAGE_NAME);\n BufferedImage blankTileImage = miniGame.loadImageWithColorKey(imgPath + blankTileFileName, COLOR_KEY);\n ((MahjongSolitairePanel)(miniGame.getCanvas())).setBlankTileImage(blankTileImage);\n \n // THIS IS A HIGHLIGHTED BLANK TILE FOR WHEN THE PLAYER SELECTS ONE\n String blankTileSelectedFileName = props.getProperty(MahjongSolitairePropertyType.BLANK_TILE_SELECTED_IMAGE_NAME);\n BufferedImage blankTileSelectedImage = miniGame.loadImageWithColorKey(imgPath + blankTileSelectedFileName, COLOR_KEY);\n ((MahjongSolitairePanel)(miniGame.getCanvas())).setBlankTileSelectedImage(blankTileSelectedImage);\n \n // FIRST THE TYPE A TILES, OF WHICH THERE IS ONLY ONE OF EACH\n // THIS IS ANALOGOUS TO THE SEASON TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeATiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_A_TILES);\n for (int i = 0; i < typeATiles.size(); i++)\n {\n String imgFile = imgPath + typeATiles.get(i); \n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID);\n initTile(sT, TILE_A_TYPE);\n spriteTypeID++;\n }\n \n // THEN THE TYPE B TILES, WHICH ALSO ONLY HAVE ONE OF EACH\n // THIS IS ANALOGOUS TO THE FLOWER TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeBTiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_B_TILES);\n for (int i = 0; i < typeBTiles.size(); i++)\n {\n String imgFile = imgPath + typeBTiles.get(i); \n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID);\n initTile(sT, TILE_B_TYPE);\n spriteTypeID++;\n }\n \n // AND THEN TYPE C, FOR WHICH THERE ARE 4 OF EACH \n // THIS IS ANALOGOUS TO THE CHARACTER AND NUMBER TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeCTiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_C_TILES);\n for (int i = 0; i < typeCTiles.size(); i++)\n {\n String imgFile = imgPath + typeCTiles.get(i);\n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID); \n for (int j = 0; j < 4; j++)\n {\n initTile(sT, TILE_C_TYPE);\n }\n spriteTypeID++;\n }\n }", "public void dispose() {\n planetSprites.forEach(sprite -> sprite.getTexture().dispose());\n flagSprites.forEach(sprite -> sprite.getTexture().dispose());\n }", "@Override\n\tpublic void loadUnits() {\n\t\tsprites.put(\"axeman\", RES.getSprite(\"axeman\"));\n\t\tsprites.put(\"warg\", RES.getSprite(\"warg_right\"));\n\t}", "public void drawEnemies(){\n for (Object e : world.getEnemies()) {\n Enemy enemy = (Enemy) e;\n if (enemy instanceof EnemyPistol) {\n spriteBatch.draw(enemyPistolTexture, enemy.getPosition().x * ppuX, enemy.getPosition().y * ppuY,\n enemy.WIDTH * ppuX, enemy.HEIGHT * ppuY);\n }else if (enemy instanceof EnemyAwp){\n spriteBatch.draw(enemyAWPTexture, enemy.getPosition().x * ppuX, enemy.getPosition().y * ppuY,\n enemy.WIDTH * ppuX, enemy.HEIGHT * ppuY);\n }else if (enemy instanceof EnemyStalker){\n spriteBatch.draw(enemyStalkerTexture, enemy.getPosition().x * ppuX, enemy.getPosition().y * ppuY,\n enemy.WIDTH * ppuX, enemy.HEIGHT * ppuY);\n }else if (enemy instanceof EnemyBoss){\n spriteBatch.draw(enemyBossTexture, enemy.getPosition().x * ppuX, enemy.getPosition().y * ppuY,\n enemy.WIDTH * ppuX, enemy.HEIGHT * ppuY);\n }\n }\n }", "public void removeSprites(){\r\n\r\n\t}", "public static void load(){\n for(TextureHandler t : textures){\n if(t.texture!=null)t.texture.dispose();\n }\n textures.clear();\n \n //if the textures are corrupt or just arent there then the error TextureHandler will\n //be a placeholder which is generated programatically so it is always there\n int size = 64;\n Pixmap pixmap = new Pixmap(size,size, Format.RGBA8888 );\n pixmap.setColor(1f,0f,0f,1f);\n pixmap.fillCircle(size/2,size/2,size/2);\n pixmap.setColor(0f,0f,0f,1f);\n pixmap.fillCircle(size/2,size/2,(size/2)-2);\n pixmap.setColor(1f,0f,0f,1f);\n int offset = size/6;\n int length = (size+size)/3;\n pixmap.drawLine(offset,offset,offset+length,offset+length);\n pixmap.drawLine(offset+length,offset,offset,offset+length);\n error = new Texture(pixmap);\n pixmap.dispose();\n //things that get rendered the most get put at the top so theyre the first in the list\n textures.add(new TextureHandler(\"Block\" ,\"Block.png\",true));\n textures.add(new TextureHandler(\"Block1\",\"Block1.png\",true));\n textures.add(new TextureHandler(\"Block2\",\"Block2.png\",true));\n textures.add(new TextureHandler(\"Block3\",\"Block3.png\",true));\n textures.add(new TextureHandler(\"Block4\",\"Block4.png\",true));\n textures.add(new TextureHandler(\"GameBackground\",\"GameBackground.png\",true));\n \n textures.add(new TextureHandler(\"Hints\",\"Hints.png\",false));\n textures.add(new TextureHandler(\"Left\" ,\"ButtonLeft.png\",true));\n textures.add(new TextureHandler(\"Right\" ,\"ButtonRight.png\",true));\n textures.add(new TextureHandler(\"Rotate\",\"ButtonRotate.png\",true));\n textures.add(new TextureHandler(\"Pause\" ,\"ButtonPause.png\",true));\n textures.add(new TextureHandler(\"Label\" ,\"TextBox.png\",true));\n \n textures.add(new TextureHandler(\"Locked\",\"levels/Locked.png\",false));\n textures.add(new TextureHandler(\"Timer\",\"levels/Clock.png\",false));\n \n textures.add(new TextureHandler(\"PauseSelected\",\"SelectedPause.png\",true));\n textures.add(new TextureHandler(\"LeftSelected\",\"SelectedLeft.png\",true));\n textures.add(new TextureHandler(\"RightSelected\",\"SelectedRight.png\",true));\n textures.add(new TextureHandler(\"RotateSelected\",\"SelectedRotate.png\",true));\n \n textures.add(new TextureHandler(\"Background\",\"Background.png\",false));\n textures.add(new TextureHandler(\"Title\",\"MainMenuTitle.png\",false));\n\n }", "public void mostrarSprites() throws MalformedURLException, IOException, InterruptedException{\n URL url = new URL(miPokemon.getSprites().get(\"front_default\").toString());\n Image img = ImageIO.read(url);\n lblSprites.setIcon(new ImageIcon(img));\n // 1 segundo para cada cambio de sprite\n Thread.sleep(1000);\n \n url = new URL(miPokemon.getSprites().get(\"back_default\").toString());\n img = ImageIO.read(url);\n lblSprites.setIcon(new ImageIcon(img));\n Thread.sleep(1000);\n \n url = new URL(miPokemon.getSprites().get(\"front_shiny\").toString());\n img = ImageIO.read(url);\n lblSprites.setIcon(new ImageIcon(img));\n Thread.sleep(1000);\n \n url = new URL(miPokemon.getSprites().get(\"back_shiny\").toString());\n img = ImageIO.read(url);\n lblSprites.setIcon(new ImageIcon(img));\n Thread.sleep(1000);\n }", "private void loadSprites(String s){\n try {\n BufferedImage spriteSheet = ImageIO.read(\n getClass().getResourceAsStream(s));\n sprites = new BufferedImage[1];\n sprites[0] = spriteSheet.getSubimage(0, 0, width, height);\n\n } catch (Exception e){\n e.printStackTrace();\n }\n\n }", "public void addRandoms() {\n //Add random boulders on tiles that aren't Lava\n int tileNumber;\n int selector;\n Tile t;\n String tileTexture;\n Random random = new Random();\n SquareVector playerPos = getPlayerEntity().getPosition();\n int tileCount = GameManager.get().getWorld().getTiles().size();\n AbstractWorld world = GameManager.get().getWorld();\n int randIndex;\n\n for (int i = 0; i < 20; i++) {\n //Get respective volcano tile (5 <= Lava tiles Index <= 8\n do {\n randIndex = random.nextInt(tileCount);\n t = world.getTile(randIndex);\n } while (t.getCoordinates().isCloseEnoughToBeTheSame(playerPos));\n\n tileTexture = t.getTextureName();\n tileNumber = Integer.parseInt(tileTexture.split(\"_\")[1]);\n\n selector = random.nextInt(2);\n if (tileNumber < 5 && tileNumber > 1 && selector == 1 && !t.hasParent()) {\n entities.add(new Rock(t, true));\n } else if (t != null && (tileNumber == 3 || tileNumber == 4) &&\n selector == 0 && !t.hasParent()) {\n entities.add(new VolcanoBurningTree(t, true));\n } else {\n i--;\n }\n }\n }", "public void addSprite(Sprite s) {\r\n this.sprites.addSprite(s);\r\n }", "private void generateEnemies() {\n for(int i =0; i < currentEnemies.length; i++) {\n Attributes a = genAttributes();\n double[] healthSpeed = genHealthAndSpeed();\n LinkedList<Pathing> paths = map.getPathings();\n this.currentEnemies[i] = new Enemy(determineImage(a, healthSpeed[0]), healthSpeed[0], healthSpeed[1], 10+currentDifficulty/20, a, paths);\n }\n\n }", "private void loadSpritesheet() {\n\t\tobjects = new SpriteSheet(\"res\\\\pong.png\");\n\t\tobjects_hires = new SpriteSheet(\"res\\\\ponghires.png\",\n\t\t\t\tSpriteSheet.LINEAR);\n\t}", "private void loadTextures() {\n textureIdMap.keySet().forEach((i) -> {\n //for (int i = 0; i < textureFileNames.length; i++) {\n try {\n URL textureURL;\n textureURL = getClass().getClassLoader().getResource(textureIdMap.get(i));\n if (textureURL != null) {\n BufferedImage img = ImageIO.read(textureURL);\n ImageUtil.flipImageVertically(img);\n Texture temp = AWTTextureIO.newTexture(GLProfile.getDefault(), img, true);\n temp.setTexParameteri(gl, GL2.GL_TEXTURE_WRAP_S, GL2.GL_CLAMP_TO_EDGE);\n temp.setTexParameteri(gl, GL2.GL_TEXTURE_WRAP_T, GL2.GL_CLAMP_TO_EDGE);\n textures.put(i, temp);\n }\n } catch (IOException | GLException e) {\n e.printStackTrace();\n }\n });\n textures.get(0).enable(gl);\n }", "public void addSprite(Sprite s) {\n sprites.addSprite(s);\n }", "public void attachSprite(Sprite s){\n \tgraphicsElements.add(s);\n }", "public static void loadItemTextures() {\n\t\tspriteTItem = ModLoader.addOverride(\"/gui/items.png\",\n\t\t\t\t\"/WirelessSprites/txOn.png\");\n\t\tspriteRItem = ModLoader.addOverride(\"/gui/items.png\",\n\t\t\t\t\"/WirelessSprites/rxOn.png\");\n\t}", "private void ini_Sprites()\r\n\t{\r\n\t\tLogger.DEBUG(\"ini_Sprites\");\r\n\t\tResourceCache.LoadSprites(false);\r\n\t}", "private void addCharacters() {\r\n\t\tplayer = new GImage(\"PlayerEast.png\");\r\n\t\tplayer.scale(.75);\r\n\t\tadd(player, player.getWidth() / 2.0, level1.getY() - player.getHeight());\r\n\t\t\r\n\t\tdragon1 = new GImage(\"Dragon1.png\");\r\n\t\tadd(dragon1, getWidth() - dragon1.getWidth() * 1.5, level1.getY() - dragon1.getHeight());\r\n\t\t\r\n\t\tdragon2 = new GImage(\"Dragon2.png\");\r\n\t\tadd(dragon2, dragon2.getWidth() / 2.0, level2.getY() - dragon2.getHeight());\r\n\t\t\r\n\t\tGObject karel = new GImage(\"karel.png\");\r\n\t\tadd(karel, getWidth() - karel.getWidth(), level3.getY() - karel.getHeight());\r\n\t\t\r\n\t\tmehran = new GImage(\"EvilMehran1.png\");\r\n\t\tadd(mehran, getWidth() - mehran.getWidth() - karel.getWidth(), level3.getY() - mehran.getHeight());\r\n\t}", "private void loadTextures() {\n\t\tspriteSheet01 = new Texture(\"data/buttonsspritesheet02.png\");\n\n\t\tnew TextureRegion(spriteSheet01, BROKEN_COLUMN * SQUARE_SIZE,\n\t\t\t\tBROKEN_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, EMPTY_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tEMPTY_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, ACTIVATED_COLUMN * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, DEPRESSED_BUTTON * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, HIGHLIGHTED_COLUMN * SQUARE_SIZE,\n\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, CAROUSEL_COLUMN * SQUARE_SIZE,\n\t\t\t\t(CAROUSEL_ROW * SQUARE_SIZE) + CAROUSEL_PIXELS, SQUARE_SIZE,\n\t\t\t\tCAROUSEL_PIXELS);\n\n\t\tnew TextureRegion(spriteSheet01, FIX_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tFIX_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tnew TextureRegion(spriteSheet01, WILD_BUTTON_COLUMN * SQUARE_SIZE,\n\t\t\t\tWILD_BUTTON_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\n\t\tcarousel = new TextureRegion[MAIN_COLOUR_AMOUNT];\n\t\tfor (int i = 0; i < MAIN_COLOUR_AMOUNT; i++) {\n\t\t\tcarousel[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(CAROUSEL_COLUMN * SQUARE_SIZE) + (i * CAROUSEL_PIXELS),\n\t\t\t\t\tCAROUSEL_ROW * SQUARE_SIZE, CAROUSEL_PIXELS,\n\t\t\t\t\tCAROUSEL_PIXELS);\n\t\t}\n\n\t\trings = new TextureRegion[RING_AMOUNT];\n\t\tfor (int i = 0; i < RING_AMOUNT; i++) {\n\t\t\trings[i] = new TextureRegion(spriteSheet01, i * SQUARE_SIZE,\n\t\t\t\t\tRING_ROW * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tmainColour = new TextureRegion[MAIN_COLOUR_AMOUNT];\n\t\tfor (int i = 0; i < MAIN_COLOUR_AMOUNT; i++) {\n\t\t\tmainColour[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i + MAIN_COLOUR_COLUMN) * SQUARE_SIZE, MAIN_COLOUR_ROW,\n\t\t\t\t\tSQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tspecials = new TextureRegion[SPECIALS_AMOUNT];\n\t\tfor (int i = 0; i < SPECIALS_ROW_ONE_AMOUNT; i++) {\n\t\t\tspecials[i] = new TextureRegion(spriteSheet01, i * SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\t\tfor (int i = SPECIALS_ROW_ONE_AMOUNT; i < SPECIALS_AMOUNT; i++) {\n\t\t\tspecials[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i - SPECIALS_ROW_ONE_AMOUNT) * SQUARE_SIZE,\n\t\t\t\t\tSPECIALS_ROW_TWO * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);\n\t\t}\n\n\t\tenemyBaseColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyBaseColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_BASE_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyHalfColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyHalfColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_HALF_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyThirdColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyThirdColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_THIRD_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyRimColours = new TextureRegion[ENEMY_COLOURS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_COLOURS_AMOUNT; i++) {\n\t\t\tenemyRimColours[i] = new TextureRegion(spriteSheet01, i\n\t\t\t\t\t* SQUARE_SIZE, ENEMY_RIM_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\n\t\tenemyConnectors = new TextureRegion[ENEMY_CONNECTORS_AMOUNT];\n\t\tfor (int i = 0; i < ENEMY_CONNECTORS_AMOUNT; i++) {\n\t\t\tenemyConnectors[i] = new TextureRegion(spriteSheet01,\n\t\t\t\t\t(i + ENEMY_CONNECTORS_COLUMN) * SQUARE_SIZE,\n\t\t\t\t\tENEMY_CONNECTORS_ROW * SQUARE_SIZE, SQUARE_SIZE,\n\t\t\t\t\tSQUARE_SIZE);\n\t\t}\n\t}", "@Override\n\tpublic void addToLayer(Sprite sprite) {\n\t\trenderList.add(sprite);\n\t}", "public Sprite(String newSpriteLocation){\n\t\timages = new Texture[1];\n\t\timages[0] = new Texture(newSpriteLocation);\n\t}", "abstract public void loadSprite();", "public void writeToNBT(NBTTagCompound nbt) {\n\t\tnbt.setInteger(\"xSize\", sizeX);\n\t\tnbt.setInteger(\"ySize\", sizeY);\n\t\tnbt.setInteger(\"zSize\", sizeZ);\n\n\n\t\tIterator<TileEntity> tileEntityIterator = tileEntities.iterator();\n\t\tNBTTagList tileList = new NBTTagList();\n\t\twhile(tileEntityIterator.hasNext()) {\n\t\t\tTileEntity tile = tileEntityIterator.next();\n\t\t\ttry {\n\t\t\t\tNBTTagCompound tileNbt = new NBTTagCompound();\n\t\t\t\ttile.writeToNBT(tileNbt);\n\t\t\t\ttileList.appendTag(tileNbt);\n\t\t\t} catch(RuntimeException e) {\n\t\t\t\tAdvancedRocketry.logger.warn(\"A tile entity has thrown an error: \" + tile.getClass().getCanonicalName());\n\t\t\t\tblocks[tile.getPos().getX()][tile.getPos().getY()][tile.getPos().getZ()] = Blocks.AIR;\n\t\t\t\tmetas[tile.getPos().getX()][tile.getPos().getY()][tile.getPos().getZ()] = 0;\n\t\t\t\ttileEntityIterator.remove();\n\t\t\t}\n\t\t}\n\n\t\tint[] blockId = new int[sizeX*sizeY*sizeZ];\n\t\tint[] metasId = new int[sizeX*sizeY*sizeZ];\n\t\tfor(int x = 0; x < sizeX; x++) {\n\t\t\tfor(int y = 0; y < sizeY; y++) {\n\t\t\t\tfor(int z = 0; z < sizeZ; z++) {\n\t\t\t\t\tblockId[z + (sizeZ*y) + (sizeZ*sizeY*x)] = Block.getIdFromBlock(blocks[x][y][z]);\n\t\t\t\t\tmetasId[z + (sizeZ*y) + (sizeZ*sizeY*x)] = (int)metas[x][y][z];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tNBTTagIntArray idList = new NBTTagIntArray(blockId);\n\t\tNBTTagIntArray metaList = new NBTTagIntArray(metasId);\n\n\t\tnbt.setTag(\"idList\", idList);\n\t\tnbt.setTag(\"metaList\", metaList);\n\t\tnbt.setTag(\"tiles\", tileList);\n\n\n\t\t/*for(int x = 0; x < sizeX; x++) {\n\t\t\tfor(int y = 0; y < sizeY; y++) {\n\t\t\t\tfor(int z = 0; z < sizeZ; z++) {\n\n\t\t\t\t\tidList.appendTag(new NBTTagInt(Block.getIdFromBlock(blocks[x][y][z])));\n\t\t\t\t\tmetaList.appendTag(new NBTTagInt(metas[x][y][z]));\n\n\t\t\t\t\t//NBTTagCompound tag = new NBTTagCompound();\n\t\t\t\t\ttag.setInteger(\"block\", Block.getIdFromBlock(blocks[x][y][z]));\n\t\t\t\t\ttag.setShort(\"meta\", metas[x][y][z]);\n\n\t\t\t\t\tNBTTagCompound tileNbtData = null;\n\n\t\t\t\t\tfor(TileEntity tile : tileEntities) {\n\t\t\t\t\t\tNBTTagCompound tileNbt = new NBTTagCompound();\n\n\t\t\t\t\t\ttile.writeToNBT(tileNbt);\n\n\t\t\t\t\t\tif(tileNbt.getInteger(\"x\") == x && tileNbt.getInteger(\"y\") == y && tileNbt.getInteger(\"z\") == z){\n\t\t\t\t\t\t\ttileNbtData = tileNbt;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif(tileNbtData != null)\n\t\t\t\t\t\ttag.setTag(\"tile\", tileNbtData);\n\n\t\t\t\t\tnbt.setTag(String.format(\"%d.%d.%d\", x,y,z), tag);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}*/\n\t}", "private void registerPlayers(SantaConfig sc) {\n // Second try.\n Set<String> keys = sc.getBaseKeys(\"registered\");\n for(String key : keys) {\n String name = sc.getBaseString(\"registered.\" + key);\n UUID id = UUID.fromString(key);\n playerRegistry.put(id, name);\n }\n }", "public void registerTileEntities() {\n GameRegistry.registerTileEntity(TEEssenceStorage.class, ReferenceMisc.MODID + \"_essencestorage\");\n GameRegistry.registerTileEntity(TEPylon.class, ReferenceMisc.MODID + \"_pylon\");\n GameRegistry.registerTileEntity(TEVitar.class, ReferenceMisc.MODID + \"_vitar\");\n GameRegistry.registerTileEntity(TEStorage.class, ReferenceMisc.MODID + \"_storage\");\n GameRegistry.registerTileEntity(TELeo.class, ReferenceMisc.MODID + \"_leo\");\n GameRegistry.registerTileEntity(TEBreedingChamber.class, ReferenceMisc.MODID + \"_breedingChamber\");\n GameRegistry.registerTileEntity(TEIncubationChamber.class, ReferenceMisc.MODID + \"_incubationChamber\");\n\n }", "public void loadAllTextures()\n {\n int numChildren = androidRobot3DObject.numChildren();\n for(int i = 0;i<numChildren;i++)\n {\n String name = androidRobot3DObject.getChildAt(i).name();\n\n Log.d(\"min3d\", \"Texture name: \" + name);\n\n // The name is either extracted from the _mtl file\n // or directly from the *.3ds file\n // The name can be given directly into Blender\n if(name.indexOf(\"body\")!=-1)\n {\n androidRobot3DObject.getChildAt(i).textures().clear();\n androidRobot3DObject.getChildAt(i).textures().addById(\"squared_robot_body\");\n }\n\n if(name.indexOf(\"head\")!=-1)\n {\n androidRobot3DObject.getChildAt(i).textures().clear();\n androidRobot3DObject.getChildAt(i).textures().addById(\"squared_robot_head\");\n }\n\n if(name.indexOf(\"foot\")!=-1)\n {\n androidRobot3DObject.getChildAt(i).textures().clear();\n androidRobot3DObject.getChildAt(i).textures().addById(\"squared_robot_foot\");\n }\n\n\n if(name.indexOf(\"arm\")!=-1)\n {\n androidRobot3DObject.getChildAt(i).textures().clear();\n androidRobot3DObject.getChildAt(i).textures().addById(\"squared_robot_arm\");\n }\n\n if(name.indexOf(\"antenna\")!=-1)\n {\n androidRobot3DObject.getChildAt(i).textures().clear();\n androidRobot3DObject.getChildAt(i).textures().addById(\"squared_robot_antenna\");\n }\n }\n\n }", "public static void init()\n {\n \tSpriteSheet sheet = new SpriteSheet(ImageLoader.loadImage(\"/sprites/spritesheet.png\"));\n BufferedImage img;\n /*for(int y = 0;y<4;y++)\n \t{\n \t\t\n \timg = sheet.crop(width*y,0,width,height);\n \t\t\n \t\tplayer.add(img);\n \t}*/\n hero = sheet.crop(0,0,width,height);\n heroUp = sheet.crop(width,0,width,height);\n heroLeft = sheet.crop(width*2,0,width,height);\n heroRight = sheet.crop(width*3,0,width,height);\n \n heroDown1 = sheet.crop(0,height+32,width+1,height);\n heroDown2 = sheet.crop(width+1,height+32,width+1,height);\n heroUp1 = sheet.crop(width*2+2,height+32,width,height);\n heroUp2 = sheet.crop(width*3+2,height+32,width,height);\n heroLeft1 = sheet.crop(width*4+2,height+32,width,height);\n heroLeft2 = sheet.crop(width*5+2,height+32,width,height);\n heroRight1 = sheet.crop(width*6+2,height+32,width,height);\n heroRight2 = sheet.crop(width*7+2,height+32,width,height);\n \n /*for(int i = 0;i<4;i++)\n {\n \tfor(int y = 0;y<4;y++)\n \t{\n \t\tif(y==1)\n \t\t{\n \t\t\timg = sheet.crop(width*y,height*i,width,height);\n \t\t}\n \t\telse\n \t\t{\n \t\t\timg = sheet.crop(width*y+1,height*i+1,width,height);\n \t\t}\n \t\tplayer.add(img);\n \t}\n }*/\n sheet = new SpriteSheet(ImageLoader.loadImage(\"/sprites/PokemonTileSet.png\"));\n for(int i = 0;i<50;i++)\n {\n \tfor(int y = 0;y<8;y++)\n \t{\n \t\timg = sheet.crop(tileW*y,tileH*i,tileW,tileH);\n \t\tassets.add(img);\n \t}\n }\n \n /*\n hero = sheet.crop(0,0,width,height);\n heroUp = sheet.crop(width,0,width,height);\n heroLeft = sheet.crop(width*2,0,width,height);\n heroRight = sheet.crop(width*3,0,width,height);\n \n treeTopLeft = sheet.crop(0,firstRow,tWidth,tHeight);\n treeTopRight = sheet.crop(tWidth,firstRow,tWidth,tHeight);\n treeMidLeft = sheet.crop(tWidth*2,firstRow,tWidth,tHeight);\n treeMidRight = sheet.crop(tWidth*3,firstRow,tWidth,tHeight);\n treeBotLeft = sheet.crop(tWidth*4,firstRow,tWidth,tHeight);\n treeBotRight = sheet.crop(tWidth*5,firstRow,tWidth,tHeight);\n treeTopLeftGrass = sheet.crop(tWidth*6,firstRow,tWidth,tHeight);\n treeTopRightGrass = sheet.crop(tWidth*7,firstRow,tWidth,tHeight);\n treeTopLeftMushroom = sheet.crop(tWidth*8,firstRow,tWidth,tHeight);\n grass = sheet.crop(tWidth*9,firstRow,tWidth,tHeight);\n \n wildGrass = sheet.crop(0,secondRow,tWidth,tHeight);\n mushroom = sheet.crop(tWidth,secondRow,tWidth,tHeight);\n logLeft = sheet.crop(tWidth*2,secondRow,tWidth,tHeight);\n logRight = sheet.crop(tWidth*3,secondRow,tWidth,tHeight);\n ledgeLeft = sheet.crop(tWidth*4,secondRow,tWidth,tHeight);\n ledgeMid = sheet.crop(tWidth*5,secondRow,tWidth,tHeight);\n ledgeRight = sheet.crop(tWidth*6,secondRow,tWidth,tHeight);\n treeLeftOverlap = sheet.crop(tWidth*7,secondRow,tWidth,tHeight);\n treeRightOverlap = sheet.crop(tWidth*8,secondRow,tWidth,tHeight);\n \n heroWalkingDown1 = sheet.crop(0,thirdRow,width+1,height);\n heroWalkingDown2 = sheet.crop(width+1,thirdRow,width+1,height);\n heroWalkingUp1 = sheet.crop(width*2+1,thirdRow,width,height);\n heroWalkingUp2 = sheet.crop(width*3+1,thirdRow,width,height);\n heroWalkingLeft1 = sheet.crop(width*4+1,thirdRow,width,height);\n heroWalkingLeft2 = sheet.crop(width*5+1,thirdRow,width,height);\n heroWalkingRight1 = sheet.crop(width*6+1,thirdRow,width,height);\n heroWalkingRight2 = sheet.crop(width*7+1,thirdRow,width,height);\n */\n }", "private void registerPreys(List<Prey> preys){\n model.addPreys(preys);\n for(Prey prey: preys){\n movementHandler.addCinematicObject(prey);\n prey.attach(movementHandler);\n if (this.deathController != null)\n prey.attach(deathController);\n\n //statistics module\n statisticModule.addEntity(prey);\n prey.attach((PositionObserver) statisticModule);\n prey.attach((EnergyObserver) statisticModule);\n }\n }", "public static void loadImages() {\n PonySprite.loadImages(imgKey, \"graphics/ponies/GrannySmith.png\");\n }", "private static void initResources() {\n\t\tString[] res = new String[4];\r\n\t\tres[0] = \"res/entity/spaceshipv1.png\";\r\n\t\tres[1] = \"res/entity/prob.png\";\r\n\t\tres[2] = \"res/dot.png\";\r\n\t\tres[3] = \"res/entity/spaceshipv2.png\";\r\n\t\tSResLoader.addSpriteArray(res);\r\n\t}", "public void drawAllOn(DrawSurface d) {\r\n for (Sprite s : sprites) {\r\n s.drawOn(d);\r\n }\r\n }", "public void updateLavaTiles() {\n for (Tile tile : getTiles()) {\n Random random = new Random();\n if (tile.getType().matches(\"BurnTile\")) {\n tile.setTexture(\"Volcano_\" + (random.nextInt(4) + 5));\n }\n }\n }", "public static void loadBlockTextures() {\n\t\tspriteTopOn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/topOn.png\");\n\t\tspriteTopOff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/topOff.png\");\n\t\tspriteROn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/rxOn.png\");\n\t\tspriteROff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/rxOff.png\");\n\t\tspriteTOn = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/txOn.png\");\n\t\tspriteTOff = ModLoader.addOverride(\"/terrain.png\",\n\t\t\t\t\"/WirelessSprites/txOff.png\");\n\t}", "private void generateEnemies(int count) {\n generateEnemiesOnLayer(map.getHell(), count);\n generateEnemiesOnLayer(map.getEarth(), count);\n generateEnemiesOnLayer(map.getHeaven(), count);\n }", "public void addSprite(String state, BufferedImage[] images) {\n // checkValidState(state);\n this.sprites.put(state, images);\n }", "private void makeKillerEnemys(int n) {\n List<Enemy> enemies = getEnemies();\n\n for (int i = 0; i < n; i++) {\n Random r = new Random();\n //spawn enemies at random position on the map\n enemies.add(new KillerEnemy(getGameView(), r.nextInt((getMap().width - (-getMap().width)) + 1) + (-getMap().width),\n r.nextInt((getMap().height - (-getMap().height)) + 1) + (-getMap().height),\n 100));\n }\n\n setEnemies(enemies);\n }", "public static void addGroundTextures(Player player, Set<Integer> groundTextureIds) {\n\t\tSet<GroundTextureDto> selectedGroundTextures = GroundTextureDao.getGroundTextures().stream()\n\t\t\t.filter(e -> groundTextureIds.contains(e.getId()))\n\t\t\t.collect(Collectors.toSet());\n\t\t\n//\t\tfinal Set<Integer> spriteMapIds = selectedGroundTextures.stream().map(GroundTextureDto::getSpriteMapId).collect(Collectors.toSet());\n\t\t\n\t\t// pull all the other ground textures that use these sprite maps and add them to our selected list\n\t\t// e.g. if the client loads one part of the water texture map, pull the rest of the textures in the water map and send them too.\n//\t\tselectedGroundTextures.addAll(GroundTextureDao.getGroundTextures().stream()\n//\t\t\t\t.filter(e -> spriteMapIds.contains(e.getSpriteMapId()))\n//\t\t\t\t.collect(Collectors.toSet()));\n\t\t\n\t\tSet<Integer> selectedGroundTextureIds = extractUnloadedGroundTextureIds(player, selectedGroundTextures.stream().map(GroundTextureDto::getId).collect(Collectors.toSet()));\n\t\tif (selectedGroundTextureIds.isEmpty())\n\t\t\treturn;\n\t\t\n\t\tgroundTextures.putIfAbsent(player, new HashSet<>());\t\t\n\t\tgroundTextures.get(player).addAll(selectedGroundTextures);\n\t\taddLoadedGroundTextureIds(player, selectedGroundTextureIds);\n\t\t\n//\t\tSet<Integer> selectedSpriteMapIds = extractUnloadedSpriteMapIds(player, spriteMapIds);\n//\t\tif (selectedSpriteMapIds.isEmpty())\n//\t\t\treturn;\n\t\t\n//\t\taddLoadedSpriteMapIds(player, selectedSpriteMapIds);\n\t\t\n//\t\tif (!spriteMaps.containsKey(player))\n//\t\t\tspriteMaps.put(player, new HashSet<>());\n\t\t\n//\t\tif (!groundTextureSpriteMapIds.containsKey(player))\n//\t\t\tgroundTextureSpriteMapIds.put(player, new HashSet<>());\n\t\t\n//\t\tfor (Integer spriteMapId : selectedSpriteMapIds) {\n//\t\t\tspriteMaps.get(player).add(SpriteMapDao.getSpriteMap(spriteMapId));\n//\t\t\tgroundTextureSpriteMapIds.get(player).add(spriteMapId);\n//\t\t}\n\t}", "@Override\n\tpublic void render() {\n\t\tupdate();\n\n\t\tGdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT); // clear the screen\n\t\tbatch.begin();\n\n\t\tTextureRegion tmpRegion = null;\n\t\t\n\t\t// Draw the terrain!\n\t\tfor (int x = 0; x < 30; ++x) {\n\t\t\tfor (int y = 0; y < 20; ++y) {\n\t\t\t\ttmpRegion = new TextureRegion( tileset32Texture, (tiles[x][y] - 4) * 32, 0, 32, 32);\n\t\t\t\t//pause_button_region = new TextureRegion( spriteSheet, tiles[x][y] - 4, 0, 32, 32);\n\t\t\t\t// switch to 32x32 sprite\n\t\t\t\t//batch.draw(spriteSheet, x * 16, y * 16, tiles[x][y] * 16, 0, 16, 16);\n\t\t\t\tbatch.draw(tmpRegion, x * SQUARE_WIDTH, y * SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH);\n\n\t\t\t\t// Temporary, copy pasta\n\t\t\t\t/*\n\t\t\t\t * switch( movementDirs[x][y] ) { case 'N': batch.draw(\n\t\t\t\t * spriteSheet, x*16, y*16, 11*16, 0, 16, 16 ); break; case 'E':\n\t\t\t\t * batch.draw( spriteSheet, x*16, y*16, 12*16, 0, 16, 16 );\n\t\t\t\t * break; case 'W': batch.draw( spriteSheet, x*16, y*16, 13*16,\n\t\t\t\t * 0, 16, 16 ); break; case 'S': batch.draw( spriteSheet, x*16,\n\t\t\t\t * y*16, 14*16, 0, 16, 16 ); break; }\n\t\t\t\t */\n\t\t\t\t\n\t\t\t}\n\t\t}\n\n\t\t// Draw the towers\n\t\tfor( int i = 0; i < towers.size(); ++i )\n\t\t{\n\t\t\tbatch.draw(towers.get(i).m_type.getTextureRegion(), towers.get(i).m_x * SQUARE_WIDTH, (towers.get(i).m_y) * SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH);\n\t\t\t//drawSprite(towers.get( i ).getIconNum(), towers.get(i).m_x, towers.get(i).m_y);\n\t\t\tif (towers.get(i).selected) {\n\t\t\t\t//batch.draw(spriteSheet, towers.get(i).m_x * SQUARE_WIDTH, towers.get(i).m_y * SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, towers.get(i).m_type.getSpriteLocX(), towers.get(i).m_type.getSpriteLocY(), 16, 16, false, true);\n\t\t\t\t//drawSprite(towers.get( i ).getIconNum(), towers.get(i).m_x, towers.get(i).m_y);\n\t\t\t\tbatch.draw(selectionImg, towers.get(i).m_x * SQUARE_WIDTH, towers.get(i).m_y * SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, 0, 0, 32, 32, false, true);\n\t\t\t}\n\n\t\t\t\n\t\t}\n\n\t\t// Draw the creeps!\n\t\tfor( int i = 0; i < creeps.size(); ++i)\n\t\t{\n\n\t\t\tif( creeps.get(i).active ) {\n\t\t\t\tTextureRegion toUse = null;\n\t\t\t\t//TextureRegion toUse = new TextureRegion(corporateCreepTexture);\n\t\t\t\tif (creeps.get(i).m_type == CreepType.GLOBAL_CORP) {\n\t\t\t\t\ttoUse = new TextureRegion(corporateCreepTexture);\n\t\t\t\t} else if (creeps.get(i).m_type == CreepType.SEARCHER) {\n\t\t\t\t\ttoUse = new TextureRegion(defconZeplinTexture);\n\t\t\t\t} else if (creeps.get(i).m_type == CreepType.GOVERNMENT) {\n\t\t\t\t\ttoUse = new TextureRegion(govHeliTexture);\n\t\t\t\t} else {\n\t\t\t\t\t// TODO: Change this to difference art.\n\t\t\t\t\ttoUse = new TextureRegion(corporateCreepTexture);\n\t\t\t\t}\n\t\t\t\tbatch.draw(toUse, creeps.get(i).x * SQUARE_WIDTH + creeps.get(i).xOffset, creeps.get(i).y * SQUARE_WIDTH + creeps.get(i).yOffset, SQUARE_WIDTH, SQUARE_WIDTH);\n\t\t\t\t//batch.draw(toUse, creeps.get(i).x * SQUARE_WIDTH + creeps.get(i).xOffset, creeps.get(i).y * SQUARE_WIDTH + creeps.get(i).yOffset, SQUARE_WIDTH, SQUARE_WIDTH, 0, 32, 32, 32, false, false);\n\t\t\t}\n\t\t}\n\n\t\t// Draw the projectiles!\n\t\tfor( int i = 0; i < maxProjectiles; ++i )\n\t\t{\n\t\t\tif( projectiles[i].active )\n\t\t\t{\n//\t\t\t\tbatch.draw( spriteSheet, projectiles[i].my_coords.x*SQUARE_WIDTH, projectiles[i].my_coords.y*SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, 0, 16*3, 16, 16, false, false);\n\t\t\t\tif (projectiles[i].towertype == \"judge\"){\n\t\t\t\t\tbatch.draw( spriteSheet, projectiles[i].my_coords.x*SQUARE_WIDTH, projectiles[i].my_coords.y*SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, 0, 16*3, 16, 16, false, false);\n\t\t\t\t} else if (projectiles[i].towertype == \"teacher\"){\n\t\t\t\t\tbatch.draw( spriteSheet, projectiles[i].my_coords.x*SQUARE_WIDTH, projectiles[i].my_coords.y*SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, 16, 16*3, 16, 16, false, false);\n\t\t\t\t} else if (projectiles[i].towertype == \"lawyer\"){\n\t\t\t\t\tbatch.draw( spriteSheet, projectiles[i].my_coords.x*SQUARE_WIDTH, projectiles[i].my_coords.y*SQUARE_WIDTH, SQUARE_WIDTH, SQUARE_WIDTH, 32, 16*3, 16, 16, false, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Draw the UI!\n\n\t\t// Background\n\n\t\tbatch.draw(blackBox, 0, 0, uiPanelWidth , screenHeight);\n\n\t\t// Draw the menu bar\n\t\tbatch.draw(menuTexture,-4,-190);\n\t\t//batch.draw(menu_region, 0, -100);\n\t\t\n\t\t// Draw the free towers.\n\t\t\n\t\tfor (int i = 1; i <= 3; i++) \n\t\t{\n\t\t\tif (free_towers.get(i-1) != null) \n\t\t\t{\n\t\t\t\t//tower_region.setRegion( free_towers.get(i-1).getSpriteLocX(), free_towers.get(i-1).getSpriteLocY(), 16, 16 );\n\t\t\t\tbatch.draw(free_towers.get(i-1).getTextureRegion(), 29, (screenHeight - 60 * i) + 5, SQUARE_WIDTH, SQUARE_WIDTH);\n\t\t\t\t//batch.draw(tower_region, 33, screenHeight - 57 * i, 16, 16);\n\t\t\t\t\n\t\t\t\tString towerPrice = \"$\" + free_towers.get(i-1).getPrice();\n\t\t\t\tTextBounds priceBounds = mFont.getBounds(towerPrice);\n\t\t\t\tColor oldColor = mFont.getColor();\n\t\t\t\tmFont.setColor(Color.GREEN);\n\t\t\t\tmFont.drawWrapped(batch, towerPrice, 10, 33 + screenHeight - 58*i + priceBounds.height, priceBounds.width);\n\t\t\t\tmFont.setColor(oldColor);\n\t\t\t}\n\t\t}\t\t\n\t\t\n\t\t// Keep the GC in its cage as long as possible. \n\t\tif( oldMoney != money || oldLife != life )\n\t\t{\n\t\t\tuiString = \"+: \" + life + '\\n' + \"$: \" + money;\n\t\t\tuiBounds = mFont.getMultiLineBounds(uiString);\n\t\t}\n\t\toldMoney = money;\n\t\toldLife = life;\n\t\t\t\t\n\t\t// Draw droid pause button if on an android device.\n\t\tif (runningDrd) {\n\t\t\t\n\t\t\tpause_button_region.setRegion(7*17, 23, 2, 2);\n\t\t\tbatch.draw(pause_button_region, DRD_PAUSE_RECT.x, DRD_PAUSE_RECT.y, DRD_PAUSE_RECT.width, DRD_PAUSE_RECT.height);\n\t\t\t\n\t\t\tString pause_button_string = \"Pause\";\n\t\t\tTextBounds pauseButtonBounds = mFont.getBounds(pause_button_string);\n\t\t\tmFont.drawWrapped(batch, pause_button_string,\n\t\t\t\t\t\t\t(32 - (pauseButtonBounds.width / 2)),\n\t\t\t\t\t\t\tDRD_PAUSE_RECT.y + pauseButtonBounds.height + 4, pauseButtonBounds.width);\n\t\t}\n\t\t\n\t\t// Draw the restart button if paused or game over.\n\t\tif (life <= 0 || isPaused) {\n\t\t\t\n\t\t\trestart_button_region.setRegion(7*17, 23, 2, 2);\n\t\t\tbatch.draw(restart_button_region, RESTART_RECT.x, RESTART_RECT.y, RESTART_RECT.width, RESTART_RECT.height);\n\t\t\t\n\t\t\tString restart_button_string = \"Restart\";\n\t\t\tTextBounds restartButtonBounds = mFont.getBounds(restart_button_string);\n\t\t\tmFont.drawWrapped(batch, restart_button_string,\n\t\t\t\t\t\t\t(32 - (restartButtonBounds.width / 2)),\n\t\t\t\t\t\t\tRESTART_RECT.y + restartButtonBounds.height + 4, restartButtonBounds.width);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t// Draw the start button if we are in build mode.\n\t\tif (buildMode) {\n\t\t\t\n\t\t\tstart_button_region.setRegion(7*17, 23, 2, 2);\n\t\t\tbatch.draw(start_button_region, START_RECT.x, START_RECT.y, START_RECT.width, START_RECT.height);\n\t\t\t\n\t\t\tString start_button_string = \"Start\";\n\t\t\tTextBounds startButtonBounds = mFont.getBounds(start_button_string);\n\t\t\tmFont.drawWrapped(batch, start_button_string,\n\t\t\t\t\t\t\t(32 - (startButtonBounds.width / 2)),\n\t\t\t\t\t\t\tSTART_RECT.y + startButtonBounds.height + 4, startButtonBounds.width);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t// Draw the sell button if we are not paused or in build mode and a tower is selected.\n\t\tif (!isPaused && !buildMode && selected != null) {\n\t\t\t\n\t\t\tsell_button_region.setRegion(7*17, 23, 2, 2);\n\t\t\tbatch.draw(sell_button_region, SELL_RECT.x, SELL_RECT.y, SELL_RECT.width, SELL_RECT.height);\n\t\t\t\n\t\t\tString sell_button_string = \"Sell\";\n\t\t\tTextBounds sellButtonBounds = mFont.getBounds(sell_button_string);\n\t\t\tmFont.drawWrapped(batch, sell_button_string,\n\t\t\t\t\t\t\t(32 - (sellButtonBounds.width / 2)),\n\t\t\t\t\t\t\tSTART_RECT.y + sellButtonBounds.height + 4, sellButtonBounds.width);\n\t\t}\n\t\t\n\t\t// Text\n\t\tString uiString = \"+ \" + life + '\\n' + \"$ \" + money;\n\t\tTextBounds uiBounds = mFont.getMultiLineBounds(uiString);\n\t\tColor oldColor = mFont.getColor();\n\t\tmFont.setColor(Color.RED);\n\t\tmFont.drawWrapped(batch, uiString, 3, uiBounds.height + 3, uiBounds.width);\n\t\tmFont.setColor(oldColor);\n\n\t\t// DEBUG TEXT\n\t\t//mFont.drawWrapped(batch, debugtext, 60, uiBounds.height + 3, 1000);\t\t\n\n\t\t// Draw the cursorTexture\n\t\tif (cursorState != null && cursorTexture != null) {\n\t\t\tbatch.draw(cursorTexture, cursorLocX - 8, screenHeight - cursorLocY - 8);\n\t\t}\n\t\t\n\t\t// Render Paused String if needed in bottom right corner.\n\t\tString center_string = null;\n\t\tif (isPaused) {\n\t\t\tcenter_string = \"PAUSED\";\n\t\t} else if (life <= 0) {\n\t\t\tcenter_string = \"GAME OVER\";\n\t\t}\n\t\t\n\t\tif (center_string != null) {\n\t\t\tTextBounds pausedBounds = mFont.getMultiLineBounds(center_string);\n\t\t\tColor oldColor2 = mFont.getColor();\n\t\t\tmFont.setColor(Color.RED);\n\t\t\tmFont.drawWrapped(batch, center_string,\n\t\t\t\t\t(screenWidth / 2) - (pausedBounds.width / 2),\n\t\t\t\t\t(screenHeight / 2) - (pausedBounds.height / 2), pausedBounds.width );\n\t\t\tmFont.setColor(oldColor2);\n\t\t}\n\t\t\n\t\tbatch.end();\n\t}", "public void gatherAssets(AssetDirectory directory) {\r\n\r\n\t\tassets = directory;\r\n\t\tavatarTexture = new TextureRegion(directory.getEntry(\"platform:Somni_Idle\",Texture.class));\r\n\t\tcombinedTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_stand\",Texture.class));\r\n\r\n\t\t// Tiles\r\n\t\tlightTexture = new TextureRegion(directory.getEntry( \"shared:solidCloud_light\", Texture.class ));\r\n\t\tdarkTexture = new TextureRegion(directory.getEntry( \"shared:solidCloud_dark\", Texture.class ));\r\n\t\tallTexture = new TextureRegion(directory.getEntry( \"shared:solidCloud_all\", Texture.class ));\r\n\t\trainLightTexture = new TextureRegion(directory.getEntry( \"shared:rain_cloud_light\", Texture.class ));\r\n\t\trainDarkTexture = new TextureRegion(directory.getEntry( \"shared:rain_cloud_dark\", Texture.class ));\r\n\t\trainAllTexture = new TextureRegion(directory.getEntry( \"shared:rain_cloud_all\", Texture.class ));\r\n\t\tlightningLightTexture = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_light\", Texture.class ));\r\n\t\tlightningDarkTexture = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_dark\", Texture.class ));\r\n\t\tlightningAllTexture = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_all\", Texture.class ));\r\n\t\tcrumbleLightTexture = new TextureRegion(directory.getEntry( \"shared:rain_crumble_light\", Texture.class ));\r\n\t\tcrumbleDarkTexture = new TextureRegion(directory.getEntry( \"shared:rain_crumble_dark\", Texture.class ));\r\n\t\tcrumbleAllTexture = new TextureRegion(directory.getEntry( \"shared:rain_crumble_all\", Texture.class ));\r\n\r\n\t\trainLightTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_cloud_light_reduced\", Texture.class ));\r\n\t\trainDarkTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_cloud_dark_reduced\", Texture.class ));\r\n\t\trainAllTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_cloud_all_reduced\", Texture.class ));\r\n\t\tlightningLightTextureReduced = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_light_reduced\", Texture.class ));\r\n\t\tlightningDarkTextureReduced = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_dark_reduced\", Texture.class ));\r\n\t\tlightningAllTextureReduced = new TextureRegion(directory.getEntry( \"shared:lightning_cloud_all_reduced\", Texture.class ));\r\n\t\tcrumbleLightTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_crumble_light_reduced\", Texture.class ));\r\n\t\tcrumbleDarkTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_crumble_dark_reduced\", Texture.class ));\r\n\t\tcrumbleAllTextureReduced = new TextureRegion(directory.getEntry( \"shared:rain_crumble_all_reduced\", Texture.class ));\r\n\r\n\t\t// Tutorial\r\n\t\ttutorial_signs = new TextureRegion[]{\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:camera_pan\", Texture.class)), //0\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:phobia_dash\", Texture.class)), //1\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:phobia_jump\", Texture.class)), //2\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:phobia_propel\", Texture.class)), //3\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:phobia_walk\", Texture.class)), //4\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:somni_dash\", Texture.class)), //5\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:somni_jump\", Texture.class)), //6\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:somni_propel\", Texture.class)), //7\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:somni_walk\", Texture.class)), //8\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:spirit_switch\", Texture.class)), //9\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:spirit_separate\", Texture.class)), //10\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:spirit_unify\", Texture.class)), //11\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:dash_catch\", Texture.class)),\t //12\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"tutorial:propel_dash_vertical\", Texture.class))\t //13\r\n\r\n\t\t};\r\n\r\n\t\t// Base models\r\n\t\tsomniTexture = new TextureRegion(directory.getEntry(\"platform:somni_stand\",Texture.class));\r\n\t\tsomniIdleTexture = new TextureRegion(directory.getEntry(\"platform:Somni_Idle\",Texture.class));\r\n\t\tsomniWalkTexture = new TextureRegion(directory.getEntry(\"platform:somni_walk_cycle\",Texture.class));\r\n\t\tsomniDashSideTexture = new TextureRegion(directory.getEntry(\"platform:Somni_Jump_Dash\",Texture.class));\r\n\t\tsomniDashUpTexture = new TextureRegion(directory.getEntry(\"platform:Somni_Falling\",Texture.class));\r\n\t\tsomniFallTexture = new TextureRegion(directory.getEntry(\"platform:Somni_Falling\", Texture.class));\r\n\r\n\t\tphobiaTexture = new TextureRegion(directory.getEntry(\"platform:phobia_stand\",Texture.class));\r\n\t\tphobiaIdleTexture = new TextureRegion(directory.getEntry(\"platform:Phobia_Idle\",Texture.class));\r\n\t\tphobiaWalkTexture = new TextureRegion(directory.getEntry(\"platform:phobia_walk_cycle\",Texture.class));\r\n\t\tphobiaDashSideTexture = new TextureRegion(directory.getEntry(\"platform:Phobia_Jump_Dash\",Texture.class));\r\n\t\tphobiaDashUpTexture = new TextureRegion(directory.getEntry(\"platform:Phobia_Falling\",Texture.class));\r\n\t\tphobiaFallTexture = new TextureRegion(directory.getEntry(\"platform:Phobia_Falling\", Texture.class));\r\n\r\n\r\n\t\t// Combined models\r\n\t\tsomniPhobiaTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_stand\",Texture.class));\r\n\t\tsomniPhobiaWalkTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_walk\",Texture.class));\r\n\t\tsomniPhobiaDashSideTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_dash_side\",Texture.class));\r\n\t\tsomniPhobiaDashUpTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_dash_up\",Texture.class));\r\n\t\tphobiaSomniTexture = new TextureRegion(directory.getEntry(\"platform:phobia_somni_stand\",Texture.class));\r\n\t\tphobiaSomniWalkTexture = new TextureRegion(directory.getEntry(\"platform:phobia_somni_walk\",Texture.class));\r\n\t\tphobiaSomniDashSideTexture = new TextureRegion(directory.getEntry(\"platform:phobia_somni_dash_side\",Texture.class));\r\n\t\tphobiaSomniDashUpTexture = new TextureRegion(directory.getEntry(\"platform:phobia_somni_dash_up\",Texture.class));\r\n\r\n\t\tsomniPhobiaHandsTexture = new TextureRegion(directory.getEntry(\"platform:somni_phobia_hands\",Texture.class));\r\n\t\tphobiaSomniHandsTexture = new TextureRegion(directory.getEntry(\"platform:phobia_somni_hands\",Texture.class));\r\n\t\tblueRingBigTexture = new TextureRegion(directory.getEntry(\"platform:blue_ring_big\",Texture.class));\r\n\t\tyellowRingBigTexture = new TextureRegion(directory.getEntry(\"platform:yellow_ring_big\",Texture.class));\r\n\t\tblueRingSmallTexture = new TextureRegion(directory.getEntry(\"platform:blue_ring_small\",Texture.class));\r\n\t\tyellowRingSmallTexture = new TextureRegion(directory.getEntry(\"platform:yellow_ring_small\",Texture.class));\r\n\t\tsomniHandFrontTexture = new TextureRegion(directory.getEntry(\"platform:somni_hand_front\",Texture.class));\r\n\t\tsomniHandBackTexture = new TextureRegion(directory.getEntry(\"platform:somni_hand_back\",Texture.class));\r\n\t\tphobiaHandFrontTexture = new TextureRegion(directory.getEntry(\"platform:phobia_hand_front\",Texture.class));\r\n\t\tphobiaHandBackTexture = new TextureRegion(directory.getEntry(\"platform:phobia_hand_back\",Texture.class));\r\n\r\n\t\tbackgrounds = new TextureRegion[] {\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_light_forest\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_dark_forest\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_light_gear\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_dark_gear\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_light_dreams\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_dark_dreams\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_light_house\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_dark_house\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_light_statues\", Texture.class)),\r\n\t\t\t\tnew TextureRegion(directory.getEntry(\"platform:background_dark_statues\", Texture.class)),\r\n\r\n\t\t};\r\n\r\n\r\n\t\tTextureRegion [] somnis = {somniIdleTexture,somniWalkTexture,somniDashSideTexture,somniDashUpTexture, somniFallTexture, somniDashUpTexture};\r\n\t\tsomnisTexture = somnis;\r\n\t\tTextureRegion [] phobias = {phobiaIdleTexture,phobiaWalkTexture,phobiaDashSideTexture,phobiaDashUpTexture, phobiaFallTexture, phobiaDashUpTexture};\r\n\t\tphobiasTexture = phobias;\r\n\t\tTextureRegion [] somniphobias = {somniPhobiaTexture,somniPhobiaWalkTexture,somniPhobiaDashSideTexture,somniPhobiaDashUpTexture, somniPhobiaDashUpTexture};\r\n\t\tsomniphobiasTexture = somniphobias;\r\n\t\tTextureRegion [] phobiasomnis = {phobiaSomniTexture,phobiaSomniWalkTexture,phobiaSomniDashSideTexture,phobiaSomniDashUpTexture, phobiaSomniDashUpTexture};\r\n\t\tphobiasomnisTexture = phobiasomnis;\r\n\t\tTextureRegion [] somniHands = {somniHandFrontTexture, somniHandBackTexture, somniPhobiaHandsTexture};\r\n\t\tsomniHandsTextures = somniHands;\r\n\t\tTextureRegion [] phobiaHands = {phobiaHandFrontTexture, phobiaHandBackTexture, phobiaSomniHandsTexture};\r\n\t\tphobiaHandsTextures = phobiaHands;\r\n\r\n\t\tanimationSpeed = new float[]{0.1f, 0.5f, 0.1f, 0.1f, 0.1f, 0.1f};\r\n\t\tframePixelWidth = new double[]{32, 64, 32, 32, 32, 32};\r\n\t\toffsetsX = new float[]{12, 19, 0, 0, 15, 0};\r\n\t\toffsetsY = new float[]{0, 0, 0, 0, 0, 0};\r\n\t\tsecOffsetsX = new float[]{-20, -16, 52, 60, -18, 35, -18};\r\n\t\tsecOffsetsY = new float[]{0, 0, -80, -60, 0, -70, 0};\r\n\t\tthirdOffsetsX = new float[]{0, -18, -22, -22, 0, -22, 10, -15, 0, 0, 5, 0, 0, -20, 0, 0, -2, 0};\r\n\t\tthirdOffsetsY = new float[]{0, 0, 0, 0, 0, 0};\r\n\t\tdashAngles = new float[] {0, 0, -1.55f, 0, 0, 3.14f};\r\n\t\tpropelAngles = new float[] {0, 0, 0, 1.55f, 0, -1.55f};\r\n\r\n\r\n\t\t// Setup masking\r\n\t\tcircle_mask = new TextureRegion(directory.getEntry(\"circle_mask\",Texture.class));\r\n\t\tVector2 mask_size = new Vector2(circle_mask.getRegionWidth(), circle_mask.getRegionHeight());\r\n\t\tMIN_MASK_DIMENSIONS = new Vector2(mask_size).scl(mask_shrink_factor);\r\n\t\tmaskWidth = MIN_MASK_DIMENSIONS.x;\r\n\t\tmaskHeight = MIN_MASK_DIMENSIONS.y;\r\n\r\n\t\tsliderBarTexture = directory.getEntry( \"platform:sliderbar\", Texture.class);\r\n\t\tsliderKnobTexture = directory.getEntry( \"platform:sliderknob\", Texture.class);\r\n\r\n\t\tjumpSound = directory.getEntry( \"platform:jump\", SoundBuffer.class );\r\n\t\tfireSound = directory.getEntry( \"platform:pew\", SoundBuffer.class );\r\n\t\tplopSound = directory.getEntry( \"platform:plop\", SoundBuffer.class );\r\n\r\n\t\tconstants = directory.getEntry( \"constants\", JsonValue.class );\r\n\r\n\r\n\r\n\r\n\r\n//Gather sound assets\r\n\t\twinTrack = directory.getEntry(\"winTrack\", SoundBuffer.class);\r\n\t\tSoundController.getInstance().setWinTrack(winTrack);\r\n\r\n\t\tfailTrack = directory.getEntry(\"failTrack\", SoundBuffer.class);\r\n\t\tSoundController.getInstance().setFailTrack(failTrack);\r\n\r\n\r\n\r\n//\t\tsomniTrack = directory.getEntry(\"somniTrack\", SoundBuffer.class);\r\n//\t\tphobiaTrackPath = directory.getEntry(\"phobiaTrack\", SoundBuffer.class);\r\n//\t\tcombinedTrackPath = directory.getEntry(\"combinedTrack\", SoundBuffer.class);\r\n\r\n\r\n//\t\tmenu drawables\r\n\t\torangeUnderline = new TextureRegionDrawable(directory.getEntry(\"pause_menu:pausemenu_underline_red\", Texture.class));\r\n\t\tblueUnderline = new TextureRegionDrawable(directory.getEntry(\"pause_menu:pausemenu_underline\", Texture.class));\r\n\t\tblueRectangle = new TextureRegionDrawable(directory.getEntry(\"pause_menu:bluerectangle\", Texture.class));\r\n\t\tblueExit = new TextureRegionDrawable(directory.getEntry(\"pause_menu:exit_blue\", Texture.class));\r\n\t\tblueResume = new TextureRegionDrawable(directory.getEntry(\"pause_menu:resume_blue\", Texture.class));\r\n\t\tblueRestart = new TextureRegionDrawable(directory.getEntry(\"pause_menu:restart_blue\", Texture.class));\r\n\t\torangeRectangle = new TextureRegionDrawable(directory.getEntry(\"pause_menu:orangerectangle\", Texture.class));\r\n\t\torangeExit = new TextureRegionDrawable(directory.getEntry(\"pause_menu:exit_orange\", Texture.class));\r\n\t\torangeResume = new TextureRegionDrawable(directory.getEntry(\"pause_menu:resume_orange\", Texture.class));\r\n\t\torangeRestart = new TextureRegionDrawable(directory.getEntry(\"pause_menu:restart_orange\", Texture.class));\r\n\t\t//\t\tSliders\r\n\t\torangeSlider = new TextureRegionDrawable(directory.getEntry(\"pause_menu:slider_orange\", Texture.class));\r\n\t\tblueSlider = new TextureRegionDrawable(directory.getEntry(\"pause_menu:slider_blue\", Texture.class));\r\n\t\torangeKnob = new TextureRegionDrawable(directory.getEntry(\"pause_menu:knob_orange\", Texture.class));\r\n\t\tblueKnob = new TextureRegionDrawable(directory.getEntry(\"pause_menu:knob_blue\", Texture.class));\r\n\t\torangeSound = new TextureRegionDrawable(directory.getEntry(\"pause_menu:sound_orange\", Texture.class));\r\n\t\tblueSound = new TextureRegionDrawable(directory.getEntry(\"pause_menu:sound_blue\", Texture.class));\r\n\t\tblueMusicNote = new TextureRegionDrawable(directory.getEntry(\"pause_menu:musicnote_blue\", Texture.class));\r\n\t\torangeMusicNote = new TextureRegionDrawable(directory.getEntry(\"pause_menu:musicnote_orange\", Texture.class));\r\n\r\n\t\tblueNext = new TextureRegionDrawable(directory.getEntry(\"pause_menu:nextblue\", Texture.class));\r\n\t\torangeNext = new TextureRegionDrawable(directory.getEntry(\"pause_menu:nextorange\", Texture.class));\r\n\r\n\t\tbluePauseButton = new TextureRegionDrawable(directory.getEntry(\"pause_menu:pause_button_blue\", Texture.class));\r\n\t\torangePauseButton = new TextureRegionDrawable(directory.getEntry(\"pause_menu:pause_button_red\", Texture.class));\r\n\t\tblurBackground = new TextureRegion(directory.getEntry(\"pause_menu:blur\", Texture.class));\r\n\r\n\r\n\t\tsuper.gatherAssets(directory);\r\n\r\n\r\n\t}", "public void addUnitsToMinimap() {\n\n for (Unit unit : model.getApp().getCurrentPlayer().getGame().getAllUnits()) {\n Player player = unit.getPlayer();\n Color color;\n if (player.getColor().equals(\"RED\")) {\n color = Color.RED;\n } else if (player.getColor().equals(\"BLUE\")) {\n color = Color.BLUE;\n } else if (player.getColor().equals(\"YELLOW\")) {\n color = Color.YELLOW;\n } else { //if(player.getColor().equals(\"GREEN\")){\n color = Color.GREEN;\n }\n\n MinimapUnit minimapUnit = new MinimapUnit(blockSize, blockSize);\n minimapUnit.setMyPlayer(player);\n minimapUnit.setColor(color);\n minimapUnit.setMyUnit(unit);\n minimapUnit.setPosXY((unit.getPosX() * blockSize) + 1, (unit.getPosY() * blockSize) + 1);\n minimapUnits.add(minimapUnit);\n drawPane.getChildren().add(minimapUnit);\n }\n System.out.println(\"allUnitsToMinimap\");\n }", "public Sprite(String[] newSpriteLocationArray) throws Exception{\n\t\timages = new Texture[newSpriteLocationArray.length];\n\t\tfor (int i = 0; i < images.length; i++){\n\t\t\timages[i] = new Texture(newSpriteLocationArray[i]);\n\t\t}\n\t\tcheckSizes();\n\n\t}", "public static void createImages()\n {\n //Do if not done before\n if(!createdImages)\n {\n createdImages = true;\n for(int i=0; i<rightMvt.length; i++)\n {\n rightMvt[i] = new GreenfootImage(\"sniperEnemyRight\"+i+\".png\");\n leftMvt[i] = new GreenfootImage(\"sniperEnemyRight\"+i+\".png\");\n rightMvt[i].scale(rightMvt[i].getWidth()*170/100, rightMvt[i].getHeight()*170/100);\n leftMvt[i].scale(leftMvt[i].getWidth()*170/100, leftMvt[i].getHeight()*170/100);\n }\n for(int i=0; i<leftMvt.length; i++)\n {\n leftMvt[i].mirrorHorizontally();\n }\n for(int i=0; i<upMvt.length; i++)\n {\n upMvt[i] = new GreenfootImage(\"sniperEnemyUp\"+i+\".png\");\n downMvt[i] = new GreenfootImage(\"sniperEnemyDown\"+i+\".png\");\n upMvt[i].scale(upMvt[i].getWidth()*170/100, upMvt[i].getHeight()*170/100);\n downMvt[i].scale(downMvt[i].getWidth()*170/100, downMvt[i].getHeight()*170/100);\n }\n }\n }", "public MapGen()//Collect images, create Platform list, create grassy array and generate a random integer as the map wideness\n\t{\n\t\tblocksWide= ThreadLocalRandom.current().nextInt(32, 64 + 1);\n\t\tclouds=kit.getImage(\"Resources/SkyBackground.jpg\");\n\t\tdirt=kit.getImage(\"Resources/Dirt.png\");\n\t\tgrass[0]=kit.getImage(\"Resources/Grass.png\");\n\t\tgrass[1]=kit.getImage(\"Resources/Grass1.png\");\n\t\tgrass[2]=kit.getImage(\"Resources/Grass2.png\");\n\t\tplatforms=new ArrayList<Platform>();\n\t\tgrassy=new int[blocksWide];\n\t\tgrassT=new int[blocksWide];\n\t\tgenerateTerrain();\n\t\t\n\t\t\n\t\t\n\t}", "public Map(SpriteLoader sprites) {\n\n this.sprites = sprites;\n\n }", "private void chargerTextures() {\n String messageErreur = \"\";\n try {\n JETON_2 = new Texture(Gdx.files.internal(\"textures/jeton_2.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_2.png\"+\"\\n\";\n }\n try {\n JETON_3 = new Texture(Gdx.files.internal(\"textures/jeton_3.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_3.png\"+\"\\n\";\n }\n try {\n JETON_4 = new Texture(Gdx.files.internal(\"textures/jeton_4.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_4.png\"+\"\\n\";\n }\n try {\n JETON_5 = new Texture(Gdx.files.internal(\"textures/jeton_5.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_5.png\"+\"\\n\";\n }\n try {\n JETON_6 = new Texture(Gdx.files.internal(\"textures/jeton_6.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_6.png\"+\"\\n\";\n }\n try {\n JETON_8 = new Texture(Gdx.files.internal(\"textures/jeton_8.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_8.png\"+\"\\n\";\n }\n try {\n JETON_9 = new Texture(Gdx.files.internal(\"textures/jeton_9.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_9.png\"+\"\\n\";\n }\n try {\n JETON_10 = new Texture(Gdx.files.internal(\"textures/jeton_10.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_10.png\"+\"\\n\";\n }\n try {\n JETON_11 = new Texture(Gdx.files.internal(\"textures/jeton_11.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_11.png\"+\"\\n\";\n }\n try {\n JETON_12 = new Texture(Gdx.files.internal(\"textures/jeton_12.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/jeton_12.png\"+\"\\n\";\n }\n try {\n FORET = new Texture(Gdx.files.internal(\"textures/texture_foret.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_foret.png\"+\"\\n\";\n }\n try {\n PRE = new Texture(Gdx.files.internal(\"textures/texture_pre.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_pre.png\"+\"\\n\";\n }\n try {\n CHAMP = new Texture(Gdx.files.internal(\"textures/texture_champ.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_champ.png\"+\"\\n\";\n }\n try {\n COLLINE = new Texture(Gdx.files.internal(\"textures/texture_colline.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_colline.png\"+\"\\n\";\n }\n try {\n MONTAGNE = new Texture(Gdx.files.internal(\"textures/texture_montagne.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_montagne.png\"+\"\\n\";\n }\n try {\n DESERT = new Texture(Gdx.files.internal(\"textures/texture_desert.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_desert.png\"+\"\\n\";\n }\n try {\n MER = new Texture(Gdx.files.internal(\"textures/texture_mer.jpg\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_mer.jpg\"+\"\\n\";\n }\n try {\n PORT = new Texture(Gdx.files.internal(\"textures/texture_port2.png\"));\n } catch (Exception e) {\n messageErreur += \"Erreur lors du chargement de la texture : \"+\"textures/texture_port2.png\"+\"\\n\";\n }\n System.err.println(messageErreur);\n }", "public static void addSpriteFramesAndSpriteMaps(Player player, Set<Integer> spriteFrameIds) {\n\t\tSet<Integer> selectedSpriteFrameIds = extractUnloadedSpriteFrameIds(player, spriteFrameIds);\n\t\t\t\t\n\t\tif (selectedSpriteFrameIds.isEmpty())\n\t\t\treturn;\n\t\t\n\t\tSet<SpriteFrameDto> selectedSpriteFrames = SpriteFrameDao.getAllSpriteFrames().stream()\n\t\t\t.filter(e -> selectedSpriteFrameIds.contains(e.getId()))\n\t\t\t.collect(Collectors.toSet());\n\n\t\tif (!spriteFrames.containsKey(player))\n\t\t\tspriteFrames.put(player, new HashSet<>());\n\t\taddLoadedSpriteFrameIds(player, selectedSpriteFrameIds);\n\t\tspriteFrames.get(player).addAll(selectedSpriteFrames);\n\t\t\n\t\t// the sprite frame's sprite maps\n\t\tSet<Integer> selectedSpriteMapIds = extractUnloadedSpriteMapIds(player, selectedSpriteFrames.stream()\n\t\t\t.map(SpriteFrameDto::getSprite_map_id)\n\t\t\t.collect(Collectors.toSet()));\n\t\t\n\t\tif (selectedSpriteMapIds.isEmpty())\n\t\t\treturn;\n\t\t\n\t\taddLoadedSpriteMapIds(player, selectedSpriteMapIds);\n\t\t\n\t\tif (!spriteMaps.containsKey(player))\n\t\t\tspriteMaps.put(player, new HashSet<>());\n\t\t\n\t\tfor (Integer spriteMapId : selectedSpriteMapIds)\n\t\t\tspriteMaps.get(player).add(SpriteMapDao.getSpriteMap(spriteMapId));\n\t}", "private void generateItemEntities(){\n\t\tfinal int NUM_POTIONS = 6;\n\t\tfinal int NUM_IRON_ARMOUR = 1;\n\t\tfinal int NUM_CHESTS = 2;\n\t\tfinal String ITEM_BOX_STYLE = \"tundra\";\n\t\t\n\n\t\tfor (int i = 0; i < NUM_POTIONS; i++) {\n\t\t\tTile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n\t\t\t\t\tItem.randomItemPositionGenerator(DEFAULT_HEIGHT));\n\t\t\tif (!tile.hasParent()) {\n\t\t\t\tHealthPotion potion = new HealthPotion(tile, false,(PlayerPeon) getPlayerEntity(), ITEM_BOX_STYLE);\n\t\t\t\tentities.add(potion);\n\t\t\t\tthis.allTundraDialogues.add(potion.getDisplay());\n\t\t\t} else {\n\t\t\t\ti--;\n\t\t\t}\n\n\t\t}\n\t\tfor (int i = 0; i < NUM_IRON_ARMOUR; i++) {\n\t\t\tTile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n\t\t\t\t\tItem.randomItemPositionGenerator(DEFAULT_HEIGHT));\n\t\t\tif (!tile.hasParent()) {\n\t\t\t\tIronArmour ironArmour = new IronArmour(tile, false,\n\t\t\t\t\t\t(PlayerPeon) getPlayerEntity(), ITEM_BOX_STYLE,200);\n\t\t\t\tentities.add(ironArmour);\n\t\t\t\tthis.allTundraDialogues.add(ironArmour.getDisplay());\n\t\t\t} else {\n\t\t\t\ti--;\n\t\t\t}\n\n\t\t}\n\t\tfor (int i = 0; i < NUM_CHESTS; i++) {\n\t\t\tTile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n\t\t\t\t\tItem.randomItemPositionGenerator(DEFAULT_HEIGHT));\n\t\t\tif (!tile.hasParent()) {\n\t\t\t\tTreasure chest = new Treasure(tile, false,(PlayerPeon) getPlayerEntity(), ITEM_BOX_STYLE);\n\t\t\t\tentities.add(chest);\n\t\t\t\tthis.allTundraDialogues.add(chest.getDisplay());\n\t\t\t} else {\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tTile cooldownring = getTile(18,17);\n\t\tCooldownRing cdring = new CooldownRing(cooldownring, false,\n\t\t\t\t(PlayerPeon) this.getPlayerEntity(), ITEM_BOX_STYLE,0.5f);\n\t\tentities.add(cdring);\n\t\tthis.allTundraDialogues.add(cdring.getDisplay());\n\n\t\tTile attackAmuletTile = getTile(-19,14);\n\t\tAmulet attackAmulet = new Amulet(attackAmuletTile, false,\n\t\t\t\t(PlayerPeon) this.getPlayerEntity(), ITEM_BOX_STYLE,10);\n\t\tentities.add(attackAmulet);\n\t\tthis.allTundraDialogues.add(attackAmulet.getDisplay());\n\n\t}", "public static void load(){\r\n\t \ttry {\r\n\t \t\t// load and set all sprites\r\n\t\t\t\tsetBlueGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/blueGarbage.png\")));\r\n\t\t\t\tsetRank(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/rank.png\")));\r\n\t\t\t\tsetRedGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/redGarbage.png\")));\r\n\t\t\t\tsetYellowGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/yellowGarbage.png\")));\r\n\t\t\t\tsetGreenGarbage(ImageIO.read(classPath.getResourceAsStream(\"/images/greenGarbage.png\")));\r\n\t\t\t\tsetBlueSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/blueSnakeBodyPart.png\")));\r\n\t\t\t\tsetRedSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/redSnakeBodyPart.png\")));\r\n\t\t\t\tsetYellowSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/yellowSnakeBodyPart.png\")));\r\n\t\t\t\tsetGreenSnakeBodyPart(ImageIO.read(classPath.getResourceAsStream(\"/images/greenSnakeBodyPart.png\")));\r\n\t\t\t\tsetHeart(ImageIO.read(classPath.getResourceAsStream(\"/images/heart.png\")));\r\n\t\t\t\tsetGameScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameScreenBackground.png\")));\r\n\t\t\t\tsetGameScreenHeader(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameScreenHeader.png\")));\r\n\t\t\t\tsetGameOver(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/gameOver.png\")));\r\n\t\t\t\tsetHitsOwnBody(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/hitsOwnBody.png\")));\r\n\t\t\t\tsetHitsWall(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/hitsWall.png\")));\r\n\t\t\t\tsetWrongColor(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/wrongColor.png\")));\r\n\t\t\t\tsetHelpScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/helpScreenBackground.png\")));\r\n\t\t\t \tsetWarningScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/warningScreenBackground.png\")));\r\n\t\t\t \tsetOkButton(ImageIO.read(classPath.getClass().getResource(\"/images/okButton.png\")));\r\n\t\t\t \tsetMenuScreenBackground(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/menuScreenBackground.png\")));\r\n\t\t\t\tsetStartButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/startButton.png\")));\r\n\t\t\t\tsetExitButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/exitButton.png\")));\r\n\t\t\t\tsetHelpButton(ImageIO.read(classPath.getClass().getResourceAsStream(\"/images/helpButton.png\")));\r\n\t\t\t\t\r\n\t \t} \r\n\t \tcatch (Exception e) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, e.getStackTrace(), \"Erro ao carregar imagens\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t\r\n\t\t\t}\t\r\n \t\r\n \t}", "public void loadAllTextures() {\n loadEntityTextures();\n loadDynamicEntityTextures();\n loadTileTextures();\n loadLiveTileTextures();\n }", "@Override\n public void setupSquare(MResourceSquare square) {\n int numPlayer = MStoneAgeGame.getInstance().getNumPlayer();\n for (int i = 0; i < numPlayer + addNumber; i++)\n square.getM_resources().add(new MResource(square.getm_resourceType()));\n }", "@Override\n protected void generateMonsters()\n {\n generateWeakEnemies(2);\n generateStrongEnemies(12);\n generateElites(10);\n }", "private void attachTextures(GameTerrain gameTerrain){\r\n\t\t//Get the texture collection from gameTerrain\r\n\t\tGameTerrainTexture_Collection gameTerrainTexture_Collection = gameTerrain.getGameTerrainTexture_Collection();\r\n\t\t//Activate and attach the background texture to the 1st unit\r\n\t\tGL13.glActiveTexture(GL13.GL_TEXTURE0);\r\n\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, gameTerrainTexture_Collection.getBackgroundTexture().getTextureReferenceID());\r\n\t\t//Activate and attach the red texture to the 2nd unit\r\n\t\tGL13.glActiveTexture(GL13.GL_TEXTURE1);\r\n\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, gameTerrainTexture_Collection.getRedTexture().getTextureReferenceID());\r\n\t\t//Activate and attach the blue texture to the 3rd unit\r\n\t\tGL13.glActiveTexture(GL13.GL_TEXTURE2);\r\n\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, gameTerrainTexture_Collection.getBlueTexture().getTextureReferenceID());\r\n\t\t//Activate and attach the green texture to the 4th unit\r\n\t\tGL13.glActiveTexture(GL13.GL_TEXTURE3);\r\n\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, gameTerrainTexture_Collection.getGreenTexture().getTextureReferenceID());\r\n\t\t//Activate and attach the blendmap to the 5th unit\r\n\t\tGL13.glActiveTexture(GL13.GL_TEXTURE4);\r\n\t\tGL11.glBindTexture(GL11.GL_TEXTURE_2D, gameTerrain.getBlendMap().getTextureReferenceID());\r\n\t\t\r\n\t}", "public BoardFactory(PacManSprites spriteStore) {Collect.Hit(\"BoardFactory.java\",\"BoardFactory(PacManSprites spriteStore)\");this.sprites = spriteStore; Collect.Hit(\"BoardFactory.java\",\"BoardFactory(PacManSprites spriteStore)\", \"689\");}", "private void initEntities() {\n\t\tship = new ShipEntity(this,\"ship.gif\",370,550);\n\t\tentities.add(ship);\n\t\tscore = 0;\n\t\t// create a block of aliens (5 rows, by 12 aliens, spaced evenly)\n\t\talienCount = 0;\n\t\tfor (int row=0;row<5;row++) {\n\t\t\tfor (int x=0;x<12;x++) {\n\t\t\t\tEntity alien = new AlienEntity(this,\"alien.gif\",100+(x*50),(50)+row*30);\n\t\t\t\tentities.add(alien);\n\t\t\t\talienCount++;\n\t\t\t}\n\t\t}\n\t}", "private void loadMap(ArrayList<Sprite> allSprites) {\n\t\tint numTargets = 0;\n\t\t\n\t\tfor (Sprite thisSprite : allSprites) {\n\t\t\tif(!(thisSprite instanceof Explosion)) {\n\t\t\t\tputInCell(thisSprite.getX(), thisSprite.getY(), thisSprite);\n\t\t\t}\n\t\t\tif (thisSprite instanceof Target) {\n\t\t\t\tnumTargets++;\n\t\t\t}\n\t\t\tif(thisSprite instanceof Door) {\n\t\t\t\tthis.theDoor = (Door)thisSprite;\n\t\t\t}\n\t\t\tif(thisSprite instanceof Player) {\n\t\t\t\tthis.thePlayer = (Player)thisSprite;\n\t\t\t}\n\t\t}\n\t\tthis.numTargets = numTargets;\n\t}", "public void evaluateSprite(){\n if(this.orientation == Orientation.FACING_NORTH) {\n texture = new Texture(Gdx.files.internal(\"/assets/gameObjects/playerFacingNorth.png\"));\n }\n if(this.orientation == Orientation.FACING_WEST){\n texture = new Texture(Gdx.files.internal(\"/assets/gameObjects/playerFacingWest.png\"));\n }\n if(this.orientation == Orientation.FACING_SOUTH){\n texture = new Texture(Gdx.files.internal(\"/assets/gameObjects/playerFacingSouth.png\"));\n }\n if(this.orientation == Orientation.FACING_EAST){\n texture = new Texture(Gdx.files.internal(\"/assets/gameObjects/playerFacingEast.png\"));\n }\n\n this.sprite = new Sprite(texture);\n }", "private void generateEnemies(){\n\t\tint coordX = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tint coordY = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tEnemy enemy = new Enemy(coordX,coordY);\n\t\tenemies.put(0, enemy);\n\t\tcoordX = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tcoordY = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tenemy = new Enemy(coordX,coordY);\n\t\tenemies.put(1, enemy);\n\t}", "public static void addSprite(SpriteInfo sprite) {\n if (!sprites.containsKey(sprite.key)) {\n sprites.put(sprite.key, new SpriteSet(sprite));\n } else {\n sprites.get(sprite.key).added(sprite);\n }\n }", "public void loadTextures(){\n switch (playerCarColor){\n case \"Black\":\n playerTexture = new Texture(Gdx.files.internal(\"images/playerCarBlack.png\"));\n fadedPlayerTexture = new Texture(Gdx.files.internal(\"images/playerCarBlackFaded.png\"));\n break;\n case \"White\":\n playerTexture = new Texture(Gdx.files.internal(\"images/playerCarWhite.png\"));\n fadedPlayerTexture = new Texture(Gdx.files.internal(\"images/playerCarWhiteFaded.png\"));\n break;\n }\n\n enemyPistolTexture = new Texture(Gdx.files.internal(\"images/enemyPistol.png\"));\n enemyAWPTexture = new Texture(Gdx.files.internal(\"images/enemyAWP.png\"));\n enemyStalkerTexture = new Texture(Gdx.files.internal(\"images/enemyStalker.png\"));\n bulletTexture = new Texture(Gdx.files.internal(\"images/bullet.png\"));\n enemyBossTexture = new Texture(Gdx.files.internal(\"images/enemyBoss.png\"));\n }", "protected abstract void chooseSprite();", "public void init() {\r\n int width = img.getWidth();\r\n int height = img.getHeight();\r\n floor = new Floor(game, width, height);\r\n units = new ArrayList<Unit>();\r\n objects = new ArrayList<GameObject>();\r\n for (int y=0; y<height; y++) {\r\n for (int x=0; x<width; x++) {\r\n int rgb = img.getRGB(x,y);\r\n Color c = new Color(rgb);\r\n Tile t;\r\n if (c.equals(GRASS_COLOR)) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_grass.png\");\r\n } else if (c.equals(STONE_COLOR)) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_stone.png\");\r\n } else {\r\n /* Check all the surrounding tiles. Take a consensus for the underlying tile color. */\r\n int numGrass=0, numStone=0;\r\n for (int j=y-1; j<=y+1; j++) {\r\n for (int i=x-1; i<=x+1; i++) {\r\n if (i>=0 && i<img.getWidth() && j>=0 && j<img.getHeight() && !(i==x && j==y)) {\r\n int rgb2 = img.getRGB(i,j);\r\n Color c2 = new Color(rgb2);\r\n if (c2.equals(GRASS_COLOR)) numGrass++;\r\n else if (c2.equals(STONE_COLOR)) numStone++;\r\n }\r\n }\r\n }\r\n if (numGrass >= numStone) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_grass.png\");\r\n } else {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_stone.png\");\r\n }\r\n }\r\n floor.setTile(x, y, t);\r\n \r\n if (c.equals(TREE_COLOR)) {\r\n //objects.add(new GameObject(x,y))\r\n } else if (c.equals(WALL_COLOR)) {\r\n objects.add(new Wall(game, new Posn(x,y), \"wall_48x78_1.png\"));\r\n } else if (c.equals(WIZARD_COLOR)) {\r\n addWizard(x,y);\r\n } else if (c.equals(ZOMBIE_COLOR)) {\r\n addZombie(x,y);\r\n } else if (c.equals(BANDIT_COLOR)) {\r\n addBandit(x,y);\r\n } else if (c.equals(PLAYER_COLOR)) {\r\n game.getPlayerUnit().setPosn(new Posn(x,y));\r\n units.add(game.getPlayerUnit());\r\n }\r\n }\r\n }\r\n }", "public static void loadCreatures() {\r\n\t \tregisterEntity(EntityZertum.class, \"Zertum\", 0);\r\n\t \tEntityRegistry.addSpawn(EntityZertum.class, 10, 2, 5, EnumCreatureType.creature);\r\n\t \tregisterEntity(EntityRedZertum.class, \"RedZertum\", 1);\r\n\t \tEntityRegistry.addSpawn(EntityRedZertum.class, 10, 3, 6, EnumCreatureType.creature);\r\n\t \tregisterEntity(EntityDestroZertum.class, \"DestroZertum\", 2);\r\n\t \tEntityRegistry.addSpawn(EntityDestroZertum.class, 10, 3, 6, EnumCreatureType.creature);\r\n\t \tregisterEntity(EntityJakan.class, \"Jakan\", 3);\r\n\t \tEntityRegistry.addSpawn(EntityJakan.class, 10, 3, 6, EnumCreatureType.creature);\r\n\t \tregisterEntity(EntityJakanPrime.class, \"JakanPrime\", 4);\r\n\t \tEntityRegistry.addSpawn(EntityJakanPrime.class, 10, 3, 6, EnumCreatureType.creature);\r\n\t}", "public void findImages() {\n URL imgURL = ImageLoader.class.getResource(\"/BackgroundMenu.jpg\");\n this.backgroundImages.put(MenuP.TITLE, loadImage(imgURL));\n\n imgURL = ImageLoader.class.getResource(\"/backgroundGame.png\");\n this.backgroundImages.put(ArenaView.TITLE, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/gameOver.jpg\");\n this.backgroundImages.put(GameOverView.TITLE, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Player.png\");\n this.entityImages.put(ID.PLAYER, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Enemy1.png\");\n this.entityImages.put(ID.BASIC_ENEMY, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/boss.png\");\n this.entityImages.put(ID.BOSS_ENEMY, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/meteorBrown_big1.png\");\n this.entityImages.put(ID.METEOR, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/BlueBullet.png\");\n this.bulletImages.put(new Pair<>(ID.PLAYER_BULLET, ID.PLAYER), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/redBullet.png\");\n this.entityImages.put(ID.ENEMY_BULLET, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_FireBoost.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.FIRE_BOOST), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_Freeze.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.FREEZE), loadImage(imgURL)); \n \n imgURL = ImageLoader.class.getResource(\"/powerup_Health.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.HEALTH), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_Shield.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.SHIELD), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/bulletSpeedUp.png\");\n this.AnimationsPowerUp.put(new Pair<>(ID.POWER_UP, PowerUpT.FIRE_BOOST), loadEffect(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Explosion.png\");\n this.AnimationsEffect.put(new Pair<>(ID.EFFECT, SpecialEffectT.EXPLOSION), loadEffect(imgURL));\n\n imgURL = ImageLoader.class.getResource(\"/freeze.png\");\n this.AnimationsPowerUp.put(new Pair<>(ID.POWER_UP, PowerUpT.FREEZE), loadImage(imgURL));\n }", "private void generateItemEntities(){\n final int NUM_POTIONS = 6;\n final int NUM_IRON_ARMOUR = 1;\n final int NUM_CHESTS = 2;\n final String ITEM_BOX_STYLE = \"volcano\";\n\n\n for (int i = 0; i < NUM_POTIONS; i++) {\n Tile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n Item.randomItemPositionGenerator(DEFAULT_HEIGHT));\n if (Integer.parseInt(tile.getTextureName().split(\"_\")[1]) < 5\n && !tile.hasParent()) {\n HealthPotion potion = new HealthPotion(tile,false,\n (PlayerPeon) getPlayerEntity(), ITEM_BOX_STYLE);\n entities.add(potion);\n this.allVolcanoDialogues.add(potion.getDisplay());\n } else {\n i--;\n }\n }\n for (int i =0; i < NUM_IRON_ARMOUR; i++){\n Tile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n Item.randomItemPositionGenerator(DEFAULT_HEIGHT));\n if (Integer.parseInt(tile.getTextureName().split(\"_\")[1]) < 5\n && !tile.hasParent()) {\n IronArmour ironArmour = new IronArmour(tile, false,\n (PlayerPeon) getPlayerEntity(),ITEM_BOX_STYLE,200);\n entities.add(ironArmour);\n this.allVolcanoDialogues.add(ironArmour.getDisplay());\n } else {\n i--;\n }\n }\n for (int i = 0; i <NUM_CHESTS; i++){\n Tile tile = getTile(Item.randomItemPositionGenerator(DEFAULT_WIDTH),\n Item.randomItemPositionGenerator(DEFAULT_HEIGHT));\n if (Integer.parseInt(tile.getTextureName().split(\"_\")[1]) < 5\n && !tile.hasParent()) {\n Treasure chest = new Treasure(tile, false,\n (PlayerPeon) getPlayerEntity(),ITEM_BOX_STYLE);\n entities.add(chest);\n this.allVolcanoDialogues.add(chest.getDisplay());\n } else {\n i--;\n }\n }\n\n Tile cooldownring = getTile(20,-7);\n CooldownRing cdring = new CooldownRing(cooldownring, false,\n (PlayerPeon) this.getPlayerEntity(), ITEM_BOX_STYLE,0.5f);\n entities.add(cdring);\n this.allVolcanoDialogues.add(cdring.getDisplay());\n\n Tile attackAmuletTile = getTile(2,14);\n Amulet attackAmulet = new Amulet(attackAmuletTile, false,\n (PlayerPeon) this.getPlayerEntity(), ITEM_BOX_STYLE,10);\n entities.add(attackAmulet);\n this.allVolcanoDialogues.add(attackAmulet.getDisplay());\n\n }", "public static void loadImages(){\n\t\tsetPath(main.getShop().inventory.getEquipID());\n\t\ttry {\n\t\t\tbackground = ImageIO.read(new File(\"res/world/bg.png\"));\n\t\t\tterrain = ImageIO.read(new File(\"res/world/solids.png\"));\n\t\t\t// Character and Armour\n\t\t\tcharacters = ImageIO.read(new File(\"res/world/char3.png\"));\n\t\t\tcharactersHead =ImageIO.read(new File(\"res/world/charhead\"+path[0]+\".png\"));\n\t\t\tcharactersTop = ImageIO.read(new File(\"res/world/chartop\"+path[2]+\".png\"));\n\t\t\tcharactersShoulder = ImageIO.read(new File(\"res/world/charshoulders\"+path[3]+\".png\"));\n\t\t\tcharactersHand = ImageIO.read(new File(\"res/world/charhands\"+path[5]+\".png\"));\n\t\t\tcharactersBottom = ImageIO.read(new File(\"res/world/charbottom\"+path[8]+\".png\"));\n\t\t\tcharactersShoes = ImageIO.read(new File(\"res/world/charshoes\"+path[9]+\".png\"));\n\t\t\tcharactersBelt = ImageIO.read(new File(\"res/world/charBelt\"+path[4]+\".png\"));\n\n\t\t\tweaponBow = ImageIO.read(new File(\"res/world/bow.png\"));\n\t\t\tweaponArrow = ImageIO.read(new File(\"res/world/arrow.png\"));\n\t\t\tweaponSword = ImageIO.read(new File(\"res/world/sword.png\"));\n\t\t\titems = ImageIO.read(new File(\"res/world/items.png\"));\n\t\t\tnpc = ImageIO.read(new File(\"res/world/npc.png\"));\n\t\t\thealth = ImageIO.read(new File(\"res/world/health.png\"));\n\t\t\tenemies = ImageIO.read(new File(\"res/world/enemies.png\"));\n\t\t\tcoin = ImageIO.read(new File(\"res/world/coin.png\"));\n\t\t\tmana = ImageIO.read(new File(\"res/world/mana.gif\"));\n\t\t\tarrowP = ImageIO.read(new File(\"res/world/arrowP.png\"));\n\t\t\tbutton = ImageIO.read(new File(\"res/world/button.png\"));\n\t\t\tblood = ImageIO.read(new File(\"res/world/blood.png\"));\n\t\t\tarrowDisp = ImageIO.read(new File(\"res/world/arrowDisp.png\"));\n\t\t\tboss1 = ImageIO.read(new File(\"res/world/boss1.png\"));\n\t\t\tmagic = ImageIO.read(new File(\"res/world/magic.png\"));\n\t\t\tmainMenu = ImageIO.read(new File(\"res/world/MainMenu.png\"));\n\t\t\tinstructions = ImageIO.read(new File(\"res/world/instructions.png\"));\n\t\t\trespawn = ImageIO.read(new File(\"res/world/respawn.png\"));\n\t\t\tinventory = ImageIO.read(new File(\"res/world/inventory.png\"));\n shop = ImageIO.read(new File(\"res/world/shop.png\"));\n dizzy = ImageIO.read(new File(\"res/world/dizzy.png\"));\n pet = ImageIO.read(new File(\"res/world/pet.png\"));\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error Loading Images\");\n\t\t}\n\t}", "private void spawnTrees() {\n int spawnNum = this.random.nextInt(10) + 20;\n if (this.treeTiles.size() >= 30) { // max 30 trees\n spawnNum = 0;\n }\n for (int i = 0; i < spawnNum; i++) {\n String tree = trees[this.random.nextInt(trees.length)];\n int y = this.random.nextInt(this.getMap().length);\n Tile spawnTile = this.getMapAt(this.random.nextInt(this.getMap()[y].length), y);\n Tile centerTile;\n if ((spawnTile != null) && this.inMap(spawnTile.getX()-2, spawnTile.getY()-1)) {\n centerTile = this.getMapAt(spawnTile.getX()-2, spawnTile.getY()-1);\n } else {\n centerTile = null;\n }\n if ((spawnTile != null) && (spawnTile instanceof GroundTile)\n && (centerTile != null) && (centerTile instanceof GroundTile)\n && (spawnTile.getContent() == null)) {\n ExtrinsicTree newTree = new ExtrinsicTree(tree);\n newTree.setStage(17);\n spawnTile.setContent(newTree);\n this.treeTiles.add(spawnTile);\n }\n }\n }", "public void loadTileImages() {\n // keep looking for tile A,B,C, etc. this makes it\n // easy to drop new tiles in the images/ directory\n tiles = new ArrayList();\n char ch = 'A';\n while (true) {\n String name = \"tile_\" + ch + \".png\";\n File file = new File(\"images/\" + name);\n if (!file.exists()) {\n break;\n }\n tiles.add(loadImage(name));\n ch++;\n }\n }", "private void chooseSprite()\r\n\t{\r\n\t\t//Ensure pedestrian sprites exist\r\n\t\tif (sprites.isEmpty()) {\r\n\t\t\tSystem.err.println(\"ERROR: No pedestrian sprites have been loaded\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t//Select a random sprite\r\n\t\tint index = (int) Math.floor( Math.random()*sprites.size() );\r\n\t\tspriteName = sprites.get(index);\r\n\t\tsetSprite(\"pedestrians/\"+spriteName);\r\n\t}", "public void addSprite(Sprite sprite) {\n\t\tsprites.add(sprite);\n\t}", "public void addSprite(Sprite sprite) {\n\t\tsprites.add(sprite);\n\t}", "protected Map<ResourceLocation, List<IGlyphProvider>> prepare(IResourceManager resourceManagerIn, IProfiler profilerIn) {\n profilerIn.startTick();\n Gson gson = (new GsonBuilder()).setPrettyPrinting().disableHtmlEscaping().create();\n Map<ResourceLocation, List<IGlyphProvider>> map = Maps.newHashMap();\n\n for(ResourceLocation resourcelocation : resourceManagerIn.getAllResourceLocations(\"font\", (p_215274_0_) -> {\n return p_215274_0_.endsWith(\".json\");\n })) {\n String s = resourcelocation.getPath();\n ResourceLocation resourcelocation1 = new ResourceLocation(resourcelocation.getNamespace(), s.substring(\"font/\".length(), s.length() - \".json\".length()));\n List<IGlyphProvider> list = map.computeIfAbsent(resourcelocation1, (p_215272_0_) -> {\n return Lists.newArrayList(new DefaultGlyphProvider());\n });\n profilerIn.startSection(resourcelocation1::toString);\n\n try {\n for(IResource iresource : resourceManagerIn.getAllResources(resourcelocation)) {\n profilerIn.startSection(iresource::getPackName);\n\n try (\n InputStream inputstream = iresource.getInputStream();\n Reader reader = new BufferedReader(new InputStreamReader(inputstream, StandardCharsets.UTF_8));\n ) {\n profilerIn.startSection(\"reading\");\n JsonArray jsonarray = JSONUtils.getJsonArray(JSONUtils.fromJson(gson, reader, JsonObject.class), \"providers\");\n profilerIn.endStartSection(\"parsing\");\n\n for(int i = jsonarray.size() - 1; i >= 0; --i) {\n JsonObject jsonobject = JSONUtils.getJsonObject(jsonarray.get(i), \"providers[\" + i + \"]\");\n\n try {\n String s1 = JSONUtils.getString(jsonobject, \"type\");\n GlyphProviderTypes glyphprovidertypes = GlyphProviderTypes.byName(s1);\n profilerIn.startSection(s1);\n IGlyphProvider iglyphprovider = glyphprovidertypes.getFactory(jsonobject).create(resourceManagerIn);\n if (iglyphprovider != null) {\n list.add(iglyphprovider);\n }\n\n profilerIn.endSection();\n } catch (RuntimeException runtimeexception) {\n FontResourceManager.LOGGER.warn(\"Unable to read definition '{}' in fonts.json in resourcepack: '{}': {}\", resourcelocation1, iresource.getPackName(), runtimeexception.getMessage());\n }\n }\n\n profilerIn.endSection();\n } catch (RuntimeException runtimeexception1) {\n FontResourceManager.LOGGER.warn(\"Unable to load font '{}' in fonts.json in resourcepack: '{}': {}\", resourcelocation1, iresource.getPackName(), runtimeexception1.getMessage());\n }\n\n profilerIn.endSection();\n }\n } catch (IOException ioexception) {\n FontResourceManager.LOGGER.warn(\"Unable to load font '{}' in fonts.json: {}\", resourcelocation1, ioexception.getMessage());\n }\n\n profilerIn.startSection(\"caching\");\n IntSet intset = new IntOpenHashSet();\n\n for(IGlyphProvider iglyphprovider1 : list) {\n intset.addAll(iglyphprovider1.func_230428_a_());\n }\n\n intset.forEach((int p_238555_1_) -> {\n if (p_238555_1_ != 32) {\n for(IGlyphProvider iglyphprovider2 : Lists.reverse(list)) {\n if (iglyphprovider2.getGlyphInfo(p_238555_1_) != null) {\n break;\n }\n }\n\n }\n });\n profilerIn.endSection();\n profilerIn.endSection();\n }\n\n profilerIn.endTick();\n return map;\n }", "public void spawn(Integer spawnSize) {\n for (Integer i = 0; i < spawnSize; i++) {\n Enemy enemy = new Enemy(mainPlayerPosX, mainPlayerPosY);\n enemies.put(i, enemy);\n }\n initEnemiesSpawned = spawnSize;\n enemiesSize = spawnSize;\n }", "public static void loadTiles() {\n\t\tTILE_SETS.put(\"grass\", TileSet.loadTileSet(\"plains\"));\n\t}", "public void register(WorldGenKawaiiBaseWorldGen.WorldGen gen)\r\n\t{\t\r\n\t\tif (!this.Enabled) return; \r\n\t\tGameRegistry.registerBlock(this, this.getUnlocalizedName());\r\n\t\t\r\n\t\tString saplingName = name + \".sapling\";\r\n\t\tSapling = new ItemKawaiiSeed(saplingName, SaplingToolTip, this);\r\n\t\tSapling.OreDict = SaplingOreDict;\r\n\t\tSapling.MysterySeedWeight = SeedsMysterySeedWeight;\r\n\t\tSapling.register();\r\n\r\n\t\tString fruitName = name + \".fruit\";\r\n\t\tif (FruitEdible)\r\n\t\t{\r\n\t\t\tItemKawaiiFood fruit = new ItemKawaiiFood(fruitName, FruitToolTip, FruitHunger, FruitSaturation, FruitPotionEffets);\r\n\t\t\tFruit = fruit;\r\n\t\t\tfruit.OreDict = FruitOreDict;\r\n\t\t\t\r\n\t\t\tfruit.register();\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tItemKawaiiIngredient fruit = new ItemKawaiiIngredient(fruitName, FruitToolTip);\r\n\t\t\tFruit = fruit;\r\n\t\t\tfruit.OreDict = FruitOreDict;\r\n\t\t\t\r\n\t\t\tfruit.register();\r\n\t\t}\r\n\t\t\r\n\t\tif (gen.weight > 0)\r\n\t\t{\r\n\t\t\tgen.generator = new WorldGenKawaiiTree(this);\r\n\t\t\tModWorldGen.WorldGen.generators.add(gen);\r\n\t\t}\r\n\r\n\t\tModBlocks.AllTrees.add(this);\t\t\r\n\t}", "private static void registerBiomes(Biome biome, Type... types) {\n if(UniversalConfig.biomes_can_generate.get()) {\n BiomeManager.addBiome(BiomeManager.BiomeType.WARM, new BiomeManager.BiomeEntry(biome, 5));\n BiomeManager.addBiome(BiomeManager.BiomeType.ICY, new BiomeManager.BiomeEntry(biome, 5));\n BiomeManager.addBiome(BiomeManager.BiomeType.COOL, new BiomeManager.BiomeEntry(biome, 5));\n BiomeDictionary.addTypes(biome, types);\n BiomeManager.addSpawnBiome(biome);\n }\n\n\n }", "@Override\n\tprotected void placeStones(int numStones) {\n\n\t\tShape pitBounds = this.getShape();\n\t\tdouble pitW = pitBounds.getBounds().getWidth();\n\t\tdouble pitH = pitBounds.getBounds().getHeight();\n\t\t\n\n\t\tint stoneWidth = this.stoneIcon.getIconWidth();\n\t\tint stoneHeight = this.stoneIcon.getIconHeight();\n\n\t\t\t\n\t\tfor (int i = 0; i < numStones; i++){\n\t\t\tboolean locationFound = false;\n\t\t\tdo{\n\t\t\t\tfloat x = (float) Math.random();\n\t\t\t\tfloat y = (float) Math.random();\n\n\t\t\t\tx *= pitW;\n\t\t\t\ty *= pitH;\n\t\t\t\t\n\t\t\t\tEllipse2D.Float stoneBounds = new Ellipse2D.Float((float) (x+pitBounds.getBounds().getX()), (float) (y+pitBounds.getBounds().getY()), (float) (stoneWidth), (float) (stoneHeight));\n\n\t\t\t\tSystem.out.println(stoneBounds.getBounds());\n\t\t\t\tpitBounds.getBounds().setLocation(0, 0);\n\t\t\t\tArea pitArea = new Area(pitBounds);\n\t\t\t\tArea pendingStoneLocation = new Area(stoneBounds);\n\t\t\t\tArea intersectionArea = (Area) pitArea.clone();\n\t\t\t\tintersectionArea.add(pendingStoneLocation);\n\t\t\t\tintersectionArea.subtract(pitArea);\n\t\t\t\t\n\t\t\t\tif(intersectionArea.isEmpty() ){\n\t\t\t\t\tlocationFound = true;\n\t\t\t\t\tPoint2D p = new Point2D.Float((float) (x/pitW), (float) (y/pitH));\n\t\t\t\t\trelativeStoneLocations.add(p);\n\t\t\t\t\tSystem.out.println(p);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} while(!locationFound);\n\t\n\t\t}\n\t}", "private void initTextures() {\n\n\t\ttextureManager.loadTexture(\"PNG\", \"menu_bg\", \"res/menu_bg.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"mountain_bg\", \"res/mountain_bg.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"ball\", \"res/ball_sm.png\");\n\t\ttextureManager.loadTexture(\"PNG\", \"inner_bg1\", \"res/inner_bg1.png\");\r\n\t\ttextureManager.loadSheet(\"stand_still\", \"res/stand_still.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"testAnim\", \"res/testAnim.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"tileSet\", \"res/tileset_small.png\", 32, 32);\n\t\ttextureManager.loadSheet(\"walking\", \"res/walking.png\", 32, 64);\r\n\t\ttextureManager.loadSheet(\"jumping\", \"res/jumping.png\", 32, 64);\n\t\ttextureManager.loadSheet(\"slime_still\", \"res/slime_still_small.png\", 32, 32);\n\t}", "@Override\n public Sprite createSprite(SnakeSmash game) {\n Texture texture = game.getAssetManager().get(\"pinkSquare.png\");\n return new Sprite(texture, texture.getWidth(), texture.getHeight());\n }" ]
[ "0.632818", "0.61913615", "0.6152829", "0.6132313", "0.61276615", "0.60867786", "0.59300005", "0.5825741", "0.5800631", "0.573245", "0.5727253", "0.5652033", "0.5596321", "0.5545811", "0.5501724", "0.5482647", "0.54641026", "0.5457645", "0.5406823", "0.53740275", "0.5340185", "0.5327566", "0.52942526", "0.5286432", "0.5277443", "0.52724135", "0.52524316", "0.5242237", "0.52303594", "0.5221526", "0.521409", "0.5204077", "0.5182907", "0.5181794", "0.5180234", "0.517874", "0.5170577", "0.51668096", "0.5161335", "0.5152643", "0.51215184", "0.5117012", "0.51105076", "0.5091384", "0.50796044", "0.5077254", "0.5075389", "0.5066917", "0.503794", "0.5037473", "0.503268", "0.50231135", "0.5017365", "0.5011897", "0.5009998", "0.5006274", "0.4998515", "0.49965733", "0.49892843", "0.4985587", "0.49847823", "0.4967628", "0.49598455", "0.4952977", "0.49400228", "0.4939208", "0.493573", "0.4934296", "0.49331433", "0.49239236", "0.49208698", "0.4916994", "0.48993033", "0.4881515", "0.488111", "0.48803735", "0.48744637", "0.48743674", "0.48726517", "0.48665118", "0.48537534", "0.48489165", "0.48460668", "0.4844278", "0.483484", "0.48345712", "0.48311478", "0.4830844", "0.48247072", "0.48175102", "0.48164552", "0.48164552", "0.48115566", "0.47907826", "0.47837758", "0.47814897", "0.47665608", "0.47643486", "0.47624084", "0.47592875" ]
0.6470199
0
Makes a transparent image of the given dimensions.
public static BufferedImage makeTransparentImage(final int width, final int height) { // Create an image with the given dimension final BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); // Now filter the image to make all pixels transparent final ImageFilter filter = new TransparentImageFilter(); final ImageProducer ip = new FilteredImageSource(img.getSource(), filter); final Image image = Toolkit.getDefaultToolkit().createImage(ip); // Write the resulting image in the buffered image to return final BufferedImage bufferedImage = new BufferedImage(width, height, img.getType()); final Graphics graphics = bufferedImage.createGraphics(); graphics.drawImage(image, 0, 0, null); graphics.dispose(); return bufferedImage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static BufferedImage getTransparentBufferedImage(int width, int height) {\r\n\t\tBufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);\r\n\t\tGraphics2D g = image.createGraphics();\r\n\r\n\t\tg.setComposite(AlphaComposite.getInstance(AlphaComposite.CLEAR, 0.0f));\r\n\t\tg.fill(new Rectangle2D.Double(0, 0, width, height));\r\n\t\tg.setComposite(AlphaComposite.SrcOver);\r\n\t\treturn image;\r\n\t}", "@Override\n protected BufferedImage createEmptyImageForLayer(int width, int height) {\n BufferedImage empty = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_GRAY);\n\n // when enlarging a layer mask, the new areas need to be white\n Graphics2D g = empty.createGraphics();\n g.setColor(Color.WHITE);\n g.fillRect(0, 0, width, height);\n g.dispose();\n\n return empty;\n }", "private void setAreaTransparent(int p_78434_1_, int p_78434_2_, int p_78434_3_, int p_78434_4_)\n {\n if (!this.hasTransparency(p_78434_1_, p_78434_2_, p_78434_3_, p_78434_4_))\n {\n for (int var5 = p_78434_1_; var5 < p_78434_3_; ++var5)\n {\n for (int var6 = p_78434_2_; var6 < p_78434_4_; ++var6)\n {\n this.imageData[var5 + var6 * this.imageWidth] &= 16777215;\n }\n }\n }\n }", "private void setAreaTransparent(int p_78434_1_, int p_78434_2_, int p_78434_3_, int p_78434_4_)\r\n {\r\n if (!this.hasTransparency(p_78434_1_, p_78434_2_, p_78434_3_, p_78434_4_))\r\n {\r\n for (int var5 = p_78434_1_; var5 < p_78434_3_; ++var5)\r\n {\r\n for (int var6 = p_78434_2_; var6 < p_78434_4_; ++var6)\r\n {\r\n this.imageData[var5 + var6 * this.imageWidth] &= 16777215;\r\n }\r\n }\r\n }\r\n }", "public static Bitmap resizeTransparentBitmap(EncodedImage image, int width, int height)\r\n\t{\r\n\t\tEncodedImage result = null;\r\n\r\n\t\tint currentWidthFixed32 = Fixed32.toFP(image.getWidth());\r\n\t\tint currentHeightFixed32 = Fixed32.toFP(image.getHeight());\r\n\r\n\t\tint requiredWidthFixed32 = Fixed32.toFP(width);\r\n\t\tint requiredHeightFixed32 = Fixed32.toFP(height);\r\n\r\n\t\tint scaleXFixed32 = Fixed32.div(currentWidthFixed32, requiredWidthFixed32);\r\n\t\tint scaleYFixed32 = Fixed32.div(currentHeightFixed32, requiredHeightFixed32);\r\n\r\n\t\tresult = image.scaleImage32(scaleXFixed32, scaleYFixed32);\r\n\t\treturn result.getBitmap();\r\n\t}", "private BufferedImage createBlankImage(int width, int height){\n\t\t\tBufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);\n\t\t\tGraphics2D g2 = img.createGraphics();\n\t\t\tg2.setColor(Color.WHITE);\n\t\t\tg2.fillRect(0, 0, width, height);\n\t\t\tg2.dispose();\n\t\t\treturn img;\n\t\t}", "public native boolean transparentImage(PixelPacket color, int opacity)\n\t\t\tthrows MagickException;", "private BufferedImage createCompatibleImage(int w, int h,\r\n int transparency)\r\n {\r\n GraphicsConfiguration gc =\r\n screen.getGraphicsConfiguration();\r\n return gc.createCompatibleImage(w, h, transparency);\r\n }", "public BufferedImage getTransImg(int width, int height) {\r\n\t\tBufferedImage transImg = new BufferedImage(width,height, BufferedImage.TYPE_INT_ARGB);\r\n\t\t//set the color before the loop\r\n\t\tint alpha = 0;\r\n\t\tColor tColor = new Color(255,0,0,alpha);\r\n\t\tint rgba = tColor.getRGB();\r\n\t\t\r\n\t\tfor (int y = 0; y < height ; y++) {\r\n\t\t\tfor (int x = 0; x < width ; x++) {\r\n\t\t\t\t//set to transparent\r\n\t\t\t\ttransImg.setRGB(x, y, rgba);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn transImg;\r\n\t}", "private AlphaComposite makeTransparent(float alpha){\n return(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,alpha));\n }", "void imageData(int width, int height, int[] rgba);", "public Image() {\n\t\t\tthis(Color.white, 0);\n\t\t}", "public void\r NewPixmap(CType display_context, int width, int height,\r ILPix_t image, ILPix_t mask);", "public static Image getTransparencyGrid(int width, int height) {\n try {\n //Open image file\n Image fullGrid = new Image(new FileInputStream(new File(new ResourceLoader().getClass().getClassLoader().getResource(TRANSPARENCY_GRID).getFile())));\n //Scale image \n WritableImage partial = new WritableImage(fullGrid.getPixelReader(), width, height);\n return partial;\n } catch (FileNotFoundException ex) {\n Logger.getLogger(ResourceLoader.class.getName()).log(Level.SEVERE, null, ex);\n return null;\n }\n }", "public BufferedImage createCompatibleImage(int width, int height, int transparency){\n Window w = vc.getFullScreenWindow();\n if(w != null){\n\n GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();\n GraphicsDevice device = env.getDefaultScreenDevice();\n GraphicsConfiguration config = device.getDefaultConfiguration();\n\n //GraphicsConfiguration gc = w.getGraphicsConfiguration();\n return config.createCompatibleImage(width, height, transparency);\n } else {\n return null;\n }\n }", "public TextureBrush(int[] image, int width, int height, int alpha) {\n for (int i = 0; i < image.length; i++) {\n image[i] &= ((alpha & 0xff) << 24 | 0xFFFFFF);\n }\n wrappedBrushFP = new TextureBrushFP(image, width, height);\n }", "public BufferedImage modifyDimensions(int width, int height){\n\t\t return new BufferedImage((2* width)-1 , (2*height)-1, BufferedImage.TYPE_INT_RGB); \n\t }", "private void createAreaWithoutBorder(){\n image.setColor(backgroundColor);\n image.fillRect(0, 0, fieldWidth, fieldHeight);\n }", "public BufferedImage buildBufferedImage(Dimension size) {\n/* 101 */ return new BufferedImage(size.width, size.height, 1);\n/* */ }", "@Override\n public void paint (Graphics graphics) \n {\n if (image_ == null) return;\n //graphics.drawImage (image_, 0, 0, width_, height_, this);\n Graphics2D g2d=(Graphics2D)graphics;\n g2d.drawImage(image_,null,0,0);\n g2d.setComposite(AlphaComposite.Src);\n g2d.dispose();\n }", "public void clear() {\n\t\tfor(int i=0;i<getWidth();i++) {\n\t\t\tfor(int j=0;j<getHeight();j++) {\n\t\t\t\tbImage.setRGB(i, j, 0xffffffff);\n\t\t\t}\n\t\t}\n\t}", "private void setAreaOpaque(int p_78433_1_, int p_78433_2_, int p_78433_3_, int p_78433_4_)\n {\n for (int var5 = p_78433_1_; var5 < p_78433_3_; ++var5)\n {\n for (int var6 = p_78433_2_; var6 < p_78433_4_; ++var6)\n {\n this.imageData[var5 + var6 * this.imageWidth] |= -16777216;\n }\n }\n }", "public static Bitmap generateDefaultCover(int width, int height)\n\t{\n\t\tint size = Math.min(width, height);\n\t\tint halfSize = size / 2;\n\t\tint eightSize = size / 8;\n\n\t\tBitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.RGB_565);\n\t\tLinearGradient gradient = new LinearGradient(size, 0, 0, size, 0xff646464, 0xff464646, Shader.TileMode.CLAMP);\n\t\tRectF oval = new RectF(eightSize, 0, size - eightSize, size);\n\n\t\tPaint paint = new Paint();\n\t\tpaint.setAntiAlias(true);\n\n\t\tCanvas canvas = new Canvas(bitmap);\n\t\tcanvas.rotate(-45, halfSize, halfSize);\n\n\t\tpaint.setShader(gradient);\n\t\tcanvas.translate(size / 20, size / 20);\n\t\tcanvas.scale(0.9f, 0.9f);\n\t\tcanvas.drawOval(oval, paint);\n\n\t\tpaint.setShader(null);\n\t\tpaint.setColor(0xff000000);\n\t\tcanvas.translate(size / 3, size / 3);\n\t\tcanvas.scale(0.333f, 0.333f);\n\t\tcanvas.drawOval(oval, paint);\n\n\t\tpaint.setShader(gradient);\n\t\tcanvas.translate(size / 3, size / 3);\n\t\tcanvas.scale(0.333f, 0.333f);\n\t\tcanvas.drawOval(oval, paint);\n\n\t\treturn bitmap;\n\t}", "private void setAreaOpaque(int p_78433_1_, int p_78433_2_, int p_78433_3_, int p_78433_4_)\r\n {\r\n for (int var5 = p_78433_1_; var5 < p_78433_3_; ++var5)\r\n {\r\n for (int var6 = p_78433_2_; var6 < p_78433_4_; ++var6)\r\n {\r\n this.imageData[var5 + var6 * this.imageWidth] |= -16777216;\r\n }\r\n }\r\n }", "@Override\n\tpublic void setTransparency(float transparency) {\n\t\t\n\t}", "public CheckerboardImage(int tileSize, int width, int height)\n throws IllegalArgumentException {\n if (tileSize < 0 || width < 0 || height < 0) {\n throw new IllegalArgumentException(\"Cannot have negative value.\");\n }\n this.tileSize = tileSize;\n this.width = width;\n this.height = height;\n }", "private void generateBlackImage(int width, int height, int[] pixels) {\n\t\tfor (int y=0; y<height; y++) {\n\t\t\t// Schleife ueber die x-Werte\n\t\t\tfor (int x=0; x<width; x++) {\n\t\t\t\tint pos = y*width + x; // Arrayposition bestimmen\n\t\t\t\t\n\t\t\t\tint r = 0;\n\t\t\t\tint g = 0;\n\t\t\t\tint b = 0;\n\t\t\t\t\n\t\t\t\t// Werte zurueckschreiben\n\t\t\t\tpixels[pos] = 0xFF000000 | (r << 16) | (g << 8) | b;\n\t\t\t}\n\t\t}\n\t}", "public static @NotNull Image genNoiseWhite(int width, int height, double factor)\n {\n Color.Buffer pixels = Color.malloc(ColorFormat.RGBA, width * height);\n \n Random random = new Random();\n \n for (int i = 0, n = width * height; i < n; i++) pixels.put(i, random.nextDouble() < factor ? Color.WHITE : Color.BLACK);\n \n return new Image(pixels, width, height, 1, ColorFormat.RGBA);\n }", "public void invertImage()\r\n {\r\n BufferedImage toInvert;\r\n if (isChanged || isBlured )\r\n {\r\n toInvert = cropedEdited;\r\n }\r\n else\r\n {\r\n toInvert = cropedPart;\r\n }\r\n for (int x = 0; x < toInvert.getWidth(); x++) {\r\n for (int y = 0; y < toInvert.getHeight(); y++) {\r\n int rgba = toInvert.getRGB(x, y);\r\n Color col = new Color(rgba, true);\r\n col = new Color(255 - col.getRed(),\r\n 255 - col.getGreen(),\r\n 255 - col.getBlue());\r\n toInvert.setRGB(x, y, col.getRGB());\r\n }\r\n }\r\n repaint();\r\n }", "public void invert() {\n int len= currentIm.getRows() * currentIm.getCols();\n \n // invert all pixels (leave alpha/transparency value alone)\n \n // invariant: pixels 0..p-1 have been complemented.\n for (int p= 0; p < len; p= p+1) {\n int rgb= currentIm.getPixel(p);\n int red= 255 - DM.getRed(rgb);\n int blue= 255 - DM.getBlue(rgb);\n int green= 255 - DM.getGreen(rgb);\n int alpha= DM.getAlpha(rgb);\n currentIm.setPixel(p,\n (alpha << 24) | (red << 16) | (green << 8) | blue);\n }\n }", "private void drawBackground() {\n\t\timgG2.setColor(Color.BLACK);\n\t\timgG2.fillRect(0,0,512, 512);\n\t\t\n\t\timgG2.setColor(Color.BLACK);\n\t\timgG2.fillRect(128, 0, 256, 512);\n\t}", "public static Bitmap createBitmap(int width, int height) {\n Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);\n bitmap.setHasAlpha(true);\n return bitmap;\n }", "Image createImage();", "public static Bitmap resizeTransparentBitmap(Bitmap bmpSrc, int nWidth, int nHeight, int nFilterType, int nAspectRatio)\r\n\t{\r\n\t\tif (bmpSrc == null) return null;\r\n\r\n\t\t// Get the original dimensions of the bitmap\r\n\t\tint nOriginWidth = bmpSrc.getWidth();\r\n\t\tint nOriginHeight = bmpSrc.getHeight();\r\n\t\t\r\n\t\tif (nHeight == -1) nHeight = nOriginHeight;\r\n\t\tif (nWidth == -1) nWidth = nOriginWidth;\r\n\r\n\t\tif (nWidth == nOriginWidth && nHeight == nOriginHeight) return bmpSrc;\r\n\r\n\t\tif (nHeight == 0)\r\n\t\t{\r\n\t\t\tdouble ratio = (double) nOriginHeight / (double) nOriginWidth;\r\n\t\t\tnHeight = (int) (nWidth * ratio);\r\n\t\t}\r\n\t\telse if (nWidth == 0)\r\n\t\t{\r\n\t\t\tdouble ratio = (double) nOriginWidth / (double) nOriginHeight;\r\n\t\t\tnWidth = (int) (nHeight * ratio);\r\n\t\t}\r\n\r\n\t\t// Prepare a drawing bitmap and graphic object\r\n\t\tBitmap bmpOrigin = new Bitmap(nOriginWidth, nOriginHeight);\r\n\t\tGraphics graph = Graphics.create(bmpOrigin);\r\n\r\n\t\t// Create a line of transparent pixels for later use\r\n\t\tint[] aEmptyLine = new int[nWidth];\r\n\t\tfor (int x = 0; x < nWidth; x++)\r\n\t\t\taEmptyLine[x] = 0x00000000;\r\n\t\t// Create two scaled bitmaps\r\n\t\tBitmap[] bmpScaled = new Bitmap[2];\r\n\t\tfor (int i = 0; i < 2; i++)\r\n\t\t{\r\n\t\t\t// Draw the bitmap on a white background first, then on a black\r\n\t\t\t// background\r\n\t\t\tgraph.setColor((i == 0) ? Color.WHITE : Color.BLACK);\r\n\t\t\tgraph.fillRect(0, 0, nOriginWidth, nOriginHeight);\r\n\t\t\tgraph.drawBitmap(0, 0, nOriginWidth, nOriginHeight, bmpSrc, 0, 0);\r\n\r\n\t\t\t// Create a new bitmap with the desired size\r\n\t\t\tbmpScaled[i] = new Bitmap(nWidth, nHeight);\r\n\t\t\tif (nAspectRatio == Bitmap.SCALE_TO_FIT)\r\n\t\t\t{\r\n\t\t\t\t// Set the alpha channel of all pixels to 0 to ensure\r\n\t\t\t\t// transparency is\r\n\t\t\t\t// applied around the picture, if needed by the transformation\r\n\t\t\t\tfor (int y = 0; y < nHeight; y++)\r\n\t\t\t\t\tbmpScaled[i].setARGB(aEmptyLine, 0, nWidth, 0, y, nWidth, 1);\r\n\t\t\t}\r\n\r\n\t\t\t// Scale the bitmap\r\n\t\t\tbmpOrigin.scaleInto(bmpScaled[i], nFilterType, nAspectRatio);\r\n\t\t}\r\n\r\n\t\t// Prepare objects for final iteration\r\n\t\tBitmap bmpFinal = bmpScaled[0];\r\n\t\tint[][] aPixelLine = new int[2][nWidth];\r\n\r\n\t\t// Iterate every line of the two scaled bitmaps\r\n\t\tfor (int y = 0; y < nHeight; y++)\r\n\t\t{\r\n\t\t\tbmpScaled[0].getARGB(aPixelLine[0], 0, nWidth, 0, y, nWidth, 1);\r\n\t\t\tbmpScaled[1].getARGB(aPixelLine[1], 0, nWidth, 0, y, nWidth, 1);\r\n\r\n\t\t\t// Check every pixel one by one\r\n\t\t\tfor (int x = 0; x < nWidth; x++)\r\n\t\t\t{\r\n\t\t\t\t// If the pixel was untouched (alpha channel still at 0), keep\r\n\t\t\t\t// it transparent\r\n\t\t\t\tif (((aPixelLine[0][x] >> 24) & 0xff) == 0)\r\n\t\t\t\t\taPixelLine[0][x] = 0x00000000;\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\t// Compute the alpha value based on the difference of\r\n\t\t\t\t\t// intensity\r\n\t\t\t\t\t// in the red channel\r\n\t\t\t\t\tint nAlpha = ((aPixelLine[1][x] >> 16) & 0xff) - ((aPixelLine[0][x] >> 16) & 0xff) + 255;\r\n\t\t\t\t\tif (nAlpha == 0)\r\n\t\t\t\t\t\taPixelLine[0][x] = 0x00000000; // Completely transparent\r\n\t\t\t\t\telse if (nAlpha >= 255)\r\n\t\t\t\t\t\taPixelLine[0][x] |= 0xff000000; // Completely opaque\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t// Compute the value of the each channel one by one\r\n\t\t\t\t\t\tint nRed = ((aPixelLine[0][x] >> 16) & 0xff);\r\n\t\t\t\t\t\tint nGreen = ((aPixelLine[0][x] >> 8) & 0xff);\r\n\t\t\t\t\t\tint nBlue = (aPixelLine[0][x] & 0xff);\r\n\r\n\t\t\t\t\t\tnRed = (int) (255 + (255.0 * ((double) (nRed - 255) / (double) nAlpha)));\r\n\t\t\t\t\t\tnGreen = (int) (255 + (255.0 * ((double) (nGreen - 255) / (double) nAlpha)));\r\n\t\t\t\t\t\tnBlue = (int) (255 + (255.0 * ((double) (nBlue - 255) / (double) nAlpha)));\r\n\r\n\t\t\t\t\t\tif (nRed < 0) nRed = 0;\r\n\t\t\t\t\t\tif (nGreen < 0) nGreen = 0;\r\n\t\t\t\t\t\tif (nBlue < 0) nBlue = 0;\r\n\t\t\t\t\t\taPixelLine[0][x] = nBlue | (nGreen << 8) | (nRed << 16) | (nAlpha << 24);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// Change the pixels of this line to their final value\r\n\t\t\tbmpFinal.setARGB(aPixelLine[0], 0, nWidth, 0, y, nWidth, 1);\r\n\t\t}\r\n\t\treturn bmpFinal;\r\n\t}", "private Texture createRectangularTexture(int width, int height) {\r\n\t\tPixmap pixmap = new Pixmap(width, height, Pixmap.Format.RGBA8888);\r\n\t\tpixmap.setColor(Color.CLEAR);\r\n\t\tpixmap.fillRectangle(0,0, pixmap.getWidth(), pixmap.getHeight());\r\n\t\treturn new Texture(pixmap);\r\n\t}", "private void makeTransparentBackground(View v)\n {\n v.setBackgroundColor(0x00000000); //set the transparent background\n }", "protected BufferedImage createImage(int width, int height) {\n\t\treturn (new java.awt.image.BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB));\n\t}", "public abstract boolean initNoFill(int width, int height);", "public PngImageDataReader(Color transparent) {\n this.transparent = transparent;\n }", "private void makeTransparent(JButton component)\n {\n component.setOpaque(false);\n component.setContentAreaFilled(false);\n component.setBorderPainted(false);\n }", "private static Picture negateColor(Picture pic){\r\n int red = 0, green = 0, blue = 0;\r\n\r\n for( Pixel p : pic.getPixels()){\r\n // get colors of pixel and negate\r\n red = 255 - p.getRed();\r\n green = 255 - p.getGreen();\r\n blue = 255 - p.getBlue();\r\n p.setColor(new Color(red, green, blue));\r\n // pic.setBasicPixel(p.getX(), p.getY(), color.hashCode());\r\n }\r\n return pic;\r\n }", "private BufferedImage createCompatibleImage(int width, int height){\n\t\t\tGraphicsConfiguration gfx_config = GraphicsEnvironment.getLocalGraphicsEnvironment().\n\t\t\t\t\tgetDefaultScreenDevice().getDefaultConfiguration();\n\t\t\t\n\t\t\t//Create a new buffered image.\n\t\t\tBufferedImage new_image = gfx_config.createCompatibleImage(width, height, BufferedImage.TYPE_INT_ARGB_PRE);\n\t\t\t\n\t\t\t//Create graphics.\n\t\t\tGraphics2D g2d = new_image.createGraphics();\n\t\t\t\n\t\t\t//Draw graphics.\n\t\t\tg2d.setColor(Color.WHITE);\n\t\t\tg2d.fillRect(0, 0, width, height);\n\t\t\t\n\t\t\t//Dispose graphics object.\n\t\t\tg2d.dispose();\n\t\t\t\n\t\t\treturn new_image;\n\t\t}", "public BufferedImage create() {\n checkDimensions();\n final BufferedImage image = createImage();\n getImagePainter().paint(image);\n return image;\n }", "private static Image TransformColorToTransparency(BufferedImage image, Color c1, Color c2){\n\t\t\t final int r1 = c1.getRed();\n\t\t\t final int g1 = c1.getGreen();\n\t\t\t final int b1 = c1.getBlue();\n\t\t\t final int r2 = c2.getRed();\n\t\t\t final int g2 = c2.getGreen();\n\t\t\t final int b2 = c2.getBlue();\n\t\t\t ImageFilter filter = new RGBImageFilter()\n\t\t\t {\n\t\t\t public final int filterRGB(int x, int y, int rgb)\n\t\t\t {\n\t\t\t int r = (rgb & 0xFF0000) >> 16;\n\t\t\t int g = (rgb & 0xFF00) >> 8;\n\t\t\t int b = rgb & 0xFF;\n\t\t\t if (r >= r1 && r <= r2 &&\n\t\t\t g >= g1 && g <= g2 &&\n\t\t\t b >= b1 && b <= b2)\n\t\t\t {\n\t\t\t // Set fully transparent but keep color\n\t\t\t return rgb & 0xFFFFFF;\n\t\t\t }\n\t\t\t return rgb;\n\t\t\t }\n\t\t\t };\n\n\t\t\t ImageProducer ip = new FilteredImageSource(image.getSource(), filter);\n\t\t\t return Toolkit.getDefaultToolkit().createImage(ip);\n\t\t\t }", "public native boolean negateImage(int grayscale) throws MagickException;", "private Image createPlaceHolderArt(Display display, int width,\r\n int height, Color color) {\r\n Image img = new Image(display, width, height);\r\n GC gc = new GC(img);\r\n gc.setForeground(color);\r\n gc.drawLine(0, 0, width, height);\r\n gc.drawLine(0, height - 1, width, -1);\r\n gc.dispose();\r\n return img;\r\n }", "public void setInvertedImage(double position, double height) {\n // set the X coordinate of the image center\n // X imageCenter = X of lensCenter + the distance between the lens and the image\n imageCenterX = lensCenterX + position;\n\n // remove the image from the pane if it's already existed\n removeFromPane(image);\n \n // create new image rectangle\n // x coordinate = Xcenter - half of the rectangle's width (since the width of the object is equal to the image)\n // y coordinate = Y coordinate of the ground line\n image = new Rectangle(objectWidth, height);\n image.setLayoutX(imageCenterX - objectWidth / 2);\n image.setLayoutY(groundLineY);\n\n // Check the comboBox to set the corresponding inverted image\n if (pickPicture.getValue().equals(\"Candle\")) {\n image.setFill(AssetManager.getInvertedCandleImage());\n } else if (pickPicture.getValue().equals(\"Can\")) {\n image.setFill(AssetManager.getInvertedCanImage());\n }\n else\n image.setFill(AssetManager.getInvertedPencilImage());\n \n // add the image rectangle to the pane\n addToPane(image);\n }", "public void clearImage()\n {\n //Initialize the array of 0s\n int arr_len;\n if (image.getHeight() > image.getWidth()) arr_len = image.getHeight();\n else arr_len = image.getWidth();\n int[] rgb = new int[arr_len];\n //Set the whole image to black color\n image.setRGB(0,0,image.getWidth()-1,image.getHeight()-1,rgb,0,0);\n }", "@Override\r\n\tprotected void onSizeChanged(int w, int h, int oldw, int oldh) {\r\n\t\tsuper.onSizeChanged(w, h, oldw, oldh);\r\n//\t\tcanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);\r\n\t\tcanvasBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);\r\n\t\tdrawCanvas = new Canvas(canvasBitmap);\r\n\t}", "public Graphics setOffScreen() {\n\t\tjava.awt.Image tempSignal;\n\t\tGraphics g;\n\n\t\ttempSignal = image;\n\t\timage = this.createImage(image.getWidth(this), image.getHeight(this));\n\t\tg = image.getGraphics();\n\t\tg.drawImage(tempSignal, 0, 0, this);\n\n\t\treturn g;\n\n\t}", "public static Bitmap VintageEffect(Bitmap original)\n {\n Bitmap finalImage=Bitmap.createBitmap(original.getWidth(),original.getHeight(),original.getConfig());\n\n int A,R,G,B;\n int pixelColor;\n int height=original.getHeight();\n int width=original.getWidth();\n for(int y=0;y<height;y++)\n {\n for(int x=0;x<width;x++)\n {\n pixelColor=original.getPixel(x,y);\n A= Color.alpha(pixelColor);\n R= 255-Color.red(pixelColor);\n G= 255-Color.green(pixelColor);\n B= 255-Color.blue(pixelColor);\n finalImage.setPixel(x,y,Color.argb(A,R,G,B));\n\n }\n }\n\n return finalImage;\n }", "protected final MapTexture createPlaceholderTexture(int width, int height) {\n int wd2 = width / 2;\n int hd2 = height / 2;\n MapTexture result = MapTexture.createEmpty(width, height);\n result.fill(MapColorPalette.COLOR_PURPLE);\n result.fillRectangle(0, 0, wd2, hd2, MapColorPalette.COLOR_BLUE);\n result.fillRectangle(wd2, hd2, width - wd2, height - hd2, MapColorPalette.COLOR_BLUE);\n return result;\n }", "private BufferedImage getClipImage(final Rectangle effectBounds) {\n if (_clipImage == null\n || _clipImage.getWidth() < effectBounds.width\n || _clipImage.getHeight() < effectBounds.height) {\n /* */\n int w = effectBounds.width;\n int h = effectBounds.height;\n if (_clipImage != null) {\n w = Math.max(_clipImage.getWidth(), w);\n h = Math.max(_clipImage.getHeight(), h);\n }\n _clipImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);\n }\n return _clipImage;\n }", "public void setTransparent(final boolean transparent) {\n\t\t_transparent = transparent;\n\t}", "public void xtestWindowTransparency() throws Exception {\n if (GraphicsEnvironment.isHeadless())\n return;\n System.setProperty(\"sun.java2d.noddraw\", \"true\");\n GraphicsConfiguration gconfig = WindowUtils.getAlphaCompatibleGraphicsConfiguration();\n Frame root = JOptionPane.getRootFrame();\n final Window background = new Window(root);\n background.setBackground(Color.white);\n background.setLocation(X, Y);\n final JWindow transparent = new JWindow(root, gconfig);\n transparent.setLocation(X, Y);\n ((JComponent)transparent.getContentPane()).setOpaque(false);\n transparent.getContentPane().add(new JComponent() {\n\t\t\tprivate static final long serialVersionUID = 1L;\n\t\t\tpublic Dimension getPreferredSize() {\n return new Dimension(W, H);\n }\n protected void paintComponent(Graphics g) {\n g = g.create();\n g.setColor(Color.red);\n g.fillRect(getWidth()/4, getHeight()/4, getWidth()/2, getHeight()/2);\n g.drawRect(0, 0, getWidth()-1, getHeight()-1);\n g.dispose();\n }\n });\n transparent.addMouseListener(handler);\n transparent.addMouseMotionListener(handler);\n \n SwingUtilities.invokeAndWait(new Runnable() { public void run() {\n background.pack();\n background.setSize(new Dimension(W, H));\n background.setVisible(true);\n transparent.pack();\n transparent.setSize(new Dimension(W, H));\n transparent.setVisible(true);\n transparent.toFront();\n }});\n \n WindowUtils.setWindowTransparent(transparent, true);\n \n //robot.delay(60000);\n\n Color sample = robot.getPixelColor(X + W/2, Y + H/2);\n assertEquals(\"Painted pixel should be opaque\", Color.red, sample);\n \n sample = robot.getPixelColor(X + 10, Y + 10);\n assertEquals(\"Unpainted pixel should be transparent\", Color.white, sample);\n }", "private Texture createBackground() {\n Pixmap backgroundPixmap = new Pixmap(1, 1, Pixmap.Format.RGBA8888);\n backgroundPixmap.setColor(0, 0, 0, 0.3f);\n backgroundPixmap.fill();\n Texture texture = new Texture(backgroundPixmap);\n backgroundPixmap.dispose();\n return texture;\n }", "private void paintOriginalImage() {\r\n Graphics g = originalImage.getGraphics();\r\n // Erase to black\r\n g.setColor(Color.BLACK);\r\n g.fillRect(0, 0, FULL_SIZE, FULL_SIZE);\r\n \r\n // RGB quadrant\r\n for (int i = 0; i < QUAD_SIZE; i += 3) {\r\n int x = i;\r\n g.setColor(Color.RED);\r\n g.drawLine(x, 0, x, QUAD_SIZE);\r\n x++;\r\n g.setColor(Color.GREEN);\r\n g.drawLine(x, 0, x, QUAD_SIZE);\r\n x++;\r\n g.setColor(Color.BLUE);\r\n g.drawLine(x, 0, x, QUAD_SIZE);\r\n }\r\n \r\n // Picture quadrant\r\n try {\r\n URL url = getClass().getResource(\"images/BBGrayscale.png\");\r\n BufferedImage picture = ImageIO.read(url);\r\n // Center picture in quadrant area\r\n int xDiff = QUAD_SIZE - picture.getWidth();\r\n int yDiff = QUAD_SIZE - picture.getHeight();\r\n g.drawImage(picture, QUAD_SIZE + xDiff/2, yDiff/2, null);\r\n } catch (Exception e) {\r\n System.out.println(\"Problem reading image file: \" + e);\r\n }\r\n \r\n // Vector drawing quadrant\r\n g.setColor(Color.WHITE);\r\n g.fillRect(0, QUAD_SIZE, QUAD_SIZE, QUAD_SIZE);\r\n g.setColor(Color.BLACK);\r\n g.drawOval(2, QUAD_SIZE + 2, QUAD_SIZE-4, QUAD_SIZE-4);\r\n g.drawArc(20, QUAD_SIZE + 20, (QUAD_SIZE - 40), QUAD_SIZE - 40, \r\n 190, 160);\r\n int eyeSize = 7;\r\n int eyePos = 30 - (eyeSize / 2);\r\n g.fillOval(eyePos, QUAD_SIZE + eyePos, eyeSize, eyeSize);\r\n g.fillOval(QUAD_SIZE - eyePos - eyeSize, QUAD_SIZE + eyePos, \r\n eyeSize, eyeSize);\r\n \r\n // B&W grid\r\n g.setColor(Color.WHITE);\r\n g.fillRect(QUAD_SIZE + 1, QUAD_SIZE + 1, QUAD_SIZE, QUAD_SIZE);\r\n g.setColor(Color.BLACK);\r\n for (int i = 0; i < QUAD_SIZE; i += 4) {\r\n int pos = QUAD_SIZE + i;\r\n g.drawLine(pos, QUAD_SIZE + 1, pos, FULL_SIZE);\r\n g.drawLine(QUAD_SIZE + 1, pos, FULL_SIZE, pos);\r\n }\r\n \r\n originalImagePainted = true;\r\n }", "public static BufferedImage ghost( final BufferedImage input )\n {\n return ALPHA.filter( input, null );\n }", "private PImage createBG() {\n\t\tPImage image = new PImage(64, 64);\n\t\timage.copy(Textures.get(\"gui.box_black_red_tl\"), 0, 0, 16, 16, 0, 0, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_tm\"), 0, 0, 16, 16, 16, 0, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_tm\"), 0, 0, 16, 16, 32, 0, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_tr\"), 0, 0, 16, 16, 48, 0, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_ml\"), 0, 0, 16, 16, 0, 16, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mm\"), 0, 0, 16, 16, 16, 16, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mm\"), 0, 0, 16, 16, 32, 16, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mr\"), 0, 0, 16, 16, 48, 16, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_ml\"), 0, 0, 16, 16, 0, 32, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mm\"), 0, 0, 16, 16, 16, 32, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mm\"), 0, 0, 16, 16, 32, 32, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_mr\"), 0, 0, 16, 16, 48, 32, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_bl\"), 0, 0, 16, 16, 0, 48, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_bm\"), 0, 0, 16, 16, 16, 48, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_bm\"), 0, 0, 16, 16, 32, 48, 16, 16);\n\t\timage.copy(Textures.get(\"gui.box_black_red_br\"), 0, 0, 16, 16, 48, 48, 16, 16);\n\t\treturn image;\t\t\n\t}", "private BufferedImage deAlpha(BufferedImage img, String format) {\n if (EqualsUtil.equalsNoneIgnoreCase(format, \"png\", \"gif\")) {\n var fixedImg = new BufferedImage(img.getWidth(), img.getHeight(),\n BufferedImage.TYPE_INT_RGB);\n fixedImg.createGraphics().drawImage(\n img, 0, 0, Color.WHITE, null);\n return fixedImg;\n }\n return img;\n }", "@Override\n public Region getTransparentRegion() {\n return patternDrawable.getTransparentRegion();\n }", "public static synchronized void createPatternImage(int width) {\n if(width < 0) {\n width = 600;\n }\n\n int[][] intensityData = new int[width][width];\n for(int i=0; i<width; i++) {\n for(int j=0; j<width; j++) {\n intensityData[i][j] = i + j;\n }\n }\n\n reset();\n currentPattern = new Pattern(intensityData, \"\", false);\n createPatternImage(currentPattern, null);\n }", "private void generateYellowImage(int width, int height, int[] pixels) {\n\t\tfor (int y=0; y<height; y++) {\n\t\t\t// Schleife ueber die x-Werte\n\t\t\tfor (int x=0; x<width; x++) {\n\t\t\t\tint pos = y*width + x; // Arrayposition bestimmen\n\n\t\t\t\tint r = 255;\n\t\t\t\tint g = 255;\n\t\t\t\tint b = 0;\n\n\t\t\t\t// Werte zurueckschreiben\n\t\t\t\tpixels[pos] = 0xFF000000 | (r << 16) | (g << 8) | b;\n\t\t\t}\n\t\t}\n\t}", "private BufferedImage addAlpha(final RenderedImage img) {\n final BufferedImage buffer = new BufferedImage(img.getWidth(), img.getHeight(), BufferedImage.TYPE_INT_ARGB);\n buffer.createGraphics().drawRenderedImage(img, new AffineTransform());\n return buffer;\n }", "public BufferedImage toImage(){\n // turn it into a png\n int scale = 8;\n int w = 16;\n int h = 16;\n BufferedImage image = new BufferedImage(w * scale, h * scale, BufferedImage.TYPE_INT_ARGB);\n Color background = new Color(240, 240, 240);\n java.awt.Graphics gr = image.getGraphics();\n gr.setColor(background);\n gr.fillRect(0, 0, w * scale, h * scale);\n\n // so each 3 bytes describes 1 color?\n for(int i = 0; i < 256; ++i){\n\n // int r = palette.get(i * 3);\n // int g = palette.get(i * 3 + 1);\n // int b = palette.get(i * 3 + 2);\n\n // the Color() constructor that takes ints does values 0..255\n // but it has a float constructor, so why not divide\n //Color awtColor = new Color(r/64.0f, g/64.0f, b/64.0f);\n Color awtColor = getAwtColor(i);\n\n int row = i / 16;\n int col = i % 16;\n int y = row * scale;\n int x = col * scale;\n gr.setColor(awtColor);\n gr.fillRect(x, y, x + scale, y + scale);\n }\n\n return image;\n }", "public void drawImage(float x, float y, float width, float height);", "public static Picture emboss(Picture picture) {\n double[][] weights = { { -2.0, -1.0, 0.0 }, { -1.0, 1.0, 1.0 }, { 0.0, 1.0, 2.0 }, };\n return kernel(picture, weights);\n }", "private boolean hasTransparency(int p_78435_1_, int p_78435_2_, int p_78435_3_, int p_78435_4_)\n {\n for (int var5 = p_78435_1_; var5 < p_78435_3_; ++var5)\n {\n for (int var6 = p_78435_2_; var6 < p_78435_4_; ++var6)\n {\n int var7 = this.imageData[var5 + var6 * this.imageWidth];\n\n if ((var7 >> 24 & 255) < 128)\n {\n return true;\n }\n }\n }\n\n return false;\n }", "double getTransparency();", "public void setTransparent(boolean a) {\n\t\tthis.transparent = a;\n\t}", "private void bufferImageGrey()\n {\n int col = 0;\n int[][] heightmap = parent.normaliseMap(parent.getPreviewMap(), 255);\n \n bufferedImage = createImage(heightmap.length, heightmap[0].length);\n Graphics bg = bufferedImage.getGraphics();\n for(int i = 0; i < heightmap.length; i ++) {\n for(int j = 0; j < heightmap[i].length - 1; j++) {\n col = heightmap[i][j];\n if(col > 255)\n col = 255;\n bg.setColor(new Color(col, col, col));\n bg.drawLine(i, j, i, j);\n }\n }\n }", "private ImageView m25219a(Context context, boolean z) {\n ImageView backgroundImageView = new BackgroundImageView(context, z);\n backgroundImageView.setScaleType(ScaleType.CENTER_CROP);\n int i = !z ? SizeUtil.dp20 : null;\n backgroundImageView.setImageBitmap(this.options.getBackgroundImage());\n z = new ShapeDrawable();\n z.setShape(m25217a(i));\n z.getPaint().setColor(this.options.getBackgroundColor());\n if (VERSION.SDK_INT >= 16) {\n backgroundImageView.setBackground(z);\n } else {\n backgroundImageView.setBackgroundDrawable(z);\n }\n backgroundImageView.setLayoutParams(new LayoutParams(-1, -1));\n return backgroundImageView;\n }", "public IImage createCheckerboard() {\n List<List<Pixel>> grid = new ArrayList<>();\n for (int i = 0; i < this.height; i++) {\n List<Pixel> row;\n // alternating between making rows starting with black or white tiles\n if (i % 2 == 0) {\n // start white\n for (int j = 0; j < this.tileSize; j++) {\n row = createRow(255, 0, (i * this.tileSize) + j);\n grid.add(row);\n }\n }\n else {\n // start black\n for (int m = 0; m < this.tileSize; m++) {\n row = createRow(0, 255, (i * this.tileSize) + m);\n grid.add(row);\n }\n }\n }\n return new Image(grid, 255);\n }", "private void createImage()\n {\n GreenfootImage image = new GreenfootImage(width, height);\n setImage(\"Player.png\");\n }", "public Image( int x, int y, int w, int h )\r\n {\r\n super();\r\n setBounds( x, y, w, h );\r\n }", "private void enhanceImage(){\n }", "IMG createIMG();", "public MatteIcon(int width, int height) {\r\n this(width, height, null);\r\n }", "private boolean hasTransparency(int p_78435_1_, int p_78435_2_, int p_78435_3_, int p_78435_4_)\r\n {\r\n for (int var5 = p_78435_1_; var5 < p_78435_3_; ++var5)\r\n {\r\n for (int var6 = p_78435_2_; var6 < p_78435_4_; ++var6)\r\n {\r\n int var7 = this.imageData[var5 + var6 * this.imageWidth];\r\n\r\n if ((var7 >> 24 & 255) < 128)\r\n {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n }", "public OutlineZigzagEffect(int width, Color color) {\n/* 89 */ super(width, color);\n/* */ }", "public abstract void setClip(int x, int y, int width, int height);", "public int getTransparency() {\n return Color.TRANSLUCENT;\n }", "public void saveLayerAlpha(int sx, int sy, int i, int j, int multipliedAlpha) {\n\t\t\n\t}", "@Override\n protected void onSizeChanged(int w, int h, int oldw, int oldh) {\n mBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);\n // 8888 means that color is stored suing 8 bits (1 byte) for alpha, red, green, blue\n mCanvas = new Canvas(mBitmap);\n mBitmap.eraseColor(Color.WHITE);\n }", "public void negative(BufferedImage img, int startX, int startY, int endX, int endY) throws IOException{\r\n int pixels[] = new int[3];\r\n double ww[]=new double[3];\r\n WritableRaster raster = img.getRaster();\r\n \r\n for(int i=startX;i<endX;i++) {\r\n for(int j=startY;j<endY;j++){\r\n \r\n \r\n raster.getPixel(i, j, pixels);\r\n \r\n ww[0] = 255-pixels[0];\r\n ww[1] = 255-pixels[1];\r\n ww[2] = 255-pixels[2];\r\n \r\n raster.setPixel(i, j, ww);\r\n \r\n }\r\n \r\n }\r\n\r\n \r\n\r\n }", "int[][][] sharpenImage(int[][][] imageArray, int height, int width);", "Picture colourComponentImage() throws Exception;", "public Texture createTexture(int width, int height) throws IOException {\n/* 360 */ return createTexture(width, height, 9728);\n/* */ }", "public int getTransparency() {\n/* 148 */ return this.bufImg.getColorModel().getTransparency();\n/* */ }", "private void createBackground()\n {\n GreenfootImage background = getBackground();\n background.setColor(Color.BLACK);\n background.fill();\n }", "private TextureUniform makeCheckerboardTexture(int textureSize) {\n Uint8Array checkerboard = Uint8ArrayNative.create(4 * textureSize * textureSize);\n\n int maxDiagonal = 2 * (textureSize - 1);\n for (int i = 0; i < textureSize; i++) {\n for (int j = 0; j < textureSize; j++) {\n int index = i * textureSize + j;\n // Checking the parity of the diagonal number gives a checkerboard\n // pattern.\n int diagonal = i + j;\n if (diagonal % 2 == 0) {\n // set the square red. We only need to set the red channel!\n checkerboard.set(4 * index, 255);\n }\n // otherwise we'd set the square to black. But arrays are already\n // initialized to 0s so nothing needed here.\n\n // for the alpha channel, map the diagonal number to [0, 255]\n checkerboard.set(4 * index + 3, (255 * diagonal) / maxDiagonal);\n }\n }\n return new TextureUniform(new TextureUniformOptions()\n .setTypedArray(checkerboard)\n .setWidth(textureSize)\n .setHeight(textureSize)\n .setMinificationFilter(TextureMinificationFilter.NEAREST())\n .setMagnificationFilter(TextureMagnificationFilter.NEAREST()));\n }", "public void drawImageCentered(float x, float y, float width, float height);", "public TextureBrush(int[] image, int width, int height) {\n wrappedBrushFP = new TextureBrushFP(image, width, height);\n }", "private void setImage(int w, int h){\r\n l1= new BufferedImage(w,h,BufferedImage.TYPE_INT_ARGB);\r\n l1.createGraphics();\r\n g=(Graphics2D)l1.getGraphics (); \r\n }", "public static Picture emboss(Picture picture) {\r\n double[][] emboss = {{-2,-1,0},{-1,1,1},{0,1,2}};\r\n\r\n return transform(picture, emboss);\r\n }", "public void adjTrans(int adjust){\n GreenfootImage tempImage = getImage();\n tempImage.setTransparency(adjust);\n setImage(tempImage);\n }", "void clamp() {\r\n\t\tif (x > 1) {\r\n\t\t\tx = 1;\r\n\t\t}\r\n\t\tif (y > 1) {\r\n\t\t\ty = 1;\r\n\t\t}\r\n\t\tif (z > 1) {\r\n\t\t\tz = 1;\r\n\t\t}\r\n\t\tif (a > 1) {\r\n\t\t\ta = 1;\r\n\t\t}\r\n\r\n\t\tif (x < 0) {\r\n\t\t\tx = 0;\r\n\t\t}\r\n\t\tif (y < 0) {\r\n\t\t\ty = 0;\r\n\t\t}\r\n\t\tif (z < 0) {\r\n\t\t\tz = 0;\r\n\t\t}\r\n\t\tif (a < 0) {\r\n\t\t\ta = 0;\r\n\t\t}\r\n\t}", "public void clearRect(int x, int y, float width, float height);", "public UWECImage(int x, int y) {\n\n\t\tthis.im = new BufferedImage(x, y, BufferedImage.TYPE_INT_RGB);\n\n\t\t// Create a graphics context for the new BufferedImage\n\t\tGraphics2D g2 = this.im.createGraphics();\n\n\t\t// Fill in the image with black\n\t\tg2.setColor(Color.black);\n\t\tg2.fillRect(0, 0, x, y);\n\t}", "public Pic noRed() {\n Pic output = image.deepCopy();\n Pixel[][] outputPixels = output.getPixels();\n for (int row = 0; row < output.getHeight(); row++) {\n for (int col = 0; col < output.getWidth(); col++) {\n Pixel current = outputPixels[row][col];\n current.setRed(0);\n }\n }\n return output;\n }" ]
[ "0.6460398", "0.60335165", "0.5789182", "0.57712656", "0.5762574", "0.5664089", "0.552975", "0.5431444", "0.5431031", "0.54075", "0.5208674", "0.51962197", "0.51896006", "0.5181766", "0.5156195", "0.511411", "0.5106646", "0.5087116", "0.5020757", "0.50203776", "0.5013884", "0.500019", "0.49990925", "0.49946538", "0.4986846", "0.49767092", "0.4964552", "0.49579796", "0.49508095", "0.4924603", "0.49227065", "0.49023452", "0.4901312", "0.48717755", "0.48706552", "0.48615637", "0.48232704", "0.48071608", "0.478135", "0.47675332", "0.47628227", "0.47519708", "0.47417337", "0.47362757", "0.4698731", "0.46902582", "0.46785507", "0.46784437", "0.46695682", "0.46279562", "0.46246517", "0.46238762", "0.46231857", "0.46157673", "0.4614418", "0.45956507", "0.4594431", "0.45908493", "0.45768622", "0.45748708", "0.45554137", "0.45553198", "0.4552135", "0.45386198", "0.45166707", "0.44994766", "0.4487571", "0.44868228", "0.44811943", "0.44804278", "0.44759864", "0.44661975", "0.44613132", "0.44571427", "0.445185", "0.4446653", "0.44388646", "0.44325328", "0.4431253", "0.44267508", "0.44160342", "0.44159985", "0.4407806", "0.4401175", "0.43825895", "0.43758512", "0.43722647", "0.43686983", "0.4362252", "0.43618333", "0.43588978", "0.43527773", "0.43473735", "0.43408376", "0.43397313", "0.4338616", "0.43368325", "0.43331772", "0.4329875", "0.43275604" ]
0.65757674
0
Packs the given nuts (which embed images) in the smallest area.
public Map<Region, Nut> pack(final List<Nut> nuts) throws WuicException { // Clear previous work dimensionPacker.clearElements(); // Load each image, read its dimension and add it to the packer with the ile as data for (final Nut nut : nuts) { InputStream is = null; try { is = nut.openStream(); final BufferedImage buff = ImageIO.read(is); dimensionPacker.addElement(new Dimension(buff.getWidth(), buff.getHeight()), nut); } catch (IOException ioe) { throw new StreamException(ioe); } finally { IOUtils.close(is); } } // Get the regions calculated by the packer ! return dimensionPacker.getRegions(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doPack() {\n }", "public void doPack() {\n }", "public void doPack() {\n }", "public void doPack() {\n }", "public void doPack() {\n }", "public void doPack() {\n }", "public void removeAllPawns(){\n\n for (Map.Entry<Integer, ImageView> entry : actionButtons.entrySet()) {\n Image image = null;\n entry.getValue().setImage(image);\n }\n\n for (Map.Entry<Integer, ImageView> entry : harvestBox.entrySet()) {\n\n Image image = null;\n entry.getValue().setImage(image);\n harvestBoxFreeSlot = 0;\n\n }\n\n for (Map.Entry<Integer, ImageView> entry : productionBox.entrySet()) {\n\n Image image = null;\n entry.getValue().setImage(image);\n productionBoxFreeSlot = 0;\n\n }\n\n for (Map.Entry<Integer, ImageView> entry : gridMap.entrySet()) {\n Image image = null;\n entry.getValue().setImage(image);\n gridFreeSlot = 0;\n }\n }", "@Override\r\n public void pack() {\r\n super.pack();\r\n JkFileTree.of(this.classDir()).exclude(\"**/*.jar\").zip().to(packer().jarFile(\"lean\"));\r\n distrib();\r\n }", "private boolean doPacking(List<Cluster> clusters)\r\n {\n RectanglePacker<Cluster> packer = new RectanglePacker<Cluster>((int)MAX_WIDTH, (int)MAX_HEIGHT, 0);\r\n\r\n for (Cluster cluster : clusters)\r\n {\r\n SWCRectangle bbox = cluster.getBoundingBox();\r\n RectanglePacker.Rectangle res = packer.insert((int)bbox.getWidth(), (int)bbox.getHeight(), cluster);\r\n\r\n //unable to pack rectangles\r\n if (res == null)\r\n return false;\r\n }\r\n\r\n //fill out wordPositions\r\n for (Cluster cluster : clusters)\r\n {\r\n SWCRectangle bbox = cluster.getBoundingBox();\r\n Rectangle rect = packer.findRectangle(cluster);\r\n\r\n for (Word w : cluster.wordPositions.keySet())\r\n {\r\n SWCRectangle r = cluster.wordPositions.get(w);\r\n wordPositions.put(w, new SWCRectangle(r.getX() + rect.x - bbox.getX(), r.getY() + rect.y - bbox.getY(), r.getWidth(), r.getHeight()));\r\n }\r\n }\r\n\r\n return true;\r\n }", "private void prepareAlbums() {\n// int[] covers = new int[]{\n// R.drawable.album1,\n// R.drawable.album2,\n// R.drawable.album3,\n// R.drawable.album4,\n// R.drawable.album5,\n// R.drawable.album6,\n// R.drawable.album7,\n// R.drawable.album8,\n// R.drawable.album9,\n// R.drawable.album10,\n// R.drawable.album11,\n// R.drawable.album12,\n// R.drawable.album13};\n int [] covers = new int [ALBUM_SIZE];\n for (int i = 0; i < ALBUM_SIZE; i++){\n int temp = i + 1;\n covers[i] = getResources().getIdentifier(\"album\" + temp, \"drawable\", getPackageName() );\n }\n\n Album a = new Album(\"True Romance\", 13, covers[0]);\n albumList.add(a);\n\n a = new Album(\"Xscpae\", 8, covers[1]);\n albumList.add(a);\n\n a = new Album(\"Maroon 5\", 11, covers[2]);\n albumList.add(a);\n\n a = new Album(\"Born to Die\", 12, covers[3]);\n albumList.add(a);\n\n a = new Album(\"Honeymoon\", 14, covers[4]);\n albumList.add(a);\n\n a = new Album(\"I Need a Doctor\", 1, covers[5]);\n albumList.add(a);\n\n // Special image (album19, album20 )has w x h smaller than normal image\n a = new Album(\"Honeymoon\", 14, covers[18]);\n albumList.add(a);\n\n a = new Album(\"Honeymoon\", 14, covers[19]);\n albumList.add(a);\n\n a = new Album(\"Loud\", 11, covers[6]);\n albumList.add(a);\n\n a = new Album(\"Legend\", 14, covers[7]);\n albumList.add(a);\n\n a = new Album(\"Hello\", 11, covers[8]);\n albumList.add(a);\n\n a = new Album(\"Greatest Hits\", 17, covers[9]);\n albumList.add(a);\n\n a = new Album(\"Top Hits\", 17, covers[10]);\n albumList.add(a);\n\n a = new Album(\"King Hits\", 17, covers[11]);\n albumList.add(a);\n\n a = new Album(\"VIP Hits\", 17, covers[12]);\n albumList.add(a);\n\n a = new Album(\"True Romance\", 13, covers[13]);\n albumList.add(a);\n\n a = new Album(\"Xscpae\", 8, covers[14]);\n albumList.add(a);\n\n a = new Album(\"Maroon 5\", 11, covers[15]);\n albumList.add(a);\n\n a = new Album(\"Born to Die\", 12, covers[16]);\n albumList.add(a);\n\n a = new Album(\"Honeymoon\", 14, covers[17]);\n albumList.add(a);\n\n // Special image (album19, album20 )has w x h smaller than normal image\n a = new Album(\"Honeymoon\", 14, covers[18]);\n albumList.add(a);\n\n a = new Album(\"Honeymoon\", 14, covers[19]);\n albumList.add(a);\n\n adapter.notifyDataSetChanged();\n }", "private ImageSet createImages(String kind) {\n \t\tImageSet images = new ImageSet();\n \t\tImageDescriptor desc;\n \t\tdesc = getPredefinedImageDescriptor(kind);\n if (desc == null) {\n \t\t desc = TaskEditorManager.getInstance().getImageDescriptor(kind);\n }\n \t\tif (desc != null) {\t\t\n \t\t\timages.put(ICompositeCheatSheetTask.NOT_STARTED, desc.createImage());\n \t\t\t\n \t\t\tcreateImageWithOverlay(ICompositeCheatSheetTask.IN_PROGRESS, \n\t\t \"$nl$/icons/ovr16/task_in_progress.gif\", //$NON-NLS-1$\n \t\t images, \n \t\t desc);\n \t\t\tcreateImageWithOverlay(ICompositeCheatSheetTask.SKIPPED, \n\t\t \"$nl$/icons/ovr16/task_skipped.gif\", //$NON-NLS-1$\n \t\t images, \n \t\t desc);\n \t\t\tcreateImageWithOverlay(BLOCKED, \n\t\t \"$nl$/icons/ovr16/task_blocked.gif\", //$NON-NLS-1$\n \t\t images, \n \t\t desc);\n \t\t\tcreateImageWithOverlay(ICompositeCheatSheetTask.COMPLETED, \n\t\t \"$nl$/icons/ovr16/task_complete.gif\", //$NON-NLS-1$\n \t\t images, \n \t\t desc);\n \t\t\t\n \t\t}\n \t\treturn images;\n \t}", "public List<Box> packThings (List<Thing> things){\n List<Box> boxes = new ArrayList<Box>();\r\n \r\n for (Thing thing : things){\r\n Box box = new Box(boxesVolume); //creates new box with specified volume\r\n box.addThing(thing); //adds things to the Box\r\n boxes.add(box); //adds box to list of boxes\r\n }\r\n \r\n return boxes;\r\n }", "private void createFullPackOfCards()\r\n {\r\n // Todo\r\n\r\n // Using a for-loop, add all the Card instances to cards.\r\n for ( int i = 0; i < NOOFCARDSINFULLPACK; i ++) {\r\n addTopCard( new Card(i));\r\n }\r\n }", "private void drawPacksFromSets()\n {\n // Database of cards and their appropriate images... This is all built-in and pre-created in the assets folder.\n // Retrieve information from database and create the card pool to draw cards from.\n CardDatabase cardDb = new CardDatabase(this);\n // Store card pool here.\n ArrayList<Card> cardPool;\n\n if (setsForDraft.size() == ONE_DRAFT_SET)\n {\n cardPool = cardDb.getCardPool(setsForDraft.get(0));\n // Make a card pack generator. This will use the cardPool passed in to make the packs that will be opened.\n CardPackGenerator packGenerator = new CardPackGenerator(cardPool);\n\n // Since this is a Sealed simulator, open 6 (SEALED_PACKS) packs.\n openedCardPool = packGenerator.generatePacks(SEALED_PACKS);\n }\n else if(setsForDraft.size() == TWO_DRAFT_SETS)\n {\n // Two sets are being drafted. First set is major one, second is minor one.\n cardPool = cardDb.getCardPool(setsForDraft.get(0));\n // Make a card pack generator. This will use the cardPool passed in to make the packs that will be opened.\n CardPackGenerator packGenerator = new CardPackGenerator(cardPool);\n // Major set opening.\n openedCardPool = packGenerator.generatePacks(MAJOR_SEALED);\n\n // Fetch minor set's cards.\n cardPool = cardDb.getCardPool(setsForDraft.get(1));\n // Make appropriate card pack generator.\n packGenerator = new CardPackGenerator(cardPool);\n // Minor set opening. Add to opened pool.\n openedCardPool.addAll(packGenerator.generatePacks(MINOR_SEALED));\n }\n else\n {\n // ERROR!\n }\n }", "public void setup() {\n\t\tsize(1300, 800);\n\t\tint seed = 4346;\n\t\tran = new Random(seed);\n\t\trandompolys = randomPolygons(210);// prepare the input polygons\n\n\t\tDouble segment_len = useAbey ? null : segment_max_length;\n\t\tPack pack = new Pack(randompolys, margin, segment_len, rotSteps, WID, HEI, preferX);\n\t\tpack.packOneSheet(useAbey);\n\t\tpacks.add(pack);\n\n\t\tfor (int i = 0; i < 100; i++) { // packing one sheet after another, 100 is estimated\n\t\t\tint size = packs.size();\n\t\t\tif (packs.get(size - 1).isEmpty()) {\n\t\t\t\tprintln(size + \" sheets\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tpack = packs.get(size - 1).clone();\n\t\t\tpack.packOneSheet(useAbey);\n\t\t\tpacks.add(pack);\n\t\t}\n\t\treport();\n\t}", "private void startProcessing() {\n Util.lockOrientation(this);\n\n final int[] imageSpacing = Prefs.imageSpacing(MainActivity.this);\n final int SPACING_HORIZONTAL = imageSpacing[0];\n final int SPACING_VERTICAL = imageSpacing[1];\n\n final boolean horizontal = stackHorizontallyCheck.isChecked();\n int resultWidth;\n int resultHeight;\n\n log(\"--------------------------------\");\n if (horizontal) {\n log(\"Horizontally stacking\");\n\n // The width of the resulting image will be the largest width of the selected images\n // The height of the resulting image will be the sum of all the selected images' heights\n int maxHeight = -1;\n int minHeight = -1;\n\n // Traverse all selected images to find largest and smallest heights\n traverseIndex = -1;\n int[] size;\n while ((size = getNextBitmapSize()) != null) {\n if (size[0] == 0 && size[1] == 0) return;\n log(\"Image %d size: %d/%d\", traverseIndex, size[0], size[1]);\n if (maxHeight == -1)\n maxHeight = size[1];\n else if (size[1] > maxHeight)\n maxHeight = size[1];\n if (minHeight == -1)\n minHeight = size[1];\n else if (size[1] < minHeight)\n minHeight = size[1];\n }\n log(\"Min height: %d, max height: %d\", minHeight, maxHeight);\n\n // Traverse images again now that we know the min/max height, scale widths accordingly\n traverseIndex = -1;\n int totalWidth = 0;\n boolean scalePriority = Prefs.scalePriority(this);\n while ((size = getNextBitmapSize()) != null) {\n if (size[0] == 0 && size[1] == 0) return;\n int w = size[0];\n int h = size[1];\n float ratio = (float) w / (float) h;\n if (scalePriority) {\n // Scale to largest\n if (h < maxHeight) {\n h = maxHeight;\n w = (int) ((float) h * ratio);\n log(\"Height of image %d is less than max (%d), scaled up to %d/%d...\",\n traverseIndex, maxHeight, w, h);\n }\n } else {\n // Scale to smallest\n if (h > minHeight) {\n h = minHeight;\n w = (int) ((float) h * ratio);\n log(\"Height of image %d is larger than min (%d), scaled down to %d/%d...\",\n traverseIndex, minHeight, w, h);\n }\n }\n totalWidth += w;\n }\n\n // Compensate for spacing\n totalWidth += SPACING_HORIZONTAL * (selectedPhotos.length + 1);\n minHeight += SPACING_VERTICAL * 2;\n maxHeight += SPACING_VERTICAL * 2;\n\n // Crash avoidance\n if (totalWidth == 0) {\n Util.showError(this, new Exception(\"The total generated width is 0. Please \" +\n \"notify me of this through the Google+ community.\"));\n return;\n } else if (maxHeight == 0) {\n Util.showError(this, new Exception(\"The max found height is 0. Please notify \" +\n \"me of this through the Google+ community.\"));\n return;\n }\n\n // Print data and create large Bitmap\n log(\"Total width with spacing = %d, max height with spacing = %d\", totalWidth, maxHeight);\n resultWidth = totalWidth;\n resultHeight = scalePriority ? maxHeight : minHeight;\n } else {\n log(\"Vertically stacking\");\n\n // The height of the resulting image will be the largest height of the selected images\n // The width of the resulting image will be the sum of all the selected images' widths\n int maxWidth = -1;\n int minWidth = -1;\n\n // Traverse all selected images and load min/max width, scale height accordingly\n traverseIndex = -1;\n int[] size;\n while ((size = getNextBitmapSize()) != null) {\n if (size[0] == 0 && size[1] == 0) return;\n log(\"Image %d size: %d/%d\", traverseIndex, size[0], size[1]);\n if (maxWidth == -1)\n maxWidth = size[0];\n else if (size[0] > maxWidth)\n maxWidth = size[0];\n if (minWidth == -1)\n minWidth = size[0];\n else if (size[0] < minWidth)\n minWidth = size[0];\n }\n\n // Traverse images again now that we know the min/max height, scale widths accordingly\n traverseIndex = -1;\n int totalHeight = 0;\n boolean scalePriority = Prefs.scalePriority(this);\n while ((size = getNextBitmapSize()) != null) {\n if (size[0] == 0 && size[1] == 0) return;\n int w = size[0];\n int h = size[1];\n float ratio = (float) h / (float) w;\n if (scalePriority) {\n // Scale to largest\n if (w < maxWidth) {\n w = maxWidth;\n h = (int) ((float) w * ratio);\n log(\"Height of image %d is larger than min (%d), scaled down to %d/%d...\",\n traverseIndex, maxWidth, w, h);\n }\n } else {\n // Scale to smallest\n if (w > minWidth) {\n w = minWidth;\n h = (int) ((float) w * ratio);\n log(\"Width of image %d is larger than min (%d), scaled height down to %d/%d...\",\n traverseIndex, minWidth, w, h);\n }\n }\n totalHeight += h;\n }\n\n // Compensate for spacing\n totalHeight += SPACING_VERTICAL * (selectedPhotos.length + 1);\n minWidth += SPACING_HORIZONTAL * 2;\n maxWidth += SPACING_HORIZONTAL * 2;\n\n // Crash avoidance\n if (totalHeight == 0) {\n Util.showError(this, new Exception(\"The total generated height is 0. Please \" +\n \"notify me of this through the Google+ community.\"));\n return;\n } else if (maxWidth == 0) {\n Util.showError(this, new Exception(\"The max found width is 0. Please notify \" +\n \"me of this through the Google+ community.\"));\n return;\n }\n\n // Print data and create large Bitmap\n log(\"Max width with spacing = %d, total height with spacing = %d\", maxWidth, totalHeight);\n resultWidth = scalePriority ? maxWidth : minWidth;\n resultHeight = totalHeight;\n }\n\n ImageSizingDialog.show(this, resultWidth, resultHeight);\n }", "@Override\n void pack() {\n }", "protected static LinkedList<Location> generateLocations() {\n int i = 0;\n LinkedList<Location> list = new LinkedList<Location>();\n ClassLoader classLoader = Thread.currentThread().getContextClassLoader();\n ImagePacker gearImgs = new ImagePacker();\n\n try {\n gearImgs.readDirectory(new File(Objects.requireNonNull(classLoader.getResource(\"assets/gear-tiles\")).getPath()));\n } catch (Exception e) {\n e.printStackTrace();\n }\n for (i = 0; i < GEARTILES; i++) {\n list.add(new Location(LocationType.GEAR).withImg(gearImgs.popImg()));\n }\n list.get((int)(Math.random()*list.size())).toggleStartingLoc();\n\n Image waterImg = new Image(Objects.requireNonNull(classLoader.getResource(\"assets/water/water-tile.jpg\")).toString());\n for (i = 0; i < WATERTILES; i++) {\n list.add(new Location(LocationType.WELL).withImg(waterImg));\n }\n\n Image waterFakeImg = new Image(Objects.requireNonNull(classLoader.getResource(\"assets/water/water-fake-tile.jpg\")).toString());\n for (i = 0; i < WATERFAKETILES; i++) {\n list.add(new Location(LocationType.MIRAGE).withImg(waterFakeImg));\n }\n\n //TODO: Finish images\n for (i = 0; i < LANDINGPADTILES; i++) {\n list.add(new Location(LocationType.LANDINGPAD).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/landing-pad.jpg\")).toString())));\n }\n for (i = 0; i < TUNNELTILES; i++) {\n list.add(new Location(LocationType.TUNNEL).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/tunnel.jpg\")).toString())));\n }\n list.add(new Clue(Artifact.COMPASS, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/compass-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.COMPASS, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/compass-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.PROPELLER, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/propeller-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.PROPELLER, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/propeller-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.ENGINE, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/motor-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.ENGINE, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/motor-LR.jpg\")).toString())));\n list.add(new Clue(Artifact.CRYSTAL, Clue.Orientation.NS).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/monolith-UD.jpg\")).toString())));\n list.add(new Clue(Artifact.CRYSTAL, Clue.Orientation.EW).withImg(new Image(Objects.requireNonNull(classLoader.getResource(\"assets/other-tiles/monolith-LR.jpg\")).toString())));\n\n return list;\n }", "boolean testPlaceAllShips(Tester t) {\n return t.checkExpect(this.los3.placeAll(this.em),\n em.placeImageXY(ship1.draw(), 0, 150).placeImageXY(ship2.draw(), 50, 50)\n .placeImageXY(ship3.draw(), 50, 50))\n && t.checkExpect(this.mt.placeAll(this.em), this.em);\n }", "public static void main(String[] args) {\n System.out.println(canPack(6, 2, 17));\n\n }", "public void packBags() {\r\n GroceryBag[] packedBags = new GroceryBag[numItems];\r\n int bagCount = 0;\r\n\r\n GroceryBag currentBag = new GroceryBag();\r\n for (int i=0; i<numItems; i++) {\r\n GroceryItem item = (GroceryItem) cart[i];\r\n if (item.getWeight() <= GroceryBag.MAX_WEIGHT) {\r\n if (!currentBag.canHold(item)) {\r\n packedBags[bagCount++] = currentBag;\r\n currentBag = new GroceryBag();\r\n }\r\n currentBag.addItem(item);\r\n removeItem(item);\r\n i--;\r\n }\r\n }\r\n // Check this in case there were no bagged items\r\n if (currentBag.getWeight() > 0)\r\n packedBags[bagCount++] = currentBag;\r\n\r\n // Now create a new bag array which is just the right size\r\n pBags = new GroceryBag[bagCount];\r\n for (int i=0; i<bagCount; i++) {\r\n pBags[i] = packedBags[i];\r\n }\r\n\r\n // Add all grocery bags bag into cart\r\n for (int i = 0; i < bagCount; i++) {\r\n addItem(pBags[i]);\r\n }\r\n }", "public static void codeAllImages(Args args) throws FileNotFoundException, IOException{\n BufferedImage tempI=null, tempP=null;\n BufferedImage[] codeOut = null;\n FileOutputStream fos = new FileOutputStream(args.output);\n ZipOutputStream zipOS = new ZipOutputStream(fos);\n int j = 0;\n //Iterate through all the images dividing them into frameP or frameI\n for(int i= 0; i < imageNames.size(); i++){ \n //j is a counter of the gop\n if(j >= (args.gop)){\n j=0;\n }\n if(j==0){\n // Frame I\n tempI = imageDict.get(imageNames.get(i));\n imgToZip(tempI, i, zipOS, \"image_coded_\");\n }else{\n //Frame P\n codeOut = createCodedImg(tempI, imageDict.get(imageNames.get(i)), args.thresh, args.tileSize, args.seekRange, args.comparator);\n imgToZip(codeOut[0], i, zipOS, \"image_coded_\");\n tempI = codeOut[1];\n //showImage(tempP);\n }\n j++;\n }\n //Get the gop, its always the first position of the coded data\n dataList.get(0).gop = args.gop;\n //Store into a .gz file all the info of every tile of every image, info that is stored into our dataList\n try {\n FileOutputStream out = new FileOutputStream(\"codedData.gz\");\n GZIPOutputStream gos = new GZIPOutputStream(out);\n ObjectOutputStream oos = new ObjectOutputStream(gos);\n oos.writeObject(dataList);\n oos.flush();\n gos.flush();\n out.flush();\n \n oos.close();\n gos.close();\n out.close();\n } catch (Exception e) {\n System.out.println(\"Problem serializing: \" + e);\n }\n \n FileInputStream fis = new FileInputStream(\"codedData.gz\");\n ZipEntry e = new ZipEntry(\"codedData.gz\");\n zipOS.putNextEntry(e);\n\n byte[] bytes = new byte[1024];\n int length;\n while ((length = fis.read(bytes)) >= 0) {\n zipOS.write(bytes, 0, length);\n }\n zipOS.closeEntry();\n fis.close();\n zipOS.finish(); //Good practice!\n zipOS.close();\n }", "public static void createImages()\n {\n //Do if not done before\n if(!createdImages)\n {\n createdImages = true;\n for(int i=0; i<rightMvt.length; i++)\n {\n rightMvt[i] = new GreenfootImage(\"sniperEnemyRight\"+i+\".png\");\n leftMvt[i] = new GreenfootImage(\"sniperEnemyRight\"+i+\".png\");\n rightMvt[i].scale(rightMvt[i].getWidth()*170/100, rightMvt[i].getHeight()*170/100);\n leftMvt[i].scale(leftMvt[i].getWidth()*170/100, leftMvt[i].getHeight()*170/100);\n }\n for(int i=0; i<leftMvt.length; i++)\n {\n leftMvt[i].mirrorHorizontally();\n }\n for(int i=0; i<upMvt.length; i++)\n {\n upMvt[i] = new GreenfootImage(\"sniperEnemyUp\"+i+\".png\");\n downMvt[i] = new GreenfootImage(\"sniperEnemyDown\"+i+\".png\");\n upMvt[i].scale(upMvt[i].getWidth()*170/100, upMvt[i].getHeight()*170/100);\n downMvt[i].scale(downMvt[i].getWidth()*170/100, downMvt[i].getHeight()*170/100);\n }\n }\n }", "private void loadImages(){\n try{\n System.out.println(System.getProperty(\"user.dir\"));\n\n t1img = read(new File(\"resources/tank1.png\"));\n t2img = read(new File(\"resources/tank1.png\"));\n backgroundImg = read(new File(\"resources/background.jpg\"));\n wall1 = read(new File(\"resources/Wall1.gif\"));\n wall2 = read(new File(\"resources/Wall2.gif\"));\n heart = resize(read(new File(\"resources/Hearts/basic/heart.png\")), 35,35);\n heart2 = resize(read( new File(\"resources/Hearts/basic/heart.png\")), 25,25);\n bullet1 = read(new File(\"resources/bullet1.png\"));\n bullet2 = read(new File(\"resources/bullet2.png\"));\n\n }\n catch(IOException e){\n System.out.println(e.getMessage());\n }\n }", "public synchronized static void initialiseImages() \n {\n if (images == null) {\n GreenfootImage baseImage = new GreenfootImage(\"explosion-big.png\");\n int maxSize = baseImage.getWidth()/3;\n int delta = maxSize / IMAGE_COUNT;\n int size = 0;\n images = new GreenfootImage[IMAGE_COUNT];\n for (int i=0; i < IMAGE_COUNT; i++) {\n size = size + delta;\n images[i] = new GreenfootImage(baseImage);\n images[i].scale(size, size);\n }\n }\n }", "public GUIPROJECT3(){\n setLayout(new FlowLayout());\n image1=new ImageIcon(getClass().getResource(\"uche pics 009.JPG\"));\n \n Label1= new JLabel(image1);\n add(Label1);\n \n image2= new ImageIcon(getClass().getResource(\"uche pics 315.JPG\"));\n \n Label2= new JLabel(image2);\n add(Label2);\n}", "public StoneSummon() {\n// ArrayList<BufferedImage> images = SprssssssaasssssaddddddddwiteUtils.loadImages(\"\"\n createStones();\n\n }", "public static void finalizeNam()\n {\n for(int tileY=0; tileY<30; tileY++)\n {\n for(int tileX=0; tileX<32; tileX++)\n {\n try\n {\n outputNAMstream.write(allTiles[tileX][tileY]);\n }catch(IOException e){}\n }\n }\n\n\n while(numOfTiles++ < 960)\n {\n try {\n outputNAMstream.write(0);\n }catch(IOException e){}\n }\n\n\n\n int valToWrite;\n\n for(int y=0; y<15; y+=2)\n {\n for(int x=0; x<16; x+=2) {\n\n if (y < 14)\n {\n valToWrite = 16 * 4 * attributes[x + 1][y + 1] + 16 * attributes[x][y + 1] + 4 * attributes[x + 1][y] + attributes[x][y];\n }\n else\n {\n valToWrite = 4 * attributes[x + 1][y] + attributes[x][y];\n }\n\n try {\n outputNAMstream.write(valToWrite);\n } catch (IOException e) {\n }\n }\n }\n\n try{\n outputNAMstream.close();\n }catch(IOException e){}\n\n try\n {\n java.awt.Desktop.getDesktop().open(outputNAMfile);\n }catch(IOException e){System.out.println(e);}\n }", "public void pack() {\n Container parent = this.parent;\n if (parent != null && parent.peer == null) {\n parent.addNotify();\n }\n if (peer == null) {\n addNotify();\n }\n\n // 6182409: Window.pack does not work correctly.\n if (peer != null) {\n setSize(getPreferredSize());\n }\n if (beforeFirstShow) {\n isPacked = true;\n }\n validate();\n }", "public void findImages() {\n URL imgURL = ImageLoader.class.getResource(\"/BackgroundMenu.jpg\");\n this.backgroundImages.put(MenuP.TITLE, loadImage(imgURL));\n\n imgURL = ImageLoader.class.getResource(\"/backgroundGame.png\");\n this.backgroundImages.put(ArenaView.TITLE, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/gameOver.jpg\");\n this.backgroundImages.put(GameOverView.TITLE, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Player.png\");\n this.entityImages.put(ID.PLAYER, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Enemy1.png\");\n this.entityImages.put(ID.BASIC_ENEMY, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/boss.png\");\n this.entityImages.put(ID.BOSS_ENEMY, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/meteorBrown_big1.png\");\n this.entityImages.put(ID.METEOR, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/BlueBullet.png\");\n this.bulletImages.put(new Pair<>(ID.PLAYER_BULLET, ID.PLAYER), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/redBullet.png\");\n this.entityImages.put(ID.ENEMY_BULLET, loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_FireBoost.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.FIRE_BOOST), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_Freeze.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.FREEZE), loadImage(imgURL)); \n \n imgURL = ImageLoader.class.getResource(\"/powerup_Health.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.HEALTH), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/powerup_Shield.png\");\n this.powerUpImages.put(new Pair<>(ID.POWER_UP, PowerUpT.SHIELD), loadImage(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/bulletSpeedUp.png\");\n this.AnimationsPowerUp.put(new Pair<>(ID.POWER_UP, PowerUpT.FIRE_BOOST), loadEffect(imgURL));\n \n imgURL = ImageLoader.class.getResource(\"/Explosion.png\");\n this.AnimationsEffect.put(new Pair<>(ID.EFFECT, SpecialEffectT.EXPLOSION), loadEffect(imgURL));\n\n imgURL = ImageLoader.class.getResource(\"/freeze.png\");\n this.AnimationsPowerUp.put(new Pair<>(ID.POWER_UP, PowerUpT.FREEZE), loadImage(imgURL));\n }", "public native MagickImage minifyImage() throws MagickException;", "@Override\n\tprotected void placeStones(int numStones) {\n\n\t\tShape pitBounds = this.getShape();\n\t\tdouble pitW = pitBounds.getBounds().getWidth();\n\t\tdouble pitH = pitBounds.getBounds().getHeight();\n\t\t\n\n\t\tint stoneWidth = this.stoneIcon.getIconWidth();\n\t\tint stoneHeight = this.stoneIcon.getIconHeight();\n\n\t\t\t\n\t\tfor (int i = 0; i < numStones; i++){\n\t\t\tboolean locationFound = false;\n\t\t\tdo{\n\t\t\t\tfloat x = (float) Math.random();\n\t\t\t\tfloat y = (float) Math.random();\n\n\t\t\t\tx *= pitW;\n\t\t\t\ty *= pitH;\n\t\t\t\t\n\t\t\t\tEllipse2D.Float stoneBounds = new Ellipse2D.Float((float) (x+pitBounds.getBounds().getX()), (float) (y+pitBounds.getBounds().getY()), (float) (stoneWidth), (float) (stoneHeight));\n\n\t\t\t\tSystem.out.println(stoneBounds.getBounds());\n\t\t\t\tpitBounds.getBounds().setLocation(0, 0);\n\t\t\t\tArea pitArea = new Area(pitBounds);\n\t\t\t\tArea pendingStoneLocation = new Area(stoneBounds);\n\t\t\t\tArea intersectionArea = (Area) pitArea.clone();\n\t\t\t\tintersectionArea.add(pendingStoneLocation);\n\t\t\t\tintersectionArea.subtract(pitArea);\n\t\t\t\t\n\t\t\t\tif(intersectionArea.isEmpty() ){\n\t\t\t\t\tlocationFound = true;\n\t\t\t\t\tPoint2D p = new Point2D.Float((float) (x/pitW), (float) (y/pitH));\n\t\t\t\t\trelativeStoneLocations.add(p);\n\t\t\t\t\tSystem.out.println(p);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} while(!locationFound);\n\t\n\t\t}\n\t}", "public interface Packing {\n public String pack();\n}", "List<Bitmap> getRecipeImgSmall();", "public void doPack() {\n if (this._sendData == null) {\n this._sendData = new byte[26];\n }\n System.arraycopy(BytesUtil.getBytes(this.mLongtitue), 0, this._sendData, 0, 8);\n System.arraycopy(BytesUtil.getBytes(this.mLantitue), 0, this._sendData, 8, 8);\n System.arraycopy(BytesUtil.getBytes(this.mNorthSpeed), 0, this._sendData, 16, 4);\n System.arraycopy(BytesUtil.getBytes(this.mEastSpeed), 0, this._sendData, 20, 4);\n System.arraycopy(BytesUtil.getBytes(this.mAccuracy), 0, this._sendData, 24, 2);\n }", "int layout(ArrayList<ImageCell> images, int totalWidth);", "public static void loadImages()\n \t{\n \t\tSystem.out.print(\"Loading images... \");\n \t\t\n \t\tallImages = new TreeMap<ImageEnum, ImageIcon>();\n \t\t\n \t\ttry {\n \t\taddImage(ImageEnum.RAISIN, \"images/parts/raisin.png\");\n \t\taddImage(ImageEnum.NUT, \"images/parts/nut.png\");\n \t\taddImage(ImageEnum.PUFF_CHOCOLATE, \"images/parts/puff_chocolate.png\");\n \t\taddImage(ImageEnum.PUFF_CORN, \"images/parts/puff_corn.png\");\n \t\taddImage(ImageEnum.BANANA, \"images/parts/banana.png\");\n \t\taddImage(ImageEnum.CHEERIO, \"images/parts/cheerio.png\");\n \t\taddImage(ImageEnum.CINNATOAST, \"images/parts/cinnatoast.png\");\n\t\taddImage(ImageEnum.CORNFLAKE, \"images/parts/flake_corn.png\");\n \t\taddImage(ImageEnum.FLAKE_BRAN, \"images/parts/flake_bran.png\");\n \t\taddImage(ImageEnum.GOLDGRAHAM, \"images/parts/goldgraham.png\");\n \t\taddImage(ImageEnum.STRAWBERRY, \"images/parts/strawberry.png\");\n \t\t\n \t\taddImage(ImageEnum.PART_ROBOT_HAND, \"images/robots/part_robot_hand.png\");\n \t\taddImage(ImageEnum.KIT_ROBOT_HAND, \"images/robots/kit_robot_hand.png\");\n \t\taddImage(ImageEnum.ROBOT_ARM_1, \"images/robots/robot_arm_1.png\");\n \t\taddImage(ImageEnum.ROBOT_BASE, \"images/robots/robot_base.png\");\n \t\taddImage(ImageEnum.ROBOT_RAIL, \"images/robots/robot_rail.png\");\n \t\t\n \t\taddImage(ImageEnum.KIT, \"images/kit/empty_kit.png\");\n \t\taddImage(ImageEnum.KIT_TABLE, \"images/kit/kit_table.png\");\n \t\taddImage(ImageEnum.KITPORT, \"images/kit/kitport.png\");\n \t\taddImage(ImageEnum.KITPORT_HOOD_IN, \"images/kit/kitport_hood_in.png\");\n \t\taddImage(ImageEnum.KITPORT_HOOD_OUT, \"images/kit/kitport_hood_out.png\");\n \t\taddImage(ImageEnum.PALLET, \"images/kit/pallet.png\");\n \t\t\n \t\taddImage(ImageEnum.FEEDER, \"images/lane/feeder.png\");\n \t\taddImage(ImageEnum.LANE, \"images/lane/lane.png\");\n \t\taddImage(ImageEnum.NEST, \"images/lane/nest.png\");\n \t\taddImage(ImageEnum.DIVERTER, \"images/lane/diverter.png\");\n \t\taddImage(ImageEnum.DIVERTER_ARM, \"images/lane/diverter_arm.png\");\n \t\taddImage(ImageEnum.PARTS_BOX, \"images/lane/partsbox.png\");\n \t\t\n \t\taddImage(ImageEnum.CAMERA_FLASH, \"images/misc/camera_flash.png\");\n \t\taddImage(ImageEnum.SHADOW1, \"images/misc/shadow1.png\");\n \t\taddImage(ImageEnum.SHADOW2, \"images/misc/shadow2.png\");\n \t\t\n \t\taddImage(ImageEnum.GANTRY_BASE, \"images/gantry/gantry_base.png\");\n \t\taddImage(ImageEnum.GANTRY_CRANE, \"images/gantry/gantry_crane.png\");\n \t\taddImage(ImageEnum.GANTRY_TRUSS_H, \"images/gantry/gantry_truss_h.png\");\n \t\taddImage(ImageEnum.GANTRY_TRUSS_V, \"images/gantry/gantry_truss_v.png\");\n \t\taddImage(ImageEnum.GANTRY_WHEEL, \"images/gantry/gantry_wheel.png\");\n \t\t} catch (Exception e) {\n \t\t\te.printStackTrace();\n \t\t\tSystem.exit(1);\n \t\t}\n \t\tSystem.out.println(\"Done\");\n \t}", "private static boolean canPack(int bigCount, int smallCount, int goal) {\n\n//Check if all parameters are in valid range\n if (bigCount < 0 || smallCount < 0 || goal < 0)\n return false;\n\n int pack = 0;\n\n //While we haven't created a pack\n while (pack < goal) {\n //see if a big flour bag can fit in the package\n if (bigCount > 0 && (pack + 5) <= goal) {\n bigCount--;\n pack += 5;\n\n }\n //see there is a small flour bag left, to add to the package\n else if (smallCount > 0) {\n smallCount--;\n pack += 1;\n }\n //if a big bag won't fit (or doesnt exist) and we dont have enough small bags\n else\n return false;\n }\n return (pack == goal);\n }", "private String getResizeIcon(int i) {\r\n\t\t//Added images for each destination and updated the sizes of each picture so it is better looking.\r\n\t\tString image = \"\"; \r\n\t\tif (i==1){\r\n\t\t\timage = \"<html><body><img width= '800' height='500' src='\" + getClass().getResource(\"/resources/TestImage1.jpg\") + \"'</body></html>\";\r\n\t\t} else if (i==2){\r\n\t\t\t//By: James Willamor Wikimedia commons https://commons.wikimedia.org/wiki/File:Taino_Beach,_Grand_Bahama.jpg\r\n\t\t\timage = \"<html><body><img width= '800' height='500' src='\" + getClass().getResource(\"/resources/Taino_Beach,_Grand_Bahama.jpg\") + \"'</body></html>\";\r\n\t\t} else if (i==3){\r\n\t\t\t//By: MIKI Yoshihito Wikimedia commons \t\r\n\t\t\t//https://www.flickr.com/photos/mujitra/16892388692/in/photolist-m6k3hb-7CuR2s-7CuQZ7-m6jarH-m6itzF-m6iCoH-T1yahh-m6isDn-m6jda8-T1y8aS-S1te2R-RXVom9-SEt9Ey-RXVA11-rJHUCU-qMQi19-rJHKsj-qMQjf3-rGxqmE-rqvpNM-rGxuqG-rGxtBN-rsfwSW-rsfsUq-rJQ9xZ-qN3siH-bx211V-8w87tU\r\n\t\t\timage = \"<html><body><img width= '800' height='500' src='\" + getClass().getResource(\"/resources/Hilton_Niseko_Village.jpg\") + \"'</body></html>\";\r\n\t\t} else if (i==4){\r\n\t\t\t//By:florin_glontaru Wikimedia commons \thttp://www.panoramio.com/photo/41076639\r\n\t\t\timage = \"<html><body><img width= '800' height='500' src='\" + getClass().getResource(\"/resources/Sunset_at_Gerakini_beach,_Greece_-_panoramio.jpg\") + \"'</body></html>\";\r\n\t\t} else if (i==5){\r\n\t\t\t//By:Keith Pomakis Wikimedia commons https://commons.wikimedia.org/wiki/File:Cancun_Beach.jpg\r\n\t\t\timage = \"<html><body><img width= '800' height='500' src='\" + getClass().getResource(\"/resources/800px-Cancun_Beach.jpg\") + \"'</body></html>\";\r\n\t\t}\r\n\t\treturn image;\r\n\t}", "private void nocompressedUnPack()throws UnpackException,ZipEndException{\n skipByte();\n //get the len\n long LEN = 0x00;\n byte byte0 = getByte();\n byte byte1 = getByte();\n byte byte2 = getByte();\n byte byte3 = getByte();\n LEN |= byte1;\n LEN |= (byte0 << 8);\n LEN &= 0X0000ffff;\n// LEN |= (byte2<<24);\n// LEN |= (byte3<<16);\n int l = 0;\n try{\n for (long num = 0; num < LEN ; num ++){\n outputStoredByte(getByte());\n }\n }catch (IOException e){\n e.printStackTrace();\n }\n }", "private byte[] buildLoadoutImage(Loadout[] loadouts) {\n BufferedImage[] loadoutImages = new BufferedImage[loadouts.length];\n int tallest = 0;\n for(int i = 0; i < loadouts.length; i++) {\n BufferedImage loadoutImage = loadoutImageManager.buildLoadoutImage(\n loadouts[i],\n \"Loadout \" + (i + 1) + \"/\" + loadouts.length\n );\n if(loadoutImage.getHeight() > tallest) {\n tallest = loadoutImage.getHeight();\n }\n loadoutImages[i] = loadoutImage;\n }\n BufferedImage background = new BufferedImage(\n (loadoutImages[0].getWidth() * loadoutImages.length) + (loadoutImages.length + 1) * 10,\n tallest + 20,\n BufferedImage.TYPE_INT_RGB\n );\n Graphics g = background.getGraphics();\n int x = 10, y = 10;\n for(BufferedImage image : loadoutImages) {\n g.drawImage(image, x, y, null);\n x += image.getWidth() + 10;\n }\n g.dispose();\n return ImageLoadingMessage.imageToByteArray(background);\n }", "public static int[][][] packWU(int n, int[] from, int[] to, int[] w) {\n int[][][] g = new int[n][][];\n int[] p = new int[n];\n for (int f : from) {\n p[f]++;\n }\n for (int t : to) {\n p[t]++;\n }\n for (int i = 0; i < n; i++) {\n g[i] = new int[p[i]][2];\n }\n for (int i = 0; i < from.length; i++) {\n --p[from[i]];\n g[from[i]][p[from[i]]][0] = to[i];\n g[from[i]][p[from[i]]][1] = w[i];\n --p[to[i]];\n g[to[i]][p[to[i]]][0] = from[i];\n g[to[i]][p[to[i]]][1] = w[i];\n }\n return g;\n }", "public void writeToNBT(NBTTagCompound nbt) {\n\t\tnbt.setInteger(\"xSize\", sizeX);\n\t\tnbt.setInteger(\"ySize\", sizeY);\n\t\tnbt.setInteger(\"zSize\", sizeZ);\n\n\n\t\tIterator<TileEntity> tileEntityIterator = tileEntities.iterator();\n\t\tNBTTagList tileList = new NBTTagList();\n\t\twhile(tileEntityIterator.hasNext()) {\n\t\t\tTileEntity tile = tileEntityIterator.next();\n\t\t\ttry {\n\t\t\t\tNBTTagCompound tileNbt = new NBTTagCompound();\n\t\t\t\ttile.writeToNBT(tileNbt);\n\t\t\t\ttileList.appendTag(tileNbt);\n\t\t\t} catch(RuntimeException e) {\n\t\t\t\tAdvancedRocketry.logger.warn(\"A tile entity has thrown an error: \" + tile.getClass().getCanonicalName());\n\t\t\t\tblocks[tile.getPos().getX()][tile.getPos().getY()][tile.getPos().getZ()] = Blocks.AIR;\n\t\t\t\tmetas[tile.getPos().getX()][tile.getPos().getY()][tile.getPos().getZ()] = 0;\n\t\t\t\ttileEntityIterator.remove();\n\t\t\t}\n\t\t}\n\n\t\tint[] blockId = new int[sizeX*sizeY*sizeZ];\n\t\tint[] metasId = new int[sizeX*sizeY*sizeZ];\n\t\tfor(int x = 0; x < sizeX; x++) {\n\t\t\tfor(int y = 0; y < sizeY; y++) {\n\t\t\t\tfor(int z = 0; z < sizeZ; z++) {\n\t\t\t\t\tblockId[z + (sizeZ*y) + (sizeZ*sizeY*x)] = Block.getIdFromBlock(blocks[x][y][z]);\n\t\t\t\t\tmetasId[z + (sizeZ*y) + (sizeZ*sizeY*x)] = (int)metas[x][y][z];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tNBTTagIntArray idList = new NBTTagIntArray(blockId);\n\t\tNBTTagIntArray metaList = new NBTTagIntArray(metasId);\n\n\t\tnbt.setTag(\"idList\", idList);\n\t\tnbt.setTag(\"metaList\", metaList);\n\t\tnbt.setTag(\"tiles\", tileList);\n\n\n\t\t/*for(int x = 0; x < sizeX; x++) {\n\t\t\tfor(int y = 0; y < sizeY; y++) {\n\t\t\t\tfor(int z = 0; z < sizeZ; z++) {\n\n\t\t\t\t\tidList.appendTag(new NBTTagInt(Block.getIdFromBlock(blocks[x][y][z])));\n\t\t\t\t\tmetaList.appendTag(new NBTTagInt(metas[x][y][z]));\n\n\t\t\t\t\t//NBTTagCompound tag = new NBTTagCompound();\n\t\t\t\t\ttag.setInteger(\"block\", Block.getIdFromBlock(blocks[x][y][z]));\n\t\t\t\t\ttag.setShort(\"meta\", metas[x][y][z]);\n\n\t\t\t\t\tNBTTagCompound tileNbtData = null;\n\n\t\t\t\t\tfor(TileEntity tile : tileEntities) {\n\t\t\t\t\t\tNBTTagCompound tileNbt = new NBTTagCompound();\n\n\t\t\t\t\t\ttile.writeToNBT(tileNbt);\n\n\t\t\t\t\t\tif(tileNbt.getInteger(\"x\") == x && tileNbt.getInteger(\"y\") == y && tileNbt.getInteger(\"z\") == z){\n\t\t\t\t\t\t\ttileNbtData = tileNbt;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif(tileNbtData != null)\n\t\t\t\t\t\ttag.setTag(\"tile\", tileNbtData);\n\n\t\t\t\t\tnbt.setTag(String.format(\"%d.%d.%d\", x,y,z), tag);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}*/\n\t}", "public SpinningKartJPanel() \n {\n images = new ImageIcon[ TOTAL_IMAGES ];\n \n // Load 16 images\n for ( int count = 0; count < images.length; count++ )\n images[ count ] = new ImageIcon( getClass().getResource( \"C1_ARU/\" + IMAGE_NAME + count + \".png\" ) );\n \n // All images have the same width and height\n width = images[ 0 ].getIconWidth(); // get icon width\n height = images[ 0 ].getIconHeight(); // get icon height \n }", "public void calculating_kinship_tiling_windows(String output_folder, double scale){\t\t\n\t\tSystem.out.println(\"Local_kinship for win-size=\"+tiling_win_size+\".\");\n\t\ttry{\n\t\t\tfor(int chr=0;chr<variants.num_chrs;chr++){\n\t\t\t\tint last_position=variants.locations[chr][variants.num_sites[chr]-1];\n\t\t\t\tint start=1, end=start+tiling_win_size-1;\n\t\t\t\twhile(start<last_position){\n\t\t\t\t\tdouble[][] data=variants.load_variants_in_region(chr, start, end);\n\t\t\t\t\tString the_kin_file=output_folder+\"kinship.\"+variants.sample_size+\".chr\"\n\t\t\t\t\t\t\t+(chr+1)+\".\"+start+\".\"+end;\n\t\t\t\t\tBufferedWriter bw=new BufferedWriter(new FileWriter(the_kin_file+\".raw.ibs\"));\n\t\t\t\t\tdouble[][] kinship=new double[variants.sample_size][variants.sample_size];\n\t\t\t\t\tfor(int i=0;i<variants.sample_size;i++){\n\t\t\t\t\t\tkinship[i][i]=1;\n\t\t\t\t\t\tfor(int j=i+1;j<variants.sample_size;j++){\n\t\t\t\t\t\t\tfor(int k=0;k<data.length;k++){\n\t\t\t\t\t\t\t\tkinship[i][j]+=(scale-Math.abs(data[k][i]-data[k][j]));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tkinship[i][j]=kinship[i][j]/scale/data.length;\n\t\t\t\t\t\t\tkinship[j][i]=kinship[i][j];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfor(int i=0;i<variants.sample_size;i++){\n\t\t\t\t\t\tfor(int j=0;j<variants.sample_size-1;j++){\n\t\t\t\t\t\t\tbw.write(kinship[i][j]+\",\");\n\t\t\t\t\t\t}bw.write(kinship[i][variants.sample_size-1]+\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t\tbw.close();\n\t\t\t\t\tVariantsDouble.re_scale_kinship_matrix(the_kin_file+\".raw.ibs\", the_kin_file+\".rescaled.ibs\");\n\t\t\t\t\tstart=start+tiling_win_size/2;\n\t\t\t\t\tend=start+tiling_win_size-1;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){e.printStackTrace();}\n\t}", "private void loadImages() {\n\t\ttry {\n\t\t\timage = ImageIO.read(Pillar.class.getResource(\"/Items/Pillar.png\"));\n\t\t\tscaledImage = image;\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Failed to read Pillar image file: \" + e.getMessage());\n\t\t}\n\t}", "@Test\n\tpublic void testGetNDimensions() {\n\t\tip = new ImagePlus(\"Agent007\", (Image)null);\n\t\tst = new ImageStack(2,3);\n\t\tst.addSlice(\"suave\",new byte[] {1,2,3,4,5,6});\n\t\tip.setStack(\"MoneyPenny\",st);\n\t\tip.setDimensions(1,1,1);\n\t\tassertEquals(2,ip.getNDimensions());\n\n\t\tip = new ImagePlus(\"Agent007\", (Image)null);\n\t\tst = new ImageStack(2,3);\n\t\tst.addSlice(\"suave\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"debonair\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"sophisticated\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"handsome\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"humorous\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"aloof\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"calm\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"composed\",new byte[] {1,2,3,4,5,6});\n\t\tip.setStack(\"MoneyPenny\", st);\n\n\t\t// one dim > 1\n\t\tip.setDimensions(1,1,8);\n\t\tassertEquals(3,ip.getNDimensions());\n\t\tip.setDimensions(1,8,1);\n\t\tassertEquals(3,ip.getNDimensions());\n\t\tip.setDimensions(8,1,1);\n\t\tassertEquals(3,ip.getNDimensions());\n\n\t\t// two dims > 1\n\t\tip.setDimensions(1,2,4);\n\t\tassertEquals(4,ip.getNDimensions());\n\t\tip.setDimensions(1,4,2);\n\t\tassertEquals(4,ip.getNDimensions());\n\t\tip.setDimensions(2,1,4);\n\t\tassertEquals(4,ip.getNDimensions());\n\t\tip.setDimensions(2,4,1);\n\t\tassertEquals(4,ip.getNDimensions());\n\t\tip.setDimensions(4,1,2);\n\t\tassertEquals(4,ip.getNDimensions());\n\t\tip.setDimensions(4,2,1);\n\t\tassertEquals(4,ip.getNDimensions());\n\n\t\t// three dims > 1\n\t\tip.setDimensions(2,2,2);\n\t\tassertEquals(5,ip.getNDimensions());\n\t}", "protected void groupBoardArea(){\n for (int i = 0; i < norseCityArea.getComponents().length; i++){\n if (norseCityArea.getComponent(i) instanceof JLabel){\n norseCity.add((JLabel)norseCityArea.getComponent(i));\n }\n }\n for (int i = 0; i < greekCityArea.getComponents().length; i++){\n if (greekCityArea.getComponent(i) instanceof JLabel){\n greekCity.add((JLabel)greekCityArea.getComponent(i));\n }\n }\n for (int i = 0; i < egyptCityArea.getComponents().length; i++){\n if (egyptCityArea.getComponent(i) instanceof JLabel){\n egyptCity.add((JLabel)egyptCityArea.getComponent(i));\n }\n }\n for (int i = 0; i < norseProductArea.getComponents().length; i++){\n if (norseProductArea.getComponent(i) instanceof JLabel){\n norseProduction.add((JLabel)norseProductArea.getComponent(i));\n }\n }\n for (int i = 0; i < greekProductArea.getComponents().length; i++){\n if (greekProductArea.getComponent(i) instanceof JLabel){\n greekProduction.add((JLabel)greekProductArea.getComponent(i));\n }\n }\n for (int i = 0; i < egyptProductArea.getComponents().length; i++){\n if (egyptProductArea.getComponent(i) instanceof JLabel){\n egyptProduction.add((JLabel)egyptProductArea.getComponent(i));\n }\n }\n }", "static int[][] packU(int n, int[] from, int[] to) {\n// this part of code is taken from \"uwi\" submission of codechef problem KNODES \n int[][] g = new int[n][];\n int[] p = new int[n];\n for (int f : from) {\n p[f]++;\n }\n for (int t : to) {\n p[t]++;\n }\n for (int i = 0; i < n; i++) {\n g[i] = new int[p[i]];\n }\n for (int i = 0; i < from.length; i++) {\n g[from[i]][--p[from[i]]] = to[i];\n g[to[i]][--p[to[i]]] = from[i];\n }\n return g;\n }", "private void setAdvertImages()\t{\n\n\t\tviewFlipper = (ViewFlipper) findViewById(R.id.view_flipper_display);\n\n\t\tString[] ids = getImageIDs(shopName);\n\n\t\tif(ids.length == 1)\t{\t\t//Just the logo exists\n\t\t\tLinearLayout ll = new LinearLayout(this);\n\t\t\tll.setOrientation(LinearLayout.VERTICAL);\n\n\t\t\tLinearLayout.LayoutParams lpScan = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.MATCH_PARENT);\n\t\t\tll.setLayoutParams(lpScan);\n\t\t\tll.setGravity(Gravity.CENTER);\n\n\t\t\tImageView iv = new ImageView(this);\n\t\t\tiv.setLayoutParams(lpScan);\n\t\t\tiv.setImageBitmap(imageLoadedFromInternalStorage(ids[0]));\t\t//Sets flipper images = logo (ids[0])\n\n\t\t\tll.addView(iv);\n\t\t\tviewFlipper.addView(ll);\t\n\t\t}\n\n\n\t\tfor(int i = 1; i < ids.length; i++)\t{\n\n\t\t\tLinearLayout ll = new LinearLayout(this);\n\t\t\tll.setOrientation(LinearLayout.VERTICAL);\n\n\t\t\tLinearLayout.LayoutParams lpScan = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.MATCH_PARENT);\n\t\t\tll.setLayoutParams(lpScan);\n\t\t\tll.setGravity(Gravity.CENTER);\n\n\t\t\tImageView iv = new ImageView(this);\n\t\t\tiv.setLayoutParams(lpScan);\n\t\t\tiv.setImageBitmap(imageLoadedFromInternalStorage(ids[i]));\n\n\t\t\tll.addView(iv);\n\t\t\tviewFlipper.addView(ll);\t\n\t\t}\n\t}", "public final void prepareForSaving() {\r\n\t\tbi_image.pack();\r\n\t}", "ICpPack getPack();", "public void addImg(){\n // Add other bg images\n Image board = new Image(\"sample/img/board.jpg\");\n ImageView boardImg = new ImageView();\n boardImg.setImage(board);\n boardImg.setFitHeight((tileSize* dimension)+ (tileSize*2) );\n boardImg.setFitWidth( (tileSize* dimension)+ (tileSize*2) );\n\n Tile infoTile = new Tile(getTileSize(), getTileSize()*7);\n infoTile.setTranslateX(getTileSize()*3);\n infoTile.setTranslateY(getTileSize()*6);\n\n tileGroup.getChildren().addAll(boardImg, infoTile);\n\n }", "public void addUnitsToMinimap() {\n\n for (Unit unit : model.getApp().getCurrentPlayer().getGame().getAllUnits()) {\n Player player = unit.getPlayer();\n Color color;\n if (player.getColor().equals(\"RED\")) {\n color = Color.RED;\n } else if (player.getColor().equals(\"BLUE\")) {\n color = Color.BLUE;\n } else if (player.getColor().equals(\"YELLOW\")) {\n color = Color.YELLOW;\n } else { //if(player.getColor().equals(\"GREEN\")){\n color = Color.GREEN;\n }\n\n MinimapUnit minimapUnit = new MinimapUnit(blockSize, blockSize);\n minimapUnit.setMyPlayer(player);\n minimapUnit.setColor(color);\n minimapUnit.setMyUnit(unit);\n minimapUnit.setPosXY((unit.getPosX() * blockSize) + 1, (unit.getPosY() * blockSize) + 1);\n minimapUnits.add(minimapUnit);\n drawPane.getChildren().add(minimapUnit);\n }\n System.out.println(\"allUnitsToMinimap\");\n }", "public interface Images extends ClientBundle {\n\n\t\t@Source(\"gr/grnet/pithos/resources/mimetypes/document.png\")\n\t\tImageResource fileContextMenu();\n\n\t\t@Source(\"gr/grnet/pithos/resources/doc_versions.png\")\n\t\tImageResource versions();\n\n\t\t@Source(\"gr/grnet/pithos/resources/groups22.png\")\n\t\tImageResource sharing();\n\n\t\t@Source(\"gr/grnet/pithos/resources/border_remove.png\")\n\t\tImageResource unselectAll();\n\n\t\t@Source(\"gr/grnet/pithos/resources/demo.png\")\n\t\tImageResource viewImage();\n\n @Source(\"gr/grnet/pithos/resources/folder_new.png\")\n ImageResource folderNew();\n\n @Source(\"gr/grnet/pithos/resources/folder_outbox.png\")\n ImageResource fileUpdate();\n\n @Source(\"gr/grnet/pithos/resources/view_text.png\")\n ImageResource viewText();\n\n @Source(\"gr/grnet/pithos/resources/folder_inbox.png\")\n ImageResource download();\n\n @Source(\"gr/grnet/pithos/resources/trash.png\")\n ImageResource emptyTrash();\n\n @Source(\"gr/grnet/pithos/resources/refresh.png\")\n ImageResource refresh();\n\n /**\n * Will bundle the file 'editcut.png' residing in the package\n * 'gr.grnet.pithos.web.resources'.\n *\n * @return the image prototype\n */\n @Source(\"gr/grnet/pithos/resources/editcut.png\")\n ImageResource cut();\n\n /**\n * Will bundle the file 'editcopy.png' residing in the package\n * 'gr.grnet.pithos.web.resources'.\n *\n * @return the image prototype\n */\n @Source(\"gr/grnet/pithos/resources/editcopy.png\")\n ImageResource copy();\n\n /**\n * Will bundle the file 'editpaste.png' residing in the package\n * 'gr.grnet.pithos.web.resources'.\n *\n * @return the image prototype\n */\n @Source(\"gr/grnet/pithos/resources/editpaste.png\")\n ImageResource paste();\n\n /**\n * Will bundle the file 'editdelete.png' residing in the package\n * 'gr.grnet.pithos.web.resources'.\n *\n * @return the image prototype\n */\n @Source(\"gr/grnet/pithos/resources/editdelete.png\")\n ImageResource delete();\n\n /**\n * Will bundle the file 'translate.png' residing in the package\n * 'gr.grnet.pithos.web.resources'.\n *\n * @return the image prototype\n */\n @Source(\"gr/grnet/pithos/resources/translate.png\")\n ImageResource selectAll();\n \n @Source(\"gr/grnet/pithos/resources/internet.png\")\n ImageResource internet();\n }", "public Bitmap getFinalShapesImage();", "private void load_figure()\n {\n imageHumanPlayer.getChildren().clear();\n imageComputerPlayer_1.getChildren().clear();\n imageComputerPlayer_2.getChildren().clear();\n int capacity = humanPlayer.getHospitalScale();\n int capacity2 = computerPlayer_1.getHospitalScale();\n int capacity3 = computerPlayer_2.getHospitalScale();\n Image image_1 = new Image(\"file:hospital_\" + capacity + \".png\");\n Image image_2 = new Image(\"file:hospital_\" + capacity2 + \".png\");\n Image image_3 = new Image(\"file:hospital_\" + capacity3 + \".png\");\n ImageView imageView_1 = new ImageView(image_1);\n ImageView imageView_2 = new ImageView(image_2);\n ImageView imageView_3 = new ImageView(image_3);\n imageHumanPlayer.getChildren().add(imageView_1);\n imageComputerPlayer_1.getChildren().add(imageView_2);\n imageComputerPlayer_2.getChildren().add(imageView_3);\n\n }", "public static List<Path> chunkImages(Path inputOoxmlFilePath, int chunkCount) throws IOException {\r\n List<Path> resultChunkPaths = new ArrayList<Path>();\r\n\r\n String ooxmlRootFolderName = \"\";\r\n\r\n for (int chunkNumber = 1; chunkNumber <= chunkCount; chunkNumber++) {\r\n Path resultFilePath = Paths\r\n .get(FileUtils.getAllExceptExtension(inputOoxmlFilePath.toString()) + \"_\" + chunkNumber + \"_of_\" + chunkCount + '.' + FileUtils.getFileExtension(inputOoxmlFilePath.toString()));\r\n\r\n // new copy of the original ooxml file for each 'chunk'\r\n Files.copy(inputOoxmlFilePath, resultFilePath, StandardCopyOption.REPLACE_EXISTING);\r\n\r\n // mount the zip file system\r\n try (FileSystem fs = FileSystems.newFileSystem(resultFilePath, null)) {\r\n\r\n Path mediaFolderInsideZipPath = getMediaDirectoryPath(fs);\r\n if (mediaFolderInsideZipPath == null) {\r\n throw new IOException(\"failed to find the media folder (e.g. ppt/media, word/media, Pictures) that contains the images in the ooxml file: \" + resultFilePath);\r\n }\r\n\r\n // list the contents of the /media/ folder\r\n try (DirectoryStream<Path> mediaDirectoryStream = Files.newDirectoryStream(mediaFolderInsideZipPath)) {\r\n // for every file in the /media/ folder\r\n // note: NOT expecting any subfolders\r\n for (Path mediaFilePath : mediaDirectoryStream) {\r\n if (BMPUtils.CHUNKABLE_IMAGE_FILE_EXTENSIONS.contains(FileUtils.getFileExtension(mediaFilePath.toString()))) {\r\n LOGGER.fine(\"Chunking image: \" + mediaFilePath);\r\n //String resultImageFileLoc = getAllExceptExtension(mediaFilePath) + \".bmp\";\r\n Path resultImageFilePath = mediaFilePath; //fs.getPath(resultImageFileLoc);\r\n try {\r\n OoxmlChunkUtils.writeImageChunk(mediaFilePath, resultImageFilePath, FileUtils.getFileExtension(mediaFilePath.toString()), chunkNumber, chunkCount);\r\n } catch (Exception e) {\r\n LOGGER.log(Level.WARNING, \"error writing chunk \" + chunkNumber + \" for image \" + resultImageFilePath, e);\r\n }\r\n }\r\n // else, any file that cannot be broken-down gets left as-is in every chunk\r\n }\r\n } catch (IOException e) {\r\n LOGGER.log(Level.WARNING, \"error getting zip contents at \" + mediaFolderInsideZipPath + \" inside \" + resultFilePath, e);\r\n }\r\n\r\n } catch (IOException e) {\r\n LOGGER.log(Level.WARNING, \"error mounting zip filesystem \" + resultFilePath, e);\r\n }\r\n resultChunkPaths.add(resultFilePath);\r\n }\r\n return resultChunkPaths;\r\n }", "private LinkedList<Image> loadPhotos(int n){\n\t\tLinkedList<Image> listOfPhotos = new LinkedList<>();\n\t\t\n\t\t\n\t\ttry {\n\n\t\t\tFileInputStream in = new FileInputStream(\"images\");\n\t\t\t//Skipping magic number and array size\n\t\t\tfor (int i = 0; i < 16; i++) {\n\t\t\t\tin.read();\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int k = 0; k < n; k++) {\n\t\t\t\tImage img = new Image(HEIGHT, WIDTH);\n\t\t\t\t\n\t\t\t\tbyte[][] imageData = new byte[WIDTH][HEIGHT];\n\t\t\t\tfor (int i = k*WIDTH; i < k*WIDTH + WIDTH; i++) {\n\t\t\t\t\tfor (int j = k*HEIGHT; j < k*HEIGHT + HEIGHT; j++) {\n\t\t\t\t\t\timageData[j%28][i%28] = (byte) in.read();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\timg.setData(imageData);\n\t\t\t\tlistOfPhotos.add(img);\n\t\t\t}\n\t\t\tin.close();\n\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\n\t\t\n\t\treturn listOfPhotos;\n\t\t\n\t}", "public void divideImage() {\n\n int chunkWidth = 70;\n int chunkHeight = 70;\n int count = 0;\n imgs = new BufferedImage[100];\n for (int x = 0; x < 10; x++)\n for (int y = 0; y < 10; y++) {\n\n try{\n\n imgs[count] = new BufferedImage(chunkWidth, chunkHeight, img.getType());\n Graphics2D gr = imgs[count++].createGraphics();\n gr.drawImage(img, 0, 0, chunkWidth, chunkHeight, chunkWidth * y, chunkHeight * x, chunkWidth * y + chunkWidth, chunkHeight * x + chunkHeight, null);\n gr.dispose();\n\n } catch (Exception e){\n\n // e.printStackTrace();\n\n }\n\n }\n\n }", "public void loadTotsPack(Context context) {\n PlayerDAO playerDAO = new PlayerDAO(context);\n ArrayList<PackOpenerPlayer> totsPlayers = playerDAO.getTOTSPlayers();\n ArrayList<PackOpenerPlayer> otherPlayers = playerDAO.getNonTOTSPlayers();\n\n Collections.shuffle(totsPlayers);\n Collections.shuffle(otherPlayers);\n ArrayList<PackOpenerPlayer> tempPlayers = new ArrayList<>();\n //adding one tots player\n tempPlayers.add(totsPlayers.get(0));\n\n //adding other remaining players\n int counter = 0;\n boolean higherRatedPlayerIncluded = false;\n while (tempPlayers.size() < 9) {\n if (otherPlayers.get(counter).getRating() > 83) {\n if (!higherRatedPlayerIncluded) {\n tempPlayers.add(otherPlayers.get(counter));\n higherRatedPlayerIncluded = true;\n }\n } else {\n tempPlayers.add(otherPlayers.get(counter));\n }\n counter++;\n }\n Collections.sort(tempPlayers);\n packPlayers = new ArrayList<>(tempPlayers);\n }", "@Test\n\tpublic void testGetNSlices() {\n\t\tip = new ImagePlus(\"Groening\", (Image)null);\n\t\tst = new ImageStack(2,3);\n\t\tst.addSlice(\"silly\",new byte[] {1,2,3,4,5,6});\n\t\tip.setStack(\"AyeCarumba\",st);\n\t\tip.setDimensions(1,1,3);\n\t\tassertEquals(1,ip.getNSlices());\n\t\tip.setDimensions(1,3,1);\n\t\tassertEquals(1,ip.getNSlices());\n\t\tip.setDimensions(3,1,1);\n\t\tassertEquals(1,ip.getNSlices());\n\n\t\t// stack matches dimensions\n\t\tip = new ImagePlus(\"Agent007\", (Image)null);\n\t\tst = new ImageStack(2,3);\n\t\tst.addSlice(\"suave\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"debonair\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"sophisticated\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"handsome\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"humorous\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"aloof\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"calm\",new byte[] {1,2,3,4,5,6});\n\t\tst.addSlice(\"composed\",new byte[] {1,2,3,4,5,6});\n\t\tip.setStack(\"MoneyPenny\", st);\n\n\t\t// one dim > 1\n\t\tip.setDimensions(1,1,8);\n\t\tassertEquals(1,ip.getNSlices());\n\t\tip.setDimensions(1,8,1);\n\t\tassertEquals(8,ip.getNSlices());\n\t\tip.setDimensions(8,1,1);\n\t\tassertEquals(1,ip.getNSlices());\n\n\t\t// two dims > 1\n\t\tip.setDimensions(1,2,4);\n\t\tassertEquals(2,ip.getNSlices());\n\t\tip.setDimensions(1,4,2);\n\t\tassertEquals(4,ip.getNSlices());\n\t\tip.setDimensions(2,1,4);\n\t\tassertEquals(1,ip.getNSlices());\n\t\tip.setDimensions(2,4,1);\n\t\tassertEquals(4,ip.getNSlices());\n\t\tip.setDimensions(4,1,2);\n\t\tassertEquals(1,ip.getNSlices());\n\t\tip.setDimensions(4,2,1);\n\t\tassertEquals(2,ip.getNSlices());\n\n\t\t// three dims > 1\n\t\tip.setDimensions(2,2,2);\n\t\tassertEquals(2,ip.getNSlices());\n\t}", "public List<Container> pack(Parcel parcel, Item[] items)\n {\n ArrayList<Container> candidates = new ArrayList<>();\n for (Container container : CONTAINERS)\n {\n PackItem[] packItems = new PackItem[items.length];\n for (int i = 0; i < items.length; i++)\n {\n Item item = items[i];\n Dimension dim = new Dimension(item.getWidth(), item.getHeight(), item.getLength());\n double weight = item.getWeight();\n packItems[i] = new PackItem(dim, weight);\n }\n\n Collection<Packing> packings = pack(container, packItems);\n if (packings == null)\n continue;\n\n if (packings.size() == 1)\n candidates.add(container);\n }\n\n return candidates;\n }", "public Node fit( ArrayList<ImageNode> images ){\r\n\t\t\r\n\t\tint w = images.get(0).w;\r\n\t\tint h = images.get(0).h;\r\n\t\t\r\n\t\troot = new Node( padding, padding, w, h );\r\n\t\t\r\n\t\tfor( ImageNode imageNode: images){\r\n\t\t\tNode availableNode = findNode( root, imageNode.w, imageNode.h );\r\n\t\t\tif( availableNode != null ){\r\n\t\t\t\timageNode.node = splitNode( availableNode, imageNode.w, imageNode.h );\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\timageNode.node = growNode( imageNode.w, imageNode.h );\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\troot.w = root.w + padding * 2;\r\n\t\troot.h = root.h + padding * 2;\r\n\t\t\r\n\t\treturn root;\r\n\t}", "private Component getSplitBoard() {\n\t\t\n\t\t int rows = 4; //You should decide the values for rows and cols variables\n\t int cols = 4;\n\t int chunks = rows * cols;\n\n\t int chunkWidth = image.getWidth() / cols; // determines the chunk width and height\n\t int chunkHeight = image.getHeight() / rows;\n\t int count = 0;\n\t BufferedImage imgs[] = new BufferedImage[chunks]; //Image array to hold image chunks\n\t \n\t for (int x = 0; x < rows; x++) {\n\t for (int y = 0; y < cols; y++) {\n\t //Initialize the image array with image chunks\n\t imgs[count] = new BufferedImage(chunkWidth, chunkHeight, image.getType());\n\n\t // draws the image chunk\n\t Graphics2D gr = imgs[count++].createGraphics();\n\t gr.drawImage(image, 0, 0, chunkWidth, chunkHeight, chunkWidth * y, chunkHeight * x, chunkWidth * y + chunkWidth, chunkHeight * x + chunkHeight, null);\n\t gr.dispose();\n\t }\n\t }\n\t \n\t \n\t JPanel imageBoard = new JPanel(new GridLayout(5, 4));\n\t\t\t//imageBoard.setBorder(BorderFactory.createEmptyBorder(2,2,2,2));\n\t imageBoard.setBorder ( new TitledBorder ( new EtchedBorder (), \"Image Completion puzzle\" ) );\n\t //writing mini images into image files\n\t \n\t //int[] random_index = {3, 15, 0, 2, 5, 1, 4, 8, 6, 9, 7, 11, 14, 12, 13, 10 };\n\t statusLabel.setText(\"Status: preparing random image board...\");\n\t int[] random_index = generateRandomNumbers(imgs.length);\n\t \n\t //labels = new JLabel[imgs.length];\n\t \n\t for (int i = 0; i < imgs.length; i++) {\n\t \t//final ImageIcon icn = new ImageIcon(imgs[ random_index[i] ]);\n\t \tlabels[i] = new JLabel(new ImageIcon(imgs[ random_index[i] ]));\n\t \tlabels[i].setBorder(BorderFactory.createLineBorder(Color.WHITE));\n\t \timageBoard.add(labels[i]);\n\t \tfinal int pos = i;\n\t \tlabels[i].addMouseListener(new MouseAdapter() {\n\t @Override\n\t public void mouseClicked(MouseEvent e) {\n\t \tif(canMove(pos)){\n\t \t\tIcon temp = labels[pos].getIcon();\n\t \t\tlabels[pos].setIcon(labels[blank].getIcon());\n\t \t\tlabels[blank].setIcon(temp);\n\t \t\tblank = pos;\n\t \t\tstatusLabel.setText(\"moved!\");\n\t \t}else{\n\t \t\tstatusLabel.setText(\"Cannot move!\");\n\t \t}\n\t }\n\t });\n\t //ImageIO.write(imgs[i], \"jpg\", new File(\"img\" + i + \".jpg\"));\n\t }\n\t \n\t labels[16] = new JLabel(new ImageIcon(\"blank.png\"));\n\t \n\t labels[16].addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n \tif(canMove(16)){\n \t\tIcon temp = labels[16].getIcon();\n \t\tlabels[16].setIcon(labels[blank].getIcon());\n \t\tlabels[blank].setIcon(temp);\n \t\tblank = 16;\n \t\tstatusLabel.setText(\"moved!\");\n \t}else{\n \t\tstatusLabel.setText(\"Cannot move!\");\n \t}\n }\n });\n\t \n\t imageBoard.add( labels[16] );\n\t \n\t\treturn imageBoard;\n\t}", "public static void main(String[] args){\n\tImage test = new Image(700,700);\n\t//addRectangle(test, 0, 0, 600, 600, -1, -1, -1);\n\t//test.display();\n\taddCircle(test, 300, 300, 100, 255, 255, 255);\n\taddCircle(test, 500, 300, 100, 255, 255, 255);\n\taddCircle(test, 400, 400, 150, 255, 255, 255);\n\taddCircle(test, 350, 350, 25, 0, 0, 0);\n\taddCircle(test, 450, 350, 25, 0, 0, 0);\n\taddCircle(test, 350, 350, 24, 255, 255, 255);\n\taddCircle(test, 450, 350, 24, 255, 255, 255);\n\taddCircle(test, 350, 350, 10, 0, 0, 0);\n\taddCircle(test, 450, 350, 10, 0, 0, 0);\n\taddRectangle(test, 325, 475, 150, 20, 0, 0, 0);\n\ttest.setPixel(0,0,255,255,255);\n\ttest.display();\n\tencrypt(test, \"PerfektDokumentation\");\n\ttest.display();\n\tdecrypt(test, \"PerfektDokumentation\");\n\t\n\ttest.display();\n\t}", "private void organizeTiles(){\n\t\tfor(int i = 1; i <= size * size; i++){\n\t\t\tif(i % size == 0){\n\t\t\t\tadd(tiles[i - 1]);\n\t\t\t\trow();\n\t\t\t}else{\n\t\t\t\tadd(tiles[i - 1]);\n\t\t\t}\n\t\t}\n\t}", "private void importImages() {\n\n\t\t// Create array of the images. Each image pixel map contains\n\t\t// multiple images of the animate at different time steps\n\n\t\t// Eclipse will look for <path/to/project>/bin/<relative path specified>\n\t\tString img_file_base = \"Game_Sprites/\";\n\t\tString ext = \".png\";\n\n\t\t// Load background\n\t\tbackground = createImage(img_file_base + \"Underwater\" + ext);\n\t}", "static int[][] packU(int n, int[] from, int[] to) {\n int[][] g = new int[n][];\n int[] p = new int[n];\n for (int f : from) {\n p[f]++;\n }\n for (int t : to) {\n p[t]++;\n }\n for (int i = 0; i < n; i++) {\n g[i] = new int[p[i]];\n }\n for (int i = 0; i < from.length; i++) {\n g[from[i]][--p[from[i]]] = to[i];\n g[to[i]][--p[to[i]]] = from[i];\n }\n return g;\n }", "private void prepareAlbums() {\n int[] images = new int[]{\n R.drawable.book4,\n R.drawable.banner1,\n R.drawable.book2,\n R.drawable.book1,\n R.drawable.banner2,\n R.drawable.book3,\n R.drawable.banner3,\n R.drawable.book4,\n R.drawable.banner4,\n R.drawable.book2,\n R.drawable.book1,\n };\n\n News a = new News(\"Kejriwal calls Delhi 'gas chamber' as air pollution hits severe levels, visibility down to 200m.\", images[0]);\n newsList.add(a);\n\n a = new News(\"Recovery of US-made rifle shows Pak complicity in Kashmir militancy: Army\", images[1]);\n newsList.add(a);\n\n a = new News(\"The recovery of US-made rifle, meant for Pakistani army\", images[2]);\n newsList.add(a);\n\n a = new News(\"This weapon (the M4 carbine) is with the special forces of Pakistan army. \", images[3]);\n newsList.add(a);\n\n a = new News(\"A police spokesperson said that it was the same group\", images[4]);\n newsList.add(a);\n\n a = new News(\"This weapon (the M4 carbine) is with the special forces of Pakistan army. \", images[5]);\n newsList.add(a);\n\n a = new News(\"A police spokesperson said that it was the same group\", images[6]);\n newsList.add(a);\n\n a = new News(\"he three slain militants killed on Monday night were identified as Waseem Ganaie\", images[7]);\n newsList.add(a);\n\n a = new News(\"he three slain militants killed on Monday night were identified as Waseem Ganaie\", images[8]);\n newsList.add(a);\n\n a = new News(\"A police spokesperson said that it was the same group\", images[9]);\n newsList.add(a);\n\n adapter.notifyDataSetChanged();\n }", "public void init() {\r\n int width = img.getWidth();\r\n int height = img.getHeight();\r\n floor = new Floor(game, width, height);\r\n units = new ArrayList<Unit>();\r\n objects = new ArrayList<GameObject>();\r\n for (int y=0; y<height; y++) {\r\n for (int x=0; x<width; x++) {\r\n int rgb = img.getRGB(x,y);\r\n Color c = new Color(rgb);\r\n Tile t;\r\n if (c.equals(GRASS_COLOR)) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_grass.png\");\r\n } else if (c.equals(STONE_COLOR)) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_stone.png\");\r\n } else {\r\n /* Check all the surrounding tiles. Take a consensus for the underlying tile color. */\r\n int numGrass=0, numStone=0;\r\n for (int j=y-1; j<=y+1; j++) {\r\n for (int i=x-1; i<=x+1; i++) {\r\n if (i>=0 && i<img.getWidth() && j>=0 && j<img.getHeight() && !(i==x && j==y)) {\r\n int rgb2 = img.getRGB(i,j);\r\n Color c2 = new Color(rgb2);\r\n if (c2.equals(GRASS_COLOR)) numGrass++;\r\n else if (c2.equals(STONE_COLOR)) numStone++;\r\n }\r\n }\r\n }\r\n if (numGrass >= numStone) {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_grass.png\");\r\n } else {\r\n t = new Tile(game, new Posn(x,y), \"tile_48x24_stone.png\");\r\n }\r\n }\r\n floor.setTile(x, y, t);\r\n \r\n if (c.equals(TREE_COLOR)) {\r\n //objects.add(new GameObject(x,y))\r\n } else if (c.equals(WALL_COLOR)) {\r\n objects.add(new Wall(game, new Posn(x,y), \"wall_48x78_1.png\"));\r\n } else if (c.equals(WIZARD_COLOR)) {\r\n addWizard(x,y);\r\n } else if (c.equals(ZOMBIE_COLOR)) {\r\n addZombie(x,y);\r\n } else if (c.equals(BANDIT_COLOR)) {\r\n addBandit(x,y);\r\n } else if (c.equals(PLAYER_COLOR)) {\r\n game.getPlayerUnit().setPosn(new Posn(x,y));\r\n units.add(game.getPlayerUnit());\r\n }\r\n }\r\n }\r\n }", "private void buildNonEntityDragHandlers(DRAGGABLE_TYPE draggableType, GridPane sourceGridPane,\n GridPane targetGridPane) {\n // TODO = be more selective about where something can be dropped\n // for example, in the specification, villages can only be dropped on path,\n // whilst vampire castles cannot go on the path\n gridPaneSetOnDragDropped.put(draggableType, new EventHandler<DragEvent>() {\n public void handle(DragEvent event) {\n // TODO = for being more selective about where something can be dropped,\n // consider applying additional if-statement logic\n /*\n * you might want to design the application so dropping at an invalid location\n * drops at the most recent valid location hovered over, or simply allow the\n * card/item to return to its slot (the latter is easier, as you won't have to\n * store the last valid drop location!)\n */\n if (currentlyDraggedType == draggableType) {\n // problem = event is drop completed is false when should be true...\n // https://bugs.openjdk.java.net/browse/JDK-8117019\n // putting drop completed at start not making complete on VLAB...\n\n // Data dropped\n // If there is an image on the dragboard, read it and use it\n Dragboard db = event.getDragboard();\n Node node = event.getPickResult().getIntersectedNode();\n if (node != targetGridPane && db.hasImage()) {\n\n Integer cIndex = GridPane.getColumnIndex(node);\n Integer rIndex = GridPane.getRowIndex(node);\n int x = cIndex == null ? 0 : cIndex;\n int y = rIndex == null ? 0 : rIndex;\n // Places at 0,0 - will need to take coordinates once that is implemented\n ImageView image = new ImageView(db.getImage());\n\n int nodeX = GridPane.getColumnIndex(currentlyDraggedImage);\n int nodeY = GridPane.getRowIndex(currentlyDraggedImage);\n switch (draggableType) {\n case CARD:\n if (canBuildingPlace(nodeX, nodeY, x, y)) {\n removeDraggableDragEventHandlers(draggableType, targetGridPane);\n // TODO = spawn a building here of different types\n Building newBuilding = convertCardToBuildingByCoordinates(nodeX, nodeY, x, y);\n onLoad(newBuilding);\n } else {\n // draggedEntity.relocateToPoint(new Point2D(event.getSceneX(),\n // event.getSceneY()));\n // throw new NullPointerException(\"Can't drop!\");\n return;\n }\n break;\n case ITEM:\n if (unequippedInventory.getChildren().contains(currentlyDraggedImage)) {\n // Equip the item\n Entity item = world.getUnequippedInventoryItemEntityByCoordinates(nodeX, nodeY);\n if (!canEquipItem(item, x, y, targetGridPane)) return;\n removeDraggableDragEventHandlers(draggableType, targetGridPane);\n removeItemByCoordinates(nodeX, nodeY);\n unequippedInventory.getChildren().remove(currentlyDraggedImage);\n addDragEventHandlers(image, DRAGGABLE_TYPE.ITEM, equippedItems,\n unequippedInventory);\n targetGridPane.add(image, x, y, 1, 1);\n equipItemsRecord.put(item, image);\n world.equipItem(item);\n world.addEquippedInventoryItem(item);\n } else {\n // Destroy the item\n equipItemsRecord.remove(world.getEquippedInventoryItemEntityByCoordinates(nodeX, nodeX));\n removeDraggableDragEventHandlers(draggableType, targetGridPane);\n removeEquippedItemByCoordinates(nodeX, nodeX);\n }\n break;\n default:\n break;\n }\n draggedEntity.setVisible(false);\n draggedEntity.setMouseTransparent(false);\n currentlyDraggedImage = null;\n currentlyDraggedType = null;\n\n // remove drag event handlers before setting currently dragged image to null\n printThreadingNotes(\"DRAG DROPPED ON GRIDPANE HANDLED\");\n }\n }\n event.setDropCompleted(true);\n // consuming prevents the propagation of the event to the anchorPaneRoot (as a\n // sub-node of anchorPaneRoot, GridPane is prioritized)\n // https://openjfx.io/javadoc/11/javafx.base/javafx/event/Event.html#consume()\n // to understand this in full detail, ask your tutor or read\n // https://docs.oracle.com/javase/8/javafx/events-tutorial/processing.htm\n event.consume();\n }\n\n });\n\n // this doesn't fire when we drag over GridPane because in the event handler for\n // dragging over GridPanes, we consume the event\n anchorPaneRootSetOnDragOver.put(draggableType, new EventHandler<DragEvent>() {\n // https://github.com/joelgraff/java_fx_node_link_demo/blob/master/Draggable_Node/DraggableNodeDemo/src/application/RootLayout.java#L110\n @Override\n public void handle(DragEvent event) {\n if (currentlyDraggedType == draggableType) {\n if (event.getGestureSource() != anchorPaneRoot && event.getDragboard().hasImage()) {\n event.acceptTransferModes(TransferMode.MOVE);\n }\n }\n if (currentlyDraggedType != null) {\n draggedEntity.relocateToPoint(new Point2D(event.getSceneX(), event.getSceneY()));\n }\n event.consume();\n }\n });\n\n // this doesn't fire when we drop over GridPane because in the event handler for\n // dropping over GridPanes, we consume the event\n anchorPaneRootSetOnDragDropped.put(draggableType, new EventHandler<DragEvent>() {\n public void handle(DragEvent event) {\n if (currentlyDraggedType == draggableType) {\n // Data dropped\n // If there is an image on the dragboard, read it and use it\n Dragboard db = event.getDragboard();\n Node node = event.getPickResult().getIntersectedNode();\n if (node != anchorPaneRoot && db.hasImage()) {\n // Places at 0,0 - will need to take coordinates once that is implemented\n currentlyDraggedImage.setVisible(true);\n draggedEntity.setVisible(false);\n draggedEntity.setMouseTransparent(false);\n // remove drag event handlers before setting currently dragged image to null\n removeDraggableDragEventHandlers(draggableType, targetGridPane);\n\n currentlyDraggedImage = null;\n currentlyDraggedType = null;\n }\n }\n // let the source know whether the image was successfully transferred and used\n event.setDropCompleted(true);\n event.consume();\n }\n });\n }", "private void initialBuild() {\n hiddenButton = new JToolButton(\"If you see me, we're screwed\", false);\n\n buttonGroup = new ButtonGroup();\n buttonGroup.add(hiddenButton);\n\n // create the loading image\n FileLoader fileLookup = new FileLoader(1);\n Toolkit tk = getToolkit();\n\n // lookup the folder image so it will be in the cache already\n try {\n Object[] iconURL = fileLookup.getFileURL(FOLDER_IMAGE); \n \n //now process the raw data into a buffer\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n byte[] buf = new byte[1024];\n for (int readNum; (readNum = ((InputStream)iconURL[1]).read(buf)) != -1;) {\n bos.write(buf, 0, readNum); \n }\n byte[] bytes = bos.toByteArray(); \n InputStream in = new ByteArrayInputStream(bytes);\n folderImage = javax.imageio.ImageIO.read(in); \n\n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n\n\n // lookup the loading image so it will be in the cache\n try {\n \n Object[] iconURL = fileLookup.getFileURL(LOADER_IMAGE);\n loadingImage = new ImageIcon((java.net.URL)iconURL[0]);\n \n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n \n // lookup the not found image so it will be in the cache\n try {\n Object[] iconURL = fileLookup.getFileURL(NOT_FOUND_IMAGE);\n \n //now process the raw data into a buffer\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n byte[] buf = new byte[1024];\n for (int readNum; (readNum = ((InputStream)iconURL[1]).read(buf)) != -1;) {\n bos.write(buf, 0, readNum); \n }\n byte[] bytes = bos.toByteArray(); \n InputStream in = new ByteArrayInputStream(bytes);\n notFoundImage = javax.imageio.ImageIO.read(in); \n \n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n\n addToolGroup(rootToolGroup);\n }", "void alien_shoot_missile(Alien alien) {\n Missile missile = alien.shootMissile();\n ImageView alien_missile_image_view;\n switch(alien.missile_type) {\n case ALIEN1:\n alien_missile_image_view = new ImageView(alien1_missile_image);\n break;\n case ALIEN2:\n alien_missile_image_view = new ImageView(alien2_missile_image);\n break;\n default:\n alien_missile_image_view = new ImageView(alien3_missile_image);\n break;\n }\n alien_missile_image_view.setX(missile.x_position);\n alien_missile_image_view.setY(missile.y_position);\n alien_missile_image_view.setFitWidth(alien.missile_width);\n alien_missile_image_view.setFitHeight(alien.missile_height);\n alien_missile_image_views.add(alien_missile_image_view);\n game_pane.getChildren().add(alien_missile_image_view);\n }", "private static final byte[] pkg_image() {\n\t\tbyte data[] = { 71, 73, 70, 56, 57, 97, 16, 0, 16, 0, -62, 0, 0, -1,\n\t\t\t\t-6, -51, 0, 0, 0, -91, 42, 42, -128, -128, -128, -1, -1, -1,\n\t\t\t\t-1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -2, 14, 77, 97, 100,\n\t\t\t\t101, 32, 119, 105, 116, 104, 32, 71, 73, 77, 80, 0, 33, -7, 4,\n\t\t\t\t1, 10, 0, 0, 0, 44, 0, 0, 0, 0, 16, 0, 16, 0, 0, 3, 64, 8, -86,\n\t\t\t\t-79, -48, 110, -123, 32, 32, -99, 110, -118, 93, 41, -57, -34,\n\t\t\t\t54, 13, 83, 88, 61, -35, -96, 6, -21, 37, -87, 48, 27, 75, -23,\n\t\t\t\t-38, -98, -26, 88, 114, 120, -18, 75, -102, 96, 7, -62, 16, 85,\n\t\t\t\t-116, 39, -38, -121, -105, 44, 46, 121, 68, -122, 39, -124,\n\t\t\t\t-119, 72, 47, 81, -85, 84, -101, 0, 0, 59 };\n\t\treturn data;\n\t}", "public Image getNine();", "Pack(Bouquet bouquet)\n {\n this.bouquet = bouquet;\n }", "private ImageView[] createTiledWord(String tilesToCreate) {\n int count;\n int length = tilesToCreate.length();\n ImageView[] imagesViewList = new ImageView[length];\n for (count = 0; count < length; count++) {\n ImageView iv = new ImageView(this);\n iv.setImageResource(tileMap.getTile(tilesToCreate.charAt(count)));\n iv.setContentDescription(String.valueOf(tilesToCreate.charAt(count)));\n iv.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View sender) {\n ImageView tile = (ImageView) sender;\n if (tile.getParent() == MainActivity.this.imageLayout) {\n MainActivity.this.imageLayout.removeView(tile);\n MainActivity.this.answerLayout.addView(tile);\n MainActivity.this.checkAnswer();\n\n } else {\n MainActivity.this.answerLayout.removeView(tile);\n MainActivity.this.imageLayout.addView(tile);\n MainActivity.this.convertAnswerString();\n }\n }\n });\n imagesViewList[count] = iv;\n }\n return imagesViewList;\n }", "public static void reassembleImages(Path resultOoxmlFilePath, int resultChunkNumber, Path chunkOoxmlFilePath, int chunkNumber, int totalNumberOfChunks, int[] alreadyIncorporatedChunkIds) {\r\n\r\n HashMap<String, BufferedImage> chunkImageMap = new HashMap<String, BufferedImage>();\r\n\r\n // mount the chunk zip file system\r\n try (FileSystem chunkFs = FileSystems.newFileSystem(chunkOoxmlFilePath, null)) {\r\n List<Path> chunkFilePaths = listChunkableFiles(chunkFs);\r\n for (Path chunkFilePath : chunkFilePaths) {\r\n try (InputStream readInputStream = Files.newInputStream(chunkFilePath, StandardOpenOption.READ)) {\r\n BufferedImage chunkImage = ImageIO.read(readInputStream);\r\n chunkImageMap.put(chunkFilePath.toString(), chunkImage);\r\n }\r\n }\r\n } catch (Exception e) {\r\n LOGGER.log(Level.WARNING, \"error mounting zip filesystem \" + chunkOoxmlFilePath, e);\r\n }\r\n // mount the result zip file system\r\n try (FileSystem resultFs = FileSystems.newFileSystem(resultOoxmlFilePath, null)) {\r\n List<Path> resultFilePaths = listChunkableFiles(resultFs);\r\n\r\n for (int i = 0; i < resultFilePaths.size(); i++) {\r\n Path resultPath = resultFilePaths.get(i);\r\n\r\n /*\r\n\t\t\t\t TRYING TO PRESERVE THE IMAGE METADATA, BUT CODE IS NOT READY YET\r\n\t\t\t\t \r\n\t\t\t\ttry (InputStream resultImageInputStream = Files.newInputStream(resultPath, StandardOpenOption.READ)) {\r\n\t\t\t\t\tImageInputStream input = ImageIO.createImageInputStream(resultImageInputStream);\r\n\r\n\t\t Iterator<ImageReader> readers = ImageIO.getImageReaders(input);\r\n\t\t if (!readers.hasNext()) {\r\n\t\t \tthrow new IOException(\"no image reader for file \" + resultPath);\r\n\t\t }\r\n\t\t // Read image and metadata\r\n\t\t ImageReader reader = readers.next();\r\n\t\t reader.setInput(input);\r\n\t\t IIOMetadata metadata = reader.getImageMetadata(0);\r\n\t\t BufferedImage firstChunkImage = reader.read(0);\r\n\t\t \r\n\t\t\t\t\tBMPReassembler reassembler = new BMPReassembler(totalNumberOfChunks);\r\n\t\t\t\t\tif (alreadyIncorporatedChunkIds != null && alreadyIncorporatedChunkIds.length > 0) {\r\n\t\t\t\t\treassembler.setPartialResultImage(firstChunkImage, alreadyIncorporatedChunkIds);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treassembler.incorporateChunk(firstChunkImage, resultChunkNumber);\t\t\t\t\t\t\r\n\t\t\t\t\t}\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tBufferedImage nextChunkImage = chunkImageMap.get(resultPath.toString());\t\t\t\t\t\r\n\t\t\t\t\treassembler.incorporateChunk(nextChunkImage, chunkNumber);\r\n\t\t\t\t\tif (alreadyIncorporatedChunkIds != null && alreadyIncorporatedChunkIds.length + 1 < totalNumberOfChunks) {\r\n\t\t\t\t\t\t//reassembler.interpolate();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// overwrite the original result image with the reassembled image\r\n\t\t // Write image with metadata from original image, to maintain tRNS info\r\n\t\t\t\t\ttry (OutputStream writeOutputStream = Files.newOutputStream(resultPath, StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING) ) {\r\n\t\t\t\t\t\tImageWriter writer = ImageIO.getImageWritersBySuffix(getFileExtension(resultPath)).next();\r\n\t\t\t\t\t\tImageOutputStream output = ImageIO.createImageOutputStream(writeOutputStream);\r\n\t\t writer.setOutput(output);\r\n\t\t writer.write(new IIOImage(reassembler.getReassembledImage(), Collections.<BufferedImage>emptyList(), metadata));\r\n\t\t }\r\n\t\t \r\n\t\t }\r\n */\r\n // read the result image\r\n try (InputStream resultImageInputStream = Files.newInputStream(resultPath, StandardOpenOption.READ)) {\r\n\r\n BMPReassembler reassembler = new BMPReassembler(totalNumberOfChunks);\r\n BufferedImage firstChunkImage = ImageIO.read(resultImageInputStream);\r\n if (alreadyIncorporatedChunkIds != null && alreadyIncorporatedChunkIds.length > 0) {\r\n reassembler.setPartialResultImage(firstChunkImage, alreadyIncorporatedChunkIds);\r\n } else {\r\n reassembler.incorporateChunk(firstChunkImage, resultChunkNumber);\r\n }\r\n\r\n BufferedImage nextChunkImage = chunkImageMap.get(resultPath.toString());\r\n reassembler.incorporateChunk(nextChunkImage, chunkNumber);\r\n //if (alreadyIncorporatedChunkIds != null && alreadyIncorporatedChunkIds.length + 1 < totalNumberOfChunks) {\r\n reassembler.interpolate();\r\n //}\r\n // overwrite the original result image with the reassembled image\r\n try (OutputStream writeOutputStream = Files.newOutputStream(resultPath, StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING)) {\r\n ImageIO.write(reassembler.getReassembledImage(), FileUtils.getFileExtension(resultPath.toString()), writeOutputStream);\r\n }\r\n }\r\n }\r\n } catch (Exception e) {\r\n LOGGER.log(Level.WARNING, \"error mounting zip filesystem \" + resultOoxmlFilePath, e);\r\n }\r\n\r\n }", "@Test\n public void package3PicTest() {\n // TODO: test package3Pic\n }", "public static void loadImages(){\n\t\tsetPath(main.getShop().inventory.getEquipID());\n\t\ttry {\n\t\t\tbackground = ImageIO.read(new File(\"res/world/bg.png\"));\n\t\t\tterrain = ImageIO.read(new File(\"res/world/solids.png\"));\n\t\t\t// Character and Armour\n\t\t\tcharacters = ImageIO.read(new File(\"res/world/char3.png\"));\n\t\t\tcharactersHead =ImageIO.read(new File(\"res/world/charhead\"+path[0]+\".png\"));\n\t\t\tcharactersTop = ImageIO.read(new File(\"res/world/chartop\"+path[2]+\".png\"));\n\t\t\tcharactersShoulder = ImageIO.read(new File(\"res/world/charshoulders\"+path[3]+\".png\"));\n\t\t\tcharactersHand = ImageIO.read(new File(\"res/world/charhands\"+path[5]+\".png\"));\n\t\t\tcharactersBottom = ImageIO.read(new File(\"res/world/charbottom\"+path[8]+\".png\"));\n\t\t\tcharactersShoes = ImageIO.read(new File(\"res/world/charshoes\"+path[9]+\".png\"));\n\t\t\tcharactersBelt = ImageIO.read(new File(\"res/world/charBelt\"+path[4]+\".png\"));\n\n\t\t\tweaponBow = ImageIO.read(new File(\"res/world/bow.png\"));\n\t\t\tweaponArrow = ImageIO.read(new File(\"res/world/arrow.png\"));\n\t\t\tweaponSword = ImageIO.read(new File(\"res/world/sword.png\"));\n\t\t\titems = ImageIO.read(new File(\"res/world/items.png\"));\n\t\t\tnpc = ImageIO.read(new File(\"res/world/npc.png\"));\n\t\t\thealth = ImageIO.read(new File(\"res/world/health.png\"));\n\t\t\tenemies = ImageIO.read(new File(\"res/world/enemies.png\"));\n\t\t\tcoin = ImageIO.read(new File(\"res/world/coin.png\"));\n\t\t\tmana = ImageIO.read(new File(\"res/world/mana.gif\"));\n\t\t\tarrowP = ImageIO.read(new File(\"res/world/arrowP.png\"));\n\t\t\tbutton = ImageIO.read(new File(\"res/world/button.png\"));\n\t\t\tblood = ImageIO.read(new File(\"res/world/blood.png\"));\n\t\t\tarrowDisp = ImageIO.read(new File(\"res/world/arrowDisp.png\"));\n\t\t\tboss1 = ImageIO.read(new File(\"res/world/boss1.png\"));\n\t\t\tmagic = ImageIO.read(new File(\"res/world/magic.png\"));\n\t\t\tmainMenu = ImageIO.read(new File(\"res/world/MainMenu.png\"));\n\t\t\tinstructions = ImageIO.read(new File(\"res/world/instructions.png\"));\n\t\t\trespawn = ImageIO.read(new File(\"res/world/respawn.png\"));\n\t\t\tinventory = ImageIO.read(new File(\"res/world/inventory.png\"));\n shop = ImageIO.read(new File(\"res/world/shop.png\"));\n dizzy = ImageIO.read(new File(\"res/world/dizzy.png\"));\n pet = ImageIO.read(new File(\"res/world/pet.png\"));\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error Loading Images\");\n\t\t}\n\t}", "public void initTiles()\n {\n PropertiesManager props = PropertiesManager.getPropertiesManager(); \n String imgPath = props.getProperty(MahjongSolitairePropertyType.IMG_PATH);\n int spriteTypeID = 0;\n SpriteType sT;\n \n // WE'LL RENDER ALL THE TILES ON TOP OF THE BLANK TILE\n String blankTileFileName = props.getProperty(MahjongSolitairePropertyType.BLANK_TILE_IMAGE_NAME);\n BufferedImage blankTileImage = miniGame.loadImageWithColorKey(imgPath + blankTileFileName, COLOR_KEY);\n ((MahjongSolitairePanel)(miniGame.getCanvas())).setBlankTileImage(blankTileImage);\n \n // THIS IS A HIGHLIGHTED BLANK TILE FOR WHEN THE PLAYER SELECTS ONE\n String blankTileSelectedFileName = props.getProperty(MahjongSolitairePropertyType.BLANK_TILE_SELECTED_IMAGE_NAME);\n BufferedImage blankTileSelectedImage = miniGame.loadImageWithColorKey(imgPath + blankTileSelectedFileName, COLOR_KEY);\n ((MahjongSolitairePanel)(miniGame.getCanvas())).setBlankTileSelectedImage(blankTileSelectedImage);\n \n // FIRST THE TYPE A TILES, OF WHICH THERE IS ONLY ONE OF EACH\n // THIS IS ANALOGOUS TO THE SEASON TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeATiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_A_TILES);\n for (int i = 0; i < typeATiles.size(); i++)\n {\n String imgFile = imgPath + typeATiles.get(i); \n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID);\n initTile(sT, TILE_A_TYPE);\n spriteTypeID++;\n }\n \n // THEN THE TYPE B TILES, WHICH ALSO ONLY HAVE ONE OF EACH\n // THIS IS ANALOGOUS TO THE FLOWER TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeBTiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_B_TILES);\n for (int i = 0; i < typeBTiles.size(); i++)\n {\n String imgFile = imgPath + typeBTiles.get(i); \n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID);\n initTile(sT, TILE_B_TYPE);\n spriteTypeID++;\n }\n \n // AND THEN TYPE C, FOR WHICH THERE ARE 4 OF EACH \n // THIS IS ANALOGOUS TO THE CHARACTER AND NUMBER TILES IN FLAVORLESS MAHJONG\n ArrayList<String> typeCTiles = props.getPropertyOptionsList(MahjongSolitairePropertyType.TYPE_C_TILES);\n for (int i = 0; i < typeCTiles.size(); i++)\n {\n String imgFile = imgPath + typeCTiles.get(i);\n sT = initTileSpriteType(imgFile, TILE_SPRITE_TYPE_PREFIX + spriteTypeID); \n for (int j = 0; j < 4; j++)\n {\n initTile(sT, TILE_C_TYPE);\n }\n spriteTypeID++;\n }\n }", "void addImage() throws Exception {\n builderContext.reportStatus(\"%n%nExporting package %s%n\", getPackageName(packageInfo));\n\n IOUtils.deleteRecursive(imageDir);\n imageDir.mkdirs();\n\n for (File f : new File[]{messagesDir, promptsDir}) {\n if (!f.exists() && !f.mkdirs()) {\n throw (new TBBuilder.TBBuilderException(String.format(\"Unable to create directory: %s%n\", f)));\n }\n }\n if (builderContext.deDuplicateAudio) {\n for (File f : new File[]{shadowMessagesDir, shadowPromptsDir}) {\n if (!f.exists() && !f.mkdirs()) {\n throw (new TBBuilder.TBBuilderException(String.format(\"Unable to create directory: %s%n\", f)));\n }\n }\n }\n\n // Create the empty directory structure\n PackageData packageData = packagesData.addPackage(getPackageName(packageInfo))\n .withPromptPath(makePath(promptsDir));\n addPackageContentToImage(packageData);\n\n addSystemPromptsToImage();\n addSystemDirFilesToImage();\n if (packageInfo.hasTutorial()) {\n addTutorialToImage(packageData);\n }\n if (packageInfo.isUfPublic()) {\n addUfToImage(packageData);\n }\n\n allPackagesData.addPackagesData(packagesData);\n File of = new File(contentDir, PackagesData.PACKAGES_DATA_TXT);\n try (FileOutputStream fos = new FileOutputStream(of)) {\n packagesData.exportPackageDataFile(fos, getPackageName(packageInfo));\n }\n\n builderContext.reportStatus(\n String.format(\"Done with adding image for %s and %s.%n\",\n getPackageName(packageInfo),\n packageInfo.getLanguageCode()));\n }", "private int pack(int size, int sum) {\n return size | (sum << 16);\n }", "@Override\n\tpublic String pack() {\n\t\treturn \"Bpxx packingg somjkjhha\";\n\t}", "boolean testPlaceAllBullets(Tester t) {\n return t.checkExpect(this.lob3.placeAll(this.em),\n em.placeImageXY(bullet1.draw(), 250, 300).placeImageXY(bullet8.draw(), 50, 50)\n .placeImageXY(bullet9.draw(), 50, 50))\n && t.checkExpect(this.mt.placeAll(this.em), this.em);\n }", "public ImageHandler(Group nGroup){\n\t /* Set up the group reference */\n\t\tgroup = nGroup;\n\t\t\n\t\t/* Instantiate the list of images */\n\t\timages = new ArrayList<ImageView>();\n\t}", "public void getImages(ObservableList<Artwork> observeArrayList) {\n\n Stage stage = new Stage();\n\n ArrayList<String> artworkPhoto = new ArrayList<>();\n ArrayList<String> artworkTitle = new ArrayList<>();\n\n\n Image[] images = new Image[observeArrayList.size()]; //images to add into grid pane.\n ImageView[] imageViews = new ImageView[observeArrayList.size()]; //imageViews to add into grid pane.\n VBox[] vBoxes = new VBox[observeArrayList.size()]; //vboxs to add in grid pane.\n Label[] labels = new Label[observeArrayList.size()];\n\n\n artworkScrollPane.setPadding(new Insets(10, 0, 0, 0));\n artworkTilePane.setPadding(new Insets(10, 0, 0, 0));\n artworkTilePane.setStyle(\"-fx-background-color: #DCDCDC\");\n artworkScrollPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); //scroller can't move horizontally.\n artworkScrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.AS_NEEDED); //scroller can move vertically.\n artworkScrollPane.setFitToHeight(true);\n artworkScrollPane.setContent(artworkTilePane);\n artworkTilePane.setHgap(GAP);\n artworkTilePane.setVgap(GAP);\n\n //Get location of artwork photos.\n for (Artwork artwork : observeArrayList) {\n artworkPhoto.add(artwork.getPhoto());\n artworkTitle.add(artwork.getTitle());\n }\n\n String[] imageLocation = artworkPhoto.toArray(new String[observeArrayList.size()]); //convert array list to array.\n String[] labelOfTitles = artworkTitle.toArray(new String[observeArrayList.size()]);\n\n for (int i = 0; i < imageLocation.length; i++) {\n\n final int currentI = i;\n images[i] = new Image(imageLocation[i], IMAGE_WIDTH, 0, true, true); //get image.\n imageViews[i] = new ImageView(images[i]); //add image to image view.\n imageViews[i].setFitWidth(IMAGE_WIDTH); //formatting:\n imageViews[i].setFitHeight(stage.getHeight() - 10);\n imageViews[i].setPreserveRatio(true);\n imageViews[i].setSmooth(true);\n imageViews[i].setCache(true);\n labels[i] = new Label(labelOfTitles[i]);\n labels[i].setFont(Font.font(\"Verdana\", FontPosture.ITALIC, 12));\n\n\n //Add event handler.\n //Opens show auction when clicking on an auction for sale.\n imageViews[i].setOnMouseClicked(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n\n FXMLLoader fxmlLoader = new FXMLLoader(getClass().getClassLoader().getResource(\"co/uk/artatawe/gui/ShowAuction.fxml\"));\n\n //creates new controller\n ShowAuctionController showAuctionController = new ShowAuctionController();\n\n showAuctionController.setUsername(getUsername());\n\n showAuctionController.setPhoto(imageLocation[currentI]); //photo location.\n //set controller manually\n fxmlLoader.setController(showAuctionController);\n\n try {\n centerPane.setCenter(fxmlLoader.load()); //set the center of the pane to show auction scene\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n });\n\n vBoxes[i] = new VBox();\n vBoxes[i].getChildren().addAll(labels[i]);\n vBoxes[i].getChildren().addAll(imageViews[i]); //add vbox inside gridpane.\n artworkTilePane.getChildren().add(vBoxes[i]); //add image to gridpane.\n artworkTilePane.setAlignment(Pos.CENTER);\n }\n }", "public void loadTOTWPlayersPack(Context context) {\n PlayerDAO playerDAO = new PlayerDAO(context);\n ArrayList<PackOpenerPlayer> totwPlayers = playerDAO.getTOTWPlayers();\n ArrayList<PackOpenerPlayer> otherPlayers = playerDAO.getNonTOTWPlayers();\n\n Collections.shuffle(totwPlayers);\n Collections.shuffle(otherPlayers);\n ArrayList<PackOpenerPlayer> tempPlayers = new ArrayList<>();\n //adding one totw player\n tempPlayers.add(totwPlayers.get(0));\n\n //adding other remaining players\n int counter = 0;\n boolean higherRatedPlayerIncluded = false;\n while (tempPlayers.size() < 9) {\n if (otherPlayers.get(counter).getRating() > 82) {\n if (!higherRatedPlayerIncluded) {\n tempPlayers.add(otherPlayers.get(counter));\n higherRatedPlayerIncluded = true;\n }\n } else {\n tempPlayers.add(otherPlayers.get(counter));\n }\n counter++;\n }\n Collections.sort(tempPlayers);\n packPlayers = new ArrayList<>(tempPlayers);\n }", "public void putObjectsIntoPackage(Package pkg, List<BusinessObject> objects);", "private void initPiles() {\n stockPile = new Pile(Pile.PileType.STOCK, \"Stock\", STOCK_GAP);\n stockPile.setBlurredBackground();\n stockPile.setLayoutX(STOCK_X_POS);\n stockPile.setLayoutY(STOCK_DISC_Y_POS);\n stockPile.setOnMouseClicked(stockReverseCardsHandler);\n getChildren().add(stockPile);\n // getChildren().add(undo);\n\n discardPile = new Pile(Pile.PileType.DISCARD, \"Discard\", DISCARD_GAP);\n discardPile.setBlurredBackground();\n discardPile.setLayoutX(DISCARD_X_POS);\n discardPile.setLayoutY(STOCK_DISC_Y_POS);\n getChildren().add(discardPile);\n\n for (int i = 0; i < 4; i++) {\n Pile foundationPile = new Pile(Pile.PileType.FOUNDATION, \"Foundation \" + i, FOUNDATION_GAP);\n foundationPile.setBlurredBackground();\n foundationPile.setLayoutX(610 + i * 180);\n foundationPile.setLayoutY(20);\n foundationPiles.add(foundationPile);\n getChildren().add(foundationPile);\n }\n for (int i = 0; i < 7; i++) {\n Pile tableauPile = new Pile(Pile.PileType.TABLEAU, \"Tableau \" + i, TABLEAU_GAP);\n tableauPile.setBlurredBackground();\n tableauPile.setLayoutX(95 + i * 180);\n tableauPile.setLayoutY(275);\n tableauPiles.add(tableauPile);\n getChildren().add(tableauPile);\n }\n }", "void mergePiece(Piece piece);", "public void loadImages() {\n\t\tcowLeft1 = new ImageIcon(\"images/animal/cow1left.png\");\n\t\tcowLeft2 = new ImageIcon(\"images/animal/cow2left.png\");\n\t\tcowLeft3 = new ImageIcon(\"images/animal/cow1left.png\");\n\t\tcowRight1 = new ImageIcon(\"images/animal/cow1right.png\");\n\t\tcowRight2 = new ImageIcon(\"images/animal/cow2right.png\");\n\t\tcowRight3 = new ImageIcon(\"images/animal/cow1right.png\");\n\t}", "void pack() {\n/* 179 */ Component component = getComponent();\n/* */ \n/* 181 */ if (component instanceof Window) {\n/* 182 */ ((Window)component).pack();\n/* */ }\n/* */ }", "@Override\n\t\tprotected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) {\n\t\t\treturn ImageUtils.MakeHeadBmp(toTransform, ShareData.PxToDpi_xhdpi(166), 4, 0xffffffff);\n\t\t}", "public void Boom()\r\n {\r\n image1 = new GreenfootImage(\"Explosion1.png\");\r\n image2 = new GreenfootImage(\"Explosion2.png\");\r\n image3 = new GreenfootImage(\"Explosion3.png\");\r\n image4 = new GreenfootImage(\"Explosion4.png\");\r\n image5 = new GreenfootImage(\"Explosion5.png\");\r\n image6 = new GreenfootImage(\"Explosion6.png\");\r\n setImage(image1);\r\n\r\n }", "public static void loadUnitDisplay()\n\t{\n\t\tunits = new TreeSet<UnitEntry>();\n\t\tfor (UnitEntry unit : UnitEntry.values())\n\t\t\tunits.add(unit);\n\t\tbuttons = new HashMap<RectangleButton, UnitEntry>();\n\n\t\tPoint center = new Point(640, 265);\n\n\t\t// Calculate the placements of the unit portraits\n\t\tunitsPerRow = 5;\n\t\tint spaceBetweenRows = 20;\n\t\tint spaceBetweenColumns = 20;\n\t\tint columns = Math.min(unitsPerRow, units.size());\n\t\tint rows = (int) Math.ceil(1.0 * units.size() / unitsPerRow);\n\t\tint width = columns * (thumbnailSize.width + spaceBetweenColumns)\n\t\t\t\t- spaceBetweenColumns;\n\t\tint height = rows * (thumbnailSize.height + spaceBetweenRows)\n\t\t\t\t- spaceBetweenRows;\n\n\t\t// Create all the buttons on the screen\n\t\tPoint buttonLoc = new Point(center.x - width / 2, center.y - height / 2);\n\t\tfor (UnitEntry unit : units)\n\t\t{\n\t\t\tRectangleButton button = new RectangleButton(new Point(buttonLoc),\n\t\t\t\t\tthumbnailSize, unit.getPortrait());\n\t\t\tbutton.setBorderWidth(3);\n\n\t\t\tbuttons.put(button, unit);\n\t\t\tif (buttons.size() % unitsPerRow == 0)\n\t\t\t{\n\t\t\t\tbuttonLoc.translate(-width + thumbnailSize.width,\n\t\t\t\t\t\tthumbnailSize.height + spaceBetweenRows);\n\t\t\t} else\n\t\t\t\tbuttonLoc.translate(thumbnailSize.width + spaceBetweenColumns,\n\t\t\t\t\t\t0);\n\t\t}\n\n\t}", "private void fillImageMap() {\n Image shipImage;\n try {\n shipImage = ImageIO.read(getClass().getResource(\"img/patrol_boat.png\"));\n imageMap.put(ShipType.PATROL_BOAT, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/patrol_boat_sunken.png\"));\n imageMap.put(ShipType.PATROL_BOAT_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/cruiser_horizontal.gif\"));\n imageMap.put(ShipType.CRUISER_HORIZONTAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/cruiser_horizontal_sunken.gif\"));\n imageMap.put(ShipType.CRUISER_HORIZONTAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/cruiser_vertical.gif\"));\n imageMap.put(ShipType.CRUISER_VERTICAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/cruiser_vertical_sunken.gif\"));\n imageMap.put(ShipType.CRUISER_VERTICAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/submarine_horizontal.gif\"));\n imageMap.put(ShipType.SUBMARINE_HORIZONTAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/submarine_horizontal_sunken.gif\"));\n imageMap.put(ShipType.SUBMARINE_HORIZONTAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/submarine_vertical.gif\"));\n imageMap.put(ShipType.SUBMARINE_VERTICAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/submarine_vertical_sunken.gif\"));\n imageMap.put(ShipType.SUBMARINE_VERTICAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/battleship_horizontal.gif\"));\n imageMap.put(ShipType.BATTLESHIP_HORIZONTAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/battleship_horizontal_sunken.gif\"));\n imageMap.put(ShipType.BATTLESHIP_HORIZONTAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/battleship_vertical.gif\"));\n imageMap.put(ShipType.BATTLESHIP_VERTICAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/battleship_vertical_sunken.gif\"));\n imageMap.put(ShipType.BATTLESHIP_VERTICAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/aircraft_carrier_horizontal.gif\"));\n imageMap.put(ShipType.AIRCRAFT_CARRIER_HORIZONTAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/aircraft_carrier_horizontal_sunken.gif\"));\n imageMap.put(ShipType.AIRCRAFT_CARRIER_HORIZONTAL_SUNKEN, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/aircraft_carrier_vertical.gif\"));\n imageMap.put(ShipType.AIRCRAFT_CARRIER_VERTICAL, shipImage);\n shipImage = ImageIO.read(getClass().getResource(\"img/aircraft_carrier_vertical_sunken.gif\"));\n imageMap.put(ShipType.AIRCRAFT_CARRIER_VERTICAL_SUNKEN, shipImage);\n } catch(IOException e) {\n e.printStackTrace();\n }\n }", "private void createMainMenuMiddleComposite() {\n\t\tString imgSlipUI = null;\n\t\tString imgJackpotBtn = null;\n\t\tString imgVoucherBtn = null;\n\t\tif(Util.isSmallerResolution()) {\n\t\t\timgSlipUI = ImageConstants.S_SLIPS_UI_BUTTON_IMG;\n\t\t\timgJackpotBtn = ImageConstants.S_JACKPOT_UI_BUTTON_IMG;\n\t\t\timgVoucherBtn = ImageConstants.S_VOUCHER_UI_BUTTON_IMG;\n\t\t}\n\t\telse {\n\t\t\timgSlipUI = ImageConstants.SLIPS_UI_BUTTON_IMG;\n\t\t\timgJackpotBtn = ImageConstants.JACKPOT_UI_BUTTON_IMG;\n\t\t\timgVoucherBtn = ImageConstants.VOUCHER_UI_BUTTON_IMG;\n\t\t}\n\t\t\n\t\tGridData gridData11 = new GridData();\n\t\tgridData11.horizontalAlignment = GridData.CENTER;\n\t\tgridData11.grabExcessHorizontalSpace = true;\n\t\tgridData11.grabExcessVerticalSpace = true;\n\t\tgridData11.verticalAlignment = GridData.BEGINNING;\n\t\tGridData gridData10 = new GridData();\n\t\tgridData10.horizontalAlignment = GridData.CENTER;\n\t\tgridData10.grabExcessHorizontalSpace = true;\n\t\tgridData10.grabExcessVerticalSpace = true;\n\t\tgridData10.verticalAlignment = GridData.BEGINNING;\n\t\tGridData gridData9 = new GridData();\n\t\tgridData9.horizontalAlignment = GridData.CENTER;\n\t\tgridData9.verticalAlignment = GridData.BEGINNING;\n\t\tGridData gridData6 = new GridData();\n\t\tgridData6.heightHint = 100;\n\t\t// gridData6.heightHint = 70;\n\t\tgridData6.widthHint = 100;\n\t\t// gridData6.widthHint = 90;\n\t\tgridData6.grabExcessHorizontalSpace = true;\n\t\tgridData6.grabExcessVerticalSpace = true;\n\t\tgridData6.horizontalAlignment = GridData.CENTER;\n\t\tgridData6.verticalAlignment = GridData.END;\n\n\t\tGridLayout gridLayout3 = new GridLayout();\n\t\tgridLayout3.horizontalSpacing = 20;\n\t\tgridLayout3.numColumns = 3;\n\t\tGridData gridData5 = new GridData();\n\t\tgridData5.grabExcessHorizontalSpace = true;\n\t\tgridData5.verticalAlignment = GridData.FILL;\n\t\tgridData5.heightHint = 100;\n\t\tgridData5.grabExcessVerticalSpace = true;\n\t\tgridData5.horizontalAlignment = GridData.FILL;\n\t\tmainMenuMiddleComposite = new Composite(this, SWT.NONE);\n\t\tmainMenuMiddleComposite.setBackground(new Color(Display.getCurrent(),\n\t\t\t\t171, 209, 255));\n\t\tmainMenuMiddleComposite.setLayout(gridLayout3);\n\t\tmainMenuMiddleComposite.setLayoutData(gridData5);\n\n\t\tGridData gridData3 = new GridData();\n\t\tgridData3.grabExcessVerticalSpace = true;\n\t\tgridData3.horizontalAlignment = GridData.CENTER;\n\t\tgridData3.verticalAlignment = GridData.END;\n\t\tgridData3.heightHint = 100;\n\t\tgridData3.widthHint = 100;\n\t\tgridData3.grabExcessHorizontalSpace = true;\n\n\t\tGridData gridData1 = new GridData();\n\t\tgridData1.grabExcessVerticalSpace = true;\n\t\tgridData1.horizontalAlignment = GridData.CENTER;\n\t\tgridData1.verticalAlignment = GridData.END;\n\t\tgridData1.heightHint = 100;\n\t\tgridData1.widthHint = 100;\n\t\tgridData1.grabExcessHorizontalSpace = true;\n\n\t\tbtnSlipUI = new CbctlButton(mainMenuMiddleComposite, SWT.FLAT, \"\",\n\t\t\t\tLabelKeyConstants.SLIPS_UI_BUTTON);\n\t\tbtnSlipUI\n\t\t\t\t.setFont(new Font(Display.getDefault(), \"Arial\", 12, SWT.BOLD));\n\t\t\n\t\tbtnSlipUI.setImage(new Image(Display.getCurrent(), getClass()\n\t\t\t\t.getResourceAsStream(imgSlipUI)));\n\t\tbtnSlipUI.setLayoutData(gridData1);\n\n\t\tbtnJackpotUI = new CbctlButton(mainMenuMiddleComposite, SWT.NONE, \"\",\n\t\t\t\tLabelKeyConstants.JACKPOT_UI_BUTTON);\n\t\tbtnJackpotUI.setFont(new Font(Display.getDefault(), \"Arial\", 12,\n\t\t\t\tSWT.BOLD));\n\t\tbtnJackpotUI.setImage(new Image(Display.getCurrent(), getClass()\n\t\t\t\t.getResourceAsStream(imgJackpotBtn)));\n\t\tbtnJackpotUI.setLayoutData(gridData3);\n\n\t\tbtnVoucherUI = new CbctlButton(mainMenuMiddleComposite, SWT.NONE, \"\",\n\t\t\t\tLabelLoader.getLabelValue(LabelKeyConstants.VOUCHER_UI_BUTTON));\n\t\tbtnVoucherUI.setImage(new Image(Display.getCurrent(), getClass()\n\t\t\t\t.getResourceAsStream(imgVoucherBtn)));\n\t\tbtnVoucherUI.setLayoutData(gridData6);\n\n\t\tlblSlipUI = new CbctlLabel(mainMenuMiddleComposite, SWT.NONE);\n\t\tlblSlipUI.setText(LabelLoader\n\t\t\t\t.getLabelValue(LabelKeyConstants.SLIPS_UI_BUTTON));\n\t\tlblSlipUI.setBackground(new Color(Display.getCurrent(), 171, 209, 255));\n\t\tlblSlipUI\n\t\t\t\t.setFont(new Font(Display.getDefault(), \"Arial\", 12, SWT.BOLD));\n\t\tlblSlipUI.setLayoutData(gridData9);\n\n\t\tlblJackpotUI = new CbctlLabel(mainMenuMiddleComposite, SWT.NONE);\n\t\tlblJackpotUI.setText(LabelLoader\n\t\t\t\t.getLabelValue(LabelKeyConstants.JACKPOT_UI_BUTTON));\n\t\tlblJackpotUI.setBackground(new Color(Display.getCurrent(), 171, 209,\n\t\t\t\t255));\n\t\tlblJackpotUI.setFont(new Font(Display.getDefault(), \"Arial\", 12,\n\t\t\t\tSWT.BOLD));\n\t\tlblJackpotUI.setLayoutData(gridData10);\n\n\t\tlblVoucherUI = new CbctlLabel(mainMenuMiddleComposite, SWT.NONE);\n\t\tlblVoucherUI.setText(LabelLoader\n\t\t\t\t.getLabelValue(LabelKeyConstants.VOUCHER_UI_BUTTON));\n\t\tlblVoucherUI.setBackground(new Color(Display.getCurrent(), 171, 209,\n\t\t\t\t255));\n\t\tlblVoucherUI.setFont(new Font(Display.getDefault(), \"Arial\", 12,\n\t\t\t\tSWT.BOLD));\n\t\tlblVoucherUI.setLayoutData(gridData11);\n\n\t}", "private void createUIComponents() {\n Fond = new JLabel(new ImageIcon(\"maxresdefault.jpg\"));\r\n Fond.setIcon(new ImageIcon(\"maxresdefault.jpg\"));\r\n }" ]
[ "0.561596", "0.561596", "0.561596", "0.561596", "0.561596", "0.561596", "0.49332708", "0.48974562", "0.48960513", "0.48489982", "0.4844866", "0.48164603", "0.4806229", "0.47873554", "0.4780599", "0.4756697", "0.4714146", "0.46791023", "0.46678472", "0.46660212", "0.4651975", "0.46202707", "0.4608757", "0.45932788", "0.45810407", "0.45596227", "0.45029795", "0.44976375", "0.44938603", "0.44835114", "0.44807208", "0.44720423", "0.44570935", "0.4453977", "0.44281158", "0.44279754", "0.44251537", "0.44232106", "0.4421365", "0.44131795", "0.44062272", "0.43955824", "0.43897283", "0.43748263", "0.43736216", "0.4367125", "0.4363608", "0.43597838", "0.43597785", "0.43512356", "0.43478262", "0.43442312", "0.43418562", "0.4341297", "0.43323636", "0.43298897", "0.43280458", "0.432284", "0.43213317", "0.43166053", "0.43165663", "0.43140763", "0.4303442", "0.43012932", "0.42948166", "0.42943624", "0.4288628", "0.42843217", "0.42741293", "0.42706287", "0.42542163", "0.42541718", "0.42365462", "0.42362574", "0.42347917", "0.423429", "0.42308852", "0.4228274", "0.42279556", "0.42264256", "0.4225718", "0.42152736", "0.4211474", "0.42101577", "0.42093393", "0.42021817", "0.41995075", "0.4193541", "0.41872904", "0.41865167", "0.4184248", "0.4183475", "0.4179305", "0.4175228", "0.41735202", "0.41731915", "0.416685", "0.41634926", "0.41599956", "0.41549098" ]
0.6739833
0
Gets the dimension computed by the packer when defining a position for elements.
public Dimension getDimensionPack() { return dimensionPacker.getFilledArea(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final int getDimension() {\r\n\t\treturn this.dimension;\r\n\t}", "public int getCoordinateDimension() { \n return getPosition().getCoordinateDimension();\n }", "public int getDimension() {\n\t\treturn dimension;\n\t}", "public byte getDimension() {\n return this.dimension;\n }", "public byte getDimension() {\n return this.dimension;\n }", "BigInteger getDimension();", "public abstract int getDimension();", "public int getDimension() {\n \treturn dim;\n }", "public default int getDimension() {\n\t\treturn 1;\n\t}", "Dimension getDimension();", "public int getwDimension()\n {\n return wDimension;\n }", "public int getDimension() {\n return 0;\n }", "public String getDimension()\r\n/* 277: */ {\r\n/* 278:341 */ return this.dimension;\r\n/* 279: */ }", "public int dimensions() {\n\t\treturn dim;\n\t}", "public final int dimension() { return _N; }", "Dimension dimension();", "public native Dimension getDimension() throws MagickException;", "public int getDimX() {\r\n return dimX;\r\n }", "public int getDimX ()\n {\n return m_dim_x;\n }", "public final String dimension() {\n\t\tStringBuffer b = new StringBuffer(16);\n\t\tthis.editDimension(b);\n\t\treturn(b.toString());\n\t}", "int getCurrentDimension() {\n if (!playerExists())\n return lastdim;\n return game.h.m;\n }", "public int getDimension() {\n\treturn id2label.size();\n }", "public static Dimension getPos()\n {\n Dimension pos = new Dimension( cX, cY );\n next();\n return pos;\n }", "Dimension getDimensions();", "int getDimX(){\n\t\treturn dimx;\n\t}", "public static int DimNum() {\n\t\treturn root_map.size();\n\t}", "public int dimension() // board dimension n\n {\n return dim;\n }", "public int getSize()\n\t{\n\t\treturn itsPosition;\n\t}", "public int dimension() {\n return N; // Return Board instance variable for dimension size\n }", "public DimensionInformation getDimensionInformation() {\n return dimensionInformation;\n }", "public short getZDim() {\n\t\treturn getShort(ADACDictionary.Z_DIMENSIONS);\n\t}", "public int getXD1 ()\n\t{\n\t\treturn xDimension1;\n\t}", "public int dimensionCount() {\n\t\treturn point.length;\n\t}", "public int dimensions() {\n return this.data[0].length;\n }", "public int[] getDims() {\n int[] dimsTuple = { this.xDimension, this.yDimension };\n return dimsTuple;\n }", "Dimension getSize();", "Dimension getSize();", "public int getXD3 ()\n\t{\n\t\treturn xDimension3;\n\t}", "public int getXD2 ()\n\t{\n\t\treturn xDimension2;\n\t}", "public int getSize() {\n return position;\n }", "@Override\n\tpublic int getDimension() {\n\t\treturn 1;\n\t}", "@Override\n\tpublic int getDimension() {\n\t\treturn 1;\n\t}", "public int getSizeX(){\r\n\t\treturn size[0];\r\n\t}", "Dimension[] getDimension()\n\t\t{\n\t\t\treturn d;\n\t\t}", "public Map<Integer, Integer> getDimension() throws SQLException {\n return retrieveExpected(createNativeDimensionSQL(), INTEGER);\n }", "public int geomDim();", "public Vector3f getDimensions();", "int dim() {\r\n\t\treturn dimt * dimx * dimy;\r\n\t}", "public int dimension(){\n return blocks.length;\n }", "public Vector2 getMouseSize() {\n \tdimension.set(pointer.width, pointer.height);\n \treturn dimension;\n\t}", "public Dimension getClientDimension ()\n\t{\n\t\treturn dimension;\n\t}", "@Override\n\tpublic int getDimension() {\n\t\tint count = 0;\n\t\tfor ( SingleEquationStatement equation : equations.values() ) {\n\t\t\tif ( equation.getOrder() > 0 ) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\treturn count;\n\t}", "public int get_size() {\r\n return this.dimension * 2 * sizeof_float + 4 * sizeof_float + sizeof_dimension + sizeof_int;\r\n }", "public float getDiameter() {\n /* 425 */\n RectF content = this.mViewPortHandler.getContentRect();\n /* 426 */\n content.left += getExtraLeftOffset();\n /* 427 */\n content.top += getExtraTopOffset();\n /* 428 */\n content.right -= getExtraRightOffset();\n /* 429 */\n content.bottom -= getExtraBottomOffset();\n /* 430 */\n return Math.min(content.width(), content.height());\n /* */\n }", "int dim(){\n\t\treturn dimx*dimy;\n\t}", "public Dimension getFieldDimension() {\r\n return fieldDimension;\r\n }", "public int getcolumn()\n\t{\n\t\tif(orderflag)\n\t\t{\n\t\t\treturn width;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn height;\n\t\t}\n\t}", "public XDimension Xdimension() throws java.io.IOException {\n return new XDimension(u16(),u16());\n }", "public int getDimZ() {\r\n return dimZ;\r\n }", "int getDimensionsCount();", "public int getPosSize() {\n\t\treturn this.pos.size();\n\t}", "@Override\n\tpublic D3int getDim() {\n\t\treturn myDim;\n\t}", "public Dimension getSize() {\r\n\t\treturn this.size;\r\n\t}", "public abstract int getXSize();", "public Dimension getSize() {\n\t\treturn size.getCopy();\n\t}", "public int getSizeX() {\r\n\t\treturn sizeX;\r\n\t}", "public int getElementSize() {\n\t\treturn this.elementsize;\n\t}", "private double getProblemDimensionality(){\n return this.dropPoints.size();\n }", "public Dimension getDimension() {\n return levelRunning.getDimension();\n }", "public List<Integer> getDimensionList() \n {\n return this.dimList;\n }", "public Point getUniverseDimensions(){\n return this.physModel.getUniverseDimensions();\n }", "public int getSize() {\n\t\treturn point3D.size();\r\n\t}", "public Dimension3d getSize() {\n return size;\n }", "public Dimension getSize() {\n\t\treturn null;\n\t}", "public long[] dimensions()\n\t{\n\t\tint dimcount=multimemory.dims.length;\n\t\tlong[] o=new long[dimcount];\n\t\tfor (int i=0; i<o.length; i++)\n\t\t{\n\t\t\to[i]=multimemory.dims[i];\n\t\t\t\n\t\t}\n\t\t\n\t\treturn o;\n\t}", "int dimensionality();", "int numberOfDimensions();", "public double getSize() {\n return getElement().getSize();\n }", "public int getXMax(){\n\t\treturn xDim;\n\t}", "public int featureDimension() {\n assert featureDimension > 0;\n return featureDimension;\n }", "public int nDimension() {\n return TH.THTensor_(nDimension)(this);\n }", "int getDimY(){\n\t\treturn dimy;\n\t}", "Dimension getCanvasDimension();", "public int getGridDimensions() {\n return GRID_DIMENSIONS;\n }", "public int getxlength(){ \n return numcols*boxsize;\n }", "public int getSize() {\n\t\treturn grid.length;\n\t}", "public int domainDimension() {\n return dvModel.totalParamSize();\r\n }", "public long dimCount()\n\t{\n\t\treturn (long)multimemory.dims.length;\n\t}", "public int getDimY() {\r\n return dimY;\r\n }", "public Dimension getSize()\n {\n return new Dimension(300, 150);\n }", "public int getDimY ()\n {\n return m_dim_y;\n }", "public int getDeformationGridSize ()\n\t{\n\t\treturn mDeformationGridSize;\n\t\t\n\t}", "public static int GetSize() {\n\t\t\treturn gridSize.getValue();\n\t\t}", "public Point2D.Float getSize() {\r\n\t\treturn size;\r\n\t}", "@Override\n public int getElementSize() {\n if (elementSize <= 0)\n calcElementSize();\n return elementSize;\n }", "public short getWidth() {\n\n\t\treturn getShort(ADACDictionary.X_DIMENSIONS);\n\t}", "public String dimensionName() {\n return this.dimensionName;\n }", "public int getSize() {\n\t\treturn numElements;\n\t}", "private int getAdSize(int position) {\r\n int adSize = position > 2 ? ((position - 3) / 8 + 1) : 0;\r\n return adSize;\r\n }", "public static int elementSize_entries_id() {\n return (8 / 8);\n }" ]
[ "0.709396", "0.7079637", "0.70525295", "0.686489", "0.686489", "0.6862124", "0.6790556", "0.6785022", "0.67361534", "0.6728961", "0.65977395", "0.6583402", "0.65771294", "0.65725183", "0.65471035", "0.65150315", "0.6485801", "0.6461715", "0.6453536", "0.64462", "0.64347535", "0.6399324", "0.6393695", "0.63866645", "0.6355337", "0.6334436", "0.6327477", "0.63211757", "0.6312177", "0.62728167", "0.62459815", "0.62357986", "0.62303925", "0.62016666", "0.6200275", "0.61783475", "0.61783475", "0.6169826", "0.61548287", "0.6148542", "0.61407113", "0.61407113", "0.6130208", "0.6112021", "0.60932297", "0.6066099", "0.6058047", "0.60544306", "0.6005324", "0.5998706", "0.5989265", "0.5977486", "0.5973389", "0.5970676", "0.59695494", "0.5964861", "0.59589475", "0.59529734", "0.5933146", "0.59244287", "0.5912771", "0.5901223", "0.58930105", "0.58917344", "0.58514607", "0.5849695", "0.5833695", "0.58240324", "0.58232194", "0.5822939", "0.5820362", "0.58181685", "0.5807232", "0.5801129", "0.57950264", "0.5792335", "0.5766378", "0.57434225", "0.57384455", "0.57285863", "0.57253647", "0.57203597", "0.5717194", "0.5715581", "0.5686852", "0.5658577", "0.565645", "0.5638943", "0.5632984", "0.5626496", "0.56211627", "0.5605489", "0.5590934", "0.5585201", "0.5582181", "0.5569794", "0.55689526", "0.55655843", "0.5547078", "0.55395836" ]
0.694
3
ASSERT & UTILS METHODS
private void assertEquivalentPair(Set<Pair> result, String s1, String s2) { Pair resultPair = filterResult(result, s1, s2); assertFalse(resultPair.isMarked()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Assert createAssert();", "private void assertAll() {\n\t\t\n\t}", "protected Assert() {\n\t}", "boolean assertExpected(Exception e);", "protected Assert() {\n }", "protected Assert() {\n }", "public void testInvalidNoType() { assertInvalid(\"a\"); }", "@VisibleForTesting\n @SuppressWarnings(\"CheckReturnValue\")\n void checkAssertions() {\n checkAssertions(root);\n }", "@Test\n public void sanityCheck() {\n assertThat(true, is(true));\n }", "AssertMethod createAssertMethod();", "public void testPreConditions() {\r\n\t //fail(\"Precondition check not implemented!\");\r\n\t assertEquals(true,true);\r\n\t }", "protected abstract void assertFact(Object fact);", "public void assertMsgCheck() {\r\n\t\tassertEquals(successMsg.getText().substring(0,36), \"Success: You have modified products!\");\r\n\t\tSystem.out.println(\"Asserted that the msg has been displayed: \"+ successMsg.getText().substring(0,36));\r\n\t}", "private void assertTicketValidation(TicketValidatedAssertModel<IamPrincipalInfo> assertion) throws TicketValidateException {\r\n\t\tif (isNull(assertion)) {\r\n\t\t\tthrow new TicketValidateException(\"ticket assertion must not be null\");\r\n\t\t}\r\n\t\tIamPrincipalInfo info = assertion.getPrincipalInfo();\r\n\t\tif (isNull(info)) {\r\n\t\t\tthrow new TicketValidateException(\"Principal info must not be null\");\r\n\t\t}\r\n\t\tif (isNull(info.getStoredCredentials())) {\r\n\t\t\tthrow new TicketValidateException(\"grant ticket must not be null\");\r\n\t\t}\r\n\t\tif (isNull(info.getAttributes()) || info.getAttributes().isEmpty()) {\r\n\t\t\tthrow new TicketValidateException(\"'principal.attributes' must not be empty\");\r\n\t\t}\r\n\t\tif (isBlank((String) info.getRoles())) {\r\n\t\t\tlog.warn(\"Principal '{}' role is empty\", info.getPrincipal());\r\n\t\t\t// throw new TicketValidationException(String.format(\"Principal '%s'\r\n\t\t\t// roles must not empty\", principal.getName()));\r\n\t\t}\r\n\t\tif (isBlank((String) info.getPermissions())) {\r\n\t\t\tlog.warn(\"Principal '{}' permits is empty\", info.getPrincipal());\r\n\t\t\t// throw new TicketValidationException(String.format(\"Principal '%s'\r\n\t\t\t// permits must not empty\", principal.getName()));\r\n\t\t}\r\n\t\tif (isNull(info.getOrganization())) {\r\n\t\t\tlog.warn(\"Principal '{}' organization is empty\", info.getPrincipal());\r\n\t\t\t// throw new TicketValidationException(String.format(\"Principal '%s'\r\n\t\t\t// organization must not empty\", principal.getName()));\r\n\t\t}\r\n\t}", "private void validCheck ()\n\t{\n\t\tassert allButLast != null || cachedFlatListOrMore != null;\n\t}", "public interface Validator\n{\n void assertEqual(Object expected, Object actual, String successMessage, String failureMessage) throws IOException;\n\n void assertNotEqual(Object expected, Object actual, String successMessage, String failureMessage) throws IOException;\n\n void assertNotEmpty(Collection collection, String successMessage, String failureMessage) throws IOException;\n\n void assertEmpty(Collection collection, String successMessage, String failureMessage) throws IOException;\n}", "private StringAssert() {\n }", "@Test\n\tpublic void moreComplexAssertion() {\n\t\tOrder order1 = null, order2 = null, order3 = null, order4 = null;\n\t\t// when\n\t\tList<Order> orders = null;// orderSearchService.getOrders(trader,\n\t\t\t\t\t\t\t\t\t// tradingAcct, goldIsinCode);\n\t\t// then\n\t\t// Using Basic JUnit\n\t\tassertEquals(orders.size(), 2);\n\t\tIterator<Order> itr = orders.iterator();\n\t\tassertEquals(itr.next(), order3);\n\t\tassertEquals(itr.next(), order4);\n\t\t// Using Hamcrest\n\t\tassertThat(orders, hasItems(order3, order4));\n\t\tassertThat(orders.size(), is(2));\n\t\t// Using FEST Assertions\n\t\tassertThat(orders).containsOnly(order3, order4);\n\t\t// Using FEST Assertions (chained assertions)\n\t\tassertThat(orders).containsOnly(order3, order4).containsSequence(order3, order4);\n\t}", "private void assertValidity() {\n if (latitudes.size() != longitudes.size()) {\n throw new IllegalStateException(\"GIS location needs equal number of lat/lon points.\");\n }\n if (!(latitudes.size() == 1 || latitudes.size() >= 3)) {\n throw new IllegalStateException(\"GIS location needs either one point or more than two.\");\n }\n }", "@Test\n public void fehlerquelleAssert()\n {\n\n BigDecimal eins = BigDecimal.ONE;\n Integer intEins = Integer.valueOf( 1 );\n\n try\n {\n Assert.assertEquals( eins , intEins );\n Assert.fail( \"AssertionError erwartet.\" );\n } catch (AssertionError e)\n {\n MatcherAssert.assertThat( e.getMessage() , Matchers.is( \"expected: java.math.BigDecimal<1> but was: java.lang.Integer<1>\" ) );\n }\n }", "public void testSingleVar() { assertValid(\"int a;\"); }", "private void assertCondition(Condition condition) {\n\t}", "private void checkRep(){\n assert !this.username.equals(\"\");\n assert !this.password.equals(\"\");\n assert accessLevel != null;\n }", "public void assertErrorMsgCheck() {\r\n\t\t\tassertEquals(errorMsg.getText().substring(0,52), \"Warning: Please check the form carefully for errors!\");\r\n\t\t\tSystem.out.println(\"Asserted that the msg has been displayed: \"+ errorMsg.getText().substring(0,52));\r\n\t\t}", "@Test\n\tpublic void validObjectShouldValidate() {\n\t\tT validObject = buildValid();\n\t\tAssertions.assertThat(isValid(validObject))\n\t\t\t\t.as(invalidMessage(validObject))\n\t\t\t\t.isTrue();\n\t}", "@Test\n public void testCheckPositive() {\n Helper.checkPositive(1, \"obj\", \"method\", LogManager.getLog());\n }", "public final PythonParser.assert_stmt_return assert_stmt() throws RecognitionException {\n PythonParser.assert_stmt_return retval = new PythonParser.assert_stmt_return();\n retval.start = input.LT(1);\n\n PythonTree root_0 = null;\n\n Token ASSERT127=null;\n Token COMMA128=null;\n PythonParser.test_return t1 = null;\n\n PythonParser.test_return t2 = null;\n\n\n PythonTree ASSERT127_tree=null;\n PythonTree COMMA128_tree=null;\n RewriteRuleTokenStream stream_COMMA=new RewriteRuleTokenStream(adaptor,\"token COMMA\");\n RewriteRuleTokenStream stream_ASSERT=new RewriteRuleTokenStream(adaptor,\"token ASSERT\");\n RewriteRuleSubtreeStream stream_test=new RewriteRuleSubtreeStream(adaptor,\"rule test\");\n try {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:870:5: ( ASSERT t1= test[expr_contextType.Load] ( COMMA t2= test[expr_contextType.Load] )? -> ^( ASSERT[$ASSERT, actions.castExpr($t1.tree), actions.castExpr($t2.tree)] ) )\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:870:7: ASSERT t1= test[expr_contextType.Load] ( COMMA t2= test[expr_contextType.Load] )?\n {\n ASSERT127=(Token)match(input,ASSERT,FOLLOW_ASSERT_in_assert_stmt3368); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_ASSERT.add(ASSERT127);\n\n pushFollow(FOLLOW_test_in_assert_stmt3372);\n t1=test(expr_contextType.Load);\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) stream_test.add(t1.getTree());\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:870:45: ( COMMA t2= test[expr_contextType.Load] )?\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==COMMA) ) {\n alt62=1;\n }\n switch (alt62) {\n case 1 :\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:870:46: COMMA t2= test[expr_contextType.Load]\n {\n COMMA128=(Token)match(input,COMMA,FOLLOW_COMMA_in_assert_stmt3376); if (state.failed) return retval; \n if ( state.backtracking==0 ) stream_COMMA.add(COMMA128);\n\n pushFollow(FOLLOW_test_in_assert_stmt3380);\n t2=test(expr_contextType.Load);\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) stream_test.add(t2.getTree());\n\n }\n break;\n\n }\n\n\n\n // AST REWRITE\n // elements: ASSERT\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n // wildcard labels: \n if ( state.backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n\n root_0 = (PythonTree)adaptor.nil();\n // 871:4: -> ^( ASSERT[$ASSERT, actions.castExpr($t1.tree), actions.castExpr($t2.tree)] )\n {\n // /run/media/abhi/0cc7e6ad-008e-43cd-b47d-f3ed6f127f92/home/abhi/dacapo-9.12-bach-src (2)/benchmarks/bms/jython/build/grammar/Python.g:871:7: ^( ASSERT[$ASSERT, actions.castExpr($t1.tree), actions.castExpr($t2.tree)] )\n {\n PythonTree root_1 = (PythonTree)adaptor.nil();\n root_1 = (PythonTree)adaptor.becomeRoot(new Assert(ASSERT, ASSERT127, actions.castExpr((t1!=null?((PythonTree)t1.tree):null)), actions.castExpr((t2!=null?((PythonTree)t2.tree):null))), root_1);\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;}\n }\n\n retval.stop = input.LT(-1);\n\n if ( state.backtracking==0 ) {\n\n retval.tree = (PythonTree)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n\n catch (RecognitionException re) {\n errorHandler.reportError(this, re);\n errorHandler.recover(this, input,re);\n retval.tree = (PythonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\n }\n finally {\n }\n return retval;\n }", "private void assertReflexive(UMLMessageArgument msgArg) throws Exception\r\n\t{\r\n\t\tif(msgArg!=null)\r\n\t\t\tassertTrue(msgArg.equals(msgArg));\r\n\t}", "@Test\r\n void dependentAssertions() {\n \t\r\n assertAll(\"properties\",\r\n () -> {\r\n String firstName = person.getFirstName();\r\n assertNotNull(firstName);\r\n\r\n // Executed only if the previous assertion is valid.\r\n assertAll(\"first name\",\r\n () -> assertTrue(firstName.startsWith(\"J\")),\r\n () -> assertTrue(firstName.endsWith(\"n\"))\r\n );\r\n },\r\n () -> {\r\n // Grouped assertion, so processed independently\r\n // of results of first name assertions.\r\n String lastName = person.getLastName();\r\n assertNotNull(lastName);\r\n\r\n // Executed only if the previous assertion is valid.\r\n assertAll(\"last name\",\r\n () -> assertTrue(lastName.startsWith(\"D\")),\r\n () -> assertTrue(lastName.endsWith(\"e\"))\r\n );\r\n }\r\n );\r\n }", "@Test(expected=AssertionError.class)\n public void testAssertionsEnabled() {\n assert false;\n }", "@Test(expected=AssertionError.class)\n public void testAssertionsEnabled() {\n assert false;\n }", "@Test(expected=AssertionError.class)\n public void testAssertionsEnabled() {\n assert false;\n }", "@Test\n\tpublic void testVerify() {\n\t\t\n\t\tSystem.out.println(\"Before Verfiy\");\n\t\tSoftAssert assert1 = new SoftAssert();\n\t\t\n\t\tassert1.fail();\n\t\t\n\t\tSystem.out.println(\"After Assertion\");\n\t}", "@Test(expected = IllegalArgumentException.class)\n public void testCheckPositiveFailure() {\n Helper.checkPositive(0, \"obj\", \"method\", LogManager.getLog());\n }", "private static void getAssert(String script, String sourceMessage, String condition) throws ContractException {\n try {\n engine.eval(script); //This runs the script.\n } catch (ScriptException ex) {\n throw new ContractException(ex.getMessage()); //Simply uses the scrip message. \n }\n try {\n if ((boolean) engine.get(\"assert\")) { //This checks if the assert is true.\n String[] stringArray = condition.split(\"(\\\\W|\\\\s)+\"); //This splits it if it is a non letter or space.\n int length = stringArray.length;\n HashMap<String, Object> valuePairs = new HashMap<>();\n \n for (String name : stringArray) { //this loops through the array of possible variables.\n if (name.length() == 0) {\n continue;\n }\n Object temp = null;\n try {\n temp = engine.get(name); //Gets the engine variable.\n } catch (NullPointerException e) {\n //Throwaway e.\n }\n\n if (temp == null) { //This checks that temp is not null.\n continue;\n }\n valuePairs.put(name, temp); //Adds the name if the variable is found.\n }\n\n String assertionError = \"\\nContract is violated - \" + sourceMessage + \": \" + condition; //This is formatting for the output.\n assertionError += \"\\n\\nVariable Name\\t Value\";\n assertionError += \"\\n----------------------\";\n\n \n Set<String> keySet = valuePairs.keySet();\n if(keySet.contains(\"i\")){\n Object iValue = valuePairs.get(\"i\");\n keySet.remove(\"i\");\n assertionError += formatForAssert(\"i\", iValue, sourceMessage); \n }\n //This loops through all the variables in the condition which have been found within the engine. \n for (String name : valuePairs.keySet()) {\n Object tempObj = valuePairs.get(name);\n assertionError += formatForAssert(name, tempObj, sourceMessage); \n }\n\n AssertionError e = new AssertionError(assertionError); //This throws an assertion exception if the condition is true.\n\n e.setStackTrace(ContractHelper.alterStackWithinContract(e.getStackTrace())); //This sets the trace and then throws the error.\n\n throw e;\n }\n } catch (NullPointerException | ClassCastException e) {\n ContractException contractEx = new ContractException(\"Contract doesn't evaluate to a boolean.\");\n\n contractEx.setStackTrace(ContractHelper.alterStackWithinContract(contractEx.getStackTrace()));\n\n throw contractEx; //this is thrown if assert is null or not boolean.\n }\n }", "@Test(timeout = 4000)\n public void test048() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.addRequiredCondition((String) null, (StringBuilder) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "public void testAbstractHelperClass() {\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"body\", \"x\"));\n assertEquals(Collections.singletonList(\"line\"),\n BLIP_SCHEMA_CONSTRAINTS.getRequiredInitialChildren(\"body\"));\n assertEquals(Collections.singletonList(\"line\"),\n BLIP_SCHEMA_CONSTRAINTS.getRequiredInitialChildren(\"textarea\"));\n assertEquals(Collections.emptyList(),\n BLIP_SCHEMA_CONSTRAINTS.getRequiredInitialChildren(\"line\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"reply\", \"id\", \"...\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"reply\", \"id\", \"b+sdf\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"line\", \"t\", \"h3\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"line\", \"t\", \"z\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"image\", \"attachment\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"image\", \"attachment\", \"blahblah\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"image\", \"something\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"image\", \"something\", \"stuff\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"caption\", \"something\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsAttribute(\"caption\", \"something\", \"stuff\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsChild(\"body\", \"line\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsChild(\"textarea\", \"line\"));\n assertTrue(\n BLIP_SCHEMA_CONSTRAINTS.permitsChild(null, \"body\"));\n assertFalse(\n BLIP_SCHEMA_CONSTRAINTS.permitsChild(null, \"blah\"));\n assertEquals(PermittedCharacters.BLIP_TEXT,\n BLIP_SCHEMA_CONSTRAINTS.permittedCharacters(\"body\"));\n assertEquals(PermittedCharacters.NONE,\n BLIP_SCHEMA_CONSTRAINTS.permittedCharacters(\"line\"));\n assertEquals(PermittedCharacters.NONE,\n BLIP_SCHEMA_CONSTRAINTS.permittedCharacters(null));\n }", "@Test\n public void checkValidityTest1() {\n GenericStandardDeckGame g = new GenericStandardDeckGame();\n assert (g.checkValidity(g.getDeck()));\n }", "@Test(timeout = 4000)\n public void test049() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.addRequiredCondition(\"\", (StringBuilder) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test\n public void isCorrectTest(){\n BuyCard cardErr = new BuyCard(12,0);\n\n thrown.expect(IllegalArgumentException.class);\n thrown.expectMessage(\"Row index out of bounds.\");\n cardErr.isCorrect();\n }", "private void assertEquals(String string, String title) {\n\t\r\n}", "public static void testbed() {\n int s[] = {5, 1, 0, 4, 2, 3};\n int y = length_easy(s, 3);\n\n System.out.println(\"length_easy y = \" + y);\n u.myassert(y == 4);\n int b[] = {5, 1, 0, 4, 2, 3};\n int x = length(s, 3);\n System.out.println(\"length x = \" + x);\n u.myassert(x == y);\n for (int i = 0; i < s.length; ++i) {\n u.myassert(s[i] == b[i]);\n }\n System.out.println(\"Assert passed\");\n }", "public interface DateTimeAssert extends CommonAssert<HtmlAssertion> {\n HtmlAssertion min(Matcher<Float> value);\n HtmlAssertion max(Matcher<Float> value);\n\n HtmlAssertion date(Matcher<String> date);\n HtmlAssertion month(Matcher<String> month);\n HtmlAssertion week(Matcher<String> week);\n HtmlAssertion time(Matcher<String> time);\n}", "void checkValid();", "@Override\n void assertErrorMessage(String messageText) {\n }", "public static void assert(Object obj, boolean pred) \r\n throws ImplementationError {\r\n if (!pred) throw new ImplementationError(\"Assertion failure\", obj);\r\n }", "private void assertMessage(String aMessage){\n\t\tSystem.out.println(aMessage);\n\t\terror = true;\n\t}", "private void assertImmutableList() {\n\t\tassertImmutableList(wc);\n\t}", "private void testBadAssertions(String dsId) throws Exception {\n pid = PID.getInstance(\"demo:foo\");\n\n String p, o;\n\n // Model namespace\n p = Constants.MODEL.CONTROL_GROUP.uri;\n o = \"demo:baz\";\n triples.add(createTriple(pid, p, o, false, null));\n\n try {\n validateAndClear(dsId);\n fail(dsId + \"Fedora Model namespace assertions not allowed\");\n } catch (ValidationException e) {\n }\n // View namespace\n p = Constants.VIEW.DISSEMINATES.uri;\n triples.add(createTriple(pid, p, o, false, null));\n\n try {\n validateAndClear(dsId);\n fail(dsId + \"Fedora View namespace assertions not allowed\");\n } catch (ValidationException e) {\n }\n\n\n }", "@org.junit.Test(timeout = 10000)\n public void testRequiresAuthentication_cf62984_cf65170_failAssert35() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_42_1 = 16401;\n // MethodAssertGenerator build local variable\n Object o_28_1 = 3;\n com.twilio.http.Request request = new com.twilio.http.Request(com.twilio.http.HttpMethod.DELETE, \"/uri\");\n // MethodAssertGenerator build local variable\n Object o_3_0 = request.requiresAuthentication();\n request.setAuth(\"username\", \"password\");\n // AssertGenerator add assertion\n java.util.HashMap map_494889131 = new java.util.HashMap<Object, Object>();\torg.junit.Assert.assertEquals(map_494889131, ((com.twilio.http.Request)request).getQueryParams());;\n // MethodAssertGenerator build local variable\n Object o_8_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isEnum();\n // MethodAssertGenerator build local variable\n Object o_10_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getEnclosingMethod();\n // MethodAssertGenerator build local variable\n Object o_12_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).toGenericString();\n // MethodAssertGenerator build local variable\n Object o_14_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isInterface();\n // MethodAssertGenerator build local variable\n Object o_16_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getTypeName();\n // MethodAssertGenerator build local variable\n Object o_18_0 = ((com.twilio.http.Request)request).requiresAuthentication();\n // MethodAssertGenerator build local variable\n Object o_20_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isLocalClass();\n // MethodAssertGenerator build local variable\n Object o_22_0 = ((com.twilio.http.Request)request).getUrl();\n // MethodAssertGenerator build local variable\n Object o_24_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isArray();\n // MethodAssertGenerator build local variable\n Object o_26_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getCanonicalName();\n // MethodAssertGenerator build local variable\n Object o_28_0 = ((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).ordinal();\n // MethodAssertGenerator build local variable\n Object o_30_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getSimpleName();\n // MethodAssertGenerator build local variable\n Object o_32_0 = ((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).name();\n // MethodAssertGenerator build local variable\n Object o_34_0 = ((com.twilio.http.Request)request).getPassword();\n // MethodAssertGenerator build local variable\n Object o_36_0 = ((com.twilio.http.Request)request).encodeFormBody();\n // MethodAssertGenerator build local variable\n Object o_38_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getSigners();\n // MethodAssertGenerator build local variable\n Object o_40_0 = ((com.twilio.http.Request)request).encodeQueryParams();\n // MethodAssertGenerator build local variable\n Object o_42_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getModifiers();\n // MethodAssertGenerator build local variable\n Object o_44_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getComponentType();\n // MethodAssertGenerator build local variable\n Object o_46_0 = ((com.twilio.http.Request)request).getUsername();\n // MethodAssertGenerator build local variable\n Object o_48_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getName();\n // MethodAssertGenerator build local variable\n Object o_50_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isAnnotation();\n // MethodAssertGenerator build local variable\n Object o_52_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isPrimitive();\n // MethodAssertGenerator build local variable\n Object o_54_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getEnclosingClass();\n // MethodAssertGenerator build local variable\n Object o_56_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getDeclaringClass();\n // MethodAssertGenerator build local variable\n Object o_58_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).desiredAssertionStatus();\n // AssertGenerator add assertion\n java.util.HashMap map_862388393 = new java.util.HashMap<Object, Object>();\torg.junit.Assert.assertEquals(map_862388393, ((com.twilio.http.Request)request).getPostParams());;\n // MethodAssertGenerator build local variable\n Object o_62_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isMemberClass();\n // MethodAssertGenerator build local variable\n Object o_64_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).getEnclosingConstructor();\n // MethodAssertGenerator build local variable\n Object o_66_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isSynthetic();\n // MethodAssertGenerator build local variable\n Object o_68_0 = ((java.lang.Class)((com.twilio.http.HttpMethod)((com.twilio.http.Request)request).getMethod()).getDeclaringClass()).isAnonymousClass();\n // AssertGenerator replace invocation\n java.util.Map<java.lang.String, java.util.List<java.lang.String>> o_testRequiresAuthentication_cf62984__6 = // StatementAdderMethod cloned existing statement\nrequest.getPostParams();\n // AssertGenerator add assertion\n java.util.HashMap map_577498540 = new java.util.HashMap<Object, Object>();\torg.junit.Assert.assertEquals(map_577498540, o_testRequiresAuthentication_cf62984__6);;\n // StatementAdderOnAssert create null value\n com.twilio.http.Request vc_13486 = (com.twilio.http.Request)null;\n // StatementAdderMethod cloned existing statement\n vc_13486.getUsername();\n // MethodAssertGenerator build local variable\n Object o_78_0 = request.requiresAuthentication();\n org.junit.Assert.fail(\"testRequiresAuthentication_cf62984_cf65170 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "@Test\n public void loginWithEmptyName(){\n\n Assert.assertEquals(createUserChecking.creationChecking(\"\",email),\"APPLICATION ERROR #11\");\n log.info(\"Empty login and email \"+ email+\" were typed\");\n }", "@Test\r\n void enoughFunds() {\n BankAccount account = new BankAccount(100);\r\n \r\n // Assertion for no exceptions\r\n assertDoesNotThrow(() -> account.withdraw(100));\r\n }", "private CheckUtil(){ }", "private FilterAssert() {\n }", "@Test(timeout = 4000)\n public void test082() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.addRequiredCondition((String) null, (StringBuilder) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test\n void area_square_test_1(){\n double area = calc.areaSquare(10);\n assert area == 100;\n }", "@org.junit.Test(timeout = 10000)\n public void testConstructorWithDomain_cf38574_cf40507_failAssert12() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n com.twilio.http.Request request = new com.twilio.http.Request(com.twilio.http.HttpMethod.GET, com.twilio.rest.Domains.IPMESSAGING.toString(), \"/v1/uri\");\n // MethodAssertGenerator build local variable\n Object o_5_0 = request.getMethod();\n // AssertGenerator replace invocation\n java.util.Map<java.lang.String, java.util.List<java.lang.String>> o_testConstructorWithDomain_cf38574__7 = // StatementAdderMethod cloned existing statement\nrequest.getPostParams();\n // AssertGenerator add assertion\n java.util.HashMap map_608565383 = new java.util.HashMap<Object, Object>();\torg.junit.Assert.assertEquals(map_608565383, o_testConstructorWithDomain_cf38574__7);;\n // StatementAdderOnAssert create null value\n java.lang.String vc_8162 = (java.lang.String)null;\n // StatementAdderOnAssert create random local variable\n java.lang.String vc_8161 = new java.lang.String();\n // StatementAdderOnAssert create null value\n com.twilio.http.Request vc_8158 = (com.twilio.http.Request)null;\n // StatementAdderMethod cloned existing statement\n vc_8158.setAuth(vc_8161, vc_8162);\n // MethodAssertGenerator build local variable\n Object o_19_0 = request.getUrl();\n org.junit.Assert.fail(\"testConstructorWithDomain_cf38574_cf40507 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "@Test\n public void testGetOnlinePosition() {\n assert false : \"testGetOnlinePosition not implemented.\";\n }", "private void assertEqulas(String string, String getCurrentActivity) {\n\t}", "@Test @SpecAssertion(id = \"432-A1\", section=\"4.3.2\")\n public void testConversion(){\n Assert.fail();\n }", "boolean checkVerification();", "public void testGetMessage() {\n Throwable th = new Throwable(\"aaa\");\n assertEquals(\"incorrect message\", \"aaa\", th.getMessage());\n }", "@Test\n\tpublic void testandoConstrutorWithException(){\n\t\ttry{\n\t\t\tpamela = new P2CentralGames.Noob(\" \", \"pamela.linda\", 450.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com nome do Usuario vazio\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Nome do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t }\n\t\t// Name Null Test\n\t\ttry{\n\t\t\thyvilly = new P2CentralGames.Noob(null, \"hyvilly.maria\", 550.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com nome do Usuario null\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Nome do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t } \n\t\t\n\t\t// Login Empty Test\n\t\ttry{\n\t\t\tpamela = new P2CentralGames.Noob(\"Pamela Nicole\", \" \", 450.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com login do Usuario vazio\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Login do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t\t}\n\t\t// Login Null Test\n\t\ttry{\n\t\t\thyvilly = new P2CentralGames.Noob(\"Hyvilly Maria\",null, 550.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com login do Usuario null\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Login do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t\t } \n\t\t// Money Test Negative\n\t\ttry{\n\t\t\tpamela = new P2CentralGames.Noob(\"Pamela Nicole\", \"pamela.linda\", -450.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com dinheiro do usuario inferior ao esperado\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"O valor de dinheiro nao pode ser menor ou igual a zero.\", e.getMessage());\n\t\t }\n\t\t// Money Test Equal the Zero\n\t\ttry{\n\t\t\thyvilly = new P2CentralGames.Noob(\"Hyvilly Maria\", \"hyvilly.maria\",0.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com dinheiro do usuario inferior ao esperado\");\n\t\t} catch (Exception e){\n\t\t\tAssert.assertEquals(\"O valor de dinheiro nao pode ser menor ou igual a zero.\", e.getMessage());\n\t\t }\n\t\t\n\t\t/**\n\t\t * Test for the Sub Class: Veterano\n\t\t */\n\t\t\n\t\t// Name Empty Test\n\t\ttry{\n\t\t\tluan = new P2CentralGames.Veterano(\" \", \"luan.luanjo\", 650.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com nome do Usuario vazio\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Nome do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t }\n\t\t// Name Null Test\n\t\ttry{\n\t\t\tlucas = new P2CentralGames.Veterano(null, \"lucas.lucco\", 750.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com nome do Usuario null\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Nome do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t } \n\t\t\n\t\t// Login Empty Test\n\t\ttry{\n\t\t\tluan = new P2CentralGames.Veterano(\"Luan Santana\", \" \", 650.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com login do Usuario vazio\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Login do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t\t}\n\t\t// Login Null Test\n\t\ttry{\n\t\t\tlucas = new P2CentralGames.Veterano(\"Lucas Lucco\", null, 750.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com login do Usuario null\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"Login do usuario nao pode ser nulo ou vazio.\", e.getMessage());\n\t\t\t } \n\t\t// Money Test Negative\n\t\ttry{\n\t\t\tluan = new P2CentralGames.Veterano(\"Luan Santana\", \"luan.luanjo\", -650.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com dinheiro do usuario inferior ao esperado\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"O valor de dinheiro nao pode ser menor ou igual a zero.\", e.getMessage());\n\t\t }\n\t\t// Money Test Equal a Zero\n\t\ttry{\n\t\t\tlucas = new P2CentralGames.Veterano(\"Lucas Lucco\", \"lucas.lucco\", 0.0);\n\t\t\tAssert.fail(\"Lancamento de Exception com dinheiro do usuario inferior ao esperado\");\n\t\t} catch(Exception e){\n\t\t\tAssert.assertEquals(\"O valor de dinheiro nao pode ser menor ou igual a zero.\", e.getMessage());\n\t\t }\n\t}", "@Test(timeout = 4000)\n public void test049() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.addRequiredCondition(\" AND \", (StringBuilder) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "public void testCanCreateInvoiceAccuracy() throws Exception {\n assertEquals(\"The result is not as expected\", true, invoiceSessionBean.canCreateInvoice(5));\n\n }", "@Test\n public void directJudgmentCase() {\n\n int num1 = 2;\n int num2 = 2;\n int expected1 = 4;\n int expected2 = 3;\n\n int actual = AssertionCalculator.add(num1, num2);\n\n //直接斷言該值是否為true\n Assertions.assertTrue(expected1 == actual, \"AssertionCalculator.add(\" + num1 + \",\" + num2 + \") == \" + expected1 + \"is false\");\n //直接斷言該值是否為false\n Assertions.assertFalse(expected2 == actual, \"AssertionCalculator.add(\" + num1 + \",\" + num2 + \") == \" + expected2 + \"is true\");\n\n }", "@Test(timeout = 4000)\n public void test034() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.mutatesDataOrStructure((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "public FailedAssertion(String reason)\n {\n super(\"\\nAssertion that failed: \" + reason);\n }", "private static void assertEquals(String expected, String actual) {\r\n Assert.assertNotNull(actual);\r\n Assert.assertEquals(expected, actual);\r\n }", "private void checkRep() {\n\t\tassert (this != null) : \"this Edge cannot be null\";\n\t\tassert (this.label != null) : \"this Edge's label cannot be null\";\n\t\tassert (this.child != null) : \"this Edge's child cannot be null\";\n\t}", "@Test public void testAssertionsEnabled() {\n assertThrows(AssertionError.class, () -> {\n assert false;\n }, \"make sure assertions are enabled with VM argument '-ea'\");\n }", "public void testPreConditions() {\n\t\tassertNotNull(activity);\n\t\tassertNotNull(mFragment);\n\t\tassertNotNull(mAdapter);\n\t\tassertTrue(mAdapter instanceof MensaListAdapter);\n\t}", "public interface IViewAssertionWrapper {\n\n Assertion isDisplayed(boolean display);\n\n Assertion withText(String content);\n\n Assertion isFullScreen(boolean full);\n\n Assertion hasFocus(boolean hasFocues);\n}", "private void assertEquals(String t, String string) {\n\t\t\n\t}", "public void assertValidationMsg(String txt, String msg) {\n clickOnBtn(ActionsEnum.Create.name());\n waitForElementVisibility(xpathFormHeading);\n String actual = assertAndGetAttributeValue(xpathFormHeading, \"innerText\");\n assertEquals(actual, FORM_HEADING,\n \"Actual heading '\" + actual + \"' should be same as expected heading '\" + FORM_HEADING\n + \"'.\");\n logger.info(\"# User is on '\" + actual + \"' form\");\n assertAndType(xpathNameTF, txt);\n actual = assertAndGetText(xpathValidationMsg);\n logger.info(\"# Validation message for 'Name': \" + actual);\n assertEquals(actual, msg,\n \"Actual validation msg '\" + actual + \"' should be same as expected '\" + msg + \"'.\");\n }", "@Test\n void testWithdraw() {\n //Exception e = assertThrows(IllegalArgumentException.class, () -> new Client(\"Sir\", \"Jack\", \"1234567890\",\"H91R7YX\", \"432111111111\",\"[email protected]\", 20, 5000.00) );\n assertEquals(true, t1.isWithdraw());\n }", "private static void assertTrue(boolean flag) {\n if (!flag) {\n throw new AssertionError(\"Case must be true\");\n }\n }", "private static void assertTrue(boolean flag) {\n if (!flag) {\n throw new AssertionError(\"Case must be true\");\n }\n }", "public final EObject ruleAssertion() throws RecognitionException {\n EObject current = null;\n\n Token lv_static_0_0=null;\n EObject lv_condition_2_0 = null;\n\n Enumerator lv_statusKind_4_0 = null;\n\n EObject lv_message_5_0 = null;\n\n\n EObject temp=null; setCurrentLookahead(); resetLookahead(); \n \n try {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1038:6: ( ( ( (lv_static_0_0= 'static' ) )? 'assert' ( (lv_condition_2_0= ruleExpression ) ) ':' ( (lv_statusKind_4_0= ruleAssertionStatusKind ) ) ( (lv_message_5_0= ruleExpression ) ) ';' ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1039:1: ( ( (lv_static_0_0= 'static' ) )? 'assert' ( (lv_condition_2_0= ruleExpression ) ) ':' ( (lv_statusKind_4_0= ruleAssertionStatusKind ) ) ( (lv_message_5_0= ruleExpression ) ) ';' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1039:1: ( ( (lv_static_0_0= 'static' ) )? 'assert' ( (lv_condition_2_0= ruleExpression ) ) ':' ( (lv_statusKind_4_0= ruleAssertionStatusKind ) ) ( (lv_message_5_0= ruleExpression ) ) ';' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1039:2: ( (lv_static_0_0= 'static' ) )? 'assert' ( (lv_condition_2_0= ruleExpression ) ) ':' ( (lv_statusKind_4_0= ruleAssertionStatusKind ) ) ( (lv_message_5_0= ruleExpression ) ) ';'\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1039:2: ( (lv_static_0_0= 'static' ) )?\n int alt14=2;\n int LA14_0 = input.LA(1);\n\n if ( (LA14_0==28) ) {\n alt14=1;\n }\n switch (alt14) {\n case 1 :\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1040:1: (lv_static_0_0= 'static' )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1040:1: (lv_static_0_0= 'static' )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1041:3: lv_static_0_0= 'static'\n {\n lv_static_0_0=(Token)input.LT(1);\n match(input,28,FOLLOW_28_in_ruleAssertion1751); \n\n createLeafNode(grammarAccess.getAssertionAccess().getStaticStaticKeyword_0_0(), \"static\"); \n \n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getAssertionRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode, current);\n \t }\n \t \n \t try {\n \t \t\tset(current, \"static\", true, \"static\", lastConsumedNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t \n\n }\n\n\n }\n break;\n\n }\n\n match(input,29,FOLLOW_29_in_ruleAssertion1775); \n\n createLeafNode(grammarAccess.getAssertionAccess().getAssertKeyword_1(), null); \n \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1064:1: ( (lv_condition_2_0= ruleExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1065:1: (lv_condition_2_0= ruleExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1065:1: (lv_condition_2_0= ruleExpression )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1066:3: lv_condition_2_0= ruleExpression\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getAssertionAccess().getConditionExpressionParserRuleCall_2_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleExpression_in_ruleAssertion1796);\n lv_condition_2_0=ruleExpression();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getAssertionRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"condition\",\n \t \t\tlv_condition_2_0, \n \t \t\t\"Expression\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n match(input,20,FOLLOW_20_in_ruleAssertion1806); \n\n createLeafNode(grammarAccess.getAssertionAccess().getColonKeyword_3(), null); \n \n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1092:1: ( (lv_statusKind_4_0= ruleAssertionStatusKind ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1093:1: (lv_statusKind_4_0= ruleAssertionStatusKind )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1093:1: (lv_statusKind_4_0= ruleAssertionStatusKind )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1094:3: lv_statusKind_4_0= ruleAssertionStatusKind\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getAssertionAccess().getStatusKindAssertionStatusKindEnumRuleCall_4_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleAssertionStatusKind_in_ruleAssertion1827);\n lv_statusKind_4_0=ruleAssertionStatusKind();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getAssertionRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"statusKind\",\n \t \t\tlv_statusKind_4_0, \n \t \t\t\"AssertionStatusKind\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1116:2: ( (lv_message_5_0= ruleExpression ) )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1117:1: (lv_message_5_0= ruleExpression )\n {\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1117:1: (lv_message_5_0= ruleExpression )\n // ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1118:3: lv_message_5_0= ruleExpression\n {\n \n \t currentNode=createCompositeNode(grammarAccess.getAssertionAccess().getMessageExpressionParserRuleCall_5_0(), currentNode); \n \t \n pushFollow(FOLLOW_ruleExpression_in_ruleAssertion1848);\n lv_message_5_0=ruleExpression();\n _fsp--;\n\n\n \t if (current==null) {\n \t current = factory.create(grammarAccess.getAssertionRule().getType().getClassifier());\n \t associateNodeWithAstElement(currentNode.getParent(), current);\n \t }\n \t try {\n \t \t\tset(\n \t \t\t\tcurrent, \n \t \t\t\t\"message\",\n \t \t\tlv_message_5_0, \n \t \t\t\"Expression\", \n \t \t\tcurrentNode);\n \t } catch (ValueConverterException vce) {\n \t\t\t\thandleValueConverterException(vce);\n \t }\n \t currentNode = currentNode.getParent();\n \t \n\n }\n\n\n }\n\n match(input,18,FOLLOW_18_in_ruleAssertion1858); \n\n createLeafNode(grammarAccess.getAssertionAccess().getSemicolonKeyword_6(), null); \n \n\n }\n\n\n }\n\n resetLookahead(); \n \tlastConsumedNode = currentNode;\n \n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "@Test\n\tpublic void Account_test() { Using HamCrest \t\t\n\t\t// Exercise code to run and test\n\t\t//\n\t\tmiCuenta.setHolder(this.arg1);\n\t\tString resHolder = miCuenta.getHolder(); \n\t\t//\n\t\tmiCuenta.setBalance(this.arg2);\n\t\tint resBalance = miCuenta.getBalance(); \n\t\t//\n\t\tmiCuenta.setZone(this.arg3);\n\t\tint resZone = miCuenta.getZone(); \n\t\t\t\t\t\t\n\t\t// Verify\n\t\tassertThat(this.arg1, is(resHolder));\n\t\tassertThat(this.arg2, is(resBalance)); \n\t\tassertThat(this.arg3, is(resZone)); \n\t}", "@Test(timeout = 4000)\n public void test073() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.isQuery((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test(timeout = 4000)\n public void test035() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.mutatesStructure((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "public void assertPerformance() {\n\tsuper.assertPerformance();\n}", "@Test(timeout = 4000)\n public void test46() throws Throwable {\n PipedWriter pipedWriter0 = new PipedWriter();\n PipedReader pipedReader0 = new PipedReader();\n Boolean boolean0 = Boolean.FALSE;\n SQLUtil.isQuery(\"selectntowrong c|ck\");\n Boolean.valueOf(true);\n DefaultDBTable defaultDBTable0 = new DefaultDBTable(\"selectntowrong c|ck\");\n // Undeclared exception!\n try { \n defaultDBTable0.getUniqueConstraint(\"^h=wZ>:9%}Pj6(#%M\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.model.DefaultDBTable\", e);\n }\n }", "@Test\n public void test5(){\n Assert.assertFalse(0>1, \"verify 0 not big then 1 \");\n }", "private void AndOrderIsSentToKitchen() throws Exception {\n assert true;\n }", "public void testAuditDetail_Accuracy() {\r\n assertNotNull(\"The AuditDetail instance should be created.\", auditDetail);\r\n }", "public void performValidation() {\n/* 623 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public boolean validateInput() {\n/* 158 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Test\n\tpublic void method_4() \n\t{\n\t\tString place = \"Banga\";\n\t\tAssert.assertEquals(\"Bangalore\", place);\n\t}", "private void assertInvalid(Object obj, String expectedProperty, String expectedErrMsg, Object expectedValue){\n //run validator on car object and store the resulting violations in a collection\n Set<ConstraintViolation<Object>> constraintViolations = validator.validate( obj );\n\n //count how many violations - SHOULD ONLY BE 1\n assertEquals( 1, constraintViolations.size() );\n\n //get first violation from constraintViolations collection\n ConstraintViolation<Object> violation = constraintViolations.iterator().next();\n\n //ensure that expected property has the violation\n assertEquals( expectedProperty, violation.getPropertyPath().toString() );\n\n //ensure error message matches what is expected\n assertEquals( expectedErrMsg, violation.getMessage() );\n\n //ensure the invalid value is what was set\n assertEquals( expectedValue, violation.getInvalidValue() );\n }", "public void assertExpectations() {\n\t\tassertExpectations(this.expectations);\n\t}", "private void assertEqualsAfterParsingToDates(String assertion, String expected, String actual) {\n String expectedLines[] = expected.split(\"\\n\");\n String actualLines[] = actual.split(\"\\n\");\n assertEquals(assertion, expectedLines.length, actualLines.length);\n for (int i = 0; i < expectedLines.length; i++) {\n String expectedNameValue[] = expectedLines[i].split(\"=\");\n if (expectedNameValue.length != 2)\n fail(\"Syntax error: \" + expectedLines[i]);\n\n String actualNameValue[] = actualLines[i].split(\"=\");\n if (actualNameValue.length != 2)\n fail(\"Syntax error: \" + actualLines[i]);\n\n assertEquals(assertion, expectedNameValue[0], actualNameValue[0]);\n try {\n assertEquals(assertion, DateUtils.fromISO8601Format(expectedNameValue[1]), DateUtils\n .fromISO8601Format(actualNameValue[1]));\n } catch (ParseException e) {\n fail(e.getMessage());\n }\n }\n }", "@Test(timeout = 4000)\n public void test037() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.mutatesDataOrStructure((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test(timeout = 4000)\n public void test015() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderWhereClause((String[]) null, (Object[]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test(timeout = 4000)\n public void test015() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderWhereClause((String[]) null, (Object[]) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "@Test\n public void exampleTest1() {\n \ttry {\n \t\tVersion version = new Version(null);\n \t} catch(IllegalArgumentException e) {\n \t\tAssert.assertEquals(errorVersionMustNotBeNull, e.getMessage());\n \t} catch(Exception e) {\n \t\tAssert.fail(\"No exception thrown when null version passed to constructor: \"+e.getClass().getName()+\" \"+e.getMessage());\n \t}\n }", "private void ThenPaymentIsProcessed() throws Exception {\n assert true;\n }", "@Test(enabled = false)\n\tpublic void HardAssert(){\n\t\t\t\t\n\t\tSystem.out.println(\"Hard Asset Step 1\");\n\t\tAssert.assertEquals(false, false);\n\t\tSystem.out.println(\"Hard Asset Step 2\");\n\t\tAssert.assertEquals(false, true);\n\t\tSystem.out.println(\"Hard Asset Step 3\");\n\t}", "@Test(timeout = 10000)\n public void equalsAndHashCodeTypeVariableName_sd7_sd119_failAssert0() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n TypeVariableName.get(Object.class);\n TypeVariableName.get(Object.class);\n TypeVariableName typeVar1 = TypeVariableName.get(\"T\", Comparator.class, Serializable.class);\n TypeVariableName typeVar2 = TypeVariableName.get(\"T\", Comparator.class, Serializable.class);\n // StatementAdd: generate variable from return value\n TypeName __DSPOT_invoc_9 = // StatementAdd: add invocation of a method\n typeVar1.withoutAnnotations();\n // StatementAdd: add invocation of a method\n __DSPOT_invoc_9.unbox();\n org.junit.Assert.fail(\"equalsAndHashCodeTypeVariableName_sd7_sd119 should have thrown UnsupportedOperationException\");\n } catch (UnsupportedOperationException eee) {\n }\n }", "@Test\n public void checkValidityTest2() {\n GenericStandardDeckGame g = new GenericStandardDeckGame();\n List<Card> deck = g.getDeck();\n deck.set(32, new Card(Card.number.four, Card.suit.club));\n assert (!g.checkValidity(deck));\n }" ]
[ "0.72970873", "0.7066146", "0.6869875", "0.6636982", "0.6569124", "0.6569124", "0.6516814", "0.64090705", "0.63687336", "0.6367756", "0.6342599", "0.6286197", "0.62621737", "0.6231814", "0.6231602", "0.6171396", "0.61150265", "0.6105485", "0.6098391", "0.6095648", "0.60833704", "0.6082005", "0.60750365", "0.60513544", "0.5967341", "0.5960351", "0.5921471", "0.5917397", "0.59151214", "0.5912061", "0.5912061", "0.5912061", "0.5905553", "0.59055257", "0.5887992", "0.58740115", "0.5868801", "0.5860849", "0.58352405", "0.58312356", "0.5800214", "0.5791757", "0.57791436", "0.5777234", "0.5769264", "0.57569486", "0.5755425", "0.5749768", "0.5749582", "0.57368714", "0.57267237", "0.5726631", "0.5706386", "0.5700639", "0.56838375", "0.5674732", "0.56651676", "0.5664684", "0.5660269", "0.56443167", "0.56402344", "0.56378555", "0.5633468", "0.5630689", "0.56261575", "0.56156456", "0.56104827", "0.56012243", "0.559888", "0.5594541", "0.55940723", "0.55866", "0.55861527", "0.5584767", "0.55806875", "0.55746484", "0.5573318", "0.5573318", "0.55562174", "0.55556536", "0.5553951", "0.5552897", "0.55475104", "0.55434644", "0.55344874", "0.55316323", "0.55284834", "0.5528123", "0.55277723", "0.5527385", "0.5525426", "0.5524056", "0.5517978", "0.55153334", "0.5508841", "0.5508841", "0.5507169", "0.55071133", "0.55056953", "0.55051553", "0.5503775" ]
0.0
-1
private static BukkitCommandManager commandManager;
@Override public void onEnable() { plugin = this; if(!getServer().getPluginManager().isPluginEnabled("BedWars1058")){ getLogger().severe("Unable to locate Bedwars1058."); getLogger().severe("Plugin will be disabled!"); getServer().getPluginManager().disablePlugin(this); return; }else{ bwAPI = Bukkit.getServicesManager().getRegistration(BedWars .class).getProvider(); bedwarsEnabled = true; } if(!getServer().getPluginManager().isPluginEnabled("Citizens")){ getLogger().severe("Citizens is missing shopkeeper won't be used!"); getServer().getPluginManager().disablePlugin(this); return; }else{ npcRegistry = CitizensAPI.getNPCRegistry(); citizensEnabled = true; getLogger().info("Hooked with Citizens for shopkeeper"); } /*commandManager = new BukkitCommandManager(this); if(commandManager == null){ getLogger().severe("Unable to intialize BukkitCommandManager."); getLogger().severe("Plugin will be disabled!"); getServer().getPluginManager().disablePlugin(this); return; }*/ fileUtils = new FileUtils(); configuration = new Configuration(); if(!configuration.createConfiguration(this)){ getLogger().severe("Unable to create configuration file."); getLogger().severe("Plugin will be disabled!"); getServer().getPluginManager().disablePlugin(this); return; } messages = new Messages(); if(!messages.generateMessages()){ getLogger().severe("Unable to create messages.yml file."); getLogger().severe("Plugin will be disabled!"); getServer().getPluginManager().disablePlugin(this); return; } cacheManager = new CacheManager(this); if(!cacheManager.buildCache()){ getLogger().severe("Unable to create cache file."); getLogger().severe("Plugin will be disabled!"); getServer().getPluginManager().disablePlugin(this); return; } scheduler = new WorkloadScheduler(); scheduler.intializeThread(); storage = new Storage(this,getConfiguration().isUsingMysql()); storage.build(); storage.tryConnection(); storage.createDatabase(); randomUtility = new RandomUtility(this); cosmeticManager = new CosmeticManager(); cosmeticManager.loadCosmetics(); playerManager = new PlayerCosmeticsManager(); registerListeners(); cooldownTasks = new Cooldowns(); cooldownTasks.runTaskTimerAsynchronously(this,100L,20L); registerCommands(); getLogger().info("------------------------------------------------"); getLogger().info("Enabled Plugin"); getLogger().info("------------------------------------------------"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CommandManager() {}", "public static BlackjackCommandManager getInstance() {\n return instance;\n }", "private void getGameCommands(){\n\n }", "public CommandManager getCommand() {\n\treturn command;\n }", "private CommandBrocker() {}", "public CommandManager getCommandManager() {\n return commandManager;\n }", "public static InfoCommand getInstance(){\n\t return instance;\n\t}", "private CommandMapper() {\n }", "public CommandFramework(Plugin plugin) {\n this.plugin = plugin;\n\n if (plugin.getServer().getPluginManager() instanceof SimplePluginManager) {\n SimplePluginManager manager = (SimplePluginManager) plugin.getServer().getPluginManager();\n\n try {\n Field field = SimplePluginManager.class.getDeclaredField(\"commandMap\");\n field.setAccessible(true);\n map = (CommandMap) field.get(manager);\n } catch (IllegalArgumentException | NoSuchFieldException | IllegalAccessException | SecurityException e) {\n e.printStackTrace();\n }\n }\n }", "private void registerCommands() {\n CommandSpec showBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.show\")\r\n .description(Text.of(\"Show how many Banpoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsShow.class)).build();\r\n\r\n CommandSpec addBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.add\")\r\n .description(Text.of(\"Add a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsAdd.class)).build();\r\n\r\n CommandSpec removeBanpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints.remove\")\r\n .description(Text.of(\"Remove a specified amount of Banpoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandBanpointsRemove.class)).build();\r\n\r\n CommandSpec banpoints = CommandSpec.builder().permission(\"dtpunishment.banpoints\")\r\n .description(Text.of(\"Show the Banpoints help menu\")).arguments(GenericArguments.none())\r\n .child(showBanpoints, \"show\").child(addBanpoints, \"add\").child(removeBanpoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, banpoints, \"banpoints\", \"bp\");\r\n\r\n CommandSpec showMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.show\")\r\n .description(Text.of(\"Show how many Mutepoints the specified player has \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsShow.class)).build();\r\n\r\n CommandSpec addMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsAdd.class)).build();\r\n\r\n CommandSpec removeMutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Add a specified amount of Mutepoints to a player \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))),\r\n GenericArguments.onlyOne(GenericArguments.integer(Text.of(\"amount\"))))\r\n .executor(childInjector.getInstance(CommandMutepointsRemove.class)).build();\r\n\r\n CommandSpec mutepoints = CommandSpec.builder().permission(\"dtpunishment.mutepoints\")\r\n .description(Text.of(\"Show the Mutepoints help menu\")).arguments(GenericArguments.none())\r\n .child(showMutepoints, \"show\").child(addMutepoints, \"add\").child(removeMutepoints, \"remove\").build();\r\n\r\n Sponge.getCommandManager().register(this, mutepoints, \"mutepoints\", \"mp\");\r\n\r\n CommandSpec playerInfo = CommandSpec.builder().permission(\"dtpunishment.playerinfo\")\r\n .description(Text.of(\"Show your info \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.optionalWeak(GenericArguments.requiringPermission(\r\n GenericArguments.user(Text.of(\"player\")), \"dtpunishment.playerinfo.others\"))))\r\n .executor(childInjector.getInstance(CommandPlayerInfo.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, playerInfo, \"pinfo\", \"playerinfo\");\r\n\r\n CommandSpec addWord = CommandSpec.builder().permission(\"dtpunishment.word.add\")\r\n .description(Text.of(\"Add a word to the list of banned ones \"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.string(Text.of(\"word\"))))\r\n .executor(childInjector.getInstance(CommandWordAdd.class)).build();\r\n\r\n Sponge.getCommandManager().register(this, addWord, \"addword\");\r\n\r\n CommandSpec unmute = CommandSpec.builder().permission(\"dtpunishment.mutepoints.add\")\r\n .description(Text.of(\"Unmute a player immediately (removing all mutepoints)\"))\r\n .arguments(GenericArguments.onlyOne(GenericArguments.user(Text.of(\"player\"))))\r\n .executor(childInjector.getInstance(CommandUnmute.class)).build();\r\n\r\n CommandSpec reloadConfig = CommandSpec.builder().permission(\"dtpunishment.admin.reload\")\r\n .description(Text.of(\"Reload configuration from disk\"))\r\n .executor(childInjector.getInstance(CommandReloadConfig.class)).build();\r\n\r\n CommandSpec adminCmd = CommandSpec.builder().permission(\"dtpunishment.admin\")\r\n .description(Text.of(\"Admin commands for DTPunishment\")).child(reloadConfig, \"reload\")\r\n .child(unmute, \"unmute\").build();\r\n\r\n Sponge.getCommandManager().register(this, adminCmd, \"dtp\", \"dtpunish\");\r\n }", "public Command() {\r\n\t\t// If default, use a local one.\r\n\t\tmYCommandRegistry = LocalCommandRegistry.getGlobalRegistryStatic();\r\n\t}", "public CommandMAN() {\n super();\n }", "public interface CommandLoader {\n\n\t/**\n\t * Gets list of commands in bundle\n\t * @return\n\t */\n\tList<CommandInfo> list();\n\t\n\t/**\n\t * Executes command\n\t * @param cmdName command name\n\t * @return\n\t */\n\tObject execute(String cmdName, String param);\n}", "public static CommandBrocker getInstance() {\n\t\tif (cb == null) {\n\t\t\tcb = new CommandBrocker();\n\t\t}\n\t\treturn cb;\n\t}", "public @NonNull CommandManager<C> getCommandManager() {\n return this.commandManager;\n }", "private void sendGameCommand(){\n\n }", "public String getCommand(){\n return command;\n }", "public static synchronized ChatAdministration getInstance(){\n\t\treturn singleInstance;\n\t}", "public Command() {\n }", "@Override\n\tpublic boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {\n\n\t\tboolean playerCanDo = false;\n\t\tboolean isConsole = false;\n\t\tPlayer senderPlayer = null, targetPlayer = null;\n\t\tGroup senderGroup = null;\n\t\tUser senderUser = null;\n\t\tboolean isOpOverride = config.isOpOverride();\n\t\tboolean isAllowCommandBlocks = config.isAllowCommandBlocks();\n\t\t\n\t\t// PREVENT GM COMMANDS BEING USED ON COMMANDBLOCKS\n\t\tif (sender instanceof BlockCommandSender && !isAllowCommandBlocks) {\n\t\t\tBlock block = ((BlockCommandSender)sender).getBlock();\n\t\t\tGroupManager.logger.warning(ChatColor.RED + \"GM Commands can not be called from CommandBlocks\");\n\t\t\tGroupManager.logger.warning(ChatColor.RED + \"Location: \" + ChatColor.GREEN + block.getWorld().getName() + \", \" + block.getX() + \", \" + block.getY() + \", \" + block.getZ());\n\t\t \treturn true;\n\t\t}\n\n\t\t// DETERMINING PLAYER INFORMATION\n\t\tif (sender instanceof Player) {\n\t\t\tsenderPlayer = (Player) sender;\n\n\t\t\tif (!lastError.isEmpty() && !commandLabel.equalsIgnoreCase(\"manload\")) {\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"All commands are locked due to an error. \" + ChatColor.BOLD + \"\" + ChatColor.UNDERLINE + \"Check plugins/groupmanager/error.log or console\" + ChatColor.RESET + \"\" + ChatColor.RED + \" and then try a '/manload'.\");\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tsenderUser = worldsHolder.getWorldData(senderPlayer).getUser(senderPlayer.getUniqueId().toString());\n\t\t\tsenderGroup = senderUser.getGroup();\n\t\t\tisOpOverride = (isOpOverride && (senderPlayer.isOp() || worldsHolder.getWorldPermissions(senderPlayer).has(senderPlayer, \"groupmanager.op\")));\n\n\t\t\tif (isOpOverride || worldsHolder.getWorldPermissions(senderPlayer).has(senderPlayer, \"groupmanager.\" + cmd.getName())) {\n\t\t\t\tplayerCanDo = true;\n\t\t\t}\n\t\t} else {\n\n\t\t\tif (!lastError.isEmpty() && !commandLabel.equalsIgnoreCase(\"manload\")) {\n\t\t\t\tsender.sendMessage(ChatColor.RED + \"All commands are locked due to an error. \" + ChatColor.BOLD + \"\" + ChatColor.UNDERLINE + \"Check plugins/groupmanager/error.log or console\" + ChatColor.RESET + \"\" + ChatColor.RED + \" and then try a '/manload'.\");\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tisConsole = true;\n\t\t}\n\n\t\t// PERMISSIONS FOR COMMAND BEING LOADED\n\t\tdataHolder = null;\n\t\tpermissionHandler = null;\n\n\t\tif (senderPlayer != null) {\n\t\t\tdataHolder = worldsHolder.getWorldData(senderPlayer);\n\t\t}\n\n\t\tString selectedWorld = selectedWorlds.get(sender.getName());\n\t\tif (selectedWorld != null) {\n\t\t\tdataHolder = worldsHolder.getWorldData(selectedWorld);\n\t\t}\n\n\t\tif (dataHolder != null) {\n\t\t\tpermissionHandler = dataHolder.getPermissionsHandler();\n\t\t}\n\n\t\t// VARIABLES USED IN COMMANDS\n\n\t\tint count;\n\t\tPermissionCheckResult permissionResult = null;\n\t\tArrayList<User> removeList = null;\n\t\tString auxString = null;\n\t\tList<String> match = null;\n\t\tUser auxUser = null;\n\t\tGroup auxGroup = null;\n\t\tGroup auxGroup2 = null;\n\n\t\tGroupManagerPermissions execCmd = null;\n\t\ttry {\n\t\t\texecCmd = GroupManagerPermissions.valueOf(cmd.getName());\n\t\t} catch (Exception e) {\n\t\t\t// this error happened once with someone. now im prepared... i think\n\t\t\tGroupManager.logger.severe(\"===================================================\");\n\t\t\tGroupManager.logger.severe(\"= ERROR REPORT START =\");\n\t\t\tGroupManager.logger.severe(\"===================================================\");\n\t\t\tGroupManager.logger.severe(\"= COPY AND PASTE THIS TO A GROUPMANAGER DEVELOPER =\");\n\t\t\tGroupManager.logger.severe(\"===================================================\");\n\t\t\tGroupManager.logger.severe(this.getDescription().getName());\n\t\t\tGroupManager.logger.severe(this.getDescription().getVersion());\n\t\t\tGroupManager.logger.severe(\"An error occured while trying to execute command:\");\n\t\t\tGroupManager.logger.severe(cmd.getName());\n\t\t\tGroupManager.logger.severe(\"With \" + args.length + \" arguments:\");\n\t\t\tfor (String ar : args) {\n\t\t\t\tGroupManager.logger.severe(ar);\n\t\t\t}\n\t\t\tGroupManager.logger.severe(\"The field '\" + cmd.getName() + \"' was not found in enum.\");\n\t\t\tGroupManager.logger.severe(\"And could not be parsed.\");\n\t\t\tGroupManager.logger.severe(\"FIELDS FOUND IN ENUM:\");\n\t\t\tfor (GroupManagerPermissions val : GroupManagerPermissions.values()) {\n\t\t\t\tGroupManager.logger.severe(val.name());\n\t\t\t}\n\t\t\tGroupManager.logger.severe(\"===================================================\");\n\t\t\tGroupManager.logger.severe(\"= ERROR REPORT ENDED =\");\n\t\t\tGroupManager.logger.severe(\"===================================================\");\n\t\t\tsender.sendMessage(\"An error occurred. Ask the admin to take a look at the console.\");\n\t\t}\n\n\t\tif (isConsole || playerCanDo) {\n\t\t\tswitch (execCmd) {\n\t\t\tcase manuadd:\n\n\t\t\t\t// Validating arguments\n\t\t\t\tif ((args.length != 2) && (args.length != 3)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manuadd <player> <group> | optional [world])\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// Select the relevant world (if specified)\n\t\t\t\tif (args.length == 3) {\n\t\t\t\t\tdataHolder = worldsHolder.getWorldData(args[2]);\n\t\t\t\t\tpermissionHandler = dataHolder.getPermissionsHandler();\n\t\t\t\t}\n\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Players may not be members of GlobalGroups directly.\");\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\t// Validating permissions\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Can't modify a player with the same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (permissionHandler.hasGroupInInheritance(auxGroup, senderGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The destination group can't be the same as yours, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (!permissionHandler.inGroup(senderUser.getUUID(), auxUser.getGroupName()) || !permissionHandler.inGroup(senderUser.getUUID(), auxGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player involving a group that you don't inherit.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// Seems OK\n\t\t\t\tauxUser.setGroup(auxGroup);\n\t\t\t\tif (!sender.hasPermission(\"groupmanager.notify.other\") || (isConsole))\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You changed player '\" + auxUser.getLastName() + \"' group to '\" + auxGroup.getName() + \"' in world '\" + dataHolder.getName() + \"'.\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase manudel:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manudel <player>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tdataHolder.removeUser(auxUser.getUUID());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You changed player '\" + auxUser.getLastName() + \"' to default settings.\");\n\n\t\t\t\t// If the player is online, this will create new data for the user.\n\t\t\t\tif(auxUser.getUUID() != null) {\n\t\t\t\t\ttargetPlayer = this.getServer().getPlayer(UUID.fromString(auxUser.getUUID()));\n\t\t\t\t\tif (targetPlayer != null)\n\t\t\t\t\t\tBukkitPermissions.updatePermissions(targetPlayer);\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase manuaddsub:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Couldn't retrieve your world. World selection is needed.\");\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Use /manselect <world>\");\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manuaddsub <player> <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (permissionHandler.hasGroupInInheritance(auxGroup, senderGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The sub-group can't be the same as yours, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (!permissionHandler.inGroup(senderUser.getUUID(), auxUser.getGroupName()) || !permissionHandler.inGroup(senderUser.getUUID(), auxGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player involving a group that you don't inherit.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tif (auxUser.addSubGroup(auxGroup))\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You added subgroup '\" + auxGroup.getName() + \"' to player '\" + auxUser.getLastName() + \"'.\");\n\t\t\t\telse\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The subgroup '\" + auxGroup.getName() + \"' is already available to '\" + auxUser.getLastName() + \"'.\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase manudelsub:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manudelsub <user> <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxUser.removeSubGroup(auxGroup);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You removed subgroup '\" + auxGroup.getName() + \"' from player '\" + auxUser.getLastName() + \"' list.\");\n\n\t\t\t\t// targetPlayer = this.getServer().getPlayer(auxUser.getName());\n\t\t\t\t// if (targetPlayer != null)\n\t\t\t\t// BukkitPermissions.updatePermissions(targetPlayer);\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangadd:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangadd <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup != null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group already exists!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxGroup = dataHolder.createGroup(args[0]);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You created a group named: \" + auxGroup.getName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangdel:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangdel <group>)\");\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tdataHolder.removeGroup(auxGroup.getName());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You deleted a group named \" + auxGroup.getName() + \", it's users are default group now.\");\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\n\t\t\tcase manuaddp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manuaddp <player> <permission> [permission2] [permission3]...)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Validating your permissions\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Can't modify player with same group than you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int i = 1; i < args.length; i++)\n\t\t\t\t{\n\t\t\t\t\tauxString = args[i].replace(\"'\", \"\");\n\t\t\t\t\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, auxString);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't add a permission you don't have: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Validating permissions of user\n\t\t\t\t\tpermissionResult = permissionHandler.checkUserOnlyPermission(auxUser, auxString);\n\t\t\t\t\tif (checkPermissionExists(sender, auxString, permissionResult, \"user\")) \n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Seems Ok\n\t\t\t\t\tauxUser.addPermission(auxString);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You added '\" + auxString + \"' to player '\" + auxUser.getLastName() + \"' permissions.\");\n\t\t\t\t}\n\n\n\t\t\t\ttargetPlayer = this.getServer().getPlayer(auxUser.getLastName());\n\t\t\t\tif (targetPlayer != null)\n\t\t\t\t\tBukkitPermissions.updatePermissions(targetPlayer);\n\n\t\t\t\treturn true;\n\n\t\t\tcase manudelp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manudelp <player> <permission> [permission2] [permission3]...)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int i = 1; i < args.length; i++)\n\t\t\t\t{\n\t\t\t\t\tauxString = args[i].replace(\"'\", \"\");\n\t\t\t\t\n\t\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same group as you, or higher.\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Validating your permissions\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, auxString);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't remove a permission you don't have: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Validating permissions of user\n\t\t\t\t\tpermissionResult = permissionHandler.checkUserOnlyPermission(auxUser, auxString);\n\t\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The user doesn't have direct access to that permission: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (!auxUser.hasSamePermissionNode(auxString)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"This permission node doesn't match any node.\");\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"But might match node: \" + permissionResult.accessLevel);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tauxUser.removePermission(auxString);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You removed '\" + auxString + \"' from player '\" + auxUser.getLastName() + \"' permissions.\");\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\n\t\t\t\ttargetPlayer = this.getServer().getPlayer(auxUser.getLastName());\n\t\t\t\tif (targetPlayer != null)\n\t\t\t\t\tBukkitPermissions.updatePermissions(targetPlayer);\n\n\t\t\t\treturn true;\n\t\t\t\t\n\t\t\tcase manuclearp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manuclearp <player>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating your permissions\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same group as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tfor (String perm : auxUser.getPermissionList()) {\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, perm);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't remove a permission you don't have: '\" + perm + \"'.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tauxUser.removePermission(perm);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You removed all permissions from player '\" + auxUser.getLastName() + \"'.\");\n\n\t\t\t\ttargetPlayer = this.getServer().getPlayer(auxUser.getLastName());\n\t\t\t\tif (targetPlayer != null)\n\t\t\t\t\tBukkitPermissions.updatePermissions(targetPlayer);\n\n\t\t\t\treturn true;\n\n\t\t\tcase manulistp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif ((args.length == 0) || (args.length > 2)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manulistp <player> (+))\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String perm : auxUser.getPermissionList()) {\n\t\t\t\t\tauxString += perm + \", \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The player '\" + auxUser.getLastName() + \"' has following permissions: \" + ChatColor.WHITE + auxString);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And all permissions from group: \" + auxUser.getGroupName());\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (String subGroup : auxUser.subGroupListStringCopy()) {\n\t\t\t\t\t\tauxString += subGroup + \", \";\n\t\t\t\t\t}\n\t\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And all permissions from subgroups: \" + auxString);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The player '\" + auxUser.getLastName() + \"' has no specific permissions.\");\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Only all permissions from group: \" + auxUser.getGroupName());\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (String subGroup : auxUser.subGroupListStringCopy()) {\n\t\t\t\t\t\tauxString += subGroup + \", \";\n\t\t\t\t\t}\n\t\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And all permissions from subgroups: \" + auxString);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// bukkit perms\n\t\t\t\tif ((args.length == 2) && (args[1].equalsIgnoreCase(\"+\"))) {\n\t\t\t\t\ttargetPlayer = this.getServer().getPlayer(auxUser.getLastName());\n\t\t\t\t\tif (targetPlayer != null) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Superperms reports: \");\n\t\t\t\t\t\tfor (String line : BukkitPermissions.listPerms(targetPlayer))\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + line);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase manucheckp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manucheckp <player> <permission>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxString = args[1].replace(\"'\", \"\");\n\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\ttargetPlayer = this.getServer().getPlayer(auxUser.getLastName());\n\t\t\t\t// Validating permission\n\t\t\t\tpermissionResult = permissionHandler.checkFullGMPermission(auxUser, auxString, false);\n\n\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {\n\t\t\t\t\t// No permissions found in GM so fall through and check Bukkit.\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The player doesn't have access to that permission\");\n\n\t\t\t\t} else {\n\t\t\t\t\t// This permission was found in groupmanager.\n\t\t\t\t\tif (permissionResult.owner instanceof User) {\n\t\t\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION)) {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user has directly a negation node for that permission.\");\n\t\t\t\t\t\t} else if (permissionResult.resultType.equals(PermissionCheckResult.Type.EXCEPTION)) {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user has directly an Exception node for that permission.\");\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user has directly this permission.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Permission Node: \" + permissionResult.accessLevel);\n\t\t\t\t\t} else if (permissionResult.owner instanceof Group) {\n\t\t\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION)) {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user inherits a negation permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t\t} else if (permissionResult.resultType.equals(PermissionCheckResult.Type.EXCEPTION)) {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user inherits an Exception permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user inherits the permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Permission Node: \" + permissionResult.accessLevel);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// superperms\n\t\t\t\tif (targetPlayer != null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"SuperPerms reports Node: \" + targetPlayer.hasPermission(args[1]) + ((!targetPlayer.hasPermission(args[1]) && targetPlayer.isPermissionSet(args[1])) ? \" (Negated)\": \"\"));\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangaddp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangaddp <group> <permission> [permission2] [permission3]...)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int i = 1; i < args.length; i++)\n\t\t\t\t{\n\t\t\t\t\tauxString = args[i].replace(\"'\", \"\");\n\t\t\t\t\n\t\t\t\t\t// Validating your permissions\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, auxString);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't add a permission you don't have: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Validating permissions of user\n\t\t\t\t\tpermissionResult = permissionHandler.checkGroupOnlyPermission(auxGroup, auxString);\n\t\t\t\t\tif (checkPermissionExists(sender, auxString, permissionResult, \"group\")) \n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Seems OK\n\t\t\t\t\tauxGroup.addPermission(auxString);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You added '\" + auxString + \"' to group '\" + auxGroup.getName() + \"' permissions.\");\n\t\t\t\t}\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangdelp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangdelp <group> <permission> [permission2] [permission3]...)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tfor (int i = 1; i < args.length; i++)\n\t\t\t\t{\n\t\t\t\t\tauxString = args[i].replace(\"'\", \"\");\n\t\t\t\t\n\t\t\t\t\t// Validating your permissions\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, auxString);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Can't remove a permission you don't have: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Validating permissions of user\n\t\t\t\t\tpermissionResult = permissionHandler.checkGroupOnlyPermission(auxGroup, auxString);\n\t\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group doesn't have direct access to that permission: '\" + auxString + \"'\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (!auxGroup.hasSamePermissionNode(auxString)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"This permission node doesn't match any node.\");\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"But might match node: \" + permissionResult.accessLevel);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t// Seems OK\n\t\t\t\t\tauxGroup.removePermission(auxString);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You removed '\" + auxString + \"' from group '\" + auxGroup.getName() + \"' permissions.\");\n\t\t\t\t}\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\t\t\t\t\n\t\t\tcase mangclearp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangclearp <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (String perm : auxGroup.getPermissionList()) {\n\t\t\t\t\tpermissionResult = permissionHandler.checkFullUserPermission(senderUser, perm);\n\t\t\t\t\tif (!isConsole && !isOpOverride && (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND) || permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION))) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Can't remove a permission you don't have: '\" + perm + \"'.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tauxGroup.removePermission(perm);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You removed all permissions from group '\" + auxGroup.getName() + \"'.\");\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\n\t\t\tcase manglistp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manglistp <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String perm : auxGroup.getPermissionList()) {\n\t\t\t\t\tauxString += perm + \", \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group '\" + auxGroup.getName() + \"' has following permissions: \" + ChatColor.WHITE + auxString);\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (String grp : auxGroup.getInherits()) {\n\t\t\t\t\t\tauxString += grp + \", \";\n\t\t\t\t\t}\n\t\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And all permissions from groups: \" + auxString);\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group '\" + auxGroup.getName() + \"' has no specific permissions.\");\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (String grp : auxGroup.getInherits()) {\n\t\t\t\t\t\tauxString += grp + \", \";\n\t\t\t\t\t}\n\t\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Only all permissions from groups: \" + auxString);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\treturn true;\n\n\t\t\tcase mangcheckp:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangcheckp <group> <permission>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxString = args[1];\n\t\t\t\tif (auxString.startsWith(\"'\") && auxString.endsWith(\"'\"))\n\t\t\t\t{\n\t\t\t\t\tauxString = auxString.substring(1, auxString.length() - 1);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tpermissionResult = permissionHandler.checkGroupPermissionWithInheritance(auxGroup, auxString);\n\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group doesn't have access to that permission\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\t// auxString = permissionHandler.checkUserOnlyPermission(auxUser, args[1]);\n\t\t\t\tif (permissionResult.owner instanceof Group) {\n\t\t\t\t\tif (permissionResult.resultType.equals(PermissionCheckResult.Type.NEGATION)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group inherits the negation permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t} else if (permissionResult.resultType.equals(PermissionCheckResult.Type.EXCEPTION)) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group inherits an Exception permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The group inherits the permission from group: \" + permissionResult.owner.getLastName());\n\t\t\t\t\t}\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Permission Node: \" + permissionResult.accessLevel);\n\n\t\t\t\t}\n\t\t\t\treturn true;\n\n\t\t\tcase mangaddi:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangaddi <group1> <group2>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup2 = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup2 == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support inheritance.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// Validating permission\n\t\t\t\tif (permissionHandler.hasGroupInInheritance(auxGroup, auxGroup2.getName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Group \" + auxGroup.getName() + \" already inherits \" + auxGroup2.getName() + \" (might not be directly)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxGroup.addInherits(auxGroup2);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Group \" + auxGroup2.getName() + \" is now in \" + auxGroup.getName() + \" inheritance list.\");\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangdeli:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangdeli <group1> <group2>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup2 = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup2 == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support inheritance.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\t// Validating permission\n\t\t\t\tif (!permissionHandler.hasGroupInInheritance(auxGroup, auxGroup2.getName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Group \" + auxGroup.getName() + \" does not inherit \" + auxGroup2.getName() + \".\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!auxGroup.getInherits().contains(auxGroup2.getName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Group \" + auxGroup.getName() + \" does not inherit \" + auxGroup2.getName() + \" directly.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxGroup.removeInherits(auxGroup2.getName());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Group \" + auxGroup2.getName() + \" was removed from \" + auxGroup.getName() + \" inheritance list.\");\n\n\t\t\t\tBukkitPermissions.updateAllPlayers();\n\n\t\t\t\treturn true;\n\n\t\t\tcase manuaddv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 3) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manuaddv <user> <variable> <value>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (int i = 2; i < args.length; i++) {\n\t\t\t\t\tauxString += args[i];\n\t\t\t\t\tif ((i + 1) < args.length) {\n\t\t\t\t\t\tauxString += \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tauxString = auxString.replace(\"'\", \"\");\n\t\t\t\tauxUser.getVariables().addVar(args[1], Variables.parseVariableValue(auxString));\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variable \" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \":'\" + ChatColor.GREEN + auxString + ChatColor.YELLOW + \"' added to the user \" + auxUser.getLastName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase manudelv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manudelv <user> <variable>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!auxUser.getVariables().hasVar(args[1])) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The user doesn't have directly that variable!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxUser.getVariables().removeVar(args[1]);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variable \" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \" removed from the user \" + ChatColor.GREEN + auxUser.getLastName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase manulistv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manulistv <user>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String varKey : auxUser.getVariables().getVarKeyList()) {\n\t\t\t\t\tObject o = auxUser.getVariables().getVarObject(varKey);\n\t\t\t\t\tauxString += ChatColor.GOLD + varKey + ChatColor.WHITE + \":'\" + ChatColor.GREEN + o.toString() + ChatColor.WHITE + \"', \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variables of user \" + auxUser.getLastName() + \": \");\n\t\t\t\tsender.sendMessage(auxString + \".\");\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Plus all variables from group: \" + auxUser.getGroupName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase manucheckv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manucheckv <user> <variable>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tauxGroup = auxUser.getGroup();\n\t\t\t\tauxGroup2 = permissionHandler.nextGroupWithVariable(auxGroup, args[1]);\n\n\t\t\t\tif (!auxUser.getVariables().hasVar(args[1])) {\n\t\t\t\t\t// Check sub groups\n\t\t\t\t\tif (!auxUser.isSubGroupsEmpty() && auxGroup2 == null)\n\t\t\t\t\t\tfor (Group subGroup : auxUser.subGroupListCopy()) {\n\t\t\t\t\t\t\tauxGroup2 = permissionHandler.nextGroupWithVariable(subGroup, args[1]);\n\t\t\t\t\t\t\tif (auxGroup2 != null)\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\tif (auxGroup2 == null) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The user doesn't have access to that variable!\");\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tif (auxUser.getVariables().hasVar(auxString)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The value of variable '\" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \"' is: '\" + ChatColor.GREEN + auxUser.getVariables().getVarObject(args[1]).toString() + ChatColor.WHITE + \"'\");\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"This user own directly the variable\");\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The value of variable '\" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \"' is: '\" + ChatColor.GREEN + auxGroup2.getVariables().getVarObject(args[1]).toString() + ChatColor.WHITE + \"'\");\n\t\t\t\tif (!auxGroup.equals(auxGroup2)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And the value was inherited from group: \" + ChatColor.GREEN + auxGroup2.getName());\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangaddv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length < 3) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangaddv <group> <variable> <value>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support Info Nodes.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (int i = 2; i < args.length; i++) {\n\t\t\t\t\tauxString += args[i];\n\t\t\t\t\tif ((i + 1) < args.length) {\n\t\t\t\t\t\tauxString += \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxString = auxString.replace(\"'\", \"\");\n\t\t\t\tauxGroup.getVariables().addVar(args[1], Variables.parseVariableValue(auxString));\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variable \" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \":'\" + ChatColor.GREEN + auxString + ChatColor.YELLOW + \"' added to the group \" + auxGroup.getName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangdelv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangdelv <group> <variable>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support Info Nodes.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!auxGroup.getVariables().hasVar(args[1])) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The group doesn't have directly that variable!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxGroup.getVariables().removeVar(args[1]);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variable \" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \" removed from the group \" + ChatColor.GREEN + auxGroup.getName());\n\n\t\t\t\treturn true;\n\n\t\t\tcase manglistv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manglistv <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support Info Nodes.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\t// Seems OK\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String varKey : auxGroup.getVariables().getVarKeyList()) {\n\t\t\t\t\tObject o = auxGroup.getVariables().getVarObject(varKey);\n\t\t\t\t\tauxString += ChatColor.GOLD + varKey + ChatColor.WHITE + \":'\" + ChatColor.GREEN + o.toString() + ChatColor.WHITE + \"', \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Variables of group \" + auxGroup.getName() + \": \");\n\t\t\t\tsender.sendMessage(auxString + \".\");\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String grp : auxGroup.getInherits()) {\n\t\t\t\t\tauxString += grp + \", \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Plus all variables from groups: \" + auxString);\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase mangcheckv:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mangcheckv <group> <variable>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[0]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[0] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"GlobalGroups do NOT support Info Nodes.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tauxGroup2 = permissionHandler.nextGroupWithVariable(auxGroup, args[1]);\n\t\t\t\tif (auxGroup2 == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The group doesn't have access to that variable!\");\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The value of variable '\" + ChatColor.GOLD + args[1] + ChatColor.YELLOW + \"' is: '\" + ChatColor.GREEN + auxGroup2.getVariables().getVarObject(args[1]).toString() + ChatColor.WHITE + \"'\");\n\t\t\t\tif (!auxGroup.equals(auxGroup2)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"And the value was inherited from group: \" + ChatColor.GREEN + auxGroup2.getName());\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase manwhois:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manwhois <player>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Name: \" + ChatColor.GREEN + auxUser.getLastName());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Group: \" + ChatColor.GREEN + auxUser.getGroup().getName());\n\t\t\t\t// Compile a list of subgroups\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (String subGroup : auxUser.subGroupListStringCopy()) {\n\t\t\t\t\tauxString += subGroup + \", \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"subgroups: \" + auxString);\n\t\t\t\t}\n\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Overloaded: \" + ChatColor.GREEN + dataHolder.isOverloaded(auxUser.getUUID()));\n\t\t\t\tauxGroup = dataHolder.surpassOverload(auxUser.getUUID()).getGroup();\n\t\t\t\tif (!auxGroup.equals(auxUser.getGroup())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Original Group: \" + ChatColor.GREEN + auxGroup.getName());\n\t\t\t\t}\n\t\t\t\t// victim.permissions.add(args[1]);\n\t\t\t\treturn true;\n\n\t\t\tcase tempadd:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/tempadd <player>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Can't modify player with same permissions than you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tif (overloadedUsers.get(dataHolder.getName().toLowerCase()) == null) {\n\t\t\t\t\toverloadedUsers.put(dataHolder.getName().toLowerCase(), new ArrayList<User>());\n\t\t\t\t}\n\t\t\t\tdataHolder.overloadUser(auxUser.getUUID());\n\t\t\t\toverloadedUsers.get(dataHolder.getName().toLowerCase()).add(dataHolder.getUser(auxUser.getUUID()));\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Player set to overload mode!\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase tempdel:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/tempdel <player>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tif (overloadedUsers.get(dataHolder.getName().toLowerCase()) == null) {\n\t\t\t\t\toverloadedUsers.put(dataHolder.getName().toLowerCase(), new ArrayList<User>());\n\t\t\t\t}\n\t\t\t\tdataHolder.removeOverload(auxUser.getUUID());\n\t\t\t\tif (overloadedUsers.get(dataHolder.getName().toLowerCase()).contains(auxUser)) {\n\t\t\t\t\toverloadedUsers.get(dataHolder.getName().toLowerCase()).remove(auxUser);\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Player overload mode is now disabled.\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase templist:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// WORKING\n\t\t\t\tauxString = \"\";\n\t\t\t\tremoveList = new ArrayList<User>();\n\t\t\t\tcount = 0;\n\t\t\t\tfor (User u : overloadedUsers.get(dataHolder.getName().toLowerCase())) {\n\t\t\t\t\tif (!dataHolder.isOverloaded(u.getUUID())) {\n\t\t\t\t\t\tremoveList.add(u);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tauxString += u.getLastName() + \", \";\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"There are no users in overload mode.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\tif (overloadedUsers.get(dataHolder.getName().toLowerCase()) == null) {\n\t\t\t\t\toverloadedUsers.put(dataHolder.getName().toLowerCase(), new ArrayList<User>());\n\t\t\t\t}\n\t\t\t\toverloadedUsers.get(dataHolder.getName().toLowerCase()).removeAll(removeList);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \" \" + count + \" Users in overload mode: \" + ChatColor.WHITE + auxString);\n\n\t\t\t\treturn true;\n\n\t\t\tcase tempdelall:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// WORKING\n\t\t\t\tremoveList = new ArrayList<User>();\n\t\t\t\tcount = 0;\n\t\t\t\tfor (User u : overloadedUsers.get(dataHolder.getName().toLowerCase())) {\n\t\t\t\t\tif (dataHolder.isOverloaded(u.getUUID())) {\n\t\t\t\t\t\tdataHolder.removeOverload(u.getUUID());\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"There are no users in overload mode.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (overloadedUsers.get(dataHolder.getName().toLowerCase()) == null) {\n\t\t\t\t\toverloadedUsers.put(dataHolder.getName().toLowerCase(), new ArrayList<User>());\n\t\t\t\t}\n\t\t\t\toverloadedUsers.get(dataHolder.getName().toLowerCase()).clear();\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \" \" + count + \"All users in overload mode are now normal again.\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase mansave:\n\n\t\t\t\tboolean forced = false;\n\n\t\t\t\tif ((args.length == 1) && (args[0].equalsIgnoreCase(\"force\")))\n\t\t\t\t\tforced = true;\n\n\t\t\t\ttry {\n\t\t\t\t\tworldsHolder.saveChanges(forced);\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"All changes were saved.\");\n\t\t\t\t} catch (IllegalStateException ex) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + ex.getMessage());\n\t\t\t\t}\n\t\t\t\treturn true;\n\n\t\t\tcase manload:\n\n\t\t\t\t/**\n\t\t\t\t * Attempt to reload a specific world\n\t\t\t\t */\n\t\t\t\tif (args.length > 0) {\n\n\t\t\t\t\tif (!lastError.isEmpty()) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"All commands are locked due to an error. \" + ChatColor.BOLD + \"\" + ChatColor.UNDERLINE + \"Check plugins/groupmanager/error.log or console\" + ChatColor.RESET + \"\" + ChatColor.RED + \" and then try a '/manload'.\");\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (int i = 0; i < args.length; i++) {\n\t\t\t\t\t\tauxString += args[i];\n\t\t\t\t\t\tif ((i + 1) < args.length) {\n\t\t\t\t\t\t\tauxString += \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tisLoaded = false; // Disable Bukkit Perms update and event triggers\n\n\t\t\t\t\tglobalGroups.load();\n\t\t\t\t\tworldsHolder.loadWorld(auxString);\n\n\t\t\t\t\tsender.sendMessage(\"The request to reload world '\" + auxString + \"' was attempted.\");\n\n\t\t\t\t\tisLoaded = true;\n\n\t\t\t\t\tBukkitPermissions.reset();\n\n\t\t\t\t} else {\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Reload all settings and data as no world was specified.\n\t\t\t\t\t */\n\n\t\t\t\t\t/*\n\t\t\t\t\t * Attempting a fresh load.\n\t\t\t\t\t */\n\t\t\t\t\tonDisable(true);\n\t\t\t\t\tonEnable(true);\n\n\t\t\t\t\tsender.sendMessage(\"All settings and worlds were reloaded!\");\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * Fire an event as none will have been triggered in the reload.\n\t\t\t\t */\n\t\t\t\tif (GroupManager.isLoaded())\n\t\t\t\t\tGroupManager.getGMEventHandler().callEvent(GMSystemEvent.Action.RELOADED);\n\n\t\t\t\treturn true;\n\n\t\t\tcase listgroups:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// WORKING\n\t\t\t\tauxString = \"\";\n\t\t\t\tString auxString2 = \"\";\n\t\t\t\tfor (Group g : dataHolder.getGroupList()) {\n\t\t\t\t\tauxString += g.getName() + \", \";\n\t\t\t\t}\n\t\t\t\tfor (Group g : getGlobalGroups().getGroupList()) {\n\t\t\t\t\tauxString2 += g.getName() + \", \";\n\t\t\t\t}\n\t\t\t\tif (auxString.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString = auxString.substring(0, auxString.lastIndexOf(\",\"));\n\t\t\t\t}\n\t\t\t\tif (auxString2.lastIndexOf(\",\") > 0) {\n\t\t\t\t\tauxString2 = auxString2.substring(0, auxString2.lastIndexOf(\",\"));\n\t\t\t\t}\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Groups Available: \" + ChatColor.WHITE + auxString);\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"GlobalGroups Available: \" + ChatColor.WHITE + auxString2);\n\n\t\t\t\treturn true;\n\n\t\t\tcase manpromote:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manpromote <player> <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Players may not be members of GlobalGroups directly.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (permissionHandler.hasGroupInInheritance(auxGroup, senderGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The destination group can't be the same as yours, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (!permissionHandler.inGroup(senderUser.getUUID(), auxUser.getGroupName()) || !permissionHandler.inGroup(senderUser.getUUID(), auxGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player involving a group that you don't inherit.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!permissionHandler.hasGroupInInheritance(auxUser.getGroup(), auxGroup.getName()) && !permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player using groups with different heritage line.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The new group must be a higher rank.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxUser.setGroup(auxGroup);\n\t\t\t\tif (!sender.hasPermission(\"groupmanager.notify.other\") || (isConsole))\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You changed \" + auxUser.getLastName() + \" group to \" + auxGroup.getName() + \".\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase mandemote:\n\t\t\t\t// Validating state of sender\n\t\t\t\tif (dataHolder == null || permissionHandler == null) {\n\t\t\t\t\tif (!setDefaultWorldHandler(sender))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating arguments\n\t\t\t\tif (args.length != 2) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mandemote <player> <group>)\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif ((validateOnlinePlayer) && ((match = validatePlayer(args[0], sender)) == null)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif (match != null) {\n\t\t\t\t\tauxUser = dataHolder.getUser(match.get(0));\n\t\t\t\t} else {\n\t\t\t\t\tauxUser = dataHolder.getUser(args[0]);\n\t\t\t\t}\n\t\t\t\tauxGroup = dataHolder.getGroup(args[1]);\n\t\t\t\tif (auxGroup == null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"'\" + args[1] + \"' Group doesnt exist!\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (auxGroup.isGlobal()) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Players may not be members of GlobalGroups directly.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Validating permission\n\t\t\t\tif (!isConsole && !isOpOverride && (senderGroup != null ? permissionHandler.inGroup(auxUser.getUUID(), senderGroup.getName()) : false)) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player with same permissions as you, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (permissionHandler.hasGroupInInheritance(auxGroup, senderGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The destination group can't be the same as yours, or higher.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!isConsole && !isOpOverride && (!permissionHandler.inGroup(senderUser.getUUID(), auxUser.getGroupName()) || !permissionHandler.inGroup(senderUser.getUUID(), auxGroup.getName()))) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player involving a group that you don't inherit.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (!permissionHandler.hasGroupInInheritance(auxUser.getGroup(), auxGroup.getName()) && !permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"You can't modify a player using groups with different inheritage line.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName())) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"The new group must be a lower rank.\");\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\t// Seems OK\n\t\t\t\tauxUser.setGroup(auxGroup);\n\t\t\t\tif (!sender.hasPermission(\"groupmanager.notify.other\") || (isConsole))\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You changed \" + auxUser.getLastName() + \" group to \" + auxGroup.getName() + \".\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase mantogglevalidate:\n\t\t\t\tvalidateOnlinePlayer = !validateOnlinePlayer;\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Validate if player is online, now set to: \" + Boolean.toString(validateOnlinePlayer));\n\t\t\t\tif (!validateOnlinePlayer) {\n\t\t\t\t\tsender.sendMessage(ChatColor.GOLD + \"From now on you can edit players that are not connected... BUT:\");\n\t\t\t\t\tsender.sendMessage(ChatColor.LIGHT_PURPLE + \"From now on you should type the whole name of the player, correctly.\");\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\tcase mantogglesave:\n\t\t\t\tif (scheduler == null) {\n\t\t\t\t\tenableScheduler();\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The auto-saving is enabled!\");\n\t\t\t\t} else {\n\t\t\t\t\tdisableScheduler();\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"The auto-saving is disabled!\");\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\tcase manworld:\n\t\t\t\tauxString = selectedWorlds.get(sender.getName());\n\t\t\t\tif (auxString != null) {\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You have the world '\" + dataHolder.getName() + \"' in your selection.\");\n\t\t\t\t} else {\n\t\t\t\t\tif (dataHolder == null) {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"There is no world selected. And no world is available now.\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You don't have a world in your selection..\");\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Working with the direct world where your player is.\");\n\t\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Your world now uses permissions of world name: '\" + dataHolder.getName() + \"' \");\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\n\t\t\tcase manselect:\n\t\t\t\tif (args.length < 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/manselect <world>)\");\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Worlds available: \");\n\t\t\t\t\tArrayList<OverloadedWorldHolder> worlds = worldsHolder.allWorldsDataList();\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (int i = 0; i < worlds.size(); i++) {\n\t\t\t\t\t\tauxString += worlds.get(i).getName();\n\t\t\t\t\t\tif ((i + 1) < worlds.size()) {\n\t\t\t\t\t\t\tauxString += \", \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + auxString);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (int i = 0; i < args.length; i++) {\n\t\t\t\t\tif (args[i] == null) {\n\t\t\t\t\t\tlogger.warning(\"Bukkit gave invalid arguments array! Cmd: \" + cmd.getName() + \" args.length: \" + args.length);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tauxString += args[i];\n\t\t\t\t\tif (i < (args.length - 1)) {\n\t\t\t\t\t\tauxString += \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdataHolder = worldsHolder.getWorldData(auxString);\n\t\t\t\tpermissionHandler = dataHolder.getPermissionsHandler();\n\t\t\t\tselectedWorlds.put(sender.getName(), dataHolder.getName());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You have selected world '\" + dataHolder.getName() + \"'.\");\n\n\t\t\t\treturn true;\n\n\t\t\tcase manclear:\n\t\t\t\tif (args.length != 0) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count!\");\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tselectedWorlds.remove(sender.getName());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You have removed your world selection. Working with current world(if possible).\");\n\n\t\t\t\treturn true;\n\t\t\t\t\n\t\t\tcase mancheckw:\n\t\t\t\tif (args.length < 1) {\n\t\t\t\t\tsender.sendMessage(ChatColor.RED + \"Review your arguments count! (/mancheckw <world>)\");\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Worlds available: \");\n\t\t\t\t\tArrayList<OverloadedWorldHolder> worlds = worldsHolder.allWorldsDataList();\n\t\t\t\t\tauxString = \"\";\n\t\t\t\t\tfor (int i = 0; i < worlds.size(); i++) {\n\t\t\t\t\t\tauxString += worlds.get(i).getName();\n\t\t\t\t\t\tif ((i + 1) < worlds.size()) {\n\t\t\t\t\t\t\tauxString += \", \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tsender.sendMessage(ChatColor.YELLOW + auxString);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tauxString = \"\";\n\t\t\t\tfor (int i = 0; i < args.length; i++) {\n\t\t\t\t\tif (args[i] == null) {\n\t\t\t\t\t\tlogger.warning(\"Bukkit gave invalid arguments array! Cmd: \" + cmd.getName() + \" args.length: \" + args.length);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tauxString += args[i];\n\t\t\t\t\tif (i < (args.length - 1)) {\n\t\t\t\t\t\tauxString += \" \";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdataHolder = worldsHolder.getWorldData(auxString);\n\t\t\t\t\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"You have selected world '\" + dataHolder.getName() + \"'.\");\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"This world is using the following data files..\");\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Groups:\" + ChatColor.GREEN + \" \" + dataHolder.getGroupsFile().getAbsolutePath());\n\t\t\t\tsender.sendMessage(ChatColor.YELLOW + \"Users:\" + ChatColor.GREEN + \" \" + dataHolder.getUsersFile().getAbsolutePath());\n\n\t\t\t\treturn true;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsender.sendMessage(ChatColor.RED + \"You are not allowed to use that command.\");\n\t\treturn true;\n\t}", "@Override\n public void onEnable() {\n log.info(\"Loading players file\");\n try {\n players = this.load(PLAYERS_CONF_PATH);\n } catch (Exception e) {\n }\n if (players == null) {\n log.info(\"players == null, creating Map\");\n players = new HashMap<String, PlayerConfig>();\n }\n log.info(\"Enabling CanBadia Plugin\");\n\n PluginManager pm = this.getServer().getPluginManager();\n\n\n getCommand(\"trade\").setExecutor(tradeCommandExecutor);\n getCommand(\"god\").setExecutor(godCommandExecutor);\n getCommand(\"godsfullpower\").setExecutor(godCommandExecutor);\n getCommand(\"market\").setExecutor(marketCommandExecutor);\n getCommand(\"class\").setExecutor(godCommandExecutor);\n getCommand(\"wall\").setExecutor(wallCommandExecutor);\n\n\n /*Some other example listeners\n pm.registerEvent(Event.Type.PLAYER_MOVE, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_PLACE, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_BREAK, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.ENTITY_EXPLODE, entityListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_BREAK, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.CREATURE_SPAWN, spawnListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.ENTITY_EXPLODE, entityListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_BURN, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_IGNITE, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_INTERACT, playerListener, Event.Priority.Normal, this);\n */\n\n }", "public String getCommand() { return command; }", "private void registerCommands() {\n }", "private void createCommands()\n{\n exitCommand = new Command(\"Exit\", Command.EXIT, 0);\n helpCommand=new Command(\"Help\",Command.HELP, 1);\n backCommand = new Command(\"Back\",Command.BACK, 1);\n}", "@Override\r\n public void execute(Command command) {\n\r\n }", "public void registerCommands() {\n\t CommandSpec cmdCreate = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdCreate.getInstance())\n\t .permission(\"blockyarena.create\")\n\t .build();\n\n\t CommandSpec cmdRemove = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdRemove.getInstance())\n\t .permission(\"blockyarena.remove\")\n\t .build();\n\n\t CommandSpec cmdJoin = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"mode\")))\n\t )\n\t .executor(CmdJoin.getInstance())\n\t .build();\n\n\t CommandSpec cmdQuit = CommandSpec.builder()\n\t .executor(CmdQuit.getInstance())\n\t .build();\n\n\t CommandSpec cmdEdit = CommandSpec.builder()\n\t .arguments(\n\t onlyOne(GenericArguments.string(Text.of(\"id\"))),\n\t onlyOne(GenericArguments.string(Text.of(\"type\"))),\n\t GenericArguments.optional(onlyOne(GenericArguments.string(Text.of(\"param\"))))\n\t )\n\t .executor(CmdEdit.getInstance())\n\t .permission(\"blockyarena.edit\")\n\t .build();\n\n\t CommandSpec cmdKit = CommandSpec.builder()\n\t .arguments(onlyOne(GenericArguments.string(Text.of(\"id\"))))\n\t .executor(CmdKit.getInstance())\n\t .build();\n\n\t CommandSpec arenaCommandSpec = CommandSpec.builder()\n\t .child(cmdEdit, \"edit\")\n\t .child(cmdCreate, \"create\")\n\t .child(cmdRemove, \"remove\")\n\t .child(cmdJoin, \"join\")\n\t .child(cmdQuit, \"quit\")\n\t .child(cmdKit, \"kit\")\n\t .build();\n\n\t Sponge.getCommandManager()\n\t .register(BlockyArena.getInstance(), arenaCommandSpec, \"blockyarena\", \"arena\", \"ba\");\n\t }", "@Override\n\tpublic void onCommand(CommandSender sender, String[] args) {\n\t\t\n\t}", "@Override\n\tpublic void onCommand(CommandSender sender, String[] args) {\n\t\t\n\t}", "public void initDefaultCommand() \n {\n }", "int getCommand();", "private void registerCommands(){\n getCommand(\"mineregion\").setExecutor(new MineRegionCommand());\n getCommand(\"cellblock\").setExecutor(new CellBlockCommand());\n getCommand(\"cell\").setExecutor(new CellCommand());\n getCommand(\"prisonblock\").setExecutor(new PrisonBlockCommand());\n getCommand(\"rankup\").setExecutor(new RankUpCommand());\n getCommand(\"portal\").setExecutor(new PortalCommand());\n }", "private UpdateManager () {}", "private Command() {\n initFields();\n }", "boolean commandUse(CommandSender sender, String[] args);", "public void initDefaultCommand() {\n \n }", "public GetMotorPositionCommand ()\r\n {\r\n }", "protected void setCommand(CommandManager command) {\n\tthis.command = command;\n }", "public CommandSender getBukkitSender(CommandListenerWrapper wrapper) {\n/* 110 */ return (CommandSender)EntityMinecartCommandBlock.this.getBukkitEntity();\n/* */ }", "public Command getCurrentCommand();", "network.message.PlayerResponses.Command getCommand();", "public String getCommand(){\r\n return commandUpdate;\r\n }", "public Command(){\n \n comando.put(\"!addGroup\", 1);\n comando.put(\"!addUser\", 2);\n comando.put(\"!delFromGroup\", 3);\n comando.put(\"!removeGroup\", 4);\n comando.put(\"!upload\", 5);\n comando.put(\"!listUsers\",6);\n comando.put(\"!listGroups\",7);\n\n }", "public static CommandLogger getInstance() {\n if (instance == null) {\n synchronized (CommandLogger.class) {\n if (instance == null) {\n instance = new CommandLogger();\n }\n }\n }\n return instance;\n }", "public interface Command {\n\n\n}", "Command createCommand();", "String getCommand();", "public CommandHandler(MCAdmin plugin) {\n\t\tthis.plugin = plugin;\n\t\t//this.conn = plugin.getConnection();\n\t\t//this.wi = plugin.getWeb();\n\t}", "public String getGameCommands(){return \"\";}", "interface CommandBase {}", "@SuppressWarnings(\"unchecked\")\r\n private boolean unloadPlugin(PluginCommandManager manager, CommandSender player, String pluginName) {\r\n PluginManager pluginManager = Bukkit.getServer().getPluginManager();\r\n Plugin plugin = getPlugin(pluginName);\r\n if (plugin == null) {\r\n manager.sendMessage(player, \"A plugin with the name '\" + pluginName + \"' could not be found.\");\r\n return true;\r\n }\r\n SimplePluginManager simplePluginManager = (SimplePluginManager) pluginManager;\r\n try {\r\n Field pluginsField = simplePluginManager.getClass().getDeclaredField(\"plugins\");\r\n pluginsField.setAccessible(true);\r\n List<Plugin> plugins = (List<Plugin>) pluginsField.get(simplePluginManager);\r\n Field lookupNamesField = simplePluginManager.getClass().getDeclaredField(\"lookupNames\");\r\n lookupNamesField.setAccessible(true);\r\n Map<String, Plugin> lookupNames = (Map<String, Plugin>) lookupNamesField.get(simplePluginManager);\r\n Field commandMapField = simplePluginManager.getClass().getDeclaredField(\"commandMap\");\r\n commandMapField.setAccessible(true);\r\n SimpleCommandMap commandMap = (SimpleCommandMap) commandMapField.get(simplePluginManager);\r\n Field knownCommandsField;\r\n Map<String, Command> knownCommands = null;\r\n if (commandMap != null) {\r\n knownCommandsField = commandMap.getClass().getDeclaredField(\"knownCommands\");\r\n knownCommandsField.setAccessible(true);\r\n knownCommands = (Map<String, Command>) knownCommandsField.get(commandMap);\r\n }\r\n pluginManager.disablePlugin(plugin);\r\n if (plugins != null && plugins.contains(plugin)) {\r\n plugins.remove(plugin);\r\n }\r\n if (lookupNames != null && lookupNames.containsKey(pluginName)) {\r\n lookupNames.remove(pluginName);\r\n }\r\n if (commandMap != null && knownCommands != null) {\r\n for (Iterator<Map.Entry<String, Command>> it = knownCommands.entrySet().iterator(); it.hasNext();) {\r\n Map.Entry<String, Command> entry = it.next();\r\n if (entry.getValue() instanceof PluginCommand) {\r\n PluginCommand command = (PluginCommand) entry.getValue();\r\n if (command.getPlugin() == plugin) {\r\n command.unregister(commandMap);\r\n it.remove();\r\n }\r\n }\r\n }\r\n }\r\n } catch (NoSuchFieldException ex) {\r\n manager.sendMessage(player, \"Failed to query plugin manager, could not unload plugin.\");\r\n return true;\r\n } catch (SecurityException ex) {\r\n manager.sendMessage(player, \"Failed to query plugin manager, could not unload plugin.\");\r\n return true;\r\n } catch (IllegalArgumentException ex) {\r\n manager.sendMessage(player, \"Failed to query plugin manager, could not unload plugin.\");\r\n return true;\r\n } catch (IllegalAccessException ex) {\r\n manager.sendMessage(player, \"Failed to query plugin manager, could not unload plugin.\");\r\n return true;\r\n }\r\n \r\n manager.sendMessage(player, \"The plugin '\" + pluginName + \"' was successfully unloaded.\");\r\n m_plugin.cachePluginDetails();\r\n return true;\r\n }", "public boolean test(CommandSender sender, MCommand command);", "public abstract String getCommand();", "public interface CommandManagerService {\n\n\t/**\n\t * This method gets the available command types on the edge server and the\n\t * ID of the ReaderFactory that the command type works with.\n\t * \n\t * @return A set of CommandConfigPluginDTOs\n\t */\n\tSet<CommandConfigFactoryDTO> getCommandConfigFactories();\n\n\t/**\n\t * Get all the CommandConfigFactoryID associated with a readerFactoryID.\n\t * \n\t * @param readerFactoryID\n\t * @return\n\t */\n\tSet<CommandConfigFactoryDTO> getCommandConfigFactoriesByReaderID(String readerFactoryID);\n\n\t/**\n\t * Get the CommandConfigurationFactory\n\t * @param commandFactoryID\n\t * @return\n\t */\n\tCommandConfigFactoryDTO getCommandConfigFactory(\n\t\t\tString commandFactoryID);\n\n\t/**\n\t * Gets the DTOs for configured commands.\n\t * \n\t * @return a set of configured commands\n\t */\n\tSet<CommandConfigurationDTO> getCommands();\n\n\t/**\n\t * Gets the DTO for a given Command Configuration.\n\t * \n\t * @param commandConfigurationID\n\t * The ID of the commandConfiguration to get\n\t * @return A DTO for the configured command, or null if no command\n\t * configuration is available for the given ID\n\t */\n\tCommandConfigurationDTO getCommandConfiguration(\n\t\t\tString commandConfigurationID);\n\n\t/**\n\t * Gets the meta information necessary to construct a new Command.\n\t * \n\t * @param commandType\n\t * the type of command to make\n\t * @return an MBeanInfo object that describes how to make a new command\n\t */\n\tMBeanInfo getCommandDescription(String commandType);\n\n\t/**\n\t * Create a new Command.\n\t * \n\t * @param commandType\n\t * The type of the Command to make\n\t * @param properties\n\t * the properties of a Command\n\t * @return the id of new created command\n\t */\n\tString createCommand(String commandType, AttributeList properties);\n\n\t/**\n\t * Sets the properties of a Command.\n\t * \n\t * @param commandID\n\t * the ID of the command to set\n\t * @param properties\n\t * the new properties of the command\n\t */\n\tvoid setCommandProperties(String commandID, AttributeList properties);\n\n\t/**\n\t * Delete a command configuration.\n\t * \n\t * @param commandConfigurationID\n\t * the ID of the commandConfiguration to delete\n\t */\n\tvoid deleteCommand(String commandID);\n}", "public interface CommandInterface {\n\n\tpublic static class Commands\n\t{\n\t\tpublic static final String ABORT = \"ABOR\";\n\t\tpublic static final String ACCOUNT_INFO = \"ACCT\";\n\t\tpublic static final String AUTHENTICATION_DATA = \"ADAT\";\n\t\tpublic static final String ALLOCATE_DISK_SPACE = \"ALLO\";\n\t\tpublic static final String APPEND = \"APPE\";\n\t\tpublic static final String AUTHENTICATION_MECHANISM = \"AUTH\";\n\t\tpublic static final String GET_AVAILABLE_SPACE = \"AVBL\";\n\t\tpublic static final String CLEAR_COMMAND_CHANNEL = \"CCC\";\n\t\tpublic static final String CHANGE_TO_PARENT_DIRECTORY = \"CDUP\";\n\t\tpublic static final String CONFIDENTIALITY_PROTECTION_COMMAND = \"CONF\";\n\t\tpublic static final String SERVER_IDENTIFICATION = \"CSID\";\n\t\tpublic static final String CHANGE_WORKING_DIRECTORY = \"CWD\";\n\t\tpublic static final String DELETE_FILE = \"DELE\";\n\t\tpublic static final String GET_DIRECTORY_SIZE = \"DSIZ\";\n\t\tpublic static final String PRIVACY_PROTECTED = \"ENC\";\n\t\tpublic static final String SPECIFY_ADDRESS_AND_PORT = \"EPRT\";\n\t\tpublic static final String ENTER_EXTENDED_PASSIVE_MODE = \"EPSV\";\n\t\tpublic static final String GET_FEATURE_LIST = \"FEAT\";\n\t\tpublic static final String HELP = \"HELP\";\n\t\tpublic static final String GET_HOST_BY_NAME = \"HOST\";\n\t\tpublic static final String LANGUAGE_NEGOTIATION = \"LANG\";\n\t\tpublic static final String GET_FILES_LIST = \"LIST\";\n\t\tpublic static final String SPECIFY_LONGADDRESS_AND_PORT = \"LPRT\";\n\t\tpublic static final String ENTER_LONG_PASSIVE_MODE = \"LPSV\";\n\t\tpublic static final String GET_LAST_MODIFICATION_TIME = \"MDTM\";\n\t\tpublic static final String MODIFY_CREATION_TIME = \"MFCT\";\n\t\tpublic static final String MODIFY_FACT = \"MFF\";\n\t\tpublic static final String MODIFY_MODYFICATION_TIME = \"MFMT\";\n\t\tpublic static final String INTEGRITY_PROTECTION = \"MIC\";\n\t\tpublic static final String MAKE_DIRECTORY = \"MKD\";\n\t\tpublic static final String LIST_A_CONTENT = \"MLSD\";\n\t\tpublic static final String PROVIDES_DATA = \"MLST\";\n\t\tpublic static final String SET_TRANSFER_MODE = \"MODE\";\n\t\tpublic static final String LIST_OF_FILE_NAMES = \"NLST\";\n\t\tpublic static final String NO_OPERATION = \"NOOP\";\n\t\tpublic static final String SELECT_OPTIONS = \"OPTS\";\n\t\tpublic static final String AUTHENTICATION_PASSWORD = \"PASS\";\n\t\tpublic static final String ENTER_PASSIVE_MODE = \"PASV\";\n\t\tpublic static final String PROTECTION_BUFFER_SIZE = \"PBSZ\";\n\t\tpublic static final String SPECIFY_PORT = \"PORT\";\n\t\tpublic static final String DATA_CHANNEL_PROTECTION_LEVEL = \"PROT\";\n\t\tpublic static final String PRINT_WORKING_DIRECTORY = \"PWD\";\n\t\tpublic static final String DISCONNECT = \"QUIT\";\n\t\tpublic static final String REINITIALIZE = \"REIN\";\n\t\tpublic static final String RESTART = \"REST\";\n\t\tpublic static final String RETRIEVE_A_COPY = \"RETR\";\n\t\tpublic static final String REMOVE_DIRECTORY = \"RMD\";\n\t\tpublic static final String REMOVE_DIRECTORY_TREE = \"RMDA\";\n\t\tpublic static final String RENAME_FROM = \"RNFR\";\n\t\tpublic static final String RENAME_TO = \"RNTO\";\n\t\tpublic static final String SITE_SPECIFFIC_COMMAND = \"SITE\";\n\t\tpublic static final String SIZE_OF_FILE = \"SIZE\";\n\t\tpublic static final String MOUNT_FILE_STRUCTURE = \"SMNT\";\n\t\tpublic static final String USE_SINGLE_PORT_PASSIVE_MODE = \"SPSV\";\n\t\tpublic static final String GET_STATUS = \"STAT\";\n\t\tpublic static final String ACCEPT_AND_STORE = \"STOR\";\n\t\tpublic static final String STORE_FILE_UNIQUELY = \"STOU\";\n\t\tpublic static final String SET_FILE_TRANSFER_STRUCT = \"STRU\";\n\t\tpublic static final String GET_SYSTEM_TYPE = \"SYST\";\n\t\tpublic static final String GET_THUMBNAIL = \"THMB\";\n\t\tpublic static final String SET_TRANSFER_TYPE = \"TYPE\";\n\t\tpublic static final String AUTHENTICATION_USERNAME = \"USER\";\n\t}\n\t\n\t/**\n\t * Types of transmission.\n\t * @author P.Gajewski\n\t *\n\t */\n\tpublic static class TransmissionTypes\n\t{\n\t\tpublic static final String BINARY = \"I\";\n\t\tpublic static final String ASCII = \"A\";\n\t}\n\n\t/**\n\t * Inner class for responses from server.\n\t * @author P.Gajewski\n\t *\n\t */\n\tpublic static class ServerResonses\n\t{\n\t\t/**\n\t\t * 1xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class PossitivePreliminaryReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"100\";\n\t\t\tpublic static final String RESTART_REPLY = \"110\";\n\t\t\tpublic static final String SERVICE_READY = \"120\";\t\n\t\t\tpublic static final String DATA_CONNECTION_ALREADY_OPENED = \"125\";\n\t\t\tpublic static final String FILE_STATUS_OKAY = \"150\";\n\t\t}\n\t\t\n\t\t/**\n\t\t * 2xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class PossitiveCompletionReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"200\";\n\t\t\tpublic static final String SYSTEM_STATUS = \"211\";\n\t\t\tpublic static final String DIRECTORY_STATUS = \"212\";\n\t\t\tpublic static final String FILE_STATUS = \"213\";\n\t\t\tpublic static final String HELP_MESSAGE = \"214\";\n\t\t\tpublic static final String NAME_SYSTEM_TYPE = \"215\";\n\t\t\tpublic static final String READY_FOR_NEW_USER = \"220\";\n\t\t\tpublic static final String SERVICE_CLOSING_CONTROL_CONNECTION = \"221\";\n\t\t\tpublic static final String OPEN_DATA_CONNECTION = \"225\";\t\t\t\n\t\t\tpublic static final String CLOSING_DATA_CONNECTION = \"226\";\n\t\t\tpublic static final String PASSIVE_MODE = \"227\";\n\t\t\tpublic static final String LONG_PASSIVE_MODE = \"228\";\n\t\t\tpublic static final String EXTENDED_PASSIVE_MODE = \"229\";\n\t\t\tpublic static final String USER_LOG_IN = \"230\";\n\t\t\tpublic static final String USER_LOG_OUT = \"231\";\n\t\t\tpublic static final String LOGOUT_NOTED = \"232\";\n\t\t\tpublic static final String REQUESTED_OK = \"250\";\n\t\t\tpublic static final String PATHNAME_CREATED = \"257\";\t\t\t\n\t\t}\n\t\t\n\t\t/**\n\t\t * 3xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class PositiveIntermediateReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"300\";\n\t\t\tpublic static final String USERNAME_OK_PASSWORD_NEEDED = \"331\";\n\t\t\tpublic static final String NEED_ACCOUNT_FOR_LOGIN = \"332\";\n\t\t\tpublic static final String REQUESTED_FILE_ACTION = \"350\";\n\t\t}\n\t\t\n\t\t/**\n\t\t * 4xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class TransientNegativeCompletionReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"400\";\n\t\t\tpublic static final String SERVICE_NOT_AVAILABLE = \"421\";\n\t\t\tpublic static final String CANT_OPEN_DATA_CONNECTION = \"425\";\n\t\t\tpublic static final String CONNECTION_CLOSED = \"426\";\n\t\t\tpublic static final String INVALID_USERNAME_OR_PASSWORD = \"430\";\n\t\t\tpublic static final String REQUESTED_HOST_UNAVAILABLE = \"434\";\n\t\t\tpublic static final String REQUESTED_FILE_ACTION_NOT_TAKEN = \"450\";\n\t\t\tpublic static final String LOCAL_ERROR = \"451\";\n\t\t\tpublic static final String FILE_BUSY = \"452\";\t\n\t\t}\n\t\t\n\t\t/**\n\t\t * 5xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class PermamentNegativeCompletionReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"500\";\n\t\t\tpublic static final String SYNTAX_ERROR = \"501\";\n\t\t\tpublic static final String COMMAND_NOT_IMPLEMENTED = \"502\";\n\t\t\tpublic static final String BAD_SEQUENCE_OF_COMMANDS = \"503\";\n\t\t\tpublic static final String COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER = \"504\";\n\t\t\tpublic static final String NOT_LOGGED_IN = \"530\";\n\t\t\tpublic static final String NEED_ACCOUNT_FOR_STORING_FILES = \"532\";\n\t\t\tpublic static final String POLICY_REQUIRES_SSL = \"534\";\n\t\t\tpublic static final String FILE_NOT_FOUND = \"550\";\n\t\t\tpublic static final String PAGE_TYPE_UNKNOWN = \"551\";\t\t\t\n\t\t\tpublic static final String EXCEEDED_STORAGE_ALLOCATION = \"552\";\n\t\t\tpublic static final String FILE_NAME_NOT_ALLOWED = \"553\";\t\t\n\t\t}\n\t\t\n\t\t/**\n\t\t * 6xx replay codes.\n\t\t * @author P.Gajewski\n\t\t *\n\t\t */\n\t\tpublic static class ProtectedReply\n\t\t{\n\t\t\tpublic static final String GENERAL = \"600\";\n\t\t\tpublic static final String INTEGRITY_PROTECTED_REPLY = \"631\";\n\t\t\tpublic static final String CONFIDENTIALITY_AND_INTEGRITY_PROTECTED_REPLY = \"632\";\t\t\t\n\t\t\tpublic static final String CONFIDENTIALITY_PROTECTED_REPLY = \"633\";\t\t\t\n\t\t}\n\t}\n\t\n\t/**\n\t * Language controller.\n\t */\n\tpublic final static LanguageController lc = LanguageController.getInstance();\n\t\n\tpublic void execute(FTPLexer lexer);\n}", "private FacadeCommandOfService() {\n // We retrieve the UserDao\n this.DAO = CommandOfServiceDAO.getInstance();\n this.userDAO = UserDAO.getInstance();\n }", "private interface Command {\n public void execute();\n }", "public void initDefaultCommand()\n {\n }", "public synchronized void initializeCommands() {\n/* 101 */ Set<String> ignoredPlugins = new HashSet<String>(this.yaml.getIgnoredPlugins());\n/* */ \n/* */ \n/* 104 */ if (ignoredPlugins.contains(\"All\")) {\n/* */ return;\n/* */ }\n/* */ \n/* */ \n/* 109 */ label61: for (Command command : this.server.getCommandMap().getCommands()) {\n/* 110 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* */ \n/* */ \n/* 115 */ for (Class c : this.topicFactoryMap.keySet()) {\n/* 116 */ if (c.isAssignableFrom(command.getClass())) {\n/* 117 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 118 */ if (t != null) { addTopic(t); continue label61; }\n/* */ continue label61;\n/* */ } \n/* 121 */ if (command instanceof PluginCommand && c.isAssignableFrom(((PluginCommand)command).getExecutor().getClass())) {\n/* 122 */ HelpTopic t = ((HelpTopicFactory)this.topicFactoryMap.get(c)).createTopic(command);\n/* 123 */ if (t != null) addTopic(t);\n/* */ \n/* */ } \n/* */ } \n/* 127 */ addTopic((HelpTopic)new GenericCommandHelpTopic(command));\n/* */ } \n/* */ \n/* */ \n/* 131 */ for (Command command : this.server.getCommandMap().getCommands()) {\n/* 132 */ if (commandInIgnoredPlugin(command, ignoredPlugins)) {\n/* */ continue;\n/* */ }\n/* 135 */ for (String alias : command.getAliases()) {\n/* */ \n/* 137 */ if (this.server.getCommandMap().getCommand(alias) == command) {\n/* 138 */ addTopic(new CommandAliasHelpTopic(\"/\" + alias, \"/\" + command.getLabel(), this));\n/* */ }\n/* */ } \n/* */ } \n/* */ \n/* */ \n/* 144 */ Collection<HelpTopic> filteredTopics = Collections2.filter(this.helpTopics.values(), Predicates.instanceOf(CommandAliasHelpTopic.class));\n/* 145 */ if (!filteredTopics.isEmpty()) {\n/* 146 */ addTopic((HelpTopic)new IndexHelpTopic(\"Aliases\", \"Lists command aliases\", null, filteredTopics));\n/* */ }\n/* */ \n/* */ \n/* 150 */ Map<String, Set<HelpTopic>> pluginIndexes = new HashMap<String, Set<HelpTopic>>();\n/* 151 */ fillPluginIndexes(pluginIndexes, this.server.getCommandMap().getCommands());\n/* */ \n/* 153 */ for (Map.Entry<String, Set<HelpTopic>> entry : pluginIndexes.entrySet()) {\n/* 154 */ addTopic((HelpTopic)new IndexHelpTopic(entry.getKey(), \"All commands for \" + (String)entry.getKey(), null, entry.getValue(), \"Below is a list of all \" + (String)entry.getKey() + \" commands:\"));\n/* */ }\n/* */ \n/* */ \n/* 158 */ for (HelpTopicAmendment amendment : this.yaml.getTopicAmendments()) {\n/* 159 */ if (this.helpTopics.containsKey(amendment.getTopicName())) {\n/* 160 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendTopic(amendment.getShortText(), amendment.getFullText());\n/* 161 */ if (amendment.getPermission() != null) {\n/* 162 */ ((HelpTopic)this.helpTopics.get(amendment.getTopicName())).amendCanSee(amendment.getPermission());\n/* */ }\n/* */ } \n/* */ } \n/* */ }", "void legalCommand();", "public void setCommand(String command){\r\n commandUpdate=command;\r\n }", "public void onEnable(){\n new File(getDataFolder().toString()).mkdir();\n playerFile = new File(getDataFolder().toString() + \"/playerList.txt\");\n commandFile = new File(getDataFolder().toString() + \"/commands.txt\");\n blockFile = new File(getDataFolder().toString() + \"/blockList.txt\");\n deathFile = new File(getDataFolder().toString() + \"/deathList.txt\");\n startupFile = new File(getDataFolder().toString() + \"/startupCommands.txt\");\n \n //Load the player file data\n playerCommandMap = new HashMap<String, String>();\n try{\n BufferedReader br = new BufferedReader(new FileReader(playerFile));\n StringTokenizer st;\n String input;\n String name;\n String command;\n while((input = br.readLine()) != null){\n if(input.compareToIgnoreCase(\"<Player> <Command>\") == 0){\n continue;\n }\n st = new StringTokenizer(input, \" \");\n name = st.nextToken();\n command = st.nextToken();\n playerCommandMap.put(name, command);\n }\n \n }catch(FileNotFoundException e){\n log.info(\"No original player command file, creating new one.\");\n }catch(IOException e){\n log.info(\"Error reading player command file\");\n }catch(Exception e){\n log.info(\"Incorrectly formatted player command file\");\n }\n \n //Load the block file data\n blockCommandMap = new HashMap<Location, String>();\n try{\n BufferedReader br = new BufferedReader(new FileReader(blockFile));\n StringTokenizer st;\n String input;\n String command;\n Location loc = null;\n \n while((input = br.readLine()) != null){\n if(input.compareToIgnoreCase(\"<Block Location> <Command>\") == 0){\n continue;\n }\n st = new StringTokenizer(input, \" \");\n loc = new Location(getServer().getWorld(UUID.fromString(st.nextToken())), Double.parseDouble(st.nextToken()), Double.parseDouble(st.nextToken()), Double.parseDouble(st.nextToken()));\n command = st.nextToken();\n blockCommandMap.put(loc, command);\n }\n \n }catch(FileNotFoundException e){\n log.info(\"No original block command file, creating new one.\");\n }catch(IOException e){\n log.info(\"Error reading block command file\");\n }catch(Exception e){\n log.info(\"Incorrectly formatted block command file\");\n }\n \n //Load the player death file data\n deathCommandMap = new HashMap<String, String>();\n try{\n BufferedReader br = new BufferedReader(new FileReader(deathFile));\n StringTokenizer st;\n String input;\n String name;\n String command;\n while((input = br.readLine()) != null){\n if(input.compareToIgnoreCase(\"<Player> <Command>\") == 0){\n continue;\n }\n st = new StringTokenizer(input, \" \");\n name = st.nextToken();\n command = st.nextToken();\n deathCommandMap.put(name, command);\n }\n \n }catch(FileNotFoundException e){\n log.info(\"No original player death command file, creating new one.\");\n }catch(IOException e){\n log.info(\"Error reading player death command file\");\n }catch(Exception e){\n log.info(\"Incorrectly formatted player death command file\");\n }\n \n //Load the start up data\n startupCommands = \"\";\n try{\n BufferedReader br = new BufferedReader(new FileReader(startupFile));\n String input;\n while((input = br.readLine()) != null){\n if(input.compareToIgnoreCase(\"<Command>\") == 0){\n continue;\n }\n startupCommands += \":\" + input;\n }\n \n }catch(FileNotFoundException e){\n log.info(\"No original start up command file, creating new one.\");\n }catch(IOException e){\n log.info(\"Error reading start up command file\");\n }catch(Exception e){\n log.info(\"Incorrectly formatted start up command file\");\n }\n \n //Load the command file data\n commandMap = new HashMap<String, String>();\n try{\n BufferedReader br = new BufferedReader(new FileReader(commandFile));\n StringTokenizer st;\n String input;\n String args;\n String name;\n \n //Assumes that the name is only one token long\n while((input = br.readLine()) != null){\n if(input.compareToIgnoreCase(\"<Identifing name> <Command>\") == 0){\n continue;\n }\n st = new StringTokenizer(input, \" \");\n name = st.nextToken();\n args = st.nextToken();\n while(st.hasMoreTokens()){\n args += \" \" + st.nextToken();\n }\n commandMap.put(name, args);\n }\n \n }catch(FileNotFoundException e){\n log.info(\"No original command file, creating new one.\");\n }catch(IOException e){\n log.info(\"Error reading command file\");\n }catch(Exception e){\n log.info(\"Incorrectly formatted command file\");\n }\n \n placeBlock = false;\n startupDone = false;\n blockCommand = \"\";\n playerPosMap = new HashMap<String, Location>();\n \n //Set up the listeners\n PluginManager pm = this.getServer().getPluginManager();\n pm.registerEvent(Event.Type.PLAYER_INTERACT_ENTITY, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_INTERACT, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_MOVE, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.ENTITY_DEATH, entityListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.BLOCK_BREAK, blockListener, Event.Priority.Normal, this);\n pm.registerEvent(Event.Type.PLUGIN_ENABLE, serverListener, Event.Priority.Normal, this);\n \n log.info(\"Autorun Commands v2.3 is enabled\");\n }", "private void registerCommands() {\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.HOME.toString())) {\r\n\t\t\t(new HomeCommand(this)).register();\r\n\t\t\t(new SetHomeCommand(this)).register();\r\n\t\t\t(new DelHomeCommand(this)).register();\r\n\t\t\t(new ListHomesCommand(this)).register();\r\n\t\t\t(new NearbyHomesCommand(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.BACK.toString())) {\r\n\t\t\t(new Back(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.TPASK.toString())) {\r\n\t\t\t(new TeleportToggle(this)).register();\r\n\t\t\t(new TpAsk(this)).register();\r\n\t\t\t(new TpAskHere(this)).register();\r\n\t\t\t(new TeleportAccept(this)).register();\r\n\t\t\t(new TeleportDeny(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.TELEPORT.toString())) {\r\n\t\t\t(new Teleport(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.SPEED_SETTING.toString())) {\r\n\t\t\t(new SpeedCommand(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.FLY.toString())) {\r\n\t\t\t(new FlyCommand(this)).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.GAMEMODE.toString())) {\r\n\t\t\tGameModeCommand gmc = new GameModeCommand(this);\r\n\t\t\tPlayerLoader loader = new PlayerLoader(true, false, false, false);\r\n\t\t\tGameModeLoader gml = new GameModeLoader(true);\r\n\t\t\tgmc.setLoader(gml);\r\n\t\t\tgml.setLoader(loader);\r\n\t\t\tgmc.register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.PLAYER_CMD.toString())) {\r\n\t\t\t// create command and player loader\r\n\t\t\tPlayerCommand pc = new PlayerCommand();\r\n\t\t\tPlayerLoader playerLoader = new PlayerLoader(true, false, false, false);\r\n\t\t\t\r\n\t\t\t// create components\r\n\t\t\tFeedComponent fc = new FeedComponent();\r\n\t\t\tfc.setLoader(playerLoader);\r\n\t\t\tStarveComponent sc = new StarveComponent();\r\n\t\t\tsc.setLoader(playerLoader);\r\n\t\t\tHealComponent hc = new HealComponent();\r\n\t\t\thc.setLoader(playerLoader);\r\n\t\t\tKillComponent kc = new KillComponent();\r\n\t\t\tkc.setLoader(playerLoader);\r\n\t\t\tBurnComponent bc = new BurnComponent();\r\n\t\t\tbc.setLoader(playerLoader);\r\n\t\t\tExtinguishComponent ec = new ExtinguishComponent();\r\n\t\t\tec.setLoader(playerLoader);\r\n\t\t\tLightningComponent lc = new LightningComponent();\r\n\t\t\tlc.setLoader(playerLoader);\r\n\t\t\tLightningEffectComponent lec = new LightningEffectComponent();\r\n\t\t\tlec.setLoader(playerLoader);\r\n\t\t\t\r\n\t\t\tPlayerLoader gcLoader = new PlayerLoader(false, false, false, false);\r\n\t\t\tBinaryLoader ooc = new BinaryLoader(true, BinaryLoader.BINARY.ENABLE_DISABLE);\r\n\t\t\tooc.setLoader(gcLoader);\r\n\t\t\t\r\n\t\t\tInvincibleComponent gc = new InvincibleComponent();\r\n\t\t\tgc.setLoader(ooc);\r\n\t\t\t\r\n\t\t\t// add components\r\n\t\t\tpc.addComponent(\"feed\", fc);\r\n\t\t\tpc.addComponent(\"starve\", sc);\r\n\t\t\tpc.addComponent(\"heal\", hc);\r\n\t\t\tpc.addComponent(\"invincible\", gc);\r\n\t\t\tpc.addComponent(\"kill\", kc);\r\n\t\t\tpc.addComponent(\"burn\", bc);\r\n\t\t\tpc.addComponent(\"extinguish\", ec);\r\n\t\t\tpc.addComponent(\"lightning\", lc);\r\n\t\t\tpc.addComponent(\"lightningeffect\", lec);\r\n\t\t\t\r\n\t\t\t// register command\r\n\t\t\tpc.register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.HAT.toString())) {\r\n\t\t\t// /hat command\r\n\t\t\t(new HatCommand()).register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.WORKBENCH_ENDERCHEST.toString())) {\r\n\t\t\t// /enderchest and /workbench commands\r\n\t\t\tWorkbenchCommand wb = new WorkbenchCommand();\r\n\t\t\twb.setPermission(\"karanteenials.inventory.workbench\");\r\n\t\t\twb.register();\r\n\t\t\t\r\n\t\t\tEnderChestCommand ec = new EnderChestCommand();\r\n\t\t\tec.setPermission(\"karanteenials.inventory.enderchest\");\r\n\t\t\tec.register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.CLEAR_INVENTORY.toString())) {\r\n\t\t\tClearInventoryCommand cic = new ClearInventoryCommand();\r\n\t\t\tPlayerLoader pl = new PlayerLoader(true, false, false, false);\r\n\t\t\tMaterialLoader ml = new MaterialLoader(true, false, false);\r\n\t\t\tpl.setLoader(ml);\r\n\t\t\tcic.setLoader(pl);\r\n\t\t\tpl.setPermission(\"karanteenials.inventory.clear-multiple\");\r\n\t\t\tcic.setPermission(\"karanteenials.inventory.clear\");\r\n\t\t\tcic.register();\r\n\t\t}\r\n\t\t\r\n\t\t// /nick command\r\n\t\t/*if(getSettings().getBoolean(KEY_PREFIX+KEYS.NICK.toString())) {\r\n\t\t\tNickCommand nc = new NickCommand();\r\n\t\t\tnc.register();\r\n\t\t}*/\r\n\t\t\r\n\t\t\r\n\t\t// /enchant command\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.ENCHANT_COMMAND.toString())) {\r\n\t\t\tEnchantCommand ec = new EnchantCommand();\r\n\t\t\t\r\n\t\t\tGiveEnchantmentComponent gec = new GiveEnchantmentComponent();\r\n\t\t\tgec.setPermission(\"karanteenials.enchant.set\");\r\n\t\t\t\r\n\t\t\tRemoveEnchantmentComponent rec = new RemoveEnchantmentComponent();\r\n\t\t\trec.setPermission(\"karanteenials.enchant.remove\");\r\n\t\t\t\r\n\t\t\tec.addComponent(\"give\", gec);\r\n\t\t\tec.addComponent(\"remove\", rec);\r\n\t\t\t\r\n\t\t\tEnchantmentLoader giveEnchLoader = new EnchantmentLoader();\r\n\t\t\tgec.setLoader(giveEnchLoader);\r\n\t\t\t\r\n\t\t\tEnchantmentLoader removeEnchLoader = new EnchantmentLoader();\r\n\t\t\trec.setLoader(removeEnchLoader);\r\n\t\t\t\r\n\t\t\tLevelLoader ll = new LevelLoader();\r\n\t\t\tgiveEnchLoader.setLoader(ll);\r\n\t\t\t\r\n\t\t\tec.register();\r\n\t\t}\r\n\t\t\r\n\t\t// /rtp command\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.RANDOM_TELEPORT.toString())) {\r\n\t\t\tRandomTeleport rtp = new RandomTeleport();\r\n\t\t\tPlayerLoader pl = new PlayerLoader(true, false, true, false);\r\n\t\t\trtp.setLoader(pl);\r\n\t\t\trtp.register();\r\n\t\t}\r\n\t\t\r\n\t\tif(getSettings().getBoolean(KEY_PREFIX+KEYS.NEAR_COMMAND.toString())) {\r\n\t\t\tNearCommand nc = new NearCommand();\r\n\t\t\tnc.setPermission(\"karanteenials.near\");\r\n\t\t\tnc.register();\r\n\t\t}\r\n\t}", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n }", "public void initDefaultCommand() {\n \n }", "public void initDefaultCommand() {\n\t}", "public String Command() {\n\treturn command;\n }", "Commands createCommands();", "public String getCommand() {\r\n return command;\r\n }", "public AbstractCommand()\n {\n this.logger = new ConsoleLogger();\n }", "@Override\n public void initDefaultCommand() {\n\n }", "public Commands(){\n this.power = 0;\n this.direction = 0;\n this.started = false;\n this.runTime = new ElapsedTime();\n this.timeGoal = 0;\n }", "CommandHandler() {\n registerArgument(new ChallengeCmd());\n registerArgument(new CreateCmd());\n }", "public void getCommandsUpdate() {\n\t\t\r\n\t}", "public static FacadeCommandOfService getInstance(){\n if(facadeCommandOfService == null){\n facadeCommandOfService = new FacadeCommandOfService();\n }\n return facadeCommandOfService;\n }", "public interface Command {\n\n /**\n * Executes given command, returns the results.\n *\n * <p><b>Note:</b> Command only executes by a player.</p>\n *\n * @param player Player executed command\n * @param params Passed command parameters\n * @return Command's result was executed\n */\n @NotNull\n CommandResult onCommand(@NotNull Player player, @NotNull String[] params);\n\n /**\n * Executes given command, returns the results.\n *\n * <p><b>Note:</b> Command only executes in the console.</p>\n *\n * @param console Console sender executed command\n * @param params Passed command parameters\n * @return Command's result was executed\n */\n @NotNull\n CommandResult onConsoleCommand(@NotNull ConsoleCommandSender console,\n @NotNull String[] params);\n\n /**\n * Requests a list of possible completions for a command parameters.\n *\n * <p><b>Note:</b> Request will be executed if command were executed by a player.</p>\n *\n * @param player Player executed command\n * @param params The parameters pass to the to the command, including final partial parameter to\n * be completed and command label\n * @return A result contains a list of possible completions for the final argument, or an empty\n * list to default to the command executor and string to search for.\n */\n @NotNull\n TabResult onTab(@NotNull Player player, @NotNull String[] params);\n\n /**\n * Requests a list of possible completions for a command parameters.\n *\n * <p><b>Note:</b> Request will be executed if command was executed in the console.</p>\n *\n * @param console Console sender executed command\n * @param params The parameters pass to the to the command, including final partial parameter to\n * be completed and command label\n * @return A result contains a list of possible completions for the final argument, or an empty\n * list to default to the command executor and string to search for.\n */\n @NotNull\n TabResult onConsoleTab(@NotNull ConsoleCommandSender console,\n @NotNull String[] params);\n\n /**\n * Returns parent {@link Command} of this command.\n *\n * @return Parent of this command\n * @deprecated Rename to {@link #getRoot()}\n */\n @Deprecated\n @Nullable\n Command getParent();\n\n /**\n * Returns root {@link Command} of this command.\n *\n * @return Root of this command\n */\n @Nullable\n Command getRoot();\n\n /**\n * Returns the name of this command.\n *\n * @return Name of this command\n */\n @NotNull\n String getName();\n\n /**\n * Returns the {@link PermissionWrapper} of this command\n *\n * @return The permission wrapper of this command\n */\n @NotNull\n PermissionWrapper getPermission();\n\n /**\n * Get the syntax or example usage of this command.\n *\n * @return Syntax of this command\n */\n @NotNull\n String getSyntax();\n\n /**\n * Gets a brief description of this command\n *\n * @return Description of this command\n */\n @NotNull\n String getDescription();\n\n /**\n * Returns a list of active aliases of this command, include value of {@link #getName()} method.\n *\n * @return List of aliases\n */\n @NotNull\n List<String> getAliases();\n\n String toString();\n}", "private GameManager() \n\t{\n\t\t\n\t}" ]
[ "0.7202538", "0.6649845", "0.65374464", "0.64781475", "0.6430673", "0.62819993", "0.627031", "0.6073448", "0.60680187", "0.6027997", "0.59596163", "0.5882489", "0.585643", "0.5854726", "0.58279175", "0.5819795", "0.5795246", "0.57392", "0.5728686", "0.57283556", "0.5727552", "0.57011104", "0.5694804", "0.5667746", "0.5630031", "0.56268346", "0.56255555", "0.56255555", "0.5606851", "0.5583539", "0.55823934", "0.5559352", "0.55540645", "0.55514544", "0.55511624", "0.5544277", "0.55363435", "0.5522211", "0.5521649", "0.5514784", "0.55138826", "0.5501874", "0.5501817", "0.54959935", "0.549024", "0.5484189", "0.5478001", "0.54653776", "0.5462813", "0.54545397", "0.54511243", "0.544794", "0.54451853", "0.54396224", "0.54362994", "0.5433236", "0.5419314", "0.5417791", "0.5414862", "0.53993607", "0.5392077", "0.539076", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.5388694", "0.53884196", "0.53774524", "0.5356898", "0.53566146", "0.5355821", "0.5354754", "0.5342819", "0.5334017", "0.5328021", "0.53239536", "0.5322173", "0.5321922", "0.53214693" ]
0.5904823
11
Tests this surface for intersection with ray. If an intersection is found record is filled out with the information about the intersection and the method returns true. It returns false otherwise and the information in outRecord is not modified.
public boolean intersect(IntersectionRecord outRecord, Ray rayIn) { // TODO#A2: fill in this function. Vector3d d = rayIn.direction; Vector3d e = rayIn.origin; Vector3d c = (new Vector3d()).addMultiple(1, center); Vector3d ec = e.clone().sub(c); double dec = d.clone().dot(ec); double dd = d.clone().dot(d); double discr = Math.sqrt(Math.pow(dec, 2) - dd * (ec.clone().dot(ec) - Math.pow(radius, 2))); if (discr > 0) { double t1 = (-dec + discr) / dd; double t2 = (-dec - discr) / dd; if ((t1 > rayIn.start && t1 < rayIn.end) || (t2 > rayIn.start && t2 < rayIn.end)) { double t; if (t1 < t2) { if (t1 > rayIn.start) { t = t1; } else { t = t2; } } else { if (t2 > rayIn.start) { t = t2; } else { t = t1; } } Vector3d p = e.clone().add(d.clone().mul(t)); outRecord.location.set(p); outRecord.normal.set(p.clone().sub(c).div(radius).normalize()); double theta = Math.acos((p.z-c.z) / radius); double phi = Math.atan2(p.y-c.y, p.x-c.x); if (phi < 0) { phi += M_2PI; } double u = phi / M_2PI; double v = (Math.PI-theta) / Math.PI; outRecord.texCoords.set(u,v); outRecord.surface = this; outRecord.t = t; rayIn.end = t; return true; } return false; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean intersect(IntersectionRecord outRecord, Ray rayIn) {\n\t// TODO: Process rayIn so that it is in the same coordinates as the object.\n // This should be a single line.\n\trayIn = untransformRay(rayIn);\n Ray ray = rayIn;\n\n // Rename the common vectors so I don't have to type so much\n Vector3 d = ray.direction;\n Point3 c = center;\n Point3 o = ray.origin;\n\n double tMin = ray.start, tMax = ray.end;\n // Compute some factors used in computation\n double qx = o.x - c.x;\n double qy = o.y - c.y;\n //double qz = o.z - c.z;\n double rr = radius * radius;\n\n double dd = d.x * d.x + d.y *d.y;\n double qd = d.x * qx + d.y * qy;\n double qq = qx * qx + qy * qy;\n\n double t = 0, td1=0, td2=0;\n double zMin = c.z - height/2;\n double zMax = c.z + height/2;\n\n // z-plane cap calculations\n if (d.z >= 0) {\n td1 = (zMin- o.z) / d.z;\n td2 = (zMax - o.z) / d.z;\n }\n else {\n td1 = (zMax - o.z) / d.z;\n td2 = (zMin - o.z) / d.z;\n }\n if (tMin > td2 || td1 > tMax)\n return false;\n if (td1 > tMin)\n tMin = td1;\n if (td2 < tMax)\n tMax = td2;\n\n // solving the quadratic equation for t at the pts of intersection\n // dd*t^2 + (2*qd)*t + (qq-r^2) = 0\n double discriminantsqr = (qd * qd - dd * (qq - rr));\n\n // If the discriminant is less than zero, there is no intersection\n if (discriminantsqr < 0) {\n return false;\n }\n\n // Otherwise check and make sure that the intersections occur on the ray (t\n // > 0) and return the closer one\n double discriminant = Math.sqrt(discriminantsqr);\n double t1 = (-qd - discriminant) / dd;\n double t2 = (-qd + discriminant) / dd;\n\n if (t1 > ray.start && t1 < ray.end) {\n t = t1;\n }\n else if (t2 > ray.start && t2 < ray.end) {\n t = t2;\n }\n\n Point3 thit1 = new Point3(0,0,0); \n ray.evaluate(thit1, tMin);\n Point3 thit2 = new Point3(0,0,0); \n ray.evaluate(thit2, tMax);\n\n double dx1 = thit1.x-c.x; \n double dy1 = thit1.y-c.y; \n double dx2 = thit2.x-c.x; \n double dy2 = thit2.y-c.y; \n\n if ((t < tMin || t > tMax) && dx1 * dx1 + dy1 * dy1 > rr && dx2 * dx2 + dy2 * dy2 > rr) {\n return false;\n }\n\n // There was an intersection, fill out the intersection record\n if (outRecord != null) {\n double tside =Math.min( td1, td2);\n\n if (t <tside) {\n outRecord.t = tside;\n ray.evaluate(outRecord.location, tside);\n outRecord.normal.set(0, 0, 1);\n }\n else {\n outRecord.t = t;\n ray.evaluate(outRecord.location, t);\n outRecord.normal.sub(new Point3(outRecord.location.x,outRecord.location.y,0), new Point3(c.x,c.y,0));\n }\n\n if (outRecord.normal.dot(ray.direction) > 0)\n outRecord.normal.scale(-1);\n\n outRecord.surface = this;\n // TODO: Transform the location and normal back into world coordinates.\n // Transform the location by tMat\n tMat.rightMultiply(outRecord.location);\n // Transform the normal by tMatTInv\n tMatTInv.rightMultiply(outRecord.normal);\n \n outRecord.normal.normalize();\n }\n\n return true;\n }", "@Override\n public boolean\n doIntersection(Ray inOut_Ray) {\n // TODO!\n return false;\n }", "public boolean\n doIntersection(Ray inOutRay) {\n double t, min_t = Double.MAX_VALUE;\n double x2 = size.x/2; // OJO: Esto deberia venir precalculado\n double y2 = size.y/2; // OJO: Esto deberia venir precalculado\n double z2 = size.z/2; // OJO: Esto deberia venir precalculado\n Vector3D p = new Vector3D();\n GeometryIntersectionInformation info = \n new GeometryIntersectionInformation();\n\n inOutRay.direction.normalize();\n\n // (1) Plano superior: Z = size.z/2\n if ( Math.abs(inOutRay.direction.z) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano Z=size.z/2\n t = (z2-inOutRay.origin.z)/inOutRay.direction.z;\n if ( t > -VSDK.EPSILON ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.x >= -x2 && p.x <= x2 && \n p.y >= -y2 && p.y <= y2 ) {\n info.p = new Vector3D(p);\n min_t = t;\n lastPlane = 1;\n }\n }\n }\n\n // (2) Plano inferior: Z = -size.z/2\n if ( Math.abs(inOutRay.direction.z) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano Z=-size.z/2\n t = (-z2-inOutRay.origin.z)/inOutRay.direction.z;\n if ( t > -VSDK.EPSILON && t < min_t ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.x >= -x2 && p.x <= x2 && \n p.y >= -y2 && p.y <= y2 ) {\n info.p = p;\n min_t = t;\n lastPlane = 2;\n }\n }\n }\n\n // (3) Plano frontal: Y = size.y/2\n if ( Math.abs(inOutRay.direction.y) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano Y=size.y/2\n t = (y2-inOutRay.origin.y)/inOutRay.direction.y;\n if ( t > -VSDK.EPSILON && t < min_t ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.x >= -x2 && p.x <= x2 && \n p.z >= -z2 && p.z <= z2 ) {\n info.p = p;\n min_t = t;\n lastPlane = 3;\n }\n }\n }\n\n // (4) Plano posterior: Y = -size.y/2\n if ( Math.abs(inOutRay.direction.y) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano Y=-size.y/2\n t = (-y2-inOutRay.origin.y)/inOutRay.direction.y;\n if ( t > -VSDK.EPSILON && t < min_t ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.x >= -x2 && p.x <= x2 && \n p.z >= -z2 && p.z <= z2 ) {\n info.p = p;\n min_t = t;\n lastPlane = 4;\n }\n }\n }\n\n // (5) Plano X = size.x/2\n if ( Math.abs(inOutRay.direction.x) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano X=size.x/2\n t = (x2-inOutRay.origin.x)/inOutRay.direction.x;\n if ( t > -VSDK.EPSILON && t < min_t ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.y >= -y2 && p.y <= y2 && \n p.z >= -z2 && p.z <= z2 ) {\n info.p = p;\n min_t = t;\n lastPlane = 5;\n }\n }\n }\n\n // (6) Plano X = -size.x/2\n if ( Math.abs(inOutRay.direction.x) > VSDK.EPSILON ) {\n // El rayo no es paralelo al plano X=-size.x/2\n t = (-x2-inOutRay.origin.x)/inOutRay.direction.x;\n if ( t > -VSDK.EPSILON && t < min_t ) {\n p = inOutRay.origin.add(inOutRay.direction.multiply(t));\n if ( p.y >= -y2 && p.y <= y2 && \n p.z >= -z2 && p.z <= z2 ) {\n info.p = p;\n min_t = t;\n lastPlane = 6;\n }\n }\n }\n\n if ( min_t < Double.MAX_VALUE ) {\n inOutRay.t = min_t;\n lastInfo.clone(info);\n return true;\n }\n return false;\n }", "@Override\n public RayHit rayIntersectObj(Ray3D ray) {\n // Next check if ray hits this quadric\n Point3D hitPoint = findHitPoint(ray);\n if (hitPoint == null || !isWithinBounds(hitPoint)) {\n return RayHit.NO_HIT;\n }\n double distance = hitPoint.subtract(ray.getPoint()).length();\n Point3D normal = findNormalAtPoint(hitPoint);\n return new RayHit(hitPoint, distance, normal, this, new TextureCoordinate(0, 0));\n }", "@Override\r\n public void intersect( Ray ray, IntersectResult result ) {\n\t\r\n }", "public boolean hasIntersectionRay(Line3D line) {\n List<Point3D> list = new ArrayList();\n /*for (Face3D face : faces)\n if (face.intersectionRay(line, list) > 0)\n return true;*/\n return false;\n }", "@Override\n\tpublic void intersect(Ray ray, IntersectResult result) {\n\t\t\t\tdouble tmin,tmax;\n\t\t\t\tdouble xmin, xmax, ymin, ymax, zmin, zmax;\n\t\t\t\t//find which face to cross\n\n\t\t\t\tif(ray.viewDirection.x>0){\n\t\t\t\t\txmin=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}else{\n\t\t\t\t\txmin=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.y>0){\n\t\t\t\t\tymin=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}else{\n\t\t\t\t\tymin=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.z>0){\n\t\t\t\t\tzmin=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}else{\n\t\t\t\t\tzmin=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttmin=Double.max(xmin, ymin);\n\t\t\t\ttmin=Double.max(tmin, zmin);\n\t\t\t\ttmax=Double.min(xmax, ymax);\n\t\t\t\ttmax=Double.min(tmax, zmax);\n\t\t\t\t\n\t\t\t\t \n\t\t\t\tif(tmin<tmax && tmin>0){\n\t\t\t\t\t\n\t\t\t\t\tresult.material=material;\n\t\t\t\t\tresult.t=tmin;\n\t\t\t\t\tPoint3d p=new Point3d(ray.viewDirection);\n\t\t\t\t\tp.scale(tmin);\n\t\t\t\t\tp.add(ray.eyePoint);\n\t\t\t\t\tresult.p=p;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfinal double epsilon=1e-9;\n\t\t\t\t\t// find face and set the normal\n\t\t\t\t\tif(Math.abs(p.x-min.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(-1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.x-max.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.y-min.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,-1,0);\n\t\t\t\t\t}else if(Math.abs(p.y-max.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,1,0);\n\t\t\t\t\t}else if(Math.abs(p.z-min.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,-1);\n\t\t\t\t\t}else if(Math.abs(p.z-max.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t}", "public boolean areIntersecting() {\n return intersection != null;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Boolean isIntersection();", "public double rayIntersect(Vector3D rayOrigin, Vector3D rayDirection, boolean goingOut, int[] faceIndex, LinkedTransferQueue simVis) {\n double tmin = -1;\n int x = 0;\n int y = 1;\n int z = 2;\n int face = -1;\n if (java.lang.Math.abs(rayDirection.getNorm() - 1) > 1e-8) {\n System.out.println(\"direction not normalized in rayIntersect\");\n }\n\n double ox = rayOrigin.getX();\n double oy = rayOrigin.getY();\n double oz = rayOrigin.getZ();\n\n double dx = rayDirection.getX();\n double dy = rayDirection.getY();\n double dz = rayDirection.getZ();\n\n cacheVerticesAndFaces();\n// System.out.println(\"Checking part\" + this.part.name);\n int vis = this.mesh.getVertexFormat().getVertexIndexSize();\n\n for (int i = 0; i < faces.length; i += 6) {\n double t = Util.Math.rayTriangleIntersect(ox, oy, oz, dx, dy, dz,\n vertices[3 * faces[i] + x], vertices[3 * faces[i] + y], vertices[3 * faces[i] + z],\n goingOut ? vertices[3 * faces[i + 2 * vis] + x] : vertices[3 * faces[i + vis] + x],\n goingOut ? vertices[3 * faces[i + 2 * vis] + y] : vertices[3 * faces[i + vis] + y],\n goingOut ? vertices[3 * faces[i + 2 * vis] + z] : vertices[3 * faces[i + vis] + z],\n goingOut ? vertices[3 * faces[i + vis] + x] : vertices[3 * faces[i + 2 * vis] + x],\n goingOut ? vertices[3 * faces[i + vis] + y] : vertices[3 * faces[i + 2 * vis] + y],\n goingOut ? vertices[3 * faces[i + vis] + z] : vertices[3 * faces[i + 2 * vis] + z]\n );\n if (t != -1) {\n if (tmin != -1) {\n if (t < tmin) {\n tmin = t;\n face = i;\n }\n } else {\n tmin = t;\n face = i;\n }\n }\n }\n // report back the face index if asked for\n if (faceIndex != null) {\n faceIndex[0] = face;\n }\n\n return tmin;\n }", "public static boolean\nraysIntersectInPlane(Point2D tail0Pt, Point2D head0Pt, Point2D tail1Pt, Point2D head1Pt,\n\tPoint2D intersect, double[] uArray)\n{\n\tdouble tmp = ((head1Pt.getY() - tail1Pt.getY())*(head0Pt.getX() - tail0Pt.getX()) - (head1Pt.getX() - tail1Pt.getX())*(head0Pt.getY() - tail0Pt.getY()));\n\tif(tmp == 0.0)\n\t\treturn(false);\n\tdouble tmpv = ((tail1Pt.getX() - tail0Pt.getX())*(head0Pt.getY() - tail0Pt.getY()) - (tail1Pt.getY() - tail0Pt.getY())*(head0Pt.getX() - tail0Pt.getX())) / tmp;\n\ttmp = (head0Pt.getX() - tail0Pt.getX())*(head1Pt.getY() - tail1Pt.getY()) - (head1Pt.getX() - tail1Pt.getX())*(head0Pt.getY() - tail0Pt.getY());\n\tif(tmp == 0.0)\n\t\treturn(false);\n\tdouble tmpu = ((tail1Pt.getX() - tail0Pt.getX())*(head1Pt.getY() - tail1Pt.getY()) + (head1Pt.getX() - tail1Pt.getX())*(tail0Pt.getY() - tail1Pt.getY()))/tmp;\n\n\tintersect.setLocation(\n\t\ttail1Pt.getX() + tmpv*(head1Pt.getX() - tail1Pt.getX()),\n\t\ttail1Pt.getY() + tmpv*(head1Pt.getY() - tail1Pt.getY()));\n\n\t// intersect[ZCoor] = tail1Pt[ZCoor] + tmpv*(head1Pt[ZCoor] - tail1Pt[ZCoor]);\n\n\tuArray[0] = tmpu; // u of first ray\n\tuArray[1] = tmpv; // u of second ray\n\n\treturn (true);\n}", "public boolean hasIntersection(Line3D line) {\n List<Point3D> list = new ArrayList();\n int count = 0;\n int nFaces = meshFaces.length/3;\n Triangle3D face = new Triangle3D();\n for (int f = 0; f < nFaces; f++){\n this.getFace(f, face);\n if( face.intersection(line, list)>0)return true;\n }\n return false;\n }", "public List<Point3D> FindIntersections(Ray ray) throws Exception\n {\n List<Point3D> ListInter = new LinkedList<Point3D>();\n\n //find P0\n Point3D P0 = new Point3D(ray.getPOO());\n\n //find the triangle's Normal\n Vector N = this.getNormal(this.getP1());\n\n //find Plane\n Plane plane = new Plane(N, this.getP3());\n\n //if the intersection between the ray and plane\n List<Point3D> ListIntersectionPlane = plane.FindIntersections(ray);\n\n if(ListIntersectionPlane.isEmpty())\n return ListInter;\n\n Point3D intersectionPlane = ListIntersectionPlane.get(0);\n\n //defin Vector P_P0\n Vector P_P0 = new Vector(P0, intersectionPlane);\n\n //checking side 1-2\n Vector V1_1 = new Vector(P0, this._p1);\n Vector V2_1 = new Vector(P0, this._p2);\n Vector N1 = new Vector(V1_1.crossProduct(V2_1));\n N1.normalize();\n double S1 = -P_P0.dotProduct(N1);\n\n //checking side 2-3\n Vector V1_2 = new Vector(P0, this._p2);\n Vector V2_2 = new Vector(P0, this._p3);\n Vector N2 = new Vector(V1_2.crossProduct(V2_2));\n N2.normalize();\n double S2 = -P_P0.dotProduct(N2);\n\n //checking side 3-1\n Vector V1_3 = new Vector(P0, this._p3);\n Vector V2_3 = new Vector(P0, this._p1);\n Vector N3 = new Vector(V1_3.crossProduct(V2_3));\n N3.normalize();\n double S3 = -P_P0.dotProduct(N3);\n\n if (((S1 > 0) && (S2 > 0) && (S3 > 0)) || ((S1 < 0) && (S2 < 0) && (S3 < 0)))\n ListInter.add(intersectionPlane);\n return ListInter;\n\n }", "@Override\n\tpublic Intersection intersect(Ray ray) {\n\t\tdouble maxDistance = 10;\n\t\tdouble stepSize = 0.001; \n\t\tdouble t = 0;\n\t\t\n\t\twhile(t<maxDistance) {\t\t\t\n\t\t\tVector point = ray.m_Origin.add(ray.m_Direction.mul(t));\t\t\t\n\t\t\tdouble eval = torus(point);\t\t\t\n\t\t\tif(Math.abs(eval)<0.001) {\n\t\t\t\tVector normal = estimateNormal(point);\n\t\t return new Intersection(this, ray, t, normal, point);\n\t\t\t}\t\t\t\n\t\t\tt += stepSize;\n\t\t}\t\t\n\t\treturn null;\n\t}", "private Point3 _getIntersection(Point3 eye, Point3 direction) {\n int size = NORMALS.length;\n float tresult;\n Point4 norm; // normal of face hit\n Plane plane; // plane equation\n float tnear, tfar, t, vn, vd;\n int front = 0, back = 0; // front/back face # hit\n\n tnear = -1.0e+20f; // -HUGE_VAL\n tfar = +1.0e+20f; // tmax\n for (int i = 0; i < size; i++) {\n\n plane = _planes[i];\n\n vd = plane.dot(direction);\n vn = plane.distance(eye);\n if (vd == 0.0f) {\n // ray is parallel to plane -\n // check if ray origin is inside plane's\n // half-space\n if (vn < 0.0f) {\n return null;\n }\n\n } else {\n // ray not parallel - get distance to plane\n t = -vn / vd;\n if (vd > 0.0f) {\n\n if (t > tfar) {\n return null;\n }\n if (t > tnear) {\n // hit near face, update normal\n front = i;\n tnear = t;\n }\n } else {\n // back face - T is a far point\n\n if (t < tnear) {\n return null;\n }\n if (t < tfar) {\n // hit far face, update normal\n\n back = i;\n tfar = t;\n }\n }\n }\n }\n // survived all tests\n // Note: if ray originates on polyhedron,\n // may want to change 0.0 to some\n // epsilon to avoid intersecting the originating face.\n //\n if (tnear >= 0.0f) {\n // outside, hitting front face\n norm = _planes[front]._normal;\n tresult = tnear;\n return Point3.addition(eye, direction.scaled(tresult));\n } else {\n if (tfar < 1.0e+20f) {\n // inside, hitting back face\n norm = _planes[back]._normal;\n tresult = tfar;\n return Point3.addition(eye, direction.scaled(tresult));\n } else {\n // inside, but back face beyond tmax//\n return null;\n }\n }\n }", "public boolean detect_intersection_with_polyline(Polyline polyline)\n {\n \tthrow new Error(\"implement me please!\");\n \t/*\n // Convert both polylines to line segments.\n UBA<Line> lines1 = this._toLineSegments();\n UBA<Line> lines2 = polyline._toLineSegments();\n\n lines1.append(lines2);\n UBA<Line> all_lines = lines1;\n\n Intersector intersector = new Intersector();\n\n return intersector.detect_intersection_line_segments_partitioned(all_lines);\n */\n }", "@Override\n public void intersect( Ray ray, IntersectResult result ) {\n \t\tVector3d e = new Vector3d(ray.eyePoint);\n \t\te.sub(this.center);\n \t\tdouble a = ray.viewDirection.dot(ray.viewDirection);\n \t\tdouble b = 2 * ray.viewDirection.dot(e);\n \t\tdouble c = e.dot(e) - this.radius * this.radius;\n \t\tdouble discriminant = b*b - 4*a*c;\n \t\t\n \t\tif (discriminant == 0.0) {\n \t\t\t\n \t\t\tdouble t_pos = -0.5 * b / a;\n \t\t\t// scale ray viewDirection to be t_pos length\n\t\t\t// point of intersection is at ray.eyePoint + scaled viewDirection vector\n\t\t\tPoint3d point_of_intersection = new Point3d(ray.viewDirection);\n\t\t\tpoint_of_intersection.scale(t_pos);\n\t\t\tpoint_of_intersection.add(ray.eyePoint);\n\t\t\t\n\t\t\t// normal is point_of_intersection - sphere.center\n\t\t\tVector3d normal = new Vector3d();\n\t\t\tnormal.add(point_of_intersection);\n\t\t\tnormal.sub(this.center);\n\t\t\tnormal.normalize();\n\t\t\t\n\t\t\tresult.p.set(point_of_intersection);\n\t\t\tresult.material = this.material;\n\t\t\tresult.t = t_pos;\n\t\t\tresult.n.set(normal);\n \t\t\t\n \t\t}\n \t\telse if (discriminant > 0.0) {\n \t\t\t\n \t\t\t// solve quadratic formula\n \t\t\tdouble q = (b > 0) ? -0.5 * (b + Math.sqrt(discriminant)) : -0.5 * (b - Math.sqrt(discriminant));\n \t\t\tdouble t_pos = q / a;\n \t\t\tdouble t_neg = c / q;\n \t\t\t\n \t\t\tif (t_pos < t_neg) {\n \t\t\t\tdouble temp = t_pos;\n \t\t\t\tt_pos = t_neg;\n \t\t\t\tt_neg = temp;\n \t\t\t}\n \t\t\t\t\n \t\t\tif (t_neg > 0) {\n \t\t\t\t// scale ray viewDirection to be t_neg length\n \t\t\t\t// point of intersection is at ray.eyePoint + scaled viewDirection vector\n \t\t\tPoint3d point_of_intersection = new Point3d(ray.viewDirection);\n \t\t\tpoint_of_intersection.scale(t_neg);\n \t\t\tpoint_of_intersection.add(ray.eyePoint);\n \t\t\t\n \t\t\t// normal is point_of_intersection - sphere.center\n \t\t\tVector3d normal = new Vector3d();\n \t\t\tnormal.add(point_of_intersection);\n \t\t\tnormal.sub(this.center);\n \t\t\tnormal.normalize();\n \t\t\t\n \t\t\tresult.p.set(point_of_intersection);\n \t\t\tresult.material = this.material;\n \t\t\tresult.t = t_neg;\n \t\t\tresult.n.set(normal);\n \t\t\t}\n\t\n \t\t}\n \t\t\n \t\t\n \t\t\n \t\t\n \t\t\n\n }", "public boolean hasIntersectionSegment(Line3D line) {\n List<Point3D> list = new ArrayList();\n /*\n for (Face3D face : faces)\n if (face.intersectionSegment(line, list) > 0)\n return true;*/\n return false;\n }", "public static boolean inShadow(final IntersectResult result, final List<Intersectable> surfaces, final Light light, IntersectResult shadowResult, Ray shadowRay) {\n\t\t\n\n\t\tshadowRay.viewDirection.x = light.from.x - result.p.x;\n\t\tshadowRay.viewDirection.y = light.from.y - result.p.y;\n\t\tshadowRay.viewDirection.z = light.from.z - result.p.z;\n\t\t\n\t\tPoint3d eyePoint = new Point3d();\n\t\tVector3d d = new Vector3d();\n\t\td.set(shadowRay.viewDirection);\n\t\td.scale(0.000001);\n\t\teyePoint.set(result.p);\n\t\teyePoint.add(d);\n\t\tshadowRay.eyePoint.set(eyePoint);\n\t\t\n\t\tfor(Intersectable surface: surfaces) {\n\t\t\tsurface.intersect(shadowRay, shadowResult);\n\t\t}\n\t\t\n\t\tif(shadowResult.t>0 && shadowResult.t < 1) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\n\t}", "public boolean isIntersected(Line line)\n {\n float a = direction.y;\n float b = -direction.x;\n float d = line.getDirection().y;\n float e = -line.getDirection().x;\n\n return ((a * e - b * d) != 0);\n }", "@Test\n public void testGetIntersect() throws Exception {\n Vector farIntersect = sphere.getIntersect(new Vector(0,0,0),new Vector(0,-6,10));\n assertTrue(farIntersect.equals(new Vector(0,-6,10)));\n }", "default boolean equals(Ray3 ray) {\r\n return\r\n getOrigin().equals(ray.getOrigin()) &&\r\n getDirection().isMultipleOf(ray.getDirection());\r\n }", "@Override\n\tpublic void shade(Colord outIntensity, Scene scene, Ray ray, IntersectionRecord record, int depth) {\n\t\t// TODO#A7: fill in this function.\n\t\t// 1) Determine whether the ray is coming from the inside of the surface\n\t\t// or the outside.\n\t\t// 2) Determine whether total internal reflection occurs.\n\t\t// 3) Compute the reflected ray and refracted ray (if total internal\n\t\t// reflection does not occur)\n\t\t// using Snell's law and call RayTracer.shadeRay on them to shade them\n\n\t\t// n1 is from; n2 is to.\n\t\tdouble n1 = 0, n2 = 0;\n\t\tdouble fresnel = 0;\n\t\tVector3d d = new Vector3d(ray.origin.clone().sub(record.location)).normalize();\n\t\tVector3d n = new Vector3d(record.normal).normalize();\n\t\tdouble theta = n.dot(d);\n\n\t\t// CASE 1a: ray coming from outside.\n\t\tif (theta > 0) {\n\t\t\tn1 = 1.0;\n\t\t\tn2 = refractiveIndex;\n\t\t\tfresnel = fresnel(n, d, refractiveIndex);\n\t\t}\n\n\t\t// CASE 1b: ray coming from inside.\n\t\telse if (theta < 0) {\n\t\t\tn1 = refractiveIndex;\n\t\t\tn2 = 1.0;\n\t\t\tn.mul(-1.0);\n\t\t\tfresnel = fresnel(n, d, 1/refractiveIndex);\n\t\t\ttheta = n.dot(d);\n\t\t}\n\n\t\tVector3d reflectionDir = new Vector3d(n).mul(2 * theta).sub(d.clone()).normalize();\n\t\tRay reflectionRay = new Ray(record.location.clone(), reflectionDir);\n\t\treflectionRay.makeOffsetRay();\n\t\tColord reflectionColor = new Colord();\n\t\tRayTracer.shadeRay(reflectionColor, scene, reflectionRay, depth+1);\n\n\t\tdouble det = 1 - (Math.pow(n1, 2.0) * (1 - Math.pow(theta, 2.0))) / (Math.pow(n2, 2.0));\n\n\t\tif (det < 0.0) {\n\t\t\toutIntensity.add(reflectionColor);\n\t\t} else {\n\n\t\t\td = new Vector3d(record.location.clone().sub(ray.origin)).normalize();\n\n\t\t\tVector3d refractionDir = new Vector3d((d.clone().sub(n.clone().mul(d.dot(n))).mul(n1/n2)));\n\t\t\trefractionDir.sub(n.clone().mul(Math.sqrt(det)));\n\t\t\tRay refractionRay = new Ray(record.location.clone(), refractionDir);\n\t\t\trefractionRay.makeOffsetRay();\n\n\t\t\tColord refractionColor = new Colord();\n\t\t\tRayTracer.shadeRay(refractionColor, scene, refractionRay, depth+1);\n\n\t\t\trefractionColor.mul(1-fresnel);\n\t\t\treflectionColor.mul(fresnel);\n\t\t\toutIntensity.add(reflectionColor).add(refractionColor);\n\n\t\t}\n\t}", "public Hit intersectsRay(Ray ray) {\n\t\tVector3D dst = Vector3D.sub(ray.b, pos);\n\t\tfloat B = dst.dot(ray.d);\n\t\tfloat C = dst.dot(dst) - radius2;\n\t\tfloat D = B*B - C;\n\t\tfloat t = (float) (-B - Math.sqrt(D));\n\t\tif (!(t > 0)) return null; // escape case: no collision or outside fov\n\t\tVector3D hitPos = Vector3D.add(ray.b, Vector3D.mult(ray.d, t));\n\t\tVector3D n = getNormal(hitPos);\n\t\treturn new Hit(this, t, hitPos, n);\n\t}", "public boolean intersects(GLineSegment lineSegment) {\n if(this.equals(lineSegment)) return(true);\n else if(this.slope()==lineSegment.slope()) return(false);\n else {\n //complicated stuff here.\n return(false);\n }\n }", "public boolean tryToGetIntoIntersection(Car car) {\n Logger.getInstance().logInfo(car.getName(), \"Trying to get into intersection: \" + getName());\n Lane nextLane = car.getNextLane();\n // in french driving system you don't get inside an intersection if the next lane is not free\n if (nextLane.hasSpace() && carsInsideIntersection.size() < maxCarInIntersection) {\n Logger.getInstance().logInfo(car.getName(), \"Intersection free\");\n Lane tmp = car.getCurrentLane();\n if (tmp.hasTrafficSign())\n tmp.getTrafficSign().unregisterCar(car);\n unregisterCar(car, nextLane);\n car.getIntoIntersection(this);\n simEngine.addEvent(new ExitFromIntersectionEvent(this, car, tmp, nextLane));\n// car.changeLane(nextLane);\n// car.drive();\n return true;\n } else if (carsInsideIntersection.size() >= maxCarInIntersection) {\n String msg = String.format(\"Intersection %s is busy\", getName());\n Logger.getInstance().logInfo(getName(), msg);\n car.stop();\n return false;\n } else {\n String msg = String.format(\"Next lane is full, %s waiting at intersection %s\", car.getName(), getName());\n Logger.getInstance().logInfo(getName(), msg);\n car.stop();\n return false;\n }\n }", "private boolean occluded(LightSource light, Point3D point, Geometry geometry){\n Vector lightDirection = light.getL(point);\n // we want to check the vector from the ray of the camera to the light ray\n // this is the revers direction\n lightDirection.scale(-1);\n\n Point3D geometryPoint = new Point3D(point);\n Vector epsVector = new Vector(geometry.getNormal(point));\n epsVector.scale(2);\n geometryPoint.add(epsVector);\n // create new ray\n Ray lightRay = new Ray(geometryPoint, lightDirection);\n // check for intersection points\n Map<Geometry, List<Point3D>> intersectionPoints = getSceneRayIntersections(lightRay);\n\n // Flat geometry cannot self intersect\n if (geometry instanceof FlatGeometry){\n intersectionPoints.remove(geometry);\n }\n for(Entry<Geometry, List<Point3D>> entry: intersectionPoints.entrySet()){\n if(entry.getKey().getMaterial().getKt() == 0)\n if (!(light instanceof PointLight) ||\n (light instanceof PointLight && point.distance(entry.getValue().get(0)) < point.distance(((PointLight)light).getPosition())))\n return true;\n }\n return false;\n }", "public intersection(){}", "@Override\n\tpublic boolean intersects(Vec3D vec)\n\t\t{\n\t\tboolean isInRes = true;\n\t\tisInRes &= vec.x() >= topLeft.x();\n\t\tisInRes &= vec.x() <= topLeft.x() + edgeLength;\n\t\tisInRes &= vec.y() >= topLeft.y();\n\t\tisInRes &= vec.y() <= topLeft.y() + edgeLength;\n\t\tisInRes &= vec.z() >= topLeft.z();\n\t\tisInRes &= vec.z() <= topLeft.z() + edgeLength;\n\t\treturn isInRes;\n\t\t}", "public int intersectionRay(final Line3D line, List<Point3D> intersections) {\n int count = 0;\n int nFaces = meshFaces.length/3;\n Triangle3D face = new Triangle3D();\n for (int f = 0; f < nFaces; f++){\n this.getFace(f, face);\n count += face.intersectionRay(line, intersections);\n }\n return count;\n }", "boolean intersects( Geometry gmo );", "public static void main(String[] args){\n Mesh3D box = Mesh3D.box(10, 20, 60);\n \n Line3D lineX = box.getLineX();\n Line3D lineY = box.getLineY();\n Line3D lineZ = box.getLineZ();\n lineX.show();\n lineY.show();\n lineZ.show();\n box.translateXYZ(100, 0.0, 0.0); \n box.show();\n Line3D line = new Line3D(); \n List<Point3D> intersects = new ArrayList<Point3D>();\n \n for(int p = 0; p < 100; p++){\n double r = 600;\n double theta = Math.toRadians(90.0);//Math.toRadians(Math.random()*180.0);\n double phi = Math.toRadians(Math.random()*360.0-180.0);\n line.set(0.0,0.0,0.0, \n Math.sin(theta)*Math.cos(phi)*r,\n Math.sin(theta)*Math.sin(phi)*r,\n Math.cos(theta)*r\n );\n intersects.clear();\n box.intersectionRay(line, intersects);\n System.out.println(\"theta/phi = \" + Math.toDegrees(theta) + \" \"\n + Math.toDegrees(phi) + \" intersects = \" + intersects.size());\n \n }\n }", "@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Ray ray = (Ray) o;\n return _p0.equals(ray._p0) && _dir.equals(ray._dir);\n }", "public boolean detect_intersection_with_box(Box box)\n {\n if(_boundingbox == null)\n {\n this.generateBoundingBox();\n }\n\n // No intersection if the bounding box doesn't intersect the input box.\n if(!box.intersects_box(this._boundingbox))\n {\n return false;\n }\n\n // Filled polyline and contains entire box.\n if(this.isFilled() && this.containsPoint(box.min))\n {\n return true;\n }\n\n // Filled box that contains entire polyline.\n if(box.isFilled() && box.containsPoint(this._points.get(0)))\n {\n return true;\n }\n\n // No perform a polyline <---> polyline intersection test.\n Polyline polyline = box.toPolyline();\n\n return detect_intersection_with_polyline(polyline);\n }", "public boolean isIntersecting(Line other) {\r\n if (this.intersectionWith(other) != null) {\r\n return true;\r\n }\r\n return false;\r\n }", "public abstract boolean intersect(BoundingBox bbox);", "@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Ray ray = (Ray) o;\n return _direction.equals(ray._direction) &&\n _tail.equals(ray._tail);\n }", "public boolean linesIntersect() {\n\t\twhile (true) {\n\t\t\t// for loop for the asteroid's lines\n\t\t\tfor (int i = 0; i < NUM_LINES; i++) {\n\t\t\t\t// for loop for the ship's lines\n\t\t\t\tfor (int j = 0; j < ship.shipOutLine().length; j++) {\n\t\t\t\t\tint o1 = orientation(outLine[i].getStart(),\n\t\t\t\t\t\t\toutLine[i].getEnd(),\n\t\t\t\t\t\t\tship.shipOutLine()[j].getStart());\n\t\t\t\t\tint o2 = orientation(outLine[i].getStart(),\n\t\t\t\t\t\t\toutLine[i].getEnd(), ship.shipOutLine()[j].getEnd());\n\t\t\t\t\tint o3 = orientation(ship.shipOutLine()[j].getStart(),\n\t\t\t\t\t\t\tship.shipOutLine()[j].getEnd(),\n\t\t\t\t\t\t\toutLine[i].getStart());\n\t\t\t\t\tint o4 = orientation(ship.shipOutLine()[j].getStart(),\n\t\t\t\t\t\t\tship.shipOutLine()[j].getEnd(), outLine[i].getEnd());\n\n\t\t\t\t\tif (o1 != o2 && o3 != o4) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\n\t}", "public abstract boolean hit(Rectangle2D r);", "private void handleIntersection()\n\t{\n\t\tstop();\n\t\tgoForward(50);\n\t\t\n\t\tswitch(SEQUENCE[0])\n\t\t{\n\t\tcase FORWARD:\n\t\t\t//Keep going, don't turn.\n\t\t\tbreak;\n\t\tcase RIGHT:\n\t\t\tturnRight();\n\t\t\tbreak;\n\t\tcase LEFT:\n\t\t\tturnLeft();\n\t\t\tbreak;\n\t\t}\n\t\tnextMovement();\n\t}", "public double rayTriangleIntersect(double ox, double oy, double oz, double dx, double dy, double dz, boolean goingOut, int face) {\n int x = 0;\n int y = 1;\n int z = 2;\n\n cacheVerticesAndFaces();\n int vis = this.mesh.getVertexFormat().getVertexIndexSize();\n\n return Util.Math.rayTriangleIntersect(ox, oy, oz, dx, dy, dz,\n vertices[3 * faces[face] + x], vertices[3 * faces[face] + y], vertices[3 * faces[face] + z],\n goingOut ? vertices[3 * faces[face + 2 * vis] + x] : vertices[3 * faces[face + vis] + x],\n goingOut ? vertices[3 * faces[face + 2 * vis] + y] : vertices[3 * faces[face + vis] + y],\n goingOut ? vertices[3 * faces[face + 2 * vis] + z] : vertices[3 * faces[face + vis] + z],\n goingOut ? vertices[3 * faces[face + vis] + x] : vertices[3 * faces[face + 2 * vis] + x],\n goingOut ? vertices[3 * faces[face + vis] + y] : vertices[3 * faces[face + 2 * vis] + y],\n goingOut ? vertices[3 * faces[face + vis] + z] : vertices[3 * faces[face + 2 * vis] + z]\n );\n }", "@Override\n\tpublic Point3D findFirstIntersect(Ray3D ray) {\n\t\tPoint3D p = plane.findFirstIntersect(ray);\n\t\tif(isOnSurface(p))\n\t\t\treturn p;\n\t\telse\n\t\t\treturn Point3D.nullVal;\n\t}", "private Point3D findHitPoint(Ray3D ray) {\n // We plug paramaterization of x, y, z for ray into our general quartic equation\n // to get standard form: At^2 + Bt + C = 0, then use the quadratic equation to solve for t.\n // The coefficients A, B, and C are quite ugly, and the derivation is described in the linked\n // resource\n Point3D P = ray.getPoint(); // Ray starting point\n Point3D D = ray.getDirection(); // Ray direction\n // First coefficient of quadratic equation of t\n double A = a * sq(D.getX()) + b * sq(D.getY()) + c * sq(D.getZ())\n + d * D.getY() * D.getZ() + e * D.getX() * D.getZ() + f * D.getX() * D.getY();\n // Second coefficient of quadratic equation of t\n double B = 2 * (a * P.getX() * D.getX() + b * P.getY() * D.getY() + c * P.getZ() * D.getZ())\n + d * (P.getY() * D.getZ() + P.getZ() * D.getY())\n + e * (P.getX() * D.getZ() + P.getZ() * D.getX())\n + f * (P.getX() * D.getY() + P.getY() * D.getX())\n + g * D.getX() + h * D.getY() + i * D.getZ();\n // Third coefficient of quadratic equation of t\n double C = a * sq(P.getX()) + b * sq(P.getY()) + c * sq(P.getZ()) + d * P.getY() * P.getZ()\n + e * P.getX() * P.getZ() + f * P.getX() * P.getY() + g * P.getX() + h * P.getY() + i * P.getZ() + j;\n\n double discriminant = sq(B) - 4 * A * C;\n\n // Find intersection Point\n Point3D intersection = null;\n if (discriminant >= 0) {\n double t1 = (-B - Math.sqrt(discriminant)) / (2 * A);\n double t2 = (-B + Math.sqrt(discriminant)) / (2 * A);\n Point3D p1 = ray.atTime(t1);\n Point3D p2 = ray.atTime(t2);\n if (t1 > 0 && t2 > 0 && isWithinBounds(p1) && isWithinBounds(p2)) {\n intersection = t1 <= t2 ? p1 : p2;\n } else if (t1 > 0 && isWithinBounds(p1)) {\n intersection = p1;\n } else if (t2 > 0 && isWithinBounds(p2)) {\n intersection = p2;\n }\n }\n return intersection;\n }", "public Intersection[] intersectWith(Point3d S, Ray3d c) {\n Intersection[] result = null;\n\n double A = c.getX() * c.getX() + c.getY() * c.getY() + c.getZ() * c.getZ();\n\n double bx = (this.x - S.getX()); //Account for the Sphere's position\n double by = (this.y - S.getY());\n double bz = (this.z - S.getZ());\n\n double B = -(c.getX() * bx + c.getY() * by + c.getZ() * bz);\n\n double r = this.radius * this.radius;\n\n double C = bx * bx + by * by + bz * bz - r;\n\n double D = (B * B - A * C);\n if (D < 0) //no intersection\n {\n return null;\n }\n\n if (D == 0) //'graze' the sphere\n {\n result = new Intersection[1];\n Point3d P = S.plus(c.times(-B / A));\n result[0] = new Intersection(-B / A, this, true, 0, P, new Ray3d(P));\n /****/return null;\n }\n\n result = new Intersection[2];\n int hit = 0;\n\n double t1 = (-B - Math.sqrt(D)) / A;\n if (t1 > 0.00001) //The first hit\n {\n Point3d P = S.plus(c.times(t1));\n Ray3d N = P.minus(new Point3d(this.x, this.y, this.z));\n result[0] = new Intersection(t1, this, true, 0, P, N);\n hit++;\n }\n\n double t2 = (-B / A) + Math.sqrt(D) / A;\n if (t2 > 0.00000001) {\n Point3d P = S.plus(c.times(t2));\n Ray3d N = P.minus(new Point3d(this.x, this.y, this.z));\n result[hit] = new Intersection(t2, this, false, 0, P, N.reverse());\n }\n\n return result;\n }", "private Map<Geometry, List<Point3D>> getSceneRayIntersections(Ray ray){\n //Map key - geometric\n //value - a list of cut points\n Map<Geometry, List<Point3D>> sceneRayIntersectPions = new HashMap<Geometry, List<Point3D>>();\n //Iterator we can go through all the geometric shapes\n Iterator<Geometry> geometries = _scene.getGeometriesIterator();\n //for each geometry finde intersection points\n while (geometries.hasNext()){\n Geometry geometry = geometries.next();\n List<Point3D> geometryIntersectionPoints = geometry.FindIntersections(ray);\n if(!geometryIntersectionPoints.isEmpty())\n //add geometryIntersectionPoints(list) to key geometry\n sceneRayIntersectPions.put(geometry, geometryIntersectionPoints);\n }\n return sceneRayIntersectPions;\n }", "public Pair<Boolean, Float> intersects(Plane plane) {\r\n\t\treturn SecaMath.intersect(this, plane);\r\n\t}", "public boolean isSetIntersectingRoadwayRef()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().find_attribute_user(INTERSECTINGROADWAYREF$20) != null;\r\n }\r\n }", "public double findRayIntersection(Vec3 origin, Vec3 direction, Vec3 normal)\n {\n double scale = width/obj.getScale();\n double ox = origin.x*scale+0.5*width;\n double oy = origin.y*scale+0.5*width;\n double oz = origin.z*scale+0.5*width;\n double dx = direction.x;\n double dy = direction.y;\n double dz = direction.z;\n\n // Find the intersection of the ray with the bounding box.\n\n double mint = -Double.MAX_VALUE;\n double maxt = Double.MAX_VALUE;\n if (dx == 0.0)\n {\n if (ox < minx || ox > maxx)\n return 0.0;\n }\n else\n {\n double t1 = (minx-ox)/dx;\n double t2 = (maxx-ox)/dx;\n if (t1 < t2)\n {\n if (t1 > mint)\n mint = t1;\n if (t2 < maxt)\n maxt = t2;\n }\n else\n {\n if (t2 > mint)\n mint = t2;\n if (t1 < maxt)\n maxt = t1;\n }\n if (mint > maxt || maxt < 0.0)\n return 0.0;\n }\n if (dy == 0.0)\n {\n if (oy < miny || oy > maxy)\n return 0.0;\n }\n else\n {\n double t1 = (miny-oy)/dy;\n double t2 = (maxy-oy)/dy;\n if (t1 < t2)\n {\n if (t1 > mint)\n mint = t1;\n if (t2 < maxt)\n maxt = t2;\n }\n else\n {\n if (t2 > mint)\n mint = t2;\n if (t1 < maxt)\n maxt = t1;\n }\n if (mint > maxt || maxt < 0.0)\n return 0.0;\n }\n if (dz == 0.0)\n {\n if (oz < minz || oz > maxz)\n return 0.0;\n }\n else\n {\n double t1 = (minz-oz)/dz;\n double t2 = (maxz-oz)/dz;\n if (t1 < t2)\n {\n if (t1 > mint)\n mint = t1;\n if (t2 < maxt)\n maxt = t2;\n }\n else\n {\n if (t2 > mint)\n mint = t2;\n if (t1 < maxt)\n maxt = t1;\n }\n if (mint > maxt || maxt < 0.0)\n return 0.0;\n }\n if (mint < 0.0)\n mint = 0.0;\n\n // Find the first voxel and initialize variables.\n\n double xpos = ox+mint*dx;\n double ypos = oy+mint*dy;\n double zpos = oz+mint*dz;\n int x = Math.max(Math.min((int) xpos, maxx), minx);\n int y = Math.max(Math.min((int) ypos, maxy), miny);\n int z = Math.max(Math.min((int) zpos, maxz), minz);\n int stepx, stepy, stepz;\n int finalx, finaly, finalz;\n double tdeltax, tdeltay, tdeltaz;\n double tmaxx, tmaxy, tmaxz;\n if (dx < 0.0)\n {\n stepx = -1;\n finalx = minx-1;\n tdeltax = -1.0/dx;\n tmaxx = (x-ox)/dx;\n }\n else if (dx > 0.0)\n {\n stepx = 1;\n finalx = maxx+1;\n tdeltax = 1.0/dx;\n tmaxx = (x+1-ox)/dx;\n }\n else\n {\n stepx = 0;\n finalx = 0;\n tdeltax = 0.0;\n tmaxx = Double.MAX_VALUE;\n }\n if (dy < 0.0)\n {\n stepy = -1;\n finaly = miny-1;\n tdeltay = -1.0/dy;\n tmaxy = (y-oy)/dy;\n }\n else if (dy > 0.0)\n {\n stepy = 1;\n finaly = maxy+1;\n tdeltay = 1.0/dy;\n tmaxy = (y+1-oy)/dy;\n }\n else\n {\n stepy = 0;\n finaly = 0;\n tdeltay = 0.0;\n tmaxy = Double.MAX_VALUE;\n }\n if (dz < 0.0)\n {\n stepz = -1;\n finalz = minz-1;\n tdeltaz = -1.0/dz;\n tmaxz = (z-oz)/dz;\n }\n else if (dz > 0.0)\n {\n stepz = 1;\n finalz = maxz+1;\n tdeltaz = 1.0/dz;\n tmaxz = (z+1-oz)/dz;\n }\n else\n {\n stepz = 0;\n finalz = 0;\n tdeltaz = 0.0;\n tmaxz = Double.MAX_VALUE;\n }\n\n // Step through the voxels, looking for intersections.\n\n VoxelOctree voxels = obj.getVoxels();\n byte values[] = new byte[8];\n while (true)\n {\n int index = x*width*width+y*width+z;\n if ((flags[index/32]&(1<<(index%32))) != 0)\n {\n // There is a piece of the surface in this voxel, so see if the ray intersects it.\n // First find the values of t at which the ray enters and exits it.\n \n double tenter = -Double.MAX_VALUE;\n double texit = Double.MAX_VALUE;\n if (dx != 0.0)\n {\n double t1 = (x-ox)/dx;\n double t2 = (x+1-ox)/dx;\n if (t1 < t2)\n {\n if (t1 > tenter)\n tenter = t1;\n if (t2 < texit)\n texit = t2;\n }\n else\n {\n if (t2 > tenter)\n tenter = t2;\n if (t1 < texit)\n texit = t1;\n }\n }\n if (dy != 0.0)\n {\n double t1 = (y-oy)/dy;\n double t2 = (y+1-oy)/dy;\n if (t1 < t2)\n {\n if (t1 > tenter)\n tenter = t1;\n if (t2 < texit)\n texit = t2;\n }\n else\n {\n if (t2 > tenter)\n tenter = t2;\n if (t1 < texit)\n texit = t1;\n }\n }\n if (dz != 0.0)\n {\n double t1 = (z-oz)/dz;\n double t2 = (z+1-oz)/dz;\n if (t1 < t2)\n {\n if (t1 > tenter)\n tenter = t1;\n if (t2 < texit)\n texit = t2;\n }\n else\n {\n if (t2 > tenter)\n tenter = t2;\n if (t1 < texit)\n texit = t1;\n }\n }\n if (tenter < 0.0)\n continue; // Ignore intersections in the voxel containing the origin.\n\n // Look up the values at the eight corners of the voxel.\n\n values[0] = voxels.getValue(x, y, z);\n values[1] = voxels.getValue(x, y, z+1);\n values[2] = voxels.getValue(x, y+1, z);\n values[3] = voxels.getValue(x, y+1, z+1);\n values[4] = voxels.getValue(x+1, y, z);\n values[5] = voxels.getValue(x+1, y, z+1);\n values[6] = voxels.getValue(x+1, y+1, z);\n values[7] = voxels.getValue(x+1, y+1, z+1);\n\n // Find the positions within the voxel where the ray enters and exits.\n\n double xenter = ox+dx*tenter-x;\n double yenter = oy+dy*tenter-y;\n double zenter = oz+dz*tenter-z;\n double xexit = ox+dx*texit-x;\n double yexit = oy+dy*texit-y;\n double zexit = oz+dz*texit-z;\n\n // Interpolate the find the values at those points.\n\n double enterValue = values[0]*(1.0-xenter)*(1.0-yenter)*(1.0-zenter)\n +values[1]*(1.0-xenter)*(1.0-yenter)*zenter\n +values[2]*(1.0-xenter)*yenter*(1.0-zenter)\n +values[3]*(1.0-xenter)*yenter*zenter\n +values[4]*xenter*(1.0-yenter)*(1.0-zenter)\n +values[5]*xenter*(1.0-yenter)*zenter\n +values[6]*xenter*yenter*(1.0-zenter)\n +values[7]*xenter*yenter*zenter;\n double exitValue = values[0]*(1.0-xexit)*(1.0-yexit)*(1.0-zexit)\n +values[1]*(1.0-xexit)*(1.0-yexit)*zexit\n +values[2]*(1.0-xexit)*yexit*(1.0-zexit)\n +values[3]*(1.0-xexit)*yexit*zexit\n +values[4]*xexit*(1.0-yexit)*(1.0-zexit)\n +values[5]*xexit*(1.0-yexit)*zexit\n +values[6]*xexit*yexit*(1.0-zexit)\n +values[7]*xexit*yexit*zexit;\n if ((enterValue > 0 && exitValue <= 0) || (enterValue <= 0 && exitValue > 0))\n {\n // Find the intersection point.\n\n double weight1 = Math.abs(exitValue);\n double weight2 = Math.abs(enterValue);\n double d = 1.0/(weight1+weight2);\n weight1 *= d;\n weight2 *= d;\n double tintersect = (tenter*weight1 + texit*weight2)/scale;\n if (normal != null)\n {\n normal.set(values[0]+values[1]+values[2]+values[3]-values[4]-values[5]-values[6]-values[7],\n values[0]+values[1]-values[2]-values[3]+values[4]+values[5]-values[6]-values[7],\n values[0]-values[1]+values[2]-values[3]+values[4]-values[5]+values[6]-values[7]);\n normal.normalize();\n }\n return tintersect;\n }\n }\n\n // Advance to the next voxel.\n\n if (tmaxx < tmaxy)\n {\n if (tmaxx < tmaxz)\n {\n x += stepx;\n if (x == finalx)\n return 0.0;\n tmaxx += tdeltax;\n }\n else\n {\n z += stepz;\n if (z == finalz)\n return 0.0;\n tmaxz += tdeltaz;\n }\n }\n else\n {\n if (tmaxy < tmaxz)\n {\n y += stepy;\n if (y == finaly)\n return 0.0;\n tmaxy += tdeltay;\n }\n else\n {\n z += stepz;\n if (z == finalz)\n return 0.0;\n tmaxz += tdeltaz;\n }\n }\n }\n }", "List<GeoPoint> findGeoIntersections(Ray ray);", "@Override\r\n\tpublic List<GeoPoint> findIntersections(Ray ray) {\r\n\t\tList<GeoPoint> list = new ArrayList<GeoPoint>();\r\n\t\tVector rayDirection = ray.getDirection();\r\n\t\tPoint3D rayPoint = ray.getPOO();\r\n\r\n\t\t// case centerPoint same as the RayPoint\r\n\t\tif (centerPoint.equals(rayPoint)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(radius))));\r\n\t\t\treturn list;\r\n\t\t}\r\n\r\n\t\t// u = centerPoint - rayPoint\r\n\t\tVector u = centerPoint.subtract(rayPoint);\r\n\t\t// tm = u * rayDirection\r\n\t\tdouble tm = rayDirection.dotProduct(u);\r\n\t\t// distance = sqrt(|u|^2 - tm^2)\r\n\t\tdouble d = Math.sqrt(u.dotProduct(u) - tm * tm);\r\n\t\t// case the distance is bigger than radius no intersections\r\n\t\tif (d > radius)\r\n\t\t\treturn list;\r\n\r\n\t\t// th = sqrt(R^2 - d^2)\r\n\t\tdouble th = Math.sqrt(radius * radius - d * d);\r\n\r\n\t\tdouble t1 = tm - th;\r\n\t\tdouble t2 = tm + th;\r\n\r\n\t\tif (Util.isZero(t1) || Util.isZero(t2)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint));\r\n\t\t}\r\n\t\tif (Util.isZero(th)) {\r\n\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(tm))));\r\n\t\t} else {\r\n\t\t\tif (t1 > 0 && !Util.isZero(t1))// one\r\n\t\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(t1))));\r\n\t\t\tif (t2 > 0 && !Util.isZero(t2)) {// two\r\n\t\t\t\tlist.add(new GeoPoint(this, rayPoint.addVector(rayDirection.scale(t2))));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn list;\r\n\r\n\t}", "public boolean isIntersectLineInMiddle(Line line) {\n\t\tdouble a = subFloat(firstPoint.y, secondPoint.y); // a = firstPoint.y - secondPoint.y\n\t\tdouble b = subFloat(secondPoint.x, firstPoint.x); // b = secondPoint.x - firstPoint.x\n\t\tdouble c = subFloat(multiFloat(-a, firstPoint.x), multiFloat(b, firstPoint.y));\n\t\t// c = -a * firstPoint.x - b * firstPoint.y\n\n\t\tdouble aLine = subFloat(line.firstPoint.y, line.secondPoint.y); // aLine = line.firstPoint.y -\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// line.secondPoint.y\n\t\tdouble bLine = subFloat(line.secondPoint.x, line.firstPoint.x); // bLine = line.secondPoint.x -\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// line.firstPoint.x\n\t\tdouble cLine = subFloat(multiFloat(-aLine, line.firstPoint.x), multiFloat(bLine, line.firstPoint.y));\n\t\t// cLine = -aLine * line.firstPoint.x - bLine * line.firstPoint.y\n\n\t\t// 4 points on same line\n\t\t// (a * line.firstPoint.x + b * line.firstPoint.y + c == 0) &&\n\t\t// (a * line.secondPoint.x + b * line.secondPoint.y + c == 0)\n\t\tif ((addFloat(multiFloat(a, line.firstPoint.x), multiFloat(b, line.firstPoint.y), c) == 0)\n\t\t\t\t&& (addFloat(multiFloat(a, line.secondPoint.x), multiFloat(b, line.secondPoint.y), c) == 0)) {\n\t\t\tif ((firstPoint.distanceFrom(line.firstPoint) >= getLength()\n\t\t\t\t\t&& firstPoint.distanceFrom(line.secondPoint) >= this.getLength())\n\t\t\t\t\t|| (secondPoint.distanceFrom(line.firstPoint) >= this.getLength()\n\t\t\t\t\t\t\t&& secondPoint.distanceFrom(line.secondPoint) >= this.getLength()))\n\t\t\t\treturn false;\n\t\t\treturn true;\n\t\t}\n\n\t\t// ((a * line.firstPoint.x + b * line.firstPoint.y + c) * (a *\n\t\t// line.secondPoint.x + b * line.secondPoint.y + c) < 0) &&\n\t\t// ((aLine * firstPoint.x + bLine * firstPoint.y + cLine) * (aLine *\n\t\t// secondPoint.x + bLine * secondPoint.y + cLine) < 0)\n\t\tif ((multiFloat(addFloat(multiFloat(a, line.firstPoint.x), multiFloat(b, line.firstPoint.y), c),\n\t\t\t\taddFloat(multiFloat(a, line.secondPoint.x), multiFloat(b, line.secondPoint.y), c)) < 0)\n\t\t\t\t&& (multiFloat(addFloat(multiFloat(aLine, firstPoint.x), multiFloat(bLine, firstPoint.y), cLine),\n\t\t\t\t\t\taddFloat(multiFloat(aLine, secondPoint.x), multiFloat(bLine, secondPoint.y), cLine)) < 0))\n\t\t\treturn true;\n\n\t\treturn false;\n\t}", "private Vec3 trace(Ray ray) {\n\t\tSphere sphere = null;\n\n\t\tfor (int i = 0; i < spheres.size(); i++) {\n\t\t\tif (spheres.get(i).intersect(ray)) {\n\t\t\t\tsphere = spheres.get(i);\n\t\t\t}\n\t\t}\n\n\t\tif (sphere == null) {\n\t\t\treturn new Vec3(0.0f); // Background color.\n\t\t}\n\n\t\tVec3 p = ray.getIntersection(); // Intersection point.\n\t\tVec3 n = sphere.normal(p); // Normal at intersection.\n\n\t\treturn light.phong(sphere, p, n);\n\t}", "public native void raycast(Raycaster raycaster, Object[] intersects);", "public boolean contains(Vector3D point) {\n\n int x = 0;\n int y = 1;\n int z = 2;\n\n double ox = point.getX();\n double oy = point.getY();\n double oz = point.getZ();\n\n Vector3D d = Util.Math.randomDir();\n double dx = d.getX();\n double dy = d.getY();\n double dz = d.getZ();\n\n double epsilon = 1e-12;\n\n cacheVerticesAndFaces();\n int vis = this.mesh.getVertexFormat().getVertexIndexSize();\n HashSet<Double> ts = new HashSet<>();\n\n for (int i = 0; i < faces.length; i += 6) {\n // test ray \"going out\" first\n double t = Util.Math.rayTriangleIntersect(ox, oy, oz, dx, dy, dz,\n vertices[3 * faces[i] + x], vertices[3 * faces[i] + y], vertices[3 * faces[i] + z],\n vertices[3 * faces[i + 2 * vis] + x],\n vertices[3 * faces[i + 2 * vis] + y],\n vertices[3 * faces[i + 2 * vis] + z],\n vertices[3 * faces[i + vis] + x],\n vertices[3 * faces[i + vis] + y],\n vertices[3 * faces[i + vis] + z]\n );\n if (t != -1 && t > epsilon) {\n //System.out.println(\"adding outgoing \" + t);\n ts.add(t);\n\n }\n\n // test the \"going in\" direction\n t = Util.Math.rayTriangleIntersect(ox, oy, oz, dx, dy, dz,\n vertices[3 * faces[i] + x], vertices[3 * faces[i] + y], vertices[3 * faces[i] + z],\n vertices[3 * faces[i + vis] + x],\n vertices[3 * faces[i + vis] + y],\n vertices[3 * faces[i + vis] + z],\n vertices[3 * faces[i + 2 * vis] + x],\n vertices[3 * faces[i + 2 * vis] + y],\n vertices[3 * faces[i + 2 * vis] + z]\n );\n if (t != -1) {\n //System.out.println(\"adding incoming \" + t);\n if (t < epsilon) {\n t = 0.0;\n }\n ts.add(t);\n }\n\n }\n\n // catch coincident points on triangles\n if (ts.size() == 1 && ts.contains(0.0)) {\n return false;\n }\n\n if ((ts.size() % 2) == 1) {\n //System.out.println(\"unique t parameters: \" + ts.size());\n //System.out.println(\"contained: \"+point);\n return true;\n }\n //System.out.println(\"\");\n\n return false;\n }", "@Override\n\tpublic boolean intersects(double arg0, double arg1, double arg2, double arg3) {\n\t\treturn false;\n\t}", "@JsMethod\n public native Cartographic findIntersectionWithLatitude(double intersectionLatitude);", "public void\n doExtraInformation(Ray inRay, double inT, \n GeometryIntersectionInformation outData) {\n outData.p = lastInfo.p;\n\n switch ( lastPlane ) {\n case 1:\n outData.n.x = 0;\n outData.n.y = 0;\n outData.n.z = 1;\n outData.u = outData.p.y / size.y - 0.5;\n outData.v = 1-(outData.p.x / size.x - 0.5);\n outData.t.x = 0;\n outData.t.y = 1;\n outData.t.z = 0;\n break;\n case 2:\n outData.n.x = 0;\n outData.n.y = 0;\n outData.n.z = -1;\n outData.u = outData.p.y / size.y - 0.5;\n outData.v = outData.p.x / size.x - 0.5;\n outData.t.x = 0;\n outData.t.y = 1;\n outData.t.z = 0;\n break;\n case 3:\n outData.n.x = 0;\n outData.n.z = 0;\n outData.n.y = 1;\n outData.u = 1-(outData.p.x / size.x - 0.5);\n outData.v = outData.p.z / size.z - 0.5;\n outData.t.x = -1;\n outData.t.y = 0;\n outData.t.z = 0;\n break;\n case 4:\n outData.n.x = 0;\n outData.n.z = 0;\n outData.n.y = -1;\n outData.u = outData.p.x / size.x - 0.5;\n outData.v = outData.p.z / size.z - 0.5;\n outData.t.x = 1;\n outData.t.y = 0;\n outData.t.z = 0;\n break;\n case 5:\n outData.n.x = 1;\n outData.n.y = 0;\n outData.n.z = 0;\n outData.u = outData.p.y / size.y - 0.5;\n outData.v = outData.p.z / size.z - 0.5;\n outData.t.x = 0;\n outData.t.y = 1;\n outData.t.z = 0;\n break;\n case 6:\n outData.n.x = -1;\n outData.n.y = 0;\n outData.n.z = 0;\n outData.u = 1-(outData.p.y / size.y - 0.5);\n outData.v = outData.p.z / size.z - 0.5;\n outData.t.x = 0;\n outData.t.y = -1;\n outData.t.z = 0;\n break;\n default:\n outData.u = 0;\n outData.v = 0;\n break;\n }\n }", "public Coordinates intersection() {\n return intersection;\n }", "boolean isInsideScreen() {\n if (_hitbox.length == 1) {\n float r = _hitbox[0].x;\n PVector c = _getCenter();\n return 0 <= c.x + r && c.x - r < width && 0 <= c.y + r && c.y - r < height;\n }\n \n PVector[] points = this._getPoints();\n for(PVector p : points) {\n if(0 <= p.x && p.x < width && 0 <= p.y && p.y < height) {\n return true;\n }\n }\n return false;\n }", "public static boolean intersectsLineLine(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, Vector2i intersection) {\n\t\t\n\t\tint d = (y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1);\n\t\tif (d == 0) return false;\n\t\t\n\t\tint yd = y1 - y3;\n\t\tint xd = x1 - x3;\n\t\tint ua = ((x4 - x3) * yd - (y4 - y3) * xd) / d;\n\t\tif (ua < 0 || ua > 1) return false;\n\t\t\n\t\tint ub = ((x2 - x1) * yd - (y2 - y1) * xd) / d;\n\t\tif (ub < 0 || ub > 1) return false;\n\t\t\n\t\tif (intersection != null) intersection.set(x1 + (x2 - x1) * ua, y1 + (y2 - y1) * ua);\n\t\t\n\t\treturn true;\n\t}", "public static boolean intersectLineTriangle(Vec3 p, Vec3 q, Vec3 a, Vec3 b, Vec3 c, Vec3 r) {\r\n\t // Bring points to their respective coordinate frame\r\n\t Vec3 pq = q.subtract( p);\r\n\t Vec3 pa =a.subtract(p);\r\n\t Vec3 pb = b.subtract(p);\r\n\t Vec3 pc = c.subtract(p);\r\n\t \r\n\t Vec3 m = pq.cross(pc);\r\n\t \r\n\t float u = pb.dot(m); \r\n\t float v = -pa.dot(m);\r\n\t \r\n\t if (Math.signum(u) != Math.signum(v)) {\r\n\t return false;\r\n\t }\r\n\t \r\n\t // scalar triple product\r\n\t float w = pq.dot( pb.cross(pa));\r\n\t \r\n\t if (Math.signum(u) != Math.signum(w)) {\r\n\t return false;\r\n\t }\r\n\t \r\n\t float denom = 1.0f / (u + v + w);\r\n\t \r\n\t // r = ((u * denom) * a) + ((v * denom) * b) + ((w * denom) * c);\r\n\t Vec3 compA = a.multiply(u * denom);\r\n\t Vec3 compB = b.multiply( v * denom);\r\n\t Vec3 compC = c.multiply( w * denom);\r\n\t \r\n\t // store result in Vector r\r\n\t r.x = compA.x + compB.x + compC.x;\r\n\t r.y = compA.y + compB.y + compC.y;\r\n\t r.z = compA.z + compB.z + compC.z;\r\n\t \r\n\t return true;\r\n\t}", "public boolean intersects(HitBox h){\n\t\treturn rect.intersects(h.getRectangle());\n\t}", "@Override\n\tpublic boolean intersectsRectangle(final int ax1, final int ax2, final int ay1, final int ay2)\n\t{\n\t\tif (isInsideZone(ax1, ay1, (zoneZ2 - 1)))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (isInsideZone(ax1, ay2, (zoneZ2 - 1)))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (isInsideZone(ax2, ay1, (zoneZ2 - 1)))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (isInsideZone(ax2, ay2, (zoneZ2 - 1)))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// Check if any point from this rectangle is inside the other one\n\t\tif (zoneX1 > ax1 && zoneX1 < ax2 && zoneY1 > ay1 && zoneY1 < ay2)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (zoneX1 > ax1 && zoneX1 < ax2 && zoneY2 > ay1 && zoneY2 < ay2)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (zoneX2 > ax1 && zoneX2 < ax2 && zoneY1 > ay1 && zoneY1 < ay2)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (zoneX2 > ax1 && zoneX2 < ax2 && zoneY2 > ay1 && zoneY2 < ay2)\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// Horizontal lines may intersect vertical lines\n\t\tif (lineIntersectsLine(zoneX1, zoneY1, zoneX2, zoneY1, ax1, ay1, ax1, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX1, zoneY1, zoneX2, zoneY1, ax2, ay1, ax2, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX1, zoneY2, zoneX2, zoneY2, ax1, ay1, ax1, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX1, zoneY2, zoneX2, zoneY2, ax2, ay1, ax2, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\t// Vertical lines may intersect horizontal lines\n\t\tif (lineIntersectsLine(zoneX1, zoneY1, zoneX1, zoneY2, ax1, ay1, ax2, ay1))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX1, zoneY1, zoneX1, zoneY2, ax1, ay2, ax2, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX2, zoneY1, zoneX2, zoneY2, ax1, ay1, ax2, ay1))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tif (lineIntersectsLine(zoneX2, zoneY1, zoneX2, zoneY2, ax1, ay2, ax2, ay2))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "@JsMethod\n public native Cartographic findIntersectionWithLatitude(double intersectionLatitude, Cartographic result);", "public boolean isIntersecting(GameObject other){\n if(other.isSolid()&&this.solid){\n return RectF.intersects(other.getHitBox(),this.hitBox);//|| hitBox.contains(other.getHitBox())||other.getHitBox().contains(this.hitBox)\n }\n return false;\n }", "public void setIntersection(java.lang.Boolean value);", "default List<Point3D> findIntersections(Ray ray) {\n\tList<GeoPoint> geoList = findGeoIntersections(ray);\n\treturn geoList == null ? null\n\t: geoList .stream()\n\t.map(gp -> gp.point)\n\t.collect(Collectors.toList());\n\t}", "public Filter doIntersection(Filter f);", "public double intersect(Ray3D r) {\n\t\tdouble dn = (r.d).dot(n);\n\t\tif (dn==0.0) return Double.POSITIVE_INFINITY;\n\t\tdouble t = (p.subtract(r.p)).dot(n)/dn;\n\t\tif (t > 0) return t;\n\t\telse return Double.POSITIVE_INFINITY;\n\t}", "public boolean wasHit() {\n return(_hit);\n }", "@Override\n\tpublic boolean isInside(float x, float y, float z) {\n\t\treturn false;\n\t}", "public void intersect (int mousex, int mousey) {\n if (mousex <= (pos.x + dim.w) && mousex >= pos.x && mousey <= (pos.y + dim.h) && mousey >= pos.y) {\n isect = true;\n }\n else {\n isect = false;\n }\n }", "public boolean isLineHit(TessSeg s1)\r\n {\r\n int side00 = \r\n Math2DUtil.getLineSide(s1.c0.x, s1.c0.y, s1.getDx(), s1.getDy(),\r\n c0.x, c0.y);\r\n int side01 = \r\n Math2DUtil.getLineSide(s1.c0.x, s1.c0.y, s1.getDx(), s1.getDy(), \r\n c1.x, c1.y);\r\n\r\n if (side00 == 0 && side01 == 0)\r\n {\r\n //Lines lie along same ray\r\n double t0 = pointOnLineT(s1.c0);\r\n double t1 = pointOnLineT(s1.c1);\r\n return ((t0 < 0 && t1 < 0) || (t0 > 1 && t1 > 1)) ? false : true;\r\n }\r\n \r\n if ((side00 < 0 && side01 < 0) || (side00 > 0 && side01 > 0))\r\n {\r\n return false;\r\n }\r\n \r\n int side10 = \r\n Math2DUtil.getLineSide(c0.x, c0.y, getDx(), getDy(),\r\n s1.c0.x, s1.c0.y);\r\n int side11 = \r\n Math2DUtil.getLineSide(c0.x, c0.y, getDx(), getDy(), \r\n s1.c1.x, s1.c1.y);\r\n\r\n if ((side10 < 0 && side11 < 0) || (side10 > 0 && side11 > 0))\r\n {\r\n return false;\r\n }\r\n\r\n return true;\r\n \r\n /*\r\n if (!isBoundingBoxOverlap(s1))\r\n {\r\n return false;\r\n }\r\n \r\n if (isParallelTo(s1))\r\n {\r\n if (!isPointOnLine(s1.c0))\r\n {\r\n return false;\r\n }\r\n \r\n double t0 = pointOnLineT(s1.c0);\r\n double t1 = pointOnLineT(s1.c1);\r\n \r\n if ((t0 <= 0 && t1 <= 0) || (t0 >= 1 && t1 >= 1))\r\n {\r\n return false;\r\n }\r\n return true;\r\n }\r\n \r\n if (isPointOnLine(s1.c0))\r\n {\r\n double t = pointOnLineT(s1.c0);\r\n if (t > 0 && t < 1)\r\n {\r\n return true;\r\n }\r\n }\r\n \r\n if (isPointOnLine(s1.c1))\r\n {\r\n double t = pointOnLineT(s1.c1);\r\n if (t > 0 && t < 1)\r\n {\r\n return true;\r\n }\r\n }\r\n \r\n if (s1.isPointOnLine(c0))\r\n {\r\n double t = s1.pointOnLineT(c0);\r\n if (t > 0 && t < 1)\r\n {\r\n return true;\r\n }\r\n }\r\n \r\n if (s1.isPointOnLine(c1))\r\n {\r\n double t = s1.pointOnLineT(c1);\r\n if (t > 0 && t < 1)\r\n {\r\n return true;\r\n }\r\n }\r\n \r\n //Solve system of linear eqns\r\n double s0x0 = c0.x;\r\n double s0y0 = c0.y;\r\n double s0x1 = c1.x;\r\n double s0y1 = c1.y;\r\n double s1x0 = s1.c0.x;\r\n double s1y0 = s1.c0.y;\r\n double s1x1 = s1.c1.x;\r\n double s1y1 = s1.c1.y;\r\n\r\n double[] t = Math2DUtil.lineIsectFractions(\r\n s0x0, s0y0, s0x1 - s0x0, s0y1 - s0y0,\r\n s1x0, s1y0, s1x1 - s1x0, s1y1 - s1y0,\r\n null);\r\n\r\n if (t[0] > 0 && t[0] < 1 && t[1] > 0 && t[1] < 1)\r\n {\r\n return true;\r\n }\r\n \r\n return false;\r\n */\r\n }", "boolean isThereNeighborIntersection(int nEntry, int nExit, int W, int H){\n\n int[] entryNeighbors = new int[4];\n\n for(int i = 0; i < H; i++){\n if(nEntry == i*W)\n entryNeighbors[0] = -1;\n if(nEntry == i*W + W-1)\n entryNeighbors[1] = -1;\n }\n\n if(entryNeighbors[0] != -1)\n entryNeighbors[0] = nEntry - 1;\n\n if(entryNeighbors[1] != -1)\n entryNeighbors[1] = nEntry + 1;\n\n entryNeighbors[2] = nEntry - W;\n entryNeighbors[3] = nEntry + W;\n \n\n int[] exitNeighbors = new int[4];\n\n for(int i = 0; i < H; i++){\n if(exit == i*W)\n exitNeighbors[0] = -1;\n if(exit == i*(W+1) -1)\n exitNeighbors[1] = -1;\n }\n\n if(nExitNeighbors[0] != -1)\n exitNeighbors[0] = nExit - 1;\n\n if(nExitNeighbors[1] != -1)\n exitNeighbors[1] = nExit + 1;\n\n exitNeighbors[2] = nExit - W;\n exitNeighbors[3] = nExit + W;\n\n\n for(int i = 0; i < 4; i++)\n for(int j = 0; j < 4; j++)\n if( entryNeighbors[i] == exitNeighbors[j] && entryNeighbors[i] > 0 )\n return true;\n }", "public boolean intersectsSegment(Vector a, Vector b, double R){\r\n\t\tif(floor && !obstructed())\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tVector[] p = getCardinalPoints();\r\n\t\t\r\n\t\tfor(int i = 0; i < 4; i++){\r\n\t\t\tVector c = p[i];\r\n\t\t\tVector d = p[(i+1)%4];\r\n\t\t\tif(Geometry.segmentIntersect(a, b, c, d) || Geometry.plsDist(a, b, p[i]) <= R)\r\n\t\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "boolean wasHit();", "@Override\n // public Map<Geometry, List<Point3D>> findIntersections(Ray myRay) {\n public List<Point3D> FindIntersections(Ray myRay) {\n\n List<Point3D> geometryListMap = new ArrayList<>();\n List<Point3D> listOfIntersections = new ArrayList<Point3D>();\n\n // the bottom base of the cylinder\n Plane plane1 = new Plane(orientation.getPOO(), orientation.getDirection());\n\n // the top base of the cylinder\n Plane plane2 = new Plane(top, orientation.getDirection());\n\n List<Point3D> temp1 = plane1.FindIntersections(myRay);\n\n List<Point3D> temp2 = plane2.FindIntersections(myRay);\n\n // removing all points that beyond the radius\n if (temp1 != null)\n for (Point3D p1 : temp1) {\n if (new Vector(Point3D.substract(orientation.getPOO(), p1)).length() <= _radius && p1 != null)\n listOfIntersections.add(p1);\n\n }\n\n if (temp2 != null)\n for (Point3D p2 : temp2) {\n if (new Vector(Point3D.substract(orientation.getPOO(), p2)).length() <= _radius && p2 != null)\n listOfIntersections.add(p2);\n\n }\n\n // using the infinity cylinder to find all the intersections in the body of the limited cylinder\n geometryListMap = super.FindIntersections(myRay);\n\n for (Point3D p : geometryListMap) {\n if (isOnCylinder(p))\n listOfIntersections.add(p);\n\n }\n if (listOfIntersections.isEmpty())\n return null;\n //geometryListMap.put(this, listOfIntersections);\n return geometryListMap;\n }", "public boolean rayCrossesSegment(LatLng point, LatLng a, LatLng b) {\n double px = point.longitude,\n py = point.latitude,\n ax = a.longitude,\n ay = a.latitude,\n bx = b.longitude,\n by = b.latitude;\n if (ay > by) {\n ax = b.longitude;\n ay = b.latitude;\n bx = a.longitude;\n by = a.latitude;\n }\n // alter longitude to cater for 180 degree crossings\n if (px < 0 || ax < 0 || bx < 0) {\n px += 360;\n ax += 360;\n bx += 360;\n }\n // if the point has the same latitude as a or b, increase slightly py\n if (py == ay || py == by) py += 0.00000001;\n\n\n // if the point is above, below or to the right of the segment, it returns false\n if ((py > by || py < ay) || (px > Math.max(ax, bx))) {\n return false;\n }\n // if the point is not above, below or to the right and is to the left, return true\n else if (px < Math.min(ax, bx)) {\n return true;\n }\n // if the two above conditions are not met, you have to compare the slope of segment [a,b] (the red one here) and segment [a,p] (the blue one here) to see if your point is to the left of segment [a,b] or not\n else {\n double red = (ax != bx) ? ((by - ay) / (bx - ax)) : Double.POSITIVE_INFINITY;\n double blue = (ax != px) ? ((py - ay) / (px - ax)) : Double.POSITIVE_INFINITY;\n return (blue >= red);\n }\n\n }", "private Type establishIntersectionType() {\n\r\n\t\tdouble Pq0 = AngleUtil.getTurn(p0, p1, q0);\r\n\t\tdouble Pq1 = AngleUtil.getTurn(p0, p1, q1);\r\n\r\n\t\tdouble Qp0 = AngleUtil.getTurn(q0, q1, p0);\r\n\t\tdouble Qp1 = AngleUtil.getTurn(q0, q1, p1);\r\n\r\n\t\t// check if all turn have none angle. In this case, lines are collinear.\r\n\t\tif (Pq0 == AngleUtil.NONE && Pq1 == AngleUtil.NONE || Qp0 == AngleUtil.NONE && Qp1 == AngleUtil.NONE) {\r\n\t\t\t// at this point, we know that lines are collinear.\r\n\t\t\t// we must check if they overlap for segments intersection\r\n\t\t\tif (q0.getDistance(p0) <= p0.getDistance(p1) && q0.getDistance(p1) <= p0.getDistance(p1)) {\r\n\t\t\t\t// then q0 is in P limits and p0 or p1 is in Q limits\r\n\t\t\t\t// TODO this check is no sufficient\r\n\t\t\t\tinPLimits = true;\r\n\t\t\t\tinQLimits = true;\r\n\t\t\t}\r\n\t\t\treturn Type.COLLINEAR;\r\n\t\t}\r\n\t\t// check if q0 and q1 lie around P AND p0 and p1 lie around Q.\r\n\t\t// in this case, the two segments intersect\r\n\t\telse if (Pq0 * Pq1 <= 0 && Qp0 * Qp1 <= 0) {\r\n\t\t\t// else if(Pq0 <= 0 && Pq1 >= 0 && Qp0 <= 0 && Qp1 >= 0 ||\r\n\t\t\t// Pq0 >= 0 && Pq1 <= 0 && Qp0 >= 0 && Qp1 <= 0){\r\n\r\n\t\t\tinPLimits = true;\r\n\t\t\tinQLimits = true;\r\n\t\t\treturn Type.INTERSECT;\r\n\t\t}\r\n\r\n\t\t// At this point, we know that segments are not crossing\r\n\t\t// check if q0 and q1 lie around P or p0 and p1 lie around Q.\r\n\t\t// in this case, a segment cross a line\r\n\t\telse if (Pq0 * Pq1 <= 0) {\r\n\t\t\tinQLimits = true;\r\n\t\t\treturn Type.INTERSECT;\r\n\t\t} else if (Qp0 * Qp1 <= 0) {\r\n\t\t\tinPLimits = true;\r\n\t\t\treturn Type.INTERSECT;\r\n\t\t}\r\n\r\n\t\t// At this point, we know that each segment lie on one side of the other\r\n\t\t// We now check the slope to know if lines are Type.PARALLEL\r\n\t\tdouble pSlope = p0.getSlope(p1);\r\n\t\tdouble qSlope = q0.getSlope(q1);\r\n\t\tif (PrecisionUtil.areEquals(pSlope, qSlope))\r\n\t\t\t// TODO check the infinity case\r\n\t\t\t// this test works even if the slopes are \"Double.infinity\" due to the verticality of the lines and division\r\n\t\t\t// by 0\r\n\t\t\treturn Type.PARALLEL;\r\n\t\telse\r\n\t\t\treturn Type.INTERSECT;\r\n\t}", "@Test\n public void intersectsWithAutoCarPolygon() {\n // creating the needed movement vector\n radar.loop();\n radar.loop();\n List<WorldObject> list = radar.getRelevantObjectsForAEB();\n assertTrue(list.stream().anyMatch(t -> t.getId().equals(\"roadsign_speed_40_1\")));\n radar.loop();\n list = radar.getRelevantObjectsForAEB();\n assertEquals(0, list.size());\n }", "@Override\n\tpublic RaySceneObjectIntersection getClosestRayIntersection(Ray ray)\n\t{\n\t\tVector3D v=Vector3D.difference(ray.getP(), pointOnAxis);\n\t\tVector3D vP = v.getDifferenceWith(v.getProjectionOnto(normalisedAxisDirection));\t// part of v that's perpendicular to a\n\t\tVector3D dP = ray.getD().getDifferenceWith(ray.getD().getProjectionOnto(normalisedAxisDirection));\t// part of ray.d that's perpendicular to a\n\t\t\n\t\t// coefficients in the quadratic equation for t\n\t\tdouble a = dP.getModSquared();\n\t\t\n\t\tif(a==0.0) return RaySceneObjectIntersection.NO_INTERSECTION;\t// would give division by zero later\n\n\t\tdouble\n\t\t\tb2 = Vector3D.scalarProduct(vP, dP),\t// b/2\n\t\t\tc = vP.getModSquared() - radius*radius,\n\t\t\tdiscriminant4 = b2*b2 - a*c;\t// discriminant/4\n\n\t\t// first check if the discriminant is >0; if it isn't, then there is no intersection at all\n\t\tif(discriminant4 < 0.0) return RaySceneObjectIntersection.NO_INTERSECTION;\n\t\t\n\t\t// okay, the discriminant is positive; take its square root, which is what we actually need\n\t\tdouble sqrtDiscriminant2 = Math.sqrt(discriminant4);\t// sqrt(discriminant)/2\n\t\t\t\n\t\t// calculate the factor t corresponding to the\n\t\t// intersection with the greater t factor;\n\t\t// the further-away intersection is then ray.p + tBigger*ray.d\n\t\tdouble tBigger=((a>0)?(-b2+sqrtDiscriminant2)/a:(-b2-sqrtDiscriminant2)/a);\n\t\t\n\t\t//if tBigger<0, then the intersection with the lesser t factor will have to be even more negative;\n\t\t// therefore, both intersections will be \"behind\" the starting point\n\t\tif(tBigger < 0.0) return RaySceneObjectIntersection.NO_INTERSECTION;\n\n\t\t// calculate the factor tSmaller corresponding to the\n\t\t// intersection with the lesser t factor\n\t\tdouble tSmaller=((a>0)?(-b2-sqrtDiscriminant2)/a:(-b2+sqrtDiscriminant2)/a);\n\n\t\tRay rayAtIntersectionPoint;\n\t\t\n\t\t// first check if the intersection point with the lesser t factor is an option\n\t\tif(tSmaller > 0.0)\n\t\t{\n\t\t\t// the intersection with the lesser t factor lies in front of the starting point, so it might correspond to the intersection point\n\t\t\t\n\t\t\t// calculate the ray advanced to the intersection point\n\t\t\trayAtIntersectionPoint = ray.getAdvancedRay(tSmaller);\n\t\t\t\n\t\t\treturn new RaySceneObjectIntersection(rayAtIntersectionPoint.getP(), this, rayAtIntersectionPoint.getT());\n\t\t}\n\t\t\n\t\t// If the program reaches this point, the intersection with the lesser t factor was not the right intersection.\n\t\t// Now try the intersection point with the greater t factor.\n\t\t\n\t\t// calculate the ray advanced to the intersection point\n\t\trayAtIntersectionPoint = ray.getAdvancedRay(tBigger);\n\n\t\treturn new RaySceneObjectIntersection(rayAtIntersectionPoint.getP(), this, rayAtIntersectionPoint.getT());\n\t}", "public HitRecord hit(Ray ray, float tmin, float tmax) {\n Vector3f origin = ray.getOrigin();\n Vector3f direction = ray.getDirection();\n\t\tVector3f temp = new Vector3f(origin.x - center.x, origin.y - center.y, origin.z - center.z);\n //Calculate quadratic variables (a*t^2 + b*t + t = r^2)\n float a = direction.dot(direction);\n float b = 2.0f * temp.dot(direction);\n float c = temp.dot(temp) - radius * radius;\n float discriminant = (float) (b * b - 4 * a * c);\n\t\tif (discriminant <= 0.f) {\n return null;\n }\n\t\tdouble t = ((b * -1) - Math.sqrt(discriminant)) / (2 * a);\n\t\tif (t < tmin)\n t = ((b * -1) + Math.sqrt(discriminant)) / (2 * a);\n /* if t out of range, return null */\n if (t < tmin || t > tmax)\t\n return null;\n\t\t/* construct hit record */\n\t\tHitRecord rec = new HitRecord();\n\t\trec.pos = ray.pointAt((float) t);\t\t// position of hit point\n\t\trec.t = (float) t;\t\t\t\t\t\t// parameter t (distance along the ray)\n\t\trec.material = material;\t\t// material\n\t\trec.normal = new Vector3f(origin.x + (float) (t * direction.x) - center.x, origin.y + (float) (t * direction.y) - center.y, origin.z + (float) (t * direction.z) - center.z);\n rec.normal.normalize();\t\t\t// normal should be normalized\n\t\treturn rec;\n\t}", "@Test\n void findIntersections() {\n Cuboid cuboid1 = new Cuboid(4,4,4);\n Ray ray1 = new Ray(new Point3D(-3,0,0), new Vector3D(1,0,0));\n ArrayList<GeoPoint> actual1 = cuboid1.findIntersections(ray1);\n ArrayList<GeoPoint> expected1 = new ArrayList<>();\n expected1.add(new GeoPoint(cuboid1, new Point3D(2,0,0)));\n expected1.add(new GeoPoint(cuboid1, new Point3D(-2,0,0)));\n\n assertTrue(Util.intersectionsEqual(expected1, actual1));\n\n //Aligned with Y axis but have different dimensions\n Cuboid cuboid2 = new Cuboid(2,4,3);\n Ray ray2 = new Ray(new Point3D(0,100,0), new Vector3D(0,-1,0));\n ArrayList<GeoPoint> actual2 = cuboid2.findIntersections(ray2);\n ArrayList<GeoPoint> expected2 = new ArrayList<>();\n expected2.add(new GeoPoint(cuboid1, new Point3D(0,2,0)));\n assertEquals(expected2.get(0).point, actual2.get(0).point);\n\n Cuboid cuboid3 = new Cuboid(2,4,3, new Ray(new Point3D(1,1,1), new Vector3D(0,0,1)));\n Ray ray3 = new Ray(new Point3D(0,100,0), new Vector3D(0,-1,0));\n ArrayList<GeoPoint> actual3 = cuboid3.findIntersections(ray3);\n ArrayList<GeoPoint> expected3 = new ArrayList<>();\n expected3.add(new GeoPoint(cuboid1, new Point3D(0,3,0)));\n assertEquals(expected3.get(0).point, actual3.get(0).point);\n\n Ray ray = new Ray(new Point3D(0,0,-200), Vector3D.zAxis);\n ArrayList<GeoPoint> interesections = cuboid1.findIntersections(ray);\n }", "public boolean intersecta(Base obj) {\n return getPerimetro().intersects(obj.getPerimetro());\n }", "public boolean intersects(OnScreenObject other) {\r\n if (other == null) {\r\n return false;\r\n }\r\n Rectangle r1 = getRectangle();\r\n Rectangle r2 = other.getRectangle();\r\n\r\n return r1.intersects(r2);\r\n }", "public boolean isHit() { return hit; }", "public boolean isIntersecting(RectF other){\n return RectF.intersects(other,this.hitBox);//|| hitBox.contains(other.getHitBox())||other.getHitBox().contains(this.hitBox)\n }", "public abstract boolean isHit(int x, int y);", "public boolean nEnRaya() {\n return (hayRayaHorizontal() || hayRayaVertical() || hayRayaDiagonal());\n }", "@Override\n public boolean equals(Object obj) {\n if(obj.getClass().equals(Lake.class)) {\n Lake lake = (Lake) obj;\n return lake.getId().equals(this.id) &\n lake.getName().equals(this.name) &\n lake.getNearestTown().equals(this.nearestTown) &\n lake.getMostRecentSurveyDate().equals(this.mostRecentSurveyDate) &\n lake.getCounty().equals(this.county);\n }\n return false;\n }", "public Point3 intersects(Plane3 p) {\n // All the constants will be the position vector, i.e., some point on the line\n if (intersect.DEBUG) System.out.println(\"Constant Terms: <\" + this.pt + \">\");\n\n // λ coefficients will be all those in the direction vector of the line\n if (intersect.DEBUG) System.out.println(\"λ coefficients: \" + this);\n\n // Plane equation is each component multiplied by the respective normal\n // vector of the plane\n if (intersect.DEBUG) System.out.printf(\"Plane equation: %.1f(%.1f + %.1fλ) + %.1f(%.1f + %.1fλ) + %.1f(%.1f + %.1fλ) = %.3f\\n\", p.v.x, pt.x, this.x, p.v.y, pt.y, this.y, p.v.z, pt.z, this.z, p.d);\n\n // Gather all constant terms from the plane equation\n double constantTerm = (p.v.x * pt.x) + (p.v.y * pt.y) + (p.v.z * pt.z);\n if (intersect.DEBUG) System.out.printf(\"K: %.2f\\t\", constantTerm);\n\n // Gather all λ terms\n double lambdaCoefficient = (p.v.x * this.x) + (p.v.y * this.y) + (p.v.z * this.z);\n if (intersect.DEBUG) System.out.printf(\"K_λ: %.1f\\n\", lambdaCoefficient);\n\n // If the coefficient for lambda is zero, we have a degenerate case\n if (lambdaCoefficient == 0) {\n // If the constant is the same as the actual magnitude of the plane's\n // normal vector, the line lies on the plane\n // Within a margin of error because rounding is a pain in the ass\n if (Math.abs(constantTerm - p.d) < 1e-6)\n intersect.overlapFlag = true;\n\n return null;\n }\n\n // Solve for the unknown, λ.\n double lambda = (p.d - constantTerm) / lambdaCoefficient;\n if (intersect.DEBUG) System.out.printf(\"λ: %.2f\\n\", lambda);\n\n // Plug in λ into the parametric equations for the line to find\n // point of intersection\n double newX = lambda * this.x + pt.x;\n double newY = lambda * this.y + pt.y;\n double newZ = lambda * this.z + pt.z;\n return new Point3(newX, newY, newZ);\n }", "@Test\n\tpublic void testConstructRayThroughPixel() {\n\n\t\tCamera camera1 = new Camera(Point3D.ZERO, new Vector(0, 1, 0), new Vector(0, 0, 1));\n\n\t\t// 3X3\n\t\tRay ray11 = camera1.constructRayThroughPixel(3, 3, 1, 1, 100, 150, 150);\n\t\tRay expectedRay11 = new Ray(Point3D.ZERO, new Vector(50, 50, 100).normalize());\n\t\tassertEquals(\"positive up to vectors testing at 3X3 in pixel (1,1)\", ray11, expectedRay11);\n\n\t\tRay ray33 = camera1.constructRayThroughPixel(3, 3, 3, 3, 100, 150, 150);\n\t\tRay expectedRay33 = new Ray(Point3D.ZERO, new Vector(-50, -50, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (3,3)\", ray33, expectedRay33);\n\n\t\tRay ray21 = camera1.constructRayThroughPixel(3, 3, 2, 1, 100, 150, 150);\n\t\tRay expectedRay21 = new Ray(Point3D.ZERO, new Vector(0, 50, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (2,1)\", ray21, expectedRay21);\n\n\t\tRay ray23 = camera1.constructRayThroughPixel(3, 3, 2, 3, 100, 150, 150);\n\t\tRay expectedRay23 = new Ray(Point3D.ZERO, new Vector(0, -50, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (2,3)\", ray23, expectedRay23);\n\n\t\tRay ray12 = camera1.constructRayThroughPixel(3, 3, 1, 2, 100, 150, 150);\n\t\tRay expectedRay12 = new Ray(Point3D.ZERO, new Vector(50, 0, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (1,2)\", ray12, expectedRay12);\n\n\t\tRay ray32 = camera1.constructRayThroughPixel(3, 3, 3, 2, 100, 150, 150);\n\t\tRay expectedRay32 = new Ray(Point3D.ZERO, new Vector(-50, 0, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (3,2)\", ray32, expectedRay32);\n\n\t\tRay ray22 = camera1.constructRayThroughPixel(3, 3, 2, 2, 100, 150, 150);\n\t\tRay expectedRay22 = new Ray(Point3D.ZERO, new Vector(0, 0, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X3 in pixel (2,2) - A case test that Pij is equal to Pc\", ray22,\n\t\t\t\texpectedRay22);\n\n\t\t// 3X4 Py={1,2,3} Px={1,2,3,4}\n\n\t\tRay rayS22 = camera1.constructRayThroughPixel(4, 3, 2, 2, 100, 200, 150);\n\t\tRay expectedRayS22 = new Ray(Point3D.ZERO, new Vector(25, 0, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X4 in pixel (2,2)\", rayS22, expectedRayS22);\n\n\t\tRay rayS32 = camera1.constructRayThroughPixel(4, 3, 3, 2, 100, 200, 150);\n\t\tRay expectedRayS32 = new Ray(Point3D.ZERO, new Vector(-25, 0, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X4 in pixel (3,2)\", rayS32, expectedRayS32);\n\n\t\tRay rayS11 = camera1.constructRayThroughPixel(4, 3, 1, 1, 100, 200, 150);\n\t\tRay expectedRayS11 = new Ray(Point3D.ZERO, new Vector(75, 50, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X4 in pixel (1,1)\", rayS11, expectedRayS11);\n\n\t\tRay rayS43 = camera1.constructRayThroughPixel(4, 3, 4, 3, 100, 200, 150);\n\t\tRay expectedRayS43 = new Ray(Point3D.ZERO, new Vector(-75, -50, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 3X4 in pixel (4,3)\", rayS43, expectedRayS43);\n\n\t\t// 4X3 Py={1,2,3,4} Px={1,2,3}\n\n\t\tRay ray_c22 = camera1.constructRayThroughPixel(3, 4, 2, 2, 100, 150, 200);\n\t\tRay expectedRay_c22 = new Ray(Point3D.ZERO, new Vector(0, 25, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 4X3 in pixel (2,2)\", ray_c22, expectedRay_c22);\n\n\t\tRay ray_c32 = camera1.constructRayThroughPixel(3, 4, 3, 2, 100, 150, 200);\n\t\tRay expectedRay_c32 = new Ray(Point3D.ZERO, new Vector(-50, 25, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 4X3 in pixel (3,2)\", ray_c32, expectedRay_c32);\n\n\t\tRay ray_c11 = camera1.constructRayThroughPixel(3, 4, 1, 1, 100, 150, 200);\n\t\tRay expectedRay_c11 = new Ray(Point3D.ZERO, new Vector(50, 75, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 4X3 in pixel (1,1)\", ray_c11, expectedRay_c11);\n\n\t\tRay ray_c43 = camera1.constructRayThroughPixel(3, 4, 3, 4, 100, 150, 200);\n\t\tRay expectedRay_c43 = new Ray(Point3D.ZERO, new Vector(-50, -75, 100).normalize());\n\t\tassertEquals(\"pozitiv up to vectors testing at 4X3 in pixel (4,3)\", ray_c43, expectedRay_c43);\n\n\t\t// ======\n\t\t// Negative vectors.\n\t\tCamera camera2 = new Camera(Point3D.ZERO, new Vector(0, -1, 0), new Vector(0, 0, -1));\n\n\t\t// 3X3\n\t\tRay ray1 = camera2.constructRayThroughPixel(3, 3, 3, 3, 100, 150, 150);\n\t\tRay resultRay = new Ray(Point3D.ZERO,\n\t\t\t\tnew Vector(-1 / Math.sqrt(6), 1 / Math.sqrt(6), -(Math.sqrt((double) 2 / 3))));\n\t\tassertEquals(\"Negative vectors testing at 3X3 in pixel (3,3)\", ray1, resultRay);\n\n\t\t// 3X3\n\t\tRay ray_d11 = camera2.constructRayThroughPixel(3, 3, 1, 1, 100, 150, 150);\n\t\tRay expectedRay_d11 = new Ray(Point3D.ZERO, new Vector(50, -50, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (1,1)\", ray_d11, expectedRay_d11);\n\n\t\tRay ray_d33 = camera2.constructRayThroughPixel(3, 3, 3, 3, 100, 150, 150);\n\t\tRay expectedRay_d33 = new Ray(Point3D.ZERO, new Vector(-50, 50, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (3,3)\", ray_d33, expectedRay_d33);\n\n\t\tRay ray_d21 = camera2.constructRayThroughPixel(3, 3, 2, 1, 100, 150, 150);\n\t\tRay expectedRay_d21 = new Ray(Point3D.ZERO, new Vector(0, -50, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (2,1)\", ray_d21, expectedRay_d21);\n\n\t\tRay ray_d23 = camera2.constructRayThroughPixel(3, 3, 2, 3, 100, 150, 150);\n\t\tRay expectedRay_d23 = new Ray(Point3D.ZERO, new Vector(0, 50, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (2,3)\", ray_d23, expectedRay_d23);\n\n\t\tRay ray_d12 = camera2.constructRayThroughPixel(3, 3, 1, 2, 100, 150, 150);\n\t\tRay expectedRay_d12 = new Ray(Point3D.ZERO, new Vector(50, 0, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (1,2)\", ray_d12, expectedRay_d12);\n\n\t\tRay ray_d32 = camera2.constructRayThroughPixel(3, 3, 3, 2, 100, 150, 150);\n\t\tRay expectedRay_d32 = new Ray(Point3D.ZERO, new Vector(-50, 0, -100).normalize());\n\t\tassertEquals(\"negative up to vectors testing at 3X3 in pixel (3,2)\", ray_d32, expectedRay_d32);\n\n\t\t// vTo negative vUp positive\n\t\tCamera camera3 = new Camera(Point3D.ZERO, new Vector(0, 1, 0), new Vector(0, 0, -1));\n\n\t\t// 3X4\n\n\t\tRay ray_e22 = camera3.constructRayThroughPixel(4, 3, 2, 2, 100, 200, 150);\n\t\tRay expectedRay_e22 = new Ray(Point3D.ZERO, new Vector(-25, 0, -100).normalize());\n\t\tassertEquals(\"vTo negative vUp positive vectors testing at 3X4 in pixel (2,2)\", ray_e22, expectedRay_e22);\n\n\t\tRay ray_e32 = camera3.constructRayThroughPixel(4, 3, 3, 2, 100, 200, 150);\n\t\tRay expectedRay_e32 = new Ray(Point3D.ZERO, new Vector(25, 0, -100).normalize());\n\t\tassertEquals(\"vTo negative vUp positive vectors testing at 3X4 in pixel (3,2)\", ray_e32, expectedRay_e32);\n\n\t\tRay ray_e11 = camera3.constructRayThroughPixel(4, 3, 1, 1, 100, 200, 150);\n\t\tRay expectedRay_e11 = new Ray(Point3D.ZERO, new Vector(-75, 50, -100).normalize());\n\t\tassertEquals(\"vTo negative vUp positive vectors testing at 3X4 in pixel (1,1)\", ray_e11, expectedRay_e11);\n\n\t\tRay ray_e43 = camera3.constructRayThroughPixel(4, 3, 4, 3, 100, 200, 150);\n\t\tRay expectedRay_e43 = new Ray(Point3D.ZERO, new Vector(75, -50, -100).normalize());\n\t\tassertEquals(\"vTo negative vUp positive vectors testing at 3X4 in pixel (4,3)\", ray_e43, expectedRay_e43);\n\n\t\t// ======\n\t\tCamera littlCam = new Camera(Point3D.ZERO, new Vector(0, 1, 0), new Vector(0, 0, 1));\n\t\tRay littl33 = littlCam.constructRayThroughPixel(3, 3, 3, 3, 10, 6, 6);\n\t\tRay checklittl33 = new Ray(Point3D.ZERO, new Vector(-2, -2, 10).normalize());\n\t\tRay littl11 = littlCam.constructRayThroughPixel(3, 3, 1, 1, 10, 6, 6);\n\t\tRay checklittl11 = new Ray(Point3D.ZERO, new Vector(2, 2, 10).normalize());\n\n\t\tassertEquals(\"3,3\", littl33, checklittl33);\n\t\tassertEquals(\"1,1\", littl11, checklittl11);\n\t}", "public void testContain_Stress() throws Exception {\n // the test start time.\n long startTime = System.currentTimeMillis();\n // run the test for RUN_TIMES times.\n for (int i = 0; i < StressTestsHelper.RUN_TIMES; i++) {\n for (int j = 0; j < 50; j++) {\n for (int k = 0; k < 50; k++) {\n this.lifelineSegment.contains(j, k);\n }\n }\n }\n // output the time used.\n long endTime = System.currentTimeMillis();\n System.out.println(\"Run \" + StressTestsHelper.RUN_TIMES\n + \" LifelineSegment#contains(int x, int y) method takes \" + (endTime - startTime) + \"ms\");\n\n }", "@Override\n\tpublic RaySceneObjectIntersection getClosestRayIntersection(Ray ray)\n\t{\t\t//this is calculating the \"term under the square root\"\n\t\tVector3D v=Vector3D.difference(ray.getP(), centre);\t\t\t\t\t\t//which must be greater than 0 for intersection\n\n\t\t// coefficients in the quadratic equation for t\n\t\tdouble \n\t\tquadraticA = ray.getD().getModSquared(),\n\t\tquadraticB2 = Vector3D.scalarProduct(v, ray.getD()),\t// b/2\n\t\tquadraticC = v.getModSquared() - MyMath.square(radius);\n\n\t\t// discriminant/2\n\t\tdouble discriminant2 = quadraticB2*quadraticB2-quadraticA*quadraticC;\n\n\n\t\tif(discriminant2<0.0) {\n\t\t\t//returns NaN if there is no intersection\n\t\t\treturn RaySceneObjectIntersection.NO_INTERSECTION;\n\t\t}\n\n\t\tdouble t1=(-quadraticB2+Math.sqrt(discriminant2))/quadraticA;\n\n\t\tif(t1<0.0) {\n\t\t\t//if t1<0 then t2 must be less than zero\n\t\t\treturn RaySceneObjectIntersection.NO_INTERSECTION;\n\t\t}\n\n\t\tdouble t2=(-quadraticB2-Math.sqrt(discriminant2))/quadraticA;\n\t\t\n\t\tRay rayAtIntersectionPoint = ray.getAdvancedRay((t2<0.0)?t1:t2);\n\n\t\treturn new RaySceneObjectIntersection(\n\t\t\t\trayAtIntersectionPoint.getP(),\n\t\t\t\tthis,\n\t\t\t\trayAtIntersectionPoint.getT()\n\t\t\t);\n\t}", "public abstract Color traceRay(Ray ray);", "public abstract Color traceRay(Ray ray);", "public boolean intersects(RMPath aPath)\n{\n // Get line width to be used in intersects test\n float lineWidth = getStrokeWidth();\n \n // Get bounds, adjusted for line width\n RMRect bounds = getBoundsInside();\n bounds.inset(-lineWidth/2, -lineWidth/2);\n\n // If paths don't even intersect bounds, just return false\n if(!aPath.getBounds2D().intersectsRectEvenIfEmpty(bounds))\n return false;\n \n // Get path in bounds\n RMPath path = getPathInBounds();\n \n // Return whether path intersects given path\n return path.intersects(aPath, lineWidth);\n}", "public boolean doesIntersect(Box box) {\n\n\n\t\tfor (Point point:box.getVerts()) {\n\n\t\t\tif (this.contains(point)) return true;\n\t\t}\n\n\t\tfor (Point point: this.verts) {\n\n\t\t\tif (box.contains(point)) return true;\n\t\t}\n\n\t\treturn false;\n\t}", "private boolean segIntPoly( Coordinate[] segIn, Coordinate[] polyIn ) {\n\t\t\n\t\tboolean qualify = true;\n\t\t\n\t\t//Convert to grid coordinate.\n\t\tCoordinate[] seg = PgenUtil.latlonToGrid( segIn );\n\t\tCoordinate[] poly = PgenUtil.latlonToGrid( polyIn );\n\t\t\n\t\t//Get mid-point and form geometries.\t\t\n\t\tCoordinate[] midp = new Coordinate[1];\t\t\n\t\tmidp[0] = new Coordinate( (seg[0].x + seg[1].x) / 2.0, (seg[0].y + seg[1].y) / 2.0 );\n\t\tGeometry point = GfaClip.getInstance().pointsToGeometry( midp );\n\t\tGeometry polygon = GfaClip.getInstance().pointsToGeometry( poly );\t\t\n\n\t\t//Disqualify if the segment lies outside of the polygon\n\t\tif ( !point.within( polygon ) ) {\n\t\t\tqualify = false;\n\t\t}\n\t\telse {\n\t\t\tGeometry segment = GfaClip.getInstance().pointsToGeometry( seg );\t \t\n\n\t\t\tif ( segment.intersects( polygon ) ) {\n\t\t\t\tCoordinate[] ipts = segment.intersection( polygon ).getCoordinates();\n\t\t\t\t/*\n\t\t\t\t * Disqualify if the segment intersects other segments of the polygon - \n\t\t\t\t * except the segments that share either the starting or ending \n\t\t\t\t * point with the segment on check.\n\t\t\t\t */\n\t\t\t\tif ( ipts.length != 2 ) {\n\t\t\t\t\tqualify = false;\n\t\t\t\t}\n\t\t\t} \n\t\t}\n\n\t\t\n\t\treturn qualify;\n\t}", "public static RayTraceResult checkForImpact(World world, Entity entity, Entity shooter, double hitBox, boolean flag) \r\n\t{\r\n\t\tVec3d vec3 = new Vec3d(entity.posX, entity.posY, entity.posZ);\r\n\t\tVec3d vec31 = new Vec3d(entity.posX + entity.motionX, entity.posY + entity.motionY, entity.posZ + entity.motionZ);\r\n\r\n\t\tRayTraceResult raytraceresult = world.rayTraceBlocks(vec3, vec31, false, true, false);\r\n\t\tvec3 = new Vec3d(entity.posX, entity.posY, entity.posZ);\r\n\t\tvec31 = new Vec3d(entity.posX + entity.motionX, entity.posY + entity.motionY, entity.posZ + entity.motionZ);\r\n\r\n\t\tif (raytraceresult != null) \r\n\t\t{\r\n\t\t\tvec31 = new Vec3d(raytraceresult.hitVec.x, raytraceresult.hitVec.y, raytraceresult.hitVec.z);\r\n\t\t}\r\n\r\n\t\tEntity target = null;\r\n\t\tList<Entity> list = world.getEntitiesWithinAABBExcludingEntity(entity, entity.getEntityBoundingBox().expand(entity.motionX, entity.motionY, entity.motionZ).expand(1.0D, 1.0D, 1.0D));\r\n\t\tdouble d0 = 0.0D;\r\n\t\t//double hitBox = 0.3D;\r\n\r\n\t\tfor (int i = 0; i < list.size(); ++i) \r\n\t\t{\r\n\t\t\tEntity entity1 = (Entity) list.get(i);\r\n\r\n\t\t\tif (entity1.canBeCollidedWith() && (entity1 != shooter || flag)) \r\n\t\t\t{\r\n\t\t\t\tAxisAlignedBB axisalignedbb = entity1.getEntityBoundingBox().expand(hitBox, hitBox, hitBox);\r\n\t\t\t\tRayTraceResult mop1 = axisalignedbb.calculateIntercept(vec3, vec31);\r\n\r\n\t\t\t\tif (mop1 != null) \r\n\t\t\t\t{\r\n\t\t\t\t\tdouble d1 = vec3.distanceTo(mop1.hitVec);\r\n\r\n\t\t\t\t\tif (d1 < d0 || d0 == 0.0D) \r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttarget = entity1;\r\n\t\t\t\t\t\td0 = d1;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (target != null) \r\n\t\t{\r\n\t\t\traytraceresult = new RayTraceResult(target);\r\n\t\t}\r\n\r\n\t\tif (raytraceresult != null && raytraceresult.entityHit instanceof EntityPlayer) \r\n\t\t{\r\n\t\t\tEntityPlayer player = (EntityPlayer) raytraceresult.entityHit;\r\n\r\n\t\t\tif (player.capabilities.disableDamage || (shooter instanceof EntityPlayer\r\n\t\t\t\t\t&& !((EntityPlayer) shooter).canAttackPlayer(player)))\r\n\t\t\t{\r\n\t\t\t\traytraceresult = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn raytraceresult;\r\n\t}" ]
[ "0.7776976", "0.71662384", "0.6743041", "0.6461552", "0.6424535", "0.6413974", "0.60946065", "0.5936005", "0.5908463", "0.5843089", "0.57791907", "0.5725554", "0.5644624", "0.56303376", "0.56106204", "0.5503396", "0.54470426", "0.5447004", "0.5446107", "0.5340148", "0.53371334", "0.533007", "0.5328516", "0.532641", "0.5306937", "0.5297459", "0.52706397", "0.52652997", "0.52163774", "0.520788", "0.519712", "0.51829696", "0.5169103", "0.51552564", "0.5152744", "0.51358765", "0.51349497", "0.5133893", "0.50667274", "0.5064043", "0.5043732", "0.503875", "0.49896795", "0.49834394", "0.49825704", "0.49783015", "0.49618503", "0.49570882", "0.49459827", "0.49268457", "0.4926562", "0.4919072", "0.49070668", "0.4894006", "0.48926", "0.4892575", "0.48900852", "0.48422432", "0.4839828", "0.48059848", "0.48039556", "0.47805673", "0.47787064", "0.4768033", "0.4756946", "0.4753969", "0.47527355", "0.47494555", "0.4739364", "0.47140273", "0.46998587", "0.46936035", "0.4693186", "0.46931067", "0.46791038", "0.46702766", "0.46673584", "0.46664524", "0.46611014", "0.46606565", "0.46581307", "0.4657158", "0.46433038", "0.4641122", "0.4631304", "0.46251944", "0.46151948", "0.4613718", "0.46045572", "0.46015686", "0.4597094", "0.4596616", "0.45883632", "0.4582868", "0.45743", "0.45743", "0.45736027", "0.45640585", "0.4563909", "0.45627236" ]
0.75465846
1
Retrieve ECKey from active accounts list from manager perspective !important method. use in careful Can use this method as check if unlocked
@Override public ECKey getKey(final AionAddress _address) { Account acc = this.accounts.getIfPresent(_address); if (Optional.ofNullable(acc).isPresent()) { if (acc.getTimeout() >= Instant.now().getEpochSecond()) { return acc.getKey(); } else { this.accounts.invalidate(_address); } } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private PrivateKey getUserKey() throws KeyChainException, InterruptedException {\n return KeyChain.getPrivateKey(getApplicationContext(), mCurrentProfile.getUserCertificateAlias());\n\n }", "public List<Key> getActiveKeys() {\n\t\tactiveKeys.clear();\n\t\t\n\t\tfor (Key key : keys) {\n\t\t\tif (key.getIsActive()) activeKeys.add(key);\n\t\t}\n\t\t\n\t\treturn activeKeys;\n\t}", "@CheckForNull\n private KeyPair getKeyPair(AmazonEC2 ec2) throws IOException, AmazonClientException {\n EC2PrivateKey ec2PrivateKey = getParent().resolvePrivateKey();\n if (ec2PrivateKey == null) {\n throw new AmazonClientException(\"No keypair credential found. Please configure a credential in the Jenkins configuration.\");\n }\n KeyPair keyPair = ec2PrivateKey.find(ec2);\n if (keyPair == null) {\n throw new AmazonClientException(\"No matching keypair found on EC2. Is the EC2 private key a valid one?\");\n }\n return keyPair;\n }", "java.lang.String getPublicEciesKey();", "Object getAuthInfoKey();", "public CloudStackAccount getCurrentAccount() throws Exception {\n if (currentAccount != null) {\n // verify this is the same account!!!\n for (CloudStackUser user : currentAccount.getUser()) {\n if (user.getSecretkey() != null && user.getSecretkey().equalsIgnoreCase(UserContext.current().getSecretKey())) {\n return currentAccount;\n }\n }\n }\n // otherwise let's find this user/account\n List<CloudStackAccount> accounts = getApi().listAccounts(null, null, null, null, null, null, null, null);\n for (CloudStackAccount account : accounts) {\n CloudStackUser[] users = account.getUser();\n for (CloudStackUser user : users) {\n String userSecretKey = user.getSecretkey();\n if (userSecretKey != null && userSecretKey.equalsIgnoreCase(UserContext.current().getSecretKey())) {\n currentAccount = account;\n return account;\n }\n }\n }\n // if we get here, there is something wrong...\n return null;\n }", "com.hps.july.persistence.WorkerKey getExpeditorKey() throws java.rmi.RemoteException;", "String getComponentAesKey();", "com.hps.july.persistence.StorageCardKey getAgregateKey() throws java.rmi.RemoteException;", "public ECP getPublicEphemeralKey(){return epk;}", "public X509ExtendedKeyManager getKeyManager();", "com.google.protobuf.ByteString getPublicEciesKeyBytes();", "private static Map<String, AttributeValue> getEmailAccountsKV(Map<String, AttributeValue> item, ActiveUser activeUser) {\n\t\tHashMap<String, HashMap<String, String>> _emailAccounts = (HashMap<String, HashMap<String, String>>) activeUser.getEmailAccounts();\n\t\t\n\t\tCollection<String> c = _emailAccounts.keySet();\n\t\titem.put(\"emailProviders\", new AttributeValue().withSS(c));\n\t\t\n\t\tIterator<String> itr = c.iterator();\n\t\twhile(itr.hasNext()) {\n\t\t\tString emailProvider = (String) itr.next();\n\t\t\tHashMap<String, String> emailProviderAccounts = (HashMap<String, String>) _emailAccounts.get(emailProvider);\n\t\t\t\n\t\t\tCollection<String> _accountNames = emailProviderAccounts.keySet();\n\t\t\titem.put(emailProvider, new AttributeValue().withSS(_accountNames));\n\t\t\t\n\t\t\tIterator<String> itr2 = _accountNames.iterator();\n\t\t\twhile(itr2.hasNext()) {\n\t\t\t\tString _account = (String) itr2.next();\n\t\t\t\tString token = emailProviderAccounts.get(_account);\n\t\t\t\t\n\t\t\t\titem.put(_account, new AttributeValue(token));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\treturn item;\n\t\t\n\t}", "public static Key getUserKey() throws IOException {\n\t\tif (localKey.get() == null) {\n\t\t\ttry {\n\t\t\t\tlocalKey.set(cipherKeyProvider.loadKey());\n\t\t\t} catch (KeyLoadingException e) {\n\t\t\t\tthrow new IOException(e.getLocalizedMessage());\n\t\t\t}\n\t\t}\n\t\treturn localKey.get();\n\t}", "private String[] getKeys() {\n\t\tSharedPreferences prefs = EReaderApplication.getAppContext()\n\t\t\t\t.getSharedPreferences(ACCOUNT_PREFS_NAME, 0);\n\t\tString key = prefs.getString(ACCESS_KEY_NAME, null);\n\t\tString secret = prefs.getString(ACCESS_SECRET_NAME, null);\n\t\tif (key != null && secret != null) {\n\t\t\tString[] ret = new String[2];\n\t\t\tret[0] = key;\n\t\t\tret[1] = secret;\n\t\t\treturn ret;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}", "java.lang.String getClientKey();", "AdminKeys getAdminKeys();", "public KeyStore.PrivateKeyEntry getPrivateKeyEntry() throws Exception {\n KeyStore.Entry entry = keyStore.getEntry(aliasName, null);\n if (!(entry instanceof KeyStore.PrivateKeyEntry)) {\n return null;\n }\n else {\n return ((KeyStore.PrivateKeyEntry) entry);\n }\n }", "PrivateKey getPrivateKey();", "protected UUID getCurrentUtilityKey() {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n AuthenticatedUser user = null;\n\n if (auth.getPrincipal() instanceof AuthenticatedUser) {\n user = (AuthenticatedUser) auth.getPrincipal();\n }\n\n if (user != null) {\n return user.getUtilityKey();\n }\n\n return null;\n }", "public String getAccessKey() {\n return cred.getAWSAccessKeyId();\n }", "ApiKeys listKeys();", "public List<Account> getEncryptedAccounts(String master_key) throws AEADBadTagException {\n List<Account> accounts = new ArrayList<>();\n Gson gson = new Gson();\n\n encryptedSharedPreferences = getEncryptedSharedPreferences(master_key);\n\n if (encryptedSharedPreferences != null) {\n Map<String, ?> all = encryptedSharedPreferences.getAll();\n\n for (Map.Entry<String, ?> entry : all.entrySet()) {\n if (!entry.getKey().equals(MASTER_KEY)) {\n //Log.d(TAG, \"Key: \" + entry.getKey() + \", Value: \" + String.valueOf(entry.getValue()));\n Account tmpAccount = gson.fromJson(String.valueOf(entry.getValue()), Account.class);\n accounts.add(tmpAccount);\n }\n }\n }\n\n return accounts;\n }", "public byte[] getUserKey() throws IOException\n {\n byte[] u = null;\n COSString user = (COSString)encryptionDictionary.getDictionaryObject( COSName.getPDFName( \"U\" ) );\n if( user != null )\n {\n u = user.getBytes();\n }\n return u;\n }", "public abstract \n KEYIN getCurrentKey() throws IOException, InterruptedException;", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"select a.APP_ID,a.name,a.CERTIFICATEID,a.soa_group_id,c.soa_group_name from \" + APP_KEY_TABLE + \" a , SOA_GROUP c where status='Active' and a.soa_group_id=c.soa_group_id\"\n , new ParameterizedRowMapper<Key>() {\n public Key mapRow(ResultSet rs, int rowNum) throws SQLException {\n return new Key(rs.getString(\"APP_ID\"), rs.getString(\"name\"), rs.getString(\"soa_group_id\"), rs.getString(\"soa_group_name\"), rs.getString(\"CERTIFICATEID\"));\n }\n }, args);\n }", "public String getPrivateKey();", "public String getPrivateKey();", "@VisibleForTesting\n KeyStore.PrivateKeyEntry getRSAKeyEntry() throws CryptoException, IncompatibleDeviceException {\n try {\n KeyStore keyStore = KeyStore.getInstance(ANDROID_KEY_STORE);\n keyStore.load(null);\n if (keyStore.containsAlias(OLD_KEY_ALIAS)) {\n //Return existing key. On weird cases, the alias would be present but the key not\n KeyStore.PrivateKeyEntry existingKey = getKeyEntryCompat(keyStore, OLD_KEY_ALIAS);\n if (existingKey != null) {\n return existingKey;\n }\n } else if (keyStore.containsAlias(KEY_ALIAS)) {\n KeyStore.PrivateKeyEntry existingKey = getKeyEntryCompat(keyStore, KEY_ALIAS);\n if (existingKey != null) {\n return existingKey;\n }\n }\n\n Calendar start = Calendar.getInstance();\n Calendar end = Calendar.getInstance();\n end.add(Calendar.YEAR, 25);\n AlgorithmParameterSpec spec;\n X500Principal principal = new X500Principal(\"CN=Auth0.Android,O=Auth0\");\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n spec = new KeyGenParameterSpec.Builder(KEY_ALIAS, KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_ENCRYPT)\n .setCertificateSubject(principal)\n .setCertificateSerialNumber(BigInteger.ONE)\n .setCertificateNotBefore(start.getTime())\n .setCertificateNotAfter(end.getTime())\n .setKeySize(RSA_KEY_SIZE)\n .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_RSA_PKCS1)\n .setBlockModes(KeyProperties.BLOCK_MODE_ECB)\n .build();\n } else {\n //Following code is for API 18-22\n //Generate new RSA KeyPair and save it on the KeyStore\n KeyPairGeneratorSpec.Builder specBuilder = new KeyPairGeneratorSpec.Builder(context)\n .setAlias(KEY_ALIAS)\n .setSubject(principal)\n .setKeySize(RSA_KEY_SIZE)\n .setSerialNumber(BigInteger.ONE)\n .setStartDate(start.getTime())\n .setEndDate(end.getTime());\n\n KeyguardManager kManager = (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE);\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {\n //The next call can return null when the LockScreen is not configured\n Intent authIntent = kManager.createConfirmDeviceCredentialIntent(null, null);\n boolean keyguardEnabled = kManager.isKeyguardSecure() && authIntent != null;\n if (keyguardEnabled) {\n //If a ScreenLock is setup, protect this key pair.\n specBuilder.setEncryptionRequired();\n }\n }\n spec = specBuilder.build();\n }\n\n KeyPairGenerator generator = KeyPairGenerator.getInstance(ALGORITHM_RSA, ANDROID_KEY_STORE);\n generator.initialize(spec);\n generator.generateKeyPair();\n\n return getKeyEntryCompat(keyStore, KEY_ALIAS);\n } catch (CertificateException | InvalidAlgorithmParameterException | NoSuchProviderException | NoSuchAlgorithmException | KeyStoreException | ProviderException e) {\n /*\n * This exceptions are safe to be ignored:\n *\n * - CertificateException:\n * Thrown when certificate has expired (25 years..) or couldn't be loaded\n * - KeyStoreException:\n * - NoSuchProviderException:\n * Thrown when \"AndroidKeyStore\" is not available. Was introduced on API 18.\n * - NoSuchAlgorithmException:\n * Thrown when \"RSA\" algorithm is not available. Was introduced on API 18.\n * - InvalidAlgorithmParameterException:\n * Thrown if Key Size is other than 512, 768, 1024, 2048, 3072, 4096\n * or if Padding is other than RSA/ECB/PKCS1Padding, introduced on API 18\n * or if Block Mode is other than ECB\n * - ProviderException:\n * Thrown on some modified devices when KeyPairGenerator#generateKeyPair is called.\n * See: https://www.bountysource.com/issues/45527093-keystore-issues\n *\n * However if any of this exceptions happens to be thrown (OEMs often change their Android distribution source code),\n * all the checks performed in this class wouldn't matter and the device would not be compatible at all with it.\n *\n * Read more in https://developer.android.com/training/articles/keystore#SupportedAlgorithms\n */\n Log.e(TAG, \"The device can't generate a new RSA Key pair.\", e);\n throw new IncompatibleDeviceException(e);\n } catch (IOException | UnrecoverableEntryException e) {\n /*\n * Any of this exceptions mean the old key pair is somehow corrupted.\n * We can delete both the RSA and the AES keys and let the user retry the operation.\n *\n * - IOException:\n * Thrown when there is an I/O or format problem with the keystore data.\n * - UnrecoverableEntryException:\n * Thrown when the key cannot be recovered. Probably because it was invalidated by a Lock Screen change.\n */\n deleteRSAKeys();\n deleteAESKeys();\n throw new CryptoException(\"The existing RSA key pair could not be recovered and has been deleted. \" +\n \"This occasionally happens when the Lock Screen settings are changed. You can safely retry this operation.\", e);\n }\n }", "public String[] getKeys() {\n SharedPreferences prefs = getSharedPreferences(ACCOUNT_PREFS_NAME, 0);\n String key = prefs.getString(ACCESS_KEY_NAME, null);\n String secret = prefs.getString(ACCESS_SECRET_NAME, null);\n if (key != null && secret != null) {\n \tString[] ret = new String[2];\n \tret[0] = key;\n \tret[1] = secret;\n \treturn ret;\n } else {\n \treturn null;\n }\n }", "public String getKmsAccessKey() {return this.databaseConfig.getProperty(\"kmsAccessKey\");}", "KeyManager createKeyManager();", "public boolean privateCurrentAccount()\n {\n if(accountInfo == null)\n {\n System.out.println(\"You need to generate an account before getting the details.\");\n return false;\n }\n return accountInfo.privateAccount();\n }", "private ImmutableList<PublicKeyPem> getValidKeys(Device device) {\n if (device.getBlocked() != null && device.getBlocked()) {\n return ImmutableList.of();\n }\n\n return device.getCredentials().stream()\n .filter(deviceCredential -> !hasExpired(deviceCredential))\n .map(deviceCredential -> toPublicKeyPem(deviceCredential))\n .collect(toImmutableList());\n }", "public static Enumeration getActiveAccountNames() {\r\n return (accounts.keys());\r\n }", "private synchronized PrivateKey getPrivateKey() throws Exception {\n if (privateKey == null) {\n KeyStore keyStore = loadKeyStore();\n privateKey = (PrivateKey)keyStore.getKey(aliasName, password.toCharArray());\n }\n\t\treturn privateKey;\n\t}", "public CryptoKey getMyKey() {\n return myKey;\n }", "public String getSecretAccessKey() {\n return cred.getAWSSecretKey();\n }", "public String getUserKeyFromUserName(String userName) {\n Cursor resultSet = database.rawQuery(\n \"SELECT UserPublicKey FROM UserAccounts WHERE UserName = '\" + userName + \"'\", null);\n resultSet.moveToFirst();\n String retString = resultSet.getString(0);\n resultSet.close();\n return retString;\n }", "public byte[] retrieveKey(String keyName, String token) throws InternalSkiException {\n byte[] retKey;\n byte[] systemKey = getSystemKey();\n byte[] tokenKey = getTokenKey();\n ISki skiDao = getSkiDao();\n Token tkn = th.decodeToken(token, tokenKey);\n if (tkn!=null) {\n boolean bl = skiDao.checkBlacklist(tkn.getIdentity());\n if (!bl) {\n try {\n byte[] comboKey = SkiKeyGen.getComboKey(tkn.getKey(), systemKey);\n\n String encComboKey = skiDao.fetchKey(keyName);\n\n if (encComboKey!=null) {\n\n byte[] encKey = SkiUtils.b64decode(encComboKey);\n byte[] decryptedKey = crypter.decrypt(encKey, comboKey);\n\n retKey = decryptedKey;\n } else {\n log.warning(\"Unable to fetch key (is null) by name: \" + keyName);\n retKey = null;\n }\n } catch (SkiException e) {\n log.warning(\"Unable to retrieve key. Access denied. Check logs for error: \" + e.getMessage());\n log.log(Level.WARNING, e.getMessage(), e);\n retKey = null;\n }\n } else {\n log.warning(\"Access denied. Attempt to retrieve key from blacklisted identity: \" + tkn.getIdentity());\n retKey = null;\n }\n } else {\n log.warning(\"Access denied. Unable to decode token during key creation!\");\n retKey = null;\n }\n return retKey;\n }", "com.hps.july.persistence.OrganizationKey getOrganizationKey() throws java.rmi.RemoteException;", "public String getUserKey()\r\n {\r\n return getAttribute(\"userkey\");\r\n }", "public static SecretKey getAdminEncryptionKey() {\n return adminEncryptionKey;\n }", "public PrivateKey getKey();", "public User getUserByActivationCode(String activationCode) throws UserManagementException;", "protected abstract String getExecutableKey();", "@Override\n\tpublic List<KeyValuePair> getUserNameList(boolean active) {\n\t\tif (active) { // only active cabs\n\t\t\treturn this.jdbcTemplate.query(\n\t\t\t\t\t\"SELECT user.USER_ID `KEY`, CONCAT(user.NAME,' - ',user.USER_ID) `VALUE` FROM user WHERE user.ACTIVE ORDER BY NAME\",\n\t\t\t\t\tnew KeyValuePairRowMapper());\n\t\t} else {\n\t\t\treturn this.jdbcTemplate.query(\n\t\t\t\t\t\"SELECT user.USER_ID `KEY`, CONCAT(user.NAME,' - ',user.USER_ID) `VALUE` FROM user ORDER BY NAME\",\n\t\t\t\t\tnew KeyValuePairRowMapper());\n\t\t}\n\t}", "private String key() {\n return \"secret\";\n }", "public String getKeyPrivate() throws LibMCryptException {\n\t\t\r\n\t\tString privateK = priK.getModulus().toString(16);\r\n\t\treturn privateK;\r\n\t}", "public void checkAccountInfo(View view) {\t\tEosPrivateKey eosPrivateKey = new EosPrivateKey();\n//\t\tBigInteger asBigInteger = eosPrivateKey.getAsBigInteger();\n//\t\tString privateKey = eosPrivateKey.toString();\n//\t\tString publicKey = eosPrivateKey.getPublicKey().toString();\n//\t\tLog.e(\"asBigInteger\", asBigInteger+\"\");\n//\t\tLog.e(\"privateKey\", privateKey );\n//\t\tLog.e(\"publicKey\", publicKey );\n\t\t//\n\t\tEosPrivateKey eosPrivateKey1 = new EosPrivateKey(\"5JKsGbs4iCPDzffzp9BgRQkAkQYceV67SfbJFGhG57RGoVkGpuv\");\n\t\tLog.e(\"privateKey\", eosPrivateKey1.toString());\n\t\tLog.e(\"publicKey\", eosPrivateKey1.getPublicKey().toString());\n\t\t//\n\t}", "public wbemdisp.ISWbemNamedValueSet getKeys () throws java.io.IOException, com.linar.jintegra.AutomationException;", "public String getEncKeyFor(String fileName) {\n Log.i(\"getEncKeyFor\", \"Begining to get EncKey for file \" + fileName);\n Cursor resultSet =\n database.rawQuery(\"SELECT EncKey FROM FileKeys \" +\n \"WHERE UserPublicKey = '\" + new KeyGenerator(context).getPublicKeyAsString() + \"' \" +\n \"AND File = '\" + fileName + \"'\", null);\n resultSet.moveToFirst();\n Log.i(\"getEncKeyFor\", \"EncKey is \" + resultSet.getString(0));\n String retString = resultSet.getString(0);\n resultSet.close();\n return retString;\n }", "String getSecretByKey(String key);", "public SmartKey getSmartKey(String value);", "public String getAppAeskey() {\r\n return appAeskey;\r\n }", "public static KeyPair createKeyPair(){\n KeyPair pair = KeyPair.random();\n System.out.println(pair.getSecretSeed());\n System.out.println(pair.getAccountId());\n return pair;\n\n }", "public PrivateKey getPrivateKey() {\n \tif(testingPrivateKey!=null){\n\t\t\t//for unit testing\n\t\t\treturn testingPrivateKey;\t\n\t\t}\n\t\treturn keypair.getPrivate();\n }", "private byte[] getSystemKey() throws InternalSkiException {\n return sysKey(SYSTEM_KEY);\n }", "private String getCredentials() {\n String credentials = \"\";\n AccountManager accountManager = AccountManager.get(getContext());\n\n final Account availableAccounts[] = accountManager.getAccountsByType(AccountGeneral.ACCOUNT_TYPE);\n\n //there should be only one ERT account\n if(availableAccounts.length > 0) {\n Account account = availableAccounts[0];\n AccountManagerFuture<Bundle> future = accountManager.getAuthToken(account, AccountGeneral.AUTHTOKEN_TYPE_FULL_ACCESS, null, null, null, null);\n try {\n Bundle bundle = future.getResult();\n String accountName = bundle.getString(AccountManager.KEY_ACCOUNT_NAME);\n String token = bundle.getString(AccountManager.KEY_AUTHTOKEN);\n credentials = accountName + \":\" + token;\n } catch (OperationCanceledException | IOException | AuthenticatorException e) {\n Log.e(LOG_TAG, e.getMessage());\n }\n }\n return credentials;\n }", "com.google.protobuf.ByteString getMasterKey();", "public static byte[] getKey() {\n return key;\n }", "public PrivateKey getPrivateList() {\n return this.privateList;\n }", "public String getSecret(String key) throws ClassicDatabaseException,ClassicNotFoundException;", "public String[] getUsers(){\n try {\n names = credentials.keys();\n }catch (java.util.prefs.BackingStoreException e1){\n System.out.println(e1);\n }\n return names;\n }", "byte[] getAuthenticatorKey(byte[] nonce) {\n return new KeyStream(this, nonce, 0).first(MAC_KEY_SIZE_IN_BYTES);\n }", "public PrivateKey getMyPrivateKey() {\n return myKeyPair.getPrivate();\n }", "private PrivateKey getMyPrivateKey() throws Exception {\n\n\t\tKey myKeyPair = null;\n\t\ttry {\n\t\t\tmyKeyPair = keyStore.getKey(keyPairAlias, keyPairPassword.toCharArray());\n\t\t} catch (UnrecoverableKeyException | KeyStoreException | NoSuchAlgorithmException e) {\n\t\t\twriteToLog(\"The key: \\\"\" + keyPairAlias + \"\\\" cannot be recovered.\");\n\t\t\tLogWriter.close();\n\t\t\tthrow new Exception(\"The key: \\\"\" + keyPairAlias + \"\\\" cannot be recovered.\", e);\n\t\t}\n\n\t\tPrivateKey myPrivateKey;\n\t\tif (myKeyPair instanceof PrivateKey) {\n\t\t\tmyPrivateKey = (PrivateKey) myKeyPair;\n\t\t} else {\n\t\t\twriteToLog(\"The key: \" + keyPairAlias + \" is not a private-key\");\n\t\t\tLogWriter.close();\n\t\t\tthrow new Exception(\"The key: \" + keyPairAlias + \" is not a private-key\");\n\t\t}\n\t\treturn myPrivateKey;\n\t}", "public static String getIAMUserKey(){\n \t\t// There are a few places to look for this\n \t\tString key = System.getProperty(\"AWS_SECRET_KEY\");\n \t\tif(key != null) return key;\n \t\tkey = System.getProperty(STACK_IAM_KEY);\n \t\tif (key == null) return null;\n \t\tkey = key.trim();\n \t\tif (\"\".equals(key)) return null;\n \t\treturn key;\n \t}", "public ECP getPublicKGCKey(){return pkS;}", "java.util.List<java.lang.String> getServiceAccountIdTokensList();", "public static synchronized String getKeyBYUserID(int user_ID){\n\t\t\n\t\t\tString key = \"\";\n\t\t\tConnection connection;\n\t\t \tPreparedStatement statement = null;\n\t\t\tString preparedSQL = \"Select RegKey From credential Where User_ID = ?\";\n\t\t\t\n\t\t try{\n\t\t \tconnection = DBConnector.getConnection();\n\t\t \tstatement = connection.prepareStatement(preparedSQL);\n\t\t \tstatement.setInt(1, user_ID);\n\t\t\t\tResultSet rs = statement.executeQuery();\n\t\t\t\twhile(rs.next()){\n\t\t\t\t\tkey = rs.getString(1);\n\t\t\t\t}\t\n\t\t\t\trs.close();\t\t\n\t\t\t\tstatement.close();\n\t\t\t\tconnection.close();\n\t\t\t\t\n\t\t\t}\n\t\t catch (SQLException ex){\n\t\t\t\tSystem.out.println(\"Error: \" + ex);\n\t\t\t\tSystem.out.println(\"Query: \" + statement.toString());\n\t\t\t}\n\t\t\treturn key;\n\t\t\t\n\t}", "public Object run(){\n\t\t\t List nameList = keyRing.getX500NameFromNameMapping(name);\n\t\t\t //List nameList = keyRing.findDNFromNS(name);\n\t\t\t if (log.isDebugEnabled()) {\n\t\t\t log.debug(\"List of names for \" + name + \": \" + nameList);\n\t\t\t }\n\t\t\t List keyList = new ArrayList();\n\t\t\t for (int i = 0; i < nameList.size(); i++) {\n\t\t\t X500Name dname = (X500Name)nameList.get(i);\n\t\t\t List pkCerts = keyRing.findPrivateKey(dname);\n\t\t\t if (pkCerts == null) {\n\t\t\t\t return keyList;\n\t\t\t }\n keyList.addAll(pkCerts);\n\t\t\t }\n\t\t\t return keyList;\n\t\t }", "public Key getKey()\r\n { \r\n return key; \r\n }", "public PrivateKey getPrivateKey(String alias) {\n if (alias != null)\n\t\t System.out.println(\"==KeyManager. Get private key for \" + alias);\n\t\tPrivateKey pk = myKeyManager.getPrivateKey(alias);\n\t\treturn pk;\n\t}", "public String selectPKAuthKeys(int id) throws SQLException {\n String sql = \"SELECT publickey FROM authenticatedkeys WHERE id_user=?\";\n\n try (Connection conn = this.connect(); PreparedStatement pstmt = conn.prepareStatement(sql)) {\n \n pstmt.setInt(1, id);\n ResultSet rs = pstmt.executeQuery();\n String value = rs.getString(\"publickey\");\n\n return value;\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n return \"\";\n }\n }", "public String getAccessKey() {\n return properties.getProperty(ACCESS_KEY);\n }", "public PGPPublicKey getEncryptionKey() {\n\t\tIterator iter = base.getPublicKeys();\n\t\tPGPPublicKey encKey = null;\n\t\twhile (iter.hasNext()) {\n\t\t\tPGPPublicKey k = (PGPPublicKey) iter.next();\n\t\t\tif (k.isEncryptionKey())\n\t\t\t\tencKey = k;\n\t\t}\n\n\t\treturn encKey;\n\t}", "com.hps.july.persistence.WorkerKey getTechStuffKey() throws java.rmi.RemoteException;", "public Key getkey(String appid) {\n log.debug(getSessionFactory() == null ? \"Session Factory is null\" : \"Session Factory is Not null\");\n log.debug(\"Application id :\" + appid);\n\n try {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n Map args = new HashMap();\n args.put(\"in1\", new String(appid));\n\n return jdbcTemplate.queryForObject(\"select a.APP_ID,a.name,a.CERTIFICATEID,a.soa_group_id,c.soa_group_name from \" + APP_KEY_TABLE + \" a , SOA_GROUP c where a.status='Active' and a.soa_group_id=c.soa_group_id and a.APP_ID=?\"\n , new ParameterizedRowMapper<Key>() {\n public Key mapRow(ResultSet rs, int rowNum) throws SQLException {\n return new Key(rs.getString(\"APP_ID\"), rs.getString(\"name\"), rs.getString(\"soa_group_id\"), rs.getString(\"soa_group_name\"), rs.getString(\"CERTIFICATEID\"));\n }\n }, appid);\n } catch (DataAccessException e) {\n e.printStackTrace();\n return null;//To change body of catch statement use File | Settings | File Templates.\n }\n }", "public byte[] getOwnerKey() throws IOException\n {\n byte[] o = null;\n COSString owner = (COSString)encryptionDictionary.getDictionaryObject( COSName.getPDFName( \"O\" ) );\n if( owner != null )\n {\n o = owner.getBytes();\n }\n return o;\n }", "public String accessKey() {\n return this.accessKey;\n }", "public Key getPrivateKey(String alias) throws CryptoException {\n\t\treturn getPrivateKey(alias, null);\n\t}", "java.lang.String getAccountId();", "java.lang.String getAccountId();", "java.lang.String getAccountId();", "public static byte[] getEncryptRawKey() {\n\n try {\n /*byte[] bytes64Key = App.RealmEncryptionKey.getBytes(\"UTF-8\");\n KeyGenerator kgen = KeyGenerator.getInstance(\"AES\");\n SecureRandom sr = SecureRandom.getInstance(\"SHA1PRNG\");\n sr.setSeed(bytes64Key);\n kgen.init(128, sr);\n SecretKey skey = kgen.generateKey();\n byte[] raw = skey.getEncoded();*/\n\n byte[] key = new BigInteger(App.RealmEncryptionKey, 16).toByteArray();\n return key;\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "public byte[] getKey() {\n return this.key;\n }", "protected PublicKeyInfo getFirstKey() {\n nextKeyToGet = 0;\n return getNextKey();\n }", "Credentials getKrb5Credentials() {\n/* 325 */ return this.krb5Credentials;\n/* */ }", "String getEncryptionKeyId();", "@Override\n\tpublic List<Account> searchAccountById(String key) {\n\t\treturn m_managementDao.findByAccountIdContaining(key);\n\t}", "public EndpointAuthKeysInner keys() {\n return this.keys;\n }", "Observable<AdminKeys> getAdminKeysAsync();", "public Request<List<Key>> list() {\n HttpUrl.Builder builder = baseUrl\n .newBuilder()\n .addEncodedPathSegments(\"api/v2/keys/signing\");\n String url = builder.build().toString();\n return new BaseRequest<>(this.client, tokenProvider, url, HttpMethod.GET, new TypeReference<List<Key>>() {\n });\n }", "public Account getInputOfUsersAccount() {\n\n\t\tString accountNumber = InputsValidator.getAccountFromPerson(\"Enter account:\");\n\n\t\tif (!log.isAccountInList(accountNumber)) {\n\t\t\tSystem.out.println(\"Account \" + accountNumber + \" dosn't exist!\");\n\t\t\tAdminMenu.getAdminMenu();\n\t\t}\n\t\tAccount accountForEditOrDelete = infos.getAccount(accountNumber);\n\t\treturn accountForEditOrDelete;\n\t}", "public static synchronized Credentials getCredentialByUserIDKey(int userID, String key){\n\t\t\tConnection connection;\n\t\t\tCredentials cred = null;\n\t\t \tPreparedStatement statement = null;\n\t\t\tString preparedSQL = \"Select * From credential Where User_ID = ? And RegKey =?\";\n\t\t\t\n\t\t try{\n\t\t \tconnection = DBConnector.getConnection();\n\t\t \tstatement = connection.prepareStatement(preparedSQL);\n\t\t \tstatement.setInt(1,userID);\n\t\t \tstatement.setString(2,key);\n\t\t\t\tResultSet rs = statement.executeQuery();\n\t\t\t\twhile(rs.next()){\n\t\t\t\t\tcred = new Credentials();\n\t\t\t\t\tcred.setCredID(rs.getInt(1));\n\t\t\t\t\tcred.setEmail(rs.getString(2));\n\t\t\t\t\tcred.setPass(rs.getString(3));\n\t\t\t\t\tcred.setUserID(rs.getInt(4));\n\t\t\t\t\tcred.setRole(rs.getString(5));\n\t\t\t\t\tcred.setValid(rs.getInt(6));\n\t\t\t\t\tcred.setRegKey(rs.getString(7));\n\t\t\t\t}\t\n\t\t\t\trs.close();\t\t\n\t\t\t\tstatement.close();\n\t\t\t\tconnection.close();\n\t\t\t}\n\t\t catch (SQLException ex){\n\t\t\t\tSystem.out.println(\"Error: \" + ex);\n\t\t\t\tSystem.out.println(\"Query: \" + statement.toString());\n\t\t\t}\n\t\t\treturn cred;\n\t}", "public byte[] getKeyBytes(){\n\t\t\n\t\tif(this.key == null) return null;\n\t\treturn getKey().getBytes();\n\t}", "private BasicSessionCredentials getBaseAccountCredentials (String roleName){\n\t\tif(devMode){\n\t\t\tString accessKey = System.getProperty(\"ACCESS_KEY\"); \n\t\t\tString secretKey = System.getProperty(\"SECRET_KEY\"); \n\t\t\tBasicAWSCredentials awsCreds = new BasicAWSCredentials(accessKey, secretKey);\n\t\t\tAWSSecurityTokenServiceClientBuilder stsBuilder = AWSSecurityTokenServiceClientBuilder.standard().withCredentials( new AWSStaticCredentialsProvider(awsCreds)).withRegion(baseRegion);\n\t\t\tAWSSecurityTokenService sts = stsBuilder.build();\n\t\t\tAssumeRoleRequest assumeRequest = new AssumeRoleRequest().withRoleArn(getRoleArn(baseAccount,roleName)).withRoleSessionName(\"pic-base-ro\").withDurationSeconds(3600);\n\t\t\tAssumeRoleResult assumeResult = sts.assumeRole(assumeRequest);\n\t\t\treturn new BasicSessionCredentials(\n\t\t\t\t\tassumeResult.getCredentials().getAccessKeyId(), assumeResult.getCredentials().getSecretAccessKey(),\n\t\t\t\t\tassumeResult.getCredentials().getSessionToken());\n\t\t\t\n\t\t}\n\t\telse{\n\t\t\tAWSSecurityTokenService sts = AWSSecurityTokenServiceClientBuilder.defaultClient();\n\t\t\tAssumeRoleRequest assumeRequest = new AssumeRoleRequest().withRoleArn(getRoleArn(baseAccount,roleName)).withRoleSessionName(\"pic-base-ro\").withDurationSeconds(3600);\n\t\t\tAssumeRoleResult assumeResult = sts.assumeRole(assumeRequest);\n\t\t\treturn new BasicSessionCredentials(\n\t\t\t\t\tassumeResult.getCredentials().getAccessKeyId(), assumeResult.getCredentials().getSecretAccessKey(),\n\t\t\t\t\tassumeResult.getCredentials().getSessionToken());\n\t\t}\n\t}", "public Key getKey() {\n\t\treturn getKey(settings, url);\n\t}", "public AccountInfo getAccountInfo() throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException{\n\t\t// Interested in the private account functionality (authentication)\n\t return accountService.getAccountInfo();\n\t}" ]
[ "0.60141474", "0.5960746", "0.57082665", "0.5702448", "0.5681528", "0.5645907", "0.5636118", "0.5543178", "0.5540521", "0.55109906", "0.5485195", "0.54243433", "0.54053813", "0.54033124", "0.53803223", "0.53650165", "0.53040063", "0.5289039", "0.5286068", "0.525598", "0.5219587", "0.52150136", "0.52111596", "0.5191458", "0.5190501", "0.51719546", "0.51692605", "0.51692605", "0.51580584", "0.5156833", "0.5087681", "0.50875145", "0.5083882", "0.50830305", "0.50825936", "0.50780374", "0.5068247", "0.50420475", "0.5040446", "0.50391823", "0.5036377", "0.50205463", "0.50186443", "0.5013075", "0.5010037", "0.4981901", "0.49738607", "0.49703544", "0.4968281", "0.49665433", "0.49630618", "0.4959488", "0.49542534", "0.49469635", "0.49452496", "0.4933839", "0.4917633", "0.49146518", "0.48992804", "0.48966777", "0.48944703", "0.48889056", "0.48860934", "0.48749706", "0.48688707", "0.48680732", "0.486684", "0.48595455", "0.48567843", "0.48511887", "0.48507413", "0.48416585", "0.4841596", "0.48363608", "0.48342785", "0.48312634", "0.48239368", "0.4811526", "0.48075557", "0.48023102", "0.48002648", "0.47952828", "0.4790601", "0.4790601", "0.4790601", "0.47891483", "0.47881204", "0.47877946", "0.47876173", "0.47854254", "0.4774075", "0.47740674", "0.47681096", "0.47594762", "0.47581375", "0.47572544", "0.47535574", "0.47528085", "0.474251", "0.47408804" ]
0.5406694
12
creating new product in background thread
@Override public void onClick(View view) { new AddInDatabase().execute(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\twhile(true) {\n\t\t\t\t\t\tProduct p = new Product(id, \"product\"+id++);\n\t\t\t\t\t\t\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\t\tc.addProduct(p);\n\t\t\t\t\t\t\tSystem.out.println(\"成产好了一个产品\");\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "private void uploadProductImage() {\n Activity activity = getActivity();\n if (activity == null) {\n return;\n }\n final String imagePath = PhotoUtil.getPhotoPathCache(gtin, activity);\n Runnable uploadProductImage = new Runnable() {\n @Override\n public void run() {\n // TODO limit file size\n ImageService.uploadProductImage(sequentialClient, gtin, imagePath, new\n PLYCompletion<ProductImage>() {\n @Override\n public void onSuccess(ProductImage result) {\n Log.d(\"UploadPImageCallback\", \"New image for product with GTIN \" + gtin + \" \" +\n \"uploaded\");\n LoadingIndicator.hide();\n if (isNewProduct) {\n SnackbarUtil.make(getActivity(), getView(), R.string.image_uploaded_more_info,\n Snackbar.LENGTH_LONG).show();\n } else {\n SnackbarUtil.make(getActivity(), getView(), R.string.image_uploaded, Snackbar\n .LENGTH_LONG).show();\n }\n DataChangeListener.imageCreate(result);\n }\n\n @Override\n public void onPostSuccess(ProductImage result) {\n loadProductImage(imagePath, productImage);\n }\n\n @Override\n public void onError(PLYAndroid.QueryError error) {\n Log.d(\"UploadPImageCallback\", error.getMessage());\n LoadingIndicator.hide();\n SnackbarUtil.make(getActivity(), getView(), error.getMessage(), Snackbar\n .LENGTH_LONG).show();\n }\n });\n }\n };\n if (dbProduct == null) {\n createEmptyOrGetProduct(gtin, language, true, true, uploadProductImage);\n } else {\n uploadProductImage.run();\n }\n }", "@Override\n public void run() {\n ImageService.uploadProductImage(sequentialClient, gtin, imagePath, new\n PLYCompletion<ProductImage>() {\n @Override\n public void onSuccess(ProductImage result) {\n Log.d(\"UploadPImageCallback\", \"New image for product with GTIN \" + gtin + \" \" +\n \"uploaded\");\n LoadingIndicator.hide();\n if (isNewProduct) {\n SnackbarUtil.make(getActivity(), getView(), R.string.image_uploaded_more_info,\n Snackbar.LENGTH_LONG).show();\n } else {\n SnackbarUtil.make(getActivity(), getView(), R.string.image_uploaded, Snackbar\n .LENGTH_LONG).show();\n }\n DataChangeListener.imageCreate(result);\n }\n\n @Override\n public void onPostSuccess(ProductImage result) {\n loadProductImage(imagePath, productImage);\n }\n\n @Override\n public void onError(PLYAndroid.QueryError error) {\n Log.d(\"UploadPImageCallback\", error.getMessage());\n LoadingIndicator.hide();\n SnackbarUtil.make(getActivity(), getView(), error.getMessage(), Snackbar\n .LENGTH_LONG).show();\n }\n });\n }", "@Override\n public void run() {\n new ImpresionTicketAsync(entity,printerBluetooth,null,getActivity()).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);\n }", "@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t\tGetProductItem();\r\n\t\t\t\t}", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\twhile(true) {\n\t\t\t\t\t\tProduct p;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tp = c.getProduct();\n\t\t\t\t\t\t\tSystem.out.println(\"消费产品\"+p);\n\t\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "public void createNewOrder()\n\t{\n\t\tnew DataBaseOperationAsyn().execute();\n\t}", "private void createProduct(String pid, String name, String price, String description) {\n\n mApiService = ApiClient.getCurdClient().create(ApiInterface.class);\n\n ProductModel productModel = new ProductModel(pid, name, price, description, \"\", \"\");\n\n Call<ResponseModel> call = mApiService.createProduct(productModel);\n\n\n call.enqueue(new Callback<ResponseModel>() {\n @Override\n public void onResponse(Call<ResponseModel> call, Response<ResponseModel> response) {\n int statusCode = response.code();\n ResponseModel responseModel = response.body();\n\n Toast.makeText(SampleRetrofit.this, \" CreateProduct \" + responseModel.getMessage(), Toast.LENGTH_SHORT).show();\n\n }\n\n @Override\n public void onFailure(Call<ResponseModel> call, Throwable t) {\n // Log error here since request failed\n Log.e(\"\", t.toString());\n }\n\n });\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\twhile (true) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpc.product();\n\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\twhile (true) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpc.product();\n\t\t\t\t\t\tThread.sleep(100);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "@Override\r\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tif(dbHelper.InsertItem(listResult))\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tSharedPreferences sharedPrefer = getSharedPreferences(getResources().getString(R.string.information_string), Context.MODE_PRIVATE);\r\n\t\t\t\t\t\t \tSharedPreferences.Editor sharedEditor = sharedPrefer.edit();\r\n\t\t\t\t\t\t \tsharedEditor.putString(getResources().getString(R.string.masterversion), Common.serverTime);\t\t\t\t\t\t \t\r\n\t\t\t\t\t\t \tsharedEditor.commit();\r\n\t\t\t\t\t\t \t\r\n\t\t\t\t\t\t\t\tMessage msg = Message.obtain();\r\n\t\t\t\t\t\t\t\tmsg.obj = \"ProductItemSave\";\r\n\t\t\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}", "public void run() {\n\t\t\t\t\tint success;\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// Building Parameters\n\t\t\t\t\t\tList<NameValuePair> params = new ArrayList<NameValuePair>();\n\t\t\t\t\t\tparams.add(new BasicNameValuePair(\"uid\", UserInfo.userid));\n\t\n\t\t\t\t\t\t// getting product details by making HTTP request\n\t\t\t\t\t\t// Note that product details url will use GET request\n\t\t\t\t\t\tJSONObject json = jsonParser.makeHttpRequest(\n\t\t\t\t\t\t\turl_note_color, \"GET\", params);\n\t\n\t\t\t\t\t\t// check your log for json response\n\t\t\t\t\t\tLog.d(\"Single Product Details\", json.toString());\n\t\t\t\t\t\t\n\t\t\t\t\t\t// json success tag\n\t\t\t\t\t\tsuccess = json.getInt(TAG_SUCCESS);\n\t\t\t\t\t\tif (success == 1) {\n\t\t\t\t\t\t\t// successfully received product details\n\t\t\t\t\t\t\tJSONArray productObj = json\n\t\t\t\t\t\t\t\t\t.getJSONArray(UserInfo.userid); // JSON Array\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// get first product object from JSON Array\n\t\t\t\t\t\t\tJSONObject product = productObj.getJSONObject(0);\n\t UserInfo.userR=product.getString(\"UserR\");\n\t UserInfo.userG=product.getString(\"UserG\");\n\t UserInfo.userB=product.getString(\"UserB\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t// product with pid not found\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}", "private Thread createThread() {\n return new Thread(this::_loadCatalog, \"CDS Hooks Catalog Retrieval\"\n );\n }", "private void createProducts() throws Exception {\n\n\t\tproductDetails200 = ElementFactory.getDefaultProduct(\"CiProd200\", defaultCategories);\n\t\tproductDetails400 = ElementFactory.getDefaultProduct(\"CiProd400\", defaultCategories);\n\n\t\tRestResponse createProduct = ProductRestUtils.createProduct(productDetails200, productManager1);\n\t\tResourceRestUtils.checkCreateResponse(createProduct);\n\t\tproduct200 = ResponseParser.parseToObjectUsingMapper(createProduct.getResponse(), Product.class);\n\n\t\tcreateProduct = ProductRestUtils.createProduct(productDetails400, productManager2);\n\t\tResourceRestUtils.checkCreateResponse(createProduct);\n\t\tproduct400 = ResponseParser.parseToObjectUsingMapper(createProduct.getResponse(), Product.class);\n\t}", "private void createEmptyOrGetProduct(final String gtin, final String language, final boolean\n useEnrichment, final boolean promptForLogin, final Runnable onPostSuccess) {\n Product product = new Product(gtin);\n product.setLanguage(language);\n ProductService.createProduct(sequentialClient, product, new PLYCompletion<Product>() {\n @Override\n public void onSuccess(Product result) {\n Log.d(\"CreateProductCallback\", \"New product with GTIN \" + gtin + \" (\" + language + \") \" +\n \"created\");\n }\n\n @Override\n public void onPostSuccess(Product result) {\n dbProduct = result;\n if (useEnrichment) {\n fillEmptyFields(result);\n }\n if (onPostSuccess != null) {\n onPostSuccess.run();\n }\n }\n\n @Override\n public void onError(PLYAndroid.QueryError error) {\n Log.d(\"CreateProductCallback\", error.getMessage());\n if (error.hasInternalErrorCode(PLYStatusCodes.NOT_INSERTED_DUPLICATE_FOUND_CODE)) {\n // product has already been created - retrieve it\n ProductService.getProductForGtin(sequentialClient, gtin, language, false, null, new\n PLYCompletion<Product>() {\n @Override\n public void onSuccess(Product result) {\n Log.d(\"GetProductCallback\", \"Got product with GTIN \" + gtin + \" (\" + language +\n \")\");\n }\n\n @Override\n public void onPostSuccess(Product result) {\n dbProduct = result;\n if (useEnrichment) {\n fillEmptyFields(result);\n }\n if (onPostSuccess != null) {\n onPostSuccess.run();\n }\n }\n\n @Override\n public void onError(PLYAndroid.QueryError error) {\n Log.d(\"GetProductCallback\", error.getMessage());\n SnackbarUtil.make(getActivity(), getView(), error.getMessage(), Snackbar\n .LENGTH_LONG).show();\n }\n\n @Override\n public boolean promptForLogin() {\n return promptForLogin;\n }\n });\n }\n }\n\n @Override\n public boolean promptForLogin() {\n return promptForLogin;\n }\n });\n }", "private void saveProduct() {\n Product product;\n String name = productName.getText().toString();\n if (name.isEmpty()) {\n productName.setError(getResources().getText(R.string.product_name_error));\n return;\n }\n String brandStr = brand.getText().toString();\n String brandOwnerStr = brandOwner.getText().toString();\n if (dbProduct == null) {\n product = new Product();\n product.setGtin(gtin);\n product.setLanguage(language);\n } else {\n product = dbProduct;\n }\n if (!name.isEmpty()) {\n product.setName(name);\n }\n if (!brandStr.isEmpty()) {\n product.setBrand(brandStr);\n }\n if (!brandOwnerStr.isEmpty()) {\n product.setBrandOwner(brandOwnerStr);\n }\n product.setCategory(selectedCategoryKey);\n LoadingIndicator.show();\n // TODO enable/disable save button\n PLYCompletion<Product> completion = new PLYCompletion<Product>() {\n @Override\n public void onSuccess(Product result) {\n Log.d(\"SavePDetailsCallback\", \"Product details saved\");\n dbProduct = result;\n LoadingIndicator.hide();\n if (isNewProduct) {\n SnackbarUtil.make(getActivity(), getView(), R.string.product_saved, Snackbar\n .LENGTH_LONG).show();\n DataChangeListener.productCreate(result);\n } else {\n SnackbarUtil.make(getActivity(), getView(), R.string.product_edited, Snackbar\n .LENGTH_LONG).show();\n DataChangeListener.productUpdate(result);\n }\n }\n\n @Override\n public void onPostSuccess(Product result) {\n FragmentActivity activity = getActivity();\n if (activity != null) {\n activity.onBackPressed();\n }\n }\n\n @Override\n public void onError(PLYAndroid.QueryError error) {\n Log.d(\"SavePDetailsCallback\", error.getMessage());\n if (isNewProduct || !error.isHttpStatusError() || !error.hasInternalErrorCode\n (PLYStatusCodes.OBJECT_NOT_UPDATED_NO_CHANGES_CODE)) {\n SnackbarUtil.make(getActivity(), getView(), error.getMessage(), Snackbar.LENGTH_LONG)\n .show();\n }\n LoadingIndicator.hide();\n }\n\n @Override\n public void onPostError(PLYAndroid.QueryError error) {\n if (!isNewProduct && error.isHttpStatusError() && error.hasInternalErrorCode(PLYStatusCodes\n .OBJECT_NOT_UPDATED_NO_CHANGES_CODE)) {\n FragmentActivity activity = getActivity();\n if (activity != null) {\n activity.onBackPressed();\n }\n }\n }\n };\n if (dbProduct == null) {\n ProductService.createProduct(sequentialClient, product, completion);\n } else {\n ProductService.updateProduct(sequentialClient, product, completion);\n }\n }", "@RequestMapping(value = \"/api/createDetail\", method = RequestMethod.POST)\n\tpublic ModelAndView createDetail(HttpServletRequest request) throws InterruptedException {\n\t\tProductDetailDTO detail = FormUtil.toModel(ProductDetailDTO.class, request);\n\t\t try {\n\t byte[] decodeBase64 = Base64.getDecoder().decode(detail.getBase64().getBytes());\n\t uploadFileUtils.writeOrUpdate(decodeBase64, \"/thumbnail/\"+detail.getThumbnail());\n\t \n\t } catch (Exception e) {\n\t e.printStackTrace();\n\t }\n\t\t Thread.sleep(4500);\n\t\t detail = newService.saveDetail(detail);\n\t\t \n\t\t if(request.getParameter(\"type\").equals(\"web\")){\n\t\t\t String url = \"redirect:/user/product/detail?id=\"+ request.getParameter(\"productId\");\n\t\t\t return new ModelAndView(url);\n\t\t }\n\t\t \n\t\t return new ModelAndView(\"redirect:/admin-new?page=1&limit=5\");\n\t}", "Product postProduct(Product product);", "Product addOneProduct(String name, String imgNameBarcode, String imgName, String barcode) throws Exception;", "protected void uploadPsIndustry() {\n\t\tnew Thread(new Runnable() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\tPsXqyz psXqyz = createPollution();\r\n\t\t\t\tMessage msg = new Message();\r\n\t\t\t\tmsg.what = sendPs;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tHttpUtil.uploadPollutionSource(psXqyz, \"Xqyzwry\");\r\n\t\t\t\t\tmsg.obj = \"上传成功\";\r\n\t\t\t\t\tmHandler.sendMessage(msg);\r\n\t\t\t\t\tsetResult(1000);\r\n\t\t\t\t\tAddPsXqyzActivity.this.finish();\r\n\t\t\t\t} catch (Throwable e) {\r\n\t\t\t\t\tmsg.obj = \"上传失败\";\r\n\t\t\t\t\tmHandler.sendMessage(msg);\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}).start();\r\n\t}", "public static ConcurrentLinkedQueue<Product> start() throws InterruptedException {\n warehouse = new Warehouse();\n\n FactoryPlan data = null;\n String JSON_PATH = filePath;\n Gson gson = new Gson();\n Type ReviewType = new TypeToken<FactoryPlan>() {\n }.getType();\n try (JsonReader reader = new JsonReader(new FileReader(JSON_PATH))) {\n data = gson.fromJson(reader, ReviewType);\n } catch (FileNotFoundException e) {\n System.out.println(\"File not found\");\n System.exit(1);\n } catch (Exception e) {\n System.out.println(\"Can't format json object\");\n System.exit(2);\n }\n\n int numOfThreads = data.getThreads();\n getDataFromFactoryPlan(data);\n\n if (WSP == null)\n attachWorkStealingThreadPool(new WorkStealingThreadPool(numOfThreads));\n\n ConcurrentLinkedQueue<Manufacture> completedTasks = new ConcurrentLinkedQueue<>();\n List<List<Series>> waves = data.getWaves();\n\n WSP.start();\n\n for (List<Series> wave : waves) {\n int numOfProducts = 0;\n for (Series series : wave) {\n numOfProducts += series.getQty();\n }\n CountDownLatch l = new CountDownLatch(numOfProducts);\n\n for (Series series : wave) {\n long startId = series.getStartId();\n String seriesName = series.getProduct();\n for (int i = 0; i <= series.getQty() - 1; i++) {\n Manufacture task = new Manufacture(new Product(startId + i, seriesName), warehouse);\n completedTasks.add(task);\n WSP.submit(task);\n task.getResult().whenResolved(() -> {\n l.countDown();\n });\n }\n }\n l.await();\n }\n\n WSP.shutdown();\n\n ConcurrentLinkedQueue<Product> simulationResult = new ConcurrentLinkedQueue<>();\n for (Manufacture task : completedTasks) {\n simulationResult.add(task.getResult().get());\n }\n\n return simulationResult;\n }", "public CountDownLatch addProductAsync(com.mozu.api.contracts.productadmin.Product product, AsyncCallback<com.mozu.api.contracts.productadmin.Product> callback) throws Exception\r\n\t{\r\n\t\treturn addProductAsync( product, null, callback);\r\n\t}", "public CountDownLatch addProductAsync(com.mozu.api.contracts.productadmin.Product product, String responseFields, AsyncCallback<com.mozu.api.contracts.productadmin.Product> callback) throws Exception\r\n\t{\r\n\t\tMozuClient<com.mozu.api.contracts.productadmin.Product> client = com.mozu.api.clients.commerce.catalog.admin.ProductClient.addProductClient(_dataViewMode, product, responseFields);\r\n\t\tclient.setContext(_apiContext);\r\n\t\treturn client.executeRequest(callback);\r\n\r\n\t}", "public void storageProduct(Product product) throws InterruptedException {\n\t\tsynchronized (this) {\r\n\t\t\tboolean producerRunning=true;\r\n\t\t\tThread currentThread=Thread.currentThread();\r\n\t\t\tif(currentThread instanceof Producer){\r\n\t\t\t\tproducerRunning=((Producer) currentThread).isRunning();\r\n\t\t\t}else{\r\n\t\t\t\treturn ;\r\n\t\t\t}\r\n\t\t\t//如果最后一个未被消费产品与第一个未被消费的产品的下标紧挨着,\r\n\t\t\t//则说明没有存储空间,如果没有存储空间而且生产者线程还在运行,则等待仓库释放产品。\r\n\t\t\twhile((rear+1)%CAPACITY==front&&producerRunning){\r\n\t\t\t\twait();\r\n\t\t\t\tproducerRunning=((Producer) currentThread).isRunning();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(!producerRunning){\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tproducts[rear]=product;\r\n\t\t\tSystem.out.println(\"Producer[\" + Thread.currentThread().getName()\r\n\t\t\t\t\t+ \"] storageProduct: \" + product);\r\n\t\t\t//将rear下标循环后移一位\r\n\t\t\trear=(rear+1)%CAPACITY;\r\n\t\t\tSystem.out.println(\"仓库中还没有被消费的产品数量:\"\r\n\t\t\t\t\t+ (rear + CAPACITY - front) % CAPACITY);\r\n\t\t\tnotify();\r\n\t\t}\r\n\t}", "public void saveNewProduct(Product product) throws BackendException;", "private void addProduct()\n {\n System.out.println(\"|➕| Add new Product:\\n\");\n System.out.println(\"|➕| Enter ID\\n\");\n int id = Integer.parseInt(reader.getInput());\n System.out.println(\"|➕| Enter Name\\n\");\n String name = reader.getInput();\n manager.addProduct(id, name);\n }", "void create(Product product) throws IllegalArgumentException;", "@Override\n\t\tpublic void run() {\n\t\t\ttry {\n\t\t\t\twhile(true){\n\t\t\t\tsemaphore.acquire();\n\t\t\t\twhile(list.size()<10){\n\t\t\t\t\tlist.add(1);\n\t\t\t\t\tSystem.out.println(\"生产者放入一个产品,目前有\"+list.size()+\"个产品\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"队列满\"+\"等待消费者消费\");\n\t\t\t\tsemaphore.release();\n\t\t\t\tThread.sleep(500);\n\t\t\t\t}\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "void handleNewResource() {\n System.out.println(\"Here at VMLeaseProcessor#handleNewResource\");\n callForBackup();\n resourceManager.createRedundant();\n }", "public synchronized void produce(){\n\t\tif(num==capacity){\n\t\t\ttry {\n\t\t\t\twait();\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\n\t\t}\n\t\tnum++;\n\t\tSystem.out.println(\"Produce 1, now we have \"+num+\" products\");\n\t\tnotify();\n\t}", "Product storeProduct(Product product);", "public void push(Product p) throws InterruptedException\n\t{\n\t\tqueue.put(p);\n\t}", "@Override\r\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tdbHelper.InsertCategory(listResult);\r\n\t\t\t\t\t\t\tMessage msg = Message.obtain();\r\n\t\t\t\t\t\t\tmsg.obj = \"CategorySave\";\r\n\t\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t\t}", "private void fetchProducts() {\n\t\t// Showing progress dialog before making request\n\n\t\tpDialog.setMessage(\"Fetching products...\");\n\n\t\tshowpDialog();\n\n\t\t// Making json object request\n\t\tJsonObjectRequest jsonObjReq = new JsonObjectRequest(Method.GET,\n\t\t\t\tConfig.URL_PRODUCTS, null, new Response.Listener<JSONObject>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onResponse(JSONObject response) {\n\t\t\t\t\t\tLog.d(TAG, response.toString());\n\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tJSONArray products = response\n\t\t\t\t\t\t\t\t\t.getJSONArray(\"products\");\n\n\t\t\t\t\t\t\t// looping through all product nodes and storing\n\t\t\t\t\t\t\t// them in array list\n\t\t\t\t\t\t\tfor (int i = 0; i < products.length(); i++) {\n\n\t\t\t\t\t\t\t\tJSONObject product = (JSONObject) products\n\t\t\t\t\t\t\t\t\t\t.get(i);\n\n\t\t\t\t\t\t\t\tString id = product.getString(\"id\");\n\t\t\t\t\t\t\t\tString name = product.getString(\"name\");\n\t\t\t\t\t\t\t\tString description = product\n\t\t\t\t\t\t\t\t\t\t.getString(\"description\");\n\t\t\t\t\t\t\t\tString image = product.getString(\"image\");\n\t\t\t\t\t\t\t\tBigDecimal price = new BigDecimal(product\n\t\t\t\t\t\t\t\t\t\t.getString(\"price\"));\n\t\t\t\t\t\t\t\tString sku = product.getString(\"sku\");\n\n\t\t\t\t\t\t\t\tProduct p = new Product(id, name, description,\n\t\t\t\t\t\t\t\t\t\timage, price, sku);\n\n\t\t\t\t\t\t\t\tproductsList.add(p);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// notifying adapter about data changes, so that the\n\t\t\t\t\t\t\t// list renders with new data\n\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\n\n\t\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\t\t\"Error: \" + e.getMessage(),\n\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// hiding the progress dialog\n\t\t\t\t\t\thidepDialog();\n\t\t\t\t\t}\n\t\t\t\t}, new Response.ErrorListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onErrorResponse(VolleyError error) {\n\t\t\t\t\t\tVolleyLog.d(TAG, \"Error: \" + error.getMessage());\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\terror.getMessage(), Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t// hide the progress dialog\n\t\t\t\t\t\thidepDialog();\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t// Adding request to request queue\n\t\tAppController.getInstance().addToRequestQueue(jsonObjReq);\n\t}", "@Override\n public void onClick(View v) {\n AsyncCallGetProducts task = new AsyncCallGetProducts(MainActivity.this);\n task.execute();\n }", "public void pickUp(Product product) {\n\t\tgetProductsOnFork().add(product);\n\t}", "Product addNewProductInStore(Product newProduct);", "@PostMapping(path =\"/products\")\n public ResponseEntity<Product> createProduct(@RequestBody Product product) throws URISyntaxException {\n log.debug(\"REST request to create Product : {}\", product);\n Product result = productService.save(product);\n return ResponseEntity.created(new URI(\"/api/products/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "public void PurchasePFItem(final String itemId, final Long currentPrice, final Activity activity, final PlayFabMain.PlayFabPurchaseListener purchaseListener)\n {\n final Thread thread = new Thread()\n {\n public void run()\n {\n // https://api.playfab.com/documentation/client/method/PurchaseItem\n final PlayFabClientModels.PurchaseItemRequest req = new PlayFabClientModels.PurchaseItemRequest();\n req.ItemId = itemId;\n req.Price = currentPrice.intValue();\n req.StoreId = cStoreId;\n req.VirtualCurrency = cVC;\n\n FutureTask<PlayFabErrors.PlayFabResult<PlayFabClientModels.PurchaseItemResult>> task = PlayFabClientAPI.PurchaseItemAsync(req);\n task.run();\n\n while(task != null)\n {\n try\n {\n if (task.isDone())\n {\n PlayFabErrors.PlayFabResult<PlayFabClientModels.PurchaseItemResult> result;\n\n result = task.get();\n final String errors = CompileErrorsFromResult(result);\n Log.d(TAG, \"PurchaseItem: \" + (errors == null ? \"success\" : errors));\n\n if (result.Result != null)\n {\n for (PlayFabClientModels.ItemInstance item : result.Result.Items)\n {\n Log.d(TAG, \"Purchased Item ID: \" + item.ItemId + \" DisplayName: \" + item.DisplayName.toString());\n }\n\n UpdatePFInventory();\n UpdatePFStorePrices();\n }\n\n // callback for PlayFabMain to invoke UI update\n purchaseListener.onPurchaseComplete(errors);\n\n task = null;\n this.join();\n }\n\n Thread.sleep(100);\n }\n catch (InterruptedException | ExecutionException e)\n {\n e.printStackTrace();\n }\n }\n }\n };\n\n thread.start();\n }", "public void createInvoice(final CCCreateInvoiceInteractor.onDisplayDataFinishedListener listener, String\n item, String price, String quantity, String userID, Context context) {\n\n com.android.volley.RequestQueue CreateInvoiceRequestQueue = Volley.newRequestQueue(context);\n com.android.volley.RequestQueue GetCurrentIDRequestQueue = Volley.newRequestQueue(context);\n if (item.equals(\"\") || price.equals(\"\") || quantity.equals(\"\")) {\n listener.onCreateInvoiceError();\n } else {\n // Retrieving current invoice ID\n String getcurrentID = \"https://us-central1-csc207-tli.cloudfunctions.net/increment_current_invoiceID\";\n StringRequest GetCurrentIDStringRequest = new StringRequest(Request.Method.GET, getcurrentID, new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n System.out.println(response);\n helperCreateInvoice(listener, item, price, quantity, userID, context, response);\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n }\n });\n CreateInvoiceRequestQueue.add(GetCurrentIDStringRequest);\n\n // Creating the new invoice\n }\n }", "public void addProduct(Product product){\n // Adding new contact\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(KEY_PRODUCT_NAME, product.getName_product());\n values.put(IS_STRIKE_OUT, product.IsStrikeout());\n values.put(KEY_UUID_PRODUCT_NAME, String.valueOf(product.getId()));\n\n\n // Inserting Row\n db.insert(TABLE_PRODUCTS, null, values);\n Log.d(LOG_TAG_ERROR, \"addProduct OK \" + \" \" + product.getName_product() + \" \" + product.getId());\n\n db.close(); // Closing database connection\n }", "@FXML\n\tpublic void createProduct(ActionEvent event) {\n\t\tif (!txtProductName.getText().equals(\"\") && !txtProductPrice.getText().equals(\"\")\n\t\t\t\t&& ComboSize.getValue() != null && ComboType.getValue() != null && selectedIngredients.size() != 0) {\n\n\t\t\tProduct objProduct = new Product(txtProductName.getText(), ComboSize.getValue(), txtProductPrice.getText(),\n\t\t\t\t\tComboType.getValue(), selectedIngredients);\n\n\t\t\ttry {\n\t\t\t\trestaurant.addProduct(objProduct, empleadoUsername);\n\n\t\t\t\ttxtProductName.setText(null);\n\t\t\t\ttxtProductPrice.setText(null);\n\t\t\t\tComboSize.setValue(null);\n\t\t\t\tComboType.setValue(null);\n\t\t\t\tChoiceIngredients.setValue(null);\n\t\t\t\tselectedIngredients.clear();\n\t\t\t\tproductOptions.clear();\n\t\t\t\tproductOptions.addAll(restaurant.getStringReferencedIdsProducts());\n\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t} else {\n\t\t\tDialog<String> dialog = createDialog();\n\t\t\tdialog.setContentText(\"Todos los campos deben de ser llenados\");\n\t\t\tdialog.setTitle(\"Error al guardar los datos\");\n\t\t\tdialog.show();\n\t\t}\n\n\t}", "public void run() {\n while (true) {\n Producto[] ps;\n int n;\n n = random.nextInt(maxProd) + 1;\n ps = Fabrica.producir(n);\n ConcIO.printfnl(\"inicio almacenamiento de \" + n + \" productos...\");\n multiAlmacenCompartido.almacenar(ps);\n ConcIO.printfnl(\"fin almacenamiento de \" + n + \" productos...\");\n }\n }", "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\ts[0] = pathImage;\n\t\t\t\t\t\tString names = name.getText().toString();\n\t\t\t\t\t\tString types = type.getText().toString();\n\t\t\t\t\t\tString characters = character.getText().toString();\n\t\t\t\t\t\tString notes = note.getText().toString();\n\t\t\t\t\t\tString sexs = sex.getText().toString();\n\t\t\t\t\t\tDouble weights = Double.parseDouble(weight.getText().toString());\n\t\t\t\t\t\tint ages = Integer.parseInt(age.getText().toString());\n\t\t\t\t\t\t\n\t\t\t\t\t\tUpload u = new Upload(NewPet.this, s);\n\t\t\t\t\t\tu.Commit();\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(u.getUrls() == null);\n\t\t\t\t\t\ts = u.getUrls();\n\t\t\t\t\t\t\n\t\t\t\t\t\tCreatePet cp = new CreatePet(NewPet.this, names, types, characters, notes\n\t\t\t\t\t\t\t\t, sexs, weights, ages, s);\n\t\t\t\t\t\tcp.Commit();\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(cp.getFlag() == 0){\n\t\t\t\t\t\t\n\t\t\t\t\t\t};\n\t\t\t\t\t\tfinish();\n\t\t\t\t\t}", "@Override\n\tpublic Product getProduct() {\n\t\tSystem.out.println(\"B生产成功\");\n\t\treturn product;\n\t}", "@Override\n\t\tprotected String doInBackground(String... params)\n\t\t{\n\n\t\t\tint id = mDatabaseService.createOrder(Utils.getCurrentDateTime(), \"\"+tableId, \"1\");\n\t\t\tLog.d(TAG, \"order created id:\" + id);\n\t\t\treturn \"\" + id;\n\t\t}", "@Override\r\n\t\tpublic void run() {\n\t\t\tLooper.prepare();\r\n\t\t\tAsyncHttpClient client = new AsyncHttpClient();\r\n\t\t\tif (\"friend_go\".equals(category)) {\r\n\t\t\t\tclient.addHeader(\"Authorization\", \"Basic MTM3OTgwNDAyMzk6ZWM4YTcxMWYtNGI0OS0xMWUzLTg3MTUtMDAxNjNlMDIxMzQz\");\r\n\r\n\t\t\t}\r\n\t\t\tclient.post(HotelListActivity.this, creatUrl(), createParams(), new AsyncHttpResponseHandler() {\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void onFailure(Throwable arg0, String arg1) {\r\n\t\t\t\t\tToast.makeText(mContext, arg1, Toast.LENGTH_LONG).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void onStart() {\r\n\t\t\t\t\tif (debugger) {\r\n\t\t\t\t\t\tToast.makeText(HotelListActivity.this, createParams().toString(), Toast.LENGTH_LONG).show();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsuper.onStart();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void onSuccess(final String arg0) {\r\n\t\t\t\t\tif (debugger) {\r\n\t\t\t\t\t\tToast.makeText(mContext, arg0, Toast.LENGTH_LONG).show();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tJSONObject jsObj;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tjsObj = new JSONObject(arg0);\r\n\t\t\t\t\t\tmApplication.saveCahce(category, jsObj);\r\n\t\t\t\t\t\t// pg_cnt = jsObj.getInt(\"pgCnt\");\r\n\t\t\t\t\t\tJSONArray array = jsObj.getJSONArray(\"items\");\r\n\t\t\t\t\t\tmyHandler.obtainMessage(0, -1, -1, array).sendToTarget();\r\n\r\n\t\t\t\t\t} catch (JSONException e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\tmyHandler.obtainMessage(1, -1, -1, e.getMessage()).sendToTarget();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tLooper.loop();\r\n\t\t}", "public void insertRecords(){\n InsertToDB insertRecords= new InsertToDB(mDbhelper,mRecord);\n Log.i(TAG, \"starting insertion on a new Thread!!\");\n idlingResource.increment();\n new Thread(insertRecords).start();\n\n }", "public void run() {\n User user = userFactory.create();\n queue.add(user);\n }", "private void writeNewProduct(Product product) {\n database.child(\"user-groceries\").child(LoginRepository.activeUserId()).child(product.name).setValue(product);\n }", "@Override\n public void run() {\n new AddFcmDetails(SuccessFullActivity.this).execute();\n }", "@Override\n\tpublic void run() {\n\t\twhile(true) {\n\t\tsale();\n\t\t}\n\t\t\n\t}", "public void processRequest(String itemName, double itemPrice, Long orderId) {\n Item item = new Item(itemName, itemPrice);\n\n itemRepository.save(item);\n\n// System.out.println(item.toString());\n processQueue(item);\n }", "private void newTask()\n {\n \t//TODO add alarm\n \tTask task = new Task(taskName.getText().toString(), taskDetails.getText().toString());\n \tdb.createTask(task);\n \t//TODO Tie notification to an alarm\n \t//Create notification\n \tIntent notifyIntent = new Intent(this, TaskNotification.class);\n \tnotifyIntent.putExtra(\"title\", task.name); //add title name\n \tnotifyIntent.putExtra(\"id\", (int) task.id); //add id\n \tstartActivity(notifyIntent); //create the intent\n \t\n \trefreshData();\n }", "private void getProductHandler(RoutingContext routingContext) {\n\n HttpServerResponse httpServerResponse = routingContext.response();\n\n try {\n\n Long productId = Long.parseLong(routingContext.request().getParam(\"productId\"));\n Instant start = Instant.now();\n\n logger.info(\"Received the get request for the productid \" + productId + \" at \" + start);\n Product inputProduct = new Product.ProductBuilder(productId).build();\n\n // Create future for external api call\n Future<Product> externalApiPromise =\n Future.future(promise -> messagingExternalApiVerticle(promise, productId));\n\n // Create future for DB call\n Future<Product> productDBPromise =\n Future.future(promise -> callDBService(promise, inputProduct, DBAction.GET));\n\n // Concatenate result from external api and database future\n CompositeFuture.all(externalApiPromise, productDBPromise)\n .setHandler(\n result -> {\n if (result.succeeded()) {\n Product productInfo = externalApiPromise.result();\n Product productDBInfo = productDBPromise.result();\n\n productInfo.setPrice(productDBInfo.getPrice());\n productInfo.setCurrency(productDBInfo.getCurrency());\n productInfo.setLast_updated(productDBInfo.getLast_updated());\n\n logger.info(\"The retrieved product is \" + productInfo.toString());\n\n Gson gson = new GsonBuilder().create();\n String json = gson.toJson(productInfo);\n\n Long duration = Duration.between(start, Instant.now()).toMillis();\n logger.info(\n \"Total time taken to process the request \" + duration + \" milli-seconds\");\n\n httpServerResponse.setStatusCode(SUCCESS_CODE);\n httpServerResponse.end(new JsonObject(json).encodePrettily());\n\n } else {\n logger.error(result.cause());\n httpServerResponse.setStatusCode(INTERNAL_SERVER_ERROR);\n httpServerResponse.end(\n \"Error due to \"\n + result.cause().getMessage()\n + \". Please try again after sometime.\");\n }\n });\n\n } catch (Exception e) {\n logger.error(e);\n httpServerResponse.setStatusCode(INTERNAL_SERVER_ERROR);\n httpServerResponse.end(\n \"Error due to \" + e.getMessage() + \". Please try again after sometime.\");\n }\n }", "public void handleAddProducts()\n {\n FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource(\"/UI/Views/product.fxml\"));\n Parent root = null;\n try {\n root = (Parent) fxmlLoader.load();\n\n // Get controller and configure controller settings\n ProductController productController = fxmlLoader.getController();\n productController.setModifyProducts(false);\n productController.setInventory(inventory);\n productController.setHomeController(this);\n productController.updateParts();\n\n // Spin up product form\n Stage stage = new Stage();\n stage.initModality(Modality.APPLICATION_MODAL);\n stage.initStyle(StageStyle.DECORATED);\n stage.setTitle(\"Add Products\");\n stage.setScene(new Scene(root));\n stage.show();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "static public void queueOperation(Context context, OperationInfo args) {\n // Set the schedule time for execution based on the desired delay.\n args.calculateScheduledTime();\n\n synchronized (sWorkQueue) {\n sWorkQueue.add(args);\n sWorkQueue.notify();\n }\n\n context.startService(new Intent(context, AsyncQueryServiceHelper.class));\n }", "@Override\n\tprotected void start() {\n\t\tDeferred<Tool> promise = _warehouse.acquireTool(_toolName);\n\t\tif (promise.isResolved()) {\n\t\t\t_product.setFinalId(promise.get().useOn(_product));\n\t\t\t_warehouse.releaseTool(promise.get());\n\t\t\tcomplete(promise.get());\n\t\t} \n\t\telse {\n\t\t\tpromise.whenResolved(() -> {\n\t\t\t\t_product.setFinalId(promise.get().useOn(_product));\n\t\t\t\t_warehouse.releaseTool(promise.get());\n\t\t\t\tcomplete(promise.get());\n\t\t\t});\n\t\t}\n\n\t}", "public void addButtonClicked(){\n Products products = new Products(buckysInput.getText().toString());\n dbHandler.addProduct(products);\n printDatabase();\n }", "private void insertProduct() {\n\n Uri imageforDummyProductURI = Uri.parse(\"android.resource://com.ezyro.uba_inventory/drawable/img_audi_a3\");\n\n\n // Create a ContentValues objecURI\n ContentValues values = new ContentValues();\n values.put(ProductEntry.COLUMN_PRODUCT_NAME, \"ford\");\n values.put(ProductEntry.COLUMN_PRODUCT_UNIT_PRICE, 25000);\n values.put(ProductEntry.COLUMN_PRODUCT_QUANTITY, 1);\n values.put(ProductEntry.COLUMN_PRODUCT_IMAGE_PATH, String.valueOf(imageforDummyProductURI));\n values.put(ProductEntry.COLUMN_PRODUCT_CATEGORY_NAME,\"Car\");\n values.put(ProductEntry.COLUMN_PRODUCT_SUPPLIER_ID,1);\n // values.put(ProductEntry.COLUMN_PRODUCT_SUPPLIER_NAME, \"Audi\");\n // values.put(ProductEntry.COLUMN_PRODUCT_SUPPLIER_EMAIL, \"[email protected]\");\n\n Uri newUri = getContentResolver().insert(ProductEntry.CONTENT_URI, values);\n\n // Show a toast message depending on whether or not the insertion was successful.\n if (newUri == null) {\n // If the new content URI is null, then there was an error with insertion.\n Toast.makeText(this, getString(R.string.editor_insert_product_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the insertion was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_insert_product_successful),\n Toast.LENGTH_SHORT).show();\n }\n }", "public ServiceResponse<ProductInner> putNonRetry201Creating400() throws CloudException, IOException, InterruptedException {\n final ProductInner product = null;\n Response<ResponseBody> result = service.putNonRetry201Creating400(product, this.client.acceptLanguage(), this.client.userAgent()).execute();\n return client.getAzureClient().getPutOrPatchResult(result, new TypeToken<ProductInner>() { }.getType());\n }", "public void processProduct() {\n Product product = self.getCurrentProduct();\n ServiceManager sm = self.getServiceManager();\n boolean failure = false;\n\n if (product != null) {\n //update the product's location\n product.setLocation(self.getLocation());\n env.updateProduct(product);\n\n //process product if the current service equals the needed service and is available,\n //otherwise, just forward the product to the output-buffer without further action.\n if (sm.checkProcessingAllowed(product.getCurrentStepId())) {\n int processingSteps = sm.getCapability().getProcessingTime() * env.getStepTimeScaler();\n for (int i = 1; i <= processingSteps; i++) {\n if (i % env.getStepTimeScaler() == 0) {\n self.increaseWorkload();\n syncUpdateWithCheck(false);\n } else {\n waitStepWithCheck();\n }\n }\n failure = sm.checkFailure(getRandom());\n }\n\n //block until enough space on output-buffer\n while (!self.getOutputBuffer().tryPutProduct(product) && !getResetFlag()) {\n waitStepWithCheck();\n }\n // update product, no sync – does not change pf\n product.finishCurrentStep();\n product.setLocation(self.getOutputLocation());\n env.updateProduct(product);\n // move product to output-buffer + break a service (optional)\n self.setCurrentProduct(null);\n self.increaseFinishCount();\n syncUpdateWithCheck(failure);\n }\n }", "public void createThread() {\n }", "private static void createProducts() {\n productRepository.addProduct(Product.builder()\n .name(\"Milk\")\n .barcode(new Barcode(\"5900017304007\"))\n .price(new BigDecimal(2.90))\n .build()\n );\n productRepository.addProduct(Product.builder()\n .name(\"Butter\")\n .barcode(new Barcode(\"5906217041483\"))\n .price(new BigDecimal(4.29))\n .build()\n );\n productRepository.addProduct(Product.builder()\n .name(\"Beer\")\n .barcode(new Barcode(\"5905927001114\"))\n .price(new BigDecimal(2.99))\n .build()\n );\n }", "private void ejecutorDeServicio(){\r\n dbExeccutor = Executors.newFixedThreadPool(\r\n 1, \r\n new databaseThreadFactory()\r\n ); \r\n }", "@Override\r\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tdbHelper.InsertCompany(listResult);\r\n\t\t\t\t\t\t\tMessage msg = Message.obtain();\r\n\t\t\t\t\t\t\tmsg.obj = \"CompanySave\";\r\n\t\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t\t}", "@Override\n\t@Transactional\n\tpublic Product createProduct(String name, Float price, Float weight, Supplier supplier, Date sdf) {\n\t\tProduct newProduct = new Product(name, price, supplier, weight, sdf);\n\t\treturn repository.persist(newProduct);\n\n\t}", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t\n\t\t\t\tnew Thread(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\ts[0] = pathImage;\n\t\t\t\t\t\tString names = name.getText().toString();\n\t\t\t\t\t\tString types = type.getText().toString();\n\t\t\t\t\t\tString characters = character.getText().toString();\n\t\t\t\t\t\tString notes = note.getText().toString();\n\t\t\t\t\t\tString sexs = sex.getText().toString();\n\t\t\t\t\t\tDouble weights = Double.parseDouble(weight.getText().toString());\n\t\t\t\t\t\tint ages = Integer.parseInt(age.getText().toString());\n\t\t\t\t\t\t\n\t\t\t\t\t\tUpload u = new Upload(NewPet.this, s);\n\t\t\t\t\t\tu.Commit();\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(u.getUrls() == null);\n\t\t\t\t\t\ts = u.getUrls();\n\t\t\t\t\t\t\n\t\t\t\t\t\tCreatePet cp = new CreatePet(NewPet.this, names, types, characters, notes\n\t\t\t\t\t\t\t\t, sexs, weights, ages, s);\n\t\t\t\t\t\tcp.Commit();\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(cp.getFlag() == 0){\n\t\t\t\t\t\t\n\t\t\t\t\t\t};\n\t\t\t\t\t\tfinish();\n\t\t\t\t\t}\n\t\t\t\t}).start();\n\t\t\t}", "public void run() {\n int success;\n try {\n // Building Parameters\n List<NameValuePair> params = new ArrayList<NameValuePair>();\n params.add(new BasicNameValuePair(\"id\", pid));\n\n // getting product details by making HTTP request\n // Note that product details url will use GET request\n JSONObject json = jsonParser.makeHttpRequest(\n url_product_detials, \"GET\", params);\n\n // check your log for json response\n Log.d(\"Single Product Details\", json.toString());\n\n // json success tag\n success = json.getInt(TAG_SUCCESS);\n if (success == 1) {\n // successfully received product details\n JSONArray productObj = json\n .getJSONArray(TAG_PRODUCT); // JSON Array\n\n // get first product object from JSON Array\n JSONObject product = productObj.getJSONObject(0);\n\n // product with this pid found\n // Edit Text\n nama = (TextView) findViewById(R.id.nama);\n desc = (TextView) findViewById(R.id.desc);\n\n // display product data in EditText\n nama.setText(product.getString(TAG_NAME));\n desc.setText(product.getString(TAG_DESCRIPTION));\n\n }else{\n // product with pid not found\n }\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }", "@Override\n public void onSuccess(StateEntity result) {\n this.getBus().post(new ProductState.ProductAddNewTagEvent());\n }", "public EventHandleThread(){\n gson = new Gson();\n producer = KafkaProducerCreator.createProducer();\n this.paymentController = new PaymentController();\n }", "void addProduct(Product product);", "public void insertTicket(Ticket t){if(!this.inProgress()){this.currentTicket = t;}}", "public void addProduct(Product product);", "@SuppressLint(\"StringFormatMatches\")\n @Override\n public void onSuccess(Uri uri) {\n String id= databaseCars.push().getKey();\n Produit prod = new Produit(id,uri.toString(), nomfourni.getText().toString(), label.getText().toString(), prix.getText().toString(),qte.getText().toString());\n String prodId=root.push().getKey();\n root.child(prodId).setValue(prod);\n databaseCars.child(\"Produit\").child(id).setValue(prod);\n Toast.makeText(GestionProduit.this, \"Produit added\", Toast.LENGTH_LONG).show();\n }", "public void create(List<Product> products) {\n this.products = products;\n deliveryDate = LocalDate.now().plusDays(2);\n warehouse = factory.getWarehouse(\"DHL\");\n\n stock.decrease(products);\n }", "private void buyProduct() {\n\t\tSystem.out.println(\"Enter Number of Product :- \");\n\t\tint numberOfProduct = getValidInteger(\"Enter Number of Product :- \");\n\t\twhile (!StoreController.getInstance().isValidNumberOfProduct(\n\t\t\t\tnumberOfProduct)) {\n\t\t\tSystem.out.println(\"Enter Valid Number of Product :- \");\n\t\t\tnumberOfProduct = getValidInteger(\"Enter Number of Product :- \");\n\t\t}\n\t\tfor (int number = 1; number <= numberOfProduct; number++) {\n\t\t\tSystem.out.println(\"Enter \" + number + \" Product Id\");\n\t\t\tint productId = getValidInteger(\"Enter \" + number + \" Product Id\");\n\t\t\twhile (!StoreController.getInstance().isValidProductId(productId)) {\n\t\t\t\tSystem.out.println(\"Enter Valid Product Id\");\n\t\t\t\tproductId = getValidInteger(\"Enter \" + number + \" Product Id\");\n\t\t\t}\n\t\t\tSystem.out.println(\"Enter product Quantity\");\n\t\t\tint quantity = getValidInteger(\"Enter product Quantity\");\n\t\t\tCartController.getInstance().addProductToCart(productId, quantity);\n\t\t}\n\t}", "public void initialize() {\n Runnable backgroundTask = () -> {\n Configuration configuration = loadApplicationConfiguration();\n\n if (Objects.nonNull(configuration)) {\n EbayService ebayService = new EbayService(configuration);\n\n try {\n List<OrderType> unshippedOrders = ebayService.getUnshippedOrders();\n\n for (OrderType order : unshippedOrders) {\n String orderID = order.getOrderID();\n String numberOfTransaction = Integer.toString(order.getTransactionArray().getTransaction().length);\n String transactionPrice = Double.toString(order.getTotal().getValue());\n\n String paidTime = \"\";\n\n if (order.getPaidTime() != null) {\n paidTime = eBayUtil.toAPITimeString(order.getPaidTime().getTime());\n }\n\n String buyerUserID = order.getBuyerUserID();\n\n Vector dataVector = new Vector();\n\n dataVector.add(orderID);\n dataVector.add(numberOfTransaction);\n dataVector.add(transactionPrice);\n dataVector.add(paidTime);\n dataVector.add(buyerUserID);\n dataVector.add(new JTextField(20));\n dataVector.add(new JButton(\"Create Fulfillment Order\"));\n\n providerTableModel.addRow(dataVector);\n }\n } catch (Exception exception) {\n showErrorMessage(exception.getMessage());\n }\n }\n };\n\n Thread backgroundThread = new Thread(backgroundTask);\n\n backgroundThread.start();\n }", "@Override\n\tpublic void run() {\t\n\t\tint maxNum = (maxCustomerNumOnline > maxCustomerNumShop) ? maxCustomerNumOnline : maxCustomerNumShop;\n\t\t\n\t\tfor(int i = 0; i < maxNum; i++) {\n\t\t\t// every number of milliseconds, add customer to end of queue \n\t\t\ttry {\t\t\t\n\t\t\t\t// if online queue exists add to it \n\t\t\t\tif (i < maxCustomerNumOnline) {\n\t\t\t\t\tCustomerQueueOutput out = onlineQueue.addToQueue();\n\t\t\t\t\tCoffeeShop.customerList.put(out.getCustomer().getId(), out.getCustomer());\n\t\t\t\t\t\n\t\t\t\t\tlog.updateLog(\"[QueueHandler]: \"+ \"Queue Handler added customer \" + out.getCustomer().getName() + \n\t\t\t\t\t\t\t\" (ID: \" + out.getCustomer().getId() + \") to online queue -> updated size: \" \n\t\t\t\t\t\t\t+ out.getUpdatedSize());\n\t\t\t\t}\n\n\t\t\t\tif (i < maxCustomerNumShop) {\n\t\t\t\t\t// add to in-shop queue \n\t\t\t\t\tCustomerQueueOutput out = shopQueue.addToQueue();\n\t\t\t\t\tCoffeeShop.customerList.put(out.getCustomer().getId(), out.getCustomer());\n\t\t\t\t\t\n\t\t\t\t\tlog.updateLog(\"[QueueHandler]: \"+ \"Queue Handler added customer \" + out.getCustomer().getName() + \n\t\t\t\t\t\t\t\" (ID: \" + out.getCustomer().getId() + \") to in-shop queue -> updated size: \" \n\t\t\t\t\t\t\t+ out.getUpdatedSize());\n\t\t\t\t}\t\t\t\t\t\t\n\n\t\t\t\t// delay for visualization purposes \n\t\t\t\tThread.sleep(onlineQueue.getDelay());\n\t\t\t\t\n\t\t\t// catch exception for calling sleep() function\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\tlog.updateLog(\"[QueueHandler]: \"+ \"Interuption in queueHandler\");\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t}\n\t\t}\t\t\n\t}", "@Override\n public void addObject()\n throws Exception {\n // insert object into the queue\n ftpBlockingQueue.offer(ftpClientFactory.create(), 3, TimeUnit.SECONDS);\n }", "private synchronized void createJob\n\t\t(Channel theChannel)\n\t\t{\n\t\t// Create Job Frontend proxy object for the channel.\n\t\tJobFrontendRef frontend =\n\t\t\tnew JobFrontendProxy (myChannelGroup, theChannel);\n\t\ttheChannel.info (frontend);\n\n\t\t// Create job information record.\n\t\tJobInfo jobinfo = getJobInfo (frontend);\n\n\t\t// Start lease timers.\n\t\tjobinfo.renewTimer.start\n\t\t\t(Constants.LEASE_RENEW_INTERVAL,\n\t\t\t Constants.LEASE_RENEW_INTERVAL);\n\t\tjobinfo.expireTimer.start\n\t\t\t(Constants.LEASE_EXPIRE_INTERVAL);\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\tSystem.out.println(\"topic 消息类型开始产生消息 \" + \"生产者: \" + Thread.currentThread().getName());\n\t\t\t\ttry {\n\t\t\t\t\t\t/**第一步 创建连接工厂*/\n\t\t\t\t\t\tfactory = new ActiveMQConnectionFactory(MqConfigConstants.USERNAME, MqConfigConstants.PASSWORD, MqConfigConstants.BROKEURL_ALI);\n\t\t\t\t\t\t/**第二步 创建JMS 连接*/\n\t\t\t\t\t\tConnection connection = factory.createConnection();\n\t\t\t\t\t\tconnection.start();\n\t\t\t\t\t\t/** 第三步 创建Session,开启事务 */\n\t\t\t\t\t\tSession session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE);\n\t\t\t\t\t\t/** 第四步: 创建topic,Topic是 Destination接口的子接口*/\n\t\t\t\t\t\tTopic topic = session.createTopic(MqConfigConstants.TopicName);\n\t\t\t\t\t\t/** 第五步 创建生产者producer */\n\t\t\t\t\t\tMessageProducer producer = session.createProducer(topic);\n\n\t\t\t\t\t\t/** 设置消息不需要持久化 */\n\t\t\t\t\t\tproducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);\n\t\t\t\t\t\t//发送文本消息\n\t\t\t\t\t\twhile (true) {\n\t\t\t\t\t\t\t\t/** 第六步 发送消息 */\n\t\t\t\t\t\t\t\tMessage message = createMessage(session,\"vincent\",27,\"江西省赣州市\");\n\t\t\t\t\t\t\t\tproducer.send(message);\n\t\t\t\t\t\t\t\tsession.commit();//开启事务必须需要提交,消费者才能获取到\n\t\t\t\t\t\t\t\tSystem.out.println(\"发送消息: \" +message.toString() );\n\t\t\t\t\t\t\t\tThread.sleep(200);\n\t\t\t\t\t\t}\n\t\t\t\t} catch (JMSException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}", "public void makeRequest() {\n Request newRequest = new Request();\n\n if (mProduct == null) {\n Toast.makeText(getContext(), \"BAD\", Toast.LENGTH_LONG).show();\n return;\n }\n\n newRequest.setClient(ParseUser.getCurrentUser());\n newRequest.setProduct(mProduct);\n newRequest.setBeaut(mBeaut);\n\n Date dateTime = new Date(selectedAppointmet.appDate.getTimeInMillis());\n newRequest.setDateTime(dateTime);\n // TODO: uncomment below line when dataset is clean and products have lengths\n// newRequest.setLength(mProduct.getLength());\n newRequest.setLength(1);\n newRequest.setSeat(selectedAppointmet.seatId);\n newRequest.setDescription(rComments.getText().toString());\n\n sendRequest(newRequest);\n }", "private void startRateProductAct() {\n Intent intent = new Intent(this, ReviewProductActivity.class);\n intent.putExtra(PRODUCT_IMAGE, mProductDetailsViewModel.mPrimaryImage);\n intent.putExtra(PRODUCT_COLOUR, mProductDetailsViewModel.mColor);\n intent.putExtra(PRODUCT_NAME, mBinding.tvPdpProductName.getText().toString());\n intent.putExtra(PRICE, mBinding.tvPdpProductPrice.getText().toString());\n intent.putExtra(PARENT_PRODUCT_ID, mParentProductId);\n intent.putExtra(PRODUCT_ID, mProductId);\n startActivity(intent);\n }", "@Override\n public void run() {\n OrderBook.getInstance().addOfferMarketQuote(order);\n }", "private void initThread() {\n\t\tarticleInqList = new ArrayList<ArticleInq>();\n\t\tarticleImageList = new ArrayList<ArticleImage>();\n\t\t// for hide display\n\t\tif (statusThread == null) {\n\t\t\tproductDetailsLayOut = (TableLayout) findViewById(R.id.tblProductDetails);\n\t\t\tmWaitRunnable = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (isAnyProductDisplaying) {\n\t\t\t\t\t\tproductDetailsLayOut.startAnimation(animBottom);\n\t\t\t\t\t\tproductDetailsLayOut.setVisibility(View.INVISIBLE);\n\t\t\t\t\t\tisAnyProductDisplaying = false;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t};\n\n\t\t}\n\t\tstatusThread = new Thread(mWaitRunnable);\n\t\tstatusThread.start();\n\n\t\t// For adding only Article images\n\t\tif (productImageAddThread == null) {\n\t\t\tpIAWaitRunnable = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (currentPoolEanForImage.equals(\"\")\n\t\t\t\t\t\t\t&& !sacannedItemListForImage.isEmpty()) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcurrentPoolEanForImage = sacannedItemListForImage\n\t\t\t\t\t\t\t\t\t.get(0);\n\t\t\t\t\t\t\taddArticleImage();\n\t\t\t\t\t\t} catch (Exception oEx) {\n\t\t\t\t\t\t\tcurrentPoolEanForImage = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpIAHandler.postDelayed(pIAWaitRunnable, 1);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tproductImageAddThread = new Thread(pIAWaitRunnable);\n\t\tproductImageAddThread.start();\n\n\t\t// For adding only Article informations\n\t\tif (productAddThread == null) {\n\n\t\t\tpAWaitRunnable = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (currentPoolEanForArticle.equals(\"\")\n\t\t\t\t\t\t\t&& !sacannedItemListForArticle.isEmpty()) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcurrentPoolEanForArticle = sacannedItemListForArticle\n\t\t\t\t\t\t\t\t\t.get(0);\n\t\t\t\t\t\t\taddArticle();\n\t\t\t\t\t\t} catch (Exception oEx) {\n\t\t\t\t\t\t\tcurrentPoolEanForArticle = \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpAHandler.postDelayed(pAWaitRunnable, 2);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\tproductAddThread = new Thread(pAWaitRunnable);\n\t\tproductAddThread.start();\n\n\t\t// For showing display\n\t\tif (productDisplayThread == null) {\n\t\t\tpDWaitRunnable = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (!isAnyProductDisplaying\n\t\t\t\t\t\t\t&& !displayArticleList.isEmpty()) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tisAnyProductDisplaying = true;\n\t\t\t\t\t\t\tint lastDisplayedItemIndex = displayArticleList\n\t\t\t\t\t\t\t\t\t.size();\n\t\t\t\t\t\t\taddProduct(displayArticleList\n\t\t\t\t\t\t\t\t\t.get(lastDisplayedItemIndex - 1));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tdisplayRemovingStarted = true;\n\t\t\t\t\t\t\twhile (!displayAddingStarted) {\n\t\t\t\t\t\t\t\tfor (int i = 0; i < lastDisplayedItemIndex; i++) {\n\t\t\t\t\t\t\t\t\tdisplayArticleList.remove(0);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// displayArticleList.removeAll(displayArticleList.subList(0,\n\t\t\t\t\t\t\t\t// lastDisplayedItemIndex-1));\n\t\t\t\t\t\t\t\tdisplayRemovingStarted = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\ttvScanningProgressCounter.setText(\"\"+sacannedItemListForArticle.size()+\" remaining\");\n\n\t\t\t\t\t\t} catch (Exception oEx) {\n\t\t\t\t\t\t\tisAnyProductDisplaying = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpDHandler.postDelayed(pDWaitRunnable, 3);\n\t\t\t\t}\n\t\t\t};\n\n\t\t}\n\t\tproductDisplayThread = new Thread(pDWaitRunnable);\n\t\tproductDisplayThread.start();\n\n\t\t// For adding basket\n\t\tif (bThread == null) {\n\t\t\tbRunnable = new Runnable() {\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (isBasketAddingReady && basketArticleList.size() > 0) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tisBasketAddingReady = false;\n\t\t\t\t\t\t\taddBasket(basketArticleList.get(0));\n\t\t\t\t\t\t} catch (Exception oEx) {\n\t\t\t\t\t\t\tisBasketAddingReady = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbHandler.postDelayed(bRunnable, 4);\n\t\t\t\t}\n\t\t\t};\n\n\t\t}\n\t\tbThread = new Thread(bRunnable);\n\t\tbThread.start();\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\tUri insertedUri = context.getContentResolver().insert(uri,\n\t\t\t\t\t\tvalues);\n\t\t\t\tMessage msg = Message.obtain();\n\t\t\t\t// msg.what=INSERT_OPERATION;\n\t\t\t\tif (ContentUris.parseId(insertedUri) > 0) {\n\t\t\t\t\tmsg.what = SUCCESS;\n\t\t\t\t} else {\n\t\t\t\t\tmsg.what = FAIL;\n\t\t\t\t}\n\t\t\t\thandler.sendMessage(msg);\n\t\t\t}", "@FXML void but_AddProduct(ActionEvent event) {\n\n productLine.add(new Widget(txtProductName.getText(), txtManufacturer.getText(),\n choiceType.getValue())); //Adding test product in observable list\n\n productTable.setItems(productLine); //Adds product to table\n listProduce.setItems(productLine); //Adds product to produce list\n\n addToDatabaseProduct();\n\n System.out.println(\"Product added\");\n }", "@Override\n\t\t\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tinitBroadCastClient();\n\t\t\t\t\t\t\t\t\tReceivePublicKey();\n\t\t\t\t\t\t\t\t\tReceiveEncryptPrice();\n\t\t\t\t\t\t\t\t\tgenerateEProduct();\n\t\t\t\t\t\t\t\t\tsendEProduct();\n\t\t\t\t\t\t\t\t\tGarbleCircuits();\n\t\t\t\t\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}", "public Product instantiateProduct (String prodId, String prodLocation, int stock) {\n\t\tif (productMap.containsKey(prodId)) {\n\t\t\tSystem.out.println(prodId+\" ERROR: product already exists @ \"+productMap.get(prodId).getLocation()+\" use restock to add more\" );\n\t\t\treturn productMap.get(prodId);\n\t\t} else {\n\t\t\tProduct temp = new Product (prodId, prodLocation, stock);\n\t\t\tproductMap.put(prodId, temp);\n\t\t\treturn temp;\n\t\t}\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\tsuper.run();\n\t\t\ttry {\n\t\t\t\tHttp_PushTask HP = new Http_PushTask();\n\t\t\t\tString result = HP.execute(\n\t\t\t\t\t\t\"\",\n\t\t\t\t\t\t\"http://cnyssj.com/dfweb/sys/good/getGoodList?token=\"\n\t\t\t\t\t\t\t\t+ token + \"&start=0&limit=100\").get();\n\n\t\t\t\tif (!TextUtils.isEmpty(result)) {\n\t\t\t\t\treList = new ArrayList<Recommend>();\n\t\t\t\t\treList = json.parseJsonsByReProduct(result);\n\t\t\t\t\tshowmessage(1);\n\t\t\t\t} else {\n\t\t\t\t\ttoast(\"获取数据失败!\");\n\t\t\t\t\tmDialog.dismiss();\n\t\t\t\t}\n\t\t\t} catch (InterruptedException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t} catch (ExecutionException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te2.printStackTrace();\n\t\t\t}\n\t\t}", "public static void sendFavoriteProduct(final Context context, final Product product)\r\n {\r\n final SharedPreferencesManager sharedPreferencesManager = new SharedPreferencesManager(context);\r\n\r\n final long id = sharedPreferencesManager.retrieveUser().getId();\r\n\r\n final String fixedURL = Utils.fixUrl(Properties.SERVER_URL + \":\" + Properties.SERVER_SPRING_PORT\r\n + \"/users/\" + id + \"/\" + product.getId() + \"/\" + Properties.ACTION_FAVORITE);\r\n\r\n Log.d(Properties.TAG, \"[REST_CLIENT_SINGLETON] Conectando con: \" + fixedURL + \" para anadir/quitar un producto de favoritos\");\r\n\r\n final StringRequest stringRequest = new StringRequest(Request.Method.GET\r\n , fixedURL\r\n , new Response.Listener<String>()\r\n {\r\n @Override\r\n public void onResponse(final String response)\r\n {\r\n Log.d(Properties.TAG, \"[REST_CLIENT_SINGLETON] Se recibe respuesta del servidor: \" + response);\r\n\r\n AsyncTask.execute(new Runnable()\r\n {\r\n @Override\r\n public void run()\r\n {\r\n synchronized (RestClientSingleton.class)\r\n {\r\n if (!response.equals(Properties.PRODUCT_NOT_FOUND) || !response.equals(Properties.USER_NOT_FOUND))\r\n {\r\n User user = sharedPreferencesManager.retrieveUser();\r\n\r\n // Si contiene el producto, es que se quiere quitar de favoritos.\r\n if (user.getFavoriteProducts().contains(product.getId()))\r\n {\r\n Log.d(Properties.TAG, \"[REST_CLIENT_SINGLETON] Se elimina el producto de favoritos\");\r\n user.getFavoriteProducts().remove(product.getId());\r\n\r\n } else {\r\n Log.d(Properties.TAG, \"[REST_CLIENT_SINGLETON] Se añade el producto de favoritos: \" + product.getId());\r\n user.getFavoriteProducts().add(product.getId());\r\n }\r\n\r\n Log.d(Properties.TAG, \"[REST_CLIENT_SINGLETON] Se actualiza el usuario en las SharedPreferences\");\r\n sharedPreferencesManager.insertUser(user);\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n , new Response.ErrorListener()\r\n {\r\n @Override\r\n public void onErrorResponse(VolleyError error)\r\n {\r\n ExceptionPrinter.printException(\"REST_CLIENT_SINGLETON\", error);\r\n }\r\n });\r\n\r\n VolleySingleton.getInstance(context).addToRequestQueue(stringRequest);\r\n }", "@Override\n\tpublic void add(Entity entity) throws Exception {\n\t\tsuper.add(entity);\n\t\tProduct prod = (Product) entity;\n\n\t\tSQLiteStatement st = db\n\t\t\t\t.prepare(\"INSERT INTO products(sessionID, name, priceMin, priceMax, quantity, category)\"\n\t\t\t\t\t\t+\"VALUES (?, ?, ?, ?, ?, ?)\");\n\t\tst.bind(1, sessionId).bind(2, prod.getName()).bind(3, prod.getPriceMin())\n\t\t\t\t.bind(4, prod.getPriceMin()).bind(5, prod.getQuantity())\n\t\t\t\t.bind(6, prod.getCategory());\n\t\tst.step();\n\t\ttotalQuantity += prod.quantity;\n\t\tif (!categoryList.containsKey(prod.getCategory())) {\n\t\t\tcategoryList.put(prod.getCategory(), new ArrayList<Product>());\n\t\t}\n\t\tcategoryList.get(prod.getCategory()).add(prod);\n\t\tif (availableProducts.get(entity.getName())==null) {\n\t\t\tavailableProducts.put(entity.getName(), \" \");\n\t\t}\n\t}", "public void Addproduct(Product objproduct) {\n\t\t\n\t}", "@Override\r\n\tpublic void saveProduct(Product product) throws Exception {\n\r\n\t}", "public void addToCart_process(View v) {\n\n addToCart_flag = true;\n // create string\n create_final_string_product();\n // function show message\n ToastMessage();\n // clear all data after adding product into cart\n clear_data();\n }", "@Test\n public void addToCart() throws Exception {\n\n ReadableProducts product = super.readyToWorkProduct(\"addToCart\");\n assertNotNull(product);\n\n PersistableShoppingCartItem cartItem = new PersistableShoppingCartItem();\n cartItem.setProduct(product.getId());\n cartItem.setQuantity(1);\n\n final HttpEntity<PersistableShoppingCartItem> cartEntity =\n new HttpEntity<>(cartItem, getHeader());\n final ResponseEntity<ReadableShoppingCart> response =\n testRestTemplate.postForEntity(\n String.format(\"/api/v1/cart/\"), cartEntity, ReadableShoppingCart.class);\n\n // assertNotNull(response);\n // assertThat(response.getStatusCode(), is(CREATED));\n\n }", "public static void create_Product(String productid, String productType, String purchaseAccount, String salesAccount,\n\t\t\tWebDriver driver) throws IOException, InterruptedException, AWTException {\n\t\tProperties pro = Utilities.fetchProValue(\"OR_ProductMaster.properties\");\n\t\tString productName = productid + \"Name\";\n\t\tString productDes = productid + \" : product created on [\" + Utilities.currentDate(\"dd-MM-yyyy\") + \"]\";\n\t\tString xpathOfLoading = \"//*[contains(@style,'visible')]//*[contains(text(),'Please wait..')]\";\n\t\ttry {\n\t\t\tUtilities.click_element(pro.getProperty(\"createProductIcon\"), driver);\n\t\t\t// ------------- General Tab\n\t\t\t// ----------------------------------------------\n\t\t\tUtilities.click_element(pro.getProperty(\"qaenable\"), driver);\n\t\t\t\n\t\t\tUtilities.enterTextNormalBox(productName, pro.getProperty(\"productName\"), driver);\n\t\t\tUtilities.enterTextNormalBox(productDes, pro.getProperty(\"productDes\"), driver);\n\t\t\tUtilities.enterTextInDropDown(\"NA\", pro.getProperty(\"sequenceformat\"), driver);\n\t\t\tUtilities.enterTextNormalBox(productid, pro.getProperty(\"productId\"), driver);\n\t\t\t\n\t\t\tcustom(driver); //FAISAL\n\t\t\t\n\t\t\t// if Batch\n\t\t\tif (productType.equalsIgnoreCase(\"BATCH\")) {\n\t\t\t\tUtilities.click_element(pro.getProperty(\"BatchCheck\"), driver);\n\t\t\t}\n\t\t\t// if Serial\n\t\t\tif (productType.equalsIgnoreCase(\"SERIAL\")) {\n\t\t\t\tUtilities.click_element(pro.getProperty(\"SerialCheck\"), driver);\n\t\t\t}\n\t\t\t// if BatchSerial\n\t\t\tif (productType.equalsIgnoreCase(\"BatchSerial\")) {\n\t\t\t\tUtilities.click_element(pro.getProperty(\"BatchCheck\"), driver);\n\t\t\t\tUtilities.click_element(pro.getProperty(\"SerialCheck\"), driver);\n\t\t\t}\n\n\t\t\t// ------------- Purchase Tab\n\t\t\t// ----------------------------------------------\n\t\t\tUtilities.HoverandClick(pro.getProperty(\"purchaseTab\"), driver);\n\t\t\tUtilities.enterTextandSelect(purchaseAccount, pro.getProperty(\"purchaseAccount\"), driver);\n\t\t\tUtilities.enterTextNormalBox(\"10\", pro.getProperty(\"initialPurchasePrice\"), driver);\n\n\t\t\t// ------------- Sales Tab\n\t\t\t// ----------------------------------------------\n\t\t\tUtilities.HoverandClick(pro.getProperty(\"salesTab\"), driver);\n\t\t\tUtilities.enterTextandSelect(salesAccount, pro.getProperty(\"salesAccount\"), driver);\n\t\t\tUtilities.enterTextNormalBox(\"20\", pro.getProperty(\"initialSalesPrice\"), driver);\n\n\t\t\t// ------------- Inventory Tab\n\t\t\t// ----------------------------------------------\n\t\t\tUtilities.HoverandClick(pro.getProperty(\"inventoryDataTab\"), driver);\n\t\t\tUtilities.enterTextandSelect(\"Unit\", pro.getProperty(\"umo\"), driver);\n\t\t\tUtilities.enterTextandSelect(\"DS - Default Store\", pro.getProperty(\"warehouse\"), driver);\n\t\t\tUtilities.enterTextandSelect(\"Default Location\", pro.getProperty(\"location\"), driver);\n\t\t\tWebElement countable = driver.findElement(By.xpath(pro.getProperty(\"countable\")));\n\t\t\tif (countable.isEnabled()) {\n\t\t\t\tif (!countable.isSelected()) {\n\t\t\t\t\tcountable.click();\n\t\t\t\t}\n\t\t\t\tWebElement cyclecountfrequency = driver.findElement(By.xpath(pro.getProperty(\"cyclecountfrequency\")));\n\t\t\t\tcyclecountfrequency.click();\n\t\t\t\tRobot r3 = new Robot();\n\t\t\t\tr3.keyPress(KeyEvent.VK_DOWN);\n\t\t\t\tr3.keyRelease(KeyEvent.VK_DOWN);\n\t\t\t\tThread.sleep(2000);\n\t\t\t\tList<WebElement> comboItems = driver.findElements(\n\t\t\t\t\t\tBy.cssSelector(\".x-combo-list[style*='visibility: visible;'] .x-combo-list-item\"));\n\t\t\t\tfor (int i = 0; i < comboItems.size(); i++) {\n\t\t\t\t\tWebElement item = comboItems.get(i);\n\t\t\t\t\tif (item.getText().equals(\"Daily\") || item.getText().equals(\"Weekly\")\n\t\t\t\t\t\t\t|| item.getText().equals(\"Fortnightly\") || item.getText().equals(\"Monthly\")) {\n\t\t\t\t\t\titem.click();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tUtilities.HoverandClick(pro.getProperty(\"saveButton\"), driver);\n\t\t\tUtilities.isElementGone(xpathOfLoading, 120, driver);\n\t\t\ttry {\n\t\t\t\tproductAfterSaveOKBtn(driver);\n\t\t\t} catch (Exception noOk) {\n\t\t\t\t// System.out.println(\"No Ok button\");\n\t\t\t}\n\n\t\t\tUtilities.click_element(pro.getProperty(\"closeProductReport\"), driver);\n\t\t\tUtilities.click_element(pro.getProperty(\"CloseMainProductTab\"), driver);\n\t\t\tSystem.out.println(\"********** Product [ \" + productType + \" ] with [ \" + productid\n\t\t\t\t\t+ \" ] Successfully created *************\");\n\t\t} catch (Exception Ex) {\n\t\t\tUtilities.handleError(Ex, driver);\n\t\t}\n\t}", "public void helperCreateInvoice(final CCCreateInvoiceInteractor.onDisplayDataFinishedListener listener, String\n item, String price, String quantity, String userID, Context context, String invoiceID){\n com.android.volley.RequestQueue CreateInvoiceRequestQueue = Volley.newRequestQueue(context);\n com.android.volley.RequestQueue GetCurrentIDRequestQueue = Volley.newRequestQueue(context);\n String url = \"https://us-central1-csc207-tli.cloudfunctions.net/create_invoice?userid=\" + userID + \"&invoiceid=invoice\"\n + invoiceID+ \"&item=\" + item + \"&quantity=\" + quantity + \"&price=\" + price;\n StringRequest CreateInvoiceStringRequest = new StringRequest(Request.Method.GET, url, new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n listener.onCreateInvoiceSuccess();\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n }\n });\n CreateInvoiceRequestQueue.add(CreateInvoiceStringRequest);\n\n }", "private void sendDeliveryRequest(Product product) {\n ACLMessage cfp = new ACLMessage(ACLMessage.CFP);\n try {\n cfp.setContentObject(product);\n } catch (IOException e) {\n System.err.println(\"[STORE] Couldn't set content Object in CFP message with product: \" + product.toString());\n return;\n }\n\n graphicsDisplay.setGreen(\"Product\" + product.getId());\n addBehaviour(new FIPAContractNetInit(this, cfp, couriers));\n }", "public long addProductShoppingList(String name, int quality, double quantity, String unit) {\n long pid = addNewProduct(name);\n Cursor c = null;\n\n SQLiteDatabase db = DBHelper.getWritableDatabase();\n if (pid == -1) {\n\n String[] args = new String[1];\n args[0] = name;\n c = db.rawQuery(\"SELECT * FROM Products WHERE pname=?\", args);\n c.moveToFirst();\n while (!c.isAfterLast()) {\n pid=c.getInt(c.getColumnIndex(\"_id\"));\n c.moveToNext();\n }\n }\n ContentValues cv = new ContentValues();\n cv.put(DBHelper.SHOPPINGLIST_PID, (int) pid);\n cv.put(DBHelper.SHOPPINGLIST_QUALITY, quality);\n cv.put(DBHelper.SHOPPINGLIST_QUANTITY, quantity);\n cv.put(DBHelper.SHOPPINGLIST_UNIT, unit);\n\n long _id = db.insert(DBHelper.TABLE_SHOPPINGLIST, null, cv);\n\n if (_id > 0) {\n Log.d(DatabaseHelper.class.getName(), \"AddProductShoppingList: _id:\" + String.valueOf(_id) + \", pid:\" + String.valueOf(pid) + \", pname:\" + name);\n } else {\n Log.d(DatabaseHelper.class.getName(), \"AddProductShoppingList: pname:'\" + name + \"', But already in ShoppingList table.\");\n }\n db.close();\n return _id;\n }" ]
[ "0.75194657", "0.6464331", "0.6384558", "0.6275801", "0.6201357", "0.6198487", "0.6131159", "0.6120511", "0.60154665", "0.60154665", "0.5921911", "0.5789084", "0.5750271", "0.5741367", "0.57352716", "0.57272494", "0.57070935", "0.5706463", "0.56982374", "0.5688221", "0.5687612", "0.56083065", "0.5594546", "0.5593706", "0.5592488", "0.5589207", "0.5577146", "0.5532063", "0.5515698", "0.55151355", "0.55097944", "0.55076045", "0.549204", "0.54728884", "0.54709554", "0.5464802", "0.5440562", "0.5440118", "0.5436262", "0.54296803", "0.54197276", "0.54191357", "0.5409378", "0.5403083", "0.540137", "0.5386552", "0.5382896", "0.5382581", "0.5381986", "0.5381414", "0.5362542", "0.53592944", "0.534893", "0.53449446", "0.5341109", "0.5330666", "0.53102005", "0.53088695", "0.5306892", "0.5306887", "0.5288219", "0.52877325", "0.52430433", "0.5239692", "0.5236726", "0.5236615", "0.52337974", "0.5232532", "0.52223814", "0.52192014", "0.52152944", "0.5205072", "0.5203487", "0.5202818", "0.52020293", "0.5201807", "0.52007186", "0.5199265", "0.519859", "0.51975465", "0.5194892", "0.5189398", "0.51877195", "0.51842475", "0.51836455", "0.5171132", "0.517088", "0.5168349", "0.5168058", "0.5167706", "0.5160179", "0.51554215", "0.51510626", "0.5150786", "0.5146725", "0.5143956", "0.51387835", "0.51382476", "0.51375103", "0.5136818", "0.51349235" ]
0.0
-1
Before starting background thread Show Progress Dialog
@Override protected void onPreExecute() { super.onPreExecute(); pDialog = new ProgressDialog(MainActivity.this); pDialog.setMessage("Adding into the Database.."); pDialog.setIndeterminate(false); pDialog.setCancelable(true); pDialog.show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void showProgress() {\n\t\twaitDialog(true);\n\t}", "@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tprogressDialog = new ProgressDialog(context);\n\t\t\t\t\t\t\tprogressDialog.setCancelable(true);\n\t\t\t\t\t\t\tprogressDialog.setMessage(context.getString(R.string.initialising_runtime));\n\t\t\t\t\t\t\tprogressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\n\t\t\t\t\t\t\tprogressDialog.setIndeterminate(true);\n\t\t\t\t\t\t\tprogressDialog.show();\n\t\t\t\t\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t progressDialog = new AutoTuningInitDialog(mChannelActivity, R.style.dialog);\n\t\t\tprogressDialog.show();\t\t\n\t\t\tsuper.onPreExecute();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tshowDialog(progress_bar_type);\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tshowDialog(progress_bar_type);\n\t\t}", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tmpProgress = ProgressDialog.show(mContext,\n\t\t\t\t\t\t\t\"Downloading data\",\n\t\t\t\t\t\t\t\"Please wait for a moment...\");\n\t\t\t\t}", "private void showDialog() {\n if (!progressDialog.isShowing())\n progressDialog.show();\n }", "@Override\n protected void onPreExecute() {\n\n dialog = new ProgressDialog(context);\n dialog.setTitle(\"Loading Contents\");\n dialog.setMessage(\"Doing something interesting ...\");\n dialog.setIndeterminate(true);\n dialog.setCancelable(false);\n dialog.show();\n }", "public void onPreExecute() {\n progressDialog.show();\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tprogressDialog.show();\n\t\t\tprogressDialog.setMessage(\"Contacting server for sharing...\");\n\t\t}", "@Override\n\t\t \tprotected void onPreExecute() {\n\t\t try {\n\t\t\t \tpd=new ProgressDialog(Styles_Dialog.this);\n\t\t\t \tpd.setMessage(\"Loading\");\n\t\t\t \tpd.show();\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t}\n\t\t \t\n\t\t \t}", "private void progressStuff() {\n cd = new ConnectionDetector(getActivity());\n parser = new JSONParser();\n progress = new ProgressDialog(getActivity());\n progress.setMessage(getResources().getString(R.string.loading));\n progress.setIndeterminate(false);\n progress.setCancelable(true);\n // progress.show();\n }", "@Override\n protected void onPreExecute() {\n\n progressDialog = new SafeProgressDialog(PlanningSettings.this);\n progressDialog.setMessage(\"Creating...\");\n progressDialog.setIndeterminate(false);\n progressDialog.setCancelable(true);\n progressDialog.show();\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute() {\n progress = new ProgressDialog(hostContext);\n progress.setMessage(\"Wait while books are being downloaded...\");\n progress.setProgressStyle(ProgressDialog.STYLE_SPINNER);\n progress.show();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n pDialog = new ProgressDialog(Chat.this);\n pDialog.setMessage(\"Getting thread...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(true);\n pDialog.show();\n\n }", "private void initialView(){\n // 进度条还有二级进度条的那种形式,这里就不演示了\n final ProgressDialog dialog = new ProgressDialog(this);\n dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);// 设置水平进度条\n dialog.setCancelable(true);// 设置是否可以通过点击Back键取消\n dialog.setCanceledOnTouchOutside(false);// 设置在点击Dialog外是否取消Dialog进度条\n\n dialog.setTitle(\"正在下载\");\n dialog.setMax(100);\n dialog.setMessage(\"请等待\");\n dialog.show();\n\n\n /*ThreadA t1 = new ThreadA(\"t1\");\n\n synchronized (t1){\n t1.start();\n while(!isExists()){\n try{\n t1.wait();\n }catch (Exception e){\n e.printStackTrace();\n }\n }\n }*/\n\n\n new Thread(new Runnable() {\n @Override\n public void run() {\n // TODO Auto-generated method stub\n try {\n Thread.sleep(25000);\n dialog.cancel();\n Intent intent=new Intent(ProgressActivity.this,SudokuActivity.class);\n startActivity(intent);\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n }).start();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n\n pd=new ProgressDialog(c);\n pd.setTitle(\"Send\");\n pd.setMessage(\"Sending..Please wait\");\n pd.show();\n }", "@Override\n protected void onPreExecute() {\n progress = ProgressDialog.show(ModeSelection.this, \"Connecting...\", \"Please wait!!!\"); //show a progress dialog\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tprogressDialog = ProgressDialog.show(MainActivity.this, \"\",\n\t\t\t\t\t\"Loading...\");\n\t\t}", "@Override\n protected void onPreExecute() {\n String msg = \"Please Wait....\";\n cd.showProgressDialog(msg);\n\n }", "@Override\n\t protected void onPreExecute() {\n\t super.onPreExecute();\n\t \n\t progressDialog= new Dialog(ListKotaActivity.this);\n\t progressDialog.getWindow().setBackgroundDrawableResource(android.R.color.transparent);\n\t progressDialog.setContentView(R.layout.progress);\n\t progressDialog.setCancelable(false);\n\t progressDialog.show();\t \n\t }", "private void showSpinerProgress() {\n dialog.setMessage(\"Loading\");\n//\n// dialog.setButton(ProgressDialog.BUTTON_POSITIVE, \"YES\", new DialogInterface.OnClickListener() {\n// @Override\n// public void onClick(DialogInterface dialog, int which) {\n//\n// }\n// });\n\n //thiet lap k the huy - co the huy\n dialog.setCancelable(false);\n\n //show dialog\n dialog.show();\n Timer timer = new Timer();\n timer.schedule(new TimerTask() {\n @Override\n public void run() {\n dialog.dismiss();\n }\n }, 20000000);\n }", "@Override\r\n protected void onPreExecute() {\n if( progressDialog == null ) {\r\n progressDialog = ProgressDialog.show( context, context.getString(R.string.pref_sync_callings_now_title),\"\");\r\n }\r\n }", "@Override\r\n\tprotected void onPreExecute()\r\n\t{\r\n\t\tprogress = new ProgressDialog(ctx);\r\n\t\tprogress.setTitle(\"Retrieving Parking Information\");\r\n\t\tprogress.setMessage(\"Please wait.\");\r\n\t\tprogress.setProgressStyle(ProgressDialog.STYLE_SPINNER);\r\n\t\tprogress.show();\r\n\t\tsuper.onPreExecute();\r\n\t}", "public void showProgressDialog() {\n showProgressDialog(null);\n }", "protected void onPreExecute() {\r\n \tdialog = new ProgressDialog(context);\r\n \t\tdialog.setMessage(\"Loading...\");\r\n \t\tdialog.show();\r\n }", "@Override\n protected void onPreExecute() {\n\n dialog = new ProgressDialog(AddFoodAdvActivity.this);\n dialog.setMessage(\"Please Wait...!\");\n dialog.show();\n super.onPreExecute();\n }", "@Override\n\tprotected void onPreExecute() {\n\t\t\n\t\t pDialog = new ProgressDialog(context);\n\t\t\ttry{\n\t\t\t\tthis.pDialog.setMessage(\"Please wait ...\");\n\t\t this.pDialog.setIndeterminateDrawable(context.getResources().getDrawable(R.drawable.red_progress));\n\t\t this.pDialog.setIndeterminate(false);\n\t\t this.pDialog.setCancelable(false);\n\t\t this.pDialog.show();\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\te.getMessage();\n\t\t\t}\n\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n\n /* mProgress.setMessage(\"Please Wait\");\n mProgress.setCancelable(false);\n mProgress.show();*/\n String msg = \"Please Wait....\";\n cd.showProgressDialog(msg);\n }", "private void displayProgressDialog() {\n pDialog.setMessage(\"Logging in.. Please wait...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n showProgressDialog(R.string.please_wait);\n //showDialog(progress_bar_type);\n }", "@Override\n\t\tprotected void onPreExecute()\n\t\t{\n\t\t\tprogressDialog = ProgressDialog.show(MainActivity.this, \"Wait\", \"Serving...\");\n\t\t\t\n\t\t}", "@Override\n protected void onPreExecute() {\n\n\n dialog = new ProgressDialog(MainArea.this);\n dialog.setTitle(\"Loading Results\");\n dialog.setMessage(\"Please Wait Results Are Loading For You....\");\n dialog.setCanceledOnTouchOutside(false);\n dialog.show();\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute(){\n progress = ProgressDialog.show(ledControl.this, \"Connecting...\", \"Please wait!!!\");\n }", "@Override\n protected void onPreExecute() {\n\n this.dialog.setMessage(\"Please wait ...\");\n this.dialog.show();\n }", "@Override\n\t\t\tprotected void onPreExecute() {\n\t \t\tprogressBar = new ProgressDialog(SiQuoiaLeaderboardActivity.this);\n\t\t\t\tprogressBar.setIndeterminate(true);\n\t\t\t\tprogressBar.setCancelable(false);\n\t\t\t\tprogressBar.setMessage(\"Getting Leaderboard.\");\n\t\t\t\tprogressBar.show();\t\t\t\n\t\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\ttoggleShowProgressDialog(true);\n\t\t}", "private void displayProgressDialog() {\n pDialog.setMessage(\"Logging In.. Please wait...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tshowLoadingProgressDialog();\n\t\t}", "@Override\n protected void onPreExecute() {\n this.progressDialog.setMessage(\"Adding workouts...\");\n this.progressDialog.show();\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\taProgressDialog = new ProgressDialog(TargetProducts.this);\n\t\t\taProgressDialog.setMessage(\"Loading Report...\");\n\t\t\taProgressDialog.setIndeterminate(true);\n\t\t\taProgressDialog.setCanceledOnTouchOutside(true);\n\t\t\taProgressDialog.show();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\taProgressDialog = new ProgressDialog(TargetProducts.this);\n\t\t\taProgressDialog.setMessage(\"Loading Report...\");\n\t\t\taProgressDialog.setIndeterminate(true);\n\t\t\taProgressDialog.setCanceledOnTouchOutside(true);\n\t\t\taProgressDialog.show();\n\t\t}", "@Override\n protected void onPreExecute() {\n //progress = ProgressDialog.show(ledControl.this, \"Connecting...\", \"Please wait!!!\"); //show a progress dialog\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n pd = ProgressDialog.show(_contexto, \"Aviso\", \"Actualizando ticket \" + numTicket + \" ...\", true);\n }", "private void showProgressDialog() {\n mProgressDialog = AppDialog.showProgressDialog(this);\n mProgressDialog.show();\n }", "@Override\n\tprotected void onPreExecute() {\n\t\tsuper.onPreExecute();\n\n\t\tprogress = ProgressDialog.show(act, \"\", \"Please wait ...\", true);\n\t\talert = new AlertDialog.Builder(act);\n\n\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tpdia = new ProgressDialog(mContext);\n\t\t\tpdia.setMessage(\"Loading...\");\n\t\t\tpdia.show();\n\t\t\tsuper.onPreExecute();\n\t\t}", "@Override\n public void showProgressSync() {\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\ttry {\n\t\t\t\tdialog.setIndeterminate(false);\n\t\t\t\tdialog.setMax(100);\n\t\t\t\tdialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\n\t\t\t\tdialog.setCancelable(false);\n\t\t\t\tdialog.show();\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "@Override\r\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\r\n\t\t\tpDialog = new ProgressDialog(SingleRecord.this);\r\n\t\t\tpDialog.setMessage(\"downloading...\");\r\n\t\t\tpDialog.setIndeterminate(false);\r\n\t\t\tpDialog.setCancelable(true);\r\n\t\t\r\n\t\t\tpDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\r\n\t\t\tpDialog.show();\r\n\t\t\tpDialog.getWindow().setGravity(Gravity.BOTTOM);\r\n\t\t}", "@Override\n protected void onPreExecute() {\n asyncDialog.setMessage(\"Loading...\");\n //show dialog\n asyncDialog.show();\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute() {\n pDialog = new ProgressDialog(getActivity());\n pDialog.setMessage(\"Please wait...\");\n pDialog.setCancelable(false);\n pDialog.setIndeterminate(false);\n pDialog.setMax(100);\n pDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\n pDialog.show();\n// progressBar.setVisibility(View.VISIBLE);\n// progressBar.setProgress(0);\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute() {\n Log.e(TAG, \"onPreExecute\");\n\n // showing the ProgressBar \n //simpleWaitDialog = ProgressDialog.show(settingslistactivity.this, \"loading records from datastore...\", \"excecuting task...\");\n //simpleWaitDialog.setCancelable(true);\n\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute() {\n Log.e(TAG, \"onPreExecute\");\n\n // showing the ProgressBar \n //simpleWaitDialog = ProgressDialog.show(settingslistactivity.this, \"loading records from datastore...\", \"excecuting task...\");\n //simpleWaitDialog.setCancelable(true);\n\n super.onPreExecute();\n }", "@Override\n protected void onPreExecute()\n {\n progress = ProgressDialog.show(ControlActivity.this, \"Connecting...\", \"Please wait!!!\"); //show a progress dialog\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tmyDialog = ProgressDialog.show\n\t\t\t\t\t(\n\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\"Loading...\",\n\t\t\t\t\t\t\t\"Please Wait\",\n\t\t\t\t\t\t\ttrue\n\t\t\t\t\t\t\t);\n\t\t}", "@Override\n protected void onPreExecute() {\n progress = ProgressDialog.show(getContext(), \"Connecting...\", \"Please wait!!!\"); //show a progress dialog\n }", "@Override\n\t\tprotected void onPreExecute()\n\t\t{\n\t\t\tsuper.onPreExecute();\n\t\t\tpDialog = new ProgressDialog(MainActivity.this);\n\t\t\tpDialog.setMessage(\"Loading....\");\n\t\t\tpDialog.setCancelable(true);\n\t\t\tpDialog.show();\n\t\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n // Showing progress dialog\n pDialog = new ProgressDialog(thisContext);\n pDialog.setMessage(\"Please wait...\");\n pDialog.setCancelable(true);\n pDialog.show();\n\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n runOnUiThread(()->{\n pDialog = new ProgressDialog(ImageClassificationActivity.this);\n pDialog.setMessage(\"Initializing\");\n pDialog.setIndeterminate(false);\n pDialog.setMax(100);\n pDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\n pDialog.setCancelable(true);\n pDialog.setOnCancelListener(this);\n pDialog.show();\n });\n }", "@Override\n public void showProgressBar() {\n MainActivity.sInstance.showProgressBar();\n }", "@Override\n protected void onPreExecute() {\n if (mProgressDialog != null) {\n mProgressDialog.show();\n }\n }", "void showProgressDialog();", "void showProgressDialog();", "protected void onPreExecute() {\n // Display the progress dialog on async task start\n // mProgressDialog.show();\n }", "@Override\n protected void onPreExecute() {\n Utils.showProcessingDialog(_context);\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n this.dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);\n this.dialog.setCancelable(false);\n this.dialog.show();\n }", "@Override\n public void run() {\n if (!AddClient.this.isFinishing() && progressDialog != null) {\n progressDialog.dismiss();\n }\n }", "private void showDialog(){\n progress = new ProgressDialog(this);\n progress.setTitle(getString(R.string.progress_dialog_loading));\n progress.setMessage(getString(R.string.progress_dialog_authenticating_with_firebase));\n progress.setCancelable(false);\n progress.show();\n }", "public void startProgressBar(View v) {\r\n\t\tshowDialog(1);\r\n\t\tnew Thread(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (setValues()) {\r\n\t\t\t\t\t\tdismissDialog(1);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tdismissDialog(1);\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tSystem.out.println(\"Found an exception: \" + e);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}).start();\r\n\t}", "@Override\n protected void onPreExecute() {\n this.progressDialog.setMessage(\"Retrieving workouts list...\");\n this.progressDialog.show();\n }", "public void showProgressDialog() {\n try {\n if (progressDialog == null) {\n try {\n progressDialog = new ProgressDialog(self);\n progressDialog.show();\n progressDialog.setCancelable(false);\n } catch (Exception e) {\n progressDialog = new ProgressDialog(self.getParent());\n progressDialog.show();\n progressDialog.setCancelable(false);\n e.printStackTrace();\n }\n } else {\n if (!progressDialog.isShowing())\n progressDialog.show();\n }\n } catch (Exception e) {\n progressDialog = new ProgressDialog(self);\n progressDialog.show();\n progressDialog.setCancelable(false);\n e.printStackTrace();\n }\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tdialog = new ProgressDialog(BookingConfirmationScreen.this);\n\t\t\tdialog.setIndeterminate(false);\n\t\t\tdialog.setCancelable(true);\n\t\t\tdialog.show();\n\n\t\t}", "@Override\n\tprotected void onPreExecute() {\n\t\tUtils.showProcessingDialog(_context);\n\t}", "void showProgress();", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tpDialog = new ProgressDialog(SettingServerActivity.this);\n\t\t\tpDialog.setMessage(\"Please wait...\");\n\t\t\tpDialog.setIndeterminate(false);\n\t\t\tpDialog.setCancelable(false);\n\t\t\tpDialog.show();\n\t\t}", "@Override\n protected void onPreExecute() {\n pDialog = new ProgressDialog(homeActivity);\n pDialog.setMessage(\"Retrieving Details... \");\n // pDialog.setMax(16);\n pDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);\n\n pDialog.setCancelable(false);\n pDialog.show();\n\n\n }", "@Override\n\t\tprotected void onPreExecute() \n\t\t{\n\t\t\t\n\t\t\tdialog = new ProgressDialog(AddFoodAdvActivity.this);\n\t\t\tdialog.setMessage(\"Loading...\");\n\t\t\tdialog.show();\n\t\t\tsuper.onPreExecute();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\t\n\t\t\tdialog = new ProgressDialog(BookingConfirmationScreen.this);\n\t\t\tdialog.setIndeterminate(false);\n\t\t\tdialog.setCancelable(true);\n\t\t\tdialog.show();\n\t\t\t\n\t\t\t\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\n\t\t\tsuper.onPreExecute();\n\t\t\td = new ProgressDialog(SensorActivity.this);\n\t\t\td.setTitle(\"Loading\");\n\t\t\td.show();\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tprogressDialog = ProgressDialogTripg.show(OrderPnrMain.this, null, null);\n\t\t}", "private void showProgressDialog()\n {\n if (showProgressDialog && !getStatus().equals(AsyncTask.Status.FINISHED)) {\n //show the dialog if valid activity. If the OS is lollipop or higher then set the theme.\n //dialog = ProgressDialog.show(activity, \"In progress..\", message, true);\n if (Build.VERSION.SDK_INT >= 21) {\n dialog = new ProgressDialog(activity, R.style.progressoAlertDialogStyle);\n dialog.setTitle(\"In progress..\");\n dialog.setMessage(message);\n dialog.setIndeterminate(true);\n dialog.show();\n }\n else {\n dialog = ProgressDialog.show(activity, \"In progress..\", message, true);\n }\n\n dialog.setCancelable(false);\n } \n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tpDialog = new ProgressDialog(Tracking.this);\n\t\t\tpDialog.setMessage(\"Mencari History Proses ... !\");\n\t\t\tpDialog.setIndeterminate(false);\n\t\t\tpDialog.setCancelable(true);\n\t\t\tpDialog.show();\n\t\t}", "public void showProgressDialog() {\r\n progressDialog.setMessage(getResources().getString(R.string.text_loading));\r\n progressDialog.setCancelable(false);\r\n progressDialog.show();\r\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\n\t\t\t((Activity) mContext).runOnUiThread(new Runnable() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tmpProgress = ProgressDialog.show(mContext,\n\t\t\t\t\t\t\t\"Downloading data\",\n\t\t\t\t\t\t\t\"Please wait for a moment...\");\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\tprogressDialog = ProgressDialog.show(SlyThemesActivity.this, \"\",Constants.PROCESSING_REQUEST);\n\t\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tsuper.onPreExecute();\n\t\t\t//progreso.setVisibility(View.VISIBLE);\n\t\t\tsetProgressBarIndeterminateVisibility(true);\n\t\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n\n /*mProgress.setMessage(\"Receiving.....\");\n mProgress.show();\n mProgress.setCancelable(false);*/\n }", "@Override\n\tprotected void onPreExecute() {\n\t\tlog(\"onPreExecute\");\n\t\t\n\t\tprogressDialog = new ProgressDialog(mContext);\n\t\t\n\t\tprogressDialog.setTitle(mTitle);\n\t\tprogressDialog.setMessage(mMessage);\n\t\tprogressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);\n\t\tprogressDialog.setCancelable(true);\n\t\tprogressDialog.setOnCancelListener(this);\n\t\tprogressDialog.show();\n\t}", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n pDialog = new ProgressDialog(MainActivity.this);\n pDialog.setMessage(\"Processing Request...\");\n pDialog.setIndeterminate(false);\n pDialog.setCancelable(false);\n pDialog.show();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n progressDialog = new ProgressDialog(context);\n progressDialog.setCanceledOnTouchOutside(false);\n progressDialog.setTitle(\"Connecting to server\");\n progressDialog.setMessage(\"Please wait...\");\n progressDialog.show();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n progressDialog = new ProgressDialog(context);\n progressDialog.setCanceledOnTouchOutside(false);\n progressDialog.setTitle(\"Connecting to server\");\n progressDialog.setMessage(\"Please wait...\");\n progressDialog.show();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n pDialog = new ProgressDialog(Integrationforkhalti.this);\n pDialog.setMessage(\"Loading Please wait...\");\n pDialog.setIndeterminate(true);\n pDialog.setCancelable(false);\n pDialog.show();\n }", "@Override\n public void showProgress() {\n\n }", "private void startProgressBar() {\n\t b_buscar.setVisibility(View.GONE);\n\t // wi_progreso.setVisibility(View.VISIBLE);\n\t ly_progreso.setVisibility(View.VISIBLE);\n\t}", "protected void onPreExecute(){\n // Display the progress dialog on async task start\n // mProgressDialog.show();\n }", "@Override\r\n \tprotected void onPreExecute() {\n \t\tsuper.onPreExecute();\r\n \t\tpdia = new ProgressDialog(Regmember.this);\r\n \t\tpdia.setCanceledOnTouchOutside(false);\r\n pdia.setMessage(\"Dhiraj rakh..........\");\r\n pdia.show(); \r\n \t}", "@Override\n protected void onPreExecute() {\n progressDialog= new ProgressDialog(getActivity());\n progressDialog.setMessage(\"loading..\");\n progressDialog.setIndeterminate(false);\n progressDialog.show();\n }", "@Override\n \t\tprotected void onPreExecute() \n \t\t{\n \t\t\t//Create a new progress dialog\n \t\t\tprogressDialog = new ProgressDialog(MainActivity.this);\n \t\t\t//Set the progress dialog to display a horizontal progress bar \n \t\t\tprogressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);\n \t\t\t//Set the dialog title to 'Loading...'\n \t\t\tprogressDialog.setTitle(\"Loading Game...\");\n \t\t\t//Set the dialog message to 'Loading application View, please wait...'\n \t\t\tprogressDialog.setMessage(\"Please wait...\");\n \t\t\t//This dialog can't be canceled by pressing the back key\n \t\t\tprogressDialog.setCancelable(false);\n \t\t\t//This dialog isn't indeterminate\n \t\t\tprogressDialog.setIndeterminate(false);\n \t\t\t//The maximum number of items is 100\n \t\t\tprogressDialog.setMax(100);\n \t\t\t//Set the current progress to zero\n \t\t\tprogressDialog.setProgress(0);\n \t\t\t//Display the progress dialog\n \t\t\tprogressDialog.show();\n \t\t}", "@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t\tsuper.onPreExecute();\n\t\t\t\tprogressDialog1 = ProgressDialogTripg.show(HotelOrderYuDingMain.this, null, null);\n\t\t\t}", "@Override\n protected void onPreExecute() {\n dialog= ProgressDialog.show(DetailsActivity.this, \"Please wait...\",\"Your connection speed is bad\", true);\n dialog.setCancelable(true);\n dialog.setOnCancelListener(new DialogInterface.OnCancelListener(){\n public void onCancel(DialogInterface dialog) {\n task.cancel(true);\n finish();\n }\n });\n }" ]
[ "0.78512526", "0.7774337", "0.7758762", "0.76871306", "0.76871306", "0.7604463", "0.7545033", "0.7539513", "0.7538019", "0.75282806", "0.74861383", "0.7477129", "0.747349", "0.74352926", "0.7418026", "0.7408039", "0.73935735", "0.7377503", "0.73673785", "0.7359571", "0.73526436", "0.7332357", "0.73289657", "0.731627", "0.73152995", "0.7314302", "0.73137367", "0.72820145", "0.72778946", "0.72762465", "0.72594035", "0.7258752", "0.7250861", "0.7242408", "0.7232981", "0.7232091", "0.72247714", "0.7220413", "0.721919", "0.721305", "0.7201831", "0.7201831", "0.7187373", "0.71847063", "0.7177375", "0.7169972", "0.71641135", "0.7140574", "0.71378386", "0.7129769", "0.7119069", "0.7111251", "0.71092474", "0.71092474", "0.71065384", "0.7100043", "0.7096493", "0.70952696", "0.70929605", "0.7090306", "0.70878136", "0.70779794", "0.70701045", "0.70701045", "0.7068987", "0.70678174", "0.70623904", "0.7056522", "0.70507514", "0.7037732", "0.70355725", "0.70355135", "0.7033447", "0.70310694", "0.70274276", "0.7022032", "0.70200384", "0.70169705", "0.7016838", "0.7015711", "0.70155686", "0.6998835", "0.699664", "0.69952315", "0.6993499", "0.69926816", "0.6989631", "0.69861704", "0.69854826", "0.6984836", "0.6980444", "0.6980444", "0.6978438", "0.6975526", "0.6972514", "0.6972093", "0.6965885", "0.6962745", "0.69590986", "0.6957537", "0.69554996" ]
0.0
-1
After completing background task Dismiss the progress dialog
protected void onPostExecute(String file_url) { // dismiss the dialog once done pDialog.dismiss(); //Intent i = new Intent(getApplicationContext(), ShowDatabase.class); //startActivity(i); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\t protected void onPostExecute(Void result)\n\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tif (progressDialog != null)\n\t\t\t\t\t\t\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t\t }", "@Override\n\t\t\t protected void onPostExecute(Void result)\n\t\t\t {\n\t\t\t\t\t\t\t\t\tif (progressDialog != null)\n\t\t\t\t\t\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t }", "@Override\n \t\tprotected void onPostExecute(Void result) \n \t\t{\n\t\t\t//close the progress dialog\n\t\t\tprogressDialog.dismiss();\n\t\t\tprogressDialog = null;\n \t\t}", "private void dismissProgress() {\n \n \t\tnew Handler(getMainLooper()).post(new Runnable() {\n \n \t\t\t@Override\n \t\t\tpublic void run() {\n \t\t\t\tif (progressDialog == null)\n \t\t\t\t\tprogressDialog = (ProgressDialogFragment) getSupportFragmentManager()\n \t\t\t\t\t\t\t.findFragmentByTag(\n \t\t\t\t\t\t\t\t\tProgressDialogFragment.FRAGMENT_TAG);\n \n \t\t\t\tif (progressDialog != null && progressDialog.getShowsDialog()) {\n \t\t\t\t\tprogressDialog.dismiss();\n \n \t\t\t\t\tprogressDialog = null;\n \t\t\t\t}\n \t\t\t}\n \t\t});\n \t}", "public void run() {\n progressDialog.dismiss();\n }", "public void run() {\n progressDialog.dismiss();\n }", "public void offProgressDialog(){\n if(dialogProgresIndeterminate != null && dialogProgresIndeterminate.isShowing()){\n dialogProgresIndeterminate.dismiss();\n }\n }", "@Override\n\tprotected void onCancelled(BackgroundTaskResult result)\n\t{\n\t\ttaskCompleted = true;\n\t\tdismissProgressDialog();\n\t\tnotifyTaskCancelled(result);\n\t}", "@Override\n protected void onPostExecute(String file_url) {\n dismissDialog(progress_bar_type);\n //pDialog.dismiss();\n }", "@Override\n protected void onPostExecute(BackgroundTaskResult result)\n {\n taskCompleted = true;\n dismissProgressDialog();\n notifyTaskCompletion(result);\n }", "@Override\n protected void onPreExecute() {\n dialog= ProgressDialog.show(DetailsActivity.this, \"Please wait...\",\"Your connection speed is bad\", true);\n dialog.setCancelable(true);\n dialog.setOnCancelListener(new DialogInterface.OnCancelListener(){\n public void onCancel(DialogInterface dialog) {\n task.cancel(true);\n finish();\n }\n });\n }", "@Override\r\n protected void onPostExecute(Void result) {\n mProgressDialog.dismiss();\r\n }", "@Override\n protected void onPostExecute(String temp) {\n\n progressDialog.dismiss();\n }", "private void dismissDialog() {\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n }", "private void dismissProgressIndication() {\n if (mProgressDialog != null && mProgressDialog.isShowing()) {\n try{\n mProgressDialog.dismiss(); // safe even if already dismissed\n }catch(Exception e){\n Log.i(TAG, \"dismiss exception: \" + e);\t\n }\n mProgressDialog = null;\n }\n }", "void dismissProgressDialog();", "void dismissProgressDialog();", "void dismissProgressDialog();", "@Override\n public void onComplete(@NonNull Task<Void> task) {\n if (progressDialog.isShowing()) {\n progressDialog.dismiss();\n }\n\n // Finish this activity.\n finish();\n\n }", "public void dismissProgressDialog() {\r\n if (progressDialog.isShowing()) {\r\n progressDialog.dismiss();\r\n }\r\n }", "public void dismissProgress() {\n if (mProgressDialog != null) {\n mProgressDialog.dismiss();\n mProgressDialog = null;\n }\n }", "private void dismissProgressDialog()\n {\n \tif (null != dialog && dialog.isShowing()) {\n \t\tdialog.dismiss();\n \t}\n }", "@Override\r\n\t\t\tpublic void onCancelledDoInUI(String result) {\n\t\t\t\ttry {\r\n\t\t\t\t\tMyProgressDialog.Dismiss();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t\tLog.i(\"it is cancle error\", e.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void onCancelledDoInUI(String result) {\n\t\t\t\ttry {\r\n\t\t\t\t\tMyProgressDialog.Dismiss();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t\tLog.i(\"it is cancle error\", e.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}", "@Override\r\n protected void onPostExecute(String message) {\n this.progressDialog.dismiss();\r\n Toast.makeText(getApplicationContext(),\r\n message, Toast.LENGTH_LONG).show();\r\n }", "public void dissMissDialog(){\r\n if (dialog != null && dialog.isShowing()\r\n && dialog.getContext() != null) {\r\n try {\r\n dialog.dismiss();\r\n\r\n if(mCallback != null){\r\n mCallback.onProgressDissmiss();\r\n }\r\n\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "public void dismissProgressDialog(){\n if(progressDialog != null)\n progressDialog.dismiss();\n }", "@Override\r\n\tprotected void onPostExecute(String result)\r\n\t{\r\n\t\tprogress.dismiss();\r\n\t\tsuper.onPostExecute(result);\r\n\t}", "@Override\n\t\tprotected void onPostExecute(Void result) {\n\t\t\td.dismiss();\n\t\t}", "void dismissProgressLoading() {\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n }", "@Override\n protected void onPostExecute(Void result) {\n // This is where we would process the results if needed.\n this.progressDialog.dismiss();\n }", "private void dismissProgressDialog() {\n if (mProgressDialog != null && mProgressDialog.isShowing()) {\n mProgressDialog.dismiss();\n }\n }", "protected void onStop() { //멈추었을때 다이어로그를 제거해주는 메서드\n super.onStop();\n if (progressDialog != null)\n progressDialog.dismiss(); //다이어로그가 켜져있을경우 (!null) 종료시켜준다\n }", "public void dismissDialog(){\n\t if(pd != null){\n\t\t pd_progress = pd.getProgress();\n\t\t pd.dismiss();\n\t }\n }", "@Override\n protected void onPreExecute() {\n pd = ProgressDialog. show(Evento.this, \"Eliminar Evento\", \"ESPERE UN MOMENTO\");\n pd.setCancelable( false);\n }", "@Override\n public void run() {\n if (!AddClient.this.isFinishing() && progressDialog != null) {\n progressDialog.dismiss();\n }\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n // dismiss the progress dialog\n MyTask.this.cancel(true);\n finish();\n pDialog.dismiss();\n // Tell the system about cancellation\n\n }", "public void run() {\n dialog.dismiss();\n }", "public void run() {\n dialog.dismiss();\n }", "@Override\n protected void onPreExecute()\n {\n taskCompleted = false;\n\n //display the progress dialog\n showProgressDialog();\n }", "@Override\n protected void onPreExecute() {\n String msg = \"Please Wait....\";\n cd.showProgressDialog(msg);\n\n }", "@Override\n\t\t\tprotected void onPostExecute(JSONObject result) {\n\t\t\t\tsuper.onPostExecute(result);\n\t\t\t\t\n\t\t\t\tmProgressDialog.dismiss();\n\t\t\t\t\n\t\t\t}", "public void onPreExecute() {\n progressDialog.show();\n }", "@Override\r\n public void run() {\n dialog.dismiss();\r\n }", "@Override\n\t\t\tprotected void onPostExecute(JSONObject result) {\n\t\t\t\tsuper.onPostExecute(result);\n\t\t\t\tmProgressDialog.dismiss();\n\t\t\t}", "public void hideProgressDialog() {\r\n\t\trunOnUiThread(new Runnable() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (progress.isShowing())\r\n\t\t\t\t\t\tprogress.dismiss();\r\n\t\t\t\t} catch (Throwable e) {\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}", "@Override\n public void onClick(DialogInterface dialog, int which) {\n task.cancel(true); //meng- cancel AsincTask\n pd.dismiss(); //menghilangkan progress dialog\n }", "@Override\n public void run() {\n pDialog.dismiss();\n finish();\n }", "public void dismissProgressDialog() {\n if (this.pDialog != null && this.pDialog.isShowing()) {\n this.pDialog.dismiss();\n }\n }", "@Override\n protected void onPreExecute() {\n Dialog.setMessage(\"Downloading Pending Delivery Status..\");\n Dialog.setCancelable(false);\n Dialog.show();\n }", "@Override\r\n\t\t\tpublic void onFinish() {\n\t\t\t\tsuper.onFinish();\r\n\t\t\t\tLog.i(\"finish\", \"finish\");\r\n\t\t\t\tdismissProgress();\r\n\t\t\t}", "public void dismissProgressDialog() {\n if (this.progressDialog != null) {\n this.progressDialog.dismiss();\n this.progressDialog = null;\n }\n }", "private void stopProgressDialog() {\n try {\n if (mProgressDialog != null && mProgressDialog.isShowing()) {\n mProgressDialog.dismiss();\n }\n } catch (Exception e) {\n LogWriter.err(e);\n } finally {\n mProgressDialog = null;\n }\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tDialog.setMessage(\"Downloading Delivery Data..\");\n\t\t\tDialog.setCancelable(false);\n\t\t\tDialog.show();\n\t\t}", "protected void dismissLoading()\n {\n progressBar.dismiss();\n }", "public void onDismissDialog() {\n Log.i(this, \"Dialog dismissed\");\n if (mInCallState == InCallState.NO_CALLS) {\n attemptFinishActivity();\n attemptCleanup();\n }\n }", "@Override\n\t\t\t\tpublic void onDismiss() {\n\t\t\t\t\tsleep_time.setText(\"无操作\" + getTimeOut(context.getContentResolver())\n\t\t\t\t\t\t\t+ \"后休眠\");\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}", "@Override\r\n\tprotected void onPostExecute(String result) {\r\n\t\tprogressDialog.setMessage(\"Finalizado!\");\r\n\t\t// fecha o dialog\r\n\t\tprogressDialog.dismiss();\r\n\t\tsuper.onPostExecute(result);\r\n\t}", "@Override\n protected void onPreExecute() {\n Dialog.setMessage(\"Downloading Outlet Inventory..\");\n Dialog.setCancelable(false);\n Dialog.show();\n }", "@Override\n protected void onPostExecute(Void aVoid) {\n super.onPostExecute(aVoid);\n progressDialog.dismiss();\n Toast.makeText(context,\"下载完成!\",Toast.LENGTH_SHORT).show();\n }", "protected void onPostExecute(Void aVoid) {\n progressDialog.dismiss();\n //Showing a success message\n Toast.makeText(context, R.string.toast_complete, Toast.LENGTH_SHORT).show();\n act.finish();\n }", "@Override\n protected void onPreExecute() {\n progressDialog.setProgress(0);\n //progressBar.setProgress(0);\n super.onPreExecute();\n }", "@Override\n\t\tprotected void onPostExecute(Object result) {\n\t\t\tView rootView =(View)result;\n\t\t\ttry {\n\t\t\t\tThread.sleep(400);\n\t\t\t} catch (InterruptedException e) {\t\t\t\t\n\t\t\t}\n\t\t\tsetContentView(rootView);\t\t\t\n\t\t\tgetProgressDialog().hide();\n\t\t}", "@Override\n\tpublic void hideProgress() {\n\t\twaitDialog(false);\n\t}", "@Override\n protected void onPreExecute() {\n\n this.dialog.setMessage(\"Please wait ...\");\n this.dialog.show();\n }", "private void hideDialog() {\n if (progressDialog.isShowing())\n progressDialog.dismiss();\n }", "@Override\n \tprotected final void onPostExecute(final Boolean result) {\n \t\tAndGMXsms.dialogString = null;\n \t\tif (AndGMXsms.dialog != null) {\n \t\t\ttry {\n \t\t\t\tAndGMXsms.dialog.dismiss();\n \t\t\t\tAndGMXsms.dialog = null;\n \t\t\t} catch (Exception e) {\n \t\t\t\t// nothing to do\n \t\t\t}\n \t\t}\n \t}", "@Override\n\tprotected void onPreExecute() {\n\t\t\n\t\t pDialog = new ProgressDialog(context);\n\t\t\ttry{\n\t\t\t\tthis.pDialog.setMessage(\"Please wait ...\");\n\t\t this.pDialog.setIndeterminateDrawable(context.getResources().getDrawable(R.drawable.red_progress));\n\t\t this.pDialog.setIndeterminate(false);\n\t\t this.pDialog.setCancelable(false);\n\t\t this.pDialog.show();\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\te.getMessage();\n\t\t\t}\n\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tprogressDialog = ProgressDialog.show(SearchView.this, \"Espere...\", \"Recebendo dados\", true, true);\n\t\t\tprogressDialog.setOnCancelListener(new CancelTaskOnCancelListener(this));\n\t\t}", "protected void onPostExecute(String message) {\n // dismiss the dialog once done\n super.onPostExecute(message);\n\n progressDialog.dismiss();\n jumpToMainActivity();\n //message 为接收doInbackground的返回值\n }", "@Override\n\tprotected void onPostExecute(String result) {\n\t\tsuper.onPostExecute(result);\n\t\tmDialog.dismiss();\n\t}", "@Override\n\t\tprotected void onCancelled() {\n\t\t\tsuper.onCancelled();\n\t\t\tdialog.dismiss();\n\t\t}", "@Override\n\t\tprotected void onCancelled() {\n\t\t\tsuper.onCancelled();\n\t\t\tdialog.dismiss();\n\t\t}", "@Override\n protected void onPreExecute() {\n if (mProgressDialog != null) {\n mProgressDialog.show();\n }\n }", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\t\n\t\t}", "@Override\r\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\r\n\t\t}", "@Override\r\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\r\n\t\t}", "@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t\tsuper.onPreExecute();\n\t\t\t\tmProgressDialog = new ProgressDialog(getActivity());\n\t\t\t\tmProgressDialog.setCanceledOnTouchOutside(false);\n\t\t\t\tmProgressDialog.setCancelable(false);\n\t\t\t\tmProgressDialog.show();\n\t\t\t}", "@Override\n protected void onPreExecute() {\n\n pd.setMessage(\"Please Wait....\");\n pd.show();\n pd.setCancelable(false);\n\n }", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\n\t\t}", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\n\t\t}", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\n\t\t}", "@Override\n protected void onPreExecute() {\n Dialog.setMessage(\"Downloading Stock Adjustment..\");\n Dialog.setCancelable(false);\n Dialog.show();\n }", "@Override\n public void onDetach() {\n if (progressDialog != null && progressDialog.isShowing()) {\n progressDialog.dismiss();\n }\n super.onDetach();\n }", "public void dismissSavingHint() {\n if (this.mProgressDialog != null && this.mProgressDialog.isShowing()) {\n this.mProgressDialog.dismiss();\n }\n }", "private void hideProgress() {\n if (dialogProgress != null) {\n dialogProgress.dismiss();\n dialogProgress = null;\n }\n }", "@Override\n protected void callAfterDataBack(HemaNetTask netTask) {\n cancelProgressDialog();\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n showProgressDialog(R.string.please_wait);\n //showDialog(progress_bar_type);\n }", "protected void onPreExecute() {\n // Display the progress dialog on async task start\n // mProgressDialog.show();\n }", "@Override\n public void run() {\n waitDialog.dismiss();\n\n //show an error dialog\n\n\n }", "@Override\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\n\t\t\tmProgressHUD.dismiss();\n\t\t\t\n\t\t}", "@Override\n public void onDestroy() {\n dismissProgressDialog();\n super.onDestroy();\n }", "@Override\n protected void onPreExecute() {\n\n dialog = new ProgressDialog(AddFoodAdvActivity.this);\n dialog.setMessage(\"Please Wait...!\");\n dialog.show();\n super.onPreExecute();\n }", "@Override\n protected void onPostExecute(String s) {\n super.onPostExecute(s);\n dialog.dismiss(); // to stop showing the progressbar After process is completed\n tvResult.setText(s);\n tvResult.setVisibility(View.VISIBLE);\n Toast.makeText(MainActivity.this, \"Process Done\", Toast.LENGTH_SHORT).show();\n\n }", "protected void onPreExecute(){\n // Display the progress dialog on async task start\n // mProgressDialog.show();\n }", "public static void hideProgressDialog() {\n try {\n if (PROGRESS_DIALOG != null) {\n PROGRESS_DIALOG.dismiss();\n }\n } catch(Exception ignored) {}\n }", "@Override\n protected void onPreExecute() {\n super.onPreExecute();\n\n /* mProgress.setMessage(\"Please Wait\");\n mProgress.setCancelable(false);\n mProgress.show();*/\n String msg = \"Please Wait....\";\n cd.showProgressDialog(msg);\n }", "@SuppressLint(\"NewApi\") @Override\n\t\t\t\t\tprotected void onPreExecute() {\n\t\t\t\t\t\tsuper.onPreExecute();\n\t\t\t\t\t\t// Shows Progress Bar Dialog and then call doInBackground method\n\t\t\t\t\t\tshowDialog(progress_bar_type);\n\t\t\t\t\t\t\n\t\t\t\t\t\tprgDialog.setProgress(0);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t// ===============================================\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}", "protected void onPostExecute(String file_url) {\n // dismiss the dialog once done\n pDialog.dismiss();\n }", "@Override\n protected void onPreExecute() {\n// mProgressDialog = new ProgressDialog(DeviceConnectActivity.this);\n// mProgressDialog\n// .setMessage(\"Esptouch is configuring, please wait for a moment...\");\n// mProgressDialog.setCanceledOnTouchOutside(false);\n// mProgressDialog.setOnCancelListener(new DialogInterface.OnCancelListener() {\n// @Override\n// public void onCancel(DialogInterface dialog) {\n// synchronized (mLock) {\n// if (__IEsptouchTask.DEBUG) {\n// Log.i(TAG, \"progress dialog is canceled\");\n// }\n// if (mEsptouchTask != null) {\n// mEsptouchTask.interrupt();\n// }\n// }\n// }\n// });\n// mProgressDialog.setButton(DialogInterface.BUTTON_POSITIVE,\n// \"Waiting...\", new DialogInterface.OnClickListener() {\n// @Override\n// public void onClick(DialogInterface dialog, int which) {\n// }\n// });\n// mProgressDialog.show();\n// mProgressDialog.getButton(DialogInterface.BUTTON_POSITIVE)\n// .setEnabled(false);\n }", "protected void onPostExecute(String file_url) {\r\n\t\t\t// dismiss the dialog once done\r\n\t\t\tpDialog.dismiss();\r\n\t\t}" ]
[ "0.7633279", "0.7601489", "0.7586698", "0.754777", "0.7509033", "0.7509033", "0.7443056", "0.7425983", "0.73980045", "0.73965484", "0.7380501", "0.7345959", "0.7341082", "0.7321036", "0.7312464", "0.73121625", "0.73121625", "0.73121625", "0.72893476", "0.7242116", "0.7210768", "0.7194336", "0.71744865", "0.71744865", "0.71677476", "0.71613663", "0.7143775", "0.71222955", "0.7096281", "0.70756304", "0.70693576", "0.7062955", "0.70554155", "0.69773656", "0.69622326", "0.6931291", "0.6927898", "0.6926343", "0.6926343", "0.690871", "0.6877102", "0.6870339", "0.6869772", "0.6860131", "0.68534005", "0.68245614", "0.6796521", "0.6792541", "0.67854553", "0.6781766", "0.67761856", "0.67521286", "0.673769", "0.6726813", "0.67208725", "0.6717228", "0.67014885", "0.67005116", "0.6684799", "0.6672408", "0.6657144", "0.665707", "0.6646932", "0.6642557", "0.6642525", "0.661583", "0.66150475", "0.6612711", "0.66057205", "0.66015035", "0.6601433", "0.6597073", "0.6597073", "0.6592354", "0.65637374", "0.6535263", "0.6535263", "0.6532281", "0.65297896", "0.6520676", "0.6520676", "0.6520676", "0.6519782", "0.65188843", "0.6514936", "0.6504127", "0.65026873", "0.6498122", "0.6495968", "0.64933074", "0.64927447", "0.64884746", "0.64856154", "0.6480857", "0.64802957", "0.6473947", "0.6469109", "0.6468756", "0.6467531", "0.646724", "0.6466224" ]
0.0
-1
Create new photon object
@Test public void testArming() { Photon photon = new Photon(); // Verify that it's initial arming turn is 0. assertEquals(photon.getArmingTurn(), 0); // Set armingType to STANDARD assertTrue(photon.setStandard()); // Verify arming type is STANDARD assertEquals(photon.getArmingType(), WeaponArmingType.STANDARD); // First round of arming, with proper energy assertTrue(photon.arm(2)); // Second round of arming, improper energy. assertFalse(photon.arm(1)); // Second round of arming, proper energy. assertTrue(photon.arm(2)); // Verify that the weapon is armed. assertTrue(photon.isArmed()); // Try to arm an already armed weapon. assertTrue(photon.arm(2)); // Set arming to OVERLOAD, this is legal assertTrue(photon.setOverload()); // Set arming to PROXIMITY, this is NOT legal. assertFalse(photon.setProximity()); // Verify that the photons have been armed with 4 points of energy. assertEquals(photon.getArmingEnergy(), 6, 0.24); // Reset the photon photon.reset(); // Verify that default values are in place. assertEquals(photon.getArmingTurn(), 0); assertFalse(photon.isArmed()); assertEquals(photon.getArmingType(), WeaponArmingType.STANDARD); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Telefone() {\n\t}", "public Telefone() {\n\t\t\n\t}", "private Photon getStandardPhoton() {\n\t\tPhoton photon = new Photon();\n\t\tphoton.setStandard();\n\t\tphoton.arm(2);\n\t\tphoton.arm(2);\n\t\t\n\t\treturn photon;\n\t}", "public void create(){}", "P createP();", "public CMObject newInstance();", "Drone createDrone();", "Player createPlayer();", "public void createPhilosophers() {\n\t\tphil1 = new Philosopher(1,stick1,stick2);\n\t\tphil2 = new Philosopher(2,stick2,stick3);\n\t\tphil3 = new Philosopher(3,stick3,stick4);\n\t\tphil4 = new Philosopher(4,stick4,stick5);\n\t\tphil5 = new Philosopher(5,stick5,stick1);\n\t}", "public void create() {\n\t\t\n\t}", "Oracion createOracion();", "void crear(Tonelaje tonelaje);", "public Produto() {}", "void createPlayer(Player player);", "@Override\n\tpublic void create() {\n\t\t\n\t}", "@Override\r\n\tpublic void create() {\n\t\t\r\n\t}", "public void create () {\n // TODO random generation of a ~100 x 100 x 100 world\n }", "@Override\n\tpublic void create() {\n\n\t}", "@Override\n\tpublic void create () {\n\n\t}", "Motivo create(Motivo motivo);", "@Override\n public void create() {\n // enable logging\n Gdx.app.setLogLevel(Application.LOG_DEBUG);\n log.debug(\"create()\");\n }", "public Poem(){}", "Communicator createCommunicator();", "public Plato(){\n\t\t\n\t}", "private void CreaCoordinate(){\n \n this.punto = new Point(80, 80);\n \n }", "Parcelle createParcelle();", "public Potion() {\n\t\tsuper(Localization.SINGLETON.getElement(\"POTION_NAME\"), 0);\n\t}", "PlayerBean create(String name);", "@Override\n public void teleopInit() {\n\n }", "public abstract void create();", "Instance createInstance();", "public EmoticonBO()\n {}", "@Override\r\n\tpublic void create() {\n\r\n\t}", "public PSO() {\r\n initialiseNetwork();\r\n initialisePSO();\r\n }", "public PppoeSessionInfo() {\n }", "public Subsystem1() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\nspeedController1 = new PWMVictorSPX(0);\naddChild(\"Speed Controller 1\",speedController1);\nspeedController1.setInverted(false);\n \nspeedController2 = new PWMVictorSPX(1);\naddChild(\"Speed Controller 2\",speedController2);\nspeedController2.setInverted(false);\n \nspeedController3 = new PWMVictorSPX(2);\naddChild(\"Speed Controller 3\",speedController3);\nspeedController3.setInverted(false);\n \nspeedController4 = new PWMVictorSPX(3);\naddChild(\"Speed Controller 4\",speedController4);\nspeedController4.setInverted(false);\n \nmecanumDrive1 = new MecanumDrive(speedController1, speedController2,\nspeedController3, speedController4);\naddChild(\"Mecanum Drive 1\",mecanumDrive1);\nmecanumDrive1.setSafetyEnabled(true);\nmecanumDrive1.setExpiration(0.1);\nmecanumDrive1.setMaxOutput(1.0);\n\n \n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }", "public Pwm(int bus){\n instanceBus = bus;\n if(bus == unusedBus){\n \n }\n else{\n pwmInstance = new Jaguar(bus);\n Debug.output(\"Pwm constructor: created PWM on bus\", new Integer(bus), ConstantManager.deviceDebug);\n }\n }", "public void notifyCreation() {\n Player targetPlayer = this.getTarget().getPlayerReference(Player.class),\n senderPlayer = this.getToTeleport().getPlayerReference(Player.class);\n\n if (targetPlayer == null || senderPlayer == null) {\n return;\n }\n\n MainData.getIns().getMessageManager().getMessage(\"TPA_SENT\").sendTo(senderPlayer);\n\n if (this.type == TeleportType.TPA) {\n MainData.getIns().getMessageManager().getMessage(\"TPA_REQUESTED\")\n .format(\"%player%\", getToTeleport().getNameWithPrefix()).sendTo(targetPlayer);\n } else if (this.type == TeleportType.TPHERE) {\n MainData.getIns().getMessageManager().getMessage(\"TPHERE_REQUESTED\")\n .format(\"%player%\", getToTeleport().getNameWithPrefix()).sendTo(targetPlayer);\n }\n\n }", "Nexo createNexo();", "public PerforceSensor() {\r\n //nothing yet.\r\n }", "@Override\n\tpublic void create() {\n\t\tGdx.app.setLogLevel(Application.LOG_DEBUG);\n\t\t\n\t\t//Load assets\n\t\tAssets.instance.init(new AssetManager());\n\t\t\n\t\t//initialize controller and renderer\n\t\tworldController = new WorldController();\n\t\tworldRenderer= new WorldRenderer(worldController);\n\t\t\n\t\t//The world is not paused on start\n\t\tpaused = false;\n\t}", "public void createNewPlayer()\n\t{\n\t\t// Set up all badges.\n\t\tm_badges = new byte[42];\n\t\tfor(int i = 0; i < m_badges.length; i++)\n\t\t\tm_badges[i] = 0;\n\t\tm_isMuted = false;\n\t}", "public Particle() {\n\t}", "public void create() {\n if (created)\n return;\n\n PlayerConnection player = getPlayer();\n player.sendPacket(createObjectivePacket(0, objectiveName));\n player.sendPacket(setObjectiveSlot());\n int i = 0;\n while (i < lines.length)\n sendLine(i++);\n\n created = true;\n }", "public WebSocketRPC() {\n\t}", "public static void createPlayers() {\n\t\tcomputer1 = new ComputerSpeler();\n\t\tspeler = new PersoonSpeler();\n//\t\tif (Main.getNumberOfPlayers() >= 3) { \n//\t\t\tSpeler computer2 = new ComputerSpeler();\n//\t\t}\n//\t\tif (Main.getNumberOfPlayers() == 4) {\n//\t\t\tSpeler computer3 = new ComputerSpeler();\n//\t\t}\n\n\n\t}", "SpawnController createSpawnController();", "private void createHumanPlayer() {\n humanPlayer = new Player(\"USER\");\n players[0] = humanPlayer;\n }", "public JawaBotApp_Poh() {\n JawaBotApp_Poh.instance = this; // TODO: make private, use getInstance only.\n //Thread.dumpStack(); /// Where is this constructor called?\n }", "private ThreePP createThreePP(String[] mavenCoord) {\n String vendor = mavenCoord[0];\n String product = mavenCoord[1];\n String version = mavenCoord[2];\n String url = String.format(mvnUrlFormat, vendor, product, version);\n if(vendor.startsWith(\"com.\")){\n vendor = vendor.replaceFirst(\"^com.\", \"\");\n }else if(vendor.startsWith(\"org.\")){\n vendor = vendor.replaceFirst(\"^org.\", \"\");\n }\n String cpe = String.format(\"cpe:2.3:a:%s:%s:%s:*:*:*:*:linux:*:*\", vendor, product, version);\n ThreePP threePP = new ThreePP(cpe);\n threePP.setWebLink(url);\n return threePP;\n }", "@Override\n public void create() {\n setScreen(new ServerScreen(\n new RemoteGame(),\n new SocketIoGameServer(HOST, PORT)\n ));\n }", "PhysicalThing createPhysicalThing();", "Actor createActor();", "public ParkingSpot createSpot() {\n ParkingSpot spot = new ParkingSpot();\n spot.setTime(time);\n spot.setId(id);\n spot.setLongitude(longitude);\n spot.setLatitude(latitude);\n spot.setAccuracy(accuracy);\n return spot;\n }", "public Camera(){\n // servoPan = new Servo(PAN);\n servoTilt = new Servo(TILT);\n }", "private PumpManager() { }", "public Gasto() {\r\n\t}", "public AmishMart()\n {\n super(\"PokeMart\");\n\n eventArray[20][14] = new Teleport();\n eventArray[20][14].setCoord(5, 2, 18, 17);\n\n eventArray[15][13] = new ShopKeep();\n }", "public Command createInstance() {\n\t\t\n\t\tif(name == \"Direction\")\n\t\t\treturn new Direction();\n\t\t\n\t\tif(name == \"Gear\")\n\t\t\treturn new Gear();\n\t\t\n\t\tif(name == \"Pause\")\n\t\t\treturn new Pause();\n\t\t\n\t\treturn null;\n\t\t\n\t}", "public void teleopInit(){\n\n }", "Parking createParking();", "private void createPlayers() {\n\tGlobal.camera_player1 = new Camera(new OrthographicCamera());\n\tGlobal.camera_player2 = new Camera(new OrthographicCamera());\n\tGlobal.camera_ui = new OrthographicCamera();\n\tGlobal.player1 = new Plane(Global.player1_respawn.x,\n\t\tGlobal.player1_respawn.y, 0, new Planetype(PlaneTypes.F35),\n\t\tEntityType.PLAYER1);\n\tGlobal.player2 = new Plane(Global.player2_respawn.x,\n\t\tGlobal.player2_respawn.y, 0, new Planetype(PlaneTypes.F35),\n\t\tEntityType.PLAYER2);\n }", "public RobotInfo() {\n }", "public FootballPlayerV3()\n {\n }", "TGG createTGG();", "private static void makeInstance(){\n\n if(settingsFile==null){\n settingsFile = new MetadataFile(SETTINGS_FILE_PATH);\n }\n\n if(!settingsFile.exists()){\n settingsFile.create();\n }\n\n if(tagListeners==null){\n tagListeners= new HashMap<>();\n }\n\n }", "public Command create(Object... param);", "public Shot() {\n }", "public Phl() {\n }", "public Manusia() {}", "public void create() {\n\t\trandomUtil = new RandomUtil();\n\t\t// create the camera using the passed in viewport values\n\t\tcamera = new OrthographicCamera(viewPortWidth, viewPortHeight);\n\t\tbatch.setProjectionMatrix(camera.combined);\n\t\tdebugRender = new Box2DDebugRenderer(true, false, false, false, false, true);\n\t\ttestWorld = new TestWorld(assetManager.blockManager(), new Vector2(0, 0f));\n\t\ttestWorld.genWorld(debugUtil);\n\t\ttestWorld.setCamera(getCamera());\n\t\tplayer.createBody(testWorld.getWorld(), BodyType.DynamicBody);\n\t\ttestWorld.getPlayers().add(player);\n\t\tworldParser = new WorldParser(testWorld, \"Test World\");\n\t\tworldParser = new WorldParser(testWorld, \"Test Write\");\n\t\tworldParser.parseWorld();\n\t\twriter = new WorldWriter(\"Test Write\", testWorld);\n\t}", "public Purp() {\n }", "public PentagoGame() {\n // Default size = 3.\n board = new PentagoBoard();\n lastMove = null;\n hasPlacedPiece = false;\n hasRotatedBoard = true;\n }", "@Override\n\tpublic void create() {\n\t\tassetManager = new AssetManager();\n\t\tassetManager.load(ROLIT_BOARD_MODEL, Model.class);\n\t\tassetManager.load(ROLIT_BALL_MODEL, Model.class);\n\t\t\n\t\t//construct the lighting\n\t\tenvironment = new Environment();\n\t\tenvironment.set(new ColorAttribute(ColorAttribute.AmbientLight, 0.4f, 0.4f, 0.4f, 1f));\n\t\tenvironment.add(new DirectionalLight().set(0.8f, 0.8f, 0.8f, -1f, -0.8f, -0.2f));\n\t\t\n\t\tmodelBatch = new ModelBatch();\n\t\t\n\t\tcam = new PerspectiveCamera(67f, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n\t\t\n\t\tGdx.input.setInputProcessor(new InputHandler());\n\t}", "public void teleopInit() {\n }", "public void teleopInit() {\n }", "public void teleopInit() {\n // Initalize test command\n Jagbot.isAutonomous = false;\n MessageWindow.write(1, \"Robot init\");\n //testCommand = new TestCommand();\n //testCommand.start();\n }", "public void createPlayer() {\n mainHandler = new Handler();\n videoTrackSelectionFactory = new AdaptiveTrackSelection.Factory(bandwidthMeter);\n trackSelector = new DefaultTrackSelector(videoTrackSelectionFactory);\n player = ExoPlayerFactory.newSimpleInstance(this, trackSelector);\n }", "public Postoj() {}", "@Override\n\t\tpublic void create() {\n\t\t\tcannon = new CannonLogic();\n\t\t\tlines = new LineLogic();\n\t\t\tboxes = new BoxLogic();\n\t\t\tcontroller = new PlayerController();\n\t\t\tshapeList = new ArrayList<Shape>();\n\t\t\t\n\t\t\tGdx.gl11.glEnableClientState(GL11.GL_VERTEX_ARRAY);\n\t\t\tGdx.gl11.glClearColor(0.4f, 0.6f, 1.0f, 1.0f);\n\t\t\tvertexBuffer = BufferUtils.newFloatBuffer(8);\n\t\t\tvertexBuffer.put(new float[] {-50,-50, -50,50, 50,-50, 50,50});\n\t\t\tvertexBuffer.rewind();\n\t\t}", "public void teleopInit() {\n \n }", "public void create(Person p) {\n\t\t\n\t}", "private SingleTon() {\n\t}", "@Override\npublic void teleopInit() {\n\n}", "BOp createBOp();", "private void createPassenger() {\n account = new Account(\"driver\", \"password\", \"[email protected]\",\n \"Dan\", \"20 Howard Street\", 1234567, 64278182123L);\n }", "public M create(P model);", "private void crearObjetos() {\n // crea los botones\n this.btnOK = new CCButton(this.OK);\n this.btnOK.setActionCommand(\"ok\");\n this.btnOK.setToolTipText(\"Confirmar la Operación\");\n \n this.btnCancel = new CCButton(this.CANCEL);\n this.btnCancel.setActionCommand(\"cancel\");\n this.btnCancel.setToolTipText(\"Cancelar la Operación\");\n \n // Agregar los eventos a los botones\n this.btnOK.addActionListener(this);\n this.btnCancel.addActionListener(this);\n }", "public Magazzino() {\r\n }", "public Poke() {\n\t\tsuper(\"POKE\");\n\t}", "public CreateKonceptWorker() {\n\t\tsuper();\n\t\tthis.koncept = new KoncepteParaula();\n\t}", "public Instance() {\n }", "public ActorNPC() {\r\n }", "void createNewInstance(String filename)\n {\n iIncomingLobsFactory = new incomingLobsFactory();\n iIncomingLobsFactory.setPackageName(\"com.loadSample\");\n \n // include schemaLocation hint for validation\n iIncomingLobsFactory.setXSDFileName(\"LoadSample.xsd\");\n \n // encoding for output document\n iIncomingLobsFactory.setEncoding(\"UTF8\");\n \n // encoding tag for xml declaration\n iIncomingLobsFactory.setEncodingTag(\"UTF-8\");\n \n // Create the root element in the document using the specified root element name\n iIncomingLobs = (incomingLobs) iIncomingLobsFactory.createRoot(\"incomingLobs\");\n createincomingLobs();\n \n iIncomingLobsFactory.save(filename);\n }", "public GetMotorPositionCommand ()\r\n {\r\n }", "public Pond(){}", "public interface HTTPIOFactory {\n HTTPIO createNew();\n}", "public Prestamo() {\n\t\t// TODO Auto-generated constructor stub\n\t}", "IDAOSession createNewSession();", "private SingleTon() {\r\n\t\t// TODO Auto-generated constructor stub\r\n\t}", "Stone create();" ]
[ "0.6316241", "0.6313885", "0.62887204", "0.5981348", "0.5979287", "0.5887644", "0.5823915", "0.58228683", "0.58096534", "0.5777001", "0.5755094", "0.5751886", "0.57429445", "0.57366747", "0.56563705", "0.5651768", "0.5625963", "0.56197923", "0.5619438", "0.561672", "0.56099045", "0.5585941", "0.5579929", "0.5578834", "0.55585086", "0.5552906", "0.55473167", "0.5525306", "0.5524342", "0.5513854", "0.55112255", "0.5508823", "0.55045605", "0.54907495", "0.54902226", "0.54808545", "0.54767907", "0.54616416", "0.54571867", "0.54571646", "0.5453224", "0.543659", "0.54229474", "0.54139316", "0.53906274", "0.53890157", "0.5374902", "0.53705835", "0.5368852", "0.5361197", "0.53451264", "0.53445137", "0.53397954", "0.5334031", "0.5331745", "0.5327368", "0.5326419", "0.5322258", "0.5321849", "0.5321152", "0.53151727", "0.5311501", "0.53067976", "0.5306124", "0.5304413", "0.5301472", "0.52875614", "0.52810085", "0.5274566", "0.52708507", "0.5270344", "0.52661777", "0.52660084", "0.526569", "0.52644944", "0.52644944", "0.52570784", "0.52544504", "0.5249723", "0.5247235", "0.5243302", "0.5241765", "0.52416", "0.52380806", "0.5228807", "0.52277803", "0.52276367", "0.5224658", "0.52212834", "0.5216617", "0.52159816", "0.52159065", "0.52158", "0.5213426", "0.52121365", "0.52086824", "0.5205676", "0.520377", "0.52030337", "0.5202786", "0.51983947" ]
0.0
-1
Helpers to create test objects.s
private Photon getStandardPhoton() { Photon photon = new Photon(); photon.setStandard(); photon.arm(2); photon.arm(2); return photon; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n\tprivate static void createTestData() {\n\t\t\n\t\tusers.put(\"User0\", objectHandler.createUser(25.0));\n\t\tusers.put(\"User1\", objectHandler.createUser(1.0));\n\t\t\n\t\tdocuments.put(\"Doc0\", objectHandler.createDocument(\"mydoc\", 25, '4', 'C'));\n\t\tdocuments.put(\"Doc1\", objectHandler.createDocument(\"another\", 15, '3', 'B'));\n\t\t\n\t\tusers.get(\"User0\").addDocument(documents.get(\"Doc0\"));\n\t\tusers.get(\"User1\").addDocument(documents.get(\"Doc1\"));\n\t\t\n\t\tPrinterCapability capability1 = objectHandler.createPrinterCapability(true, false, true, true);\n\t\tPrinterCapability capability2 = objectHandler.createPrinterCapability(false, true, true, false);\n\t\tPrinterCapability capability3 = objectHandler.createPrinterCapability(false, true, true, false);\n\t\t\n\t\tPrinterPricing pricing = objectHandler.createPrinterPricing(0.03, 0.14, 0.06, 0.24);\n\t\t\n\t\tPrinterCapacity capacity1 = objectHandler.createPrinterCapacity(25, 0, 10, 30);\n\t\tPrinterCapacity capacity2 = objectHandler.createPrinterCapacity(0, 10, 15, 0);\n\t\tPrinterCapacity capacity3 = objectHandler.createPrinterCapacity(0, 10, 15, 0);\n\t\t\n\t\tprinters.put(\"Printer0\", objectHandler.createPrinter(\"A4All\", capability1, pricing, capacity1, objectHandler.createPrinterStatus()));\n\t\tprinters.put(\"Printer1\", objectHandler.createPrinter(\"A3B\", capability2, pricing, capacity2, objectHandler.createPrinterStatus()));\n\t\tprinters.put(\"Printer2\", objectHandler.createPrinter(\"A3B-rip\", capability3, pricing, capacity3, objectHandler.createPrinterStatus()));\n\t\t\n\t\tVDMSet status = new VDMSet();\n\t\tstatus.add(\"needFixing\");\n\t\tprinters.get(\"Printer2\").break_(status);\n\t}", "protected Object createTest() throws Exception {\n Object test = super.createTest();\n dataPopulator.populate(test);\n return test;\n }", "@Before\r\n public void setupTestCases() {\r\n instance = new ShoppingListArray();\r\n }", "@Test\n public void _objectTest() {\n // TODO: test _object\n }", "Testcase createTestcase();", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\trooms.add(room1);\r\n\t\trooms1.add(room2);\r\n\r\n\t\tclasses.add(class1);\r\n\t\tclasses1.add(class2);\r\n\r\n\t\tnewPersonTime.add(person2);\r\n\t\tnewSubjects.add(sub2);\r\n\r\n\t\tteachu1.getSubjects().add(sub1);\r\n\r\n\t\t// Hinzufuegen von Klassen\r\n\t\tbreaku1.setClasses(classes);\r\n\t\texternu1.setClasses(classes);\r\n\t\tmeetingu1.setClasses(classes);\r\n\t\tteachu1.setClasses(classes);\r\n\r\n\t\t// Hinzufuegen von Raeumen\r\n\t\tbreaku1.setRooms(rooms);\r\n\t\texternu1.setRooms(rooms);\r\n\t\tmeetingu1.setRooms(rooms);\r\n\t\tteachu1.setRooms(rooms);\r\n\r\n\t\t// Hinzufuegen von Personen\r\n\t\tmeetingu1.getMembers().add(teach1);\r\n\t\tmeetingu1.getMembers().add(teach2);\r\n\r\n\t\t// Hinzufuegen von PersonTime\r\n\t\tteachu1.getPersons().add(person1);\r\n\t\tteachu1.getPersons().add(person2);\r\n\r\n\t\t// setId()\r\n\t\tbreaku1.setId(1);\r\n\t\texternu1.setId(2);\r\n\t\tmeetingu1.setId(3);\r\n\t\tteachu1.setId(4);\r\n\t}", "@Before\n public void setUp() {\n e1 = new Employee(\"Pepper Potts\", 16.0, 152);\n e2 = new Employee(\"Nancy Clementine\", 22.0, 140);\n\n }", "@Before\n\tpublic void createPOJO() {\n\t\tpojo0 = new Pojo();\n\t\tpojo0.setId(1);\n\t\tpojo0.setName(\"Geddy Lee\");\n\t\tpojo0.setFunction(\"Bass\");\n\t\t\n\t\t// creating others simple objects and an array for the ultimate test\n\t\tpojo1 = new Pojo();\n\t\tpojo1.setId(2);\n\t\tpojo1.setName(\"Alex Lifeson\");\n\t\tpojo1.setFunction(\"Guitar\");\n\n\t\tpojo2 = new Pojo();\n\t\tpojo2.setId(3);\n\t\tpojo2.setName(\"Neal Peart\");\n\t\tpojo2.setFunction(\"Drums\");\n\t\t\n\t\tpojos = new Pojo[3];\n\t\tpojos[0] = pojo0;\n\t\tpojos[1] = pojo1;\n\t\tpojos[2] = pojo2;\n\t\t\n\t\t// tricky list\n\t\ttricky = new Pojo[3];\n\t\ttricky[0] = pojo0;\n\t\ttricky[1] = null;\n\t\ttricky[2] = pojo2;\n\t\t\n\t\t// file name for output\n\t\tfileName = \"c:\\\\test.csv\";\n\n\t}", "@Test\n public void TestCreateCat() {\n String expectedName = \"Milo\";\n Date expectedBirthDate = new Date();\n\n Cat newCat = AnimalFactory.createCat(expectedName, expectedBirthDate);\n\n Assert.assertEquals(expectedName, newCat.getName());\n Assert.assertEquals(expectedBirthDate, newCat.getBirthDate());\n }", "@Test\n public void Constructor_ObjectValues_InstanceCreated() {\n\t\ttry {\n Position position = make_PositionWithIntegerPoints(xCoordinate, yCoordinate, direction);\n Surface surface = make_SurfaceWithGivenDimensions(xDimension, yDimension);\n\t\t\tRover rover = make_RoverWithObjectValues(position, surface);\n\t\t}\n\t\tcatch (AssertionError assErr) {\n\t\t\t// Test passed.\n\t\t\treturn;\n\t\t}\n }", "public Tests(){\n \n }", "public void testCreation() {\n // First the two standard constructors with meaningfull data.\n // Also test the different setters.\n final String title1 = \"Title1\";\n final String cleavage1 = \"ARNDCQ\";\n final String restrict1 = \"PG\";\n final char[] cv1 = cleavage1.toCharArray();\n final char[] rs1 = restrict1.toCharArray();\n final String pos1 = \"Cterm\";\n final String pos2 = \"nteRm\";\n final int miscleavage = 3;\n\n Enzyme e = new Enzyme(title1, cleavage1, restrict1, pos1);\n Assert.assertEquals(title1, e.getTitle());\n Assert.assertEquals(new String(cv1), new String(e.getCleavage()));\n Assert.assertEquals(new String(rs1), new String(e.getRestrict()));\n Assert.assertEquals(Enzyme.CTERM, e.getPosition());\n Assert.assertEquals(1, e.getMiscleavages());\n\n final String otherTitle = \"other\";\n final String otherCleavage = \"HIK\";\n final String otherRestrict = \"MN\";\n final char[] otherCv = otherCleavage.toCharArray();\n final char[] otherRs = otherRestrict.toCharArray();\n\n e.setTitle(otherTitle);\n e.setCleavage(otherCleavage);\n e.setRestrict(otherRestrict);\n e.setPosition(Enzyme.NTERM);\n e.setMiscleavages(miscleavage);\n\n Assert.assertEquals(otherTitle, e.getTitle());\n Assert.assertEquals(new String(otherCv), new String(e.getCleavage()));\n Assert.assertEquals(new String(otherRs), new String(e.getRestrict()));\n Assert.assertEquals(Enzyme.NTERM, e.getPosition());\n Assert.assertEquals(miscleavage, e.getMiscleavages());\n\n e.setCleavage(cleavage1);\n e.setRestrict(rs1);\n Assert.assertEquals(new String(cv1), new String(e.getCleavage()));\n Assert.assertEquals(new String(rs1), new String(e.getRestrict()));\n\n e = new Enzyme(null, cleavage1, null, pos2, 5);\n Assert.assertTrue(e.getTitle() == null);\n Assert.assertEquals(new String(cv1), new String(e.getCleavage()));\n Assert.assertTrue(e.getRestrict() == null);\n Assert.assertEquals(Enzyme.NTERM, e.getPosition());\n Assert.assertEquals(5, e.getMiscleavages());\n\n try {\n e = new Enzyme(title1, null, restrict1, null);\n fail(\"No NullPointerException thrown when Enzyme constructor was presented with a 'null' cleavage and position String!\");\n } catch(NullPointerException npe) {\n // Okay, this is what we wanted.\n }\n\n try {\n e = new Enzyme(title1, cleavage1, restrict1, null);\n fail(\"No NullPointerException thrown when Enzyme constructor was presented with a 'null' position String!\");\n } catch(NullPointerException npe) {\n // Okay, this is what we wanted.\n }\n }", "public TestsAsset() {\n tests = new LinkedList<TestBean>();\n }", "@BeforeClass\r\n public static void createTestObject()\r\n {\r\n testLongTermStorage = new LongTermStorage();\r\n }", "@Test\n\tpublic void testInsertObj() {\n\t}", "@Test\n public void testCreate() throws Exception {\n System.out.println(\"create\");\n int pubID = 1;\n int prodID = 2;\n String name = \"Name\";\n int age = 12;\n String desc = \"This is my description\";\n int runtime = 12;\n String genre = \"Action\";\n double price = 22.22;\n JSONObject gameJSON = new JSONObject();\n gameJSON.put(\"productID\", prodID);\n gameJSON.put(\"name\", name);\n gameJSON.put(\"price\", price);\n gameJSON.put(\"ageRating\", age);\n gameJSON.put(\"description\", desc);\n gameJSON.put(\"minimumSpecs\", \"Min specs\");\n gameJSON.put(\"genre\", genre);\n gameJSON.put(\"publisherID\", pubID);\n StoreListing result = GameStorePageInfoFactory.create(gameJSON);\n assertEquals(prodID, result.getProductID());\n assertEquals(name, result.getName());\n }", "protected void setUp() throws Exception {\r\n super.setUp();\r\n\r\n testObject = new TestObject(1, \"stringValue\");\r\n }", "public SalesItemTest()\n {\n }", "@Test\n public void testInit()\n {\n SalesItem salesIte1 = new SalesItem(\"test name\", 1000);\n assertEquals(\"test name\", salesIte1.getName());\n assertEquals(1000, salesIte1.getPrice());\n }", "@Test\n public void testCreate() throws Exception {\n System.out.println(\"create\");\n JSONObject movieJSON = new JSONObject();\n int pubID = 1;\n int prodID = 2;\n String name = \"Name\";\n int age = 12;\n String desc = \"This is my description\";\n int runtime = 12;\n String genre = \"Action\";\n double price = 22.22;\n movieJSON.put(\"productID\", prodID);\n movieJSON.put(\"name\", name);\n movieJSON.put(\"price\", price);\n movieJSON.put(\"ageRating\",age);\n movieJSON.put(\"description\", desc);\n movieJSON.put(\"runtime\", runtime);\n movieJSON.put(\"genre\", genre);\n movieJSON.put(\"publisherID\", pubID);\n MovieStorePageInfoFactory instance = new MovieStorePageInfoFactory();\n StoreListing result = instance.create(movieJSON);\n assertEquals(prodID, result.getProductID());\n assertEquals(name, result.getName());\n }", "public PerezosoTest()\n {\n }", "protected TestResult createResult() {\n return new TestResult();\n }", "public AllLaboTest() {\n }", "public RookTest()\r\n {\r\n }", "@Test\n public void TestCreateDog() {\n String expectedName = \"Tyro\";\n Date expectedBirthDate = new Date();\n\n Dog newDog = AnimalFactory.createDog(expectedName, expectedBirthDate);\n\n Assert.assertEquals(expectedName, newDog.getName());\n Assert.assertEquals(expectedBirthDate, newDog.getBirthDate());\n }", "@Test\n public void constructorTest(){\n String retrievedName = doggy.getName();\n Date retrievedBirthDate = doggy.getBirthDate();\n Integer retrievedId = doggy.getId();\n\n // Then (we expect the given data, to match the retrieved data)\n Assert.assertEquals(givenName, retrievedName);\n Assert.assertEquals(givenBirthDate, retrievedBirthDate);\n Assert.assertEquals(givenId, retrievedId);\n }", "public SwerveAutoTest() {\n // Initialize base classes.\n // All via self-construction.\n\n // Initialize class members.\n // All via self-construction.\n }", "@Test\n public void testObject()\n throws Exception\n {\n initialize();\n genericTests();\n for (int i = 0; i < 10; i++)\n {\n permutateObjects();\n genericTests();\n } // for\n }", "protected abstract Item createTestItem1();", "@Before\r\n public void setUp() throws Exception {\r\n john = new Owner(\"John\", \"Smith\", \"8379762251\");\r\n\r\n }", "@Before\n public void setUp()\n {\n salesIte1 = new SalesItem(\"house\", 100000);\n salesIte2 = new SalesItem(\"car\", 1000);\n salesIte2.addComment(\"jack\", \"too slow\", 3);\n salesIte2.addComment(\"ben\", \"too old\", 2);\n }", "@Before\n public void setUp()\n {\n hockeyPl1 = new HockeyPlayer(\"Ben Casey\", \"025\");\n hockeyPl2 = new HockeyPlayer(\"Clara Dent\", \"040\");\n hockeyTe1 = new HockeyTeam(\"Sticks\");\n coach1 = new Coach(\"Amy Blunt\", \"001\", \"MNHA\");\n }", "final DD utilCreateDDObject() {\r\n\t\treturn utilCreateDDObject(testProperties);\r\n }", "LoadTest createLoadTest();", "@Test\n public void createTest() {\n // Se construye una fabrica de objetos\n PodamFactory factory = new PodamFactoryImpl();\n\n //A la fabrica de objetos se le pide que nos de un objeto del tipo que le pasamos por parametro\n ViajeroEntity viajero = factory.manufacturePojo(ViajeroEntity.class);\n\n ViajeroEntity result = vp.create(viajero);\n // Pruebo que el resultado del metodo create no sea null\n Assert.assertNotNull(result);\n\n // El entity manager busca en la base de datos si hay una entidad que coincida con la \n // entidad que acabo de crear por su id\n ViajeroEntity entity\n = em.find(ViajeroEntity.class, result.getId());\n\n // Verifico que para cada entidad creada por podam,\n // en la base de datos se reflejen esos mismos datos\n Assert.assertEquals(viajero.getContrasenha(), entity.getContrasenha());\n Assert.assertEquals(viajero.getCorreo(), entity.getCorreo());\n Assert.assertEquals(viajero.getFechaDeNacimiento(), entity.getFechaDeNacimiento());\n Assert.assertEquals(viajero.getNombre(), entity.getNombre());\n Assert.assertEquals(viajero.getNumDocumento(), entity.getNumDocumento());\n Assert.assertEquals(viajero.getTelefono(), entity.getTelefono());\n Assert.assertEquals(viajero.getTipoDocumento(), entity.getTipoDocumento());\n }", "private ProtomakEngineTestHelper() {\r\n\t}", "@Before\n public void setUpTheObjects() {\n mh.setMessageDate(new Date());\n mr.setMessageHeader(mh);\n mr.getVaccinations().add(v);\n v.setAdministered(true);\n v.setAdminCvxCode(\"143\");\n }", "@BeforeClass\n\tpublic static void init() {\n\t\ttestProduct = new Product();\n\t\ttestProduct.setPrice(1000);\n\t\ttestProduct.setName(\"Moto 360\");\n\t\ttestProduct.setDescrip(\"Moto 360 smart watch for smart generation.\");\n\n\t\ttestReview = new Review();\n\t\ttestReview.setHeadline(\"Excellent battery life\");\n\t\ttestReview.setContent(\"Moto 360 has an excellent battery life of 10 days per full charge.\");\n\t}", "TestNode createTestNode();", "@Test\n\tpublic void testCreateTicketOk() {\n\t\tArrayList<Object> p = new ArrayList<Object>();\n\t\tp.add(new TGame(\"FORTNITE\", 6, 20.0, 1, 2, \"descripcion\", \"Shooter\"));\n\t\tTTicket tt = new TTicket(1, p);\n\t\tassertEquals();\n\t}", "public void setUp() {\n // Create mutable field.\n fieldMutable = new Field(\"name\", \"value\", \"description\", false);\n\n fieldReadOnly = new Field(\"name\", \"value\", \"description\", true);\n\n conditionReadOnly = new Condition(\"name\", new NodeList(new Node[0]), \"description\", true, \"name = 'test'\");\n\n // Create node list.\n nodeList = new NodeList(new Node[] {fieldReadOnly, fieldMutable});\n\n // Create mutable loop.\n loopMutable = new Loop(\"loop\", nodeList, \"description\", false);\n\n // Create read-only loop.\n loopReadOnly = new Loop(\"loop\", nodeList, \"description\", true);\n }", "public BookingSystemTest()\n {\n }", "protected void setUp() throws Exception {\r\n super.setUp();\r\n this.testedInstances = new ManagerHelper[2];\r\n this.testedInstances[0] = new ManagerHelper();\r\n this.testedInstances[1] = new ManagerHelper(TestDataFactory.MANAGER_HELPER_NAMESPACE);\r\n }", "@BeforeClass\r\n public static void setUpClass() throws Exception {\r\n P1 = new Partido(\"Camp Nou\",\"2010-04-28\");\r\n P2 = new Partido(\"Camp Nou\",\"2010-04-28\");\r\n P3 = new Partido(\"Camp Nou\",\"2010-04-28\"); \r\n PE = new Partido(\"Camp Nou\",\"2010-04-28\"); \r\n }", "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\ttestObj = new EdgeTable(\"1|test\");\r\n\t\ttestObj.makeArrays();\r\n\t}", "@Test\n public void testConstructor(){\n new RowGen(ROW_INDEX, spaces);\n }", "TestContainer createTestContainer();", "@Test\n public void testCreate() {\n\n }", "@Override\n public void testGetAllObjects() {\n }", "@Test\n public void createObject() {\n\n for (int i = 1; i < 20; i++) {\n\n /**\n * Get the current array\n */\n RequestSpecification request = RestAssured.given();\n BankTransacctionPojo pojoEndpoint = new BankTransacctionPojo();\n\n /**\n * Change the json to pojo\n */\n Response responseGet = getEndPoint(Endpoint.URL);\n List<BankTransacctionPojo> bankTransacctionPojoList = new Gson().fromJson(responseGet.asString(), new TypeToken<List<BankTransacctionPojo>>() {\n }.getType());\n\n\n /**\n * validate the email with current data\n */\n for (BankTransacctionPojo bankTransacctionPojo : bankTransacctionPojoList) {\n Assert.assertFalse(bankTransacctionPojo.getEmail().equals(pojoEndpoint.getEmail()));\n\n }\n\n request.body(new Gson().toJson(pojoEndpoint));\n /**\n * result\n */\n Response responsePost = request.post(Endpoint.URL);\n responsePost.then()\n .assertThat()\n .statusCode(HttpStatus.SC_CREATED);\n\n }\n\n }", "@SuppressWarnings(\"serial\")\n @Before\n public void setUp() throws Exception {\n testInstance = new ClientsPrepopulatingBaseAction() {\n };\n }", "@BeforeClass\n public static void beforeTests() {\n pl = new LocalPersistenceLayer();\n\n DigitalCollection coll = new DigitalCollection(\"Test\");\n edummy = new Element(\"Dummy\", \"Dummy\");\n pdummy = new Property(\"Dummy\");\n vdummy = new ValueSource(\"Dummy\", \"0.1\");\n\n edummy.setCollection(coll);\n edummy.setCollection(coll);\n edummy.setCollection(coll);\n\n pl.handleCreate(DigitalCollection.class, coll);\n pl.handleCreate(Element.class, edummy);\n pl.handleCreate(Property.class, pdummy);\n pl.handleCreate(ValueSource.class, vdummy);\n }", "@Before\n public void setUpMovieTest() {\n movie1 = new Movie(karateMovie);\n movie2 = new Movie(gloryMovie);\n movie3 = new Movie(sevenMovie);\n movie4 = new Movie(theShawshankRedemtionMovie);\n }", "@BeforeEach\n void setUp() {\n testObject = new TestObject(1, \"stringValue\");\n }", "@Before\r\n\tpublic void setUp() throws Exception {\n\r\n\t\tut1 = new UpcomingTuition(\"Alice\", \"C1\", \"English Language\", \"25 Aug 2021\");\r\n\t\tut2 = new UpcomingTuition(\"Benny\", \"C2\", \"History\", \"31 Aug 2021\");\r\n\r\n\t\tUTuition = new ArrayList<UpcomingTuition>();\r\n\r\n\t}", "@Before\n\tpublic void setUp() {\n\t\tcompteTest = FactoryCompte.getCompteVide();\n\t\tcompteTest.setIdClient(3630);\n\t\tcompteTest.setBalance(89.8);\n\t\tcompteTest.setNegativeBalanceAllowed(false);\n\t\t\n\t\tinstance.createWithId(compteTest);\t\t\n\t}", "protected abstract Item createTestItem2();", "protected abstract Item createTestItem3();", "@BeforeMethod\n public void initTest() {\n Mockito.reset(reservationDao);\n Customer customer1 = new Customer(\"Janko\", \"Hrasko\", \"[email protected]\",\n BCrypt.hashpw(\"pswd1\", BCrypt.gensalt()));\n Customer customer2 = new Customer(\"Jozko\", \"Mrkvicka\", \"[email protected]\",\n BCrypt.hashpw(\"pswd2\", BCrypt.gensalt()));\n Trip trip1 = new Trip(LocalDate.now(), LocalDate.now().plusDays(5L), \"Paris\", 5, 80.0);\n Trip trip2 = new Trip(LocalDate.now(), LocalDate.now().plusDays(5L), \"Hong Kong\", 17, 1200.0);\n reservation1 = new Reservation(customer1, trip1, LocalDate.now().plusDays(3));\n reservation2 = new Reservation(customer1, trip2, LocalDate.now().plusDays(2));\n reservation3 = new Reservation(customer2, trip1, LocalDate.now().plusDays(1));\n reservation4 = new Reservation(customer2, trip2, LocalDate.now());\n }", "public void objectTest() {\n }", "@Test\r\n public void testCrear() throws Exception {\r\n System.out.println(\"crear\");\r\n String pcodigo = \"bravos\";\r\n String pnombre = \"Arreglar bumper\";\r\n String tipo = \"Enderazado\";\r\n Date pfechaAsignacion = new Date(Calendar.getInstance().getTimeInMillis());\r\n String pplacaVehiculo = \"TX-101\";\r\n MultiReparacion instance = new MultiReparacion();\r\n Reparacion expResult = new Reparacion(pcodigo, pnombre,tipo,pfechaAsignacion,pplacaVehiculo);\r\n Reparacion result = instance.crear(pcodigo, pnombre, tipo, pfechaAsignacion, pplacaVehiculo);\r\n \r\n assertEquals(expResult.getCodigo(), result.getCodigo());\r\n assertEquals(expResult.getNombre(), result.getNombre());\r\n assertEquals(expResult.getTipo(), result.getTipo());\r\n assertEquals(expResult.getPlacaVehiculo(), result.getPlacaVehiculo());\r\n assertEquals(expResult.getFechaAsignacion(), result.getFechaAsignacion());\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "@Before\n public void setUp() {\n activity1 = new Activity(\"tester\", 100, new Date (2018-10-10), \"category\", \"description\");\n activity2 = new Activity(\"tester\", 100, new Date (2018-10-11), \"category2\", \"description\");\n }", "@Test\n\tpublic void constructortest2() {\n\t\tMainDish dessertTest = new MainDish(\"quiche\");\n\t\tassertTrue(dessertTest.getPrice()==0);\n\t}", "@Test(priority=1)\r\n\tpublic void createStudentSeraliztion() {\r\n\t\t//for seralization i used java object student.\r\n\t\t\r\n\t\tStudent student = new Student();\r\n\t\t//information look at book tutorial-9.\r\n\t\tstudent .setId(102);\r\n\t\tstudent .setFirstName(\"Mango\");\r\n\t\tstudent .setLastName(\"Rasalu\");\r\n\t\tstudent .setEmail(\"[email protected]\");\r\n\t\tstudent .setProgramme(\"King\");\r\n\t\t//Courses have two courses.wer using ArrayList To hold different courses.\r\n\t\tArrayList<String> courseList = new ArrayList<String>();\r\n\t\tcourseList.add(\"java\");\r\n\t\tcourseList.add(\"Selenium\");\r\n\t\tstudent.setCourses(courseList);\r\n\t\tgiven()\r\n\t\t\t.contentType(ContentType.JSON)\r\n\t\t\t.body(student)\r\n\t\t.when()\r\n\t\t\t.post(\"http://localhost:8085/student\")\r\n\t\t.then()\r\n\t\t\t.statusCode(201)\r\n\t\t\t.assertThat()\r\n\t\t\t.body(\"msg\",equalTo(\"student added\"));\r\n\t\t\r\n\t\t\r\n\t}", "@Before\n public void setUp() throws Exception {\n Person.checkTables();\n this.pat1 = new Patient(\"test1\", \"test\" , \"1\", \"password\", \"male\",\n \"111 E St\", \"insuroco\", \"5555555555\", \"1111111111\", new Date());\n this.pat2 = new Patient(\"test2\", \"test\" , \"2\", \"password2\", \"female\",\n \"111 E St\", \"insuroco\", \"5555555555\", \"1111111111\", new Date());\n this.hp1 = new HealthProfessional(\"pro1\", \"Pro\", \"1\", \"pass1\",\n false, true, false);\n }", "TestViewpoint createTestViewpoint();", "SUT createSUT();", "@Test\n public void instanceTest() {\n // TODO: test instance\n }", "@Test\n public void createUserTestTest()\n {\n HashMap<String, Object> values = new HashMap<String, Object>();\n values.put(\"age\", \"22\");\n values.put(\"dob\", new Date());\n values.put(\"firstName\", \"CreateFName\");\n values.put(\"lastName\", \"CreateLName\");\n values.put(\"middleName\", \"CreateMName\");\n values.put(\"pasword\", \"user\");\n values.put(\"address\", \"CreateAddress\");\n values.put(\"areacode\", \"CreateAddressLine\");\n values.put(\"city\", \"CreateCity\");\n values.put(\"country\", \"CreateCountry\");\n values.put(\"road\", \"CreateRoad\");\n values.put(\"suberb\", \"CreateSuberb\");\n values.put(\"cell\", \"CreateCell\");\n values.put(\"email\", \"user\");\n values.put(\"homeTell\", \"CreateHomeTell\");\n values.put(\"workTell\", \"CreateWorkTell\");\n createUser.createNewUser(values);\n\n Useraccount useraccount = useraccountCrudService.findById(ObjectId.getCurrentUserAccountId());\n Assert.assertNotNull(useraccount);\n\n Garage garage = garageCrudService.findById(ObjectId.getCurrentGarageId());\n Assert.assertNotNull(garage);\n\n Saleshistory saleshistory = saleshistoryCrudService.findById(ObjectId.getCurrentSalesHistoryId());\n Assert.assertNotNull(saleshistory);\n }", "@Before\n public void createSimpleList() {\n testList = new SimpleList();\n }", "@Before\n public void setUp()\n {\n room1 = new Room(\"in room 1\");\n room2 = new Room(\"in room 2\");\n room1.setExit(\"north\", room2);\n room2.setExit(\"south\", room1);\n item1 = new Item(\"gold\", \"sack of gold\", 6.8);\n item2 = new Item(\"potatoes\", \"sack of potatoes\", 15.6);\n room1.addItem(item1);\n room2.addItem(item2);\n player1 = new Player(room1);\n string1Room1 = room1.getLongDescription();\n string1Room2 = room2.getLongDescription();\n }", "@Test\n void scCreation() {\n StandardCalc sc = new StandardCalc();\n }", "public StoreTest() {\n }", "public PersonsRepositoryTest() {\n }", "TestTarget createTestTarget();", "@Test\r\n\tpublic void testCreateNewTestManager() {\r\n\t\tTestManager theTestManager = new TestManager();\r\n\t\tString report = theTestManager.toString();\r\n\t\tassertEquals(\"There are no current test scores\", report);\r\n\t}", "public BookcaseTest () {\n }", "public ObjectsPublicTest(String name) {\n\t\tsuper(name);\n\t}", "@Before\n public void setUp() {\n response = new DocumentsResponse();\n testDocList = new ArrayList<>();\n testDocList.add(new DocumentTestData().createTestDocument(1));\n }", "@Before\n public void setupTests()\n {\n Service s1 = new Service();\n s1.setCategory(\"HAIR\");\n\n repository.save(s1);\n\n }", "default D createTest(){\n return create();\n }", "@Test\r\n\tpublic void constructorTests() {\n\t\tLibraryNode ln = ml.createNewLibrary(\"http://example.com/resource\", \"RT\", pc.getDefaultProject());\r\n\t\tBusinessObjectNode bo = ml.addBusinessObjectToLibrary(ln, \"MyBo\");\r\n\t\tNode node = bo;\r\n\t\tTLResource mbr = new TLResource();\r\n\t\tmbr.setName(\"MyTlResource\");\r\n\t\tmbr.setBusinessObjectRef(bo.getTLModelObject());\r\n\r\n\t\t// When - used in LibraryNode.generateLibrary()\r\n\t\tTLResource tlr = new ResourceBuilder().buildTL(); // get a populated tl resource\r\n\t\ttlr.setBusinessObjectRef(bo.getTLModelObject());\r\n\t\tResourceNode rn1 = new ResourceNode(tlr, ln);\r\n\r\n\t\t// When - used in tests\r\n\t\tResourceNode rn2 = ml.addResource(bo);\r\n\r\n\t\t// When - used in NodeFactory\r\n\t\tResourceNode rn3 = new ResourceNode(mbr);\r\n\t\tln.addMember(rn3);\r\n\r\n\t\t// When - used in ResourceCommandHandler to launch wizard\r\n\t\tResourceNode rn4 = new ResourceNode(node.getLibrary(), bo);\r\n\t\t// When - builder used as in ResourceCommandHandler\r\n\t\tnew ResourceBuilder().build(rn4, bo);\r\n\r\n\t\t// Then - must be complete\r\n\t\tcheck(rn1);\r\n\t\tcheck(rn2);\r\n\t\tcheck(rn3);\r\n\t\tcheck(rn4);\r\n\t}", "public HockeyTeamTest()\n {\n }", "public TestPrelab2()\n {\n }", "@Test\n\tpublic void constructortest() {\n\t\tMainDish dessertTest = new MainDish(\"quiche\");\n\t\tassertTrue(dessertTest.getName().equals(\"quiche\"));\n\t}", "protected GuiTestObject terraced() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"terraced\"));\n\t}", "public void shouldCreate() {\n }", "@Before public void setUp() {\n // Insert some initial values into the inheritance\n // tree\n //\n\n //\n treeManager = new InheritanceTreeManager(\n GNode.create(\"ClassDeclaration\"));\n // Put in some example classes\n GNode newClass = GNode.create(\"ClassDeclaration\", \"Point\");\n\n //\n ArrayList<String> point = new ArrayList<String>();\n point.add(\"qimpp\");\n point.add(\"Point\");\n treeManager.insertClass(point, null, newClass);\n\n //\n //\n\n //\n\n newClass = GNode.create(\"ClassDeclaration\", \"ColorPoint\");\n ArrayList<String> ColorPoint = new ArrayList<String>();\n ColorPoint.add(\"qimpp\");\n ColorPoint.add(\"ColorPoint\");\n treeManager.insertClass(ColorPoint, point, newClass);\n //\n\n //\n // Test that classes with the same name in different\n // packages are distinct\n //\n newClass = GNode.create(\"ClassDeclaration\", \"OtherColorPoint\");\n ColorPoint = new ArrayList<String>( \n Arrays.asList(\"org\", \"fake\", \"ColorPoint\") );\n treeManager.insertClass(ColorPoint, null, newClass);\n\n \n }", "@BeforeClass\n public void initgeometOb() {\n\tthis.geometOb = new GeometricObjects();\n }", "@Test\n public void testCreate() {\n System.out.println(\"---create---\");\n //Test1: Tests whether the created ADTList is empty\n ADTList instance = ADTList.create();\n assertTrue(instance.isEmpty());\n System.out.println(\"Test1 OK\");\n }", "@Test\n public void testUserDomainConstructorWithParams(){Not sure if this works\n //\n Set<RestaurantDomain> testRestaurantDomain = new HashSet<>();\n //\n\n testUserDomain = new UserDomain(1, \"[email protected]\", \"password\", \"jDawg\", \"John\", \"Dawson\", testRestaurantDomain);\n\n new Verifications(){{\n assertEquals(1, testUserDomain.getId());\n assertEquals(\"[email protected]\", testUserDomain.getEmail());\n assertEquals(\"password\", testUserDomain.getPassword());\n assertEquals(\"jDawg\", testUserDomain.getUserName());\n assertEquals(\"John\", testUserDomain.getFirstName());\n assertEquals(\"Dawson\", testUserDomain.getFirstName());\n assertEquals(testRestaurantDomain, testUserDomain.getRestaurantDomain());\n }};\n }", "@Test\n void createParkingLot() {\n }", "public void testCtor() {\r\n new FileSystemPersistence();\r\n }", "public GenericTest()\n {\n }", "@Test\n\tpublic void constructortest3() {\n\t\tMainDish dessertTest = new MainDish(\"quiche\");\n\t\tassertTrue(dessertTest.isGlutenFree()==false);\n\t}", "@Test\n\tpublic void constructortest4() {\n\t\tMainDish dessertTest = new MainDish(\"quiche\");\n\t\tassertTrue(dessertTest.isVegetarian()==false);\n\t}", "@Test\r\n\tpublic void createChapterDriver() {\r\n\t\tfinal Object testingData[][] = {\r\n\t\t\t{ // Successful test\r\n\t\t\t\t\"producer3\", 305, null\r\n\t\t\t}, { // Content without year\r\n\t\t\t\t\"producer1\", 305, IllegalArgumentException.class\r\n\t\t\t}, { // A user tries to create an content \r\n\t\t\t\t\"user3\", 305, IllegalArgumentException.class\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tfor (int i = 0; i < testingData.length; i++)\r\n\t\t\tthis.createChapterTemplate((String) testingData[i][0], (Integer) testingData[i][1], (Class<?>) testingData[i][2]);\r\n\t}", "@Test\n public void init() {\n }", "public void test_ctor() {\n assertNotNull(\"instance should be created.\", instance);\n }", "@Test\n public void testCrearArchivo() {\n System.out.println(\"CrearArchivo\");\n String Ruta = \"\";\n RandomX instance = null;\n instance.CrearArchivo(Ruta);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "protected void setUp() {\n // set up for test\n instance = new GeneralizationImpl();\n GeneralizableElement mockChild = EasyMock.createMock(GeneralizableElement.class);\n GeneralizableElement mockParent = EasyMock.createMock(GeneralizableElement.class);\n Classifier mockPowertype = EasyMock.createMock(Classifier.class);\n instance.setChild(mockChild);\n instance.setDiscriminator(TEST_DISCRIMINATORS[0]);\n instance.setParent(mockParent);\n instance.setPowertype(mockPowertype);\n\n }" ]
[ "0.688235", "0.6825746", "0.667054", "0.6627714", "0.65513265", "0.654693", "0.65339875", "0.6533462", "0.65036607", "0.65008783", "0.6487296", "0.6469236", "0.6413299", "0.6396366", "0.63837415", "0.6378275", "0.6333035", "0.6331762", "0.6328913", "0.6324444", "0.6321486", "0.6313075", "0.63115895", "0.63056433", "0.6303164", "0.63019246", "0.6289675", "0.6286299", "0.62777835", "0.62693214", "0.62568223", "0.62532777", "0.6252418", "0.62463313", "0.6235834", "0.62352943", "0.62296987", "0.6229532", "0.6226827", "0.62234735", "0.6219716", "0.6207938", "0.6199505", "0.6195701", "0.6185974", "0.61805147", "0.61779374", "0.6175649", "0.6172637", "0.6170706", "0.6153973", "0.614527", "0.6142111", "0.61396486", "0.6129176", "0.61227924", "0.61217695", "0.6118892", "0.61185586", "0.6112171", "0.6110728", "0.6106811", "0.61049634", "0.6104752", "0.60991657", "0.6098504", "0.60980844", "0.6096093", "0.6086293", "0.607733", "0.6070296", "0.6067684", "0.6064233", "0.60638285", "0.60626197", "0.60581285", "0.605631", "0.6043133", "0.6039773", "0.6034893", "0.6034552", "0.60287654", "0.602748", "0.60243976", "0.6023098", "0.60229254", "0.6020771", "0.6018754", "0.60112095", "0.6009973", "0.60077477", "0.60072905", "0.6002958", "0.6002144", "0.6002046", "0.5996326", "0.59953874", "0.5994453", "0.5993202", "0.59899974", "0.59876466" ]
0.0
-1
3 Mins get data
public void listImage() { GlobalValue.listFlags = new ArrayList<Integer>(); GlobalValue.listFlags.add(R.drawable.icon_noname); GlobalValue.listFlags.add(R.drawable.icon_brazil); GlobalValue.listFlags.add(R.drawable.icon_croatia); GlobalValue.listFlags.add(R.drawable.icon_mexico); GlobalValue.listFlags.add(R.drawable.icon_cameroon); GlobalValue.listFlags.add(R.drawable.icon_spain); GlobalValue.listFlags.add(R.drawable.icon_netherland); GlobalValue.listFlags.add(R.drawable.icon_chile); GlobalValue.listFlags.add(R.drawable.icon_australia); GlobalValue.listFlags.add(R.drawable.icon_colombia); GlobalValue.listFlags.add(R.drawable.icon_ivory_coast); GlobalValue.listFlags.add(R.drawable.icon_japan); GlobalValue.listFlags.add(R.drawable.icon_greece); GlobalValue.listFlags.add(R.drawable.icon_uruguay); GlobalValue.listFlags.add(R.drawable.icon_costa_rica); GlobalValue.listFlags.add(R.drawable.icon_england); GlobalValue.listFlags.add(R.drawable.icon_italy); GlobalValue.listFlags.add(R.drawable.icon_switzerland); GlobalValue.listFlags.add(R.drawable.icon_ecuador); GlobalValue.listFlags.add(R.drawable.icon_honduras); GlobalValue.listFlags.add(R.drawable.icon_france); GlobalValue.listFlags.add(R.drawable.icon_argentina); GlobalValue.listFlags.add(R.drawable.icon_bosnia); GlobalValue.listFlags.add(R.drawable.icon_iran); GlobalValue.listFlags.add(R.drawable.icon_nigeria); GlobalValue.listFlags.add(R.drawable.icon_germany); GlobalValue.listFlags.add(R.drawable.icon_portugal); GlobalValue.listFlags.add(R.drawable.icon_ghana); GlobalValue.listFlags.add(R.drawable.icon_usa); GlobalValue.listFlags.add(R.drawable.icon_belgium); GlobalValue.listFlags.add(R.drawable.icon_algeria); GlobalValue.listFlags.add(R.drawable.icon_russia); GlobalValue.listFlags.add(R.drawable.icon_korea); GlobalValue.listFlags.add(R.drawable.icon_noname); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void readData()\n {\n while(System.currentTimeMillis() - start <= durationMillis)\n {\n counters.numRequested.incrementAndGet();\n readRate.acquire();\n\n if (state.get() == SimulationState.TEARING_DOWN)\n break;\n }\n }", "private void getWeatherData() {\n System.out.println(\"at getWeather\");\n String url = \"https://api.openweathermap.org/data/2.5/onecall/timemachine?lat=\";\n url += databaseHandler.getSingleExperimentInfoValue(experimentNumber, DatabaseHandler.SENDER_LATITUDE);\n url += \"&lon=\" + databaseHandler.getSingleExperimentInfoValue(experimentNumber, DatabaseHandler.SENDER_LONGITUDE);\n url += \"&dt=\" + databaseHandler.getSingleExperimentInfoValue(experimentNumber, DatabaseHandler.START_TIME).substring(0, 10);\n url += \"&appid=your openweathermap API key\";\n new ClientThread(ClientThread.GET_WEATHER, new String[]{url, Integer.toString(experimentNumber)}, this).start();\n }", "@Override\n public void returnData(int hour, int min, int index) {\n switch (index) {\n case 1:\n mTimer1hour = hour;\n mTimer1min = min;\n\n //send data\n sendTimeData(1,true);\n break;\n case 2:\n mTimer2hour = hour;\n mTimer2min = min;\n\n //send data\n sendTimeData(2,true);\n break;\n }\n }", "private void getSleepData() {\n\n }", "int getSampleMs();", "public DataUsage getusageData(int uid)\n {\n Calendar calendar=Calendar.getInstance();\n long to=calendar.getTimeInMillis();\n calendar.add(Calendar.DAY_OF_MONTH,-30);\n long from=calendar.getTimeInMillis();\n\n double total=0;\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) {\n NetworkStatsManager service=context.getSystemService(NetworkStatsManager.class);\n NetworkStats bucket= null;\n try {\n bucket = service.queryDetailsForUid(ConnectivityManager.TYPE_WIFI,\"\",from,to,uid);\n double received=0;\n double send=0;\n\n //get the details along with the time of data usage of an application\n while (bucket.hasNextBucket())\n {\n NetworkStats.Bucket tempbucket=new NetworkStats.Bucket();\n bucket.getNextBucket(tempbucket);\n received=(double)tempbucket.getRxBytes()+received;\n send=(double)tempbucket.getTxBytes()+send;\n }\n bucket.close();\n DataUsage temp =new DataUsage();\n double uploaded=send/(1024*1024);\n double downloaded=received/(1024*1024);\n\n total=(received+send)/(1024*1024);\n\n temp.setDownload(\"\"+String.format(\"%.2f\",downloaded));\n temp.setUpload(\"\"+String.format(\"%.2f\",uploaded));\n temp.setTotal(\"\"+String.format(\"%.2f\",total));\n return temp;\n\n } catch (RemoteException e) {\n e.printStackTrace();\n }\n\n }\n\n return null;\n }", "private void gettimes() {\n\t\tCursor c=mydb.rawQuery(\"SELECT * FROM timedata \", null);\n\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata after retriving completed @@@@@@@@@@@@@@@@@@@@@\");\n\t\t c.moveToFirst();\n\t\t \n\t\t if(c!=null)\n\t\t {\n\t\t\t do{\n\t\t\t\t \n\t\t\t\t int c1=c.getColumnIndex(\"fromtime\");\n\t\t\t\t if(c.getCount()>0)\n\t\t\t\t dfromtime=c.getString(c1);\n\t\t\t\t System.out.println(\" $$$$$$$$$$$$$$$$$$$$$$$ fetchdata \"+dfromtime);\n\t\t\t\t int c2=c.getColumnIndex(\"totime\");\n\t\t\t\t dtotime=c.getString(c2);\n\t\t\t\t \n\t\t\t }while(c.moveToNext());\n\t\t\t c.close();\n\t\t\t mydb.close();\n\t\t }\n\t}", "@Override\n\t\tprotected JSONObject doInBackground(Integer... params) {\n\t\t\t{\n\t\t\t\n\t\t \n\t\t Log.d(\"mylog\", \"SerLat:\"+latitude+\" :\"+longitude);\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\t/*\n\t\t\ttry {\n\t\t\t//\tThread.sleep(3000);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}*/\n\t\t\twhile (now.toMillis(false)-curt<3000){\n\t\t\t\tnow.setToNow();\n\t\t\t}\n\t\t\treturn null;\n\t\t}", "private void getFlowData() {\n\t\tdbService.getCacheLastUpdated(Tables.STATIONS, new ListCallback<GenericRow>() {\n\n\t\t\t@Override\n\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onSuccess(List<GenericRow> result) {\n\t\t\t\tString currentMap = localStorage.getItem(\"KEY_CURRENT_MAP\");\n\t\t\t\tboolean shouldUpdate = true;\n\n\t\t\t\tif (!result.isEmpty()) {\n\t\t\t\t\tdouble now = System.currentTimeMillis();\n\t\t\t\t\tdouble lastUpdated = result.get(0).getDouble(CachesColumns.CACHE_LAST_UPDATED);\n\t\t\t\t\tshouldUpdate = (Math.abs(now - lastUpdated) > (3 * 60000)); // Refresh every 3 minutes.\n\t\t\t\t}\n\n\t\t\t view.showProgressIndicator();\n\t\t\t \n\t\t\t if (!currentMap.equalsIgnoreCase(\"seattle\")) {\n\t\t\t \tshouldUpdate = true;\n\t\t\t\t\tlocalStorage.setItem(\"KEY_CURRENT_MAP\", \"seattle\");\n\t\t\t }\n\t\t\t \n\t\t\t if (shouldUpdate) {\n\t\t\t \ttry {\n\t\t\t \t String url = Consts.HOST_URL + \"/api/flowdata/MinuteDataNW\";\n\t\t\t \t JsonpRequestBuilder jsonp = new JsonpRequestBuilder();\n\t\t\t \t jsonp.setTimeout(30000); // 30 seconds\n\t\t\t \t jsonp.requestObject(url, new AsyncCallback<FlowDataFeed>() {\n\n\t\t\t \t\t\t@Override\n\t\t\t \t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t \t\t\t\tview.hideProgressIndicator();\n\t\t\t \t\t\t\tGWT.log(\"Failure calling traffic flow api.\");\n\t\t\t \t\t\t}\n\n\t\t\t \t\t\t@Override\n\t\t\t \t\t\tpublic void onSuccess(FlowDataFeed result) {\n\t\t\t \t\t\t\tstationItems.clear();\n\t\t\t \t\t\t\t\n\t\t\t \t\t\t\tif (result.getFlowData() != null) {\n\t\t\t \t\t\t\t\tint numStations = result.getFlowData().getStations().length();\n\t\t\t \t\t\t\t\tString timestamp = result.getFlowData().getTimestamp();\n\t\t\t \t\t\t\t\ttimestamp = timestamp.replaceAll(\"PST|PDT\", \"\");\n\t\t\t \t\t\t\t\tDate date = parseDateFormat.parse(timestamp);\n\t\t\t \t\t\t\t\tString lastUpdated = displayDateFormat.format(date);\n\t\t\t \t\t\t\t\tlocalStorage.setItem(\"KEY_LAST_UPDATED\", lastUpdated);\n\t\t\t \t\t\t\t\tStationItem item;\n\t\t\t \t\t\t\t\t\n\t\t\t \t\t\t\t\tfor (int i = 0; i < numStations; i++) {\n\t\t\t \t\t\t\t\t\tString stationId = result.getFlowData().getStations().get(i).getId();\n\t\t\t \t\t\t\t\t\tString status = result.getFlowData().getStations().get(i).getStat();\n\t\t\t \t\t\t\t\t\t\n\t\t\t \t\t\t\t\t\tif (stationItemsMap.containsKey(stationId) && status.equalsIgnoreCase(\"good\")) {\n\t\t\t\t \t\t\t\t\t\titem = new StationItem();\n\t\t\t\t \t\t\t\t\t\t\n\t\t\t\t \t\t\t\t\t\titem.setId(stationId);\n\t\t\t \t\t\t\t\t\t\titem.setVolume(result.getFlowData().getStations().get(i).getVol());\n\t\t\t \t\t\t\t\t\t\titem.setSpeed(result.getFlowData().getStations().get(i).getSpd());\n\t\t\t \t\t\t\t\t\t\titem.setOccupancy(result.getFlowData().getStations().get(i).getOcc());\n\t\t\t \t\t\t\t\t\t\t\n\t\t\t \t\t\t\t\t\t\tstationItems.add(item);\n\t\t\t \t\t\t\t\t\t}\n\t\t\t \t\t\t\t\t}\n\t\t\t \t\t\t\t}\n\t\t\t \t\t\t\t\n\t\t\t \t\t\t\t// Purge existing stations covered by incoming data\n\t\t\t \t\t\t\tdbService.deleteStations(new VoidCallback() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\t\t\t// Bulk insert all the new stations and data.\n\t\t\t\t\t\t\t\t\t\tdbService.insertStations(stationItems, new RowIdListCallback() {\n\n\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t\t\t\t\t\t\t\t\t\tview.hideProgressIndicator();\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void onSuccess(List<Integer> rowIds) {\n\t\t\t\t\t\t\t\t\t\t\t\t// Update the cache table with the time we did the update\n\t\t\t\t\t\t\t\t\t\t\t\tList<CacheItem> cacheItems = new ArrayList<CacheItem>();\n\t\t\t\t\t\t\t\t\t\t\t\tcacheItems.add(new CacheItem(Tables.STATIONS, System.currentTimeMillis()));\n\t\t\t\t\t\t\t\t\t\t\t\tdbService.updateCachesTable(cacheItems, new VoidCallback() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Get all the stations and data just inserted.\n\t\t\t\t\t\t\t\t\t\t\t\t \tdbService.getStations(new ListCallback<GenericRow>() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onSuccess(List<GenericRow> result) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetStations(result);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t \t\t\t}\n\t\t\t \t\t});\n\n\t\t\t \t} catch (Exception e) {\n\t\t\t \t\t// TODO Do something with the exception\n\t\t\t \t}\n\t\t\t } else {\n\t\t\t \tdbService.getStations(new ListCallback<GenericRow>() {\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onFailure(DataServiceException error) {\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onSuccess(List<GenericRow> result) {\n\t\t\t\t\t\t\tgetStations(result);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t }\n\t\t\t}\n\t\t});\n\t}", "private int[] getAveragePace(){\n timeElapsed = SystemClock.elapsedRealtime() - timer.getBase();\n int seconds = (int)timeElapsed / 1000;\n\n double totalKilometer = totalDistanceMeters / 1000;\n double secondPerKilometer = seconds / totalKilometer;\n int minute = (int)(Math.floor(secondPerKilometer/60));\n int second = (int)secondPerKilometer % 60;\n\n return new int[] {minute,second};\n }", "public float getSpeed(List<Integer> collectTime);", "public static int GetMills() {\r\n return (int) System.currentTimeMillis() - StartUpTimeMS;\r\n }", "private VoltTable[] getMemoryData(long interval, final long now) {\n ParameterSet parameters = new ParameterSet();\n parameters.setParameters((byte)interval, now);\n \n return this.executeOncePerSite(SysProcFragmentId.PF_nodeMemory,\n SysProcFragmentId.PF_nodeMemoryAggregator,\n parameters);\n }", "private int totalTime()\n\t{\n\t\t//i'm using this varaible enough that I should write a separate method for it\n\t\tint totalTime = 0;\n\t\tfor(int i = 0; i < saveData.size(); i++)//for each index of saveData\n\t\t{\n\t\t\t//get the start time\n\t\t\tString startTime = saveData.get(i).get(\"startTime\");\n\t\t\t//get the end time\n\t\t\tString endTime = saveData.get(i).get(\"endTime\");\n\t\t\t//****CONTINUE\n\t\t\t//total time in minutes\n\t\t}\n\t}", "private int syncEnergyData() throws IOException {\n\n // initialize some useful dates\n Calendar today = Calendar.getInstance();\n //today.add(Calendar.MINUTE, -15);\n Calendar year_ago = Calendar.getInstance();\n year_ago.add(Calendar.YEAR, -1);\n Calendar week_ago = Calendar.getInstance();\n week_ago.add(Calendar.MONTH, -1);\n Calendar day_ago = Calendar.getInstance();\n day_ago.add(Calendar.DATE, -1);\n\n\n String consumption_point = \"carleton_campus_en_use\";\n String production_point = \"carleton_wind_production\";\n\n //get the two live data points for first screen\n\n String quarter_hourly_consumption = readEnergyJSON(day_ago.getTime(), today.getTime(), \"quarterhour\", consumption_point);\n Log.i(\"quarter_hourly_consumption\", quarter_hourly_consumption);\n // update liveConsumption based on data from most recent complete 1/4 hour\n String[] consumption_list = quarter_hourly_consumption.split(\"[\\n|\\r]\");\n String recent_consumption_line = consumption_list[consumption_list.length - 2];\n liveConsumption = (Double.parseDouble(recent_consumption_line.substring(recent_consumption_line.indexOf(';') + 1, recent_consumption_line.length())));\n\n // quarter-hourly windmill1 production for past 24 hours\n String quarter_hourly_production1 = readEnergyJSON(day_ago.getTime(), today.getTime(), \"quarterhour\", production_point);\n // update liveProduction based on data from most recent complete 1/4 hour\n String[] production1_list = quarter_hourly_production1.split(\"[\\n|\\r]\");\n String recent_production1_line = production1_list[production1_list.length - 2];\n liveProduction1 = (Double.parseDouble(recent_production1_line.substring(recent_production1_line.indexOf(';') + 1, recent_production1_line.length())));\n\n // update values stored in sharedPref for next time app loads\n SharedPreferences sharedPref = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor ed = sharedPref.edit();\n ed.putFloat(\"liveConsumption\", (float)liveConsumption);\n ed.putFloat(\"liveProduction1\", (float)liveProduction1);\n ed.commit();\n\n\n // get all the graph data and save in files\n String[] time_units = {\"day\", \"hour\", \"quarterhour\"};\n Date[] start_dates = {year_ago.getTime(), week_ago.getTime(), day_ago.getTime()};\n String[] points = {consumption_point, production_point};\n String[] dependent_variables = {\"consumption\", \"production1\"};\n\n for (int i = 0; i < time_units.length; i++) {\n String increment = time_units[i];\n Date start = start_dates[i];\n\n for (int j = 0; j < points.length; j++) {\n String data = readEnergyJSON(start, today.getTime(), increment, points[j]);\n\n try {\n DataOutputStream out = new DataOutputStream(\n context.openFileOutput(increment + \"_\" + dependent_variables[j] +\n \"_data\", Context.MODE_PRIVATE));\n out.writeUTF(data);\n out.close();\n } catch (IOException e) {\n Log.i(\"syncEnergyData\", \"I/O Error\");\n }\n }\n }\n return 0;\n }", "int getResponseTimeNsec();", "float getTimeRecord();", "protected double getDataRate() {\n\t\treturn (double) getThroughput() / (double) getElapsedTime();\n\t}", "private void getCustomerData() {\r\n\t\t// get next customer data : from file or random number generator\r\n\t\t// set anyNewArrival and transactionTime\r\n\t\t// see readme file for more info\r\n\r\n\t\tif (dataSource == 1) { // file\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0/1 random or file input\r\n\t\t\t\t\tif (dataFile.hasNextInt()) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// checks for a line of information\r\n\t\t\t\t\t\tint data1 = dataFile.nextInt();\t\t\t\t\t\t\t\t\t\t\t\t\t\t// every line has 2 numbers of info\r\n\t\t\t\t\t\tint data2 = dataFile.nextInt();\r\n\t\t\t\t\t\tanyNewArrival \t= (((data1%100)+1)<= chancesOfArrival);\t\t// computes anyNewArrival boolean\r\n\t\t\t\t transactionTime = (data2%maxTransactionTime)+1;\t\t\t\t\t// computes transactionTime integer\r\n\t\t\t\t\t}\r\n\t\t} else { // random\r\n\t\t\tdataRandom = new Random();\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// generates random boolean and int\r\n\t\t\tanyNewArrival \t= ((dataRandom.nextInt(100) + 1) <= chancesOfArrival);\r\n\t\t\ttransactionTime = dataRandom.nextInt(maxTransactionTime) + 1;\r\n\t\t}\r\n\t}", "private long getCurrentTimeInMillionSeconds(){\n Date currentData = new Date();\n return currentData.getTime();\n }", "private void getData(){\r\n \tsetProgressBarIndeterminateVisibility(true);\r\n \t\r\n\t String url = \"HospitalInfo?hospital=\" + URLEncoder.encode(hospital) + \"&ssid=\" + UserInfo.getSSID();\r\n\t download = new HttpGetJSONConnection(url, mHandler, TASK_GETDATA);\r\n\t download.start();\r\n }", "long getResponseTimeSec();", "int getMPPerSecond();", "public void getLatestDataFromMyAPI(String urlprimit) throws URISyntaxException, IOException {\n dateCurente.clear();\n ContextForStrategy contextForStrategy = new ContextForStrategy(new GetLastDataStrategy());\n dateCurente = contextForStrategy.executeStrategy(urlprimit);\n int i = 0;\n for(StructuraDateAQI element : dateCurente)\n {\n datefinale.add(new DataFromWAQI(element.getPM25(), element.getPM10(), element.getO3(), element.getNO2(), element.getSO2(), element.getCO(), element.getLatitude(), element.getLongitude(), element.getDataSiOra(),element.getLocationName(), element.getUserSender()));\n if(element.getPM10()>100)\n {\n String realadress = GetRealAdressWithLatLng.getAddress(Double.parseDouble(element.getLatitude()),Double.parseDouble(element.getLongitude()), context);\n createNotification(\"Indicele PM10 are valoare \"+element.getPM10()+ \" ajungand la un nivel critic\\n\" +\n \"Locatia exacta: \"+realadress + \"\\n\"+\n \"User-ul care a generat datele este \"+element.getUserSender());\n }\n i++;\n }\n }", "Map<Date, Float> getFullCPM(Step step) throws SQLException;", "Request mo35725m0();", "BigInteger getResponse_time();", "public static void ObtenerDatosHistorial_Nutricion(Context context) {\n\n queue = Volley.newRequestQueue(context);\n\n String url = \"http://161.35.14.188/Persuhabit/HistorialNutri\";//establece ruta al servidor para obtener los datos\n JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method.GET, url, null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n\n try {\n JSONArray jsonArray = response.getJSONArray(\"data\");//\n\n for (int i = 0; i < jsonArray.length(); i++) {\n JSONObject jsonObject = jsonArray.getJSONObject(i);\n\n }\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n\n }\n });\n queue.add(jsonObjectRequest);\n }", "public void run() {\n\t\t\t \t \n\t\t\t \t test.load1();\n\t\t\t \t //System.out.println(\"heart beat report\"+System.currentTimeMillis());\n\t\t\t }", "private float[] initialSpeedData () {\n float[] ret = new float[ this.speedQueue.size() ];\n for ( int i = 0, len = ret.length ; i < len ; i++ )\n ret[ i ] = this.speedQueue.poll();\n return ret;\n }", "public void run() {\n\t\t\t \t \n\t\t\t \t test.load2();\n\t\t\t \t //System.out.println(\"heart beat report\"+System.currentTimeMillis());\n\t\t\t }", "@Override\n\tpublic int getPositionDataRefreshMinute() {\n\t\ttry {\n\t\t\tProperties p = new Properties();\n\t\t\tInputStream is=this.getClass().getResourceAsStream(\"/system.properties\"); \n\t\t\tp.load(is); \n\t\t\tis.close();\n\t\t\treturn Integer.parseInt(p.getProperty(\"position_info_refresh_millisecond\"));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn 0;\n\t\t}\n\t}", "public void realTimeUpdate() {\n if ( millis() - lastTime >= 60000 ) {\n // *Load all_hour data\n eqData.init(hourURL);\n eqData.update(hour);\n println( \"all_hour data updated!\" );\n isHour = true;\n lastTime = millis();\n }\n}", "public static void main(String[] args) {\n\t\tHashTable<String, Double> table = new HashTable<String, Double>();\n\t\tLoader.load(table,\n\t\t\t\t\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=10000\");\n\t\tSystem.out.println(\"1000 loaded.\");\n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=11000\");\n\t\tSystem.out.println(\"2000 loaded.\"); \n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=12000\");\n\t\tSystem.out.println(\"3000 loaded.\"); \n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=13000\");\n\t\tSystem.out.println(\"4000 loaded.\"); \n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=14000\");\n\t\tSystem.out.println(\"5000 loaded.\"); \n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=15000\");\n\t\tSystem.out.println(\"6000 loaded.\"); \n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=16000\");\n\t\tSystem.out.println(\"7000 loaded.\");\n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=17000\");\n\t\tSystem.out.println(\"8000 loaded.\");\n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=18000\");\n\t\tSystem.out.println(\"9000 loaded.\");\n\t\tLoader.load(table,\"https://www.ncdc.noaa.gov/cdo-web/api/v2/stations?limit=1000&offset=19000\");\n\t\tSystem.out.println(\"10000 loaded.\");\n\t}", "private long getSampleTime() {\n return System.currentTimeMillis();\n\n }", "private static Map<Task, Double> getResponseFor(Request request) throws ParseException {\n List<Task> availableTasks = new ArrayList<>();// taskDAO.getFutureTasks();\n Byom bakshi = instantiateSatyanveshi();\n return bakshi.getScoresMap(availableTasks, request);\n }", "public long [] getData(Long index);", "public long getTotalTime() {\n/* 73 */ return this.totalTime;\n/* */ }", "public List<Map<String, String>> getData() {\n List<Map<String, String>> data = null;\n data = new ArrayList<Map<String, String>>();\n\n try {\n ConnectionClass connectionClass = new ConnectionClass();\n connect = connectionClass.CONN();\n if (connect == null) {\n ConnectionResult = \"Check your Internet Connection\";\n } else {\n String query = \"Select No,MachineID,Line,Station,Repair_Time_Start,Repair_Time_Finish,Repair_Duration\" +\n \" from machinestatustest where Line = '\" + Line + \"' and Station = '\" + Station + \"' ORDER BY Repair_Time_Start DESC\";\n Statement stmt = connect.createStatement();\n ResultSet rs = stmt.executeQuery(query);\n while (rs.next()) {\n String No = rs.getString(\"No\");\n String Line = rs.getString(\"Line\");\n String MachineID = rs.getString(\"MachineID\");\n String Station = rs.getString(\"Station\");\n String Repair_Time_Start = rs.getString(\"Repair_Time_Start\");\n String Repair_Time_Finish = rs.getString(\"Repair_Time_Finish\");\n String Repair_Duration = rs.getString(\"Repair_Duration\");\n Map<String, String> datanum = new HashMap<String, String>();\n datanum.put(\"No\", No);\n datanum.put(\"MachineID\", MachineID);\n datanum.put(\"Line\", Line);\n datanum.put(\"Station\", Station);\n datanum.put(\"Repair_Time_Start\", Repair_Time_Start);\n datanum.put(\"Repair_Time_Finish\", Repair_Time_Finish);\n datanum.put(\"Repair_Duration\", Repair_Duration);\n data.add(datanum);\n }\n ConnectionResult = \"Successful\";\n isSuccess = true;\n connect.close();\n }\n } catch (Exception ex) {\n isSuccess = false;\n ConnectionResult = ex.getMessage();\n }\n return data;\n }", "public static void calculatePersistentCSMACD() {\n ArrayList <Integer> arrivalRate = new ArrayList<Integer>();\n arrivalRate.add(7);\n arrivalRate.add(10);\n arrivalRate.add(20);\n double transmissionTime;\n for (int rate: arrivalRate) {\n System.out.printf(\"The values for a persistent CSMACD simulation with packet arrival rate of %d. (Number of nodes, efficiency, throughput(bps), throughput(mbps) %n\", rate);\n //Set transmission time for TA simulation so it doesnt take too long, we checked to see if the results are within +/- 5% in our report\n for (int nodes = 20; nodes <= 100; nodes += 20) {\n if(nodes > 60 && rate >= 10 ){\n transmissionTime = 100;\n } else if (rate == 20) {\n transmissionTime = 100;\n } else{\n transmissionTime = 1000;\n }\n Persistent persistentCSMACD = new Persistent(nodes, rate, 1000000, 1500, 10, 200000000, transmissionTime);\n persistentCSMACD.initalizeNodes();\n persistentCSMACD.startSimulation();\n persistentCSMACD.calculateEfficiency();\n }\n }\n\n }", "@Override\n protected ArrayList<Map<String,Object>> doInBackground(Void... params) {\n try {\n Thread.sleep(2000);\n } catch (InterruptedException e) {\n }\n return datas;\n }", "long getNextCollectTimestampMs();", "@Override\n public void run()\n {\n Double yearsSumArray[] = {0.0,0.0 };\n LinkedHashMap<Integer,Double > data_years = new LinkedHashMap<>();\n SortedSet<Long> keys = new TreeSet<>(data.keySet());\n for (Long key : keys)\n {\n Double value = data_years.get(key);\n Date date = new Date(key);\n int year = getYearNumber(date);\n if(data_years.get(year) == null)\n data_years.put(year,value);\n else\n data_years.put(year,data_years.get(year)+value);\n\n }\n Iterator iterator = data_years.entrySet().iterator();\n while (iterator.hasNext())\n {\n LinkedHashMap.Entry<Integer, Double>set = (LinkedHashMap.Entry<Integer, Double>) iterator.next();\n getActivity().runOnUiThread(new OneShotTask(label, datasetIndex,(long)set.getKey(),set.getValue()));\n }\n\n }", "private int micRecTime(long freeSpace) {\n\n return (int) (freeSpace / 5898240);\n }", "public void run() {\n if (Integer.parseInt(mCurrentWeight) < 3) {\n mZeroValueCounter++;\n if (mZeroValueCounter > 3) { //3 seconds pasted throw data to database\n InsertToDataBase();\n\n }\n } else {\n mNumberOfSecondssCounter = 0;\n mZeroValueCounter = 0;\n }\n\n mHandler.postDelayed(mTicker, 1000);\n\n\n }", "public double readClock()\n {\n return (System.currentTimeMillis() - startingTime) / 1000.0;\n }", "void fetchStartHousesData();", "int getHeartRate();", "public static int getMeal(int data, int distancea, int distanceb, int distancec, int sum, int times, int minimum, int pause){\n\t\tdata = input.nextInt();\n\t\tdistancea = input.nextInt();\n\t\tdistanceb = input.nextInt();\n\t\tdistancec = input.nextInt();\n\t\tsum = 0;\n\t\ttimes = 1;\n\t\tminimimum = Integer.MAX_VALUE;\n\t\tpause =1;\n\n\t\twhile(times < data) {\n\t\t\tif(pause == 1)\n\t\t\t{\n\t\t\t minimum = Math.min(distancea, distanceb);\n\t\t\t if(minimum == distancea)\n\t\t\t {\n\t\t\t sum+=distancea;\n\t\t\t pause=2;\n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t sum+=distanceb;\n\t\t pause=3;\n\t\t }\n\t\t \t }\n\t\t\t else if(pause == 2)\n\t\t\t {\n\t\t \t minimum = Math.min(distancea, distancec);\n\t\t \t if(minimum == distancea)\n\t\t\t {\n\t\t \t sum+=distancea;\n\t\t pause=1;\n\t\t }\n\t\t\t else\n\t\t\t {\n\t\t sum+=distancec;\n\t\t pause=3;\n\t\t }\n\t\t }\n\t\t\telse\n\t\t\t{\n\t\t \t minimum = Math.min(distanceb, distancec);\n\t\t \t if(minimum == distanceb) \n\t\t\t {\n\t\t \t sum+=distanceb;\n\t\t \t pause=1;\n\t\t \t }\n\t\t\t else\n\t\t\t {\n\t\t \t sum+=distancec;\n\t\t \t pause=2;\n\t\t \t }\n\t\t \t}\n\t\t times++;\n\t\t }\n\t\t return sum;\n\t}", "public double getTime(int timePt);", "protected void loadData() {\n refreshview.setRefreshing(true);\n //小区ID\\t帐号\\t消息类型ID\\t开始时间\\t结束时间\n // ZganLoginService.toGetServerData(26, 0, 2, String.format(\"%s\\t%s\\t%s\\t%s\\t%d\", PreferenceUtil.getUserName(), msgtype, \"2015-01-01\", nowdate, pageindex), handler);\n //ZganCommunityService.toGetServerData(26, 0, 2, String.format(\"%s\\t%s\\t%s\\t%s\\t%d\", PreferenceUtil.getUserName(), msgtype, \"2015-01-01\", nowdate, pageindex), handler);\n ZganCommunityService.toGetServerData(40, String.format(\"%s\\t%s\\t%s\\t%s\", PreferenceUtil.getUserName(), funcPage.gettype_id(), String.format(\"@id=22,@page_id=%s,@page=%s\",funcPage.getpage_id(),pageindex), \"22\"), handler);\n }", "@Override\r\n public void run() {\n d3++;\r\n if (d3 == 1) {\r\n onReceive(new byte[]{Message.TIMER_MESSAGE, Message.TFP3_EXPIRE});\r\n }\r\n if (d3 == 10) {\r\n onReceive(new byte[]{Message.TIMER_MESSAGE, Message.TFP3_EXPIRE_N});\r\n }\r\n }", "public void fetchResults() {\n String requestUrl = \"http://192.168.1.40:8090/trending\";\n StringRequest request = new StringRequest(\n Request.Method.POST,\n requestUrl,\n trendingGetData,\n errorListener){\n\n protected Map<String, String> getParams() throws com.android.volley.AuthFailureError {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"memberID\", \"MMM111\");\n return params;\n };\n };\n RequestQueue queue = Volley.newRequestQueue(this);\n queue1 = Volley.newRequestQueue(this);\n queue2 = Volley.newRequestQueue(this);\n queue.add(request);\n }", "protected long getRemoteReadTime(long rowCount) throws ExecutionException{\n int fetchSampleSize=EngineDriver.driver().getConfiguration().getIndexFetchSampleSize();\n Timer remoteReadTimer = Metrics.newWallTimer();\n DataScan scan = SIDriver.driver().getOperationFactory().newDataScan(txn);\n scan.startKey(SIConstants.EMPTY_BYTE_ARRAY).stopKey(SIConstants.EMPTY_BYTE_ARRAY);\n int n =2;\n long totalOpenTime = 0;\n long totalCloseTime = 0;\n int iterations = 0;\n try(Partition table = SIDriver.driver().getTableFactory().getTable(Long.toString(tableConglomerateId))){\n while(n<fetchSampleSize){\n scan.batchCells(n).cacheRows(n);\n long openTime=System.nanoTime();\n long closeTime;\n try(DataResultScanner scanner=table.openResultScanner(scan)){\n totalOpenTime+=(System.nanoTime()-openTime);\n int pos=0;\n remoteReadTimer.startTiming();\n DataResult result;\n while(pos<n && (result=scanner.next())!=null){\n pos++;\n }\n remoteReadTimer.tick(pos);\n closeTime=System.nanoTime();\n }\n totalCloseTime+=(System.nanoTime()-closeTime);\n iterations++;\n n<<=1;\n }\n\n }catch(IOException e){\n throw new ExecutionException(e);\n }\n //stash the scanner open and scanner close times\n openScannerTimeMicros=totalOpenTime/(1000*iterations);\n closeScannerTimeMicros=totalCloseTime/(1000*iterations);\n double latency=((double)remoteReadTimer.getTime().getWallClockTime())/remoteReadTimer.getNumEvents();\n return Math.round(latency*rowCount);\n }", "public void timeTrip(View view){\n String URL = \"http://172.18.35.160:9080/CarpoolingTECServer/connect/request\";\n String ptoSalida = txtInicio.getText().toString();\n String ptoDestino = txtFin.getText().toString();\n\n String all = ptoSalida + \",\" + ptoDestino;\n\n RequestQueue requestQueue = Volley.newRequestQueue(this);\n JsonObjectRequest objectRequest = new JsonObjectRequest(\n Request.Method.GET,\n URL,\n null,\n new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n Log.e(\"Vivihola\", response.toString());\n }\n },\n new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.e(\"Vivihola\", error.toString());\n }\n }\n );\n requestQueue.add(objectRequest);\n\n }", "private void getOnlineMoneyData(final Context context, final String fromCurrencyCode, final String toCurrencyCode) {\n JsonObjectRequest jsonObjReq = new JsonObjectRequest(Request.Method.GET,\n BuildConfig.BASE_URL, null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n closeProgressDialog();\n Log.d(\"Tag\", response.toString());\n try {\n String date = response.getString(\"date\");\n JSONObject rates = response.getJSONObject(\"rates\");\n\n double baseRate = Double.valueOf(rates.getString(\"USD\"));\n double initRate = Double.valueOf(rates.getString(fromCurrencyCode));\n double targetRate = Double.valueOf(rates.getString(toCurrencyCode));\n double first_input = Double.valueOf(et_currencyvalue.getText().toString());\n String resultFinal = String.valueOf(String.format(\"%.3f\", ((targetRate * first_input) / initRate)));\n tv_currencyresultv.setText(resultFinal);\n Timestamp ts = new Timestamp(response.getLong(\"timestamp\"));\n Date time = new Date(ts.getTime());\n tv_lastupdate.setText(\"Last updated on \" + date);\n runAnimation(android.R.anim.fade_in, tv_lastupdate);\n } catch (JSONException e) {\n e.printStackTrace();\n Toast.makeText(context,\n \"Error: \" + e.getMessage(),\n Toast.LENGTH_LONG).show();\n }\n\n }\n }, new Response.ErrorListener() {\n\n @Override\n public void onErrorResponse(VolleyError error) {\n closeProgressDialog();\n reset();\n VolleyLog.d(\"TAG\", \"Error: \" + error.getMessage());\n Toast.makeText(context, error.getMessage(), Toast.LENGTH_SHORT).show();\n\n }\n });\n\n RequestQueue queue = Volley.newRequestQueue(context);\n // Adding request to request queue\n queue.add(jsonObjReq);\n\n }", "Map<Date, Float> getFullCTR(Step step) throws SQLException;", "public long get(double val[])\n {\n \tlock.AcquireRead();\n \t try {\n \t\t if (time == 0)\n \t\t\t return 0;\n \t\t else{\n \t\t\t for (int i = 0; i<data.length; ++i)\n \t\t\t\t val[i] = data[i];\n \t\t\t return time;\n \t\t }\n \t }finally{\n \t\t lock.ReleaseRead();\n \t }\n }", "public int getTotalTime();", "public int getBatchDownloadWaitTime()\n {\n return 1000; \n }", "public void getSecsDetail( );", "private VoltTable[] getTransactionData(long interval, final long now) {\n ParameterSet parameters = new ParameterSet();\n parameters.setParameters((byte)interval, now);\n \n return this.executeOncePerSite(SysProcFragmentId.PF_txnData,\n SysProcFragmentId.PF_txnDataAggregator,\n parameters);\n }", "public static void main(String[] args) {\n\t\t\n\t\tint A[]= new int[100000000];\n\t\tfor(int i = 0; i < 100000000; i++) {\n\t\t A[i] = (int)(Math.random() * 100) + 1;\n }\n double duration = 0;\n long end = 0;\n long start = 0;\n start = System.currentTimeMillis();\n System.out.println(start);\n MinValueIndex(A, 6);\n end = System.currentTimeMillis();\n\t\tduration = end-start;\n\t\tSystem.out.println(end); \n\t\tduration = duration / 5;\n\t\tSystem.out.println(duration);\n\t}", "@Test(priority = 2)\r\n\tpublic void getresponse(){\n\t\t\r\n\t\tString resData = get(\"http://samples.openweathermap.org/data/2.5/weather?q=London,uk&appid=b6907d289e10d714a6e88b30761fae22\").asString();\t\r\n\t\tSystem.out.println(resData);\r\n\t\t\r\n\t\tlong time = get(\"\").getTime();\r\n\t\t\r\n\t\tSystem.out.println(\"Response time \" + time);\r\n\t}", "private void getWeekActiveTimeData(String accessToken) {\r\n String[] taskParams = new String[3];\r\n\r\n taskParams[0] = accessToken;\r\n\r\n Calendar startDate = getFirstMondayInWeek(endDate);\r\n\r\n SimpleDateFormat dateFormat = new SimpleDateFormat(getString(R.string.fitbit_date_format));\r\n String formattedStartDate = dateFormat.format(startDate.getTime());\r\n String formattedEndDate = dateFormat.format(endDate.getTime());\r\n\r\n // Fairly active and very active minutes are added to get active minutes total\r\n taskParams[1] = \"https://api.fitbit.com/1/user/-/activities/minutesFairlyActive/date/\" +\r\n formattedStartDate + \"/\" + formattedEndDate + \".json\";\r\n\r\n taskParams[2] = \"https://api.fitbit.com/1/user/-/activities/minutesVeryActive/date/\" +\r\n formattedStartDate + \"/\" + formattedEndDate + \".json\";\r\n\r\n updateRequestCount(taskParams.length - 1);\r\n\r\n new FitbitGetRequestTask(this).execute(taskParams);\r\n }", "double getClientTime();", "private void processHeartRateData(SensorEvent event){\n //interval between two data entry should be min SENSOR_DATA_MIN_INTERVAL\n if ((event.timestamp - lastUpdatePPG) < SENSOR_DATA_MIN_INTERVAL_NANOS) {\n return;\n }\n lastUpdatePPG = event.timestamp;\n long timestamp = Util.getStartTime() + event.timestamp/Const.NANOS_TO_MILLIS;\n savePPGData(event.values[0], timestamp);\n\n\n }", "public double getCBRTime();", "public PulseTransitTime() {\n currPTT = 0.0;\n hmPeakTimes = new ArrayList<>();\n //maf = new MovingAverage(WINDOW_SIZE);\n }", "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tlongitudeArray.add(trackData.getDouble(\"longitude\"));\n\t\t\t\t\tlatitudeArray.add(trackData.getDouble(\"latitude\"));\n\t\t\t\t\taltitudeArray.add(trackData.getDouble(\"altitude\"));\n\n\t\t\t\t\t//Get the date time\n\t\t\t\t\tdateTime = trackData.getString(\"startDateTime\");\n\t\t\t\t\tLog.d(TAG, \"formatAndSetData: \" + dateTime);\n\n\t\t\t\t\t//Format data (decimal places, data types, etc..)\n\t\t\t\t\tformatAndSetData(trackData);\n\t\t\t\t}", "public void durata(long start, long stop){\n\t\tlong durata = stop - start;\n\t\tlong secondi = durata % 60;\n\t\tlong minuti = durata / 60;\n\t\t\n\t\tSystem.out.println(\"Durata: \" + minuti + \"m \" + secondi + \"s\");\n\t}", "public void runLastTime(){\n\t\t/*try {\n\t\t\tlong timeDiff = 100;\n\t\t\t\n\t\t\tFeatureListController controller = new FeatureListController(timeDiff);\n\t\t\tTestSensorListener listener1 = new TestSensorListener();\n\t\t\tcontroller.registerSensorListener(listener1);\n\t\t\tTestSensorListener listener2 = new TestSensorListener();\n\t\t\tcontroller.registerSensorListener(listener2);\n\t\t\t\n\t\t\t\n\t\t\t//20 samples in total\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\t\n\t\t\t\n\t\t\tfor(int i=0;i<2;++i){\n\t\t\t\tSensorListener listener;\n\t\t\t\tif(i==0)\n\t\t\t\t\tlistener = listener1;\n\t\t\t\telse \n\t\t\t\t\tlistener = listener2;\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"LISTENER\" + (i+1));\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Now:\" + new Date().getTime());\n\t\t\t\tList<FeatureList> featureLists = controller.getLastFeatureListsInMilliseconds(listener, -1);\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"All feature lists with milliseconds method\");\n\t\t\t\tfor(FeatureList l : featureLists)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"All feature lists with n method\");\n\t\t\t\tList<FeatureList> featureLists2 = controller.getLastNFeatureList(listener, -1);\n\t\t\t\tfor(FeatureList l : featureLists)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Last milliseconds \" + 40);\n\t\t\t\tList<FeatureList> featureLists3 = controller.getLastFeatureListsInMilliseconds(listener, 40);\n\t\t\t\tfor(FeatureList l : featureLists3)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Last N Feature Lists \" + 6);\n\t\t\t\tList<FeatureList> featureLists4 = controller.getLastNFeatureList(listener, 6);\n\t\t\t\tfor(FeatureList l : featureLists4)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t}\n\t\t\t\n\n\t\t} catch (InterruptedException ex) {\n\t\t\tSystem.out.println(ex.getLocalizedMessage());\n//Logger.getLogger(CaseFeatureListController.class.getName()).log(Level.SEVERE, new double[10], ex);\n\t\t}*/\n\t\t\n\t}", "public TimestampedData readTimeStamped(int ireg, int creg)\n {\n try\n {\n synchronized (this.lock)\n {\n // We can only fetch registers that lie within the register window\n if (!this.registerWindow.contains(ireg, creg))\n {\n throw new IllegalArgumentException(String.format(\"read request (%d,%d) outside of read register window\", ireg, creg));\n }\n\n // Wait until we fill up with data\n for (;;)\n {\n if (this.readCacheStatus == READ_CACHE_STATUS.VALID)\n break;\n if (this.readCacheStatus == READ_CACHE_STATUS.VALIDQUEUED)\n break;\n //\n this.lock.wait();\n }\n\n // Extract the data and return!\n this.readCacheLock.lockInterruptibly();\n try\n {\n int ibFirst = ireg - this.registerWindow.getIregFirst() + dibCacheOverhead;\n TimestampedData result = new TimestampedData();\n result.data = Arrays.copyOfRange(this.readCache, ibFirst, ibFirst + creg);\n result.nanoTime = this.nanoTimeReadCacheValid;\n return result;\n }\n finally\n {\n this.readCacheLock.unlock();\n }\n }\n }\n catch (InterruptedException e)\n {\n throw SwerveRuntimeException.wrap(e);\n }\n }", "private MrnWoatlas5[] doGet(Vector result) {\n if (dbg) System.out.println (\"vector size = \" + result.size());\n int latitudeCol = db.getColNumber(LATITUDE);\n int longitudeCol = db.getColNumber(LONGITUDE);\n int depthCol = db.getColNumber(DEPTH);\n int temperatureMinCol = db.getColNumber(TEMPERATURE_MIN);\n int temperatureMaxCol = db.getColNumber(TEMPERATURE_MAX);\n int salinityMinCol = db.getColNumber(SALINITY_MIN);\n int salinityMaxCol = db.getColNumber(SALINITY_MAX);\n int oxygenMinCol = db.getColNumber(OXYGEN_MIN);\n int oxygenMaxCol = db.getColNumber(OXYGEN_MAX);\n int nitrateMinCol = db.getColNumber(NITRATE_MIN);\n int nitrateMaxCol = db.getColNumber(NITRATE_MAX);\n int phosphateMinCol = db.getColNumber(PHOSPHATE_MIN);\n int phosphateMaxCol = db.getColNumber(PHOSPHATE_MAX);\n int silicateMinCol = db.getColNumber(SILICATE_MIN);\n int silicateMaxCol = db.getColNumber(SILICATE_MAX);\n int chlorophyllMinCol = db.getColNumber(CHLOROPHYLL_MIN);\n int chlorophyllMaxCol = db.getColNumber(CHLOROPHYLL_MAX);\n MrnWoatlas5[] cArray = new MrnWoatlas5[result.size()];\n for (int i = 0; i < result.size(); i++) {\n Vector row = (Vector) result.elementAt(i);\n cArray[i] = new MrnWoatlas5();\n if (latitudeCol != -1)\n cArray[i].setLatitude ((String) row.elementAt(latitudeCol));\n if (longitudeCol != -1)\n cArray[i].setLongitude ((String) row.elementAt(longitudeCol));\n if (depthCol != -1)\n cArray[i].setDepth ((String) row.elementAt(depthCol));\n if (temperatureMinCol != -1)\n cArray[i].setTemperatureMin((String) row.elementAt(temperatureMinCol));\n if (temperatureMaxCol != -1)\n cArray[i].setTemperatureMax((String) row.elementAt(temperatureMaxCol));\n if (salinityMinCol != -1)\n cArray[i].setSalinityMin ((String) row.elementAt(salinityMinCol));\n if (salinityMaxCol != -1)\n cArray[i].setSalinityMax ((String) row.elementAt(salinityMaxCol));\n if (oxygenMinCol != -1)\n cArray[i].setOxygenMin ((String) row.elementAt(oxygenMinCol));\n if (oxygenMaxCol != -1)\n cArray[i].setOxygenMax ((String) row.elementAt(oxygenMaxCol));\n if (nitrateMinCol != -1)\n cArray[i].setNitrateMin ((String) row.elementAt(nitrateMinCol));\n if (nitrateMaxCol != -1)\n cArray[i].setNitrateMax ((String) row.elementAt(nitrateMaxCol));\n if (phosphateMinCol != -1)\n cArray[i].setPhosphateMin ((String) row.elementAt(phosphateMinCol));\n if (phosphateMaxCol != -1)\n cArray[i].setPhosphateMax ((String) row.elementAt(phosphateMaxCol));\n if (silicateMinCol != -1)\n cArray[i].setSilicateMin ((String) row.elementAt(silicateMinCol));\n if (silicateMaxCol != -1)\n cArray[i].setSilicateMax ((String) row.elementAt(silicateMaxCol));\n if (chlorophyllMinCol != -1)\n cArray[i].setChlorophyllMin((String) row.elementAt(chlorophyllMinCol));\n if (chlorophyllMaxCol != -1)\n cArray[i].setChlorophyllMax((String) row.elementAt(chlorophyllMaxCol));\n } // for i\n return cArray;\n }", "@Test\n public void test5() throws Exception {\n CuratorFramework client = ZKConfig.getClient();\n final NodeCache nodeCache = new NodeCache(client, \"/test/test1\", false);\n nodeCache.getListenable().addListener(new NodeCacheListener() {\n @Override\n public void nodeChanged() throws Exception {\n logger.info(\"getCurrentData:\" + nodeCache.getCurrentData());\n logger.info(\"stat : \"+nodeCache.getCurrentData().getStat());\n logger.info(\"path : \"+nodeCache.getCurrentData().getPath());\n logger.info(\"data : \"+new String(nodeCache.getCurrentData().getData()));\n }\n });\n nodeCache.start();\n while(true);\n }", "private static void printData(List<Long> runningTimes) {\n\t\tlong min = Collections.min(runningTimes);\n\t\tlong max = Collections.max(runningTimes);\n\t\t\n\t\tlong total = 0;\n\t\tfor(long runTime : runningTimes)\n\t\t\ttotal+=runTime;\n\t\t\n\t\tSystem.out.println(\"******* SEQUENTIAL RESULTS *******\");\n\t\tSystem.out.println(\"MIN RUNNING TIME(ms): \"+min);\n\t\tSystem.out.println(\"MAX RUNNING TIME(ms): \"+max);\n\t\tSystem.out.println(\"AVG RUNNING TIME(ms): \"+(total/runningTimes.size()));\n\t\tSystem.out.println(\"***********************************\");\n\t\tSystem.out.println();\n\t}", "public long getSampleCacheMs() {\n\t\treturn sampleCacheMs;\n\t}", "public int getDimes()\n {\n\treturn dimes;\n }", "@Override\n public void run() {\n ElapsedTime time = new ElapsedTime();\n time.reset();\n while (!sh.liftReady && time.milliseconds() < 1500) {\n }\n //\n sh.pivotPID(650, true, .07/650, .01, .01/650, 2);\n sh.pivotPID(640, false, .07/640, .01, .01/640, 2);\n\n\n\n }", "public void fetchDataStock(){\n// stocks.add(new Stock(1,\"bitcoin\",new Double(7000),new Double(7500),new Double(5),null));\n\n stockFetcher = new StockAsyncTask ();\n stockFetcher.execute();\n\n\n // TODO:\n\n refresh(5000);\n\n\n }", "@Override\n public void run() {\n try {\n String resp = null;\n String link = helper.getUrl();\n String series = \"http://\"+link+\"/api/remittance/oic_get.php?id=\"+helper.logcount();\n URL url = new URL(series);\n HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n conn.setRequestMethod(\"GET\");\n // read the response\n InputStream in = new BufferedInputStream(conn.getInputStream());\n resp = convertStreamToString(in);\n\n if (resp != null) {\n Log.e(\"oicremittances\", \"oicremittances : \" + resp);\n JSONArray jsonArray = new JSONArray(resp);\n for(int i=0; i<jsonArray.length(); i++){\n JSONObject json_data = jsonArray.getJSONObject(i);\n String amount = json_data.getString(\"amount\");\n// gen.addRemitTrans(helper.logcount()+\"\", \"fromDriver\",\n// \"\",\"\", \"\",amount, \"\",null,\"1\");\n// Log.e(\"oicremittance\", \" amount:\"+amount);\n }\n\n if (!conn.getResponseMessage().equals(\"OK\")){\n conn.disconnect();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n progressBar.dismiss();\n final AlertDialog.Builder builder = new AlertDialog.Builder(getApplicationContext());\n builder.setTitle(\"Information confirmation\")\n .setMessage(\"Data sync has failed, please try again later. thank you.\")\n .setPositiveButton(\"Ok\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.dismiss();\n }\n });\n // Create the AlertDialog object and show it\n builder.create().show();\n }\n });\n }\n } else {\n Log.e(\"Error\", \"Couldn't get data from server.\");\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n String t = \"Couldn't get data from server.\";\n customAlert(t);\n }\n });\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n //END THREAD FOR remittances from driver series\n }", "private Map<Integer,DynInfo> getDynInfo(IScriptEngine scriptEngine, DynScene scene, boolean loadFlag, long time, double totalTimeRef[]) {\n\t\tAudioEngine.StateRec srec = mEngine.getFutureState();\n\t\tAState astate = (srec!=null ? srec.getState() : null);\n\t\tJSONObject loginfo = new JSONObject();\n\t\ttry {\n\t\t\tloginfo.put(\"loadFlag\",loadFlag);\n\t\t} catch (JSONException e2) {\n\t\t\tLog.w(TAG,\"Error marshalling loadFlag\", e2);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\t// \"built-in\"\n\t\tsb.append(\"var pwl=window.pwl;\\n\");\n\t\tsb.append(\";\\n\");\n\t\tsb.append(\"var distance=function(coord1,coord2){return window.distance(coord1,coord2 ? coord2 : position);};\\n\");\n\t\tsb.append(\"var sceneTime=\");\n\t\tint futureOffset = 0;\n\t\tif (srec!=null) {\n\t\t\tif (srec.mType==StateType.STATE_FUTURE)\n\t\t\t\tfutureOffset = mEngine.getFutureOffset();\n\t\t\telse if (srec.mType==StateType.STATE_NEXT)\n\t\t\t\tfutureOffset = mEngine.getFutureOffset()*2;\n\t\t}\n\t\tdouble oldSceneTime = (srec==null) ? 0 : srec.mSceneTime+ mEngine.samplesToSeconds(futureOffset);\n\t\tdouble newSceneTime = loadFlag ? 0 : oldSceneTime;\n\t\tsb.append(newSceneTime);\n\t\ttry {\n\t\t\tloginfo.put(\"sceneTime\", newSceneTime);\n\t\t} catch (JSONException e2) {\n\t\t\tLog.w(TAG,\"Error marshalling sceneTime\", e2);\n\t\t}\n\t\tsb.append(\";\\n\");\n\t\tsb.append(\"var totalTime=\");\n\t\tdouble totalTime = (srec!=null) ? srec.mTotalTime+ mEngine.samplesToSeconds(futureOffset) : 0;\n\t\tif (totalTimeRef!=null && totalTimeRef.length>0)\n\t\t\ttotalTimeRef[0] = totalTime;\n\t\tsb.append(totalTime);\n\t\ttry {\n\t\t\tloginfo.put(\"totalTime\", totalTime);\n\t\t} catch (JSONException e2) {\n\t\t\tLog.w(TAG,\"Error marshalling totalTime\", e2);\n\t\t}\n\t\tsb.append(\";\\n\");\n\t\tStringBuilder umsb = new StringBuilder();\n\t\tmUserModel.toJavascript(umsb, scene.getWaypoints(), scene.getRoutes());\n\t\tString ums = umsb.toString();\n\t\tsb.append(ums);\n\t\ttry {\n\t\t\tloginfo.put(\"userModel\", ums);\n\t\t} catch (JSONException e1) {\n\t\t\tLog.d(TAG,\"Error marshalling userModel\", e1);\n\t\t}\n\t\t// constants: composition, scene\n\t\tmConstants.toJavascript(sb);\n\t\tif (scene.getConstants()!=null)\n\t\t\tscene.getConstants().toJavascript(sb);\n\t\tif (scene.getVars()!=null)\n\t\t\tscene.getVars().toJavascript(sb);\n\t\t// late text\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tif (loadFlag && scene.getOnload()!=null) {\n\t\t\tsb2.append(scene.getOnload());\n\t\t\tsb2.append(\";\\n\");\n\t\t} else if (!loadFlag && scene.getOnupdate()!=null) {\n\t\t\tsb2.append(scene.getOnupdate());\n\t\t\tsb2.append(\";\\n\");\n\t\t}\n\t\tsb.append(\"var vs={};\\n\");\n\t\tsb.append(\"var ps={};\\n\");\n\t\t// track volumes\n\t\tsb.append(\"var tvs={};\\n\");\n\t\t// track positions\n\t\tsb.append(\"var tps={};\\n\");\n\t\t// track sections\n\t\tsb.append(\"var tss={};\\n\");\n\t\tfor (DynScene.TrackRef tr : scene.getTrackRefs()) {\n\t\t\tString dynVolume = tr.getDynVolume();\n\t\t\tString dynPos = tr.getDynPos();\n\t\t\tif (dynVolume!=null || dynPos!=null) {\n\t\t\t\tAState.TrackRef atr = (astate!=null) ? astate.get(tr.getTrack()) : null;\n\t\t\t\tif (!loadFlag && tr.getUpdate()==Boolean.FALSE)\n\t\t\t\t\tcontinue;\n\t\t\t\tint trackPos = 0;\n\t\t\t\tfloat currentVolume = 0; /* default?! */\n\t\t\t\tif (loadFlag && tr.getPos()!=null)\n\t\t\t\t\ttrackPos = tr.getPos();\n\t\t\t\t// partial default is current\n\t\t\t\telse {\n\t\t\t\t\t// extrapolate...\n\t\t\t\t\tif (atr!=null) {\n\t\t\t\t\t\ttrackPos = atr.getPos();\n\t\t\t\t\t\tif (!atr.isPaused()) {\n\t\t\t\t\t\t\ttrackPos += futureOffset;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tint align[] = atr.getAlign();\n\t\t\t\t\t\tif (align!=null) {\n\t\t\t\t\t\t\tint sceneTime = mEngine.secondsToSamples(oldSceneTime);\n\t\t\t\t\t\t\t// each aligned sub-section\n\t\t\t\t\t\t\tfor (int ai=0; ai<=(align!=null ? align.length : 0); ai+=2)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif (align!=null && align.length>=2) {\n\t\t\t\t\t\t\t\t\tif (ai<align.length) {\n\t\t\t\t\t\t\t\t\t\t// up to an alignment (but not the \"new\" alignment so currentSection will be last played)\n\t\t\t\t\t\t\t\t\t\tif (align[ai]<sceneTime) {\n\t\t\t\t\t\t\t\t\t\t\t// already past\n\t\t\t\t\t\t\t\t\t\t\ttrackPos = align[ai+1]+sceneTime-align[ai];\n\t\t\t\t\t\t\t\t\t\t\t//Log.d(TAG,\"Align track at +\"+bufStart+\": \"+sceneTime+\" -> \"+tr.getPos()+\" (align \"+align[ai]+\"->\"+align[ai+1]+\")\");\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// for volume we want the old volume. This may be undefined on\n\t\t\t\t// first load of a composition.\n\t\t\t\tif (atr!=null) {\n\t\t\t\t\tfloat pwlVolume[] = atr.getPwlVolume();\n\t\t\t\t\tif (pwlVolume!=null)\n\t\t\t\t\t\tcurrentVolume = AudioEngine.pwl((float)oldSceneTime, pwlVolume);\n\t\t\t\t\telse\n\t\t\t\t\t\tcurrentVolume = atr.getVolume();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tLog.d(TAG, \"Could not find track \"+tr.getTrack().getId()+\" for currentVolume (load=\"+loadFlag+\")\");\n\t\t\t\tdouble trackTime = mEngine.samplesToSeconds(trackPos);\n\t\t\t\tif (tr.getTrack() instanceof ATrack) {\n\t\t\t\t\tATrack at = (ATrack)tr.getTrack();\n\t\t\t\t\tsb.append(\"tps['\");\n\t\t\t\t\tsb.append(at.getName());\n\t\t\t\t\tsb.append(\"']=\");\n\t\t\t\t\tsb.append(trackTime);\n\t\t\t\t\tsb.append(\";\");\n\t\t\t\t\tsb.append(\"tvs['\");\n\t\t\t\t\tsb.append(at.getName());\n\t\t\t\t\tsb.append(\"']=\");\n\t\t\t\t\tsb.append(currentVolume);\n\t\t\t\t\tsb.append(\";\");\n\t\t\t\t}\n\t\t\t\tif (dynVolume!=null) {\n\t\t\t\t\tsb2.append(\"vs['\");\n\t\t\t\t\tsb2.append(tr.getTrack().getId());\n\t\t\t\t\tsb2.append(\"']=(function(trackTime,trackVolume){return(\");\n\t\t\t\t\tsb2.append(dynVolume);\n\t\t\t\t\tsb2.append(\");})(\");\n\t\t\t\t\tsb2.append(trackTime);\n\t\t\t\t\tsb2.append(\",\");\n\t\t\t\t\tsb2.append(currentVolume);\n\t\t\t\t\tsb2.append(\");\\n\");\n\t\t\t\t}\n\t\t\t\tif (dynPos!=null) {\n\t\t\t\t\t// current section just based on trackTime\n\t\t\t\t\tSection section = null;\n\t\t\t\t\tATrack atrack = (ATrack)tr.getTrack();\n\t\t\t\t\tfor (Section s : atrack.getSections().values()) {\n\t\t\t\t\t\t// NB last thing we played\n\t\t\t\t\t\tif (trackPos-1>=s.mTrackPos && (s.mLength==IAudio.ITrack.LENGTH_ALL || trackPos-1-s.mTrackPos<s.mLength)) {\n\t\t\t\t\t\t\tsection = s;\n\t\t\t\t\t\t\t//Log.d(TAG,\"Pos \"+trackPos+\" in section \"+s.mName+\" (\"+s.mTrackPos+\" + \"+s.mLength+\")\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//else\n\t\t\t\t\t\t//\tLog.d(TAG,\"Pos \"+trackPos+\" not in section \"+s.mName+\" (\"+s.mTrackPos+\" + \"+s.mLength+\")\");\n\t\t\t\t\t}\n\t\t\t\t\tsb2.append(\"ps['\");\n\t\t\t\t\tsb2.append(tr.getTrack().getId());\n\t\t\t\t\tsb2.append(\"']=(function(trackId,trackTime,currentSection){return(\");\n\t\t\t\t\tsb2.append(dynPos);\n\t\t\t\t\tsb2.append(\");})(\");\n\t\t\t\t\tsb2.append(tr.getTrack().getId());\n\t\t\t\t\tsb2.append(\",\");\n\t\t\t\t\tsb2.append(trackTime);\n\t\t\t\t\tsb2.append(\",\");\n\t\t\t\t\tif (section==null)\n\t\t\t\t\t\tsb2.append(\"null\");\n\t\t\t\t\telse {\n\t\t\t\t\t\tsb.append(\"var ts\");\n\t\t\t\t\t\tsb.append(tr.getTrack().getId());\n\t\t\t\t\t\tsb.append(\"=\");\n\t\t\t\t\t\tsb.append(\"{name:\");\n\t\t\t\t\t\tsb.append(escapeJavascriptString(section.mName));\n\t\t\t\t\t\tsb.append(\",startTime:\");\n\t\t\t\t\t\t// typically negative if new scene\n\t\t\t\t\t\tsb.append(newSceneTime+mEngine.samplesToSeconds(section.mTrackPos)-trackTime);\n\t\t\t\t\t\tif (section.mLength!=IAudio.ITrack.LENGTH_ALL) {\n\t\t\t\t\t\t\tsb.append(\",endTime:\");\n\t\t\t\t\t\t\tsb.append(newSceneTime+mEngine.samplesToSeconds(section.mTrackPos+section.mLength)-trackTime);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsb.append(\"};\");\n\t\t\t\t\t\tsb2.append(\"ts\");\n\t\t\t\t\t\tsb2.append(tr.getTrack().getId());\n\t\t\t\t\t\tif (tr.getTrack() instanceof ATrack) {\n\t\t\t\t\t\t\tATrack at = (ATrack) tr.getTrack();\n\t\t\t\t\t\t\tsb.append(\"tss['\");\n\t\t\t\t\t\t\tsb.append(at.getName());\n\t\t\t\t\t\t\tsb.append(\"']=ts\");\n\t\t\t\t\t\t\tsb.append(tr.getTrack().getId());\n\t\t\t\t\t\t\tsb.append(\";\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tsb2.append(\");\\n\");\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tsb2.append(\"return JSON.stringify({vs:vs,ps:ps});\");\n\t\tsb.append(sb2.toString());\n\t\tString res = scriptEngine.runScript(sb.toString());\n\t\ttry {\n\t\t\tloginfo.put(\"res\", res);\n\t\t} catch (JSONException e1) {\n\t\t\tLog.w(TAG,\"Error marshalling res\", e1);\n\t\t}\n\t\tMap<Integer, DynInfo> dynInfos = new HashMap<Integer, DynInfo>();\n\t\tif (res==null) {\n\t\t\t// Error details already logged at a lower level\n\t\t\tLog.d(TAG,\"update script timed out\");\n\t\t} else {\n\t\t\tLog.d(TAG, \"run script: \" + sb.toString() + \"\\n-> \" + res);\n\t\t\ttry {\n\t\t\t\tJSONObject jres = new JSONObject(res);\n\t\t\t\tJSONObject vs = jres.getJSONObject(\"vs\");\n\t\t\t\tIterator<String> keys = vs.keys();\n\t\t\t\twhile (keys.hasNext()) {\n\t\t\t\t\tString key = keys.next();\n\t\t\t\t\tint id = Integer.valueOf(key);\n\t\t\t\t\tDynInfo di = new DynInfo();\n\t\t\t\t\tdynInfos.put(id, di);\n\t\t\t\t\tObject val = vs.get(key);\n\t\t\t\t\tif (val instanceof JSONArray) {\n\t\t\t\t\t\tJSONArray aval = (JSONArray) val;\n\t\t\t\t\t\tfloat fvals[] = new float[aval.length()];\n\t\t\t\t\t\tfor (int i = 0; i < aval.length(); i += 2) {\n\t\t\t\t\t\t\tfvals[i] = extractFloat(aval.get(i));\n\t\t\t\t\t\t\tif (i + 1 < aval.length())\n\t\t\t\t\t\t\t\tfvals[i + 1] = clipVolume(extractFloat(aval.get(i + 1)));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdi.pwlVolume = fvals;\n\t\t\t\t\t} else if (val instanceof Number || (val instanceof String && !\"\".equals(val))) {\n\t\t\t\t\t\tfloat fval = clipVolume(extractFloat(val));\n\t\t\t\t\t\tdi.volume = fval;\n\t\t\t\t\t} else if (val == null || \"\".equals(val)) {\n\t\t\t\t\t\t// null\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmEngine.getLog().logError(\"Volume script returned non-number/string \" + val);\n\t\t\t\t\t\tdi.volume = 0.0f;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tJSONObject ps = jres.getJSONObject(\"ps\");\n\t\t\t\tkeys = ps.keys();\n\t\t\t\twhile (keys.hasNext()) {\n\t\t\t\t\tString key = keys.next();\n\t\t\t\t\tint id = Integer.valueOf(key);\n\t\t\t\t\tDynInfo di = dynInfos.get(id);\n\t\t\t\t\tif (di == null) {\n\t\t\t\t\t\tdi = new DynInfo();\n\t\t\t\t\t\tdynInfos.put(id, di);\n\t\t\t\t\t}\n\t\t\t\t\tObject val = ps.get(key);\n\t\t\t\t\tif (val instanceof JSONArray) {\n\t\t\t\t\t\tJSONArray aval = (JSONArray) val;\n\t\t\t\t\t\t// map strings to track section names; scene time(s) default to sceneTime (first) or end of current section\n\t\t\t\t\t\tint outlen = 0;\n\t\t\t\t\t\tfor (int i = 0; i < aval.length(); i++) {\n\t\t\t\t\t\t\tif (aval.get(i) instanceof String) {\n\t\t\t\t\t\t\t\tif ((outlen % 2) == 0)\n\t\t\t\t\t\t\t\t\t// infer position\n\t\t\t\t\t\t\t\t\toutlen += 2;\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\toutlen++;\n\t\t\t\t\t\t\t} else\n\t\t\t\t\t\t\t\toutlen++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tint ivals[] = new int[outlen];\n\t\t\t\t\t\tint nextSceneTime = mEngine.secondsToSamples(newSceneTime);\n\t\t\t\t\t\tfor (int i = 0, j = 0; i < aval.length(); i++, j++) {\n\t\t\t\t\t\t\tif (aval.get(i) instanceof String) {\n\t\t\t\t\t\t\t\tif ((j % 2) == 0) {\n\t\t\t\t\t\t\t\t\t// infer scene time\n\t\t\t\t\t\t\t\t\tivals[j++] = nextSceneTime;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// map section to track time\n\t\t\t\t\t\t\t\tString sname = aval.getString(i);\n\t\t\t\t\t\t\t\tITrack track = scene.getTrack(id);\n\t\t\t\t\t\t\t\tif (track == null || !(track instanceof ATrack)) {\n\t\t\t\t\t\t\t\t\tmEngine.getLog().logError(\"Pos script returned section name '\" + sname + \"' for unknown track \" + id);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tATrack atrack = (ATrack) track;\n\t\t\t\t\t\t\t\tMap<String, Section> sections = atrack.getSections();\n\t\t\t\t\t\t\t\tSection section = (sections != null) ? sections.get(sname) : null;\n\t\t\t\t\t\t\t\tif (section == null) {\n\t\t\t\t\t\t\t\t\tmEngine.getLog().logError(\"Pos script returned unknown section name '\" + sname + \"' for track \" + id);\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// start of section\n\t\t\t\t\t\t\t\tivals[j] = section.mTrackPos;\n\t\t\t\t\t\t\t\t// adjust next scene time for length\n\t\t\t\t\t\t\t\tnextSceneTime += section.mLength;\n\t\t\t\t\t\t\t} else if (aval.isNull(i) && (j % 2) == 0) {\n\t\t\t\t\t\t\t\t// special case null time\n\t\t\t\t\t\t\t\tivals[j] = nextSceneTime;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tint ival = (int) mEngine.secondsToSamples((double) extractFloat(aval.get(i)));\n\t\t\t\t\t\t\t\tivals[j] = ival;\n\t\t\t\t\t\t\t\tif ((j % 2) == 0)\n\t\t\t\t\t\t\t\t\tnextSceneTime = ival;\n\t\t\t\t\t\t\t\tLog.d(TAG, \"dynpos align \" + j + \" (\" + i + \") = \" + ival + \" samples (\" + aval.get(i) + \")\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdi.align = ivals;\n\t\t\t\t\t} else if (val instanceof Number || (val instanceof String && !\"\".equals(val))) {\n\t\t\t\t\t\tfloat fval = extractFloat(val);\n\t\t\t\t\t\t//Log.d(TAG,\"dynPos single value \"+fval+\"-> array\");\n\t\t\t\t\t\tdi.align = new int[2];\n\t\t\t\t\t\tdi.align[0] = (int) mEngine.secondsToSamples(newSceneTime); // ? was srec!=null ? srec.mSceneTime : 0);\n\t\t\t\t\t\tdi.align[1] = (int) mEngine.secondsToSamples((double) fval);\n\t\t\t\t\t} else if (val == null || \"\".equals(val)) {\n\t\t\t\t\t\t// null\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmEngine.getLog().logError(\"Pos script returned non-number/string \" + val);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tLog.w(TAG, \"error parsing load script result \" + res + \": \" + e, e);\n\t\t\t\tmEngine.getLog().logError(\"Script returned error: \" + res + \", from \" + sb.toString());\n\t\t\t}\n\t\t}\n\t\tmEngine.getLog().getRecorder().i(\"update\", loginfo);\n\t\treturn dynInfos;\n\t}", "@Override\r\n public LocalDateTime bake_350degrees(LocalDateTime time) {\r\n System.out.println(\"Baking \"+quantity+\" batch(es) of cookies\");\r\n for(int count = 1; count <= quantity; count++) {\r\n \t time = time.plusMinutes(20);\r\n }\r\n return time;\r\n }", "int maxSecondsForRawSampleRow();", "private String msg3() {\n return(\"[\" + (System.currentTimeMillis() - system_start_time) + \"] \");\n }", "Map<Date, Float> getFullBounceRate(Step step) throws SQLException;", "private static void methodThree(Data data) {\n\t\tboolean notFound = true;\n\t\tMap<String, Integer> timesToFreq = null;\n\t\tString phrase = null;\n\t\twhile (notFound) {\n\t\t\tphrase = getPhraseInput();\n\t\t\ttimesToFreq = data.getMentionsPerTimeStamp(phrase);\n\t\t\tif (timesToFreq != null && phrase != null) {\n\t\t\t\tnotFound = false;\n\t\t\t}\n\t\t}\n\t\tif (timesToFreq.isEmpty()) System.out.println(\"No results found\");\n\t\telse {\n\t\t\tfor (Map.Entry<String, Integer> e : timesToFreq.entrySet()) {\n\t\t\t\tSystem.out.println(e.getKey() + \":00 \" + e.getValue() + \" times\");\n\t\t\t}\n\t\t}\n\t\taddToLog(\"user searched for \" + phrase);\n\t}", "private void m128168k() {\n C42962b.f111525a.mo104671a(\"upload_page_duration\", C22984d.m75611a().mo59971a(\"first_selection_duration\", System.currentTimeMillis() - this.f104209S).mo59971a(\"page_stay_duration\", System.currentTimeMillis() - this.f104208R).f60753a);\n }", "int getQueryTimeNsec();", "Integer networkTickRate();", "private float getRefreshRate() {\n return 1;\n }", "double clientData(final int index, final int data);", "private void checkRequests()\n\t{\n\t\t// to be honest I don't see why this can't be 5 seconds, but I'm trying 1 second\n\t\t// now as the existing 0.1 second is crazy given we're checking for events that occur\n\t\t// at 60+ second intervals\n\n\t\tif ( mainloop_loop_count % MAINLOOP_ONE_SECOND_INTERVAL != 0 ){\n\n\t\t\treturn;\n\t\t}\n\n\t\tfinal long now =SystemTime.getCurrentTime();\n\n\t\t//for every connection\n\t\tfinal ArrayList peer_transports = peer_transports_cow;\n\t\tfor (int i =peer_transports.size() -1; i >=0 ; i--)\n\t\t{\n\t\t\tfinal PEPeerTransport pc =(PEPeerTransport)peer_transports.get(i);\n\t\t\tif (pc.getPeerState() ==PEPeer.TRANSFERING)\n\t\t\t{\n\t\t\t\tfinal List expired = pc.getExpiredRequests();\n\t\t\t\tif (expired !=null &&expired.size() >0)\n\t\t\t\t{ // now we know there's a request that's > 60 seconds old\n\t\t\t\t\tfinal boolean isSeed =pc.isSeed();\n\t\t\t\t\t// snub peers that haven't sent any good data for a minute\n\t\t\t\t\tfinal long timeSinceGoodData =pc.getTimeSinceGoodDataReceived();\n\t\t\t\t\tif (timeSinceGoodData <0 ||timeSinceGoodData >60 *1000)\n\t\t\t\t\t\tpc.setSnubbed(true);\n\n\t\t\t\t\t//Only cancel first request if more than 2 mins have passed\n\t\t\t\t\tDiskManagerReadRequest request =(DiskManagerReadRequest) expired.get(0);\n\n\t\t\t\t\tfinal long timeSinceData =pc.getTimeSinceLastDataMessageReceived();\n\t\t\t\t\tfinal boolean noData =(timeSinceData <0) ||timeSinceData >(1000 *(isSeed ?120 :60));\n\t\t\t\t\tfinal long timeSinceOldestRequest = now - request.getTimeCreated(now);\n\n\n\t\t\t\t\t//for every expired request \n\t\t\t\t\tfor (int j = (timeSinceOldestRequest >120 *1000 && noData) ? 0 : 1; j < expired.size(); j++)\n\t\t\t\t\t{\n\t\t\t\t\t\t//get the request object\n\t\t\t\t\t\trequest =(DiskManagerReadRequest) expired.get(j);\n\t\t\t\t\t\t//Only cancel first request if more than 2 mins have passed\n\t\t\t\t\t\tpc.sendCancel(request);\t\t\t\t//cancel the request object\n\t\t\t\t\t\t//get the piece number\n\t\t\t\t\t\tfinal int pieceNumber = request.getPieceNumber();\n\t\t\t\t\t\tPEPiece\tpe_piece = pePieces[pieceNumber];\n\t\t\t\t\t\t//unmark the request on the block\n\t\t\t\t\t\tif ( pe_piece != null )\n\t\t\t\t\t\t\tpe_piece.clearRequested(request.getOffset() /DiskManager.BLOCK_SIZE);\n\t\t\t\t\t\t// remove piece if empty so peers can choose something else, except in end game\n\t\t\t\t\t\tif (!piecePicker.isInEndGameMode())\n\t\t\t\t\t\t\tcheckEmptyPiece(pieceNumber);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t}", "Integer getDataLgth();", "public static void main(String[] args) throws Exception {\n \r\n long beginTime = System.nanoTime();\r\n for (int i = 0; i < 50000000; i++) {\r\n// System.out.println(getFlowNo());\r\n getFlowNo();\r\n \r\n }\r\n long endTime = System.nanoTime();\r\n System.out.println(\"onLineWithTransaction cost:\"+((endTime-beginTime)/1000000000) + \"s \" + ((endTime-beginTime)%1000000000) + \"us\");\r\n// \r\n// System.out.println(System.currentTimeMillis());\r\n// TimeUnit.SECONDS.sleep(3);\r\n// System.out.println(System.currentTimeMillis());\r\n }", "private void getData() {\n\t\tif (ultimoItem == 2)\n\t\t\taa.clear();\n\t\tString result = \"\";\n\t\ttry {\n\t\t\tStringBuilder url = new StringBuilder(URL_BOOKS);\n\t\t\tHttpGet get = new HttpGet(url.toString());\n\t\t\tHttpResponse r = client.execute(get);\n\t\t\tint status = r.getStatusLine().getStatusCode();\n\t\t\tif (status == 200) {\n\t\t\t\tHttpEntity e = r.getEntity();\n\t\t\t\tInputStream webs = e.getContent();\n\t\t\t\ttry {\n\t\t\t\t\tBufferedReader reader = new BufferedReader(\n\t\t\t\t\t\t\tnew InputStreamReader(webs, \"iso-8859-1\"), 8);\n\t\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\t\tString line = null;\n\t\t\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\t\t\tsb.append(line + \"\\n\");\n\t\t\t\t\t}\n\t\t\t\t\twebs.close();\n\t\t\t\t\tresult = sb.toString();\n\t\t\t\t\tJSONArray jArray = new JSONArray(result);\n\t\t\t\t\tif (jArray.length() == 0) {\n\t\t\t\t\t\tvalorUltimo = 1;\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < jArray.length(); i++) {\n\t\t\t\t\t\tJSONObject json_data = jArray.getJSONObject(i);\n\t\t\t\t\t\tBooks resultRow = new Books();\n\t\t\t\t\t\tString creado = json_data.getString(\"created_at\");\n\t\t\t\t\t\tresultRow.id = json_data.getString(\"id\");\n\t\t\t\t\t\tresultRow.title = json_data.getString(\"title\");\n\t\t\t\t\t\tresultRow.author = json_data.getString(\"author\");\n\t\t\t\t\t\tresultRow.publisher = json_data.getString(\"publisher\");\n\t\t\t\t\t\tresultRow.additional_info = json_data\n\t\t\t\t\t\t\t\t.getString(\"additional_info\");\n\t\t\t\t\t\tresultRow.contact_info = json_data\n\t\t\t\t\t\t\t\t.getString(\"contact_info\");\n\t\t\t\t\t\tresultRow.offer_type = json_data\n\t\t\t\t\t\t\t\t.getString(\"offer_type\");\n\t\t\t\t\t\tresultRow.reply_count = json_data\n\t\t\t\t\t\t\t\t.getString(\"reply_count\");\n\t\t\t\t\t\tresultRow.price = json_data.getString(\"price\");\n\t\t\t\t\t\tfechaformato = new String[jArray.length()];\n\t\t\t\t\t\tfechaformato[i] = creado;\n\t\t\t\t\t\tString eventTime = new String(creado);\n\t\t\t\t\t\tString currentTime = new String(SuperTiempo);\n\t\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\n\t\t\t\t\t\t\t\t\"yyyy-MM-dd'T'hh:mm:ss.SSS'Z'\");\n\t\t\t\t\t\tDate eventDate = sdf.parse(eventTime);\n\t\t\t\t\t\tDate currentDate = sdf.parse(currentTime);\n\t\t\t\t\t\tlong eventTimelong = eventDate.getTime();\n\t\t\t\t\t\tlong currentTimelong = currentDate.getTime();\n\t\t\t\t\t\tlong diff = currentTimelong - eventTimelong;\n\t\t\t\t\t\tlong segundoslong = diff / 1000;\n\t\t\t\t\t\tlong minutoslong = diff / 60000; // 60 por 1000\n\t\t\t\t\t\tlong horaslong = diff / 3600000; // 60 por 60 por 1000\n\t\t\t\t\t\tlong diaslong = horaslong / 24;\n\t\t\t\t\t\tlong meseslong = diaslong / 31;\n\t\t\t\t\t\tlong añolong = meseslong / 12;\n\t\t\t\t\t\tif (añolong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + añolong + \" año \";\n\t\t\t\t\t\telse if (añolong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + añolong + \" años \";\n\t\t\t\t\t\telse if (meseslong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + meseslong + \" mes \";\n\t\t\t\t\t\telse if (meseslong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + meseslong + \" meses \";\n\t\t\t\t\t\telse if (diaslong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + diaslong + \" día \";\n\t\t\t\t\t\telse if (diaslong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + diaslong + \" días \";\n\t\t\t\t\t\telse if (horaslong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + horaslong + \" hora \";\n\t\t\t\t\t\telse if (horaslong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + horaslong + \" horas \";\n\t\t\t\t\t\telse if (minutoslong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + minutoslong + \" minuto \";\n\t\t\t\t\t\telse if (minutoslong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + minutoslong + \" minutos \";\n\t\t\t\t\t\telse if (segundoslong == 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + segundoslong + \" segundo \";\n\t\t\t\t\t\telse if (segundoslong > 1)\n\t\t\t\t\t\t\thoraAgo = \"hace \" + segundoslong + \" segundos \";\n\t\t\t\t\t\telse if (segundoslong == 0)\n\t\t\t\t\t\t\thoraAgo = \"justo ahora\";\n\t\t\t\t\t\tresultRow.created_at = horaAgo;\n\t\t\t\t\t\tJSONObject usuarios = json_data.getJSONObject(\"owner\");\n\t\t\t\t\t\tresultRow.owner_name = usuarios.getString(\"name\");\n\t\t\t\t\t\tJSONObject grupos = json_data.getJSONObject(\"group\");\n\t\t\t\t\t\tresultRow.group_name = grupos.getString(\"name\");\n\t\t\t\t\t\tresultRow.group_id = grupos.getString(\"id\");\n\t\t\t\t\t\tJSONObject owner = json_data.getJSONObject(\"owner\");\n\t\t\t\t\t\tJSONObject profile_pic = owner\n\t\t\t\t\t\t\t\t.getJSONObject(\"profile_pic\");\n\t\t\t\t\t\tresultRow.thumbnail_url = profile_pic\n\t\t\t\t\t\t\t\t.getString(\"thumbnail_url\");\n\t\t\t\t\t\tarrayBooks.add(resultRow);\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\tLog.e(\"log_tag\",\n\t\t\t\t\t\t\t\"Error convirtiendo el resultado\" + e1.toString());\n\t\t\t\t}\n\t\t\t\tmyListView.setAdapter(aa);\n\t\t\t\tif (ultimoItem == 1) {\n\t\t\t\t\tmyListView.setSelection(superTotal);\n\t\t\t\t\tnuevo = nuevo + superTotal;\n\t\t\t\t}\n\t\t\t\tultimoItem = 0;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "long getCacheMisses();", "public static void ObtenerDatosHistorial_Autoeficacia(Context context) {\n\n queue = Volley.newRequestQueue(context);\n\n String url = \"http://161.35.14.188/Persuhabit/HistorialAuto\";//establece ruta al servidor para obtener los datos\n JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(Request.Method.GET, url, null, new Response.Listener<JSONObject>() {\n @Override\n public void onResponse(JSONObject response) {\n\n try {\n JSONArray jsonArray = response.getJSONArray(\"data\");//\n\n for (int i = 0; i < jsonArray.length(); i++) {\n JSONObject jsonObject = jsonArray.getJSONObject(i);\n\n }\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n\n }\n });\n queue.add(jsonObjectRequest);\n }", "void MontaValores(){\r\n // 0;0;-23,3154166666667;-51,1447783333333;0 // Extrai os valores e coloca no objetos\r\n // Dis;Dir;Lat;Long;Velocidade\r\n // Quebra de Rota lat=-999.999 long=-999.999 ==> Marca ...\r\n \r\n int ind=0;\r\n NMEAS=NMEA.replace(\",\" , \".\");\r\n \r\n //1)\r\n dists=NMEAS.substring(ind,NMEAS.indexOf(\";\",ind));\r\n Distancia=Double.valueOf(dists);\r\n ind=ind+dists.length()+1;\r\n \r\n //2)\r\n dirs=NMEAS.substring(ind,NMEAS.indexOf(\";\",ind+1));\r\n Direcao=Double.valueOf(dirs);\r\n ind=ind+dirs.length()+1;\r\n \r\n //3)\r\n lats=NMEAS.substring(ind,NMEAS.indexOf(\";\",ind+1));\r\n Lat=Double.valueOf(lats);\r\n ind=ind+lats.length()+1;\r\n \r\n //4)\r\n longs=NMEAS.substring(ind,NMEAS.indexOf(\";\",ind+1));\r\n Long=Double.valueOf(longs);\r\n ind=ind+longs.length()+1;\r\n \r\n //5)\r\n vels=NMEAS.substring(ind,NMEAS.length());\r\n // Transforma de Knots para Km/h\r\n Velocidade=Double.valueOf(vels)/100*1.15152*1.60934;\r\n vels=String.valueOf(Velocidade);\r\n ind=ind+vels.length()+1;\r\n \r\n }", "int[] retrieveAllData();", "@RequestMapping(value = \"/timesegment/store/{coachId}\", method = RequestMethod.GET)\n\tpublic List<SegmentData> getTimeSegmentList(@PathVariable(\"coachId\") Long coachId) {\n\t\tList<SegmentData> currentTimes = new ArrayList<SegmentData>(0);\n\t\t\t\t\n\t\tCalendar c = Calendar.getInstance();\n\t\tCalendar end = Calendar.getInstance();\n\t\tend.add(Calendar.DAY_OF_MONTH, 5); //开发T+4业务\n\t\tList<TimeSegment> segments = timeSegmentRepository.findByCoachId(coachId);\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tSegmentData date = new SegmentData();\n\t\t\tdate.setDate(sdf.format(c.getTime()));\n\t\t\tdate.setWeek(weekOfDays[c.get(Calendar.DAY_OF_WEEK)-1]);\n\t\t\tList<TimeSegment> currentSegment = getDateSegment(segments, date);\t\t\t\n\t\t\tint countTemp = 0;\n\t\t\tfor (int j = 0; j < 16; j++) {\n\t\t\t\tSegmentTime time = new SegmentTime();\n\t\t\t\ttime.setTime(j + 6);\n\t\t\t\tfor (TimeSegment timeSegment : currentSegment) {\t\t\t\t\t\n\t\t\t\t\tif (time.getTime().intValue()==timeSegment.getTimeSegment()) {\n\t\t\t\t\t\ttime.setCount(timeSegment.getCount().intValue());\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tif (time.getCount() == null) {\n\t\t\t\t\t\ttime.setCount(0);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// 检查这个时间是否可用,提前8小时预约\n\t\t\t\tif (i<=1) {\n\t\t\t\t\ttime.setEnable(false);\n\t\t\t\t\ttime.setPastTime(true);\n\t\t\t\t}\t\t\t\t\n\t\t\t\t//Robert Lee 2016-5-3\n\t\t\t\tint currSegment = time.getTime();\n\t\t\t\tif( currSegment>0){\n\t\t\t\t\tif (time.getCount() != null && time.getCount()>=1) { //大于1次时\n\t\t\t\t\t\tcountTemp = time.getCount();\n\t\t\t\t\t}\n\t\t\t\t\tif(countTemp>0){\n\t\t\t\t\t\ttime.setEnable(false);\n\t\t\t\t\t\ttime.setUsedAll(true);\n\t\t\t\t\t\tcountTemp--;\n\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tdate.getSegments().add(time);\n\t\t\t\t\n\t\t\t}\n\t\t\tcurrentTimes.add(date);\n\t\t\t\n\t\t\t//计算出前一天与后一天,今天的前一天和最后一天的后一天为null\n\t\t\tCalendar p = Calendar.getInstance();\n\t\t\tp.setTime(c.getTime());\n\t\t\tp.add(Calendar.DAY_OF_MONTH, -1);\n\t\t\tdate.setPdate(sdf.format(p.getTime()));\n\t\t\tdate.setPweek(weekOfDays[p.get(Calendar.DAY_OF_WEEK)-1]);\n\t\t\t\n\t\t\tCalendar n = Calendar.getInstance();\n\t\t\tn.setTime(c.getTime());\n\t\t\tn.add(Calendar.DAY_OF_MONTH, 1);\n\t\t\tdate.setNdate(sdf.format(n.getTime()));\n\t\t\tdate.setNweek(weekOfDays[n.get(Calendar.DAY_OF_WEEK)-1]);\n\t\t\t//robert Lee\n\t\t\t//if (i ==0 ) {\n\t\t\t//\tdate.setPdate(null);\n\t\t\t//\tdate.setPweek(null);\n\t\t\t//}\n\t\t\t\n\t\t\tif (i ==4) {\n\t\t\t\tdate.setNdate(null);\n\t\t\t\tdate.setNweek(null);\n\t\t\t}\n\t\t\t\n\t\t\t//当前时间算完后把当前时间设置为第二天\n\t\t\tc.add(Calendar.DAY_OF_MONTH, 1);\n\t\t}\n\t\treturn currentTimes;\n\t}" ]
[ "0.60871655", "0.5584898", "0.5562326", "0.5556539", "0.5484961", "0.5475265", "0.5414007", "0.5352722", "0.5351182", "0.5327281", "0.53254247", "0.5312217", "0.5306206", "0.5268769", "0.52659255", "0.52439326", "0.5241424", "0.52356786", "0.522821", "0.5196441", "0.5194333", "0.5190855", "0.5184291", "0.51551676", "0.5122771", "0.51176876", "0.50967896", "0.5090416", "0.5079314", "0.50751376", "0.50725245", "0.506687", "0.50496787", "0.50469136", "0.50448096", "0.5044165", "0.5038791", "0.50319785", "0.5027727", "0.49963072", "0.49914822", "0.49629378", "0.49526373", "0.4945553", "0.49417973", "0.49212348", "0.4912306", "0.49108893", "0.49097234", "0.48989746", "0.48891848", "0.48840246", "0.48740423", "0.4873886", "0.48685202", "0.48679435", "0.4864293", "0.48629245", "0.4857129", "0.484929", "0.48466754", "0.48439032", "0.4843513", "0.48405918", "0.48400337", "0.4836909", "0.48367035", "0.48347452", "0.48325476", "0.48316836", "0.4829758", "0.48285472", "0.4826991", "0.4818772", "0.48059374", "0.47975418", "0.4793266", "0.4792886", "0.4792835", "0.47921997", "0.4791573", "0.4787175", "0.4784987", "0.47846222", "0.47846016", "0.47837487", "0.47827154", "0.47811475", "0.47791016", "0.4772555", "0.47684184", "0.4765096", "0.47635785", "0.47600093", "0.47553208", "0.4754585", "0.4750473", "0.47491166", "0.47467312", "0.47430393", "0.47430125" ]
0.0
-1
Sends notification that sessions list has been changed
void refresh();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateList() {\r\n\t\ttry {\r\n\t \t// Reset the list\r\n\t\t\tsipSessions.clear();\r\n\t \t\r\n\t \t// Get list of pending sessions\r\n\t \tList<IBinder> sessions = sipApi.getSessions();\r\n\t\t\tfor (IBinder session : sessions) {\r\n\t\t\t\tISipSession sipSession = ISipSession.Stub.asInterface(session);\r\n\t\t\t\tsipSessions.add(sipSession);\r\n\t\t\t}\r\n\t\t\tif (sipSessions.size() > 0){\r\n\t\t String[] items = new String[sipSessions.size()]; \r\n\t\t for (int i = 0; i < items.length; i++) {\r\n\t\t\t\t\titems[i]=sipSessions.get(i).getSessionID();\r\n\t\t }\r\n\t\t\t\tsetListAdapter(new ArrayAdapter<String>(SessionsList.this, android.R.layout.simple_list_item_1, items));\r\n\t\t\t} else {\r\n\t\t\t\tsetListAdapter(null);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tUtils.showMessageAndExit(SessionsList.this, getString(R.string.label_session_failed));\r\n\t\t}\r\n }", "private void updateSessionListView() {\n FastLap[] temp = lapMap.values().toArray(new FastLap[lapMap.size()]);\n SessionAdapter adapter = new SessionAdapter(getApplicationContext(), temp);\n mSessionFragment.update(adapter);\n //Log.d(TAG, \"sessionListView UI updated...\");\n }", "public void updated(ServerList list);", "private void updateList() {\r\n\t\ttry {\r\n\t\t\t// Reset the list\r\n\t\t\tcalls.clear();\r\n\r\n\t\t\tif (apiEnabled) {\r\n\t\t \t// Get list of pending sessions\r\n\t\t \tSet<IPCall> currentCalls = callApi.getIPCalls();\r\n\t\t \tcalls = new ArrayList<IPCall>(currentCalls);\r\n\t\t\t\tif (calls.size() > 0){\r\n\t\t\t String[] items = new String[calls.size()]; \r\n\t\t\t for (int i = 0; i < items.length; i++) {\r\n\t\t\t\t\t\titems[i] = getString(R.string.label_session, calls.get(i).getCallId());\r\n\t\t\t }\r\n\t\t\t\t\tsetListAdapter(new ArrayAdapter<String>(IPCallSessionsList.this, android.R.layout.simple_list_item_1, items));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetListAdapter(null);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch(Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tUtils.showMessageAndExit(IPCallSessionsList.this, getString(R.string.label_api_failed));\r\n\t\t}\r\n }", "public void onServiceConnected() {\r\n \t// Display the list of sessions\r\n\t\tupdateList();\r\n }", "public void notifyChangementJoueurs();", "@Override\r\n\tpublic void updateSessionId(ClimingList clim) {\n\t\tsession.update(\"climingLists.updateSessionId\",clim);\r\n\t\t\r\n\t}", "public static void setSessions(ArrayList<Session> _sessions) {\r\n\t\tsessions = _sessions;\r\n\t}", "public boolean onSessionChanged(String authToken, String refreshToken, long expires);", "@Override\n\tpublic void streamingServiceListUpdate() {\n\t\t\n\t}", "void fireSessionAttributeListeners(Session session, String name, Object oldValue, Object newValue);", "private void notifyEventListListeners() {\n this.eventListListeners.forEach(listener -> listener.onEventListChange(this.getEventList()));\n }", "@Override\n public void refreshList(ArrayList<String> newList){\n }", "public void classListChanged();", "default void onRefresh(SessionID sessionID) {\n }", "public void chat_list() {\n\n synchronized(chat_room) {\n Set chat_room_set = chat_room.keySet();\n Iterator iter = chat_room_set.iterator();\n\n clearScreen(client_PW);\n client_PW.println(\"------------Chat Room List-----------\");\n while(iter.hasNext()) {\n client_PW.println(iter.next());\n }\n client_PW.flush();\n }\n }", "@Override\n\tpublic void sessionDestroyed(HttpSessionEvent arg0) {\n\t\tSet all = (Set)this.use.getAttribute(\"onlineuser\");//取出设置的集合\n\t\tall.remove(arg0.getSession().getAttribute(\"userid\"));//取出session中设置的内容\n\t\tthis.use.setAttribute(\"onlineuser\", all);//将更新的集合重新保存\n\t}", "void onClientsUpdated(String[] clients);", "private void sendClientsChangedBroadcast() {\n Intent intent = new Intent(WifiHotspotManager.WIFI_HOTSPOT_CLIENTS_CHANGED_ACTION);\n intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);\n mContext.sendBroadcastAsUser(intent, UserHandle.ALL);\n }", "@Override\n\tpublic boolean updateCourseSessions(String id, ArrayList<Session> sessions) {\n\t\treturn false;\n\t}", "public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}", "public void mem_list() {\n synchronized(chat_room) {\n Set id_set = cur_chat_room.keySet();\n Iterator iter = id_set.iterator();\n clearScreen(client_PW);\n client_PW.println(\"------------online member-----------\");\n while(iter.hasNext()) {\n String mem_id = (String)iter.next();\n if(mem_id != client_ID) {\n client_PW.println(mem_id);\n }\n }\n client_PW.flush();\n }\n }", "@Scheduled(fixedDelay = 36000000, initialDelay = 36000000)\n public void updateSessions() {\n ArrayList<Login> logins = AuthenticationController.getLogins();\n for (Login l : logins) {\n if (l.isExpired(maxDuration)) {\n AuthenticationController.logout(l.getUsername());\n }\n }\n }", "public void Changed(List<Sensor> sensors, int monitorCount, int sensorCount) throws java.rmi.RemoteException;", "@Override\n\tpublic void onUserListUpdate(User listOwner, UserList list) {\n\n\t}", "public boolean onUpdate(Session s) throws CallbackException;", "java.util.List<com.mwr.jdiesel.api.Protobuf.Message.Session> \n getSessionsList();", "public void notifyConfigChange() {\n }", "private void updateDevicesList() {\n\n netDevicesPanel.removeAll();\n\n netManager.getRecentlySeenDevices().forEach(device -> {\n netDevicesPanel.add(new DevicePanel(device));\n });\n\n netDevicesPanel.revalidate();\n netDevicesPanel.repaint();\n }", "@Override\n\t\tpublic void onUserListUpdate(User arg0, UserList arg1) {\n\t\t\t\n\t\t}", "private void refreshNotification() {\n String str = this.mCurrentAddedNotiSsid;\n if (str != null) {\n showNotification(str, true, true);\n }\n String str2 = this.mCurrentDeletedNotiSsid;\n if (str2 != null) {\n showNotification(str2, false, true);\n }\n }", "private void onDevicesListUpdate(Map<String, Boolean> newValue, Map<String, Boolean> oldValue) {\n newValue = newValue == null ? Collections.<String, Boolean>emptyMap() : newValue;\n oldValue = oldValue == null ? Collections.<String, Boolean>emptyMap() : oldValue;\n\n for (Map.Entry<String, Boolean> entry : newValue.entrySet()) {\n String entryKey = entry.getKey();\n if (!oldValue.containsKey(entryKey) && !(entryKey).equals(getMyDeviceId())) {\n onDeviceConnected(entryKey, entry.getValue());\n }\n }\n\n for (Map.Entry<String, Boolean> entry : oldValue.entrySet()) {\n String entryKey = entry.getKey();\n if (!newValue.containsKey(entryKey) && !(entryKey).equals(getMyDeviceId())) {\n onDeviceDisconnected(entryKey, entry.getValue());\n }\n }\n }", "protected static void notifySessionListeners (HTTPSession aSession,\n\t\t\t\t\t\t\t\t\t\t\t\t MauiApplication aMauiApplication,\n\t\t\t\t\t\t\t\t\t\t\t\t boolean aCreated)\n\t{\n\t\tI_SessionListener [] theSessionListeners = getSessionListeners ();\n\t\tif (theSessionListeners.length > 0)\n\t\t{\n\t\t\tSessionEvent theEvent = new SessionEvent (aSession,\n\t\t\t\t\t\t\t\t\t\t\t\t\t aMauiApplication);\n\t\t\tfor (int i = 0; i < theSessionListeners.length; i++)\n\t\t\t{\n\t\t\t\tif (aMauiApplication != null)\n\t\t\t\t{\n\t\t\t\t\tif (aCreated)\n\t\t\t\t\t{\n\t\t\t\t\t\ttheSessionListeners [i].applicationAdded (theEvent);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\ttheSessionListeners [i].applicationRemoved (theEvent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (aCreated)\n\t\t\t\t{\n\t\t\t\t\ttheSessionListeners [i].sessionCreated (theEvent);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\ttheSessionListeners [i].sessionDeleted (theEvent);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n public void notifyObserver() {\n for(Observer o:list){\n o.update(w);\n }\n }", "public void updateUsersList() {\n\t adapter = new UsersAdapter(getActivity(), allUsers);\n setListAdapter(adapter);\n\t getListView().setOnItemClickListener(this);\n\t}", "public void lspStatusChangeEvent(Lsp lsp) {\n instance.invalidateDB();\n }", "@Override\n public void refreshList() {\n }", "@Override\n protected void songSessionChanged(SongSession oldSession, SongSession newSession) {\n logger.log(Level.FINER, \"songSessionChanged(oldSession={0}, newSession={1})\", new Object[]{oldSession, newSession});\n activeSongSession = newSession;\n if (newSession != null) {\n setEnabledOnComponentAndChildren(this, true);\n SwingExecutor.instance().execute(\n new PlayingUpdater(newSession, newSession.isPlaying()));\n logger.log(Level.FINER, \"songSessionChanged(tempo of {0} is {1})\", new Object[]{newSession, newSession.getTempoFactor()});\n SwingExecutor.instance().execute(\n new TempoUpdater(newSession.getTempoFactor()));\n } else {\n conductorPanel.sessionStopped();\n setEnabledOnComponentAndChildren(this, false);\n }\n\n }", "public void updateList()\r\n\t{\r\n\t\tclientQueue.offer(name);\r\n\t}", "@Override\r\n\tpublic void notifyObservers() {\n\t\tfor(Observer o : list) {\r\n\t\t\t// Atualiza a informacao no observador\r\n\t\t\to.update(this, this);\r\n\t\t}\r\n\t}", "private void refreshGameList() {\n ((DefaultListModel) gameJList.getModel()).removeAllElements();\n client.joinServer(connectedServerName, connectedServerIP, connectedServerPort);\n }", "private void updateSessionCounter(HttpSessionEvent httpSessionEvent){\n httpSessionEvent.getSession().getServletContext()\r\n .setAttribute(\"activeSession\", counter.get());\r\n LOG.info(\"Total active session are {} \",counter.get());\r\n }", "private void setSessionEvents(SessionManager sessionMan)\n\t// create session callback...\n {\n try {\n // session end\n sessionMan.getSessionEndEvent().addObserver( new IObserver<NullEventArgs>() {\n public void update(IObservable<NullEventArgs> observable, NullEventArgs args)\n { isRunning = false; }\n });\n }\n catch (StatusException e) {\n e.printStackTrace();\n }\n }", "public void notifyMonitorOnUpdate(int index)\r\n {\r\n int selectedIndex = WatchListTableModule.this.tabPane.getSelectedIndex();\r\n GregorianCalendar t1 = new GregorianCalendar();\r\n if (index == selectedIndex)\r\n {\r\n this.lastUpdate = t1;\r\n }\r\n debug(\r\n \"WatchListMonitorTask::notifyMonitorOnUpdate() - Table \"\r\n + index\r\n + \" - Time is \"\r\n + ParseData.format(t1.getTime(), \"hh:mm:ss\"));\r\n WatchListTableModule.this.setStatusBar(\r\n \"WatchList [\"\r\n + WatchListTableModule.this.tabPane.getTitleAt(index)\r\n + \"] - Last Update \"\r\n + ParseData.format(t1.getTime(), \"hh:mm:ss\"));\r\n }", "public void whiteboardSessionPresenceChanged(\n WhiteboardSessionPresenceChangeEvent evt);", "@Override\r\n\tpublic void sendNotifications() {\n\r\n\t}", "public void onServiceUnregistered() {\r\n \t// Update the list of sessions\r\n\t\tupdateList();\r\n }", "public List<DatastreamVersion> listChangedDatastreams();", "@Override\n\tpublic void updateLoggedinUsers() throws Exception {\n\n\t}", "void refreshPlayerList(Map<String, IPlayerConfig> playerList) throws RpcException;", "public abstract void clientStatusChanged(ClientManager client, Object object);", "public List<NotificationItem> refreshTest()\n {\n return listItems;\n }", "public void onlineUsers(ArrayList<String> users);", "public void updateUserLists()\n\t{\n\t\tfor (CIntentionCell cell : cells.values())\n\t\t{\n\t\t\tcell.updateUserList();\n\t\t}\n\t}", "public synchronized void sendUserList()\n {\n String userString = \"USERLIST#\" + getUsersToString();\n for (ClientHandler ch : clientList)\n {\n ch.sendUserList(userString);\n }\n }", "public void updateList(ArrayList<String> users) {\n System.out.println(\"Updating the list...\");\n listModel.removeAllElements();\n userArrayList = users;\n int index = userArrayList.indexOf(user);\n if(index >= 0) {\n \tuserArrayList.remove(index);\n }\n for(int i=0; i<userArrayList.size(); i++){\n\t\t System.out.println(\"Adding to GUI List: \" + userArrayList.get(i));\n\t\t listModel.addElement(userArrayList.get(i));\n }\n userList.repaint();\n \n if(listModel.size() == 0) {\n \tJOptionPane.showMessageDialog(null,\"There are no other members registered on the server.\");\n\t \tfrmMain.dispatchEvent(new WindowEvent(frmMain, WindowEvent.WINDOW_CLOSING));\n }\n }", "public void passivate() {\r\n // Notify ActivationListeners\r\n \tSipApplicationSessionEvent event = null;\r\n Set<String> keySet = sipApplicationSessionAttributeMap.keySet();\r\n for (String key : keySet) {\r\n \tObject attribute = sipApplicationSessionAttributeMap.get(key);\r\n if (attribute instanceof SipApplicationSessionActivationListener) {\r\n if (event == null)\r\n event = new SipApplicationSessionEvent(this);\r\n try {\r\n ((SipApplicationSessionActivationListener)attribute)\r\n .sessionWillPassivate(event);\r\n } catch (Throwable t) {\r\n logger.error(\"SipApplicationSessionActivationListener threw exception\", t);\r\n }\r\n }\r\n \t\t}\r\n }", "public void updateListView(List<Event> list) {\n this.eventsList = list;\n notifyDataSetChanged();\n }", "public void updateConnectedPlayers(ArrayList<Player> connectedPlayers) throws RemoteException{\n match.setPlayers(connectedPlayers);\n for (int i=0;i<match.getPlayers().size();i++){\n System.out.println(\"[LOBBY]: Player \"+ match.getPlayers().get(i).getNickname()+ \" is in lobby\");\n }\n System.out.println(\"[LOBBY]: Refreshing Lobby..\");\n Platform.runLater(() -> firstPage.refreshPlayersInLobby());// Update on JavaFX Application Thread\n }", "private void updatePlayerList() \n\t{\n\t\tplayerStatus.clear();\n\n\t\tfor(Player thisPlayer: players) // Add the status of each player to the default list model.\n\t\t{\n\t\t\tplayerStatus.addElement(thisPlayer.toString());\n\t\t}\n\n\t}", "@Override\n public void refresh() {\n serverJList.removeAll();\n client.searchForServer();\n }", "void fireSessionDestroyedListeners(Session session);", "public void addSessionChangeListenObject(SessionListener s)\r\n\t{\r\n\t\tthis.objectsInFocus.add(s);\r\n\t}", "public String[] updateItem(Session session) throws RemoteException {\n\t\tSystem.out.println(\"Server model invokes updateItem() method\");\n\t\treturn null;\n\t}", "public void changeSessionId(Session session);", "@Override\n\tpublic void sessionCreated(HttpSessionEvent event) {\n\n\t\tHttpSession session = event.getSession();\n\t\tServletContext application = session.getServletContext();\n\t\tInteger online = (Integer) application.getAttribute(\"online\");\n\t\tif(online != null){\n\t\t\tonline++;\n\t\t}else{\n\t\t\tonline = 1;\n\t\t}\n\t\tapplication.setAttribute(\"online\", online);\n\t}", "@Override\n public void onSessionModificationStateChange(int sessionModificationState) {\n if (sessionModificationState == Call.SessionModificationState.NO_REQUEST) {\n if (mCallId != null) {\n CallList.getInstance().removeCallUpdateListener(mCallId, this);\n }\n\n updateNotification(mInCallState, CallList.getInstance());\n }\n }", "public void onUpdatedPlaylist() {\n setCurrentTrack();\n //this was implemented so this device could have a view of the playlist\n }", "@Override\n public void actionPerformed(ActionEvent e){\n \tframe.getNotif().update();\n ArrayList<Notification> newNotif;\n if (Application.getApplication().getCurrentUser() != null)\n newNotif = Application.getApplication().getCurrentUser().getNotifications();\n else\n newNotif = Application.getApplication().getAdmin().getNotifications();\n frame.getNotif().setNotifications(newNotif);\n this.frame.showPanel(\"notif\");\n }", "public void changeAndNotify(String newStatus){\r\n\t\tstatus = newStatus;\r\n\t\tSystem.out.println(\"new status is: \"+ status);\r\n\t\tthis.notifyAllObservers(status);\r\n\t}", "@Override\r\n\tpublic void OnRoomListNotify(List<stRoomInfo> roomlist) {\n\t\tString roomsID[] = new String[roomlist.size()];\r\n\t\tint roomsType[] = new int[roomlist.size()];\r\n\t\tint counts[] = new int[roomlist.size()];\r\n\t\tint j = 0;\r\n\t\tfor (Iterator<stRoomInfo> i = roomlist.iterator(); i.hasNext();)\r\n\t\t{ \r\n\t\t\tstRoomInfo userinfoRef = i.next(); \r\n\t\t\troomsID[j] = String.valueOf(userinfoRef.getRoomid());\r\n\t\t\troomsType[j] = userinfoRef.getRoomtype().ordinal();\r\n\t\t\tcounts[j] = userinfoRef.getNum();\r\n\t\t\tj++;\r\n\t\t} \r\n\t\t\r\n\t\tRoomListResult(roomsID,roomsType,counts);\r\n\t\t\t\r\n\t}", "public void notifyChange()\r\n {\r\n setChanged();\r\n notifyObservers();\r\n }", "@Override\n public void onRefresh() {\n getUserOnlineStatus();\n }", "private static void fireListChanged(Object tag)\n {\n // if (DEBUG.Enabled) Log.info(\"fireListChanged: \" + Util.tags(tag));\n \n // if (disableEvents)\n // return;\n // for (MetadataListListener mdl : listeners) {\n // try {\n // mdl.listChanged();\n // } catch (Throwable t) {\n // Log.warn(\"listener update: \" + Util.tags(mdl), t);\n // }\n // }\n }", "private void setOldServerList(String oldConfigFile) {\n ArrayList<ServerObjInfo> _serverList =\n ServerConfigurationUtils.getServerListFromOldConfigFile(oldConfigFile);\n ServerSettingHelper.getInstance().setServerInfoList(_serverList);\n if (_serverList.size() == 0) return;\n /* force app to start login screen */\n mSetting.setDomainIndex(\"0\");\n mSetting.setCurrentServer(_serverList.get(0));\n _serverList.get(0).isAutoLoginEnabled = false;\n\n /* persist the configuration */\n new Thread(new Runnable() {\n @Override\n public void run() {\n Log.i(TAG, \"persisting config\");\n SettingUtils.persistServerSetting(mContext);\n }\n }).start();\n }", "private void refreshList(Context context) {\n if (mListManipulator.isListUpdated()) {\n mListManipulator.saveShownListState(context);\n }\n // Start service to refresh app\n Intent serviceIntent = new Intent(getActivity(), MainService.class);\n serviceIntent.setAction(Constants.ACTION_APP_REFRESH);\n getActivity().startService(serviceIntent);\n }", "public void setSessions(Set<Session> sessions) {\n\t\tthis.sessions = sessions;\n\t}", "protected void fireConfigUpdated()\r\n {\r\n List executeListeners = new ArrayList(listeners);\r\n \r\n for (int i=0; i < executeListeners.size(); i++)\r\n {\r\n IConfigurationListener listener = (IConfigurationListener) executeListeners.get(i);\r\n listener.configUpdated();\r\n }\r\n }", "public void updateUserList(String[] users) {\r\n\t\tif (!SwingUtilities.isEventDispatchThread()) {\r\n\t\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void run() {\r\n\t\t\t\t\tlistUsers.setListData(users);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\tSystem.out.println(\"UI: Updated userlist\");\r\n\t}", "private void notifyDevicesChanged() {\n runInAudioThread(new Runnable() {\n @Override\n public void run() {\n WritableArray data = Arguments.createArray();\n final boolean hasHeadphones = availableDevices.contains(DEVICE_HEADPHONES);\n for (String device : availableDevices) {\n if (hasHeadphones && device.equals(DEVICE_EARPIECE)) {\n // Skip earpiece when headphones are plugged in.\n continue;\n }\n WritableMap deviceInfo = Arguments.createMap();\n deviceInfo.putString(\"type\", device);\n deviceInfo.putBoolean(\"selected\", device.equals(selectedDevice));\n data.pushMap(deviceInfo);\n }\n getContext().getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(DEVICE_CHANGE_EVENT, data);\n JitsiMeetLogger.i(TAG + \" Updating audio device list\");\n }\n });\n }", "public static void notifyCitizen(ArrayList<Record> exposed){\n int i,j;\n String usernameE, usernameC;\n\n for(i=0;i<exposed.size();i++)\n {\n usernameE = exposed.get(i).getUsername();\n for(j=0;j<accounts.size();j++)\n {\n usernameC = accounts.get(j).getUsername();\n\n if(usernameE.equals(usernameC)){\n accounts.get(j).setExposed();\n }\n }\n }\n }", "private void notifyUserLoggedInListener(UserLoggedInEvent event) {\r\n \t\tfor (IUserLoggedInListener listener : this.userConnectedListener) {\r\n \t\t\tlistener.userLoggedIn(event);\r\n \t\t}\r\n \t}", "@Override\n\tpublic void sessionChanged(ExerciseSessionData newSession) {\n\t\tlargeStatsFragment.setExerciseSession(newSession);\n\t\tsmallStatsFragment.setExerciseSession(newSession);\n\t}", "@OnOpen\n\tpublic void onOpen(Session session) {\n\t\tclients.add(session);\n\n\t\ttry {\n\n\t\t\tQuestionService qs = WebSocketSupportBean.getInstance().getQs();\n\n\t\t\tif (qs != null) {\n\t\t\t\tsendCurrentValues(session, qs);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\t// ignore for now\n\t\t}\n\n\t}", "void notifyAllAboutChange();", "void onStatusChanged(Status newStatus);", "@Override\n\tpublic void onUserListSubscription(User subscriber, User listOwner, UserList list) {\n\n\t}", "private void notifyidiots() {\n\t\tfor(Observ g:obslist) {\n\t\t\tg.update();\n\t\t}\n\t}", "@Override\n\tpublic void afterConnectionClosed(WebSocketSession session, CloseStatus status) throws Exception {\n\t\tlog.info(\" === afterConnectionClosed 실행 === \");\n\t\tList<SessionVo> keyList = new ArrayList<SessionVo>();\n\t\tIterator<SessionVo> it = users.keySet().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tSessionVo key = it.next();\n\t\t\tif (users.get(key).equals(session)) {\n\t\t\t\tkeyList.add(key);\n\t\t\t}\n\t\t}\n\n\t\tfor (SessionVo listkey : keyList) {\n\t\t\tusers.remove(listkey);\n\t\t}\n\t\tsession.close();\n\t}", "public void run() {\n\t\ttry {\n\t\t\tfor (;;) {\n\t\t\t\t/**\n\t\t\t\t * Sends notifications at timeout intervals every timeout\n\t\t\t\t */\n\t\t\t\tThread.sleep(NOTIFICATION_TIMEOUT);\n\n\t\t\t\t/** Do nothing if the session map is not initialized */\n\t\t\t\tif (EventWebSocketAdapter_R.sessions == null) {\n\t\t\t\t\tlogger.info(\"The sessions map is 'null ... do nothing.\\n\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tlogger.info(\"The sessions map length is '%d'\\n\", EventWebSocketAdapter_R.sessions.size());\n\n\t\t\t\t/** Do nothing if there is no connection */\n\t\t\t\tif (EventWebSocketAdapter_R.sessions.size() == 0) {\n\t\t\t\t\tlogger.info(\"The sessions map length is '%d' ... do nothing.\\n\",\n\t\t\t\t\t\t\tEventWebSocketAdapter_R.sessions.size());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t/** Sends notifications to all connected clients */\n\t\t\t\tfor (Map.Entry<Integer, Session> entry : EventWebSocketAdapter_R.sessions.entrySet()) {\n\t\t\t\t\tentry.getValue().getRemote().sendString(String.format(\"'%tT' from server '%s'\",\n\t\t\t\t\t\t\tCalendar.getInstance().getTime(), entry.getValue().getLocalAddress()));\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Throwable T) {\n\t\t\t/** Trace error */\n\t\t\tlogger.catching(T);\n\t\t} finally {\n\t\t\t/** Trace info */\n\t\t\tlogger.info(String.format(\"Thread '%s' shutdown ... \\n\", Thread.currentThread().getName()));\n\t\t}\n\t}", "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\r\n\tvoid updateNames () {\n\t\tConnection[] connections = server.getConnections();\r\n\t\t\r\n\t\tArrayList<String> names = new ArrayList<>(connections.length);\r\n\t\tfor (int i = connections.length - 1; i >= 0; i--) {\r\n\t\t\tChatConnection connection = (ChatConnection)connections[i];\r\n\t\t\tnames.add(connection.name);\r\n\t\t}\r\n\t\t// Send the names to everyone.\r\n\t\tUpdateNames updateNames = new UpdateNames();\r\n\t\tupdateNames.names = (String[])names.toArray(new String[names.size()]);\r\n\t\tserver.sendToAll(updateNames, true);\r\n\t}", "public void notifyObservers(){\r\n\t\tif (this.lastNews != null)\r\n\t\t\tfor (Observer ob: observers){\r\n\t\t\t\tob.updateFromLobby(lastNews);\r\n\t\t\t}\r\n\t}", "private void notifySipApplicationSessionListeners(SipApplicationSessionEventType sipApplicationSessionEventType) {\t\t\t\t\r\n \t\tSipApplicationSessionEvent event = new SipApplicationSessionEvent(this);\r\n \t\tif(logger.isDebugEnabled()) {\r\n \t\t\tlogger.debug(\"notifying sip application session listeners of context \" + \r\n \t\t\t\t\tkey.getApplicationName() + \" of following event \" + sipApplicationSessionEventType);\r\n \t\t}\r\n \t\tList<SipApplicationSessionListener> listeners = \r\n \t\t\tsipContext.getListeners().getSipApplicationSessionListeners();\r\n \t\tfor (SipApplicationSessionListener sipApplicationSessionListener : listeners) {\r\n \t\t\ttry {\r\n \t\t\t\tif(SipApplicationSessionEventType.CREATION.equals(sipApplicationSessionEventType)) {\r\n \t\t\t\t\tsipApplicationSessionListener.sessionCreated(event);\r\n \t\t\t\t} else if (SipApplicationSessionEventType.DELETION.equals(sipApplicationSessionEventType)) {\r\n \t\t\t\t\tsipApplicationSessionListener.sessionDestroyed(event);\r\n \t\t\t\t} else if (SipApplicationSessionEventType.EXPIRATION.equals(sipApplicationSessionEventType)) {\r\n \t\t\t\t\tsipApplicationSessionListener.sessionExpired(event);\r\n \t\t\t\t} else if (SipApplicationSessionEventType.READYTOINVALIDATE.equals(sipApplicationSessionEventType)) {\r\n \t\t\t\t\tsipApplicationSessionListener.sessionReadyToInvalidate(event);\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t} catch (Throwable t) {\r\n \t\t\t\tlogger.error(\"SipApplicationSessionListener threw exception\", t);\r\n \t\t\t}\r\n \t\t}\t\t\r\n \t}", "private void updateList() {\r\n\t\tlistaStaff.setItems(FXCollections.observableArrayList(service\r\n\t\t\t\t.getStaff()));\r\n\t}", "@Override\n\tpublic void afterConnectionEstablished(WebSocketSession session) throws Exception {\n\t\tusers.add(session);\n\t\t//\n\t}", "@Override\r\npublic void sessionWillPassivate(HttpSessionEvent arg0) {\n\t\r\n}", "private void updateLists(){\n subjects.clear();\n for(Message m : user.getMessages()){\n subjects.add(String.format(\"From - %-\" + (40 - m.getFrom().length()) +\"s %20s\", m.getFrom(), m.getTimestamp().substring(0,16)));\n }\n listViewAdapter.notifyDataSetChanged();\n }", "public void updateActiveUsers() {\r\n\t\tif (commandsQueue.isEmpty()) {\r\n\t\t\tString currentDoc = this.toString();\r\n\t\t\tfor (Socket socket : activeClients) {\r\n\t\t\t\tif (!socket.isClosed())\r\n\t\t\t\t\tServer.outs.get(socket).println(id + \"A\" + currentDoc);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n public void update(Observable o, Object arg) {\n if (o == observable) {\n // System.out.println(\"To do list updated to: \" + observable.getList());\n notification = \"To do list updated to: \" + observable.getList();\n }\n }", "public interface WhiteboardSessionPresenceListener\n extends EventListener\n{\n /**\n * Called to notify interested parties that a change in our presence in\n * a white-board has occured. Changes may include us being joined,\n * left, dropped.\n * @param evt the <tt>WhiteboardSessionPresenceChangeEvent</tt> instance\n * containing the session and the type, and reason of the change\n */\n public void whiteboardSessionPresenceChanged(\n WhiteboardSessionPresenceChangeEvent evt);\n}", "@Override\r\n\tpublic void notifyObservers() {\n\t\t\r\n\t}" ]
[ "0.7194443", "0.6409199", "0.63930357", "0.63216794", "0.61103207", "0.6006437", "0.5937387", "0.5926885", "0.5906104", "0.5828698", "0.57051134", "0.5680141", "0.5672519", "0.5644449", "0.5633428", "0.5621355", "0.5616614", "0.5607102", "0.56053615", "0.5592581", "0.55867016", "0.5585634", "0.55838263", "0.55471003", "0.5544593", "0.55375916", "0.54994994", "0.54806453", "0.54761785", "0.54651594", "0.5464018", "0.5452779", "0.5428147", "0.5401966", "0.54019034", "0.5398902", "0.53907347", "0.538738", "0.53832895", "0.5381847", "0.53817147", "0.53635067", "0.5353263", "0.535271", "0.53459114", "0.5337856", "0.53346664", "0.5331917", "0.5329144", "0.5324917", "0.531919", "0.5309533", "0.5295979", "0.52917486", "0.5289226", "0.5288781", "0.5288553", "0.5286178", "0.5282879", "0.5278983", "0.5260784", "0.52597845", "0.5258007", "0.52556616", "0.52533954", "0.5251476", "0.5234979", "0.523313", "0.52191883", "0.5218121", "0.52089757", "0.5204991", "0.5203929", "0.5197876", "0.5195537", "0.5192325", "0.51872784", "0.51833296", "0.51810473", "0.51809883", "0.51763564", "0.51680845", "0.51637495", "0.5152762", "0.515252", "0.51475066", "0.5146483", "0.51364505", "0.5129566", "0.5126603", "0.51130575", "0.5113036", "0.5111619", "0.5109798", "0.51076615", "0.5103285", "0.5101089", "0.5098898", "0.50988954", "0.5095846", "0.5094345" ]
0.0
-1
helper method for inflating Items
private Item fromResultSet(ResultSet resultSet) throws SQLException { String name = resultSet.getString("Name"); String description = resultSet.getString("Description"); int dollars = resultSet.getInt("PriceDollars"); int cents = resultSet.getInt("PriceCents"); Item i = new Item(name, description, dollars, cents); dao.setId(i, resultSet.getInt("id")); return i; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract void loadItemsInternal();", "private void inflateViewForItem(Item item) {\n\n //Inflate Layout\n ItemCardBinding binding = ItemCardBinding.inflate(getLayoutInflater());\n\n //Bind Data\n binding.imageView.setImageBitmap(item.bitmap);\n binding.title.setText(item.label);\n binding.title.setBackgroundColor(item.color);\n\n //Add it to the list\n b.list.addView(binding.getRoot());\n }", "@Override // see item.java\n\tpublic void useItem() {\n\n\t}", "protected abstract ReadCell<DataType> createItemCell(LayoutInflater inflater, View convertView, ViewGroup parent);", "protected void onBindData(Context context, int position, T item, int itemLayoutId, ViewHelper2 helper){\n\n }", "private void addItem() {\n\n ItemBean bean2 = new ItemBean();\n int drawableId2 = getResources().getIdentifier(\"ic_swrl\", \"drawable\", this.getPackageName());\n bean2.setAddress(drawableId2);\n bean2.setName(getResources().getString(R.string.swrl));\n itemList.add(bean2);\n\n ItemBean bean3 = new ItemBean();\n int drawableId3 = getResources().getIdentifier(\"ic_bianmin\", \"drawable\", this.getPackageName());\n bean3.setAddress(drawableId3);\n bean3.setName(getResources().getString(R.string.bianmin));\n itemList.add(bean3);\n\n ItemBean bean4 = new ItemBean();\n int drawableId4 = getResources().getIdentifier(\"ic_shenghuo\", \"drawable\", this.getPackageName());\n bean4.setAddress(drawableId4);\n bean4.setName(getResources().getString(R.string.shenghuo));\n itemList.add(bean4);\n\n ItemBean bean5 = new ItemBean();\n int drawableId5 = getResources().getIdentifier(\"ic_nxwd\", \"drawable\", this.getPackageName());\n bean5.setAddress(drawableId5);\n bean5.setName(getResources().getString(R.string.nxwd));\n// itemList.add(bean5);\n\n }", "@Override\n protected int[] getChildViewIds() {\n return new int[] {\n R.id.feed_item_root,\n R.id.feed_item_avatar_layout,\n R.id.feed_item_avatar,\n R.id.feed_item_nickname,\n R.id.feed_item_createtime,\n R.id.feed_expand_text_view,\n R.id.feed_item_desc_image_layout,\n R.id.feed_item_desc_image,\n R.id.feed_support_count,\n R.id.feed_post_layout,\n R.id.feed_post_container_layout,\n R.id.feed_support_layout,\n R.id.feed_item_image_grid,\n R.id.feed_item_share,\n R.id.feed_item_support,\n R.id.feed_item_post,\n R.id.feed_item_support_text,\n R.id.feed_item_default_delete_button,\n R.id.feed_item_delete_layout,\n R.id.feed_prize_layout,\n R.id.feed_prize_text,\n R.id.feed_badge_layout,\n R.id.feed_prize_and_support_and_post_layout,\n\n R.id.item_divider,\n\n //empty\n R.id.list_empty_layout,\n R.id.list_empty_text\n };\n }", "FlatList createFlatList();", "private void readItems() {\n }", "@Override\n public MyAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n\n if (viewType == TYPE_ITEM) {\n View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_row,parent,false); //Inflating the layout\n\n ViewHolder vhItem = new ViewHolder(v,viewType); //Creating ViewHolder and passing the object of type view\n\n return vhItem; // Returning the created object\n\n //inflate your layout and pass it to view holder\n\n } else if (viewType == TYPE_HEADER) {\n\n View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.header,parent,false); //Inflating the layout\n\n ViewHolder vhHeader = new ViewHolder(v,viewType); //Creating ViewHolder and passing the object of type view\n\n return vhHeader; //returning the object created\n\n\n }\n return null;\n\n }", "public static void preloadItemViews(Context context) {\n LayoutInflater inflater =\n (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n // Use a fake parent to make the layoutParams set correctly.\n ViewGroup fakeParent = new LinearLayout(context);\n for (int id : PRELOADED_VIEW_IDS) {\n sRecycledViewPool.setMaxRecycledViews(id, PRELOADED_VIEW_SIZE);\n for (int j = 0; j < PRELOADED_VIEW_SIZE; ++j) {\n View view = inflater.inflate(id, fakeParent, false);\n ViewCache.getInstance().putView(id, view);\n }\n }\n }", "@Override\n\tpublic void viewItem() {\n\t\t\n\t}", "protected abstract void makeItem();", "private Item initItem() {\n String name = inputName.getText().toString();\n int quantityToBuy = -1;\n if (!inputQuantityToBuy.getText().toString().equals(\"\"))\n quantityToBuy = Integer.parseInt(inputQuantityToBuy.getText().toString());\n String units = inputUnits.getText().toString();\n double price = 0;\n if (!inputPrice.getText().toString().equals(\"\"))\n price = Double.parseDouble(inputPrice.getText().toString());\n int calories = 0;\n if (!inputCalories.getText().toString().equals(\"\"))\n calories = Integer.parseInt(inputCalories.getText().toString());\n ArrayList<String> allergies = allergyActions.getAllergies();\n return new Item(name, 0, units, quantityToBuy, 0, allergies, calories, price);\n }", "Items(){\n}", "private ArrayList<Item> getData() { // generates an array containing 3 Item class objects\n\n // cost\n String[] cost = getResources().getStringArray(R.array.elvCostItems);\n Item i1=new Item(cost[0], new ArrayList<>(Collections.singletonList(cost[5])),false); // Define an Item object call i1\n i1.elements.add(cost[1]); // child elements below\n i1.elements.add(cost[2]);\n i1.elements.add(cost[3]);\n i1.elements.add(cost[4]);\n i1.elements.add(cost[5]);\n i1.elements.add(cost[6]);\n\n // activity or event\n String[] category = getResources().getStringArray(R.array.elvCategoryItems);\n Item i2=new Item(category[0], new ArrayList<>(Arrays.asList(category[1],category[2])),true); // Item.Option is set by the arg1 and default selection is set by arg 2\n i2.elements.add(category[1]);\n i2.elements.add(category[2]);\n\n // city\n String[] location = getResources().getStringArray(R.array.elvLocationItems);\n Item i4=new Item(location[0],new ArrayList<>(Collections.singletonList(location[1])),false);\n i4.elements.add(location[1]);\n\n // distance away\n String[] distance = getResources().getStringArray(R.array.elvDistanceItems);\n Item i5=new Item(distance[0],new ArrayList<>(Collections.singletonList(distance[4])),false);\n i5.elements.add(distance[1]);\n i5.elements.add(distance[2]);\n i5.elements.add(distance[3]);\n i5.elements.add(distance[4]);\n i5.elements.add(distance[5]);\n\n // other - disabled access, indoors, etc\n String[] other = getResources().getStringArray(R.array.elvOtherItems);\n ArrayList<String> temp = new ArrayList<>();\n Item i6=new Item(other[0], temp,true);\n i6.elements.add(other[1]);\n i6.elements.add(other[2]);\n i6.elements.add(other[3]);\n i6.elements.add(other[4]);\n i6.elements.add(other[5]);\n i6.elements.add(other[6]);\n\n // add items to the elv\n ArrayList<Item> allItems=new ArrayList<>(); // append all Item objects into an ArrayList\n allItems.add(i1);\n allItems.add(i2);\n allItems.add(i4);\n allItems.add(i5);\n allItems.add(i6);\n\n return allItems;\n }", "protected abstract int getItemLayoutId();", "@Override\n protected int getNormalLayoutResId() {\n return itemCommonBinder.layout;\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n \n /* Get the incoming data from the calling activity */\n String itemKey = getIntent().getStringExtra(\"com.gimranov.zandy.client.itemKey\");\n item = Item.load(itemKey);\n \n // When an item in the view has been updated via a sync, the temporary key may have\n // been swapped out, so we fall back on the DB ID\n if (item == null) {\n String itemDbId = getIntent().getStringExtra(\"com.gimranov.zandy.client.itemDbId\");\n \titem = Item.loadDbId(itemDbId);\n }\n \t\n // Set the activity title to the current item's title, if the title works\n if (item.getTitle() != null && !item.getTitle().equals(\"\"))\n \tthis.setTitle(item.getTitle());\n else\n \tthis.setTitle(\"Item Data\");\n \n ArrayList<Bundle> rows = item.toBundleArray();\n \n /* \n * We use the standard ArrayAdapter, passing in our data as a Bundle.\n * Since it's no longer a simple TextView, we need to override getView, but\n * we can do that anonymously.\n */\n setListAdapter(new ArrayAdapter<Bundle>(this, R.layout.list_data, rows) {\n \t@Override\n \tpublic View getView(int position, View convertView, ViewGroup parent) {\n \t\tView row;\n \t\t\n // We are reusing views, but we need to initialize it if null\n \t\tif (null == convertView) {\n LayoutInflater inflater = getLayoutInflater();\n \t\t\trow = inflater.inflate(R.layout.list_data, null);\n \t\t} else {\n \t\t\trow = convertView;\n \t\t}\n \n \t\t/* Our layout has just two fields */\n \t\tTextView tvLabel = (TextView) row.findViewById(R.id.data_label);\n \t\tTextView tvContent = (TextView) row.findViewById(R.id.data_content);\n \t\t\n \t \t/* Since the field names are the API / internal form, we\n \t \t * attempt to get a localized, human-readable version. */\n \t\ttvLabel.setText(Item.localizedStringForString(\n \t\t\t\t\tgetItem(position).getString(\"label\")));\n \t\t\n \t\tString content = getItem(position).getString(\"content\");\n \t\t\n \t\ttvContent.setText(content);\n \n \t\treturn row;\n \t}\n });\n \n ListView lv = getListView();\n lv.setTextFilterEnabled(true);\n lv.setOnItemClickListener(new OnItemClickListener() {\n \t// Warning here because Eclipse can't tell whether my ArrayAdapter is\n \t// being used with the correct parametrization.\n \t@SuppressWarnings(\"unchecked\")\n \t\t\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n \t\t\t// If we have a click on an entry, do something...\n \t\tArrayAdapter<Bundle> adapter = (ArrayAdapter<Bundle>) parent.getAdapter();\n \t\tBundle row = adapter.getItem(position);\n \t\tif (row.getString(\"label\").equals(\"url\")) {\n \t\t\trow.putString(\"url\", row.getString(\"content\"));\n \t\t\tremoveDialog(DIALOG_CONFIRM_NAVIGATE);\n \t\t\tshowDialog(DIALOG_CONFIRM_NAVIGATE, row);\n \t\t\treturn;\n \t\t} else if (row.getString(\"label\").equals(\"DOI\")) {\n \t\t\tString url = \"http://dx.doi.org/\"+Uri.encode(row.getString(\"content\"));\n \t\t\trow.putString(\"url\", url);\n \t\t\tremoveDialog(DIALOG_CONFIRM_NAVIGATE);\n \t\t\tshowDialog(DIALOG_CONFIRM_NAVIGATE, row);\n \t\t\treturn;\n \t\t} else if (row.getString(\"label\").equals(\"creators\")) {\n \t \tLog.d(TAG, \"Trying to start creators activity\");\n \t \tIntent i = new Intent(getBaseContext(), CreatorActivity.class);\n \t\t \ti.putExtra(\"com.gimranov.zandy.client.itemKey\", item.getKey());\n \t \tstartActivity(i);\n \t \treturn;\n \t\t} else if (row.getString(\"label\").equals(\"tags\")) {\n \t \tLog.d(TAG, \"Trying to start tag activity\");\n \t \tIntent i = new Intent(getBaseContext(), TagActivity.class);\n \t \ti.putExtra(\"com.gimranov.zandy.client.itemKey\", item.getKey());\n \t \tstartActivity(i);\n \t\t\treturn;\n \t \t\t} else if (row.getString(\"label\").equals(\"children\")) {\n \t \t \tLog.d(TAG, \"Trying to start attachment activity\");\n \t \t \tIntent i = new Intent(getBaseContext(), AttachmentActivity.class);\n \t \t \ti.putExtra(\"com.gimranov.zandy.client.itemKey\", item.getKey());\n \t \t \tstartActivity(i);\n \t \t\t\treturn;\n \t \t\t}\n \t\t\n \t\t\t\tToast.makeText(getApplicationContext(), row.getString(\"content\"), \n \t\t\t\tToast.LENGTH_SHORT).show();\n \t}\n });\n \n /*\n * On long click, we bring up an edit dialog.\n */\n lv.setOnItemLongClickListener(new OnItemLongClickListener() {\n \t/*\n \t * Same annotation as in onItemClick(..), above.\n \t */\n \t@SuppressWarnings(\"unchecked\")\n \t\t\tpublic boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {\n \t\t\t// If we have a long click on an entry, we'll provide a way of editing it\n \t\tArrayAdapter<Bundle> adapter = (ArrayAdapter<Bundle>) parent.getAdapter();\n \t\tBundle row = adapter.getItem(position);\n \t\t// Show the right type of dialog for the row in question\n \t\tif (row.getString(\"label\").equals(\"itemType\")) {\n \t\t\t// XXX \n \tToast.makeText(getApplicationContext(), \"Item type cannot be changed.\", \n \t\t\t\tToast.LENGTH_SHORT).show();\n \t\t\t//removeDialog(DIALOG_ITEM_TYPE);\n \t\t\t//showDialog(DIALOG_ITEM_TYPE, row);\n \t\t\treturn true;\n \t\t} else if (row.getString(\"label\").equals(\"children\")) {\n \t \tLog.d(TAG, \"Not starting children activity on click-and-hold\");\n \t \treturn true;\n \t\t} else if (row.getString(\"label\").equals(\"creators\")) {\n \t \tLog.d(TAG, \"Trying to start creators activity\");\n \t \tIntent i = new Intent(getBaseContext(), CreatorActivity.class);\n \t\t \ti.putExtra(\"com.gimranov.zandy.client.itemKey\", item.getKey());\n \t \tstartActivity(i);\n \t \treturn true;\n \t\t} else if (row.getString(\"label\").equals(\"tags\")) {\n \t \tLog.d(TAG, \"Trying to start tag activity\");\n \t \tIntent i = new Intent(getBaseContext(), TagActivity.class);\n \t \ti.putExtra(\"com.gimranov.zandy.client.itemKey\", item.getKey());\n \t \tstartActivity(i);\n \t\t\treturn true;\n \t\t}\n \t\t\tremoveDialog(DIALOG_SINGLE_VALUE);\n \t\tshowDialog(DIALOG_SINGLE_VALUE, row);\n \t\treturn true;\n }\n });\n \n }", "private void renderer(int rv, ArrayList<ItemBox> list){\n recyclerView = findViewById(rv);\r\n recyclerView.setHasFixedSize(true);\r\n RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false);\r\n RecyclerView.Adapter adapter = new Itembox_Adapter(list, this, 1);\r\n recyclerView.setLayoutManager(layoutManager);\r\n recyclerView.setAdapter(adapter);\r\n }", "private void loadItemList() {\n this.presenter.initialize();\n }", "protected abstract void fillData(View itemView, T data);", "protected List<View> getItems() {\n return items;\n }", "public OrderAdapter() {\n super(new ArrayList<MultiItemEntity>());\n addItemType(TYPE_HEAD, R.layout.item_order_head);\n addItemType(TYPE_CONTENT, R.layout.item_order_content);\n addItemType(TYPE_FOOTER, R.layout.item_order_foot);\n }", "@Override\n public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n View item = LayoutInflater.from(parent.getContext()).inflate(R.layout.item, parent, false);\n// Pasar la vista (item.xml) al ViewHolder\n ViewHolder viewHolder = new ViewHolder(item);\n return viewHolder;\n }", "public void loadIngredients(){\n llingerdientDetails.removeAllViews();\n for(int i = 0; i < llDishes.getChildCount();i++) {\n\n ((LinearLayout) llDishes.getChildAt(i).findViewById(R.id.llborderColor)).setBackgroundColor(Color.parseColor(\"#00800000\"));\n\n }\n //llborderColor_ingredients.setBackgroundColor(Color.parseColor(\"#800000\"));\n for(Dish dish: dinnerModel.getDishes()){\n\n for (Ingredient ing : dish.getIngredients()) {\n\n View ingtredientsItemView = layoutInflater.inflate(R.layout.ingredients_item_view,null);\n TextView txtingredientName = (TextView)ingtredientsItemView.findViewById(R.id.txtIngredientName);\n TextView txtingredientUnit = (TextView)ingtredientsItemView.findViewById(R.id.txtIngredientUnit);\n TextView txtingredientqty = (TextView)ingtredientsItemView.findViewById(R.id.txtIngredientqty);\n txtingredientName.setText(ing.getName());\n txtingredientqty.setText(Double.toString(Double.parseDouble(ing.getQuantity()) * dinnerModel.getNumberOfGuests()));\n txtingredientUnit.setText(ing.getUnit());\n llingerdientDetails.addView(ingtredientsItemView);\n }\n }\n }", "private void setupItemView(View view, NewCollectedItem item) {\n if (item != null) {\n TextView nameText = view.findViewById(R.id.collected_name);\n TextView heightText = view.findViewById(R.id.collected_height);\n TextView pointsText = view.findViewById(R.id.collected_points);\n TextView positionText = view.findViewById(R.id.collected_position);\n TextView dateText = view.findViewById(R.id.collected_date);\n\n nameText.setText(item.getName());\n heightText.setText(mContext.getResources().getString(R.string.height_display,\n UIUtils.IntegerConvert(item.getHeight())));\n positionText.setText(mContext.getResources().getString(R.string.position_display,\n item.getLongitude(), item.getLatitude()));\n pointsText.setText(mContext.getResources().getString(R.string.points_display,\n UIUtils.IntegerConvert(item.getPoints())));\n dateText.setText(mContext.getResources().getString(R.string.date_display,\n item.getDate()));\n\n if (item.isTopInCountry()) {\n view.findViewById(R.id.collected_trophy).setVisibility(View.VISIBLE);\n }\n else {\n view.findViewById(R.id.collected_trophy).setVisibility(View.INVISIBLE);\n }\n\n positionText.setVisibility(View.GONE);\n dateText.setVisibility(View.GONE);\n setCountryFlag(view, item.getCountry());\n }\n }", "@Override\n public listAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n\n\n\n View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.listitemamentitylayout, parent, false);\n\n listAdapter.ViewHolder vh = new listAdapter.ViewHolder(v);\n\n\n\n return vh;\n\n\n\n }", "public void reconstructViews() {\n for (int i = 0; i < getChildCount(); i++) {\n VerificationCustomItem item = (VerificationCustomItem) getChildAt(i);\n item.reconstructView();\n }\n }", "@Override\n public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n MyViewHolder holder = new MyViewHolder(LayoutInflater.from(\n PickingListActivity.this).inflate(R.layout.picking_list_item, parent,\n false));\n return holder;\n }", "@Override\n public Object getItem(int arg0) {\n return arg0;\n }", "@Override\n public Object getItem(int arg0) {\n return arg0;\n }", "@Override\n public Object getItem(int arg0) {\n return arg0;\n }", "public static List<DataItem> importFromResource(Context context){\n InputStreamReader reader = null;\n InputStream inputStream = null;\n\n try {\n //Instantiate InputStream with static raw file the assign it to InputStreamReader\n inputStream = context.getResources().openRawResource(R.raw.menuitems);\n reader = new InputStreamReader(inputStream);\n //Populate DataItems class and return result\n Gson gson = new Gson();\n DataItems dataItems = gson.fromJson(reader, DataItems.class);\n return dataItems.getDataItems();\n }finally {\n //close both classes\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n if (inputStream != null) {\n try {\n inputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }\n }", "@Override\n public int itemLayoutRes()\n {\n return R.layout.recommendlist_item;\n }", "private void updateItems()\n\t{\t\n\t\tupdatePizzaTypes(items);\n\t\tupdateSidesTypes(items);\n\t\tupdateDrinksTypes(items);\n\t}", "@Override\n\tpublic void showItems(JZMatchBean bean, LinearLayout parent_layout) {\n\t\t\n\t}", "public abstract ItemListAdapter getAdapter(RecyclerView recyclerView);", "public List<Item> getItemList();", "protected abstract LibraryItem getItemFromFields();", "@Override\n public void setUpAdapterAndView(List<ListItem> listOfData) {\n this.listOfData = listOfData;\n LinearLayoutManager layoutManager = new LinearLayoutManager(this);\n\n recyclerView.setLayoutManager(layoutManager);\n\n adapter = new CustomAdapter();\n recyclerView.setAdapter(adapter);\n\n DividerItemDecoration itemDecoration = new DividerItemDecoration(\n recyclerView.getContext(),\n layoutManager.getOrientation()\n );\n\n itemDecoration.setDrawable(\n ContextCompat.getDrawable(\n ListActivity.this,\n R.drawable.divider_white\n )\n );\n\n recyclerView.addItemDecoration(\n itemDecoration\n );\n\n ItemTouchHelper itemTouchHelper = new ItemTouchHelper(createHelperCallback());\n itemTouchHelper.attachToRecyclerView(recyclerView);\n\n\n }", "@Override\n public View getView(LayoutInflater inflater, View convertView) {\n return getViewItem(inflater, convertView);\n }", "@Override\n protected void convert(@NonNull BaseViewHolder helper, PartyContentItemBean.ListBean item) {\n try {\n int adapterPosition = helper.getAdapterPosition();\n helper.addOnClickListener(R.id.front_layout);\n helper.addOnClickListener(R.id.delete_layout);\n ImageView pic = helper.getView(R.id.pic);\n if (StringUtil.isNotNullString(item.getCoverPicturePath())) {\n pic.setVisibility(View.VISIBLE);\n GlideUtil.loadImage(mContext, item.getCoverPicturePath(), pic);\n } else {\n pic.setVisibility(View.GONE);\n }\n TextView itemTitle = helper.getView(R.id.item_title);\n itemTitle.setText((item.getTitle()));\n helper.setText(R.id.author, (item.getAuthor()));\n helper.setText(R.id.time, (item.getReleaseTime()));\n SwipeRevealLayout swipeRevealLayout = helper.getView(R.id.swipe_reveal_layout);\n if (adapterPosition != newOpenedPos && swipeRevealLayout.isOpened()) {\n swipeRevealLayout.close(true);\n }\n swipeRevealLayout.setSwipeListener(new SwipeRevealLayout.SimpleSwipeListener() {\n @Override\n public void onOpened(SwipeRevealLayout view) {\n super.onOpened(view);\n oldOpenedPos = newOpenedPos;\n newOpenedPos = adapterPosition;\n notifiItemClose(oldOpenedPos);\n }\n });\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "@Override\n public int getCount() {\n return items.size();\n }", "@Override\n public int getCount() {\n return items.size();\n }", "@Override\n public int getCount() {\n return items.size();\n }", "@Override\n public int getCount() {\n return items.size();\n }", "@Override\n\tprotected int getItemViewId() {\n\t\treturn R.layout.item_group_class;\n\t}", "@Override\n public void loadItems(){\n Log.d(\"Presenter\",\"Loading Items\");\n mRepository.getItems(new DataSource.LoadItemsCallback() {\n @Override\n public void onItemsLoaded(List<Session> sessions) {\n Log.d(\"PRESENTER\",\"Loaded\");\n\n //mView.showItems(Items);\n }\n\n @Override\n public void onDataNotAvailable() {\n Log.d(\"PRESENTER\",\"Not Loaded\");\n }\n });\n }", "B itemIconGenerator(ItemIconGenerator<ITEM> itemIconGenerator);", "private void fillAdapter() {\n LoaderManager loaderManager = getSupportLoaderManager();\n Loader<String> recipesListLoader = loaderManager.getLoader(RECIPES_LIST_LOADER);\n if(recipesListLoader == null) {\n loaderManager.initLoader(RECIPES_LIST_LOADER, null, this);\n } else {\n loaderManager.restartLoader(RECIPES_LIST_LOADER, null, this);\n }\n }", "@Override\n public Object getItem(int arg0) {\n return arg0;\n }", "public ChainShopAdapter(List<MultiItemEntity> data) {\n super(data);\n addItemType(TYPE_LEVEL_1, R.layout.item_shop_employess_list);\n addItemType(TYPE_PERSON, R.layout.item_shop_employee);\n }", "@Override\n public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n\n MyViewHolder viewHolder = null;\n LayoutInflater inflater = LayoutInflater.from(parent.getContext());\n\n Log.e(\"TAg\", \"the view type : \" + viewType);\n\n switch (viewType) {\n case ITEM:\n // viewHolder = getViewHolder(parent, inflater);\n\n View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.blood_appeals_custom_row, parent, false);\n viewHolder = new MyViewHolder(itemView);\n\n break;\n case LOADING:\n View v2 = inflater.inflate(R.layout.progress_item_at_end, parent, false);\n viewHolder = new MyViewHolder(v2);\n break;\n\n }\n\n\n\n\n return viewHolder;\n\n }", "public void LoadSingleItemData(View view) {\n loadSingleItem(friendsDatabase);\n }", "protected abstract SingleTypeAdapter<E> createAdapter( final List<E> items );", "private void loadItems() {\n CheckItemsActivity context = this;\n makeRestGetRequest(String.format(Locale.getDefault(),\n RestClient.ITEMS_URL, checkId), (success, response) -> {\n if (!success) {\n Log.d(DEBUG_TAG, \"Load items fail\");\n Toast.makeText(context, LOAD_ITEMS_FAIL, Toast.LENGTH_SHORT).show();\n } else {\n try {\n items = ModelsBuilder.buildItemsFromJSON(response);\n // pass loaded items and categories to adapter and set adapter to Recycler View\n itemsListAdapter = new ItemsListAdapter(items, categories, context);\n recyclerView.setAdapter(itemsListAdapter);\n } catch (JSONException e) {\n Log.d(DEBUG_TAG, \"Load items parsing fail\");\n }\n }\n // set loading progress bar to invisible when loading is finished\n progressBar.setVisibility(View.INVISIBLE);\n });\n }", "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n\n super.onCreate(savedInstanceState);\n final View view = inflater.inflate(R.layout.wishlist_layout, container, false);\n layoutManager = new GridLayoutManager(getContext(), 2);\n Log.d(\"wishlist\",MainActivity.wishListItems.toString());\n JSONObject x=MainActivity.wishListItems;\n Iterator keys = x.keys();\n while (keys.hasNext()) {\n Object key = keys.next();\n JSONObject value = null;\n try {\n value = x.getJSONObject((String) key);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n Allresults.put(value);\n }\n\n\n if(Allresults!=null){\n View nodata = view.findViewById(R.id.nodata);\n nodata.setVisibility(View.GONE);\n View data = view.findViewById(R.id.data);\n data.setVisibility(View.VISIBLE);\n recyclerView = view.findViewById(R.id.recyclerView);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(layoutManager);\n adapter = new SearchResultAdapter(Allresults);\n //adapter1 = new SearchResultAdapter(Allresults);\n recyclerView.setAdapter(adapter);\n }\n else{\n View nodata = view.findViewById(R.id.nodata);\n nodata.setVisibility(View.VISIBLE);\n View data = view.findViewById(R.id.data);\n data.setVisibility(View.GONE);\n }\n\n return view;\n }", "private void loadItemsMaps()\n {\n _icons=new HashMap<String,List<Item>>(); \n _names=new HashMap<String,List<Item>>(); \n List<Item> items=ItemsManager.getInstance().getAllItems();\n for(Item item : items)\n {\n String icon=item.getIcon();\n if (icon!=null)\n {\n registerMapping(_icons,icon,item);\n String mainIconId=icon.substring(0,icon.indexOf('-'));\n registerMapping(_icons,mainIconId,item);\n String name=item.getName();\n registerMapping(_names,name,item);\n }\n }\n }", "Items(){\r\n\t\tname=new String[]{\r\n\t\t\t\t\"\",\r\n\t\t\t\t//Parts to the vaccine[1-3]\r\n\t\t\t\t\"Mysterious Vial\", \"Piece of alien meteorite\",\"Alien X\",\r\n\t\t\t\t//Keys[4-6]\r\n\t\t\t\t\"Mysterious Key\",\"Office Key\",\"Captian's Key\",\r\n\t\t\t\t//suit[7,8]\r\n\t\t\t\t\"Hazmat Suit\",\"Gas Mask\",\r\n\t\t\t\t//vials[9-11]\r\n\t\t\t\t\"Blue Vial\",\"Pink Vial\", \"Gold Vial\",\r\n\t\t\t\t//other[12,13]\r\n\t\t\t\t\"X Files\", \"Demon's Bane Flower\",\"Reinforced Armor\"\r\n\t\t};\r\n\t\tdescription=new String[]{\r\n\t\t\t\t\"\",\r\n\t\t\t\t//vaccine parts[2-4]\r\n\t\t\t\t\"A special vial coated with a mysterious substance\",\r\n\t\t\t\t\"Part of an alien meteorite that the crew excavated\",\r\n\t\t\t\t\"A powerful allergen that instantly kills one’s immune system and their whole well-being, mutating them into something inhuman\",\r\n\t\t\t\t//keys\r\n\t\t\t\t\"A metal key that must open a door\",\r\n\t\t\t\t\"Looks like a normal key\",\r\n\t\t\t\t\"A metal key used to unlock something\",\r\n\t\t\t\t//Suit\r\n\t\t\t\t\"A full-body suit designed to keep harmful toxins away from the wearer. The face mask is missing, however\",\r\n\t\t\t\t\"A mask that goes over the wearer’s head and filters out all harmful substances in the air\",\r\n\t\t\t\t//Vials\r\n\t\t\t\t\"A vial similar to the ones in the DNA Library, it glows light blue\",\r\n\t\t\t\t\"A vial similar to the ones in the DNA Library, it glows bright pink\",\r\n\t\t\t\t\"A vial similar to the ones in the DNA Library, it glows golden yellow\",\r\n\t\t\t\t//other\r\n\t\t\t\t\"Recorded documentation of all experiments and research done while in space. Most importantly it contains reports on events leading up to the virus spreading throughout the ship\",\r\n\t\t\t\t\"A beautiful flower that seems to survive unattached to the ground, the veins running through its petals give a faint glow as a heavenly scent fills the room\",\r\n\t\t\t\t\"A set of fine leather armor with metal plates reinforcing vulnerable areas\"\r\n\t\t};\r\n\t}", "protected void populateItem(ListItem<T> item) {\n }", "@Override\n public int getCount()\n {\n return mItemList.size();\n }", "@Override\n public int getCount()\n {\n return mItemList.size();\n }", "private void createItems()\n {\n Item belt, nappies, phone, money, cigarretes, \n jacket, cereal, shoes, keys, comics, bra, \n bread, bowl, computer;\n\n belt = new Item(2,\"Keeps something from falling\",\"Belt\");\n nappies = new Item(7,\"Holds the unspeakable\",\"Nappies\");\n phone = new Item(4, \"A electronic device that holds every answer\",\"Iphone 10\");\n money = new Item(1, \"A form of currency\",\"Money\");\n cigarretes = new Item(2,\"It's bad for health\",\"Cigarretes\");\n jacket = new Item(3,\"Keeps you warm and cozy\", \"Jacket\");\n cereal = new Item(3, \"What you eat for breakfast\",\"Kellog's Rice Kripsies\");\n shoes = new Item(5,\"Used for walking\", \"Sneakers\");\n keys = new Item(2, \"Unlock stuff\", \"Keys\");\n comics = new Item(2, \"A popular comic\",\"Batman Chronicles\");\n bra = new Item(3,\"What is this thing?, Eeeewww\", \"Bra\");\n bread = new Item(6,\"Your best source of carbohydrates\",\"Bread\");\n bowl = new Item(4,\"where food is placed\",\"Plate\");\n computer = new Item(10,\"A computational machine\",\"Computer\");\n\n items.add(belt);\n items.add(nappies);\n items.add(phone);\n items.add(money);\n items.add(cigarretes);\n items.add(jacket);\n items.add(cereal);\n items.add(shoes);\n items.add(keys);\n items.add(comics);\n items.add(bra);\n items.add(bread);\n items.add(bowl);\n items.add(computer);\n }", "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.item_list, container, false);\r\n\r\n final ArrayList<Item> items = new ArrayList<>();\r\n items.add(new Item(R.drawable.lake_myvatn, getString(R.string.lakemyvatntitle), getString(R.string.lakemyvatn)));\r\n items.add(new Item(R.drawable.godafoss_image, getString(R.string.godafosstitle), getString(R.string.godafoss)));\r\n items.add(new Item(R.drawable.dimmuborgir_image, getString(R.string.dimmuborgirtitle), getString(R.string.dimmuborgir)));\r\n items.add(new Item(R.drawable.laufas_image, getString(R.string.laufastitle), getString(R.string.laufas)));\r\n items.add(new Item(R.drawable.hrisey_island, getString(R.string.hriseytitle), getString(R.string.hrisey)));\r\n items.add(new Item(R.drawable.krafla, getString(R.string.kraflatitle), getString(R.string.krafla)));\r\n\r\n ItemAdapter adapter = new ItemAdapter(getActivity(), items);\r\n\r\n ListView listView = (ListView) rootView.findViewById(R.id.list);\r\n\r\n listView.setAdapter(adapter);\r\n\r\n //set click listener so the user can view more details if they click on an item\r\n listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\r\n @Override\r\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\r\n //get the position of the current list item\r\n Item item = items.get(position);\r\n\r\n //create a bundle object and add data to present in the details activity\r\n Bundle extras = new Bundle();\r\n extras.putInt(\"image\", item.getImageResourceId());\r\n extras.putString(\"title\", item.getTitleResourceId());\r\n extras.putString(\"text\", item.getTextResourceId());\r\n\r\n //create and initialise the intent\r\n Intent detailsIntent = new Intent(getActivity(), DetailsActivity.class);\r\n\r\n //attach the bundle to the intent object\r\n detailsIntent.putExtras(extras);\r\n\r\n //start the activity\r\n startActivity(detailsIntent);\r\n\r\n }\r\n });\r\n\r\n return rootView;\r\n }", "@Override\n public Object getItem(int arg0) {\n return getItem(arg0);\n }", "@Override\n public MyItem getItem(int position){\n return mItems.get(position);\n }", "@Override\n public Object getItem(int item) {\n return dataList.get(item);\n }", "public void InitData() {\n this.mItemTitleIds = new int[]{R.string.can_car_type_select, R.string.can_car_lock_set, R.string.can_ac_set, R.string.can_light_set, R.string.can_sshbl, R.string.can_cds, R.string.can_car_info, R.string.can_oil_mile_info, R.string.can_tmps, R.string.can_other_set, R.string.can_lang_set};\n this.mItemTypes = new CanScrollCarInfoView.Item[]{CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON, CanScrollCarInfoView.Item.ICON};\n this.mItemIcons = new int[]{R.drawable.can_icon_esc, R.drawable.can_icon_lock, R.drawable.can_icon_ac, R.drawable.can_icon_light, R.drawable.can_icon_service, R.drawable.can_icon_cds, R.drawable.can_icon_sudu, R.drawable.can_icon_consumption, R.drawable.can_icon_tpms, R.drawable.can_icon_setup, R.drawable.can_icon_tyres};\n this.mItemVisibles[0] = 0;\n this.mItemVisibles[1] = 0;\n this.mItemVisibles[3] = 0;\n this.mItemVisibles[4] = 0;\n this.mItemVisibles[5] = 0;\n this.mItemVisibles[6] = 0;\n this.mItemVisibles[7] = 0;\n this.mItemVisibles[8] = 0;\n this.mItemVisibles[9] = 0;\n }", "@Override\n public int getCount() {\n return itemlist.size();\n }", "public ToReadItemListFragment() {\n }", "@Override\n public int getCount(){\n return mItems.size();\n }", "protected abstract View getResultItemView(final RepeatResultItem item);", "public interface Item {\n void fill(RecyclerView.ViewHolder viewHolder);\n\n int getType();\n\n}", "@Override\r\n\t\tpublic Item getItem() {\n\t\t\treturn null;\r\n\t\t}", "@SuppressLint(\"SetTextI18n\")\n @Override\n public void bindView(View view, Context context, Cursor cursor) {\n if(Utils.weAreLollipop())view.findViewById(R.id.card).setElevation(contex.getResources().getDimension(R.dimen.elevation));\n String title=cursor.getString(cursor.getColumnIndexOrThrow(Contract.ITEM_TITLE));\n long itemID=cursor.getLong(cursor.getColumnIndexOrThrow(Contract.ITEM_ID));\n String date=cursor.getString(cursor.getColumnIndexOrThrow(Contract.ITEM_DATE));\n String sub=cursor.getString(cursor.getColumnIndexOrThrow(Contract.ITEM_SUBTITLE));\n TextView titleTextView= (TextView) view.findViewById(R.id.title);\n TextView subTextView= (TextView) view.findViewById(R.id.sub);\n TextView idTextView= (TextView) view.findViewById(R.id.item_id);\n TextView dateTextView= (TextView) view.findViewById(R.id.date);\n titleTextView.setText(title!=null?title:\"\");\n subTextView.setText(sub!=null?sub:\"\");\n idTextView.setText(\"\"+itemID);\n dateTextView.setText(date!=null?date:\"\");\n }", "@Override\n protected void populateItem(final ListItem<String> item) {\n AjaxFallbackLink link = new AjaxFallbackLink(\"link\") {\n\n @Override\n public void onClick(AjaxRequestTarget target) {\n onSlidebarClick(target, item.getModelObject());\n }\n\n };\n Section section = sectionManager.getSection(item.getModelObject());\n link.add(new TransparentWebMarkupContainer(\"icon\").add(AttributeModifier.append(\"class\", \"fa-\" + section.getIcon())));\n\n String key = \"Section.\" + section.getTitle() + \".name\";\n String title = new StringResourceModel(key, null).getString();\n// link.add(new Label(\"label\", title).setRenderBodyOnly(true));\n link.add(new Label(\"label\", title));\n\n item.setOutputMarkupId(true);\n item.add(link);\n\n item.add(new AttributeAppender(\"class\", \"active\") {\n\n @Override\n public boolean isEnabled(Component component) {\n return sectionManager.getSelectedSectionId().equals(item.getModelObject());\n }\n\n }.setSeparator(\" \"));\n }", "public interface ResultItem {\n public int getViewType();\n public View getView(LayoutInflater inflater, View convertView);\n}", "@Override\n public int getCount() {\n return mItems.size();\n }", "@Override\n public Object getItem(int position) {\n return data;\n }", "@Override\n\tprotected DataTypes getDataType() {\n\t\treturn DataTypes.ITEM;\n\t}", "protected abstract void createItemsForAddedObjects(Layout layout,\r\n boolean doLayout);", "@Override\n public View newView(Context context, Cursor cursor, ViewGroup parent) {\n View view = LayoutInflater.from(parent.getContext())\n .inflate(R.layout.main_list_item, parent, false);\n ViewHolder viewHolder = new ViewHolder(view);\n view.setTag(viewHolder);\n return view;\n }", "@Override\n public CustomAdapter.CustomViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n View v = layoutInflater.inflate(R.layout.item_data, parent, false);\n return new CustomViewHolder(v);\n }", "@Override\n\t\t\t\t\tpublic View oncreateItem(int index, View convertView,\n\t\t\t\t\t\t\tViewGroup viewgroup) {\n\n\t\t\t\t\t\tfinal WidgetItemInfo widgetItemInfo = itemInfos\n\t\t\t\t\t\t\t\t.get(index);\n\t\t\t\t\t\tif (convertView == null) {\n\t\t\t\t\t\t\t// create\n\t\t\t\t\t\t\tLayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\n\t\t\t\t\t\t\tconvertView = inflater.inflate(\n\t\t\t\t\t\t\t\t\tR.layout.issue_feedback_ui, viewgroup,\n\t\t\t\t\t\t\t\t\tfalse);\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// bind tag\n\t\t\t\t\t\tconvertView.setTag(widgetItemInfo);\n\t\t\t\t\t\treturn convertView;\n\t\t\t\t\t}", "@Override\n public void setItemsResponse(Context context) {\n // Load string from the given all.json file.\n String jsonString = JSONUtils.loadJSONFromAsset(context, DATA_FILE_NAME);\n\n try {\n // Create JSONObject of the response.\n JSONObject jsonObject = new JSONObject(jsonString);\n\n // Retrieve \"result\" and \"data\" from the response.\n String result = jsonObject.getString(\"result\");\n\n JSONArray dataArray = jsonObject.getJSONArray(\"data\");\n List<Item> dataList = new ArrayList<>();\n\n for (int i = 0; i < dataArray.length(); ++i) {\n JSONObject object = dataArray.getJSONObject(i);\n Item item = new Item(\n object.getString(\"id\"),\n object.getString(\"name\"),\n object.getLong(\"num_likes\"),\n object.getLong(\"num_comments\"),\n object.getLong(\"price\"),\n object.getString(\"photo\"),\n object.getString(\"status\")\n );\n dataList.add(item);\n }\n\n // Instantiate the response object with the \"result\" and \"data\".\n mItemsResponse = new Response(result, dataList);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }", "public ViewHolder(View itemView) {\n super(itemView);\n tvNature = (TextView)itemView.findViewById(R.id.item_name);\n tvAmountNature = (TextView)itemView.findViewById(R.id.item_amount);\n }", "@Override\r\n\t\r\n\t protected OverlayItem createItem(int index) {\n\t\treturn lstItems.get(index);\r\n\t\r\n\t }", "@Override\n public Object getItem(int position) {\n return blockItems.get(position);\n }", "public void init(){\n elements = new ArrayList<>();\r\n elements.add(new ListElement(\"Aeshnidae\",this));\r\n ListElement element1 = createItem(\"Baetidae\");\r\n elements.add(element1);\r\n\r\n //elements.add(new ListElement(\"Aeshnidae\", 6, R.drawable.aeshnidaem));\r\n //elements.add(new ListElement(\"Baetidae\", 4, R.drawable.baetidae));\r\n elements.add(new ListElement(\"Blepharoceridae\", 10, R.drawable.blepharoceridae));\r\n elements.add(new ListElement(\"Calamoceratidae\", 10, R.drawable.calamoceridae));\r\n elements.add(new ListElement(\"Ceratopogonidae\", 4, R.drawable.ceratopogonidae));\r\n elements.add(new ListElement(\"Chironomidae\", 2, R.drawable.chironomidae));\r\n elements.add(new ListElement(\"Coenagrionidae\", 6, R.drawable.coenagrionidae));\r\n elements.add(new ListElement(\"Corydalidae\", 6, R.drawable.corydalidae));\r\n elements.add(new ListElement(\"Culicidae\", 2, R.drawable.culicidae));\r\n elements.add(new ListElement(\"Dolichopodidae\", 4, R.drawable.dolichopodidae));\r\n elements.add(new ListElement(\"Dystiscidae\", 3, R.drawable.dytiscidae));\r\n elements.add(new ListElement(\"Elmidae\", 5, R.drawable.elmidae));\r\n elements.add(new ListElement(\"Elmidae Larvae\", 5, R.drawable.elmidae_larvae));\r\n elements.add(new ListElement(\"Empididae\", 8, R.drawable.empididaem));\r\n elements.add(new ListElement(\"Ephydridae\", 8, R.drawable.ephydridaem));\r\n elements.add(new ListElement(\"Eprilodactylidae\", 5, R.drawable.eprilodactylidaem));\r\n elements.add(new ListElement(\"Gyrinidae\", 3, R.drawable.gyrinidae));\r\n elements.add(new ListElement(\"Helicopsychidae\", 10, R.drawable.helicopsychidae));\r\n elements.add(new ListElement(\"Hidrophilidae\", 3, R.drawable.hidrophilidae));\r\n elements.add(new ListElement(\"Hidropsychidae\", 5, R.drawable.hidropsychidae));\r\n elements.add(new ListElement(\"Hirudinea\", 5, R.drawable.hirudineam));\r\n elements.add(new ListElement(\"Hyalellidae\", 6, R.drawable.hyalellidaem));\r\n elements.add(new ListElement(\"Hydracarina\", 4, R.drawable.hydracarinam));\r\n elements.add(new ListElement(\"Hydrobiosidae\", 8, R.drawable.hydrobiosidae));\r\n elements.add(new ListElement(\"Hydroptilidae\", 6, R.drawable.hydroptilidae));\r\n elements.add(new ListElement(\"Leptoceridae\", 8, R.drawable.leptoceridae));\r\n elements.add(new ListElement(\"Leptohyphidea\", 7, R.drawable.leptohyphideam));\r\n elements.add(new ListElement(\"Leptophlebiidae\", 10, R.drawable.leptophlebiidae));\r\n elements.add(new ListElement(\"Lestidae\", 8, R.drawable.lestidaem));\r\n elements.add(new ListElement(\"Libellulidae\", 6, R.drawable.libellulidaem));\r\n elements.add(new ListElement(\"Lymnaeidae\", 3, R.drawable.lymnaeidaem));\r\n elements.add(new ListElement(\"Muscidae\", 2, R.drawable.muscidae));\r\n elements.add(new ListElement(\"Nematoda\", 0, R.drawable.nematodam));\r\n elements.add(new ListElement(\"Odontoceridae\", 10, R.drawable.odontoceridae));\r\n elements.add(new ListElement(\"Oligochaeta\", 1, R.drawable.oligochaetam));\r\n elements.add(new ListElement(\"Ostrachoda\", 3, R.drawable.ostracodam));\r\n elements.add(new ListElement(\"Perlidae\", 10, R.drawable.perlidae));\r\n elements.add(new ListElement(\"Philopotamidae\", 8, R.drawable.philopotamidae));\r\n elements.add(new ListElement(\"Physidae\", 3, R.drawable.physidaem));\r\n elements.add(new ListElement(\"Planaridae\", 5, R.drawable.planaridae));\r\n elements.add(new ListElement(\"Planorbidae\", 3, R.drawable.planorbidaem));\r\n elements.add(new ListElement(\"Psephenidae\", 5, R.drawable.psephenidae));\r\n elements.add(new ListElement(\"Psychodidae\", 3, R.drawable.psychodidae));\r\n elements.add(new ListElement(\"Scirtidae\", 5, R.drawable.scirtidae));\r\n elements.add(new ListElement(\"Sialidea\", 6, R.drawable.sialidaem));\r\n elements.add(new ListElement(\"Simuliidae\", 5, R.drawable.simuliidae));\r\n elements.add(new ListElement(\"Sphaeriidae\", 3, R.drawable.sphaeriidaem));\r\n elements.add(new ListElement(\"Stratiomidae\", 4, R.drawable.stratiomidae));\r\n elements.add(new ListElement(\"Syrphidae\", 1, R.drawable.syrphidaem));\r\n elements.add(new ListElement(\"Tabanidae\", 4, R.drawable.tabanidae));\r\n elements.add(new ListElement(\"Thiaridae\", 3, R.drawable.thiaridaem));\r\n elements.add(new ListElement(\"Tipulidae\", 5, R.drawable.tipulidae));\r\n elements.add(new ListElement(\"Xiphocentronidae\", 8, R.drawable.xiphocentronidaem));\r\n\r\n ListAdapter listAdapter = new ListAdapter(elements, this, new ListAdapter.OnItemClickListener() {\r\n @Override\r\n public void onItemClick(ListElement item) {\r\n moveToDescription(item);\r\n }\r\n });\r\n RecyclerView recyclerView = findViewById(R.id.listRecyclerView);\r\n recyclerView.setHasFixedSize(true);\r\n recyclerView.setLayoutManager(new LinearLayoutManager(this));\r\n recyclerView.setAdapter(listAdapter);\r\n\r\n }", "@Override\n public View newView(Context context, Cursor cursor, ViewGroup parent) {\n //inflate(XmlPullParser parser, ViewGroup root, boolean attachToRoot)\n //Inflate a new view hierarchy from the specified XML node\n return LayoutInflater.from(context).inflate(R.layout.list_item, parent, false);\n }", "public void loadItemNotes(View view, Order_Item item) {\n Intent i = new Intent(getActivity(), item_notes.class);\n b.putSerializable(\"item\", item);\n i.putExtras(b);\n startActivity(i);\n }", "@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n\n View viewProduct;\n if (convertView == null) {\n viewProduct = View.inflate(parent.getContext(), R.layout.item_row, null);\n } else viewProduct = convertView;\n\n ItemInfo itemInfo = (ItemInfo) getItem(position);\n ((TextView) viewProduct.findViewById(R.id.txt_title)).setText( itemInfo.title);\n ((TextView) viewProduct.findViewById(R.id.txt_desc)).setText(itemInfo.description);\n Picasso.with(G.context).load(itemInfo.imageUrl).into((ImageView) viewProduct.findViewById(R.id.img_Icon));\n\n\n return viewProduct;\n }", "public Item getItem() { \n return myItem;\n }", "@Override\n public int getCount() {\n return blockItems.size();\n }", "@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View itemView = convertView;\n LayoutInflater inflater = LayoutInflater.from(context);\n if (itemView == null) {\n itemView = inflater.inflate(R.layout.ingredients_list, parent, false);\n }\n\n if(ingredientsArray.get(0) instanceof IngredientsBase) {\n\n IngredientsBase currentIngredient = (IngredientsBase) ingredientsArray.get(position);\n\n TextView ingredientsText = (TextView) itemView.findViewById(R.id.ingredientsText);\n ingredientsText.setText(currentIngredient.getName() + \" \" + currentIngredient.getQuantity() + \" \" + currentIngredient.getMetricUnit());\n\n }\n else{\n\n IngredientsDetail currentIngredient = (IngredientsDetail) ingredientsArray.get(position);\n\n TextView ingredientsText = (TextView) itemView.findViewById(R.id.ingredientsText);\n ingredientsText.setText(currentIngredient.getName() + \" \" + currentIngredient.getId());\n }\n return itemView;\n }", "@Override\n public ListadoHolder onCreateViewHolder(ViewGroup parent, int viewType) {\n //INFLATE A VIEW FROM XML\n View v= LayoutInflater.from(parent.getContext()).inflate(R.layout.listado_card_item,null);\n\n //HOLDER\n ListadoHolder holder=new ListadoHolder(v);\n\n return holder;\n }", "@Override\r\n\t\tpublic View newView(Context arg0, Cursor arg1, ViewGroup arg2) {\n\t\t\t\t LayoutInflater inflater = LayoutInflater.from(arg2.getContext());\r\n\t\t\t View retView = inflater.inflate(R.layout.report_listitems, arg2, false);\r\n\t\t\t int j=i%2;\r\n\t\t\t retView.setBackgroundColor(colors[j]);\r\n\t\t\t i++;\r\n\t\t\t bindView(retView,arg0,arg1);\r\n\t\t\t return retView;\r\n\t\t\t \r\n\t\t}", "@Override\n public Object getItem(int pos) {\n return mItems.get(pos);\n }", "@Override\n public Object getItem(int arg0) {\n return null;\n }", "@Override\n public Object getItem(int arg0) {\n return null;\n }" ]
[ "0.6438743", "0.63780177", "0.6135953", "0.601791", "0.5975461", "0.5944945", "0.5943461", "0.5938794", "0.5931889", "0.58951145", "0.58838797", "0.58742213", "0.58669555", "0.58370394", "0.5829278", "0.58273804", "0.5816264", "0.58148855", "0.58031565", "0.5781412", "0.5772834", "0.57323426", "0.57182026", "0.57031125", "0.56700945", "0.56695616", "0.56363297", "0.56261325", "0.56253207", "0.56224185", "0.56140465", "0.56140465", "0.56140465", "0.56052494", "0.5601225", "0.5596482", "0.5582089", "0.55656517", "0.5552537", "0.5552014", "0.55374074", "0.55318224", "0.55310047", "0.5520233", "0.5520233", "0.5520233", "0.5520233", "0.551512", "0.55076885", "0.5505454", "0.55024177", "0.55013704", "0.54968786", "0.54892373", "0.54808563", "0.5475606", "0.54714507", "0.5469014", "0.5463809", "0.54614395", "0.5458747", "0.5458117", "0.5458117", "0.5458052", "0.5456866", "0.54563683", "0.5455754", "0.5453709", "0.54391867", "0.5434381", "0.54292125", "0.5427472", "0.542399", "0.54227656", "0.5418225", "0.5418084", "0.541674", "0.54141206", "0.5413137", "0.5401847", "0.54016834", "0.54004014", "0.5396631", "0.5386458", "0.5385883", "0.5382605", "0.5377339", "0.5377194", "0.53766793", "0.5376404", "0.537524", "0.53750515", "0.5371676", "0.5366805", "0.5364829", "0.5363933", "0.53634584", "0.5356261", "0.5354095", "0.5350449", "0.5350449" ]
0.0
-1
created by wangguoqun at 20200909
public interface ApiService { @GET("charts/transactions-per-second") Observable<Chart> getChartsTransactionsPerSecond(@Query("timespan") String timespan, @Query("rollingAverage") String rollingAverage, @Query("start") String start, @Query("format") String format, @Query("sampled") String sampled); @GET("stats") Observable<Stat> getStats(); @GET("pools?timespan=5days") Observable<Pool> getPools(@Query("timespan") String timespan); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "private stendhal() {\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void mo38117a() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private void poetries() {\n\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public void mo4359a() {\n }", "@Override\n public void memoria() {\n \n }", "public void mo6081a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "protected void mo6255a() {\n }", "@Override\n\tprotected void initdata() {\n\n\t}", "private void strin() {\n\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "protected boolean func_70814_o() { return true; }", "private void kk12() {\n\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n public int describeContents() { return 0; }", "public void mo9848a() {\n }", "private zza.zza()\n\t\t{\n\t\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "public Pitonyak_09_02() {\r\n }", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "public void mo12930a() {\n }", "public void mo12628c() {\n }", "public void mo1531a() {\n }", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "private void m50366E() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tvoid func04() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "zzang mo29839S() throws RemoteException;", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "private void getStatus() {\n\t\t\n\t}", "private void initValues() {\n \n }", "private void remplirPrestaraireData() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "private UsineJoueur() {}", "public abstract void mo70713b();", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "Petunia() {\r\n\t\t}", "private void verificaData() {\n\t\t\n\t}", "public void mo21877s() {\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void initData() {\n\n\n\n\t}", "public void baocun() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "private void parseData() {\n\t\t\r\n\t}", "private void init() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n\t\t\tpublic int describeContents() {\n\t\t\t\treturn 0;\n\t\t\t}" ]
[ "0.5665155", "0.5653438", "0.5569757", "0.54268885", "0.54268885", "0.5405123", "0.53897595", "0.53882194", "0.53718287", "0.5368093", "0.5361352", "0.5357104", "0.534039", "0.5328059", "0.53144795", "0.52822787", "0.5280831", "0.52769774", "0.52769774", "0.52769774", "0.52769774", "0.52769774", "0.52769774", "0.52769774", "0.5272655", "0.52436435", "0.52216685", "0.5206143", "0.5203389", "0.51923627", "0.51863056", "0.51733565", "0.51565427", "0.5147917", "0.5122671", "0.51162446", "0.5104882", "0.5103558", "0.51031655", "0.5099877", "0.5089514", "0.50749165", "0.50716364", "0.5051788", "0.50449795", "0.50440204", "0.5041116", "0.50342554", "0.5025601", "0.5022766", "0.5020797", "0.5020295", "0.5018696", "0.49988246", "0.49980843", "0.49980843", "0.49980843", "0.49980843", "0.49980843", "0.49980843", "0.4998066", "0.49934572", "0.49773312", "0.49605116", "0.49605116", "0.4958682", "0.49567437", "0.49513647", "0.49431598", "0.49402276", "0.49389568", "0.49356976", "0.49291387", "0.49287826", "0.4914809", "0.49144202", "0.49056086", "0.49023497", "0.48979604", "0.48973283", "0.4895241", "0.48905456", "0.48905456", "0.4886525", "0.48850945", "0.4875849", "0.486755", "0.48672396", "0.48667854", "0.48552796", "0.48552796", "0.48552796", "0.48483405", "0.48447385", "0.48411632", "0.48398873", "0.4832582", "0.4827349", "0.48188862", "0.48177597", "0.4817325" ]
0.0
-1
TODO Autogenerated method stub
public Customer getCustom(short customerId) { return custom.selectByPrimaryKey(customerId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.home, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}", "public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}", "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }" ]
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.68621665", "0.68621665", "0.68621665", "0.68515885", "0.68467957", "0.68194443", "0.6817494", "0.6813087", "0.6813087", "0.6812847", "0.6805774", "0.6801204", "0.6797914", "0.6791314", "0.6789091", "0.67883503", "0.6783642", "0.6759701", "0.6757412", "0.67478645", "0.6744127", "0.6744127", "0.67411774", "0.6740183", "0.6726017", "0.6723245", "0.67226785", "0.67226785", "0.67208904", "0.67113477", "0.67079866", "0.6704564", "0.6699229", "0.66989094", "0.6696622", "0.66952467", "0.66865396", "0.6683476", "0.6683476", "0.6682188", "0.6681209", "0.6678941", "0.66772443", "0.6667702", "0.66673946", "0.666246", "0.6657578", "0.6657578", "0.6657578", "0.6656586", "0.66544783", "0.66544783", "0.66544783", "0.66524047", "0.6651954", "0.6650132", "0.66487855", "0.6647077", "0.66467404", "0.6646615", "0.66464466", "0.66449624", "0.6644209", "0.6643461", "0.6643005", "0.66421187", "0.6638628", "0.6634786", "0.6633529", "0.6632049", "0.6632049", "0.6632049", "0.66315657", "0.6628954", "0.66281766", "0.6627182", "0.6626297", "0.6624309", "0.6619582", "0.6618876", "0.6618876" ]
0.0
-1
The key for 'encrypting' and 'decrypting'.
public static String encrypt(String str) { StringBuilder sb = new StringBuilder(str); int lenStr = str.length(); int lenKey = key.length(); // // For each character in our string, encrypt it... for ( int i = 0, j = 0; i < lenStr; i++, j++ ) { if ( j >= lenKey ) j = 0; // Wrap 'round to beginning of key string. // // XOR the chars together. Must cast back to char to avoid compile error. // sb.setCharAt(i, (char)(str.charAt(i) ^ key.charAt(j))); } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getKey() {\t\t\n\t\treturn key;\n\t}", "String key();", "java.lang.String getClientKey();", "String getEncryptionKeyId();", "public java.lang.String getEncryptedKey() {\n\t\treturn encryptedKey;\n\t}", "public static String getKey(){\n\t\treturn key;\n\t}", "byte[] getKey();", "public final String getKey() {\n return key;\n }", "public CryptoKey getMyKey() {\n return myKey;\n }", "public Key getKey()\r\n { \r\n return key; \r\n }", "public String getKey()\n\t\t{\n\t\t\treturn key;\n\t\t}", "public String getKey()\n\t{\n\t\treturn key;\n\t}", "protected String getKey() {\n\t\treturn makeKey(host, port, transport);\n\t}", "public static byte[] getKey() {\n return key;\n }", "public String key() {\n return key;\n }", "public String key() {\n return key;\n }", "public String getKey(){\n\t\treturn key;\n\t}", "public Key getKey() {\n\t\treturn key;\n\t}", "public String getKey() {\r\n\t\treturn key;\r\n\t}", "public String getKey() {\r\n\t\treturn key;\r\n\t}", "public String getKey() {\r\n\t\treturn key;\r\n\t}", "public String getKey() {\n\t\treturn key;\n\t}", "public String getKey() {\n\t\treturn key;\n\t}", "public String getKey() {\n\t\treturn key;\n\t}", "public Key getKey() {\n return Key.of(getTone(), getQuality());\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\r\n return key;\r\n }", "public String getKey() {\r\n return key;\r\n }", "public String getKey() {\r\n return key;\r\n }", "public String getKey() {\r\n return key;\r\n }", "public String getKey() {\n return key;\n }", "private String key() {\n return \"secret\";\n }", "public PrivateKey getKey();", "private static Key generateKey() {\n return new SecretKeySpec(keyValue, ALGO);\n }", "public short key();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "String getKey();", "public KeyEncryptionKeyInfo keyEncryptionKeyInfo() {\n return this.keyEncryptionKeyInfo;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n return key;\n }", "public String getKey() {\n\treturn key;\n }", "public ShuffleKey getKey() {\n return key;\n }", "java.lang.String getPublicEciesKey();", "public byte[] getKey() {\n return this.key;\n }", "public String key() {\n return this.key;\n }", "public String key() {\n return this.key;\n }", "public String key() {\n return this.key;\n }", "public String key() {\n return this.key;\n }", "K key();", "K key();", "public String encodeKey() {\n byte[] keyByte = secretKey.getEncoded();\n return Base64.getEncoder().encodeToString(keyByte);\n }", "public Key getKey() {\n\t\treturn getKey(settings, url);\n\t}", "@Override\n\tpublic String getKey() {\n\t\treturn key;\n\t}", "Encryption encryption();", "public String keyIdentifier() {\n return this.keyIdentifier;\n }", "public String keyIdentifier() {\n return this.keyIdentifier;\n }", "private static String getKey(String encryptKey) {\n\t\treturn md5(encryptKey).substring(4, 12);\n\t}", "private String getKey()\r\n\t\t{\r\n\t\t\tif (key != null)\r\n\t\t\t{\r\n\t\t\t\treturn key.toString();\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\treturn \"The key has not been found\";\r\n\t\t\t}\r\n\t\t}", "public String getKey() {\n Object ref = key_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n key_ = s;\n }\n return s;\n }\n }", "private void initKey() {\n String del = \":\";\n byte[] key;\n if (MainGame.applicationType == Application.ApplicationType.Android) {\n key = StringUtils.rightPad(Build.SERIAL + del + Build.ID + del, 32, \"~\").getBytes();\n } else if (MainGame.applicationType == Application.ApplicationType.Desktop) {\n key = new byte[]{0x12, 0x2d, 0x2f, 0x6c, 0x1f, 0x7a, 0x4f, 0x10, 0x48, 0x56, 0x17, 0x4b, 0x4f, 0x48, 0x3c, 0x17, 0x04, 0x06, 0x4b, 0x6d, 0x1d, 0x68, 0x4b, 0x52, 0x50, 0x50, 0x1f, 0x06, 0x29, 0x68, 0x5c, 0x65};\n } else {\n key = new byte[]{0x77, 0x61, 0x6c, 0x0b, 0x04, 0x5a, 0x4f, 0x4b, 0x65, 0x48, 0x52, 0x68, 0x1f, 0x1d, 0x3c, 0x4a, 0x5c, 0x06, 0x1f, 0x2f, 0x12, 0x32, 0x50, 0x19, 0x3c, 0x52, 0x04, 0x17, 0x48, 0x4f, 0x6d, 0x4b};\n }\n for (int i = 0; i < key.length; ++i) {\n key[i] = (byte) ((key[i] << 2) ^ magic);\n }\n privateKey = key;\n }", "public String getSecretKey();", "public String getKey()\n\t{\n\t\treturn this.key;\n\t}", "OpenSSLKey mo134201a();", "public String getKey() {\n Object ref = key_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n key_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }", "public java.lang.String getKey(){\n return localKey;\n }", "public String getKey() {\n\n return this.key;\n }", "public char getKey() {\n return key;\n }", "@Override\n\tpublic String getKey() {\n\t\t LiuLiang_Key = Util.getMaiYuanConfig(\"LiuLiang_Key\");\n\t\treturn LiuLiang_Key;\n\t}", "public String getKey_() {\n return key_;\n }", "public Key getKey() {\n\t\treturn mKey;\n\t}", "public static String keyRC4()\n {\n String key;\n key = ABSecurity.keyRC4;\n return key;\n }", "public MessageKey getKey() {\n\treturn key;\n }", "public String getKey() {\n\t\treturn id + \"\";\n\t}", "public K getKey()\r\n\t\t{\r\n\t\t\treturn key;\r\n\t\t}", "public String getKeyPrivate() throws LibMCryptException {\n\t\t\r\n\t\tString privateK = priK.getModulus().toString(16);\r\n\t\treturn privateK;\r\n\t}", "public K getKey() {\n return key;\n }", "protected K getKey() {\n return this.key;\n }", "public String getKey();", "public String getKey();", "public String getKey();", "public String getKey();" ]
[ "0.7340818", "0.7224759", "0.7203441", "0.7158328", "0.7122794", "0.7060787", "0.7049455", "0.69703126", "0.69446176", "0.6938667", "0.68667746", "0.6863262", "0.6862627", "0.68301624", "0.68224806", "0.68224806", "0.6822251", "0.67744946", "0.67685026", "0.67685026", "0.67685026", "0.676816", "0.676816", "0.676816", "0.67667514", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6748251", "0.6744674", "0.6744674", "0.6744674", "0.6736731", "0.6711086", "0.6708535", "0.6696171", "0.66930264", "0.6677082", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66729796", "0.66686565", "0.666772", "0.666772", "0.6666301", "0.6654764", "0.6640701", "0.66355246", "0.66190314", "0.66190314", "0.66190314", "0.66190314", "0.66122943", "0.66122943", "0.66065985", "0.66065", "0.65989053", "0.6584374", "0.65711224", "0.65711224", "0.65672106", "0.6548732", "0.65449595", "0.65115345", "0.64978886", "0.6492116", "0.6480817", "0.6475909", "0.6475269", "0.6471644", "0.64647996", "0.6453614", "0.6450876", "0.6440681", "0.64385486", "0.6434667", "0.64310306", "0.6426984", "0.64254653", "0.6413707", "0.64132655", "0.64129853", "0.64129853", "0.64129853", "0.64129853" ]
0.0
-1
To 'decrypt' the string, simply apply the same technique.
public static String decrypt(String str) { return encrypt(str); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String Decrypt(String s);", "String decryptString(String toDecrypt) throws NoUserSelectedException, IllegalValueException;", "public String decrypt(String cipherText);", "public String decrypt(String text) {\n return content.decrypt(text);\n }", "public String decrypt(final String value) {\n\t\treturn encryptor.decrypt(value);\n\t}", "String decrypt(String input) {\n\t\treturn new String(BaseEncoding.base64().decode(input));\n\t}", "@Override\n public String decrypt(String s) throws NotInAlphabetException{\n passwordPos = 0; //initialize to 0\n return super.decrypt(s); //invoke parent\n }", "public void decrypt(String s)\n\t{\n\t\tchar chars[] = s.toCharArray();\n\t\tString message = \"\";\n\t\tfor(int i = 0; i < chars.length; i++)\n\t\t{\n\t\t\tif(chars[i] == (char)32)\n\t\t\t{\n\t\t\t\tBigInteger encrypted = new BigInteger(message);\n\t\t\t\tconvertToString(encrypted.modPow(privateKey, publicKey).toString());\n\t\t\t\tmessage = \"\";\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tmessage += chars[i];\n\t\t\t}\n\t\t}\n\t\tmyView.setDecryptText(myDecryptedMessage);\n\t\tmyDecryptedMessage = \"\";\n\t}", "public String decrypt(String input)\n {\n CaesarCipherTwo cipher = new CaesarCipherTwo(26 - mainKey1, 26 - mainKey2);\n return cipher.encrypt(input);\n }", "public String decrypt(String text) {\n\t\t\n\t\t//Porta encryption is symmetric so no additional decryption implementation is necessary\n\t\treturn encrypt(text);\n\t}", "public static String decrypt(String strToDecrypt)\n {\n try\n {\n Cipher cipher = Cipher.getInstance(\"AES/ECB/PKCS5PADDING\");\n final SecretKeySpec secretKey = new SecretKeySpec(key, \"AES\");\n cipher.init(Cipher.DECRYPT_MODE, secretKey);\n final String decryptedString = new String(cipher.doFinal(Base64.decodeBase64(strToDecrypt)));\n return decryptedString;\n }\n catch (Exception e)\n {\n e.printStackTrace();\n\n }\n return null;\n }", "public String decrypt (String input) {\n return new CaesarCipherTwo(ALPHABET_LENGTH-mainKey1, ALPHABET_LENGTH-mainKey2).encrypt(input);\n }", "public static String decrypt(String input) {\n\t\t Base64.Decoder decoder = Base64.getMimeDecoder();\n\t String key = new String(decoder.decode(input));\n\t return key;\n\t}", "public String decrypt(String key);", "public String decrypt(String msg) {\n \n StringBuilder sb = new StringBuilder(msg);\n \n for (int i=0; i< sb.length(); i++) {\n char decrypted = decrypt(sb.charAt(i));\n sb.setCharAt(i, decrypted);\n }\n \n return sb.toString();\n }", "public static String decrypt(String text) {\r\n\t\tString originalText = \"\";\r\n\t\tchar character;\r\n\t\tint code = 0;\r\n\t\tfor (int i = 0; i < text.length(); i++) {\r\n\t\t\tcharacter = text.charAt(i);\r\n\t\t\tcode = character - 7;\r\n\t\t\tcharacter = (char) code;\r\n\t\t\toriginalText += Character.toString(character);\r\n\t\t}\r\n\t\treturn originalText;\r\n\t}", "private String decrypt(String dstr) {\n\n try {\n return PSEncryptor.decryptString(PathUtils.getRxDir().getAbsolutePath().concat(PSEncryptor.SECURE_DIR),dstr);\n\n } catch (PSEncryptionException | IllegalArgumentException e) {\n log.warn(\"Decryption failed: {}. Attempting to decrypt with legacy algorithm\",PSExceptionUtils.getMessageForLog(e));\n try {\n PSAesCBC aes = new PSAesCBC();\n return aes.decrypt(dstr, IPSPubServerDao.encryptionKey);\n } catch (PSEncryptionException psEncryptionException) {\n log.error(\"Unable to decrypt string. Error: {}\",\n PSExceptionUtils.getMessageForLog(e));\n log.debug(PSExceptionUtils.getDebugMessageForLog(e));\n return dstr;\n }\n }\n }", "public String decryptAsNeeded(final String value) {\n\t\ttry {\n\t\t\t// Try a decryption\n\t\t\treturn decrypt(value);\n\t\t} catch (final EncryptionOperationNotPossibleException ignored) {\n\t\t\t// This value could be encrypted, but was not\n\t\t\treturn value;\n\t\t}\n\t}", "public String decrypt(String encryptedString) {\n String decryptedText = null;\n try {\n byte[] encryptedText = Base64.decode(encryptedString,Base64.DEFAULT);\n cipher.init(Cipher.DECRYPT_MODE, mKey,mIv);\n byte[] plainText = cipher.doFinal(encryptedText);\n decryptedText = new String(plainText,FORMAT_UTF8);\n } catch (Exception e) {\n e.printStackTrace();\n }\n return decryptedText;\n }", "public String decrypt(String encryptedString) {\n String decryptedText=null;\n try {\n cipher.init(Cipher.DECRYPT_MODE, key);\n BASE64Decoder base64decoder = new BASE64Decoder();\n byte[] encryptedText = base64decoder.decodeBuffer(encryptedString);\n byte[] plainText = cipher.doFinal(encryptedText);\n decryptedText= bytes2String(plainText);\n } catch (Exception e) {\n e.printStackTrace();\n }\n return decryptedText;\n }", "public String decrypt(String encryptedString) throws Exception\n {\n if ( key == null )\n {\n throw new Exception(\"CodecUtil must be initialised with the storeKey first.\");\n }\n try\n {\n Cipher pbeCipher = Cipher.getInstance(\"PBEWithMD5AndDES\");\n pbeCipher.init(Cipher.DECRYPT_MODE, key, new PBEParameterSpec(salt, 20));\n return new String(pbeCipher.doFinal(base64Decode(encryptedString)), \"UTF-8\");\n }\n catch (Exception e)\n {\n throw new Exception(\"Decryption error :\" + e.getMessage());\n }\n }", "public String decrypt(String value) throws Exception {\r\n\t\tif (value == null || value.equals(\"\"))\r\n\t\t\tthrow new Exception(\"The cipher string can not be null or an empty string.\");\r\n\r\n\t\t// Initialize the cryptography algorithm.\r\n\t\tthis.rijndael.init(Cipher.DECRYPT_MODE, this.key, this.initalVector);\r\n\r\n\t\t// Get an encrypted byte array from a base64 encoded string.\r\n\t\tbyte[] encryptedValue = Base64Encoder.decode(value);\r\n\r\n\t\t// Decrypt the byte array.\r\n\t\tbyte[] decryptedValue = this.rijndael.doFinal(encryptedValue);\r\n\r\n\t\t// Return a string converted from the UTF-8 byte array.\r\n\t\treturn new String(decryptedValue, \"UTF8\");\r\n\t}", "private static String decrypt(String in){\n\n\t\t\tString alphabet = \"1234567890\";\n\n\t\t\tString scramble1 = \"<;\\'_$,.?:|)\";\n\t\t String scramble2 = \"XYZVKJUTHM\";\n\t\t String scramble3 = \"tuvwxyz&*}\";\n\t\t String scramble4 = \"~!-+=<>%@#\";\n\t\t String scramble5 = \"PUDHCKSXWZ\";\n\n\t\t char messageIn[] = in.toCharArray();\n\t\t String r = \"\";\n\n\t\t for(int i = 0; i < in.length(); i++){\n\t\t if(i % 3 == 0){\n\t\t int letterIndex = scramble1.indexOf(in.charAt(i));\n\t\t r += alphabet.charAt(letterIndex);\n\t\t }else if (i % 3 == 1){\n\t\t int letterIndex = scramble2.indexOf(in.charAt(i));\n\t\t r += alphabet.charAt(letterIndex);\n\t\t }else if (i % 3 == 2){\n\t\t int letterIndex = scramble3.indexOf(in.charAt(i));\n\t\t r += alphabet.charAt(letterIndex);\n\t\t }\n\t\t }\n\t\treturn r;\n\t}", "public String decrypt(String input) {\n int position = (int) Math.ceil(input.length() / 2.0);\n String result = \"\";\n int position1 = position;\n for (int i = 0; i < position && position1 <= input.length(); i++) {\n result += input.charAt(i);\n if (result.length() == input.length()) {\n break;\n }\n result += input.charAt(position1);\n position1++;\n }\n return result;\n }", "public String decryptString(String encryptedString)\n\t{\n\t\t// convert String to byte array\n\t\tbyte[] password = new byte[encryptedString.length() * 2];\n\t\tint index = 0;\n\t\tfor (int i = 0; i < encryptedString.length(); i++)\n\t\t{\n\t\t\tchar character = encryptedString.charAt(i);\n\t\t\tpassword[index++] = (byte) ((character >> 8) & 0x0ff);\n\t\t\tpassword[index++] = (byte) (character & 0x0ff);\n\t\t}\n\n\t\treturn Arrays.toString(password);\n\t}", "public static String decrypt(String seed, String encrypted)\r\nthrows Exception {\r\nbyte[] rawKey = getRawKey(seed.getBytes());\r\nbyte[] enc = Base64.decode(encrypted.getBytes(), Base64.DEFAULT);\r\nbyte[] result = decrypt(rawKey, enc);\r\nreturn new String(result);\r\n}", "@Override\n public String decryptMsg(String msg) {\n if (msg.length() == 0) {\n return msg;\n } else {\n char[] decMsg = new char[msg.length()];\n int actKey = key % 65536;\n for (int ind = 0; ind < msg.length(); ++ind) {\n char letter = msg.charAt(ind);\n decMsg[ind] = (char) ((letter - actKey < 0) ? letter - actKey + 65536 : letter - actKey);\n }\n return new String(decMsg);\n }\n }", "void decryptMessage(String Password);", "@Test\r\n public void testDecrypt()\r\n {\r\n System.out.println(\"decrypt\");\r\n String input = \"0fqylTncsgycZJQ+J5pS7v6/fj8M/fz4bavB/SnIBOQ=\";\r\n KeyMaker km = new KeyMaker();\r\n SecretKeySpec sks = new SecretKeySpec(km.makeKeyDriver(\"myPassword\"), \"AES\");\r\n EncyptDecrypt instance = new EncyptDecrypt();\r\n String expResult = \"Hello how are you?\";\r\n String result = instance.decrypt(input, sks);\r\n assertEquals(expResult, result);\r\n }", "private static void decrypt(String userString) {\n String[] words = userString.split(\"\");\n userInput = new ArrayList<String>(Arrays.asList(words));\n\n ArrayList<String> decryptedText = new ArrayList<String>();\n userInput.remove(0);\n for (int i = 0; i < userInput.size(); i++) {\n if (userInput.get(i).equals(\" \")) {\n userInput.set(i, \"-\");\n }\n }\n\n for (int i = 0; i < userInput.size(); i++) {\n oddChar = userInput.get(i);\n decryptedText.add(letters.get((oddCipher.indexOf(oddChar))));\n\n if (i == userInput.size() - 1) {\n break;\n } else {\n evenChar = userInput.get(i + 1);\n decryptedText.add(letters.get((evenCipher.indexOf(evenChar))));\n }\n\n i++;\n }\n\n finalOutput = decryptedText.toString().replace(\",\", \"\")\n .replace(\" \", \"\")\n .replace(\"[\", \"\")\n .replace(\"]\", \"\")\n .trim();\n output.setText(finalOutput);\n\n }", "public String decryptMsg(String encryptedMsg) {\n encryptedMsg.toLowerCase(Locale.ROOT);\n\n //replace the things with the properties\n encryptedMsg = encryptedMsg.replace(\"1\", \"a\");\n encryptedMsg = encryptedMsg.replace(\"3\", \"e\");\n encryptedMsg = encryptedMsg.replace(\"5\", \"i\");\n encryptedMsg = encryptedMsg.replace(\"7\", \"o\");\n encryptedMsg = encryptedMsg.replace(\"9\", \"u\");\n\n //return the right value\n return encryptedMsg;\n }", "public static String decryptText(byte[] byteCipherText, SecretKey secKey) throws Exception {\n\r\n Cipher aesCipher = Cipher.getInstance(\"AES\");\r\n\r\n aesCipher.init(Cipher.DECRYPT_MODE, secKey);\r\n\r\n byte[] bytePlainText = aesCipher.doFinal(byteCipherText);\r\n\r\n return new String(bytePlainText);\r\n\r\n}", "public static String decrypt(String s, char key) {\n \treturn Utilities.decrypt(s, (byte) key);\n }", "@Override\n public void decrypt() {\n algo.decrypt();\n String cypher = vigenereAlgo(false);\n this.setValue(cypher);\n }", "public static String decryptCookie(String string) {\n byte[] decryptArray = Base64.getDecoder().decode(string);\n String decstr = null;\n try {\n decstr = new String(decryptArray, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n return decstr;\n }", "private String decrypt(String encryptedData) throws Exception {\n Key key = generateKey();\n Cipher c = Cipher.getInstance(ALGO);\n c.init(Cipher.DECRYPT_MODE, key);\n byte[] decordedValue = Base64.getDecoder().decode(encryptedData);\n byte[] decValue = c.doFinal(decordedValue);\n String result = new String(decValue);\n return result;\n }", "public static String decrypt(String aStr)\n {\n String returnValue = null;\n\n if (aStr != null)\n {\n StringBuffer encryptedID = new StringBuffer(aStr);\n\n convertAlphaToNumeric(encryptedID);\n\n // get the group length from the first character in the string\n int groupLength = 0; // --encryptedID.charAt(0) - 48;\n\n if (encryptedID.length() > 0)\n {\n groupLength = encryptedID.charAt(0) - 48;\n }\n\n // create a stringbuffer that contains all but the first character of the\n // current encrypted string. deleteCharAt(0) could be used if we were\n // using jdk1.2 or higher\n String str = encryptedID.toString();\n\n if (str.length() > 0)\n {\n encryptedID = new StringBuffer(str.substring(1,\n str.length()));\n }\n reverseIntraStringCharacterGroups(encryptedID, groupLength);\n reverseIntraStringCharacterGroups(encryptedID, 2);\n returnValue = decodeStringFromBuffer(encryptedID);\n }\n return returnValue;\n }", "public abstract String decryptMsg(String msg);", "public String decrypt(String word){\n\tString result = \"\";\n\tString wordLower = word.toLowerCase(); \n\tfor(int i=0; i<wordLower.length(); i++){\n\t if(wordLower.charAt(i)<97 || wordLower.charAt(i)>122)\n\t\tthrow new IllegalArgumentException();\n\t int a = (wordLower.charAt(i)-97);\n\t int b = (int)Math.pow(a,privateD);\n\t int k = (b%26)+97;\n\t result += Character.toString((char)k);\n\t}\n\treturn result;\n }", "public String decrypt(String encryptedText) throws IOException\n {\n int len = encryptedText.length();\n if ((len % 32) != 0)\n throw new IOException(\"Serious error: decryption string has incorrect length \"\n + \"- please contact Simon\");\n byte[] encrypted = new byte[len/2];\n for (int i=0; i<len; i+=2)\n {\n encrypted[i/2] = (byte) ((Character.digit(encryptedText.charAt(i), 16) << 4)\n + Character.digit(encryptedText.charAt(i+1), 16));\n }\n\n try\n {\n SecretKeySpec key = new SecretKeySpec(secretKeyBytes, \"AES\");\n Cipher cipher = Cipher.getInstance(\"AES\");\n\n cipher.init(Cipher.DECRYPT_MODE, key);\n byte[] decrypted = cipher.doFinal(encrypted);\n return new String(decrypted, \"UTF-8\");\n }\n catch (Exception ex)\n {\n throw new IOException(\"Serious error: Password decryption failed \"\n + \"- please contact Simon\");\n }\n }", "@Override\n public String decryptMsg(String msg) {\n if (msg.length() == 0) {\n return msg;\n } else {\n char[] decMsg = new char[msg.length()];\n for (int ind = 0; ind < msg.length(); ++ind) {\n char letter = msg.charAt(ind);\n if (letter >= 'a' && letter <= 'z') {\n int temp = letter - 'a' - key;\n decMsg[ind] = (char) ('a' + (char) ((temp < 0) ? temp + 26 : temp));\n } else if (letter >= 'A' && letter <= 'Z') {\n int temp = letter - 'A' - key;\n decMsg[ind] = (char) ('A' + (char) ((temp < 0) ? temp + 26 : temp));\n } else {\n decMsg[ind] = letter;\n }\n }\n return new String(decMsg);\n }\n }", "String decrypt(String text) {\n\t\tchar letter;\n\t\tString finalString = \"\";\t\t\t\t\t// slutliga klartexten\n\t\tint start = key.getStart();\t\t\t\t\t// deklarerar nyckelns startläge\n\t\tint k ;\t\t\t\t\t\t\t\t\t\t// variabel för bokstavens startläge i vanliga alfabetet\n\t\tStringBuilder sb = new StringBuilder();\t\t\t\t\t// skapar en stringbuilder som kan modifieras, bygger upp textsträngar av olika variabler\n\t\t\t\t\t\t\n\t\t// loopen går igenom alla tecken i min krypterade text \t\t\t\n\t\tfor(int i = 0; i < text.length(); i++) {\t\t\t// for-loop för att gå igenom hela texten\t\t\t\t\n\t\t\tletter = text.charAt(i);\t\t\t\t\t\t// ger bokstaven på platsen 0,1,2,3.....\n\t\t\tif(letter == ' ') {\t\t\t\t\t\t\t\t// om det är ett blanktecken så ska det vara ett blanktecken\n\t\t\t\tsb.append(' ');\t\t\t\t\t\t\t\t// sparar blanksteg i en stringBuilder\n\t\t\t} else {\n\t\t\t\tint index=0;\n\t\t\t\tstart=start%26;\t\t\t\t\t\t\t\t// vi behöver endast 26 värden\n\t\t\t\tkey.getStart();\n\n\t\t\t\t\n\t\t\t\twhile(index<26 &&(letter!=key.getLetter(index))) {\t\t// så länge som chiffret inte motsvarar förskjutningen\n\t\t\t\t\tindex++;\t\t\t\t\t\t\t\t\t\t\t// så fortsätter den leta\n\t\t\t\t} \n\t\t\t\t\n\t\t\t\tk=index-start;\n\t\t\t\t\n\t\t\t\tif(k>=0)\n\t\t\t\t\tletter=(char)('A'+k);\n\t\t\t\telse letter=(char)('Z'-(start-1-index));\t\t\t\t// räknar från index, om index mindre än start så räknar den bakåt\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// så att det inte blir tokigt mellan Z och A.\n\t\t\t\t\n\t\t\t\tsb.append(letter);\t\t\t\t\t\t\t\t\t\t//lagrar bokstav i stringBuilder\n\t\t\t\tstart++;\t\t\t\t\t\t\t\t\t\t\t\t//chiffret börjar om\n\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\n\t\t\t}\n\t\treturn sb.toString();\t\t\t\t\t\t\t\t\t\t// returnerar sluttexten\n\t\t}", "public String decrypt(String text) {\n byte[] dectyptedText = null;\n try {\n // decrypt the text using the private key\n cipher.init(Cipher.DECRYPT_MODE, publicKey);\n byte[] data=Base64.decode(text, Base64.NO_WRAP);\n String str=\"\";\n for(int i=0;i<data.length;i++)\n {\n str+=data[i]+\"\\n\";\n }\n android.util.Log.d(\"ali\",str);\n dectyptedText = cipher.doFinal(Base64.decode(text, Base64.NO_WRAP));\n return new String(dectyptedText);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return null;\n }", "public String decrypt(String message) {\t\n\t\tchar [] letters = new char [message.length()];\n\t\tString newMessage = \"\";\n\n\t\t//create an array of characters from message\n\t\tfor(int i=0; i< message.length(); i++){\n\t\t\tletters[i]= message.charAt(i);\n\t\t}\n\n\t\tfor(int i=0; i<letters.length; i++){\n\t\t\tif(Character.isLetter(letters[i])){ //check to see if letter\n\t\t\t\tif(Character.isUpperCase(letters[i])){ //check to see if it is uppercase\n\t\t\t\t\tnewMessage += letters[i]; //add that character to new string\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//new message is the string that needs to be decrypted now \n\t\t//change the letters into numbers\n\t\tint [] decryptNums = new int[newMessage.length()];\n\t\tString alphabet = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n\n\t\tfor(int i=0; i < newMessage.length(); i++){\n\t\t\tchar c = newMessage.charAt(i);\n\t\t\tint x = alphabet.indexOf(c) + 1;\n\t\t\tdecryptNums[i] = x;\n\t\t}\n\n\n\t\t//generate key from those numbers\n\t\tint[] keyNum = new int [decryptNums.length];\n\t\tfor(int i=0; i<decryptNums.length; i++){\n\t\t\tint x = getKey();\n\t\t\tkeyNum[i] = x;\n\t\t}\n\n\t\t//subtract letter number from key number\n\t\tint[] finalNum = new int [keyNum.length];\n\t\tfor(int i=0; i<keyNum.length; i++){\n\t\t\tint x= decryptNums[i]-keyNum[i];\n\t\t\tif(keyNum[i] >=decryptNums[i] ){\n\t\t\t\tx = x+26;\n\t\t\t\tfinalNum[i]=x;\n\t\t\t}else{\n\t\t\t\tfinalNum[i]=x;\n\t\t\t}\n\t\t}\n\n\t\t//now re match the alphabet to it \n\t\tchar[] finalChar = new char [finalNum.length];\n\n\t\tfor(int i=0; i< finalNum.length; i++){\n\t\t\tint x = finalNum[i]-1;\n\t\t\tchar c = alphabet.charAt(x);\n\t\t\tfinalChar[i]=c;\n\t\t}\n\n\t\tString decrypt = \"\";\n\t\tfor(int i=0; i< finalChar.length; i++){\n\t\t\tdecrypt += finalChar[i];\n\t\t}\n\t\t\n\t\treturn decrypt;\n\t}", "void decryptCode() {\n StringBuilder temp = new StringBuilder(\"\");\n\n // go through entire phrase\n for (int i = 0; i < this.getText().length(); ++i) {\n\n // append char to temp if char at i is not a multiple of z\n if (!(i % Character.getNumericValue(this.secretKey.charAt(7)) == 0) || i == 0)\n temp.append(this.getText().charAt(i));\n }\n\n this.setText(temp);\n\n \n // Step 2:\n\n // split phrase up into words\n ArrayList<String> words = new ArrayList<>(Arrays.asList(this.text.toString().split(\" \")));\n\n for (int i = 0; i < words.size(); ++i) {\n\n // if y1x3x4 is at the end of the word, remove it from word\n \n if (words.get(i).substring(words.get(i).length() - 3, words.get(i).length())\n .equals(this.getSecretKey().substring(3, 6)))\n words.set(i, words.get(i).substring(0, words.get(i).length() - 3));\n\n // if x1x2 is at the end of the word\n else {\n // remove x1x2 from end\n words.set(i, words.get(i).substring(0, words.get(i).length() - 2));\n \n // move last char to beginning\n words.set(i, words.get(i).charAt(words.get(i).length() - 1) + words.get(i).substring(0, words.get(i).length() - 1));\n }\n }\n\n temp = new StringBuilder(\"\");\n\n for (String word : words)\n temp.append(word + \" \");\n\n this.setText(temp);\n }", "public String decryptedOnly(final String value) {\n\t\tif (StringUtils.isAllBlank(value)) {\n\t\t\treturn value;\n\t\t}\n\t\ttry {\n\t\t\t// Try a decryption\n\t\t\tdecrypt(value);\n\t\t\treturn null;\n\t\t} catch (final EncryptionOperationNotPossibleException e) { // NOSONAR - Ignore raw value\n\t\t\t// Value could be encrypted, consider it as a safe value\n\t\t\treturn value;\n\t\t}\n\t}", "public String decrypt(String encrypted) {\n try {\n IvParameterSpec iv = new IvParameterSpec(initVector);\n SecretKeySpec skeySpec = new SecretKeySpec(privateKey, \"AES\");\n\n Cipher cipher = Cipher.getInstance(\"AES/CBC/PKCS5PADDING\");\n cipher.init(Cipher.DECRYPT_MODE, skeySpec, iv);\n\n byte[] original = cipher.doFinal(Base64Coder.decode(encrypted));\n\n return new String(original);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n\n return null;\n }", "public String decode(String cipher)\n {\n \treturn null;\n }", "@Override\r\n\tpublic String decrypt(String cipher) {\n\t\treturn null;\r\n\t}", "public String decryptTextUsingAES(String encryptedText, String aesKeyString) throws Exception {\r\n\r\n byte[] decodedKey = Base64.getDecoder().decode(aesKeyString);\r\n SecretKey originalSecretKey = new SecretKeySpec(decodedKey, 0, decodedKey.length, \"AES\");\r\n\r\n // AES defaults to AES/ECB/PKCS5Padding in Java 7\r\n Cipher aesCipher = Cipher.getInstance(\"AES/CBC/PKCS5PADDING\");\r\n \r\n IV = \"AAAAAAAAAAAAAAAA\";\r\n \r\n aesCipher.init(Cipher.DECRYPT_MODE, originalSecretKey, new IvParameterSpec(IV.getBytes()));\r\n // aesCipher.init(Cipher.DECRYPT_MODE, originalSecretKey);\r\n byte[] bytePlainText = aesCipher.doFinal(Base64.getDecoder().decode(encryptedText));\r\n return new String(bytePlainText);\r\n }", "public PLEncrypterDecrypter( String textParms )\n {}", "public String decryptString(String encryptedMessage) {\n return new String(decrypt(new BigInteger(encryptedMessage)).toByteArray());\n }", "public static String decrypt(String text, int key) {\n return encrypt(text, -key);\n }", "public EncryptorReturn decrytp(String in) throws CustomizeEncryptorException;", "public static String decrypt(String s, char key) {\n\t\treturn Utilities.decrypt(s, (byte) key);\n\t}", "public static String decrypt(String s, char key) {\n\t\treturn Utilities.decrypt(s, (byte) key);\n\t}", "@Test\n\tpublic void testDecrypt() throws GeneralSecurityException, IOException {\n\t\tString cipher = \"4VGdDR9qJlq36bQGI+Sx3A==\";\n\t\tString key = \"io.github.odys-z\";\n\t\tString iv = \"DITVJZA2mSDAw496hBz6BA==\";\n\t\tString plain = AESHelper.decrypt(cipher, key,\n\t\t\t\t\t\t\tAESHelper.decode64(iv));\n\t\tassertEquals(\"Plain Text\", plain.trim());\n\n\t\tplain = \"-----------admin\";\n\t\tkey = \"----------123456\";\n\t\tiv = \"ZqlZsmoC3SNd2YeTTCkbVw==\";\n\t\t// PCKS7 Padding results not suitable for here - AES-128/CBC/NoPadding\n\t\tassertNotEquals(\"3A0hfZiaozpwMeYs3nXdAb8mGtVc1KyGTyad7GZI8oM=\",\n\t\t\t\tAESHelper.encrypt(plain, key, AESHelper.decode64(iv)));\n\t\t\n\t\tiv = \"CTpAnB/jSRQTvelFwmJnlA==\";\n\t\tassertEquals(\"WQiXlFCt5AGCabjSCkVh0Q==\",\n\t\t\t\tAESHelper.encrypt(plain, key, AESHelper.decode64(iv)));\n\t}", "@Override\n\tpublic double decrypt(String encryptedText) {\n\t\treturn cryptoProvider.decrypt(encryptedText);\n\t}", "public static StringBuffer decrypt(String text) {\r\n int s = 5;\r\n byte ctoi[];\r\n int check;\r\n StringBuffer result = new StringBuffer();\r\n ctoi = text.getBytes();\r\n for (int i = 0; i < text.length(); i++) {\r\n if (Character.isUpperCase(text.charAt(i))) {\r\n check = 0;\r\n check = ((ctoi[i] - s) - 65) % 26;\r\n if (check < 0) {\r\n char ch = (char) ((((((int) text.charAt(i) - s) - 65) % 26) + 65) + 26);\r\n result.append(ch);\r\n } else {\r\n char ch = (char) (((((int) text.charAt(i) - s) - 65) % 26) + 65);\r\n result.append(ch);\r\n }\r\n\r\n } else if (Character.isLowerCase(text.charAt(i))) {\r\n check = 0;\r\n check = ((ctoi[i] - s) - 97) % 26;\r\n if (check < 0) {\r\n char ch = (char) ((((((int) text.charAt(i) - s) - 97) % 26) + 97) + 26);\r\n result.append(ch);\r\n } else {\r\n char ch = (char) (((((int) text.charAt(i) - s) - 97) % 26) + 97);\r\n result.append(ch);\r\n }\r\n\r\n } else {\r\n char ch = text.charAt(i);\r\n result.append(ch);\r\n }\r\n }\r\n return result;\r\n }", "@Override\n public String decrypt(String encryptedText) {\n if (StringUtils.isBlank(encryptedText)) {\n return null;\n }\n\n try {\n byte[] decoded = Base64.getDecoder().decode(encryptedText);\n\n byte[] iv = Arrays.copyOfRange(decoded, 0, GCM_IV_LENGTH);\n\n Cipher cipher = Cipher.getInstance(ENCRYPT_ALGORITHM);\n GCMParameterSpec ivSpec = new GCMParameterSpec(GCM_TAG_LENGTH * Byte.SIZE, iv);\n cipher.init(Cipher.DECRYPT_MODE, getKeyFromPassword(), ivSpec);\n\n byte[] ciphertext = cipher.doFinal(decoded, GCM_IV_LENGTH, decoded.length - GCM_IV_LENGTH);\n\n return new String(ciphertext, StandardCharsets.UTF_8);\n } catch (NoSuchAlgorithmException\n | IllegalArgumentException\n | InvalidKeyException\n | InvalidAlgorithmParameterException\n | IllegalBlockSizeException\n | BadPaddingException\n | NoSuchPaddingException e) {\n LOG.debug(ERROR_DECRYPTING_DATA, e);\n throw new EncryptionException(e);\n }\n }", "public String decryptText(String input) {\n\n String inputUC = input.toUpperCase();\n\n StringBuilder outputSB = new StringBuilder();\n\n for (int i = 0; i < input.length(); i++) {\n\n if (Character.toString(inputUC.charAt(i)).equalsIgnoreCase(\" \")) {\n\n outputSB.append(Character.toString(inputUC.charAt(i)));\n }\n else {\n for (int j = 0; j < this.charLibrary.length(); j++) {\n if (Character.toString(inputUC.charAt(i)).equalsIgnoreCase(Character.toString(this.key.charAt(j)))) {\n\n outputSB.append(this.charLibrary.charAt(j));\n }\n }\n }\n\n }\n return outputSB.toString();\n }", "public static String decryptString(String text, int key) {\r\n String decryptedText = \"\";\r\n String alpha = shiftAlphabet(0);\r\n String newAlpha = shiftAlphabet(key);\r\n text = ungroupify(text);\r\n for (int i = 0; i < text.length(); i++) {\r\n String currentLetter = String.valueOf(text.charAt(i));\r\n int indexOfLetter = newAlpha.indexOf(currentLetter);\r\n String letterReplacement = String.valueOf(alpha.charAt(indexOfLetter));\r\n decryptedText += letterReplacement;\r\n\r\n }\r\n return decryptedText;\r\n }", "public static String decryptPassword(String s)\n {\n String pass = \"\";\n int i = 0;\n while (i < s.length() - 1)\n {\n char ch = s.charAt(i);\n char ch2 = s.charAt(i + 1);\n if (Character.isLowerCase(ch2) && Character.isUpperCase(ch) && Character.isSpecia;) {\n pass = pass + ch2 + ch + \"*\";\n i = i + 2;\n }\n if (Character.isDigit(ch)) {\n pass = \"0\"+pass;\n i = i + 1;\n } else {\n pass = pass + ch;\n i = i + 1;\n }\n }\n return pass;\n }", "String decryptHiddenField(String encrypted);", "public String decrypt(final PrivateKeyInterface key, final String data)\n throws DecryptionFailedException\n {\n return this.decryptionCipher().decrypt(key, data);\n }", "private static String decryptAES() {\n\t\tString inFilename = \"7hex.txt\";\n\t\ttry {\n\t\t\tFileReader fr = new FileReader(inFilename);\n\t\t\tBufferedReader br = new BufferedReader(fr);\n\n\t\t\tfinal String keyHex = asciiToHex(\"YELLOW SUBMARINE\");\n\t\t\tfinal String cipherHex = br.readLine();\n\n\t\t\tSecretKey key = new SecretKeySpec(DatatypeConverter.parseHexBinary(keyHex), \"AES\");\n\t\t\tCipher cipher = Cipher.getInstance(\"AES/ECB/NoPadding\");\n\t\t\tcipher.init(Cipher.DECRYPT_MODE, key);\n\t\t\tbyte[] result = cipher.doFinal(DatatypeConverter.parseHexBinary(cipherHex));\n\n\t\t\tbr.close();\n\t\t\tfr.close();\n\n\t\t\treturn new String(result);\n\t\t} catch (Exception e) {\n\t\t\treturn null;\n\t\t}\n\t}", "public static String decryptText(byte[] byteCipherText, SecretKey secKey) throws Exception {\n\t\t\n\t\t\n\n\t\tSystem.out.println(secKey.toString());\n\n\t\tCipher aesCipher = Cipher.getInstance(\"AES\");\n\n\t\taesCipher.init(Cipher.DECRYPT_MODE, secKey);\n\n\t\tbyte[] bytePlainText = aesCipher.doFinal(byteCipherText);\n\t\t\n\t\t\n\n\t\treturn new String(bytePlainText);\n\n\t}", "public String decodeData(String encrypted) throws InvalidConfigurationException, IOException {\n checkNotNull(encrypted, \"encrypted message cannot be null\");\n SecurityLevel securityLevel = getSecurityLevel(encrypted);\n if (encrypted.startsWith(securityLevel.getPrefix())) {\n encrypted = encrypted.substring(securityLevel.getPrefix().length());\n }\n switch (securityLevel) {\n case PLAIN_TEXT:\n return encrypted;\n case OBFUSCATED:\n return decryptAndBase64(encrypted, createObfuscatingCipher(), OBFUSCATING_KEY);\n case ENCRYPTED:\n KeyPair keyPair = sensitiveDataCodecHelper.getKeyPair();\n return decryptAndBase64(\n encrypted, createEncryptingCipher(keyPair), keyPair.getPrivate());\n default:\n throw new InvalidConfigurationException(\"Invalid SecurityLevel \" + securityLevel);\n }\n }", "private char decrypt(char ch) {\n char chUC = Character.toUpperCase(ch);\n int cind = ALPHABET.indexOf(chUC);\n // do not decrypt non letters\n if (cind == -1) return ch;\n \n // index of decrypted character\n int dind = (cind - key) % 26;\n \n // java can return negative from modulo:\n if (dind <0) dind+=26;\n \n // decrypted uppercase character\n char dch = ALPHABET.charAt(dind);\n \n // check original case and return decrypted char\n if (Character.isUpperCase(ch)) return dch;\n else return Character.toLowerCase(dch);\n }", "public synchronized String getDecryptedText() {\n String text;\n try {\n text = ContentCrypto.decrypt(mText, getSalt(), Passphrase.INSTANCE.getPassPhrase().toCharArray());\n } catch (Exception e) {\n e.printStackTrace();\n text = \"Bad Decrypt\";\n }\n return text;\n }", "public String tselDecrypt(String key, String message)\n\t{\n\n\t\tif (key == null || key.equals(\"\")) \n\t\t{\n\t\t\treturn message;\n\t\t}\n\n\t\tif (message == null || message.equals(\"\")) \n\t\t{\n\t\t\treturn \"\";\n\t\t}\n\t\tCryptoUtils enc = new CryptoUtils(key, Cipher.DECRYPT_MODE);\n\t\tString messageEnc = enc.process(message);\n\n\t\treturn messageEnc;\n\t}", "void decrypt(ChannelBuffer buffer, Channel c);", "public String decryptPassword(String encrypted) {\n Preconditions.checkArgument(this.encryptor.isPresent(),\n \"A master password needs to be provided for decrypting passwords.\");\n\n try {\n return this.encryptor.get().decrypt(encrypted);\n } catch (Exception e) {\n throw new RuntimeException(\"Failed to decrypt password \" + encrypted, e);\n }\n }", "public static String decryptBellaso(String encryptedText, String bellasoStr) {\r\n String decryptedText = \"\";\r\n\t\t\r\n\t\tchar [] deText = new char[encryptedText.length()];\r\n\t\t\r\n\t mappingKeyToMessage(bellasoStr,encryptedText);\r\n\t \r\n\t char [] enText = encryptedText.toCharArray();\r\n\t\tchar [] blText = bellasoStr.toCharArray();\r\n\t\t\r\n\t\tint i=0;\r\n\t\tint diff = 0;\r\n\t\t\r\n\t\tdiff = diff + enText[i];\r\n\t\tdiff = diff + blText[1];\r\n\t\tdiff += RANGE;\r\n\t\tSystem.out.print(diff);\r\n\t\tdo {\r\n\t\t\tfor(char m: enText) {\r\n\t\t\t\r\n\t\t\t\tif (diff <32) {\r\n\t\t\t\t\tdiff += RANGE;\r\n\t\t\t\t\tm += diff;\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}else {\r\n\t\t\t\t\tm +=diff;\r\n\t\t\t\t\tdeText[i] = m;\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t}while(i<encryptedText.length());\r\n\t\tdecryptedText = String.valueOf(deText);\r\n\t\t\r\n\t \r\n\t return decryptedText; \r\n\t}", "private static void decodeString(String in){\n\t\t//reverse anything done in encoded string\n\t\tString demess = decrypt(in);\n\t\tString decodeMessage = bigIntDecode(demess);\n\n\t\tSystem.out.println(\"Decoded message: \" + decodeMessage + \"***make function to actually decode!\");\n\t}", "public static String decode(String decode, String decodingName) {\r\n\t\tString decoder = \"\";\r\n\t\tif (decodingName.equalsIgnoreCase(\"base64\")) {\r\n\t\t\tbyte[] decoded = Base64.decodeBase64(decode);\r\n\t\t\ttry {\r\n\t\t\t\tdecoder = new String(decoded, \"UTF-8\");\r\n\t\t\t} catch (UnsupportedEncodingException e) {\r\n\t\t\t\tlog.error(\"decode :\" + e.getMessage());\r\n\t\t\t}\r\n\t\t} else if (decodingName.equalsIgnoreCase(\"PBEWithMD5AndDES\")) {\r\n\t\t\t// Key generation for enc and desc\r\n\t\t\tKeySpec keySpec = new PBEKeySpec(secretKey.toCharArray(), salt, iterationCount);\r\n\t\t\tSecretKey key;\r\n\t\t\ttry {\r\n\t\t\t\tkey = SecretKeyFactory.getInstance(\"PBEWithMD5AndDES\").generateSecret(keySpec);\r\n\t\t\t\t// Prepare the parameter to the ciphers\r\n\t\t\t\tAlgorithmParameterSpec paramSpec = new PBEParameterSpec(salt, iterationCount);\r\n\t\t\t\t// Decryption process; same key will be used for decr\r\n\t\t\t\tdcipher = Cipher.getInstance(key.getAlgorithm());\r\n\t\t\t\tdcipher.init(Cipher.DECRYPT_MODE, key, paramSpec);\r\n\t\t\t\tif (decode.indexOf(\"(\", 0) > -1) {\r\n\t\t\t\t\tdecode = decode.replace('(', '/');\r\n\t\t\t\t}\r\n\t\t\t\tbyte[] enc = Base64.decodeBase64(decode);\r\n\t\t\t\tbyte[] utf8 = dcipher.doFinal(enc);\r\n\t\t\t\tString charSet = \"UTF-8\";\r\n\t\t\t\tString plainStr = new String(utf8, charSet);\r\n\t\t\t\treturn plainStr;\r\n\t\t\t} catch (InvalidKeySpecException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException\r\n\t\t\t\t\t| InvalidAlgorithmParameterException | IllegalBlockSizeException | BadPaddingException\r\n\t\t\t\t\t| IOException e) {\r\n\t\t\t\tlog.error(\"decode :\" + e.getMessage());\r\n\t\t\t}\r\n\t\t} else if (decodingName.equalsIgnoreCase(\"DES/ECB/PKCS5Padding\")) {\r\n\t\t\t// Get a cipher object.\r\n\t\t\tCipher cipher;\r\n\t\t\ttry {\r\n\t\t\t\tcipher = Cipher.getInstance(\"DES/ECB/PKCS5Padding\");\r\n\t\t\t\tcipher.init(Cipher.DECRYPT_MODE, generateKey());\r\n\t\t\t\t// decode the BASE64 coded message\r\n\t\t\t\tBASE64Decoder decoder1 = new BASE64Decoder();\r\n\t\t\t\tbyte[] raw = decoder1.decodeBuffer(decode);\r\n\t\t\t\t// decode the message\r\n\t\t\t\tbyte[] stringBytes = cipher.doFinal(raw);\r\n\t\t\t\t// converts the decoded message to a String\r\n\t\t\t\tdecoder = new String(stringBytes, \"UTF8\");\r\n\t\t\t} catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | IOException\r\n\t\t\t\t\t| IllegalBlockSizeException | BadPaddingException e) {\r\n\t\t\t\tlog.error(\"decode :\" + e.getMessage());\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\treturn decoder;\r\n\t}", "@Override\n public String decrypt(String word, int cipher) {\n String result = \"\";\n int postcipher = 0;\n boolean wasUpper = false;\n for(int i = 0; i < word.length(); i++)\n {\n char c = word.charAt(i);\n postcipher = c;\n if(Character.isLetter(c)) {\n if (c < ASCII_LOWER_BEGIN) { //change to lowercase\n c += ASCII_DIFF;\n wasUpper = true;\n }\n postcipher = ((c + (NUM_ALPHABET - cipher) - ASCII_LOWER_BEGIN) % NUM_ALPHABET + ASCII_LOWER_BEGIN); //shift by cipher amount\n if (wasUpper)\n postcipher -= ASCII_DIFF; //turn back into uppercase if it was uppercase\n wasUpper = false;\n }\n result += (char)postcipher; //add letter by letter into string\n }\n return result;\n }", "@Override\n\tpublic String decryptAES(byte[] key, String cipherText) {\n\t\ttry{\n\t\t\tbyte[] encryptedIvTextBytes = DatatypeConverter.parseHexBinary(cipherText);\n\t int ivSize = 16;\n\n\t byte[] iv = new byte[ivSize];\n\t System.arraycopy(encryptedIvTextBytes, 0, iv, 0, iv.length);\n\t IvParameterSpec ivParameterSpec = new IvParameterSpec(iv);\n\t int encryptedSize = encryptedIvTextBytes.length - ivSize;\n\t byte[] encryptedBytes = new byte[encryptedSize];\n\t System.arraycopy(encryptedIvTextBytes, ivSize, encryptedBytes, 0, encryptedSize);\n\t SecretKeySpec secretKeySpec = new SecretKeySpec(key, \"AES\");\n\t Cipher cipherDecrypt = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n\t cipherDecrypt.init(Cipher.DECRYPT_MODE, secretKeySpec, ivParameterSpec);\n\t byte[] decrypted = cipherDecrypt.doFinal(encryptedBytes);\n\n\t return new String(decrypted);\n\t\t}catch(Exception e) {\n\t\t\t\n\t\t}\n\t\treturn null;\n\t}", "Map<String, String> decryptQueryString(String encrypted) throws EncryptionException;", "public String ebcDecrypt(String ciphertext, String key) {\n\t\treturn AESEBC.AESDecrypt(ciphertext, key);\n\t}", "private void decoding(String cipherText)\n\t{\n\t\ttextLength = cipherText.length();\n\n\t\tdo\n\t\t{\n\t\t\tStringBuffer sb = new StringBuffer(textLength);\n\t\t\tchar currentLetter[] = cipherText.toCharArray();\n\n\t\t\tfor(int i = ZERO; i < textLength; i++)\n\t\t\t{\n\t\t\t\tif(i % TWO ==0)\n\t\t\t\tsb.append(currentLetter[i]);\n\t\t\t} // Ending bracket of for loop\n\n\t\t\tfor(int i = ZERO; i < textLength; i++)\n\t\t\t{\n\t\t\t\tif(i % TWO != ZERO)\n\t\t\t\tsb.append(currentLetter[i]);\n\t\t\t} // Ending bracket of for loop\n\n\t\t\tdecodedText = sb.toString();\n\t\t\tcipherText = decodedText;\n\t\t\tloopIntDecode++;\n\t\t}while(loopIntDecode < shiftAmount);\n\t}", "public String decode(String cipher)\n\t {\n\t \treturn null;\n\t }", "char decipher(int charToDeCipher);", "private String decrypt(SecretKey key, String encrypted) {\n\t\ttry {\n\t\t\tCipher cipher = Cipher.getInstance(\"AES\");\n\t\t\tcipher.init(Cipher.DECRYPT_MODE, key);\n\n\t\t\tbyte[] original = cipher.doFinal(Base64.decodeBase64(encrypted));\n\n\t\t\treturn new String(original);\n\t\t} catch (InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException\n\t\t\t\t| NoSuchPaddingException ex) {\n\t\t\tSystem.out.println(ex.getMessage());\n\t\t}\n\n\t\treturn null;\n\t}", "public static String decryptBellaso(String encryptedText, String bellasoStr) {\r\n\t\t// Variables\r\n\t\tString decrypted = \"\"; // To be built, char by char\r\n\t\tint bl = bellasoStr.length(); // Bellaso string length\r\n\t\tint lb = (int) LOWER_BOUND; // Lower bound converted to index int\r\n\t\t\r\n\t\t// Loops\r\n\t\tfor (int i = 0; i < encryptedText.length(); i++) {\r\n\t\t\t// Variables\r\n\t\t\tchar c = encryptedText.charAt(i); // Decrypt character at index i of string encryptedText\r\n\t\t\tint dc = (int)c - (int)bellasoStr.charAt(i % bl);\r\n\t\t\t\r\n\t\t\t// Loops\r\n\t\t\twhile (dc < lb) { dc += RANGE; }\r\n\t\t\t\r\n\t\t\t// Append to string\r\n\t\t\tdecrypted += (char) dc;\r\n\t\t}\r\n\t\t\r\n\t\t// Return\r\n\t\treturn decrypted;\r\n\t}", "public static String decrypt(String encrypted, Keys keys) throws GeneralSecurityException {\n Cipher cipher = Cipher.getInstance(ENC_SYSTEM);\n String[] data = COLON.split(encrypted);\n if (data.length != 3) {\n throw new GeneralSecurityException(\"Invalid encrypted data!\");\n }\n String mac = data[0];\n String iv = data[1];\n String cipherText = data[2];\n\n // Verify that the ciphertext and IV haven't been tampered with first\n String dataToAuth = iv + \":\" + cipherText;\n if (!computeMac(dataToAuth, keys.getMacKey()).equals(mac)) {\n throw new GeneralSecurityException(\"Incorrect MAC!\");\n }\n\n // Decrypt the ciphertext\n byte[] ivBytes = decodeBase64(iv);\n cipher.init(Cipher.DECRYPT_MODE, keys.getEncKey(), new IvParameterSpec(ivBytes));\n byte[] bytes = cipher.doFinal(decodeBase64(cipherText));\n\n // Decode the plaintext bytes into a String\n CharsetDecoder decoder = Charset.defaultCharset().newDecoder();\n decoder.onMalformedInput(CodingErrorAction.REPORT);\n decoder.onUnmappableCharacter(CodingErrorAction.REPORT);\n /*\n * We are coding UTF-8 (guaranteed to be the default charset on\n * Android) to Java chars (UTF-16, 2 bytes per char). For valid UTF-8\n * sequences, then:\n * 1 byte in UTF-8 (US-ASCII) -> 1 char in UTF-16\n * 2-3 bytes in UTF-8 (BMP) -> 1 char in UTF-16\n * 4 bytes in UTF-8 (non-BMP) -> 2 chars in UTF-16 (surrogate pair)\n * The decoded output is therefore guaranteed to fit into a char\n * array the same length as the input byte array.\n */\n CharBuffer out = CharBuffer.allocate(bytes.length);\n CoderResult result = decoder.decode(ByteBuffer.wrap(bytes), out, true);\n if (result.isError()) {\n /* The input was supposed to be the result of encrypting a String,\n * so something is very wrong if it cannot be decoded into one! */\n throw new GeneralSecurityException(\"Corrupt decrypted data!\");\n }\n decoder.flush(out);\n return out.flip().toString();\n }", "public String Crypt(String s);", "public String decrypt(String p, String pv, String md){\n char a;\n BigInteger b;\n String c = \"\", d = \"\";\n \n for(int i = 0; i < p.length(); i++){\n if((int)p.charAt(i) != 29)\n c += p.charAt(i);\n else{\n b = new BigInteger(c);\n a = (char)decrypt(b, new BigInteger(pv), new BigInteger(md)).intValue();\n d += a;\n c = \"\";\n }\n }\n return d;\n }", "public static String decrypt(String textEncrypted, SecretKey key, String ivString)\n\t\t\tthrows NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException,\n\t\t\tIllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {\n\n\t\tbyte[] iv = Base64.decode(ivString, Base64.NO_WRAP);\n\n Cipher cipher2 = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n\t\tcipher2.init(Cipher.DECRYPT_MODE, key, new IvParameterSpec(iv));\n\n\t\tbyte[] textEncryptedBytesR = Base64.decode(textEncrypted, Base64.NO_WRAP);\n\t\tbyte[] textBytesDecrypted = cipher2.doFinal(textEncryptedBytesR);\n\n\t\treturn new String(textBytesDecrypted);\n\t}", "public static String caesar3decrypt(String x) {\n char y[]=x.toCharArray();\n for (int i = 0; i < x.length(); i++) {\n int asciivalue = (int) y[i];\n if ((asciivalue >= 68 && asciivalue <= 90) || (asciivalue >= 100 && asciivalue <= 122)) {\n y[i] = (char) (asciivalue - 3);\n } else if ((asciivalue >= 65 && asciivalue <= 67) || (asciivalue >= 97 && asciivalue <= 99)) {\n y[i] = (char) (asciivalue + 23);\n }\n }\n return (new String(y));\n }", "public String Decrypt(String Message, int PrimeNo, String EncoderKeyPath) throws IOException\r\n {\r\n Scanner sc = new Scanner(System.in);\r\n Key key1 = new Key();\r\n char[] msg=new char[Message.length()];\r\n int s, x;\r\n System.out.println(\"Enter Your Secret Key To Decode \");\r\n x=sc.nextInt();\r\n int key = key1.Skey(PrimeNo, x, EncoderKeyPath);\r\n char s1;\r\n int len=Message.length();\r\n int res=0;\r\n\tfor(int i=0;i<len;i++)\r\n\t{\r\n res=i%key;\r\n s=Message.charAt(i);\r\n s-=res;\r\n s1= (char) s;\r\n msg[i]=s1;\t\r\n\t}\r\n String msg1 = new String(msg);\r\n return msg1; \r\n }", "public String preprocessingDecryptToDisplay(String in);", "public static String decryptSentence(String sentence) {\n\t\tString[] wordsArr = sentence.toLowerCase().split(\" \");\n\t\tString retValue = \"\";\n\t\tfor(String word : wordsArr) {\n\t\t\tretValue += decriptWord(word)+\" \";\n\t\t}\n\t\treturn retValue.trim();\n\t}", "public static String decipher(String ciphertext, String key) {\n\t\treturn encipher(ciphertext, key, -1);\n\t}", "public static String decrypt(String word) {\n\t\tif(word==null || word.trim().length()<1){\n\t\t\treturn word;\n\t\t}\n\t\tint[] asciivals = new int[word.length()];\n\t\tchar[] orgchars = word.toCharArray();\n\t\t//convert to ascii val\n\t\tfor(int i=0;i<orgchars.length; i++){\n\t\t\tasciivals[i] = getASCII(orgchars[i]);\n\t\t}\n\t\t\n\t\t//subtract the value of previous element\n\t\tfor(int i=asciivals.length-1; i>0;i--){\n\t\t\tasciivals[i]-=asciivals[i-1];\n\t\t}\n\t\t//subtract 1 from the first char\n\t\tasciivals[0]-=1;\n\t\t//now keep on adding 26 until all values are in the range of a-z\n\t\tfor(int i=0;i<asciivals.length;i++){\n\t\t\twhile(asciivals[i]<getASCII('a')){\n\t\t\t\tasciivals[i]+=26;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//convert ascii vals to char\n\t\tfor(int i=0;i<asciivals.length; i++){\n\t\t\torgchars[i] = (char)asciivals[i];\n\t\t}\n\t\treturn String.valueOf(orgchars);\n\t}", "String decrypt(PBEncryptStorage pbeStorage, String password, byte[] salt);", "public String decrypt(String msg) {\n if (map == null) {\n getMapping();\n }\n\n // Find cipher match\n String ch = \"\";\n for (int j = 0; j < map.length; j++) {\n if ((map[j][0] + \"\").equals(msg)) {\n ch = (char)j + \"\";\n }\n }\n\n return ch;\n }", "public static String decryptCaesarShift(String s){\n String s1 = s.toUpperCase();\n \n /* Converting the string to a character sequence */\n char[] sequence = new char[s1.length()];\n for(int i = 0; i < sequence.length; i++){\n sequence[i] = s1.charAt(i);\n }\n \n for(int i = 0; i < sequence.length; i++){\n if(sequence[i] == ' ') continue;\n sequence[i] = (char)((sequence[i] - 65 - shift + 26)%26 + 65);\n }\n \n String result = \"\";\n for(int i = 0; i < sequence.length; i++){\n result = result + sequence[i];\n }\n \n return result;\n }", "public String decode (String string){\n try {\n byte[] tmp2 = Base64.decode(string,Base64.DEFAULT);\n str = new String(tmp2,\"UTF-8\");str = new String(tmp2,\"UTF-8\");\n } catch (Exception ex){ex.printStackTrace();}\n return str;\n }", "String decodeString();" ]
[ "0.8165151", "0.7868436", "0.7625907", "0.7578922", "0.7492116", "0.7395459", "0.73206574", "0.72994536", "0.72828937", "0.7267953", "0.7262258", "0.7146017", "0.71298254", "0.71132135", "0.71091956", "0.7047304", "0.6963928", "0.69499004", "0.69447213", "0.69370127", "0.6907303", "0.6821084", "0.68205446", "0.67903984", "0.67759603", "0.6761137", "0.6751281", "0.67282426", "0.6719192", "0.67136467", "0.67077446", "0.67065376", "0.6702464", "0.6702356", "0.6700572", "0.66931665", "0.6689649", "0.66736877", "0.6626572", "0.6601321", "0.6564822", "0.65626246", "0.656261", "0.6545211", "0.6527809", "0.65186864", "0.65044403", "0.65010065", "0.64899564", "0.64704514", "0.64574826", "0.64473", "0.6418822", "0.6414419", "0.6413575", "0.6413575", "0.6401572", "0.6380245", "0.63465977", "0.6324069", "0.6307783", "0.630539", "0.63007504", "0.6286311", "0.6276666", "0.62526613", "0.62390524", "0.6237146", "0.62201273", "0.6207902", "0.619662", "0.6195249", "0.6193566", "0.61933553", "0.61917984", "0.61705506", "0.616339", "0.6160221", "0.6155444", "0.6143412", "0.6125715", "0.6118985", "0.61156076", "0.6085615", "0.607879", "0.60714513", "0.6034572", "0.60287684", "0.6020536", "0.60108006", "0.60068876", "0.60051584", "0.59986174", "0.5997139", "0.5993725", "0.5990376", "0.5965689", "0.5956016", "0.5949658", "0.5946889" ]
0.7654389
2
Tests that a rescaled job graph will be recovered with the latest parallelism.
@Test void testRescaledJobGraphsWillBeRecoveredCorrectly(@TempDir Path tmpFolder) throws Exception { final Configuration configuration = new Configuration(); final JobVertex jobVertex = new JobVertex("operator"); jobVertex.setParallelism(1); jobVertex.setInvokableClass(BlockingNoOpInvokable.class); final JobGraph jobGraph = JobGraphTestUtils.streamingJobGraph(jobVertex); final JobID jobId = jobGraph.getJobID(); // We need to have a restart strategy set, to prevent the job from failing during the first // cluster shutdown when TM disconnects. configuration.set(RestartStrategyOptions.RESTART_STRATEGY, "fixed-delay"); configuration.set( RestartStrategyOptions.RESTART_STRATEGY_FIXED_DELAY_ATTEMPTS, Integer.MAX_VALUE); configuration.set( RestartStrategyOptions.RESTART_STRATEGY_FIXED_DELAY_DELAY, Duration.ofMillis(100)); // The test is only supposed to pass with AdaptiveScheduler enabled. configuration.set(JobManagerOptions.SCHEDULER, JobManagerOptions.SchedulerType.Adaptive); // High-Availability settings. configuration.set(HighAvailabilityOptions.HA_MODE, "zookeeper"); configuration.set( HighAvailabilityOptions.HA_ZOOKEEPER_QUORUM, ZOOKEEPER_EXTENSION.getCustomExtension().getConnectString()); configuration.set( HighAvailabilityOptions.HA_STORAGE_PATH, tmpFolder.toFile().getAbsolutePath()); final MiniClusterConfiguration miniClusterConfiguration = new MiniClusterConfiguration.Builder() .setConfiguration(configuration) .setNumSlotsPerTaskManager(2) .build(); final RestClusterClient<?> restClusterClient = new RestClusterClient<>(configuration, "foobar"); final MiniCluster miniCluster = new MiniCluster(miniClusterConfiguration); miniCluster.start(); assertThatFuture(restClusterClient.submitJob(jobGraph)).eventuallySucceeds(); ClientUtils.waitUntilJobInitializationFinished( () -> restClusterClient.getJobStatus(jobId).get(), () -> restClusterClient.requestJobResult(jobId).get(), getClass().getClassLoader()); assertThatFuture( restClusterClient.updateJobResourceRequirements( jobGraph.getJobID(), JobResourceRequirements.newBuilder() .setParallelismForJobVertex(jobVertex.getID(), 1, 2) .build())) .eventuallySucceeds(); assertThatFuture(miniCluster.closeAsyncWithoutCleaningHighAvailabilityData()) .eventuallySucceeds(); LOG.info("Start second mini cluster to recover the persisted job."); try (final MiniCluster recoveredMiniCluster = new MiniCluster(miniClusterConfiguration)) { recoveredMiniCluster.start(); UpdateJobResourceRequirementsITCase.waitForRunningTasks(restClusterClient, jobId, 2); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test(timeout = 60000)\n public void testVariableOnlyUnboundedIteration() throws Exception {\n JobGraph jobGraph = createVariableOnlyJobGraph(4, 1000, true, 0, false, 1, false, result);\n miniCluster.submitJob(jobGraph);\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n }", "@Test\n public void testGetNodesExecutionTime() throws Exception {\n HeterogeneousComputingEnv envTest = nestedDependency();\n\n ScheduleChromosome chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n StatsFactory statsFact = new StatsFactory(envTest, fitnessCalc);\n Stats stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(5, stat.getNodesExecutionTime()[0], EPSILON);\n assertEquals(3, stat.getNodesExecutionTime()[1], EPSILON);\n\n // Test case 2 - last 2 tasks in parallel\n envTest = oneRootTwoDepenendantTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(2, stat.getNodesExecutionTime()[0], EPSILON);\n assertEquals(3, stat.getNodesExecutionTime()[1], EPSILON);\n\n // Test case 4 - independent tasks\n envTest = independentTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(2, stat.getNodesExecutionTime()[0], EPSILON);\n assertEquals(1, stat.getNodesExecutionTime()[1], EPSILON);\n\n }", "public void testExplicitGcAnalsysisParallelSerialOld() {\n // TODO: Create File in platform independent way.\n File testFile = new File(\"src/test/data/dataset56.txt\");\n GcManager gcManager = new GcManager();\n File preprocessedFile = gcManager.preprocess(testFile, null);\n gcManager.store(preprocessedFile, false);\n JvmRun jvmRun = gcManager.getJvmRun(new Jvm(null, null), Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD);\n Assert.assertEquals(\"Event type count not correct.\", 2, jvmRun.getEventTypes().size());\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SCAVENGE.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SCAVENGE));\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SERIAL_OLD.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SERIAL_OLD));\n Assert.assertTrue(Analysis.WARN_EXPLICIT_GC_SERIAL_PARALLEL + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.WARN_EXPLICIT_GC_SERIAL_PARALLEL));\n Assert.assertTrue(Analysis.ERROR_SERIAL_GC_PARALLEL + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.ERROR_SERIAL_GC_PARALLEL));\n }", "public void rescale() throws Exception {\n subtaskHarness.initializeState(stateForSubtask);\n }", "@Issue(\"JENKINS-38536\")\n @Test\n public void testPartlyCompletedParallels() throws Exception {\n String jobScript = \"\"+\n \"echo 'first stage'\\n\" +\n \"parallel 'long' : { sleep 60; }, \\n\" + // Needs to be in-progress\n \" 'short': { sleep 2; }\"; // Needs to have completed, and SemaphoreStep alone doesn't cut it\n\n // This must be amateur science fiction because the exposition for the setting goes on FOREVER\n ForkScanner scan = new ForkScanner();\n TestVisitor tv = new TestVisitor();\n WorkflowJob job = r.jenkins.createProject(WorkflowJob.class, \"parallelTimes\");\n job.setDefinition(new CpsFlowDefinition(jobScript, true));\n WorkflowRun run = job.scheduleBuild2(0).getStartCondition().get();\n Thread.sleep(4000); // Allows enough time for the shorter branch to finish and write its BlockEndNode\n FlowExecution exec = run.getExecution();\n List<FlowNode> heads = exec.getCurrentHeads();\n scan.setup(heads);\n scan.visitSimpleChunks(tv, new NoOpChunkFinder());\n FlowNode endNode = exec.getNode(tv.filteredCallsByType(TestVisitor.CallType.PARALLEL_END).get(0).getNodeId().toString());\n Assert.assertEquals(\"sleep\", endNode.getDisplayFunctionName());\n sanityTestIterationAndVisiter(heads);\n run.doKill(); // Avoid waiting for long branch completion\n }", "@Test(timeout = 5000)\n public void graphTest_runtime() {\n int v=1000*50, e=v*6;\n graph g = graph_creator(v,e,1);\n // while(true) {;}\n }", "@Test\n\tpublic void testDisposeSavepointWithCustomKvState() throws Exception {\n\t\tDeadline deadline = new FiniteDuration(100, TimeUnit.SECONDS).fromNow();\n\n\t\tFile checkpointDir = FOLDER.newFolder();\n\t\tFile outputDir = FOLDER.newFolder();\n\n\t\tfinal PackagedProgram program = new PackagedProgram(\n\t\t\t\tnew File(CUSTOM_KV_STATE_JAR_PATH),\n\t\t\t\tnew String[] {\n\t\t\t\t\t\tString.valueOf(parallelism),\n\t\t\t\t\t\tcheckpointDir.toURI().toString(),\n\t\t\t\t\t\t\"5000\",\n\t\t\t\t\t\toutputDir.toURI().toString()\n\t\t\t\t});\n\n\t\tTestStreamEnvironment.setAsContext(\n\t\t\ttestCluster,\n\t\t\tparallelism,\n\t\t\tCollections.singleton(new Path(CUSTOM_KV_STATE_JAR_PATH)),\n\t\t\tCollections.<URL>emptyList()\n\t\t);\n\n\t\t// Execute detached\n\t\tThread invokeThread = new Thread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tprogram.invokeInteractiveModeForExecution();\n\t\t\t\t} catch (ProgramInvocationException ignored) {\n\t\t\t\t\tif (ignored.getCause() == null ||\n\t\t\t\t\t\t!(ignored.getCause() instanceof JobCancellationException)) {\n\t\t\t\t\t\tignored.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tLOG.info(\"Starting program invoke thread\");\n\t\tinvokeThread.start();\n\n\t\t// The job ID\n\t\tJobID jobId = null;\n\n\t\tActorGateway jm = testCluster.getLeaderGateway(deadline.timeLeft());\n\n\t\tLOG.info(\"Waiting for job status running.\");\n\n\t\t// Wait for running job\n\t\twhile (jobId == null && deadline.hasTimeLeft()) {\n\t\t\tFuture<Object> jobsFuture = jm.ask(JobManagerMessages.getRequestRunningJobsStatus(), deadline.timeLeft());\n\t\t\tRunningJobsStatus runningJobs = (RunningJobsStatus) Await.result(jobsFuture, deadline.timeLeft());\n\n\t\t\tfor (JobStatusMessage runningJob : runningJobs.getStatusMessages()) {\n\t\t\t\tjobId = runningJob.getJobId();\n\t\t\t\tLOG.info(\"Job running. ID: \" + jobId);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t// Retry if job is not available yet\n\t\t\tif (jobId == null) {\n\t\t\t\tThread.sleep(100L);\n\t\t\t}\n\t\t}\n\n\t\tLOG.info(\"Wait for all tasks to be running.\");\n\t\tFuture<Object> allRunning = jm.ask(new WaitForAllVerticesToBeRunning(jobId), deadline.timeLeft());\n\t\tAwait.ready(allRunning, deadline.timeLeft());\n\t\tLOG.info(\"All tasks are running.\");\n\n\t\t// Trigger savepoint\n\t\tString savepointPath = null;\n\t\tfor (int i = 0; i < 20; i++) {\n\t\t\tLOG.info(\"Triggering savepoint (\" + (i + 1) + \"/20).\");\n\t\t\tFuture<Object> savepointFuture = jm.ask(new TriggerSavepoint(jobId, Option.<String>empty()), deadline.timeLeft());\n\n\t\t\tObject savepointResponse = Await.result(savepointFuture, deadline.timeLeft());\n\n\t\t\tif (savepointResponse.getClass() == TriggerSavepointSuccess.class) {\n\t\t\t\tsavepointPath = ((TriggerSavepointSuccess) savepointResponse).savepointPath();\n\t\t\t\tLOG.info(\"Triggered savepoint. Path: \" + savepointPath);\n\t\t\t} else if (savepointResponse.getClass() == JobManagerMessages.TriggerSavepointFailure.class) {\n\t\t\t\tThrowable cause = ((JobManagerMessages.TriggerSavepointFailure) savepointResponse).cause();\n\t\t\t\tLOG.info(\"Failed to trigger savepoint. Retrying...\", cause);\n\t\t\t\t// This can fail if the operators are not opened yet\n\t\t\t\tThread.sleep(500);\n\t\t\t} else {\n\t\t\t\tthrow new IllegalStateException(\"Unexpected response to TriggerSavepoint\");\n\t\t\t}\n\t\t}\n\n\t\tassertNotNull(\"Failed to trigger savepoint\", savepointPath);\n\n\t\t// Dispose savepoint\n\t\tLOG.info(\"Disposing savepoint at \" + savepointPath);\n\t\tFuture<Object> disposeFuture = jm.ask(new DisposeSavepoint(savepointPath), deadline.timeLeft());\n\t\tObject disposeResponse = Await.result(disposeFuture, deadline.timeLeft());\n\n\t\tif (disposeResponse.getClass() == JobManagerMessages.getDisposeSavepointSuccess().getClass()) {\n\t\t\t// Success :-)\n\t\t\tLOG.info(\"Disposed savepoint at \" + savepointPath);\n\t\t} else if (disposeResponse instanceof DisposeSavepointFailure) {\n\t\t\tthrow new IllegalStateException(\"Failed to dispose savepoint \" + disposeResponse);\n\t\t} else {\n\t\t\tthrow new IllegalStateException(\"Unexpected response to DisposeSavepoint\");\n\t\t}\n\n\t\t// Cancel job, wait for success\n\t\tFuture<?> cancelFuture = jm.ask(new JobManagerMessages.CancelJob(jobId), deadline.timeLeft());\n\t\tObject response = Await.result(cancelFuture, deadline.timeLeft());\n\t\tassertTrue(\"Unexpected response: \" + response, response instanceof JobManagerMessages.CancellationSuccess);\n\n\t\t// make sure, the execution is finished to not influence other test methods\n\t\tinvokeThread.join(deadline.timeLeft().toMillis());\n\t\tassertFalse(\"Program invoke thread still running\", invokeThread.isAlive());\n\t}", "@Test(timeout = 60000)\n public void testVariableAndConstantsUnboundedIteration() throws Exception {\n JobGraph jobGraph = createVariableAndConstantJobGraph(4, 1000, true, 0, false, 1, result);\n miniCluster.submitJob(jobGraph);\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n }", "public void testSummaryStatsParallel() {\n File testFile = new File(\"src/test/data/dataset1.txt\");\n GcManager gcManager = new GcManager();\n gcManager.store(testFile, false);\n JvmRun jvmRun = gcManager.getJvmRun(new Jvm(null, null), Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD);\n Assert.assertEquals(\"Max young space not calculated correctly.\", 248192, jvmRun.getMaxYoungSpace());\n Assert.assertEquals(\"Max old space not calculated correctly.\", 786432, jvmRun.getMaxOldSpace());\n Assert.assertEquals(\"NewRatio not calculated correctly.\", 3, jvmRun.getNewRatio());\n Assert.assertEquals(\"Max heap space not calculated correctly.\", 1034624, jvmRun.getMaxHeapSpace());\n Assert.assertEquals(\"Max heap occupancy not calculated correctly.\", 1013058, jvmRun.getMaxHeapOccupancy());\n Assert.assertEquals(\"Max pause not calculated correctly.\", 2782, jvmRun.getMaxGcPause());\n Assert.assertEquals(\"Max perm gen space not calculated correctly.\", 159936, jvmRun.getMaxPermSpace());\n Assert.assertEquals(\"Max perm gen occupancy not calculated correctly.\", 76972, jvmRun.getMaxPermOccupancy());\n Assert.assertEquals(\"Total GC duration not calculated correctly.\", 5614, jvmRun.getTotalGcPause());\n Assert.assertEquals(\"GC Event count not correct.\", 2, jvmRun.getEventTypes().size());\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SCAVENGE.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SCAVENGE));\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SERIAL_OLD.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SERIAL_OLD));\n Assert.assertTrue(Analysis.WARN_APPLICATION_STOPPED_TIME_MISSING + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.WARN_APPLICATION_STOPPED_TIME_MISSING));\n Assert.assertTrue(Analysis.ERROR_SERIAL_GC_PARALLEL + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.ERROR_SERIAL_GC_PARALLEL));\n }", "@Test\n\tpublic void testPushBack()\n\t{\n\t\ttry {\t\t\n\t\t\tMySQLTargetAlgorithmEvaluator mySQLTAE = MySQLTargetAlgorithmEvaluatorFactory.getMySQLTargetAlgorithmEvaluator(mysqlConfig, MYSQL_POOL, BATCH_INSERT_SIZE, true, MYSQL_PERMANENT_RUN_PARTITION+1, false, priority)\t;\t\t\n\t\t\t\n\t\t\tMySQLPersistenceUtil.executeQueryForDebugPurposes(\"TRUNCATE TABLE \" + MySQLPersistenceUtil.getRunConfigTable(mySQLTAE),mySQLTAE);\n\t\t\t\n\t\t\tMySQLPersistenceUtil.executeQueryForDebugPurposes(\"TRUNCATE TABLE \" + MySQLPersistenceUtil.getWorkerTable(mySQLTAE),mySQLTAE);\n\t\t\t\n\t\t\t\n\t\t\tList<Process> processList = new ArrayList<>();\n\t\t\tfor(int i=0; i < 5; i++)\n\t\t\t{\n\t\t\t\tprocessList.add(setupWorker());\n\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\n\t\t\ttry \n\t\t\t{\t\n\t\t\t\tlong startTime = System.currentTimeMillis();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tList<AlgorithmRunResult> runs = mySQLTAE.evaluateRun(runConfigs,null);\n\t\t\t\t\n\t\t\t\tlong endTime = System.currentTimeMillis();\n\t\t\t\tassertTrue((endTime-startTime)<22000);\n\t\t\t} finally\n\t\t\t{\n\t\t\t\tfor(Process p : processList)\n\t\t\t\t{\n\t\t\t\t\tp.destroy();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\n\t\t} catch(RuntimeException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tthrow e;\n\t\t}\n\t\t\t\n\t}", "@Test\n\tpublic void testManagementGraph() {\n\n\t\tfinal ManagementGraph orig = constructTestManagementGraph();\n\t\tfinal ManagementGraph copy = (ManagementGraph) ManagementTestUtils.createCopy(orig);\n\n\t\tassertEquals(orig.getJobID(), copy.getJobID());\n\t\tassertEquals(orig.getNumberOfStages(), copy.getNumberOfStages());\n\n\t\tfor (int i = 0; i < orig.getNumberOfStages(); i++) {\n\n\t\t\tfinal ManagementStage origStage = orig.getStage(i);\n\t\t\tfinal ManagementStage copyStage = copy.getStage(i);\n\n\t\t\tassertEquals(origStage.getNumberOfGroupVertices(), copyStage.getNumberOfGroupVertices());\n\t\t\tassertEquals(origStage.getNumberOfInputGroupVertices(), copyStage.getNumberOfInputGroupVertices());\n\t\t\tassertEquals(origStage.getNumberOfOutputGroupVertices(), copyStage.getNumberOfOutputGroupVertices());\n\n\t\t\tfor (int j = 0; j < origStage.getNumberOfInputGroupVertices(); j++) {\n\n\t\t\t\tfinal ManagementGroupVertex origGroupVertex = origStage.getInputGroupVertex(j);\n\t\t\t\tfinal ManagementGroupVertex copyGroupVertex = copyStage.getInputGroupVertex(j);\n\n\t\t\t\tassertEquals(origGroupVertex.getID(), copyGroupVertex.getID());\n\t\t\t}\n\n\t\t\tfor (int j = 0; j < origStage.getNumberOfOutputGroupVertices(); j++) {\n\n\t\t\t\tfinal ManagementGroupVertex origGroupVertex = origStage.getOutputGroupVertex(j);\n\t\t\t\tfinal ManagementGroupVertex copyGroupVertex = copyStage.getOutputGroupVertex(j);\n\n\t\t\t\tassertEquals(origGroupVertex.getID(), copyGroupVertex.getID());\n\t\t\t}\n\n\t\t\tfor (int j = 0; j < origStage.getNumberOfGroupVertices(); j++) {\n\n\t\t\t\tfinal ManagementGroupVertex origGroupVertex = origStage.getGroupVertex(j);\n\t\t\t\tfinal ManagementGroupVertex copyGroupVertex = copyStage.getGroupVertex(j);\n\n\t\t\t\ttestGroupVertex(origGroupVertex, copyGroupVertex);\n\t\t\t}\n\t\t}\n\t}", "@Test\n public void testWhenDecreasingReplication() throws Exception {\n Configuration conf = new HdfsConfiguration();\n conf.setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, 1000L);\n conf.set(DFSConfigKeys.DFS_NAMENODE_RECONSTRUCTION_PENDING_TIMEOUT_SEC_KEY, Integer.toString(2));\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).numDataNodes(3).build();\n FileSystem fs = cluster.getFileSystem();\n final FSNamesystem namesystem = cluster.getNamesystem();\n\n try {\n final Path fileName = new Path(\"/foo1\");\n DFSTestUtil.createFile(fs, fileName, 2, (short) 3, 0L);\n DFSTestUtil.waitReplication(fs, fileName, (short) 3);\n\n ExtendedBlock block = DFSTestUtil.getFirstBlock(fs, fileName);\n corruptBlock(cluster, fs, fileName, 0, block);\n\n DFSTestUtil.waitReplication(fs, fileName, (short) 2);\n\n assertEquals(2, countReplicas(namesystem, block).liveReplicas());\n assertEquals(1, countReplicas(namesystem, block).corruptReplicas());\n\n namesystem.setReplication(fileName.toString(), (short) 2);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(2, countReplicas(namesystem, block).liveReplicas());\n assertEquals(0, countReplicas(namesystem, block).corruptReplicas());\n\n } finally {\n cluster.shutdown();\n }\n }", "@Test\n void testRestartWithPds(@WorkDirectory Path workDir) throws Exception {\n var node = new Node(workDir);\n\n Map<String, Serializable> data = Map.of(\"foo\", \"bar\");\n\n try {\n node.start();\n\n assertThat(node.cfgStorage.write(data, 0), willBe(equalTo(true)));\n }\n finally {\n node.stop();\n }\n\n var node2 = new Node(workDir);\n\n try {\n node2.start();\n\n Data storageData = node2.cfgStorage.readAll();\n\n assertThat(storageData.values(), equalTo(data));\n }\n finally {\n node2.stop();\n }\n }", "@Test\n public void testGetTotalTime() throws Exception {\n HeterogeneousComputingEnv envTest = nestedDependency();\n\n ScheduleChromosome chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n StatsFactory statsFact = new StatsFactory(envTest, fitnessCalc);\n Stats stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(5, stat.getTotalTime(), EPSILON);\n\n // Test case 2 - last 2 tasks in parallel\n envTest = oneRootTwoDepenendantTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(3, stat.getTotalTime(), EPSILON);\n\n // Test case 3 - chained tasks in same processor\n envTest = chaindedDependency();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(3, stat.getTotalTime(), EPSILON);\n\n // Test case 4 - independent tasks\n envTest = independentTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(2, stat.getTotalTime(), EPSILON);\n\n }", "@Test\n public void testThreadPoolMetrics() throws Exception {\n\n sm.submitBackgroundOperation(new BarrierRunnable());\n sm.submitBackgroundOperation(new BarrierRunnable());\n sm.submitBackgroundOperation(new BarrierRunnable());\n sm.submitBackgroundOperation(new BarrierRunnable());\n\n String json = metrics.dumpJson();\n\n MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.GAUGE, MetricsConstant.EXEC_ASYNC_POOL_SIZE, 2);\n MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.GAUGE, MetricsConstant.EXEC_ASYNC_QUEUE_SIZE, 2);\n\n synchronized (barrier) {\n barrier.notifyAll();\n }\n json = metrics.dumpJson();\n MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.GAUGE, MetricsConstant.EXEC_ASYNC_POOL_SIZE, 2);\n MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.GAUGE, MetricsConstant.EXEC_ASYNC_QUEUE_SIZE, 0);\n }", "@Test\n public void testScaleUpEphemeral() throws Exception {\n Atomix atomix1 = startAtomix(1, Arrays.asList(2), Profile.dataGrid()).get(30, TimeUnit.SECONDS);\n Atomix atomix2 = startAtomix(2, Arrays.asList(1), Profile.dataGrid()).get(30, TimeUnit.SECONDS);\n Atomix atomix3 = startAtomix(3, Arrays.asList(1), Profile.dataGrid()).get(30, TimeUnit.SECONDS);\n }", "@Test(timeout = 4000)\n public void test044() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(11);\n try { \n evaluation0.evaluationForSingleInstance((Classifier) null, (Instance) binarySparseInstance0, false);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "@Test(timeout = 4000)\n public void test091() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(11);\n IBk iBk0 = new IBk();\n try { \n evaluation0.evaluationForSingleInstance((Classifier) iBk0, (Instance) binarySparseInstance0, true);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "@Test(timeout = 60000)\n public void testVariableOnlyBoundedIteration() throws Exception {\n JobGraph jobGraph = createVariableOnlyJobGraph(4, 1000, false, 0, false, 1, false, result);\n miniCluster.executeJobBlocking(jobGraph);\n\n assertEquals(8001, result.get().size());\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n assertEquals(OutputRecord.Event.TERMINATED, result.get().take().getEvent());\n }", "@Test\n public void testScaleUpPersistent() throws Exception {\n Atomix atomix1 = startAtomix(1, Arrays.asList(1), ConsensusProfile.builder().withMembers(\"1\").withDataPath(new File(AbstractAtomixTest.DATA_DIR, \"scale-up\")).build()).get(30, TimeUnit.SECONDS);\n Atomix atomix2 = startAtomix(2, Arrays.asList(1, 2), Profile.client()).get(30, TimeUnit.SECONDS);\n Atomix atomix3 = startAtomix(3, Arrays.asList(1, 2, 3), Profile.client()).get(30, TimeUnit.SECONDS);\n }", "@Test\n public void testParallelJobsToAdjacentPaths() throws Throwable {\n\n describe(\"Run two jobs in parallel, assert they both complete\");\n JobData jobData = startJob(true);\n Job job1 = jobData.job;\n ManifestCommitter committer1 = jobData.committer;\n JobContext jContext1 = jobData.jContext;\n TaskAttemptContext tContext1 = jobData.tContext;\n\n // now build up a second job\n String jobId2 = randomJobId();\n String attempt20 = \"attempt_\" + jobId2 + \"_m_000000_0\";\n TaskAttemptID taskAttempt20 = TaskAttemptID.forName(attempt20);\n String attempt21 = \"attempt_\" + jobId2 + \"_m_000001_0\";\n TaskAttemptID taskAttempt21 = TaskAttemptID.forName(attempt21);\n\n Path job1Dest = outputDir;\n Path job2Dest = new Path(getOutputDir().getParent(),\n getMethodName() + \"job2Dest\");\n // little safety check\n Assertions.assertThat(job2Dest)\n .describedAs(\"Job destinations\")\n .isNotEqualTo(job1Dest);\n\n // create the second job\n Job job2 = newJob(job2Dest,\n unsetUUIDOptions(new JobConf(getConfiguration())),\n attempt20);\n Configuration conf2 = job2.getConfiguration();\n conf2.setInt(MRJobConfig.APPLICATION_ATTEMPT_ID, 1);\n ManifestCommitter committer2 = null;\n try {\n JobContext jContext2 = new JobContextImpl(conf2,\n taskAttempt20.getJobID());\n TaskAttemptContext tContext2 =\n new TaskAttemptContextImpl(conf2, taskAttempt20);\n committer2 = createCommitter(job2Dest, tContext2);\n JobData jobData2 = new JobData(job2, jContext2, tContext2, committer2);\n setupJob(jobData2);\n abortInTeardown(jobData2);\n // make sure the directories are different\n Assertions.assertThat(committer1.getOutputPath())\n .describedAs(\"Committer output path of %s and %s\", committer1, committer2)\n .isNotEqualTo(committer2.getOutputPath());\n // and job IDs\n Assertions.assertThat(committer1.getJobUniqueId())\n .describedAs(\"JobUnique IDs of %s and %s\", committer1, committer2)\n .isNotEqualTo(committer2.getJobUniqueId());\n\n // job2 setup, write some data there\n writeTextOutput(tContext2);\n\n // at this point, job1 and job2 both have uncommitted tasks\n\n // commit tasks in order task 2, task 1.\n commitTask(committer2, tContext2);\n commitTask(committer1, tContext1);\n\n // commit jobs in order job 1, job 2\n commitJob(committer1, jContext1);\n\n getPart0000(job1Dest);\n\n commitJob(committer2, jContext2);\n getPart0000(job2Dest);\n\n } finally {\n // clean things up in test failures.\n FileSystem fs = getFileSystem();\n if (committer1 != null) {\n fs.delete(committer1.getOutputPath(), true);\n }\n if (committer2 != null) {\n fs.delete(committer2.getOutputPath(), true);\n }\n }\n\n }", "@Test\n @Issue(\"JENKINS-41685\")\n public void testParallelsWithDuplicateEvents() throws Exception {\n //https://gist.github.com/vivek/ccf3a4ef25fbff267c76c962d265041d\n WorkflowJob job = r.jenkins.createProject(WorkflowJob.class, \"ParallelInsanity\");\n job.setDefinition(new CpsFlowDefinition(\"\" +\n \"echo 'first stage'\\n\" +\n \"parallel left : {\\n\" +\n \" echo 'run a bit'\\n\" +\n \" echo 'run a bit more'\\n\" +\n \" semaphore 'wait1'\\n\" +\n \"}, right : {\\n\" +\n \" echo 'wozzle'\\n\" +\n \" semaphore 'wait2'\\n\" +\n \"}\\n\" +\n \"echo 'last stage'\\n\" +\n \"echo \\\"last done\\\"\\n\",\n true));\n ForkScanner scan = new ForkScanner();\n ChunkFinder labelFinder = new NoOpChunkFinder();\n WorkflowRun run = job.scheduleBuild2(0).getStartCondition().get();\n SemaphoreStep.waitForStart(\"wait1/1\", run);\n SemaphoreStep.waitForStart(\"wait2/1\", run);\n\n TestVisitor test = new TestVisitor();\n List<FlowNode> heads = run.getExecution().getCurrentHeads();\n scan.setup(heads);\n scan.visitSimpleChunks(test, labelFinder);\n\n SemaphoreStep.success(\"wait1\"+\"/1\", null);\n SemaphoreStep.success(\"wait2\"+\"/1\", null);\n r.waitForCompletion(run);\n\n int atomEventCount = 0;\n int parallelBranchEndCount = 0;\n int parallelStartCount = 0;\n for (TestVisitor.CallEntry ce : test.calls) {\n switch (ce.type) {\n case ATOM_NODE:\n atomEventCount++;\n break;\n case PARALLEL_BRANCH_END:\n parallelBranchEndCount++;\n break;\n case PARALLEL_START:\n parallelStartCount++;\n break;\n default:\n break;\n }\n }\n\n sanityTestIterationAndVisiter(heads);\n Assert.assertEquals(10, atomEventCount);\n Assert.assertEquals(1, parallelStartCount);\n Assert.assertEquals(2, parallelBranchEndCount);\n }", "@Test\n public void testScaleDownPersistent() throws Exception {\n List<CompletableFuture<Atomix>> futures = new ArrayList<>();\n futures.add(startAtomix(1, Arrays.asList(1, 2, 3), Profile.dataGrid()));\n futures.add(startAtomix(2, Arrays.asList(1, 2, 3), Profile.dataGrid()));\n futures.add(startAtomix(3, Arrays.asList(1, 2, 3), Profile.dataGrid()));\n Futures.allOf(futures).get(30, TimeUnit.SECONDS);\n AtomixTest.TestClusterMembershipEventListener eventListener1 = new AtomixTest.TestClusterMembershipEventListener();\n instances.get(0).getMembershipService().addListener(eventListener1);\n AtomixTest.TestClusterMembershipEventListener eventListener2 = new AtomixTest.TestClusterMembershipEventListener();\n instances.get(1).getMembershipService().addListener(eventListener2);\n AtomixTest.TestClusterMembershipEventListener eventListener3 = new AtomixTest.TestClusterMembershipEventListener();\n instances.get(2).getMembershipService().addListener(eventListener3);\n instances.get(0).stop().get(30, TimeUnit.SECONDS);\n Assert.assertEquals(REACHABILITY_CHANGED, eventListener2.event().type());\n Assert.assertEquals(MEMBER_REMOVED, eventListener2.event().type());\n Assert.assertEquals(2, instances.get(1).getMembershipService().getMembers().size());\n Assert.assertEquals(REACHABILITY_CHANGED, eventListener3.event().type());\n Assert.assertEquals(MEMBER_REMOVED, eventListener3.event().type());\n Assert.assertEquals(2, instances.get(2).getMembershipService().getMembers().size());\n instances.get(1).stop().get(30, TimeUnit.SECONDS);\n Assert.assertEquals(REACHABILITY_CHANGED, eventListener3.event().type());\n Assert.assertEquals(MEMBER_REMOVED, eventListener3.event().type());\n Assert.assertEquals(1, instances.get(2).getMembershipService().getMembers().size());\n instances.get(2).stop().get(30, TimeUnit.SECONDS);\n }", "@Test\n public void testGetFitness() throws Exception {\n HeterogeneousComputingEnv envTest = nestedDependency();\n\n ScheduleChromosome chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n StatsFactory statsFact = new StatsFactory(envTest, fitnessCalc);\n Stats stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(stat.getTotalTime(), stat.getFitness(chromosomeTest), EPSILON);\n\n // Test case 2 - last 2 tasks in parallel\n envTest = oneRootTwoDepenendantTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(stat.getTotalTime(), stat.getFitness(chromosomeTest), EPSILON);\n\n // Test case 3 - chained tasks in same processor\n envTest = chaindedDependency();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(stat.getTotalTime(), stat.getFitness(chromosomeTest), EPSILON);\n\n // Test case 4 - independent tasks\n envTest = independentTasks();\n\n chromosomeTest = new ScheduleChromosome(envTest);\n\n // Guarantee that task 0 and 2 are in the same core and 1 in the other\n chromosomeTest.toSeq().get(0).mutate(ScheduleAllele.of(envTest, 0, 0));\n chromosomeTest.toSeq().get(1).mutate(ScheduleAllele.of(envTest, 1, 1));\n chromosomeTest.toSeq().get(2).mutate(ScheduleAllele.of(envTest, 2, 0));\n\n // Create the factory\n statsFact = new StatsFactory(envTest, fitnessCalc);\n stat = statsFact.ofChromosome(chromosomeTest);\n\n assertEquals(stat.getTotalTime(), stat.getFitness(chromosomeTest), EPSILON);\n }", "@Test\n public void testJobOverviewHandler() throws Exception {\n // this only works if there is no active job at this point\n assertTrue(getRunningJobs(CLUSTER.getClusterClient()).isEmpty());\n\n // Create a task\n final JobVertex sender = new JobVertex(\"Sender\");\n sender.setParallelism(2);\n sender.setInvokableClass(BlockingInvokable.class);\n\n final JobGraph jobGraph = JobGraphTestUtils.streamingJobGraph(sender);\n\n ClusterClient<?> clusterClient = CLUSTER.getClusterClient();\n clusterClient.submitJob(jobGraph).get();\n\n // wait for job to show up\n while (getRunningJobs(CLUSTER.getClusterClient()).isEmpty()) {\n Thread.sleep(10);\n }\n\n // wait for tasks to be properly running\n BlockingInvokable.latch.await();\n\n final Duration testTimeout = Duration.ofMinutes(2);\n\n String json =\n TestBaseUtils.getFromHTTP(\"http://localhost:\" + getRestPort() + \"/jobs/overview\");\n\n ObjectMapper mapper = new ObjectMapper();\n JsonNode parsed = mapper.readTree(json);\n ArrayNode jsonJobs = (ArrayNode) parsed.get(\"jobs\");\n assertEquals(1, jsonJobs.size());\n assertThat(\"Duration must be positive\", jsonJobs.get(0).get(\"duration\").asInt() > 0);\n\n clusterClient.cancel(jobGraph.getJobID()).get();\n\n // ensure cancellation is finished\n while (!getRunningJobs(CLUSTER.getClusterClient()).isEmpty()) {\n Thread.sleep(20);\n }\n\n BlockingInvokable.reset();\n }", "@Test\n public void testLast3DayAll() {\n long t1 = new DateTime(\"2020-10-10T10:10:00\").getMillis();\n long t2 = new DateTime(\"2020-10-11T10:10:00\").getMillis();\n long t3 = new DateTime(\"2020-10-12T10:10:00\").getMillis();\n long t4 = new DateTime(\"2020-10-13T10:10:00\").getMillis();\n long taskAId1 = taskService.createTaskByJobId(jobAId, t1, t1, TaskType.SCHEDULE);\n long taskAId2 = taskService.createTaskByJobId(jobAId, t2, t2, TaskType.SCHEDULE);\n long taskAId3 = taskService.createTaskByJobId(jobAId, t3, t3, TaskType.SCHEDULE);\n long taskBId1 = taskService.createTaskByJobId(jobBId, t1, t1, TaskType.SCHEDULE);\n long taskBId2 = taskService.createTaskByJobId(jobBId, t2, t2, TaskType.SCHEDULE);\n long taskBId3 = taskService.createTaskByJobId(jobBId, t3, t3, TaskType.SCHEDULE);\n\n DAGDependChecker checker = new DAGDependChecker(jobCId);\n Map<Long, JobDependStatus> jobDependMap = Maps.newHashMap();\n DependencyExpression dependencyExpression = new TimeOffsetExpression(\"d(3)\");\n DependencyStrategyExpression dependencyStrategy = new DefaultDependencyStrategyExpression(CommonStrategy.ALL.getExpression());\n JobDependStatus statusC2A = new JobDependStatus(jobCId, jobAId, dependencyExpression, dependencyStrategy);\n JobDependStatus statusC2B = new JobDependStatus(jobCId, jobBId, dependencyExpression, dependencyStrategy);\n jobDependMap.put(jobAId, statusC2A);\n jobDependMap.put(jobBId, statusC2B);\n checker.setJobDependMap(jobDependMap);\n\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n\n taskService.updateStatus(taskAId1, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n taskService.updateStatus(taskAId2, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n taskService.updateStatus(taskAId3, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n\n taskService.updateStatus(taskBId1, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n taskService.updateStatus(taskBId2, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n taskService.updateStatus(taskBId3, TaskStatus.SUCCESS);\n Assert.assertEquals(true, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), t4));\n\n taskService.deleteTaskAndRelation(taskAId1);\n taskService.deleteTaskAndRelation(taskAId2);\n taskService.deleteTaskAndRelation(taskAId3);\n taskService.deleteTaskAndRelation(taskBId1);\n taskService.deleteTaskAndRelation(taskBId2);\n taskService.deleteTaskAndRelation(taskBId3);\n }", "@Test\n public void testSplitRoomReservationReportJob() throws Exception {\n Job allocJob = new AllocationScraperJob();\n allocJob.setStatus( JobStatus.completed );\n dao.insertJob( allocJob );\n\n // setup a job to find all bookings spanning different rooms\n Job j = new SplitRoomReservationReportJob();\n j.setStatus( JobStatus.submitted );\n j.setParameter( \"allocation_scraper_job_id\", String.valueOf( allocJob.getId() ) );\n int jobId = dao.insertJob( j );\n\n // this should now run the job\n processorService.processJobs();\n\n // verify that the job completed successfully\n Job jobVerify = dao.fetchJobById( jobId );\n Assert.assertEquals( JobStatus.completed, jobVerify.getStatus() );\n }", "@Test\n public void shouldNotDrainTheQueueWhenReloading() throws Exception {\n Project.NameKey targetProject = createTestProject(project + \"replica\");\n String remoteName = \"doNotDrainQueue\";\n setReplicationDestination(remoteName, \"replica\", ALL_PROJECTS);\n\n Result pushResult = createChange();\n shutdownDestinations();\n\n pushResult.getCommit();\n String sourceRef = pushResult.getPatchSet().refName();\n\n assertThrows(\n InterruptedException.class,\n () -> {\n try (Repository repo = repoManager.openRepository(targetProject)) {\n waitUntil(() -> checkedGetRef(repo, sourceRef) != null);\n }\n });\n }", "@Test\n public void testTrain_RegressionDataSet_ExecutorService() {\n System.out.println(\"train\");\n RegressionDataSet trainSet = FixedProblems.getSimpleRegression1(150, new Random(2));\n RegressionDataSet testSet = FixedProblems.getSimpleRegression1(50, new Random(3));\n\n for (boolean modification1 : new boolean[] { true, false })\n for (SupportVectorLearner.CacheMode cacheMode : SupportVectorLearner.CacheMode.values()) {\n PlattSMO smo = new PlattSMO(new RBFKernel(0.5));\n smo.setCacheMode(cacheMode);\n smo.setC(1);\n smo.setEpsilon(0.1);\n smo.setModificationOne(modification1);\n smo.train(trainSet, true);\n\n double errors = 0;\n for (int i = 0; i < testSet.size(); i++)\n errors += Math.pow(testSet.getTargetValue(i) - smo.regress(testSet.getDataPoint(i)), 2);\n assertTrue(errors / testSet.size() < 1);\n }\n }", "@Test(timeout = 4000)\n public void test107() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n Evaluation evaluation0 = null;\n try {\n evaluation0 = new Evaluation(instances0, costMatrix0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Throwable e) {\n //\n // Cost matrix not compatible with data!\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "@Test\n public void shouldOptimizeVisualizationOfThePipelineDependencyGraph() {\n\n String acceptance = \"acceptance\";\n String plugins = \"plugins\";\n String gitPlugins = \"git-plugins\";\n String cruise = \"cruise\";\n String gitTrunk = \"git-trunk\";\n String hgTrunk = \"hg-trunk\";\n String deployGo03 = \"deploy-go03\";\n String deployGo02 = \"deploy-go02\";\n String deployGo01 = \"deploy-go01\";\n String publish = \"publish\";\n\n ValueStreamMap graph = new ValueStreamMap(acceptance, null);\n graph.addUpstreamNode(new PipelineDependencyNode(plugins, plugins), null, acceptance);\n graph.addUpstreamNode(new PipelineDependencyNode(gitPlugins, gitPlugins), null, plugins);\n graph.addUpstreamNode(new PipelineDependencyNode(cruise, cruise), null, plugins);\n graph.addUpstreamMaterialNode(new SCMDependencyNode(gitTrunk, gitTrunk, \"git\"), null, cruise, new MaterialRevision(null));\n graph.addUpstreamMaterialNode(new SCMDependencyNode(hgTrunk, hgTrunk, \"hg\"), null, cruise, new MaterialRevision(null));\n graph.addUpstreamNode(new PipelineDependencyNode(cruise, cruise), null, acceptance);\n graph.addUpstreamMaterialNode(new SCMDependencyNode(hgTrunk, hgTrunk, \"hg\"), null, acceptance, new MaterialRevision(null));\n\n graph.addDownstreamNode(new PipelineDependencyNode(deployGo03, deployGo03), acceptance);\n graph.addDownstreamNode(new PipelineDependencyNode(publish, publish), deployGo03);\n graph.addDownstreamNode(new PipelineDependencyNode(deployGo01, deployGo01), publish);\n graph.addDownstreamNode(new PipelineDependencyNode(deployGo02, deployGo02), acceptance);\n graph.addDownstreamNode(new PipelineDependencyNode(deployGo01, deployGo01), deployGo02);\n\n List<List<Node>> nodesAtEachLevel = graph.presentationModel().getNodesAtEachLevel();\n\n assertThat(nodesAtEachLevel.size(), is(7));\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(0), 0, gitTrunk, hgTrunk);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(1), 1, gitPlugins, cruise);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(2), 2, plugins);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(3), 0, acceptance);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(4), 0, deployGo03, deployGo02);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(5), 1, publish);\n VSMTestHelper.assertThatLevelHasNodes(nodesAtEachLevel.get(6), 0, deployGo01);\n\n MatcherAssert.assertThat(graph.findNode(gitTrunk).getDepth(), is(2));\n MatcherAssert.assertThat(graph.findNode(hgTrunk).getDepth(), is(3));\n MatcherAssert.assertThat(graph.findNode(gitPlugins).getDepth(), is(1));\n MatcherAssert.assertThat(graph.findNode(cruise).getDepth(), is(2));\n MatcherAssert.assertThat(graph.findNode(deployGo03).getDepth(), is(1));\n MatcherAssert.assertThat(graph.findNode(deployGo02).getDepth(), is(2));\n MatcherAssert.assertThat(graph.findNode(publish).getDepth(), is(1));\n MatcherAssert.assertThat(graph.findNode(deployGo01).getDepth(), is(1));\n }", "@Test\n public void testStaleness() throws Exception {\n final String tmpLocation = \"/multilevel/parquet\";\n test(\"ALTER SESSION SET `planner.slice_target` = 1\");\n test(\"ALTER SESSION SET `store.format` = 'parquet'\");\n try {\n test(\"CREATE TABLE dfs.tmp.parquetStale AS SELECT o_orderkey, o_custkey, o_orderstatus, \" +\n \"o_totalprice, o_orderdate, o_orderpriority, o_clerk, o_shippriority, o_comment from dfs.`%s`\", tmpLocation);\n verifyAnalyzeOutput(\"ANALYZE TABLE dfs.tmp.parquetStale COMPUTE STATISTICS\", \"9\");\n verifyAnalyzeOutput(\"ANALYZE TABLE dfs.tmp.parquetStale COMPUTE STATISTICS\",\n \"Table parquetStale has not changed since last ANALYZE!\");\n // Verify we recompute statistics once a new file/directory is added. Update the directory some\n // time after ANALYZE so that the timestamps are different.\n Thread.sleep(1000);\n final String Q4 = \"/multilevel/parquet/1996/Q4\";\n test(\"CREATE TABLE dfs.tmp.`parquetStale/1996/Q5` AS SELECT o_orderkey, o_custkey, o_orderstatus, \" +\n \"o_totalprice, o_orderdate, o_orderpriority, o_clerk, o_shippriority, o_comment from dfs.`%s`\", Q4);\n verifyAnalyzeOutput(\"ANALYZE TABLE dfs.tmp.parquetStale COMPUTE STATISTICS\", \"9\");\n Thread.sleep(1000);\n test(\"DROP TABLE dfs.tmp.`parquetStale/1996/Q5`\");\n verifyAnalyzeOutput(\"ANALYZE TABLE dfs.tmp.parquetStale COMPUTE STATISTICS\", \"9\");\n } finally {\n resetSessionOption(\"planner.slice_target\");\n resetSessionOption(\"store.format\");\n }\n }", "private void checkCacheEnableStatus(FlowGraph graph, JobMySqlModel lastJob) {\n\n // Based on the time when the task was created,\n // nodes that have been edited after this time cannot use the cache.\n long lastJobCreateTime = lastJob.getCreatedTime().getTime();\n\n // Temporarily mark all nodes as cache available\n graph.getAllJobSteps().forEach(x -> x.setHasCacheResult(true));\n\n // Find the nodes whose version number is greater than the base time.\n // These nodes have been edited after the task is created, and the cache cannot be used.\n graph\n .getAllJobSteps()\n .stream()\n .filter(x -> x.getParamsVersion() >= lastJobCreateTime)\n .forEach(x -> x.setHasCacheResult(false));\n\n\n // Check whether the cache of the task corresponding to the node is available.\n // If the task status is incorrect, the cache is not available.\n // A node may correspond to multiple tasks\n List<TaskMySqlModel> taskMysqlList = taskService.listByJobId(lastJob.getJobId(), lastJob.getMyRole());\n Map<String, List<TaskMySqlModel>> taskMap = new HashMap<>();\n for (TaskMySqlModel model : taskMysqlList) {\n List<TaskMySqlModel> taskList = taskMap.get(model.getFlowNodeId());\n if (taskList == null) {\n taskList = new ArrayList<>();\n }\n taskList.add(model);\n taskMap.put(model.getFlowNodeId(), taskList);\n }\n\n graph.getAllJobSteps().stream().filter(x -> x.getHasCacheResult()).filter(x -> {\n List<TaskMySqlModel> taskList = taskMap.get(x.getNodeId());\n if (taskList == null) {\n return true;\n } else {\n for (TaskMySqlModel m : taskList) {\n if (m.getStatus() != TaskStatus.success) {\n return true;\n }\n }\n }\n return false;\n }).forEach(x -> x.setHasCacheResult(false));\n }", "@Test(timeout = 4000)\n public void test058() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance(1752);\n double[] doubleArray0 = new double[9];\n try { \n evaluation0.evaluateModelOnce(doubleArray0, (Instance) binarySparseInstance0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "@Test\n public void testTripleParallel() throws Exception {\n WorkflowJob job = r.jenkins.createProject(WorkflowJob.class, \"TripleParallel\");\n job.setDefinition(new CpsFlowDefinition(\n \"echo 'test stage'\\n\"+ // Id 3, Id 2 before that has the FlowStartNode\n \"parallel 'unit':{\\n\" + // Id 4 starts parallel, Id 7 is the block start for the unit branch\n \" echo \\\"Unit testing...\\\"\\n\" + // Id 10\n \"},'integration':{\\n\" + // Id 11 is unit branch end, Id 8 is the branch start for integration branch\n \" echo \\\"Integration testing...\\\"\\n\" + // Id 12\n \"}, 'ui':{\\n\" + // Id 13 in integration branch end, Id 9 is branch start for UI branch\n \" echo \\\"UI testing...\\\"\\n\" + // Id 14\n \"}\", // Node 15 is UI branch end node, Node 16 is Parallel End node, Node 17 is FlowEndNode\n true));\n WorkflowRun b = r.assertBuildStatusSuccess(job.scheduleBuild2(0));\n FlowExecution exec = b.getExecution();\n ForkScanner f = new ForkScanner();\n List<FlowNode> heads = exec.getCurrentHeads();\n f.setup(heads);\n TestVisitor visitor = new TestVisitor();\n f.visitSimpleChunks(visitor, new BlockChunkFinder());\n sanityTestIterationAndVisiter(heads);\n\n List<TestVisitor.CallEntry> parallels = visitor.calls.stream()\n .filter(\n predicateForCallEntryType(TestVisitor.CallType.PARALLEL_BRANCH_START)\n .or(\n predicateForCallEntryType(TestVisitor.CallType.PARALLEL_BRANCH_END)))\n .collect(Collectors.toList());\n Assert.assertEquals(6, parallels.size());\n\n // Visiting from partially completed branches\n // Verify we still get appropriate parallels callbacks for a branch end\n // even if in-progress and no explicit end node\n ArrayList<FlowNode> ends = new ArrayList<>();\n ends.add(exec.getNode(\"11\"));\n ends.add(exec.getNode(\"12\"));\n ends.add(exec.getNode(\"14\"));\n Assert.assertEquals(new DepthFirstScanner().allNodes(ends).size(),\n new ForkScanner().allNodes(ends).size());\n visitor = new TestVisitor();\n f.setup(ends);\n f.visitSimpleChunks(visitor, new BlockChunkFinder());\n sanityTestIterationAndVisiter(ends);\n\n // Specifically test parallel structures\n parallels = visitor.calls.stream()\n .filter(\n predicateForCallEntryType(TestVisitor.CallType.PARALLEL_BRANCH_START)\n .or(\n predicateForCallEntryType(TestVisitor.CallType.PARALLEL_BRANCH_END)))\n .collect(Collectors.toList());\n Assert.assertEquals(6, parallels.size());\n Assert.assertEquals(18, visitor.calls.size());\n\n // Test the least common ancestor implementation with triplicate\n FlowNode[] branchHeads = {exec.getNode(\"7\"), exec.getNode(\"8\"), exec.getNode(\"9\")};\n ArrayDeque<ForkScanner.ParallelBlockStart> starts = f.leastCommonAncestor(new HashSet<>(Arrays.asList(branchHeads)));\n Assert.assertEquals(1, starts.size());\n ForkScanner.ParallelBlockStart pbs = starts.pop();\n Assert.assertEquals(exec.getNode(\"4\"), pbs.forkStart);\n Assert.assertEquals(3, pbs.unvisited.size());\n Assert.assertTrue(pbs.unvisited.contains(exec.getNode(\"7\")));\n Assert.assertTrue(pbs.unvisited.contains(exec.getNode(\"8\")));\n Assert.assertTrue(pbs.unvisited.contains(exec.getNode(\"9\")));\n }", "@Test\n public void testCanReadKeepForever() throws Exception {\n final Builds builds = new TestJenkins().jobs().findByName(\n \"test-different-builds-job\"\n ).next().builds();\n MatcherAssert.assertThat(\n builds.findByNumber(\"#1\").next().details().keptForever(),\n new IsEqual<>(true)\n );\n MatcherAssert.assertThat(\n builds.findByNumber(\"#2\").next().details().keptForever(),\n new IsEqual<>(false)\n );\n }", "@Test\n public void testIndexRebuildCountPartitionsLeftInCluster() throws Exception {\n pds = true;\n\n Ignite ignite = startGrid(0);\n\n startGrid(1);\n\n ignite.cluster().state(ClusterState.ACTIVE);\n\n IgniteCache<Object, Object> cache1 = ignite.cache(CACHE_NAME);\n\n for (int i = 0; i < 100_000; i++) {\n Long id = (long)i;\n\n BinaryObjectBuilder o = ignite.binary().builder(OBJECT_NAME)\n .setField(KEY_NAME, id)\n .setField(COLUMN1_NAME, i / 2)\n .setField(COLUMN2_NAME, \"str\" + Integer.toHexString(i));\n\n cache1.put(id, o.build());\n }\n\n String consistentId = ignite.cluster().localNode().consistentId().toString();\n\n stopGrid(0);\n\n File dir = U.resolveWorkDirectory(U.defaultWorkDirectory(), DFLT_STORE_DIR, false);\n\n IOFileFilter filter = FileFilterUtils.nameFileFilter(\"index.bin\");\n\n Collection<File> idxBinFiles = FileUtils.listFiles(dir, filter, TrueFileFilter.TRUE);\n\n for (File indexBin : idxBinFiles)\n if (indexBin.getAbsolutePath().contains(consistentId))\n U.delete(indexBin);\n\n startGrid(0);\n\n MetricRegistry metrics = cacheGroupMetrics(0, GROUP_NAME);\n\n LongMetric idxBuildCntPartitionsLeft = metrics.findMetric(\"IndexBuildCountPartitionsLeft\");\n\n assertTrue(\"Timeout wait start rebuild index\",\n waitForCondition(() -> idxBuildCntPartitionsLeft.value() > 0, 30_000));\n\n assertTrue(\"Timeout wait finished rebuild index\",\n GridTestUtils.waitForCondition(() -> idxBuildCntPartitionsLeft.value() == 0, 30_000));\n }", "@Test\n\tvoid testCost() {\n\t\tint nbCores = 16;\n\t\tlong duration = 2000;\n\t\tDate requestDate = new Date(\"01/01/2000\");\n\t\tJob j1 = new Job(nbCores,requestDate,duration,mediumQ);//16 cores less than 1h\n\t\tJob j2 = new Job(nbCores*2,requestDate,duration,mediumQ);//32 cores less than 1h\n\t\tJob j3 = new Job(nbCores*2+1,requestDate,duration,mediumQ);//33 cores less than 1h\n\t\tJob j4 = new Job(nbCores,requestDate,duration*2,mediumQ);//16 cores more than 1h\n\t\tJob j5 = new Job(nbCores*2+1,requestDate,duration*2,mediumQ);//33 cores more than 1h\n\t\tassertEquals(j1.getCost(),0.05f);\n\t\tassertEquals(j2.getCost(),0.05f);\n\t\tassertEquals(j3.getCost(),0.1f);\n\t\tassertEquals(j4.getCost(),0.1f);\n\t\tassertEquals(j5.getCost(),0.2f);\n\t}", "@Test\n @Category(SlowTest.class)\n public void testLoadRNASeqData() throws Exception {\n try {\n geoService.setGeoDomainObjectGenerator( new GeoDomainObjectGenerator() );\n Collection<?> results = geoService.fetchAndLoad( \"GSE19166\", false, false, false );\n ee = ( ExpressionExperiment ) results.iterator().next();\n } catch ( AlreadyExistsInSystemException e ) {\n ee = ( ( Collection<ExpressionExperiment> ) e.getData() ).iterator().next();\n assumeNoException( \"Need to remove this data set before test is run\", e );\n }\n\n ee = experimentService.thaw( ee );\n\n // Load the data from a text file.\n DoubleMatrixReader reader = new DoubleMatrixReader();\n DoubleMatrix<String, String> countMatrix;\n DoubleMatrix<String, String> rpkmMatrix;\n try ( InputStream countData = this.getClass()\n .getResourceAsStream( \"/data/loader/expression/flatfileload/GSE19166_expression_count.test.txt\" );\n\n InputStream rpkmData = this.getClass().getResourceAsStream(\n \"/data/loader/expression/flatfileload/GSE19166_expression_RPKM.test.txt\" ) ) {\n countMatrix = reader.read( countData );\n rpkmMatrix = reader.read( rpkmData );\n }\n\n List<String> probeNames = countMatrix.getRowNames();\n\n assertEquals( 199, probeNames.size() );\n\n // we have to find the right generic platform to use.\n targetArrayDesign = this\n .getTestPersistentArrayDesign( probeNames, taxonService.findByCommonName( \"human\" ) );\n targetArrayDesign = arrayDesignService.thaw( targetArrayDesign );\n\n assertEquals( 199, targetArrayDesign.getCompositeSequences().size() );\n\n // Main step.\n dataUpdater.addCountData( ee, targetArrayDesign, countMatrix, rpkmMatrix, 36, true, false );\n ee = experimentService.loadOrFail( ee.getId() );\n ee = experimentService.thaw( ee );\n\n // should have: log2cpm, counts, rpkm, and counts-masked ('preferred')\n assertEquals( 4, ee.getQuantitationTypes().size() );\n\n for ( BioAssay ba : ee.getBioAssays() ) {\n assertEquals( targetArrayDesign, ba.getArrayDesignUsed() );\n }\n\n assertNotNull( ee.getNumberOfDataVectors() );\n assertEquals( 199, ee.getNumberOfDataVectors().intValue() );\n\n // GSM475204 GSM475205 GSM475206 GSM475207 GSM475208 GSM475209\n // 3949585 3929008 3712314 3693219 3574068 3579631\n\n ExpressionDataDoubleMatrix mat = dataMatrixService.getProcessedExpressionDataMatrix( ee );\n assertNotNull( mat );\n assertEquals( 199, mat.rows() );\n\n TestUtils.assertBAs( ee, targetArrayDesign, \"GSM475204\", 3949585 );\n\n assertEquals( 3 * 199, ee.getRawExpressionDataVectors().size() );\n\n assertEquals( 199, ee.getProcessedExpressionDataVectors().size() );\n\n for ( ProcessedExpressionDataVector v : ee.getProcessedExpressionDataVectors() ) {\n assertNotNull( \"Vector rank was not populated (max)\", v.getRankByMax() );\n assertNotNull( \"Vector rank was not populated (mean)\", v.getRankByMean() );\n }\n\n Collection<DoubleVectorValueObject> processedDataArrays = dataVectorService.getProcessedDataArrays( ee );\n assertEquals( 199, processedDataArrays.size() );\n\n for ( DoubleVectorValueObject v : processedDataArrays ) {\n assertEquals( 6, v.getBioAssays().size() );\n\n }\n ExpressionExperiment ee2 = experimentService.load( ee.getId() );\n assertNotNull( ee2 );\n assertFalse( dataVectorService.getProcessedDataVectors( ee2 ).isEmpty() );\n\n // Call it again to test that we don't leak QTs\n dataUpdater.addCountData( ee, targetArrayDesign, countMatrix, rpkmMatrix, 36, true, false );\n ee = experimentService.load( ee.getId() );\n assertNotNull( ee );\n ee = this.experimentService.thawLite( ee );\n assertEquals( 6, ee.getQuantitationTypes().size() );\n\n }", "@Test\n public void testRoundRobinMasters()\n throws Exception {\n\n RepEnvInfo[] repEnvInfo = null;\n Logger logger = LoggerUtils.getLoggerFixedPrefix(getClass(), \"Test\");\n\n try {\n /* Create a replicator for each environment directory. */\n EnvironmentConfig envConfig =\n RepTestUtils.createEnvConfig\n (new Durability(Durability.SyncPolicy.WRITE_NO_SYNC,\n Durability.SyncPolicy.WRITE_NO_SYNC,\n Durability.ReplicaAckPolicy.SIMPLE_MAJORITY));\n envConfig.setConfigParam\n (EnvironmentConfig.LOG_FILE_MAX,\n EnvironmentParams.LOG_FILE_MAX.getDefault());\n\n // TODO: Is this needed now that hard recovery works?\n LocalCBVLSNUpdater.setSuppressGroupDBUpdates(true);\n envConfig.setConfigParam(\"je.env.runCleaner\", \"false\");\n\n repEnvInfo =\n RepTestUtils.setupEnvInfos(envRoot, nNodes, envConfig);\n\n /* Increase the ack timeout, to deal with slow test machines. */\n RepTestUtils.setConfigParam(RepParams.REPLICA_ACK_TIMEOUT, \"30 s\",\n repEnvInfo);\n\n /* Start all members of the group. */\n ReplicatedEnvironment master = RepTestUtils.joinGroup(repEnvInfo);\n assert(master != null);\n\n /* Do work */\n int startVal = 1;\n doWork(master, startVal);\n\n VLSN commitVLSN =\n RepTestUtils.syncGroupToLastCommit(repEnvInfo,\n repEnvInfo.length);\n RepTestUtils.checkNodeEquality(commitVLSN, verbose , repEnvInfo);\n\n logger.fine(\"--> All nodes in sync\");\n\n /*\n * Round robin through the group, letting each one have a turn\n * as the master.\n */\n for (int i = 0; i < nNodes; i++) {\n /*\n * Shut just under a quorum of the nodes. Let the remaining\n * nodes vote, and then do some work. Then bring\n * the rest of the group back in a staggered fashion. Check for\n * consistency among the entire group.\n */\n logger.fine(\"--> Shutting down, oldMaster=\" +\n master.getNodeName());\n int activeNodes =\n shutdownAllButQuorum(logger,\n repEnvInfo,\n RepInternal.getNodeId(master));\n\n master = RepTestUtils.openRepEnvsJoin(repEnvInfo);\n\n assertNotNull(master);\n logger.fine(\"--> New master = \" + master.getNodeName());\n\n startVal += 5;\n\n /*\n * This test is very timing dependent, so\n * InsufficientReplicasException is allowed.\n */\n int retries = 5;\n for (int retry = 0;; retry++) {\n try{\n doWork(master, startVal);\n break;\n } catch (InsufficientReplicasException e) {\n if (retry >= retries) {\n throw e;\n }\n }\n }\n\n /* Re-open the closed nodes and have them re-join the group. */\n logger.fine(\"--> Before closed nodes rejoin\");\n ReplicatedEnvironment newMaster =\n RepTestUtils.joinGroup(repEnvInfo);\n\n assertEquals(\"Round \" + i +\n \" expected master to stay unchanged. \",\n master.getNodeName(),\n newMaster.getNodeName());\n VLSN vlsn =\n RepTestUtils.syncGroupToLastCommit(repEnvInfo,\n activeNodes);\n RepTestUtils.checkNodeEquality(vlsn, verbose, repEnvInfo);\n }\n } catch (Throwable e) {\n e.printStackTrace();\n throw e;\n } finally {\n RepTestUtils.shutdownRepEnvs(repEnvInfo);\n }\n }", "@Test\n\tpublic void HeapExtractMaximumtestSamePriorities() {\n\t\t Job jarray[]=new Job[5];\n\t\t jarray[0]=new Job(\"job1\",20,1);\n\t\t jarray[1]=new Job(\"job2\",20,2);\n\t\t jarray[2]=new Job(\"job3\",20,3);\n\t\t jarray[3]=new Job(\"job4\",20,4);\n\t\t jarray[4]=new Job(\"job5\",20,5);\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}", "@Test\n public void testReplicaMapAfterDatanodeRestart() throws Exception {\n Configuration conf = new HdfsConfiguration();\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf, new File(GenericTestUtils.getRandomizedTempPath())).nnTopology(MiniDFSNNTopology.simpleFederatedTopology(2)).build();\n try {\n cluster.waitActive();\n NameNode nn1 = cluster.getNameNode(0);\n NameNode nn2 = cluster.getNameNode(1);\n Assert.assertNotNull(\"cannot create nn1\", nn1);\n Assert.assertNotNull(\"cannot create nn2\", nn2);\n // check number of volumes in fsdataset\n DataNode dn = cluster.getDataNodes().get(0);\n FsDatasetImpl dataSet = ((FsDatasetImpl) (DataNodeTestUtils.getFSDataset(dn)));\n List<FsVolumeSpi> volumes = null;\n try (FsDatasetSpi.FsVolumeReferences referredVols = dataSet.getFsVolumeReferences()) {\n // number of volumes should be 2 - [data1, data2]\n Assert.assertEquals(\"number of volumes is wrong\", 2, referredVols.size());\n volumes = new ArrayList(referredVols.size());\n for (FsVolumeSpi vol : referredVols) {\n volumes.add(vol);\n }\n }\n ArrayList<String> bpList = new ArrayList(Arrays.asList(cluster.getNamesystem(0).getBlockPoolId(), cluster.getNamesystem(1).getBlockPoolId()));\n Assert.assertTrue(\"Cluster should have 2 block pools\", ((bpList.size()) == 2));\n createReplicas(bpList, volumes, cluster.getFsDatasetTestUtils(dn));\n ReplicaMap oldReplicaMap = new ReplicaMap(new AutoCloseableLock());\n oldReplicaMap.addAll(dataSet.volumeMap);\n cluster.restartDataNode(0);\n cluster.waitActive();\n dn = cluster.getDataNodes().get(0);\n dataSet = ((FsDatasetImpl) (dn.getFSDataset()));\n testEqualityOfReplicaMap(oldReplicaMap, dataSet.volumeMap, bpList);\n } finally {\n cluster.shutdown();\n }\n }", "public void testLateDeliveryAfterGCTriggeredOnReplica() throws Exception {\n ThreadPool.terminate(this.threadPool, 10, TimeUnit.SECONDS);\n this.threadPool = new TestThreadPool(\n getClass().getName(),\n Settings.builder().put(threadPoolSettings()).put(ThreadPool.ESTIMATED_TIME_INTERVAL_SETTING.getKey(), 0).build()\n );\n\n try (ReplicationGroup shards = createGroup(1)) {\n shards.startAll();\n final IndexShard primary = shards.getPrimary();\n final IndexShard replica = shards.getReplicas().get(0);\n final TimeValue gcInterval = TimeValue.timeValueMillis(between(1, 10));\n // I think we can just set this to something very small (10ms?) and also set ThreadPool#ESTIMATED_TIME_INTERVAL_SETTING to 0?\n\n updateGCDeleteCycle(replica, gcInterval);\n final BulkShardRequest indexRequest = indexOnPrimary(\n new IndexRequest(index.getName()).id(\"d1\").source(\"{}\", MediaTypeRegistry.JSON),\n primary\n );\n final BulkShardRequest deleteRequest = deleteOnPrimary(new DeleteRequest(index.getName()).id(\"d1\"), primary);\n deleteOnReplica(deleteRequest, shards, replica); // delete arrives on replica first.\n final long deleteTimestamp = threadPool.relativeTimeInMillis();\n replica.refresh(\"test\");\n assertBusy(() -> assertThat(threadPool.relativeTimeInMillis() - deleteTimestamp, greaterThan(gcInterval.millis())));\n getEngine(replica).maybePruneDeletes();\n indexOnReplica(indexRequest, shards, replica); // index arrives on replica lately.\n shards.assertAllEqual(0);\n }\n }", "@Issue(\"JENKINS-38536\")\n @Test\n public void testParallelCorrectEndNodeForVisitor() throws Exception {\n // Verify that SimpleBlockVisitor actually gets the *real* last node not just the last declared branch\n WorkflowJob jobPauseFirst = r.jenkins.createProject(WorkflowJob.class, \"PauseFirst\");\n jobPauseFirst.setDefinition(new CpsFlowDefinition(\"\" +\n \"echo 'primero stage'\\n\" +\n \"parallel 'wait' : {sleep 1; semaphore 'wait1';}, \\n\" +\n \" 'final': { echo 'succeed';} \",\n true));\n\n WorkflowJob jobPauseSecond = r.jenkins.createProject(WorkflowJob.class, \"PauseSecond\");\n jobPauseSecond.setDefinition(new CpsFlowDefinition(\"\" +\n \"echo 'primero stage'\\n\" +\n \"parallel 'success' : {echo 'succeed'}, \\n\" +\n \" 'pause':{ sleep 1; semaphore 'wait2'; }\\n\",\n true));\n\n WorkflowJob jobPauseMiddle = r.jenkins.createProject(WorkflowJob.class, \"PauseMiddle\");\n jobPauseMiddle.setDefinition(new CpsFlowDefinition(\"\" +\n \"echo 'primero stage'\\n\" +\n \"parallel 'success' : {echo 'succeed'}, \\n\" +\n \" 'pause':{ sleep 1; semaphore 'wait3'; }, \\n\" +\n \" 'final': { echo 'succeed-final';} \",\n true));\n testParallelFindsLast(jobPauseFirst, \"wait1\");\n testParallelFindsLast(jobPauseSecond, \"wait2\");\n testParallelFindsLast(jobPauseMiddle, \"wait3\");\n }", "@Test(timeout=20000)\n public void testWithReplicationFactorAsOne() throws Exception {\n Configuration conf = new HdfsConfiguration();\n conf.setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, 1000L);\n conf.set(DFSConfigKeys.DFS_NAMENODE_RECONSTRUCTION_PENDING_TIMEOUT_SEC_KEY, Integer.toString(2));\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).numDataNodes(2).build();\n FileSystem fs = cluster.getFileSystem();\n final FSNamesystem namesystem = cluster.getNamesystem();\n\n try {\n final Path fileName = new Path(\"/foo1\");\n DFSTestUtil.createFile(fs, fileName, 2, (short) 2, 0L);\n DFSTestUtil.waitReplication(fs, fileName, (short) 2);\n\n ExtendedBlock block = DFSTestUtil.getFirstBlock(fs, fileName);\n corruptBlock(cluster, fs, fileName, 0, block);\n\n DFSTestUtil.waitReplication(fs, fileName, (short) 1);\n\n assertEquals(1, countReplicas(namesystem, block).liveReplicas());\n assertEquals(1, countReplicas(namesystem, block).corruptReplicas());\n\n namesystem.setReplication(fileName.toString(), (short) 1);\n\n // wait for 3 seconds so that all block reports are processed.\n for (int i = 0; i < 10; i++) {\n try {\n Thread.sleep(1000);\n } catch (InterruptedException ignored) {\n }\n if (countReplicas(namesystem, block).corruptReplicas() == 0) {\n break;\n }\n }\n\n assertEquals(1, countReplicas(namesystem, block).liveReplicas());\n assertEquals(0, countReplicas(namesystem, block).corruptReplicas());\n\n } finally {\n cluster.shutdown();\n }\n }", "@Test\n public void testIndexRebuildCountPartitionsLeft() throws Exception {\n pds = true;\n\n Ignite ignite = startGrid(0);\n\n ignite.cluster().state(ClusterState.ACTIVE);\n\n IgniteCache<Object, Object> cache1 = ignite.cache(CACHE_NAME);\n\n for (int i = 0; i < 100_000; i++) {\n Long id = (long)i;\n\n BinaryObjectBuilder o = ignite.binary().builder(OBJECT_NAME)\n .setField(KEY_NAME, id)\n .setField(COLUMN1_NAME, i / 2)\n .setField(COLUMN2_NAME, \"str\" + Integer.toHexString(i));\n\n cache1.put(id, o.build());\n }\n\n ignite.cluster().state(ClusterState.INACTIVE);\n\n File dir = U.resolveWorkDirectory(U.defaultWorkDirectory(), DFLT_STORE_DIR, false);\n\n IOFileFilter filter = FileFilterUtils.nameFileFilter(\"index.bin\");\n\n Collection<File> idxBinFiles = FileUtils.listFiles(dir, filter, TrueFileFilter.TRUE);\n\n for (File indexBin : idxBinFiles)\n U.delete(indexBin);\n\n ignite.cluster().state(ClusterState.ACTIVE);\n\n MetricRegistry metrics = cacheGroupMetrics(0, GROUP_NAME);\n\n LongMetric idxBuildCntPartitionsLeft = metrics.findMetric(\"IndexBuildCountPartitionsLeft\");\n\n assertTrue(\"Timeout wait start rebuild index\",\n waitForCondition(() -> idxBuildCntPartitionsLeft.value() > 0, 30_000));\n\n assertTrue(\"Timeout wait finished rebuild index\",\n GridTestUtils.waitForCondition(() -> idxBuildCntPartitionsLeft.value() == 0, 30_000));\n }", "public static void main(String[] args) throws ParallelException {\r\n\t\tif (args.length < 2) {\r\n\t\t\tSystem.err.println(\"usage: java -cp <classpath> <graphfile> <k> \"+\r\n\t\t\t\t \"[numinitnodes] [numiterations] \"+\r\n\t\t\t\t \"[do_local_search] [num_dls_threads] \"+\r\n\t\t\t\t \"[max_allowed_time_millis] [use_N2RXP_4_DLS]\");\r\n\t\t\tSystem.exit(-1);\r\n\t\t}\r\n try {\r\n long st = System.currentTimeMillis();\r\n Graph g = DataMgr.readGraphFromFile2(args[0]);\r\n\t\t\tint k = Integer.parseInt(args[1]);\r\n double best = 0;\r\n boolean do_local_search = false;\r\n\t\t\tboolean use_N2RXP_4_ls = false;\r\n int num_threads = 1;\r\n\t\t\tlong max_time_ms = Long.MAX_VALUE; // indicates the max allowed time to run (in millis)\r\n GRASPPacker p = new GRASPPacker(g,k);\r\n Set init=null;\r\n int num_iters = 1;\r\n if (args.length>2) {\r\n int numinit = 0;\r\n try {\r\n numinit = Integer.parseInt(args[2]);\r\n if (numinit<0) numinit=0; // ignore wrong option value and continue\r\n }\r\n catch (ClassCastException e) {\r\n e.printStackTrace(); // ignore wrong option value and continue\r\n }\r\n Graph gp = p._g;\r\n int gsz = gp.getNumNodes();\r\n init = k==2 ? new TreeSet(new NodeComparator2()) : new TreeSet(new NodeComparator4());\r\n\t\t\t\tRandom rnd = RndUtil.getInstance().getRandom();\r\n for (int i=0; i<numinit; i++) {\r\n int nid = rnd.nextInt(gsz);\r\n Node n = gp.getNodeUnsynchronized(nid);\r\n init.add(n);\r\n }\r\n if (args.length>3) {\r\n try {\r\n num_iters = Integer.parseInt(args[3]);\r\n if (num_iters<0) num_iters = 0;\r\n }\r\n catch (ClassCastException e) {\r\n e.printStackTrace(); // ignore wrong option value and continue\r\n }\r\n if (args.length>4) {\r\n do_local_search = \"true\".equals(args[4]);\r\n if (args.length>5) {\r\n try {\r\n num_threads = Integer.parseInt(args[5]);\r\n\t\t\t\t\t\t\t\tif (args.length>6) {\r\n\t\t\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t\t\tmax_time_ms = Long.parseLong(args[6]);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tcatch (Exception e) {\r\n\t\t\t\t\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif (args.length>7)\r\n\t\t\t\t\t\t\t\t\t\tuse_N2RXP_4_ls = \"true\".equals(args[7]);\r\n\t\t\t\t\t\t\t\t}\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace(); // ignore wrong option and continue\r\n }\r\n }\r\n }\r\n }\r\n }\r\n Set best_found = null;\r\n\t\t\tif (max_time_ms<0) // -1 or any negative value indicates +Inf\r\n\t\t\t\tmax_time_ms = Long.MAX_VALUE;\r\n\t\t\tboolean cont = true;\r\n\t\t\tTimerThread t = new TimerThread(max_time_ms, cont);\r\n\t\t\tt.start();\r\n for (int i=0; i<num_iters && t.doContinue(); i++) {\r\n\t\t\t\tSystem.err.println(\"GRASPPacker: starting iteration \"+i);\r\n Set s = p.pack(init); // Set<Node>\r\n if (do_local_search) {\r\n // convert s to Set<Integer>\r\n Set nodeids = new IntSet();\r\n Iterator iter = s.iterator();\r\n while (iter.hasNext()) {\r\n Node n = (Node) iter.next();\r\n Integer nid = new Integer(n.getId());\r\n nodeids.add(nid);\r\n }\r\n // now do the local search\r\n DLS dls = new DLS();\r\n AllChromosomeMakerIntf movesmaker;\r\n\t\t\t\t\tif (use_N2RXP_4_ls) movesmaker = new IntSetN2RXPGraphAllMovesMaker(k);\r\n\t\t\t\t\telse movesmaker = new IntSetN1RXPFirstImprovingGraphAllMovesMakerMT(k);\r\n IntSetNeighborhoodFilterIntf filter = new GRASPPackerIntSetNbrhoodFilter2(k);\r\n //FunctionIntf f = k==2 ? new SetSizeEvalFunction() : new SetWeightEvalFunction(g);\r\n FunctionIntf f;\r\n if (k==2) f = new SetSizeEvalFunction();\r\n else f = new SetWeightEvalFunction(g);\r\n HashMap dlsparams = new HashMap();\r\n dlsparams.put(\"dls.movesmaker\",movesmaker);\r\n dlsparams.put(\"dls.x0\", nodeids);\r\n dlsparams.put(\"dls.numthreads\", new Integer(num_threads));\r\n dlsparams.put(\"dls.maxiters\", new Integer(10)); // itc: HERE rm asap\r\n dlsparams.put(\"dls.graph\", g);\r\n dlsparams.put(\"dls.intsetneighborhoodfilter\", filter);\r\n //dlsparams.put(\"dls.createsetsperlevellimit\", new Integer(100));\r\n dls.setParams(dlsparams);\r\n PairObjDouble pod = dls.minimize(f);\r\n Set sn = (Set) pod.getArg();\r\n if (sn!=null) {\r\n s.clear();\r\n Iterator sniter = sn.iterator();\r\n while (sniter.hasNext()) {\r\n Integer id = (Integer) sniter.next();\r\n Node n = g.getNode(id.intValue());\r\n s.add(n);\r\n }\r\n }\r\n }\r\n int iter_best = s.size();\r\n double iter_w_best = 0.0;\r\n Iterator it = s.iterator();\r\n while (it.hasNext()) {\r\n Node n = (Node) it.next();\r\n Double nwD = n.getWeightValueUnsynchronized(\"value\"); // used to be n.getWeightValue(\"value\");\r\n double nw = nwD==null ? 1.0 : nwD.doubleValue();\r\n iter_w_best += nw;\r\n }\r\n System.err.println(\"GRASPPacker.main(): iter: \"+i+\": soln size found=\"+iter_best+\" soln weight=\"+iter_w_best);\r\n if (iter_w_best > best) {\r\n best_found = s;\r\n best = iter_w_best;\r\n }\r\n }\r\n long tot = System.currentTimeMillis()-st;\r\n System.out.println(\"Final Best soln found=\"+best+\" total time=\"+tot+\" (msecs)\");\r\n if (p.isFeasible(best_found)) {\r\n System.out.println(\"feasible soln: \"+printNodes(best_found));\r\n }\r\n else System.err.println(\"infeasible soln\");\r\n // write solution to file\r\n PrintWriter pw = new PrintWriter(new FileWriter(\"sol.out\"));\r\n pw.println(best);\r\n Iterator it = best_found.iterator();\r\n while (it.hasNext()) {\r\n Node n = (Node) it.next();\r\n pw.println((n.getId()+1));\r\n }\r\n pw.flush();\r\n pw.close();\r\n }\r\n catch (Exception e) {\r\n e.printStackTrace();\r\n System.exit(-1);\r\n }\r\n }", "@Test\n public void shouldRunJob() {\n new DatasetChallenge(\"file:///tmp/yelp_academic_dataset_business.json.gz\").run(spark);\n }", "@Test\n public void testMultiJCPCalls() throws Exception {\n \n Topology topology = newTopology(\"testMultiJCPCalls\");\n \n for (int i = 0 ; i < 10; i++)\n topology.addJobControlPlane();\n \n submitAndCheckJCPIsThere(topology); \n }", "@Test\n public void testPersistentPR_Restart_one_server_while_clean_queue() throws InterruptedException {\n Integer lnPort = vm0.invoke(() -> WANTestBase.createFirstLocatorWithDSId(1));\n // create locator on remote site\n Integer nyPort = vm1.invoke(() -> WANTestBase.createFirstRemoteLocator(2, lnPort));\n\n // create cache in remote site\n createCacheInVMs(nyPort, vm2, vm3);\n\n // create cache in local site\n createCacheInVMs(lnPort, vm4, vm5, vm6, vm7);\n\n // create senders with disk store\n String diskStore1 = vm4.invoke(() -> WANTestBase.createSenderWithDiskStore(\"ln\", 2,\n true, 100, 10, false, true, null, null, true));\n String diskStore2 = vm5.invoke(() -> WANTestBase.createSenderWithDiskStore(\"ln\", 2,\n true, 100, 10, false, true, null, null, true));\n String diskStore3 = vm6.invoke(() -> WANTestBase.createSenderWithDiskStore(\"ln\", 2,\n true, 100, 10, false, true, null, null, true));\n String diskStore4 = vm7.invoke(() -> WANTestBase.createSenderWithDiskStore(\"ln\", 2,\n true, 100, 10, false, true, null, null, true));\n\n logger\n .info(\"The DS are: \" + diskStore1 + \",\" + diskStore2 + \",\" + diskStore3 + \",\" + diskStore4);\n\n // create PR on remote site\n vm2.invoke(\n () -> WANTestBase.createPartitionedRegion(getTestMethodName(), null, 1, 100, isOffHeap()));\n vm3.invoke(\n () -> WANTestBase.createPartitionedRegion(getTestMethodName(), null, 1, 100, isOffHeap()));\n\n // create PR on local site\n vm4.invoke(createPartitionedRegionRunnable());\n vm5.invoke(createPartitionedRegionRunnable());\n vm6.invoke(createPartitionedRegionRunnable());\n vm7.invoke(createPartitionedRegionRunnable());\n\n\n // start the senders on local site\n startSenderInVMs(\"ln\", vm4, vm5, vm6, vm7);\n\n // wait for senders to become running\n vm4.invoke(waitForSenderRunnable());\n vm5.invoke(waitForSenderRunnable());\n vm6.invoke(waitForSenderRunnable());\n vm7.invoke(waitForSenderRunnable());\n\n logger.info(\"All senders are running.\");\n\n // start puts in region on local site\n vm4.invoke(() -> WANTestBase.doPuts(getTestMethodName(), 3000));\n logger.info(\"Completed puts in the region\");\n\n\n vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n vm3.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n logger.info(\"Check that no events are propagated to remote site\");\n\n vm7.invoke(killSenderRunnable());\n\n logger.info(\"Killed vm7 sender.\");\n // --------------------close and rebuild local site\n // -------------------------------------------------\n // stop the senders\n\n vm4.invoke(() -> WANTestBase.stopSender(\"ln\"));\n vm5.invoke(() -> WANTestBase.stopSender(\"ln\"));\n vm6.invoke(() -> WANTestBase.stopSender(\"ln\"));\n\n logger.info(\"Stopped all the senders.\");\n\n // wait for senders to stop\n vm4.invoke(waitForSenderNonRunnable());\n vm5.invoke(waitForSenderNonRunnable());\n vm6.invoke(waitForSenderNonRunnable());\n\n // create receiver on remote site\n createReceiverInVMs(vm2, vm3);\n\n vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n vm3.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n\n logger.info(\"Start all the senders.\");\n\n AsyncInvocation<Void> startSenderwithCleanQueuesInVM4 =\n vm4.invokeAsync(() -> startSenderwithCleanQueues(\"ln\"));\n\n AsyncInvocation<Void> startSenderwithCleanQueuesInVM5 =\n vm5.invokeAsync(() -> startSenderwithCleanQueues(\"ln\"));\n AsyncInvocation<Void> startSenderwithCleanQueuesInVM6 =\n vm6.invokeAsync(() -> startSenderwithCleanQueues(\"ln\"));\n\n\n startSenderwithCleanQueuesInVM4.await();\n startSenderwithCleanQueuesInVM5.await();\n startSenderwithCleanQueuesInVM6.await();\n\n logger.info(\"Waiting for senders running.\");\n // wait for senders running\n vm4.invoke(waitForSenderRunnable());\n vm5.invoke(waitForSenderRunnable());\n vm6.invoke(waitForSenderRunnable());\n\n logger.info(\"All the senders are now running...\");\n\n // restart the vm\n vm7.invoke(\"Create back the cache\", () -> createCache(lnPort));\n\n // create senders with disk store\n vm7.invoke(\"Create sender back from the disk store.\",\n () -> WANTestBase.createSenderWithDiskStore(\"ln\", 2, true, 100, 10, false, true,\n null, diskStore4, false));\n\n // create PR on local site\n vm7.invoke(\"Create back the partitioned region\",\n () -> WANTestBase.createPartitionedRegion(getTestMethodName(), \"ln\", 1,\n 100, isOffHeap()));\n\n // wait for senders running\n // ----------------------------------------------------------------------------------------------------\n\n vm2.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n vm3.invoke(() -> WANTestBase.validateRegionSize(getTestMethodName(), 0));\n\n }", "@Test\n public void test4(){\n System.out.println(Runtime.getRuntime().availableProcessors());\n }", "@Test\n public void testCurrentDayAll1() {\n long t1 = new DateTime(\"2015-10-10T10:10:00\").getMillis();\n long taskAId = taskService.createTaskByJobId(jobAId, t1, t1, TaskType.SCHEDULE);\n long taskBId = taskService.createTaskByJobId(jobBId, t1, t1, TaskType.SCHEDULE);\n\n DAGDependChecker checker = new DAGDependChecker(jobCId);\n Map<Long, JobDependStatus> jobDependMap = Maps.newHashMap();\n DependencyExpression dependencyExpression = new TimeOffsetExpression(\"cd\");\n DependencyStrategyExpression dependencyStrategy = new DefaultDependencyStrategyExpression(CommonStrategy.ALL.getExpression());\n JobDependStatus statusC2A = new JobDependStatus(jobCId, jobAId, dependencyExpression, dependencyStrategy);\n JobDependStatus statusC2B = new JobDependStatus(jobCId, jobBId, dependencyExpression, dependencyStrategy);\n jobDependMap.put(jobAId, statusC2A);\n jobDependMap.put(jobBId, statusC2B);\n checker.setJobDependMap(jobDependMap);\n\n long scheduleTime = new DateTime(\"2015-10-10T11:11:00\").getMillis();\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), scheduleTime));\n\n taskService.updateStatus(taskAId, TaskStatus.SUCCESS);\n Assert.assertEquals(false, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), scheduleTime));\n\n taskService.updateStatus(taskBId, TaskStatus.SUCCESS);\n Assert.assertEquals(true, checker.checkDependency(Sets.newHashSet(jobAId, jobBId), scheduleTime));\n\n taskService.deleteTaskAndRelation(taskAId);\n taskService.deleteTaskAndRelation(taskBId);\n }", "public void testSerializability() {\n //Take two jobs: one for study and one for reference.\n SerializableWARCBatchJob job1 = new SerializableWARCBatchJob();\n SerializableWARCBatchJob job2 = new SerializableWARCBatchJob();\n\n //Work on both jobs ordinarily:\n job1.initialize(new ByteArrayOutputStream());\n job2.initialize(new ByteArrayOutputStream());\n doStuff(job1);\n doStuff(job2);\n //Now serialize and deserialize the studied job (but NOT the reference):\n try {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n ObjectOutputStream ous = new ObjectOutputStream(baos);\n ous.writeObject(job1);\n ous.close();\n baos.close();\n ObjectInputStream ois = new ObjectInputStream(\n new ByteArrayInputStream(\n baos.toByteArray()));\n job1 = (SerializableWARCBatchJob) ois.readObject();\n } catch (IOException e) {\n fail(e.toString());\n } catch (ClassNotFoundException e) {\n fail(e.toString());\n }\n\n //Then, work on both jobs again (finishing them properly):\n doStuff(job1);\n doStuff(job2);\n job1.finish(new ByteArrayOutputStream());\n job2.finish(new ByteArrayOutputStream());\n //Finally, compare their visible states:\n List<FileBatchJob.ExceptionOccurrence> state1\n = job1.getExceptions();\n List<FileBatchJob.ExceptionOccurrence> state2\n = job2.getExceptions();\n\n assertEquals(\"The two jobs should have the same number of \"\n + \"registered exceptions.\",\n state1.size(), state2.size());\n for (int i = 0; i < state1.size(); i++) {\n assertEquals(\"Found differing registered exceptions: \"\n + state1.get(i).toString() + state2.get(i).toString(),\n state1.get(i).toString(),\n state2.get(i).toString());\n }\n }", "@Test(timeOut = DEFAULT_TEST_TIMEOUT, enabled=true)\n public void testFailedMachineDetailsAfterEsmRestart() throws Exception {\n deployPu();\n restartEsmAndWait();\n machineFailover(getAgent(pu));\n assertUndeployAndWait(pu);\n }", "@Test\n @LocalData\n public void testCalculateDiskUsageWorkspaceWhenReferenceFromJobDoesNotExists() throws Exception {\n RunListener<?> listener = RunListener.all().get(DiskUsageBuildListener.class);\n j.jenkins.getExtensionList(RunListener.class).remove(listener);\n DiskUsagePlugin plugin = j.jenkins.getPlugin(DiskUsagePlugin.class);\n plugin.getConfiguration().setCheckWorkspaceOnAgent(true);\n j.jenkins.setNumExecutors(0);\n Slave agent1 = DiskUsageTestUtil.createAgent(\"agent1\", new File(j.jenkins.getRootDir(), \"workspace1\").getPath(), j.jenkins, j.createComputerLauncher(null));\n AxisList axes = new AxisList();\n TextAxis axis1 = new TextAxis(\"axis\", \"axis1 axis2 axis3\");\n axes.add(axis1);\n MatrixProject project1 = j.jenkins.createProject(MatrixProject.class, \"project1\");\n project1.setAxes(axes);\n project1.setAssignedNode(agent1);\n j.buildAndAssertSuccess(project1);\n Slave agent2 = DiskUsageTestUtil.createAgent(\"agent2\", new File(j.jenkins.getRootDir(), \"workspace2\").getPath(), j.jenkins, j.createComputerLauncher(null));\n File file = new File(agent1.getWorkspaceFor(project1).getRemote(), \"fileList\");\n Long size = DiskUsageTestUtil.getSize(DiskUsageTestUtil.readFileList(file)) + agent1.getWorkspaceFor(project1).length();\n File fileAxis1 = new File(agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis1/label/agent2\", \"fileList\");\n File fileAxis2 = new File(agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis2/label/agent2\", \"fileList\");\n File fileAxis3 = new File(agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis3/label/agent2\", \"fileList\");\n Long sizeAxis1 = DiskUsageTestUtil.getSize(DiskUsageTestUtil.readFileList(fileAxis1)) + new File(\n agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis1/label/agent2\").length();\n Long sizeAxis2 = DiskUsageTestUtil.getSize(DiskUsageTestUtil.readFileList(fileAxis2)) + new File(\n agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis2/label/agent2\").length();\n Long sizeAxis3 = DiskUsageTestUtil.getSize(DiskUsageTestUtil.readFileList(fileAxis3)) + new File(\n agent2.getWorkspaceFor(project1).getRemote() + \"/axis/axis3/label/agent2\").length();\n file = new File(agent2.getWorkspaceFor(project1).getRemote(), \"fileList\");\n size += DiskUsageTestUtil.getSize(DiskUsageTestUtil.readFileList(file)) + agent2.getWorkspaceFor(project1).length() + sizeAxis1 + sizeAxis2 + sizeAxis3;\n DiskUsageUtil.calculateWorkspaceDiskUsage(project1);\n Assert.assertEquals(\"Calculation of matrix job workspace disk usage does not return right size.\", size, project1.getAction(ProjectDiskUsageAction.class).getDiskUsageWorkspace());\n plugin.getConfiguration().setCheckWorkspaceOnAgent(false);\n }", "@Test\n\tpublic void HeapExtractMaximumtestDifferentPriorities() {\n\t\t Job jarray[]=new Job[5];\n\t\t jarray[0]=new Job(\"job1\",50,1);\n\t\t jarray[1]=new Job(\"job2\",20,2);\n\t\t jarray[2]=new Job(\"job3\",80,3);\n\t\t jarray[3]=new Job(\"job4\",20,4);\n\t\t jarray[4]=new Job(\"job5\",1,5);\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}", "boolean requiresRestart(Operation nextBestOp) {\n\t\t\treturn nextBestOp.val == Integer.MAX_VALUE;\n\n\t\t}", "@Test\n public void heavierTest() throws InterruptedException, ExecutionException {\n Stage stage1 = createStage();\n Stage stage2 = createStage();\n StatelessThing actor1 = Actor.getReference(StatelessThing.class, \"1000\");\n StatelessThing actor2 = Actor.getReference(StatelessThing.class, \"1000\");\n final Set<UUID> set = new HashSet<>();\n set.clear();\n List<Future<UUID>> futures = new ArrayList<>();\n for (int i = 0; i < 50; i++) {\n // this will force the creation of concurrent activations in each node\n stage1.bind();\n futures.add(actor1.getUniqueActivationId());\n stage2.bind();\n futures.add(actor2.getUniqueActivationId());\n }\n futures.forEach(( f) -> {\n try {\n set.add(f.get(10, TimeUnit.SECONDS));\n } catch (Exception e) {\n throw new UncheckedException(e);\n }\n });\n // it is very likely that there will be more than one activation per stage host.\n Assert.assertTrue(((set.size()) > 1));\n // only 25*5 calls => there should not be more than 125 activations\n Assert.assertTrue(((set.size()) <= 100));\n }", "public static void main(String[] args){\n\t\tint increment=1;\n\t\tfor(int m=0;m<=5000;m+=increment){\n\t\t\tif(m==10)\n\t\t\t\tincrement=5;\n\t\t\tif(m==100)\n\t\t\t\tincrement=100;\n\t\t\tif(m==500)\n\t\t\t\tincrement=500;\n\n\t\t\tfor(int l=0;l<30;++l){\n\t\t\t\tdouble[][][] AFFINITY3=new double[Task.TYPES_OF_TASK_NUMBER][Task.TYPES_OF_TASK_NUMBER][Task.TYPES_OF_TASK_NUMBER];\n\t\t\t\tRandom r=new Random(l);\n\t\t\t\tdouble affinity;\n\t\t\t\tfor(int i=0;i<Task.TYPES_OF_TASK_NUMBER;++i){\n\t\t\t\t\tfor(int j=0;j<Task.TYPES_OF_TASK_NUMBER;++j){\n\t\t\t\t\t\tfor(int k=0;k<Task.TYPES_OF_TASK_NUMBER;++k){\n\t\t\t\t\t\t\tdo{\n\t\t\t\t\t\t\t\taffinity=r.nextDouble();\n\t\t\t\t\t\t\t}while(affinity==0);\n\t\t\t\t\t\t\tAFFINITY3[i][j][k]=AFFINITY3[i][k][j]=AFFINITY3[k][i][j]=AFFINITY3[j][i][k]=AFFINITY3[k][j][i]=AFFINITY3[j][k][i]=affinity;\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tList<Node> infrastructure=new ArrayList<>();\n\t\t\t\tfor(int i=0; i<TEST_NUMBER_OF_NODES;++i)\n\t\t\t\t\tinfrastructure.add(new Node(TEST_NUMBER_OF_CORES, TEST_RAM_SIZE));\n\t\t\t\tList<Task> tasks=new ArrayList<>();\n\t\t\t\tTaskType[] types=TaskType.values();\n\t\t\t\tfor(int i=0;i<TEST_NUMBER_OF_PROCESS;++i){\n\t\t\t\t\tTaskType type=types[r.nextInt(Task.TYPES_OF_TASK_NUMBER)];\n\t\t\t\t\tint instanceNumber=r.nextInt(101)+10;//from 10 to 100 instances\n\t\t\t\t\tint coresPerInstance=r.nextInt(12)+1;//from 1 to 12\n\t\t\t\t\tint ramPerinstance=r.nextInt(12*1024+101)+100;//from 100MB to 12GB\n\t\t\t\t\tdouble baseTime=r.nextInt(10001)+1000;//from 100 cycles to 1000\n\t\t\t\t\ttasks.add(new Task(type,instanceNumber,coresPerInstance,ramPerinstance,baseTime));\n\t\t\t\t}\n\t\t\t\tList<Integer> arrivalOrder=new ArrayList<>();\n\t\t\t\tint tasksSoFar=0;\n\t\t\t\tdo{\n\t\t\t\t\ttasksSoFar+=r.nextInt(11);\n\t\t\t\t\tarrivalOrder.add((tasksSoFar<tasks.size())?tasksSoFar:tasks.size());\n\t\t\t\t}while(tasksSoFar<tasks.size());\n\t\t\t\tfinal Scheduler scheduler=new AffinityAwareFifoScheduler(tasks, arrivalOrder, infrastructure,AFFINITY3,AffinityType.NORMAL,m);\n\t\t\t\tThread t=new Thread(new Runnable() {\t\t\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tscheduler.runScheduler();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tt.start();\n\t\t\t\ttry {\n\t\t\t\t\tt.join();\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Finished running.\");\n\t\t\t}\n\t\t}\n\t}", "@Test(timeout = 60000)\n public void testVariableAndConstantBoundedIteration() throws Exception {\n JobGraph jobGraph = createVariableAndConstantJobGraph(4, 1000, false, 0, false, 1, result);\n miniCluster.executeJobBlocking(jobGraph);\n\n assertEquals(8001, result.get().size());\n\n // Expected records is round * parallelism * numRecordsPerSource\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n assertEquals(OutputRecord.Event.TERMINATED, result.get().take().getEvent());\n }", "private void waitFor(String serviceName, int parallelRuns) {\r\n\t\tfor (int i = 0; mockDbAccessor.getServiceCompletedContextStore(serviceName).size() < parallelRuns; i++) {\r\n\t\t\tif (i>=10000000) \r\n\t\t\t\tassertEquals(parallelRuns, mockDbAccessor.getServiceCompletedContextStore(serviceName).size());\r\n\t\t}\r\n\t}", "@Test\n public void testAllocationScraperJob() throws Exception {\n AllocationScraperJob j = new AllocationScraperJob();\n j.setStatus( JobStatus.submitted );\n j.setStartDate( Calendar.getInstance().getTime() );\n j.setDaysAhead( 27 );\n int jobId = dao.insertJob( j );\n\n // this should now run the job\n processorService.processJobs();\n\n // verify that the job completed successfully\n Job jobVerify = dao.fetchJobById( jobId );\n Assert.assertEquals( JobStatus.completed, jobVerify.getStatus() );\n }", "@Test(dataProvider = \"chainPrunerData\")\n public void testAdaptivePruning(final int kmerSize, final byte[] ref, final byte[] alt, final double altFraction, final double errorRate, final int depthPerAlignmentStart, final double logOddsThreshold) {\n final RandomGenerator rng = RandomGeneratorFactory.createRandomGenerator(new Random(kmerSize + FastMath.round(10000*(errorRate + altFraction))));\n final ReadThreadingGraph graph = new ReadThreadingGraph(kmerSize);\n graph.addSequence(ref, true);\n final List<byte[]> reads = IntStream.range(0, ref.length)\n .mapToObj(start -> IntStream.range(0, depthPerAlignmentStart).mapToObj(n -> generateReadWithErrors(rng.nextDouble() < altFraction ? alt : ref, start, errorRate, rng)))\n .flatMap(s -> s).collect(Collectors.toList());\n\n reads.forEach(read -> graph.addSequence(read, false));\n\n\n // note: these are the steps in ReadThreadingAssembler::createGraph\n graph.buildGraphIfNecessary();\n\n final ChainPruner<MultiDeBruijnVertex, MultiSampleEdge> pruner = new AdaptiveChainPruner<>(0.001,\n logOddsThreshold, ReadThreadingAssemblerArgumentCollection.DEFAULT_PRUNING_SEEDING_LOG_ODDS_THRESHOLD, 50);\n pruner.pruneLowWeightChains(graph);\n\n final SmithWatermanAligner aligner = SmithWatermanJavaAligner.getInstance();\n graph.recoverDanglingTails(1, 3, false, aligner, DANGLING_END_SW_PARAMETERS);\n graph.recoverDanglingHeads(1, 3, false, aligner, DANGLING_END_SW_PARAMETERS);\n graph.removePathsNotConnectedToRef();\n\n final SeqGraph seqGraph = graph.toSequenceGraph();\n seqGraph.zipLinearChains();\n seqGraph.removeSingletonOrphanVertices();\n seqGraph.removeVerticesNotConnectedToRefRegardlessOfEdgeDirection();\n seqGraph.simplifyGraph();\n seqGraph.removePathsNotConnectedToRef();\n seqGraph.simplifyGraph();\n\n final List<KBestHaplotype<SeqVertex, BaseEdge>> bestPaths = new GraphBasedKBestHaplotypeFinder<>(seqGraph).findBestHaplotypes(10);\n\n final OptionalInt altIndex = IntStream.range(0, bestPaths.size()).filter(n -> bestPaths.get(n).haplotype().basesMatch(alt)).findFirst();\n Assert.assertTrue(altIndex.isPresent());\n\n // ref path should not be pruned even if all reads are alt\n final OptionalInt refIndex = IntStream.range(0, bestPaths.size()).filter(n -> bestPaths.get(n).haplotype().basesMatch(ref)).findFirst();\n Assert.assertTrue(refIndex.isPresent());\n\n // the haplotype score is the sum of the log-10 of all branching fractions, so the alt haplotype score should come out to\n // around the log-10 of the allele fraction up to some fudge factor, assuming we didn't do any dumb pruning\n Assert.assertEquals(bestPaths.get(altIndex.getAsInt()).score(), Math.log10(altFraction), 0.5);\n Assert.assertTrue(bestPaths.size() < 15);\n }", "boolean supportsParallelLoad();", "@Override\n public void processClusterInvalidationsNext() {\n }", "public void testSummaryStatsParNew() {\n File testFile = new File(\"src/test/data/dataset2.txt\");\n GcManager gcManager = new GcManager();\n gcManager.store(testFile, false);\n JvmRun jvmRun = gcManager.getJvmRun(new Jvm(null, null), Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD);\n Assert.assertEquals(\"Max young space not calculated correctly.\", 348864, jvmRun.getMaxYoungSpace());\n Assert.assertEquals(\"Max old space not calculated correctly.\", 699392, jvmRun.getMaxOldSpace());\n Assert.assertEquals(\"NewRatio not calculated correctly.\", 2, jvmRun.getNewRatio());\n Assert.assertEquals(\"Max heap space not calculated correctly.\", 1048256, jvmRun.getMaxHeapSpace());\n Assert.assertEquals(\"Max heap occupancy not calculated correctly.\", 424192, jvmRun.getMaxHeapOccupancy());\n Assert.assertEquals(\"Max pause not calculated correctly.\", 1070, jvmRun.getMaxGcPause());\n Assert.assertEquals(\"Max perm gen space not calculated correctly.\", 99804, jvmRun.getMaxPermSpace());\n Assert.assertEquals(\"Max perm gen occupancy not calculated correctly.\", 60155, jvmRun.getMaxPermOccupancy());\n Assert.assertEquals(\"Total GC duration not calculated correctly.\", 1282, jvmRun.getTotalGcPause());\n Assert.assertEquals(\"GC Event count not correct.\", 2, jvmRun.getEventTypes().size());\n Assert.assertTrue(JdkUtil.LogEventType.PAR_NEW.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PAR_NEW));\n Assert.assertTrue(JdkUtil.LogEventType.CMS_SERIAL_OLD.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.CMS_SERIAL_OLD));\n Assert.assertTrue(Analysis.ERROR_SERIAL_GC_CMS + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.ERROR_SERIAL_GC_CMS));\n }", "@Test(timeout = 60000)\n public void testVariableOnlyBoundedIterationWithBroadcast() throws Exception {\n JobGraph jobGraph = createVariableOnlyJobGraph(4, 1000, false, 0, false, 1, true, result);\n miniCluster.executeJobBlocking(jobGraph);\n\n assertEquals(8001, result.get().size());\n\n // Expected records is round * parallelism * numRecordsPerSource * parallelism of reduce\n // operators\n Map<Integer, Tuple2<Integer, Integer>> roundsStat =\n computeRoundStat(\n result.get(), OutputRecord.Event.PROCESS_ELEMENT, 2 * 4 * 1000 * 1);\n verifyResult(roundsStat, 2, 4000, 4 * (0 + 999) * 1000 / 2);\n assertEquals(OutputRecord.Event.TERMINATED, result.get().take().getEvent());\n }", "@Test\n\tpublic void testDescendingComparator() {\n\t\tList<MockWorker> mockWorkers = createMockWorkers(10);\n\t\tsetAscendingParallelWorkCapacity(mockWorkers);\n\t\tList<WorkerLoadSnapshot> snapshots = createSnapshots(mockWorkers);\n\t\tRandom rng = new Random(-1L);\n\t\tCollections.shuffle(snapshots, rng);\n\t\tCollections.sort(snapshots, WorkerLoadSnapshot.descendingComparator());\n\t\tfor (PairIterator.Pair<MockWorker, WorkerLoadSnapshot> pair\n\t\t\t\t: PairIterator.iterable(mockWorkers, snapshots)) {\n\t\t\tassertSame(pair.getLeft(), pair.getRight().getWorker());\n\t\t}\n\t\tList<MockWorker> unorderedList = new ArrayList<>(mockWorkers);\n\t\tCollections.shuffle(snapshots);\n\t\tsetAscendingParallelWorkCapacity(unorderedList);\n\t\tCollections.shuffle(snapshots, rng);\n\t\tCollections.sort(snapshots, WorkerLoadSnapshot.descendingComparator());\n\t\tfor (PairIterator.Pair<MockWorker, WorkerLoadSnapshot> pair\n\t\t\t\t: PairIterator.iterable(mockWorkers, snapshots)) {\n\t\t\tassertSame(pair.getLeft(), pair.getRight().getWorker());\n\t\t}\n\t}", "@Test\n @SuppressWarnings(\"deprecation\")\n public void testRecoveryAndCleanup() throws Exception {\n describe(\"Test (unsupported) task recovery.\");\n JobData jobData = startJob(true);\n TaskAttemptContext tContext = jobData.tContext;\n ManifestCommitter committer = jobData.committer;\n\n Assertions.assertThat(committer.getWorkPath())\n .as(\"null workPath in committer \" + committer)\n .isNotNull();\n Assertions.assertThat(committer.getOutputPath())\n .as(\"null outputPath in committer \" + committer)\n .isNotNull();\n\n // Commit the task.\n commitTask(committer, tContext);\n\n // load and log the manifest\n final TaskManifest manifest = loadManifest(\n committer.getTaskManifestPath(tContext));\n LOG.info(\"Manifest {}\", manifest);\n\n Configuration conf2 = jobData.job.getConfiguration();\n conf2.set(MRJobConfig.TASK_ATTEMPT_ID, attempt0);\n conf2.setInt(MRJobConfig.APPLICATION_ATTEMPT_ID, 2);\n JobContext jContext2 = new JobContextImpl(conf2, taskAttempt0.getJobID());\n TaskAttemptContext tContext2 = new TaskAttemptContextImpl(conf2,\n taskAttempt0);\n ManifestCommitter committer2 = createCommitter(tContext2);\n committer2.setupJob(tContext2);\n\n Assertions.assertThat(committer2.isRecoverySupported())\n .as(\"recoverySupported in \" + committer2)\n .isFalse();\n intercept(IOException.class, \"recover\",\n () -> committer2.recoverTask(tContext2));\n\n // at this point, task attempt 0 has failed to recover\n // it should be abortable though. This will be a no-op as it already\n // committed\n describe(\"aborting task attempt 2; expect nothing to clean up\");\n committer2.abortTask(tContext2);\n describe(\"Aborting job 2; expect pending commits to be aborted\");\n committer2.abortJob(jContext2, JobStatus.State.KILLED);\n }", "@Test\n public void testReuseforkstrue() throws Exception {\n String testName = \"reuseforkstrue\";\n EkstaziPaths.removeEkstaziDirectories(getClass(), testName);\n executeCleanTestStep(testName, 0, 1);\n }", "private void test() {\n\t\tlong startTime = System.currentTimeMillis();\n\t\tBpmnModelInstance modelInstance = Bpmn.readModelFromFile(loadedFile);\n\t\tJsonEncoder jsonEncoder = new JsonEncoder(loadedFile.getName());\n\t\tBpmnBasicMetricsExtractor basicExtractor = new BpmnBasicMetricsExtractor(modelInstance, jsonEncoder);\n\t\tBpmnAdvancedMetricsExtractor advExtractor = new BpmnAdvancedMetricsExtractor(basicExtractor, jsonEncoder);\n\t\tlong loadTime = System.currentTimeMillis() - startTime;\n//\t\tSystem.out.println(\"Tempo load del file: \" + loadTime + \"ms\");\n\t\tbasicExtractor.runMetrics();\n\t\tlong basicTime = System.currentTimeMillis() - loadTime - startTime;\n//\t\tSystem.out.println(\"Tempo calcolo metriche di base: \" + basicTime + \"ms\");\n\t\tadvExtractor.runMetrics();\n\t\tlong advTime = System.currentTimeMillis() - basicTime - startTime - loadTime;\n//\t\tSystem.out.println(\"Tempo calcolo metriche avanzate: \" + advTime + \"ms\");\n\t\tjsonEncoder.exportJson();\n\t\tMySqlInterface db = new MySqlInterface();\n\t\tdb.connect();\n//\t\tdb.createTables(jsonEncoder);\n//\t\tdb.createAndInsertMetricsInfosTable();\n//\t\tdb.saveMetrics(jsonEncoder);\n//\t\tdb.closeConnection();\n\t}", "@Test\n public void testBlobForJobFetchRetries() throws IOException {\n testBlobFetchRetries(new VoidBlobStore(), new JobID(), TRANSIENT_BLOB);\n }", "@Test\n\tpublic void HeapExtractMaximumtestNoPriorities() {\n\t\t Job jarray[]=new Job[1];\n\t\t \n\t\t Job actual=PQHeap.HeapExtractMaximum(jarray);\n\t\t //System.out.println(\"\"+actual);\n\t\t//assertTrue((new Job(\"job1\",20,1)).equals(actual));\n\t\t//assertEquals(new Job(\"job1\",20,1), actual);\n\t\t assertNotEquals(new Job(\"job3\",20,1), actual);\n\t\t//fail(\"Not yet implemented\");\n\t}", "@Test\n public void testCancel() throws Exception {\n assertTrue(getRunningJobs(CLUSTER.getClusterClient()).isEmpty());\n\n // Create a task\n final JobVertex sender = new JobVertex(\"Sender\");\n sender.setParallelism(2);\n sender.setInvokableClass(BlockingInvokable.class);\n\n final JobGraph jobGraph =\n JobGraphBuilder.newStreamingJobGraphBuilder()\n .setJobName(\"Stoppable streaming test job\")\n .addJobVertex(sender)\n .build();\n final JobID jid = jobGraph.getJobID();\n\n ClusterClient<?> clusterClient = CLUSTER.getClusterClient();\n clusterClient.submitJob(jobGraph).get();\n\n // wait for job to show up\n while (getRunningJobs(CLUSTER.getClusterClient()).isEmpty()) {\n Thread.sleep(10);\n }\n\n // wait for tasks to be properly running\n BlockingInvokable.latch.await();\n\n final Duration testTimeout = Duration.ofMinutes(2);\n final Deadline deadline = Deadline.fromNow(testTimeout);\n\n try (HttpTestClient client = new HttpTestClient(\"localhost\", getRestPort())) {\n // cancel the job\n client.sendPatchRequest(\"/jobs/\" + jid + \"/\", deadline.timeLeft());\n HttpTestClient.SimpleHttpResponse response =\n client.getNextResponse(deadline.timeLeft());\n\n assertEquals(HttpResponseStatus.ACCEPTED, response.getStatus());\n assertEquals(\"application/json; charset=UTF-8\", response.getType());\n assertEquals(\"{}\", response.getContent());\n }\n\n // wait for cancellation to finish\n while (!getRunningJobs(CLUSTER.getClusterClient()).isEmpty()) {\n Thread.sleep(20);\n }\n\n // ensure we can access job details when its finished (FLINK-4011)\n try (HttpTestClient client = new HttpTestClient(\"localhost\", getRestPort())) {\n Duration timeout = Duration.ofSeconds(30);\n client.sendGetRequest(\"/jobs/\" + jid + \"/config\", timeout);\n HttpTestClient.SimpleHttpResponse response = client.getNextResponse(timeout);\n\n assertEquals(HttpResponseStatus.OK, response.getStatus());\n assertEquals(\"application/json; charset=UTF-8\", response.getType());\n assertEquals(\n \"{\\\"jid\\\":\\\"\"\n + jid\n + \"\\\",\\\"name\\\":\\\"Stoppable streaming test job\\\",\"\n + \"\\\"execution-config\\\":{\\\"execution-mode\\\":\\\"PIPELINED\\\",\\\"restart-strategy\\\":\\\"Cluster level default restart strategy\\\",\"\n + \"\\\"job-parallelism\\\":1,\\\"object-reuse-mode\\\":false,\\\"user-config\\\":{}}}\",\n response.getContent());\n }\n\n BlockingInvokable.reset();\n }", "@Test\n public void test860RecomputeJackFull() throws Exception {\n\t\tfinal String TEST_NAME = \"test860RecomputeJackFull\";\n displayTestTitle(TEST_NAME);\n\n Task task = createTask(TEST_NAME);\n OperationResult result = task.getResult();\n\n assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL);\n\n\t\t// WHEN\n displayWhen(TEST_NAME);\n recomputeUser(USER_JACK_OID, task, result);\n\n // THEN\n displayThen(TEST_NAME);\n assertSuccess(result);\n\n PrismObject<UserType> userAfter = getUser(USER_JACK_OID);\n display(\"User after\", userAfter);\n assertAssignments(userAfter, 1);\n\n assertJackAccountNoSwashbuckler();\n\t}", "@Test\n public void testTransientProcessInstanceWithMultipleRetry() throws Exception\n {\n enableTxPropagation();\n enableOneSystemQueueConsumerRetry();\n enableTransientProcessesSupport();\n\n final ProcessInstance pi = sf.getWorkflowService().startProcess(PROCESS_DEF_ID_MULTIPLE_RETRY, null, true);\n ProcessInstanceStateBarrier.instance().await(pi.getOID(), ProcessInstanceState.Completed);\n\n DatabaseOperationMonitoring.instance().assertExactly(SELECT_WFUSER_REALM.times(1),\n SELECT_WORKFLOWUSER.times(1),\n SELECT_USER_PARTICIPANT.times(1),\n SELECT_PREFERENCE.times(7));\n }", "void createGraphForMassiveLoad();", "@Test\n\tpublic void test() {\n\t\tlong l = System.currentTimeMillis();\n\t\tForkJoinPool forkJoinPool = new ForkJoinPool();// 实现ForkJoin\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 就必须有ForkJoinPool的支持\n\t\tForkJoinTask<Long> task = new ForkJoinWork(0L, 10000000000L);// 参数为起始值与结束值\n\t\tLong invoke = forkJoinPool.invoke(task);\n\t\tlong l1 = System.currentTimeMillis();\n\t\tSystem.out.println(\"test invoke = \" + invoke + \" time: \" + (l1 - l));\n\t\t// invoke = -5340232216128654848 time: 76474\n\t}", "@Test\n public void testUnpaidDepositReportJob() throws Exception {\n Job allocScraperJob = new AllocationScraperJob();\n allocScraperJob.setStatus( JobStatus.completed );\n dao.insertJob( allocScraperJob );\n\n // setup a job to scrape allocation info\n Job j = new UnpaidDepositReportJob();\n j.setStatus( JobStatus.submitted );\n j.setParameter( \"allocation_scraper_job_id\", String.valueOf( allocScraperJob.getId() ) );\n int jobId = dao.insertJob( j );\n\n // this should now run the job\n processorService.processJobs();\n\n // verify that the job completed successfully\n Job jobVerify = dao.fetchJobById( jobId );\n Assert.assertEquals( JobStatus.completed, jobVerify.getStatus() );\n }", "@Test\n public void treeSample() {\n this.pool.invoke(JobTrees.buildTree());\n }", "public static void killAllEvaluations() {\n \tif (currentJobGroup+1 == Integer.MAX_VALUE)\n \t\tcurrentJobGroup = 0;\n \telse\n \t\tcurrentJobGroup++;\n\t\t\n \tSparkFactory.stop();\t\t\n }", "@Test\n public void testRelinquishRole()\n throws IOException, InterruptedException, CloneNotSupportedException {\n LightWeightNameNode hdfs1 =\n new LightWeightNameNode(new HdfsLeDescriptorFactory(),\n DFS_LEADER_CHECK_INTERVAL_IN_MS, DFS_LEADER_MISSED_HB_THRESHOLD,\n TIME_PERIOD_INCREMENT, HTTP_ADDRESS, RPC_ADDRESS);\n nnList.add(hdfs1);\n LightWeightNameNode hdfs2 =\n new LightWeightNameNode(new HdfsLeDescriptorFactory(),\n DFS_LEADER_CHECK_INTERVAL_IN_MS, DFS_LEADER_MISSED_HB_THRESHOLD,\n TIME_PERIOD_INCREMENT, HTTP_ADDRESS, RPC_ADDRESS);\n nnList.add(hdfs2);\n\n hdfs1.getLeaderElectionInstance().waitActive();\n hdfs2.getLeaderElectionInstance().waitActive();\n long hdfs1Id = hdfs1.getLeCurrentId();\n long hdfs2Id = hdfs2.getLeCurrentId();\n assertTrue(\"Leader Check Failed \", hdfs1.isLeader() == true);\n assertTrue(\"Leader Check Failed \", hdfs2.isLeader() == false);\n\n\n // relinquish role\n hdfs1.getLeaderElectionInstance().relinquishCurrentIdInNextRound();\n assertTrue(\"Leader Check Failed \", hdfs1.isLeader() == false);\n Thread.sleep(\n DFS_LEADER_CHECK_INTERVAL_IN_MS * (DFS_LEADER_MISSED_HB_THRESHOLD + 1));\n long hdfs1IdNew = hdfs1.getLeCurrentId();\n long hdfs2IdNew = hdfs2.getLeCurrentId();\n assertTrue(\"Leader Check Failed \", hdfs1.isLeader() == false);\n assertTrue(\"Leader Check Failed \", hdfs2.isLeader() == true);\n\n assertTrue(\"ID Check Failed \", hdfs1Id != hdfs1IdNew);\n assertTrue(\"ID Check Failed \", hdfs2Id == hdfs2IdNew);\n\n\n }", "@Test\n public void testProcessor () {\n getOrphanTables(1L);\n updateConstraints();\n deleteConstraints(1L);\n\n }", "@Test\n @SuppressWarnings(\"unchecked\")\n void activation_convergence_considers_actual_version_returned_from_node() {\n var f = StateActivationFixture.withTwoPhaseEnabled();\n var cf = f.cf;\n\n f.ackStateBundleFromBothDistributors();\n\n final var d0ActivateWaiter = ArgumentCaptor.forClass(Communicator.Waiter.class);\n final var d1ActivateWaiter = ArgumentCaptor.forClass(Communicator.Waiter.class);\n\n clusterNodeInfos(cf.cluster(), Node.ofDistributor(0), Node.ofDistributor(1)).forEach(nodeInfo -> {\n verify(f.mockCommunicator).activateClusterStateVersion(eq(123), eq(nodeInfo),\n (nodeInfo.getNodeIndex() == 0 ? d0ActivateWaiter : d1ActivateWaiter).capture());\n });\n\n respondToActivateClusterStateVersion(cf.cluster.getNodeInfo(Node.ofDistributor(0)),\n f.stateBundle, d0ActivateWaiter.getValue());\n // Distributor 1 reports higher actual version, should not cause this version to be\n // considered converged since it's not an exact version match.\n respondToActivateClusterStateVersion(cf.cluster.getNodeInfo(Node.ofDistributor(1)),\n f.stateBundle, 124, d1ActivateWaiter.getValue());\n f.simulateBroadcastTick(cf, 123);\n\n assertNull(f.broadcaster.getLastClusterStateBundleConverged());\n }", "@InSequence(1)\n @Test\n public void worksAfterDeployment() throws InterruptedException {\n int sum = sendMessages(10);\n runJob();\n Assert.assertEquals(10, collector.getLastItemCount());\n Assert.assertEquals(sum, collector.getLastSum());\n Assert.assertEquals(1, collector.getNumberOfJobs());\n }", "@Test\n public void testGetNextCulturalObjectByCountDownLatchMethod() throws InterruptedException {\n final CountDownLatch startSignal = new CountDownLatch(1);\n final CountDownLatch resultsReadySignal = new CountDownLatch(NUMBER_OF_EXECUTIONS);\n final Multimap<Long, CulturalObject> multimap = ArrayListMultimap.create();\n for (int i = 0; i < NUMBER_OF_EXECUTIONS; i++) {\n new Thread(() -> {\n try {\n startSignal.await();\n CulturalObject co = cardService.getNextCulturalObject(null);\n if (co != null) {\n multimap.put(co.getId(), co);\n }\n } catch (InterruptedException e) {\n LOG.error(\"Thread exception: \", e);\n } finally {\n resultsReadySignal.countDown();\n }\n }).start();\n }\n\n Thread.sleep(100); // give some time to create and start all threads\n startSignal.countDown(); // signal all workers\n\n resultsReadySignal.await();\n\n double[] sizes = multimap.keySet().stream().mapToDouble(aLong -> (double) multimap.get(aLong).size()).toArray();\n StandardDeviation std = new StandardDeviation();\n assertThat(std.evaluate(sizes), is(closeTo(0.0, 0.5)));\n }", "public void initialExecutionResourcesExhausted() {\n \n \t\t// if (this.environment.getExecutingThread() != Thread.currentThread()) {\n \t\t// throw new ConcurrentModificationException(\n \t\t// \"initialExecutionResourcesExhausted must be called from the task that executes the user code\");\n \t\t// }\n \n \t\t// Construct a resource utilization snapshot\n \t\tfinal long timestamp = System.currentTimeMillis();\n \t\t// Get CPU-Usertime in percent\n \t\tThreadMXBean threadBean = ManagementFactory.getThreadMXBean();\n \t\tlong userCPU = (threadBean.getCurrentThreadUserTime() / NANO_TO_MILLISECONDS) * 100\n \t\t\t/ (timestamp - this.startTime);\n \n \t\t// collect outputChannelUtilization\n \t\tfinal Map<ChannelID, Long> channelUtilization = new HashMap<ChannelID, Long>();\n \t\tlong totalOutputAmount = 0;\n \t\tfor (int i = 0; i < this.environment.getNumberOfOutputGates(); ++i) {\n \t\t\tfinal OutputGate<? extends Record> outputGate = this.environment.getOutputGate(i);\n \t\t\tfor (int j = 0; j < outputGate.getNumberOfOutputChannels(); ++j) {\n \t\t\t\tfinal AbstractOutputChannel<? extends Record> outputChannel = outputGate.getOutputChannel(j);\n \t\t\t\tchannelUtilization.put(outputChannel.getID(),\n \t\t\t\t\tLong.valueOf(outputChannel.getAmountOfDataTransmitted()));\n \t\t\t\ttotalOutputAmount += outputChannel.getAmountOfDataTransmitted();\n \t\t\t}\n \t\t}\n \t\tlong totalInputAmount = 0;\n \t\tfor (int i = 0; i < this.environment.getNumberOfInputGates(); ++i) {\n \t\t\tfinal InputGate<? extends Record> inputGate = this.environment.getInputGate(i);\n \t\t\tfor (int j = 0; j < inputGate.getNumberOfInputChannels(); ++j) {\n \t\t\t\tfinal AbstractInputChannel<? extends Record> inputChannel = inputGate.getInputChannel(j);\n \t\t\t\tchannelUtilization.put(inputChannel.getID(),\n \t\t\t\t\tLong.valueOf(inputChannel.getAmountOfDataTransmitted()));\n \t\t\t\ttotalInputAmount += inputChannel.getAmountOfDataTransmitted();\n \n \t\t\t}\n \t\t}\n \t\tBoolean force = null;\n \n \t\tif (this.environment.getInvokable().getClass().isAnnotationPresent(Stateful.class)\n \t\t\t&& !this.environment.getInvokable().getClass().isAnnotationPresent(Stateless.class)) {\n \t\t\t// Don't checkpoint statefull tasks\n \t\t\tforce = false;\n \t\t} else {\n \t\t\t// look for a forced decision from the user\n \t\t\tForceCheckpoint forced = this.environment.getInvokable().getClass().getAnnotation(ForceCheckpoint.class);\n \t\t\tif (forced != null) {\n \t\t\t\tforce = forced.checkpoint();\n \t\t\t}\n \t\t}\n \t\tfinal ResourceUtilizationSnapshot rus = new ResourceUtilizationSnapshot(timestamp, channelUtilization, userCPU,\n \t\t\tforce, totalInputAmount, totalOutputAmount);\n \n \t\t// Notify the listener objects\n \t\tfinal Iterator<ExecutionListener> it = this.registeredListeners.iterator();\n \t\twhile (it.hasNext()) {\n \t\t\tit.next().initialExecutionResourcesExhausted(this.environment.getJobID(), this.vertexID, rus);\n \t\t}\n \n \t\t// Finally, propagate event to the job manager\n \t\tthis.taskManager.initialExecutionResourcesExhausted(this.environment.getJobID(), this.vertexID, rus);\n \t}", "@Test\n public void test28() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n CostSensitiveClassifier costSensitiveClassifier0 = new CostSensitiveClassifier();\n CostMatrix costMatrix0 = costSensitiveClassifier0.getCostMatrix();\n Evaluation evaluation0 = null;\n try {\n evaluation0 = new Evaluation(instances0, costMatrix0);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Cost matrix not compatible with data!\n //\n }\n }", "@Test\n public void testWithAllCorruptReplicas() throws Exception {\n Configuration conf = new HdfsConfiguration();\n conf.setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, 1000L);\n conf.set(DFSConfigKeys.DFS_NAMENODE_RECONSTRUCTION_PENDING_TIMEOUT_SEC_KEY, Integer.toString(2));\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).numDataNodes(3).build();\n FileSystem fs = cluster.getFileSystem();\n final FSNamesystem namesystem = cluster.getNamesystem();\n\n try {\n final Path fileName = new Path(\"/foo1\");\n DFSTestUtil.createFile(fs, fileName, 2, (short) 3, 0L);\n DFSTestUtil.waitReplication(fs, fileName, (short) 3);\n\n ExtendedBlock block = DFSTestUtil.getFirstBlock(fs, fileName);\n corruptBlock(cluster, fs, fileName, 0, block);\n\n corruptBlock(cluster, fs, fileName, 1, block);\n\n corruptBlock(cluster, fs, fileName, 2, block);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(0, countReplicas(namesystem, block).liveReplicas());\n assertEquals(3, countReplicas(namesystem, block).corruptReplicas());\n\n namesystem.setReplication(fileName.toString(), (short) 1);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(0, countReplicas(namesystem, block).liveReplicas());\n assertEquals(3, countReplicas(namesystem, block).corruptReplicas());\n\n } finally {\n cluster.shutdown();\n }\n }", "@Test\n public void testRecomputeStretch(){\n //Recalculate stretch\n imageData.recomputeStretch(frArray, 0, rangeValues, true);\n BufferedImage stretchImage =imageData.getImage(frArray);\n Assert.assertNotEquals(expectedImage, stretchImage);\n }", "@Test\n @Category(SlowTest.class)\n public void testLoadRNASeqDataWithMissingSamples() throws Exception {\n try {\n geoService.setGeoDomainObjectGenerator( new GeoDomainObjectGenerator() );\n Collection<?> results = geoService.fetchAndLoad( \"GSE29006\", false, false, false );\n ee = ( ExpressionExperiment ) results.iterator().next();\n } catch ( AlreadyExistsInSystemException e ) {\n ee = ( ( Collection<ExpressionExperiment> ) e.getData() ).iterator().next();\n assumeNoException( \"Need to remove this data set before test is run\", e );\n }\n\n ee = experimentService.thaw( ee );\n\n // Load the data from a text file.\n DoubleMatrixReader reader = new DoubleMatrixReader();\n\n try ( InputStream countData = this.getClass()\n .getResourceAsStream( \"/data/loader/expression/flatfileload/GSE29006_expression_count.test.txt\" );\n\n InputStream rpkmData = this.getClass().getResourceAsStream(\n \"/data/loader/expression/flatfileload/GSE29006_expression_RPKM.test.txt\" ) ) {\n DoubleMatrix<String, String> countMatrix = reader.read( countData );\n DoubleMatrix<String, String> rpkmMatrix = reader.read( rpkmData );\n\n List<String> probeNames = countMatrix.getRowNames();\n\n // we have to find the right generic platform to use.\n targetArrayDesign = this\n .getTestPersistentArrayDesign( probeNames, taxonService.findByCommonName( \"human\" ) );\n targetArrayDesign = arrayDesignService.thaw( targetArrayDesign );\n try {\n dataUpdater.addCountData( ee, targetArrayDesign, countMatrix, rpkmMatrix, 36, true, false );\n fail( \"Should have gotten an exception\" );\n } catch ( IllegalArgumentException e ) {\n // Expected\n }\n dataUpdater.addCountData( ee, targetArrayDesign, countMatrix, rpkmMatrix, 36, true, true );\n }\n\n /*\n * Check\n */\n ee = experimentService.thaw( ee );\n\n for ( BioAssay ba : ee.getBioAssays() ) {\n assertEquals( targetArrayDesign, ba.getArrayDesignUsed() );\n }\n\n ExpressionDataDoubleMatrix mat = dataMatrixService.getProcessedExpressionDataMatrix( ee );\n assertNotNull( mat );\n assertEquals( 199, mat.rows() );\n assertTrue( mat.getQuantitationTypes().iterator().next().getName().startsWith( \"log2cpm\" ) );\n\n assertEquals( 4, ee.getBioAssays().size() );\n\n assertEquals( 199 * 3, ee.getRawExpressionDataVectors().size() );\n\n assertEquals( 199, ee.getProcessedExpressionDataVectors().size() );\n\n Collection<DoubleVectorValueObject> processedDataArrays = dataVectorService.getProcessedDataArrays( ee );\n\n assertEquals( 199, processedDataArrays.size() );\n\n TestUtils.assertBAs( ee, targetArrayDesign, \"GSM718709\", 320383 );\n\n for ( DoubleVectorValueObject v : processedDataArrays ) {\n assertEquals( 4, v.getBioAssays().size() );\n }\n\n }", "@Test\n public void trainWithMasterSplinterTest() {\n\n }", "public static void performTests() throws ModelManagementException {\n int count = VarModel.INSTANCE.getModelCount();\n UnloadTestModelLoader loader = new UnloadTestModelLoader();\n VarModel.INSTANCE.locations().addLocation(BASE, ProgressObserver.NO_OBSERVER);\n VarModel.INSTANCE.loaders().registerLoader(loader, ProgressObserver.NO_OBSERVER);\n // no model was loaded\n Assert.assertEquals(VarModel.INSTANCE.getModelCount(), count);\n // prepare all models\n for (ModelInfo<Project> info : loader.infos()) {\n Assert.assertTrue(loader.getProject(info) == VarModel.INSTANCE.load(info));\n }\n // no model was loaded\n Assert.assertEquals(VarModel.INSTANCE.getModelCount(), count + loader.infoCount());\n\n testUnloading(loader, \"f\", \"f\"); // f is not imported so it shall be unloaded\n testUnloading(loader, \"a\"); // a is imported so it shall not be unloaded\n testUnloading(loader, \"e\"); // e is imported so it shall not be unloaded\n testUnloading(loader, \"b\"); // b is imported and imports e so it shall not be unloaded\n testUnloading(loader, \"c\"); // c is imported so it shall not be unloaded\n testUnloading(loader, \"d\"); // d is imported so it shall not be unloaded\n testUnloading(loader, \"p1\", \"p1\", \"a\"); // p1 shall be unloaded, also a\n testUnloading(loader, \"p2\", \"p2\", \"c\"); // p2 shall be unloaded, also c\n testUnloading(loader, \"p3\", \"p3\", \"b\", \"e\"); // p3 shall be unloaded, also b and transitively e\n testUnloading(loader, \"p4\", \"p4\", \"d\"); // p4 shall be unloaded, as now d is not imported from other projects\n \n VarModel.INSTANCE.loaders().unregisterLoader(loader, ProgressObserver.NO_OBSERVER);\n VarModel.INSTANCE.locations().removeLocation(BASE, ProgressObserver.NO_OBSERVER);\n }", "@Test(timeout = 4000)\n public void test74() throws Throwable {\n NaiveBayesMultinomialText naiveBayesMultinomialText0 = new NaiveBayesMultinomialText();\n double[] doubleArray0 = new double[0];\n SparseInstance sparseInstance0 = new SparseInstance(0.0, doubleArray0);\n try { \n naiveBayesMultinomialText0.updateClassifier(sparseInstance0);\n fail(\"Expecting exception: RuntimeException\");\n \n } catch(RuntimeException e) {\n //\n // DenseInstance doesn't have access to a dataset!\n //\n verifyException(\"weka.core.AbstractInstance\", e);\n }\n }", "@Test\n public void shouldDrainTheQueueWhenReloading() throws Exception {\n Project.NameKey targetProject = createTestProject(project + \"replica\");\n String remoteName = \"drainQueue\";\n setReplicationDestination(remoteName, \"replica\", ALL_PROJECTS);\n\n config.setInt(\"remote\", remoteName, \"drainQueueAttempts\", 2);\n config.save();\n reloadConfig();\n\n Result pushResult = createChange();\n shutdownDestinations();\n\n RevCommit sourceCommit = pushResult.getCommit();\n String sourceRef = pushResult.getPatchSet().refName();\n\n try (Repository repo = repoManager.openRepository(targetProject)) {\n waitUntil(() -> checkedGetRef(repo, sourceRef) != null);\n Ref targetBranchRef = getRef(repo, sourceRef);\n assertThat(targetBranchRef).isNotNull();\n assertThat(targetBranchRef.getObjectId()).isEqualTo(sourceCommit.getId());\n }\n }", "public boolean needsResend(){\n return this.getNumNetworkCopies()-this.replicationDegree<0;\n }", "private void reset() throws ParallelException {\r\n\t\tif (_k==2) _g.makeNNbors(true); // force reset (from cache)\r\n\t\t// else _g.makeNbors(true); // don't force reset (from cache): no need\r\n _nodesq = new TreeSet(_origNodesq);\r\n }", "@Test\n public void testGroupBookingsReportJob() throws Exception {\n Job allocJob = new AllocationScraperJob();\n allocJob.setStatus( JobStatus.completed );\n dao.insertJob( allocJob );\n\n // setup a job to find reservations with more than X guests\n Job j = new GroupBookingsReportJob();\n j.setStatus( JobStatus.submitted );\n j.setParameter( \"allocation_scraper_job_id\", String.valueOf( allocJob.getId() ) );\n int jobId = dao.insertJob( j );\n\n // this should now run the job\n processorService.processJobs();\n\n // verify that the job completed successfully\n Job jobVerify = dao.fetchJobById( jobId );\n Assert.assertEquals( JobStatus.completed, jobVerify.getStatus() );\n }", "@Test\n public void testTransientProcessInstanceWithBigData() throws Exception\n {\n final ProcessInstance pi = sf.getWorkflowService().startProcess(PROCESS_DEF_ID_BIG_DATA_ACCESS, null, true);\n ProcessInstanceStateBarrier.instance().await(pi.getOID(), ProcessInstanceState.Completed);\n\n DatabaseOperationMonitoring.instance().assertExactly(SELECT_WFUSER_REALM.times(1),\n SELECT_WORKFLOWUSER.times(1),\n SELECT_USER_PARTICIPANT.times(1),\n SELECT_PREFERENCE.times(7));\n }", "@Test(timeout = 4000)\n public void test057() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate((String) null);\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[0];\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((-737.608359939284), doubleArray0);\n try { \n evaluation0.evaluationForSingleInstance(doubleArray0, binarySparseInstance0, false);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }" ]
[ "0.5619637", "0.5588017", "0.55341494", "0.5506063", "0.54988146", "0.54282427", "0.5414323", "0.5392799", "0.5364062", "0.5320924", "0.52998835", "0.5247049", "0.52416164", "0.5229131", "0.5211162", "0.52034616", "0.5181864", "0.5180744", "0.5176536", "0.51710665", "0.5164086", "0.51306826", "0.5116153", "0.5103283", "0.50857735", "0.50765795", "0.5074858", "0.5068648", "0.50657696", "0.50651425", "0.5064614", "0.50628215", "0.50427586", "0.50393414", "0.50332725", "0.50210124", "0.5009813", "0.50087076", "0.50057995", "0.4991641", "0.49867472", "0.49717507", "0.4968515", "0.49683896", "0.49682426", "0.49640286", "0.4960944", "0.49497238", "0.49449897", "0.49317482", "0.49316305", "0.49279338", "0.49212244", "0.4914592", "0.491316", "0.49100718", "0.4906295", "0.4894312", "0.4891707", "0.48870364", "0.48857856", "0.48852527", "0.48825213", "0.48704192", "0.4866497", "0.48653522", "0.48538557", "0.48517632", "0.4841431", "0.48339418", "0.4829835", "0.4822526", "0.48109356", "0.4807767", "0.48050284", "0.48014018", "0.4790677", "0.47864303", "0.47778794", "0.4772653", "0.47650805", "0.47633192", "0.47609815", "0.47583666", "0.47550777", "0.4749307", "0.47483832", "0.47472727", "0.47424683", "0.4737552", "0.4735267", "0.47324634", "0.47315022", "0.4730238", "0.47230217", "0.47228384", "0.47203082", "0.47202185", "0.47201145", "0.47142148" ]
0.7109994
0
Registration in DB using Bcrypt to hash password
@Override public boolean register(Client client) { boolean result = false; Connection con = null; try { con = connection; con.setAutoCommit(false); PreparedStatement st = con.prepareStatement(Sql.REGISTER); st.setString(1, client.getLogin()); String pass = BCrypt.hashpw(client.getPassword(), BCrypt.gensalt(5)); st.setString(2, pass); st.setString(3, client.getPassport()); result = st.executeUpdate() > 0; con.commit(); } catch (SQLException e) { try { con.rollback(); } catch (SQLException throwables) { throwables.printStackTrace(); } throw new RuntimeException("Such user exists"); } finally { try { con.close(); } catch (SQLException e) { e.printStackTrace(); } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void saveNewPassword(String userName, String hashedPassword) throws DatabaseException;", "String getUserPasswordHash();", "String hashPassword(String salt, String password);", "public void register(String firstname, String lastname, String username, String email, String password) {\n BasicDBObject query = new BasicDBObject();\n query.put(\"firstname\", firstname);\n query.put(\"lastname\", lastname);\n query.put(\"username\", username);\n query.put(\"email\", email);\n query.put(\"password\", password);\n query.put(\"rights\", 0);\n users.save(query);\n System.out.println(\"### DATABASE: user \" + username + \" registered ... password hash: \" + password);\n }", "private void register(String username,String password){\n\n }", "public boolean registerUser(String username, String password) throws SQLException {\n String user_row = String.format(\"INSERT INTO %s (%s, %s) VALUES (?, ?)\",\n table_users.name, table_users.cols.username, table_users.cols.hash_pw);\n //Encrypt password\n String salt = BCrypt.gensalt(FHALF_LENGTH, new SecureRandom());\n StringBuilder hash_pw = new StringBuilder(BCrypt.hashpw(password, salt));\n\n //Move second half of salt to end of string\n String lHalf = hash_pw.substring(FHALF_LENGTH, SALT_LENGTH);\n hash_pw.replace(FHALF_LENGTH, SALT_LENGTH, \"\");\n hash_pw.append(lHalf);\n\n //Set parameters\n PreparedStatement prepStmnt = con.prepareStatement(user_row);\n prepStmnt.setString(1, username);\n prepStmnt.setString(2, hash_pw.toString());\n int user_cols_changed = prepStmnt.executeUpdate();\n \n //Retrieve user id (FUCK)\n String retrieve = String.format(\"SELECT * FROM %s WHERE %s = ?\", table_users.name, table_users.cols.username);\n PreparedStatement stmnt = con.prepareStatement(retrieve);\n stmnt.setString(1, username);\n ResultSet curr_user = stmnt.executeQuery();\n curr_user.next();\n int id = curr_user.getInt(table_users.cols.id);\n \n //Insert row for user avatar info\n String avatar_row = String.format(\"INSERT INTO %s (%s) VALUES (?)\", table_avatars.name, table_avatars.cols.id);\n PreparedStatement avatar = con.prepareStatement(avatar_row);\n avatar.setInt(1, id);\n int avatar_cols_changed = avatar.executeUpdate();\n \n return user_cols_changed != 0 && avatar_cols_changed != 0;\n }", "void setUserPasswordHash(String passwordHash);", "String hashPassword(String password);", "@Transactional\n\tpublic void createRemindedPassword(RegisterUserForm ruf)\n\t{\n\t\tMd5PasswordEncoder passwordEncoder = new Md5PasswordEncoder();\n\t\tString hashedPassword = passwordEncoder.encodePassword(ruf.getPassword(), null);\n\t\n\t\t// create remindpassword for the user\n\t\t\n\t\tDate \t\tdt \t= new Date();\n\t\tTimestamp \tnow = new Timestamp(dt.getTime());\n\t\t\n\t\tString confKey \t= \"\" + dt;\n\t\tString confirmKey = encoder.encodeConfirmAccountHash(confKey);\n\t\tString sql = \"UPDATE confirmaccount SET confirmkey=:key, createdon=:date, remindpassword=BIT'1'\" +\n\t\t\t\t\" WHERE username=:user\";\n\t\tem.createNativeQuery(sql)\n\t\t.setParameter(\"user\", ruf.getUserName())\n\t\t.setParameter(\"date\", now)\n\t\t.setParameter(\"key\", confirmKey)\n\t\t.executeUpdate();\t\n\t}", "String generateHashFromPassword(String password, byte[] salt);", "public void register(UserRegistration userRegistration){\n User userToSave = UserMapper.map(userRegistration);\n// metoda do szyfrowania będzie wykorzystana w aktualnej metodzie register(),\n hashPasswordWithSha256(userToSave);\n userDao.save(userToSave);\n }", "@Override\n public String register(String name, String password) throws BakeryServiceException {\n if (name == null || password == null || name.length() < 3 || password.length() < 3)\n throw new BakeryServiceException(400);\n\n // check that the user does not already exist\n User existingUser = this.userDAO.getUserByName(name);\n if (existingUser != null)\n throw new BakeryServiceException(409);\n\n String passwordHash = BCrypt.hashpw(password, BCrypt.gensalt());\n String token = UUID.randomUUID().toString();\n this.userDAO.createUser(name, passwordHash, token);\n return token;\n }", "public String hashPassword(String plainTextPassword);", "private void createUser(final String email, final String password) {\n\n }", "public static String hashPassword(String password){\n String salt = BCrypt.gensalt(12);\n String hashed_password = BCrypt.hashpw(password,salt);\n return hashed_password;\n }", "void registerNewUser(String login, String name, String password, String matchingPassword,\n String email);", "public String getHashPassword() { \n return this.hashPassword; \n }", "@POST\n\t@Path(\"/password-create\")\n\t@Consumes(MediaType.APPLICATION_JSON)\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response createPassword(PasswordCreateObject passwordCreateObject){\n\t\tString email = passwordCreateObject.getEmail();\n\t\tString password = passwordCreateObject.getPassword();\n\t\tString registrationKey = passwordCreateObject.getRegistrationKey();\n\t\tSystem.out.println(email + password + registrationKey); \n\n\t\t// before create password, a student login should exist\n\t\tAdminLogins adminLoginsExisting = adminLoginsDao.findAdminLoginsByEmail(email); \n\t\tif(adminLoginsExisting == null) {\n\t\t\treturn Response.status(Response.Status.BAD_REQUEST).\n\t\t\t\t\tentity(\"Invalid Admin details. Admin does not exist\" ).build();\n\t\t}\n\n\t\tString databaseRegistrationKey = adminLoginsExisting.getRegistrationKey();\n\t\tTimestamp databaseTimestamp = adminLoginsExisting.getKeyExpiration();\n\n\t\t// check if the entered registration key matches \n\t\tif((databaseRegistrationKey.equals(registrationKey))){\n\n\t\t\t// if registration key matches, then check if its valid or not\n\t\t\tTimestamp currentTimestamp = new Timestamp(System.currentTimeMillis());\n\n\t\t\t// check if the database time is after the current time\n\t\t\tif(databaseTimestamp.after(currentTimestamp)){\n\t \t\tString saltnewStr = email.substring(0, email.length()/2);\n\t \t\tString setPassword = password+saltnewStr;\n\t String hashedPassword = SCryptUtil.scrypt(setPassword, 16, 16, 16);\n\t\t\t\tadminLoginsExisting.setAdminPassword(hashedPassword);\n\t\t\t\tadminLoginsExisting.setConfirmed(true);\n\t\t\t\tboolean adminLoginUpdatedWithPassword = adminLoginsDao.updateAdminLogin(adminLoginsExisting);\n\t\t\t\tif(adminLoginUpdatedWithPassword) {\n\t\t\t\t\t\n\t\t\t\t\treturn Response.status(Response.Status.OK).\n\t\t\t\t\t\t\tentity(\"Congratulations Password Reset successfully for Admin!\").build();\n\t\t\t\t} else {\n\t\t\t\t\treturn Response.status(Response.Status.INTERNAL_SERVER_ERROR).\n\t\t\t\t\t\t\tentity(\"Database exception thrown\" ).build();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn Response.status(Response.Status.OK).\n\t\t\t\t\t\tentity(\" Registration key expired!\" ).build();\n\t\t\t}\n\t\t} else {\n\t\t\treturn Response.status(Response.Status.BAD_REQUEST).\n\t\t\t\t\tentity(\"Invalid registration key\" ).build();\n\t\t}\n\t}", "int registerUser(String userName, String password, String profileName,\n String homeLocation, boolean isAdmin) {\n RatAppModel.checkInitialization();\n SecureRandom saltShaker = new SecureRandom();\n try {\n PreparedStatement checkStatement = db.getStatement(\n \"SELECT * FROM users WHERE userName\" + \"=?\");\n checkStatement.setString(1, userName);\n ResultSet checkResults = db.query(checkStatement);\n if (checkResults.next()) { //Check for username already in use\n return 1;\n } else {\n int salt = saltShaker.nextInt(SALT_SIZE);\n String hashedPass = hasher.getSecurePassword(Integer.toString(salt),\n password);\n String registrationText = \"INSERT INTO users(userName, password, profileName, \"\n + \"homeLocation, salt, isAdmin) VALUES(?, ?, ?, ?, ?, ?)\";\n PreparedStatement registerStatement = db.getStatement(registrationText);\n registerStatement.setString(1, userName);\n registerStatement.setString(2, hashedPass);\n registerStatement.setString(3, profileName);\n registerStatement.setString(4, homeLocation);\n registerStatement.setInt(5, salt);\n registerStatement.setBoolean(6, isAdmin);\n db.update(registerStatement);\n //Log.d(\"Register User\", \"Success for userName = \" + userName);\n return 0;\n }\n } catch (SQLException e) {\n //Log.e(\"Register User\", e.getMessage());\n return 2;\n\n }\n }", "@Override\n public void onClick(View v) {\n String strUsername = txtUsername.getText().toString();\n String strPassword = txtPassword.getText().toString();\n if (strPassword.length() < 4) {\n Toast.makeText(getApplicationContext(), \"Password requires at least 4 characters.\", Toast.LENGTH_LONG).show();\n return;\n }\n String strHashedPassword = hash(strPassword);\n\n //Build sql prepared statement\n String strStatement = \"insert into account (username, password) values (?, ?)\";\n try {\n PreparedStatement psInsert = Settings.getInstance().getConnection().prepareStatement(strStatement);\n psInsert.setString(1, strUsername);\n psInsert.setString(2, strHashedPassword);\n int result = psInsert.executeUpdate();\n if (result != 0) {\n Log.d(\"\", \"onClick: Error inserting account.\");\n }\n\n psInsert.close();\n\n //TODO: check result code to make sure it went through\n\n Toast.makeText(getApplicationContext(), \"Account successfully created.\", Toast.LENGTH_LONG).show();\n //Toast.makeText(getApplicationContext(), \"Username already exists.\", Toast.LENGTH_LONG).show();\n //Toast.makeText(getApplicationContext(), \"Password does not meet requirements.\", Toast.LENGTH_LONG).show();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n Log.v(this.getClass().toString(), \"Register complete.\");\n }", "public boolean register(String u_Name, String u_pw, String f_name){\n List<User> userList = userDao.getUserFromUsername(u_Name);\n //1.check if userName is used\n if (userList.size() != 0){ \n return false;\n }\n //2.create user and add to the DB\n User user = new User(u_Name, u_pw, f_name);\n userDao.addUser(user);\n //3.return true\n return true;\n }", "private String hashPassword(String password) {\n \t\tif (StringUtils.isNotBlank(password)) {\n \t\t\treturn new ShaPasswordEncoder().encodePassword(password, null);\n \t\t}\n \t\treturn null;\n \t}", "private boolean checkPass(String enterPass) {\n JdbcConnection connection = JdbcConnection.getInstance();\n DaoFactory daoFactory = new RealDaoFactory(connection);\n List<User> users = daoFactory.createUserDao().findAll();\n for (User user : users) {\n if (user.getPasswordHash() == enterPass.hashCode()) {\n return true;\n }\n }\n return false;\n }", "Registration(String u, char[] fPassword, char[] sPassword)\n\t{//constructor that initializes the variables above\n\t\tusername = u;\n\t\tfirstPassword = new String(fPassword);\n\t\tsecondPassword = new String(sPassword);\n\t}", "private boolean validatePassword() throws NoSuchAlgorithmException, NoSuchProviderException \n {\n String passwordToHash = Password.getText(); \n\t\t\n \tString securePassword = null;\n \tString testPass;\n \tBoolean success=false;\n \tbyte[] salt = null;\n\n\t \n\t \n\t \n try{ \n \t\tmycon=connect.getConnect();\n \t\t \n \t\t \n String query;\n\t query =\"select password, salt\\n\" + \n\t \t\t\"from employee\\n\" + \n\t \t\t\"where userName= ?;\";\n\t \n\t PreparedStatement pstm= mycon.prepareStatement(query);\n\t pstm.setString(1, Username.getText());\n\t ResultSet rs = pstm.executeQuery();\n\t \n\t if(rs.next()) {\n\t \tsecurePassword =rs.getString(1);\n\t \t\n\t \tBlob blob = rs.getBlob(2);\n\t \t int bloblen= (int) blob.length();\n\t \t salt = blob.getBytes(1, bloblen);\n\t \t blob.free();\n\t \t\n\t \t\n\t \n\t }\n\t \n\t \n\t testPass=SecurePass.getSecurePassword(passwordToHash, salt);\n \n \t if(securePassword.equals(testPass)) {\n \t success=true;\n \t this.ActiveUser=Username.getText();\n \t }\n \t\n \t\t\n \t\t\n \t\t\n \t\t} catch (SQLException e ) {\n \t\t\te.printStackTrace(); \t\n \t\t\t\n \t\t}\n\t\treturn success;\n \n\t \t \n \n \n\t\t\n \n }", "private boolean inputDatabase(String password) {\r\n\r\n boolean checks = false;\r\n int wasUpdated = 0;\r\n\r\n String hashSalt = \"\";\r\n\r\n try {\r\n //Get the hash and salt for the given password\r\n hashSalt = encrypt.getHashString(password);\r\n } catch (NoSuchAlgorithmException | UnsupportedEncodingException ex) {\r\n System.out.println(\"A problem occurred while inserting the user. \"\r\n + \"Error Message: \" + ex.getMessage());\r\n }\r\n\r\n if (!hashSalt.isEmpty()) // Encryption was successful\r\n {\r\n String hash = hashSalt.substring(0, 44); //Substring for password hash\r\n String salt = hashSalt.substring(44, hashSalt.length()); //Substring for salt\r\n\r\n //Variables fo other fields to include in query\r\n String username = txtUserName.getText();\r\n String email = txtEmail.getText();\r\n String first_name = txtFirstName.getText();\r\n String last_name = txtLastName.getText();\r\n\r\n //Create the query string\r\n String query = \"INSERT INTO user (username,email,first_name,\"\r\n + \"last_name,created,last_update,password,salt) values ('\"\r\n + username + \"','\" + email + \"','\" + first_name + \"','\"\r\n + last_name + \"',?,?,'\" + hash + \"','\" + salt + \"')\";\r\n System.out.println(query);\r\n\r\n try {\r\n //Call insertUser in DBConnector to \r\n wasUpdated = Login.db.insertUser(query);\r\n\r\n } catch (SQLException ex) {\r\n System.out.println(\"A problem occurred while inserting the user. \"\r\n + \"Error Message: \" + ex.getMessage());\r\n }\r\n }\r\n \r\n //Update successful\r\n if (wasUpdated > 0) {\r\n checks = true;\r\n }\r\n \r\n return checks;\r\n }", "int insert(UserPasswordDO record);", "@Override\n protected void configure(AuthenticationManagerBuilder auth) throws Exception{\n\t auth.userDetailsService(userDetailsService)\n .passwordEncoder(bCryptPasswordEncoder);// Hachage de mot de passe pour harmoniser avec celui de Bd\n }", "@Override\n\tpublic PoolUser registerUser(PoolUser pooler, String password2) throws SQLException {\n\t\tif(null==db){\n\t\t\tdb = new DbConnection();\n\t\t\tdb.openConnection();\n\t\t}\n\t\tint n = db.addToUserDb(pooler);\n\t\tint m=0;\n\t\tif(n==1){\t\n\t\t\tm = db.addUserToLoginTable(pooler.getUserName(), password2);\t\t\t\n\t\t}if(n!=1||m!=1){\n\t\t\tpooler = null;\n\t\t}\n\t\treturn pooler;\n\t}", "boolean verifyUser(User user, char[] password);", "public Boolean setForgotPasswordDetails(int advisorId,String email, String userName,String hashPassword) { \n\t\t\n\t\tBasicConfigurator.configure();\n\t\tlogger.info(\"Entered setForgotPasswordDetails method of ForgotPasswordDAO\");\n\t\tBoolean isInsertComplete = false;\n\t\ttry {\n\t\t\tconn =Util.connect();\n\t\t\tString query = \"INSERT INTO forgotpassword_admin(ADVISOR_ID,USERNAME,TIME,PASSWORD,EMAIL)\" + \"VALUES(?,?,?,?,?)\";\n\t\t\tPreparedStatement pstmt = conn.prepareStatement(query);\n\t\t\tpstmt.setInt(1,advisorId );\n\t\t\tpstmt.setString(2, userName);\n\t\t\tpstmt.setTimestamp(3, new java.sql.Timestamp(new Date().getTime()));\n\t\t\tpstmt.setString(4, hashPassword);\n\t\t\tpstmt.setString(5, email);\n\t\t\tint result = pstmt.executeUpdate(); \n\t\t\tif(result >0) {\n\t\t\t\tisInsertComplete = true;\n\t\t\t}\n\t\tlogger.info(\"Exit setForgotPasswordDetails method of ForgotPasswordDAO\");\n\t\t}catch(Exception e){\n\t\t\tlogger.error(\"setForgotPasswordDetails method of ForgotPasswordDAO threw error:\"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn isInsertComplete;\n}", "@Test\n\t void testPassword() {\n\t\tString expected=passwordEncoder.encode(\"faizan@123\");\n\t\tString actual=user.getPassword();\n\t\tassertNotEquals(expected, actual);\n\t}", "private void register() {\r\n if (mName.getText().length() == 0) {\r\n mName.setError(\"please fill this field\");\r\n return;\r\n }\r\n if (mEmail.getText().length() == 0) {\r\n mEmail.setError(\"please fill this field\");\r\n return;\r\n }\r\n if (mPassword.getText().length() == 0) {\r\n mPassword.setError(\"please fill this field\");\r\n return;\r\n }\r\n if (mPassword.getText().length() < 6) {\r\n mPassword.setError(\"password must have at least 6 characters\");\r\n return;\r\n }\r\n\r\n\r\n final String email = mEmail.getText().toString();\r\n final String password = mPassword.getText().toString();\r\n final String name = mName.getText().toString();\r\n\r\n FirebaseAuth.getInstance().createUserWithEmailAndPassword(email, password).addOnCompleteListener(getActivity(), new OnCompleteListener<AuthResult>() {\r\n @Override\r\n public void onComplete(@NonNull Task<AuthResult> task) {\r\n if (!task.isSuccessful()) {\r\n Snackbar.make(view.findViewById(R.id.layout), \"sign up error\", Snackbar.LENGTH_SHORT).show();\r\n } else {\r\n String uid = FirebaseAuth.getInstance().getCurrentUser().getUid();\r\n\r\n //Saves the user's info in the database\r\n Map<String, Object> mNewUserMap = new HashMap<>();\r\n mNewUserMap.put(\"email\", email);\r\n mNewUserMap.put(\"name\", name);\r\n\r\n FirebaseDatabase.getInstance().getReference().child(\"users\").child(uid).updateChildren(mNewUserMap);\r\n }\r\n }\r\n });\r\n\r\n }", "public boolean registerNewUser(String email, String pass, int accountID){\n\t\t\n\t\tString encPass = encrypt(pass);\n\t\t\n\t\tPreparedStatement pst;\n\t\t\n\t\ttry {\n\t\t\t\n\t\t\t// Préparation de l'insertion\n\t\t\tpst = connection.prepareStatement(\"INSERT INTO user (email, password) VALUES (?,?)\");\n\t\t\t\n\t\t\tpst.setString(1, email);\n\t\t\tpst.setString(2, encPass);\n\t\t\t\n\t\t\tpst.executeUpdate();\n\t\t\t\n\t\t\t// Récupération de l'ID de l'utilisateur\n\t\t\tpst = connection.prepareStatement(\"SELECT id FROM user WHERE email = ?\");\n\t\t\t\n\t\t\tpst.setString(1, email);\n\t\t\t\n\t\t\tif(!pst.execute()){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tResultSet rs = pst.getResultSet();\n\t\t\trs.next();\n\t\t\t\n\t\t\tint id = rs.getInt(1);\n\t\t\t\n\t\t\t//TODO récupération du mot de passe en provenance de la banque\n\t\t\tString accPass = \"lalala\";\n\t\t\t\n\t\t\t// Enregistrement du nouveau compte en banque\n\t\t\tpst = connection.prepareStatement(\"INSERT INTO account_access (id, account_id, password) VALUES (?,?,?)\");\n\t\t\t\n\t\t\tpst.setInt(1, id);\n\t\t\tpst.setInt(2, accountID);\n\t\t\tpst.setString(3, accPass);\n\t\t\t\n\t\t\tif(!(pst.executeUpdate() == 1)){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(\"[ERREUR SQL] Impossible d'insérer le nouvel utilisateur: \" + e.getMessage());\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t\n\t}", "String getUserPassword();", "@Bean\n public PasswordEncoder passwordEncoder() {\n return new BCryptPasswordEncoder(11);\n }", "public void setHashPassword(String password) throws NoSuchAlgorithmException, UnsupportedEncodingException {\n this.password = hashPassword(password);\r\n// System.out.println(\"haslo po hash w account_hashpassword: \" + this.password);\r\n }", "public String encode( String password );", "@Bean\n public PasswordEncoder passwordEncoder() {\n String idForEncode = \"bcrypt\";\n Map<String, PasswordEncoder> encoders = new HashMap<>();\n encoders.put(idForEncode, new BCryptPasswordEncoder());\n return new DelegatingPasswordEncoder(idForEncode, encoders);\n }", "public void registerUser(String username, String password)\n {\n if(!spaceExists.spaceExists(SpaceUtils.getSpace()))\n {\n spaceExists.getSpaceExistsWarning(loginForm,\n \"\");\n }\n // check text fields are not blank\n if(StringUtils.isNotBlank(username) &&\n StringUtils.isNotBlank(password))\n {\n // Check length of password\n if(password.length() >= 6 &&\n password.length() <= 25)\n {\n // check username length\n if(username.length() >= 3 &&\n username.length() <= 20)\n {\n // continue\n String confirmDialogResponse = confirmPassword();\n\n// System.out.println(\"Dialog: \" + confirmDialogResponse);\n// System.out.println(\"Password: \"+password);\n if(password.equals(confirmDialogResponse))\n {\n // passwords match\n // save user to space\n try\n {\n // create new entry\n // encrypt password\n UserEntry user = new UserEntry();\n user.setUsername(username);\n user.setID(UUID.randomUUID());\n user.setSalt(CipherUtils.getSalt(30));\n user.setPassword(\n CipherUtils.generateSecurePassword(\n password, user.getSalt()));\n\n if(user.getSecureUsername().length() > 3)\n {\n // there are at least 3 non-special characters\n // create user\n if(userUtils.createUser(user) != null)\n {\n\n JOptionPane.showMessageDialog(loginForm,\n \"Welcome \" + user.getUsername() + \"!\");\n\n // remove loginForm\n loginForm.setVisible(false);\n loginForm.dispose();\n // Lease is renewed at every login\n userUtils.renewUserLease(user);\n\n // Debug:\n// UserEntry debug = (UserEntry) space.readIfExists(user, null, 3000);\n// System.out.println(\"User: \" + debug.getUsername() +\" Successfully added!\");\n// System.out.println(\"Main Form Created!\");\n\n // Create MainForm\n new MainForm(user);\n }\n else\n {\n // user already exists\n JOptionPane.showMessageDialog(loginForm,\n user.getUsername() + \" is taken.\");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Username must have at least 3 non-special characters. \");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Passwords did not match!\");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Username must be 3 - 20 characters. \");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Password must be 6 - 25 characters. \");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"A username and password are required.\");\n }\n }", "boolean comparePasswordHash(String password, String salt, String destinationHash);", "@Test\n public void testPasswordHasNumbersAndLetters() {\n registerUser(username, \"123456789\");\n assertNull(userService.getUser(username));\n }", "public User register(User user) throws NoSuchAlgorithmException, InvalidKeySpecException\n\t{\n\t\t\t\n\t\tUserDAO userdao=new UserDAO();\n\t\t\t\t\t\n\t\tString password = user.getPassword(); \n\t\tpassword=Hash.hashFunction(password);\n\t\tuser.setPassword(password);\n\t\t\t\t\n\t\tif(userdao.storeUser(user)){\n\t\t\tuser.setValid(true);\n\t\t}else{\n\t\t\tuser.setValid(false);\n\t\t}\n\t\treturn user;\n\t}", "@Column(length = 50, nullable = false)\n public String getPasswordHash() {\n return passwordHash;\n }", "public void insertUser(String user, String pk, byte[] pw) throws NoSuchAlgorithmException {\n String sql = \"INSERT INTO users(user, publickey, password, salt) VALUES (?, ?, ?, ?)\";\n try (Connection conn = this.connect(); PreparedStatement pstmt = conn.prepareStatement(sql)) {\n String salt = \"\";\n String pwHex = \"\";\n salt = getSalt();\n pwHex = getHash(getHex(pw), salt);\n\n pstmt.setString(1, user);\n pstmt.setString(2, pk);\n pstmt.setString(3, pwHex);\n pstmt.setString(4, salt);\n pstmt.executeUpdate();\n System.out.println(\"CRIADO COM SUCESSO!\");\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }", "@Override\r\n\tpublic boolean register(String email, String id, String pw) {\n\t\treturn jdbcTemplate.update(\"insert into s_member values(?,?,?,\"\r\n\t\t\t\t+ \"'normal',sysdate)\",email,id,pw)>0;\r\n\t}", "@PostMapping(\"/process_register\")\n public String processRegistration(User user,Model model)\n throws SignatureException, NoSuchAlgorithmException, InvalidKeyException{\n\n //checking if user exists\n if(userService.existByLogin(user.getLogin())) {\n model.addAttribute(\"error\", true);\n return \"registerForm\";\n }\n\n model.addAttribute(\"user\", user);\n //saving user\n /* userRepository.save(user);*/\n userService.saveUser(user, Sha512.generateSalt().toString());\n return \"registerSuccessful\";\n }", "public Registrar(String firstName, String lastName, String id, String email, String hashPW) {\n\t\t\tsuper(firstName, lastName, id, email, hashPW);\n\t\t}", "@Transactional\n\tpublic int doRegister(String email, String password) throws NoSuchFieldException, SecurityException {\n\t\tUser user = userDao.findUser(email);\n\n\t\tif (user != null) {\n\t\t\t//邮箱已被注册\n\t\t\treturn -1;\n\t\t}\n\t\telse {\n\t\t\t//注册新用户\n\t\t\tuser = new User(1L, email, password, \"\", \"M\", 0, \"\");\n\t\t\tSystem.out.println(user);\n\t\t\tuserDao.save(user);\n\t\t\treturn 0;\n\t\t}\n\t}", "@Test\n\t\tpublic void testhashPassword() {\n\t\t\tString actual = Professor.hashPassword(\"thePassword\");\n\t\t\tString expected = Professor.hashPassword(\"thePassword\");\n\t\t\t\n\t\t\tassertEquals(expected, actual);\n\t\t}", "private String hashPass(String password, String salt)\r\n {\r\n String oldpass = (password + salt);\r\n String hashedPass = null;\r\n StringBuilder sb = new StringBuilder();\r\n\r\n try\r\n {\r\n MessageDigest md = MessageDigest.getInstance(\"SHA-256\");\r\n md.update(oldpass.getBytes(\"UTF-8\"));\r\n\r\n byte[] hash = md.digest();\r\n\r\n for (int i = 0; i < hash.length; i++)\r\n {\r\n sb.append(Integer.toString((hash[i] & 0xff) + 0x100, 16).substring(1));\r\n }\r\n\r\n hashedPass = sb.toString();\r\n }\r\n catch (NoSuchAlgorithmException | UnsupportedEncodingException ex)\r\n {\r\n Logger.getLogger(AuthModel.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n\r\n return hashedPass;\r\n }", "int insert(PasswordCard record);", "public void hashPassword() throws NoSuchAlgorithmException{\n try {\n byte[] newSalt = (salt == null) ? new byte[128] : salt;\n\n if(salt == null){\n new Random().nextBytes(newSalt);\n }\n\n MessageDigest md = MessageDigest.getInstance(\"SHA-512\");\n md.update(newSalt);\n byte[] passwordBytes = md.digest(password.getBytes(StandardCharsets.UTF_8));\n StringBuilder sb = new StringBuilder();\n\n for(int i=0; i< passwordBytes.length ;i++){\n sb.append(Integer.toString((passwordBytes[i] & 0xff) + 0x100, 16).substring(1));\n }\n\n this.password = sb.toString();\n setSalt(newSalt);\n }\n catch (NoSuchAlgorithmException e){\n e.printStackTrace();\n }\n }", "void regist(User user) throws SQLException;", "public Integer register(UserBean user, String password) {\n UserBean ubean = null;\n Integer res = null;\n UserBean ubeanuname = findUser(user.getUsername());\n UserBean ubeanemail = findUserByEmail(user.getEmail());\n if(ubeanuname == null && ubeanemail == null) {\n ResultSet resultSet = null;\n try {\n resultSet = queryUpdate(String.format(\n \"INSERT INTO %s (name,email,username,password,phone_number)\"\n + \"VALUES ('%s','%s','%s','%s','%s')\",\n tableName,user.name,user.email,user.username, password, user.phoneNumber\n ));\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n try {\n ResultSet temp = query(String.format(\n \"SELECT * FROM %s WHERE username = '%s'\", this.tableName, user.getUsername()));\n if(temp.next()) {\n ubean = parseResultSet(temp);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n res = ubean.getId();\n }\n\n return res;\n }", "void createUser() throws SQLException {\n String name = regName.getText();\n String birthdate = regAge.getText();\n String username = regUserName.getText();\n String password = regPassword.getText();\n String query = \" insert into users (name, birthdate, username, password)\"\n + \" values (?, ?, ?, ?)\";\n\n DB.registerUser(name, birthdate, username, password, query);\n }", "public boolean createUser(Connection con, String userid, String password, int access_code)\n throws SQLException, NoSuchAlgorithmException, UnsupportedEncodingException\n {\n PreparedStatement ps = null;\n try {\n if (userid != null && password != null && userid.length() <= 20){\n // Uses a secure Random not a simple Random\n SecureRandom random = SecureRandom.getInstance(\"SHA1PRNG\");\n // Salt generation 64 bits long\n byte[] bExtra = new byte[8];\n random.nextBytes(bExtra);\n // Digest computation\n byte[] bDigest = getHash(ITERATION_NUMBER,password,bExtra);\n String sDigest = byteToBase64(bDigest);\n String sSalt = byteToBase64(bExtra);\n\n ps = con.prepareStatement(\"insert into login (User_ID, password, access_code, extra) VALUES (?,?,?,?)\");\n ps.setString(1,userid);\n ps.setString(2,sDigest);\n ps.setInt(3,access_code);\n ps.setString(4, sSalt);\n ps.executeUpdate();\n return true;\n } else {\n return false;\n }\n } finally {\n close(ps);\n }\n }", "@Override\n public void performRegister(final String name, final String email, final String gender, final String password){\n\n mAuth.createUserWithEmailAndPassword(email.toLowerCase(),password)\n .addOnCompleteListener(new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (task.isSuccessful()) {\n User user = new User();\n user.setName(name);\n user.setEmail(email.toLowerCase());\n user.setGender(gender);\n user.setPassword(password);\n FirebaseDatabase.getInstance().getReference(\"Users\")\n .child(FirebaseAuth.getInstance().getCurrentUser().getUid())\n .setValue(user).addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if (task.isSuccessful()) {\n Toast.makeText(context, \"Authentication Success.\",\n Toast.LENGTH_LONG).show();\n view.redirectToLogin();\n } else {\n Toast.makeText(context, \"Authentication Failed.\",\n Toast.LENGTH_LONG).show();\n }\n }\n });\n } else {\n Log.w(TAG, \"createUserWithEmail:failure\", task.getException());\n Toast.makeText(context, \"Authentication failed.\",\n Toast.LENGTH_SHORT).show();\n }\n }\n });\n\n }", "Boolean registerNewUser(User user);", "@Override\r\n\tpublic void guardar(Usuario usuario) {\n\t\tString pw = usuario.getPassword();\r\n\t\tBCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder(4);\r\n\t\tusuario.setPassword(bCryptPasswordEncoder.encode(pw));\r\n\t\tiUsuario.save(usuario);\r\n\t}", "public void savePassword(SecurityUserBaseinfoForm form,SecurityUserBaseinfo data) {\n\t\t\tString passwd = \"\";\r\n\t\t\tif(form.getPassWord().equals(\"\")){\r\n\t\t\t\tpasswd = BaseSecurityInit.getProperty(\"USER_PASSWORD\");\r\n\t\t\t}else{\r\n\t\t\t\tpasswd = form.getPassWord();\r\n\t\t\t}\r\n\t\t\tString passwdMD5 = MD5.toMD5(passwd);\r\n\t\t\tSecurityConfigUsers sysUser = new SecurityConfigUsers();\r\n\t\t\tsysUser.setSecurityUserBaseinfoId(data.getId());\r\n\t\t\tsysUser.setPasswd(passwdMD5);\r\n\t\t\tthis.securityUserBaseinfoDAO.save(sysUser);\r\n\t}", "private static String hash(String password, byte[] salt) throws Exception {\n if (password == null || password.length() == 0)\n throw new IllegalArgumentException(\"Empty passwords are not supported.\");\n SecretKeyFactory f = SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA1\");\n SecretKey key = f.generateSecret(new PBEKeySpec(\n password.toCharArray(), salt, iterations, desiredKeyLen));\n return Base64.encodeBase64String(key.getEncoded());\n }", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "String getPassword();", "public String getPassword();", "public String getPassword();", "@Bean\r\n\tpublic PasswordEncoder passwordEncoder() {\r\n\t\treturn new BCryptPasswordEncoder();\r\n\t}", "void updateUserPassword(User user);", "@Override\n public boolean userRegister(User user) \n { \n Connection conn = null;\n Statement stmt = null;\n try \n {\n db_controller.setClass();\n conn = db_controller.getConnection();\n stmt = conn.createStatement();\n String sql;\n \n sql = \"INSERT INTO users (firstname,lastname,username,password,city,number) \"\n + \"values ('\"+ user.getFirstname()+\"',\" \n + \"'\" + user.getLastname() + \"',\" \n + \"'\" + user.getUsername() + \"',\" \n + \"'\" + user.getPassword() + \"',\" \n + \"'\" + user.getCity() + \"',\"\n + \"'\" + user.getNumber() + \"')\";\n int result = stmt.executeUpdate(sql);\n \n stmt.close();\n conn.close();\n if(result == 1) return true;\n else return false;\n } \n catch (SQLException ex) { ex.printStackTrace(); return false;} \n catch (ClassNotFoundException ex) { ex.printStackTrace(); return false;} \n }", "String getNewPassword();", "User registration(User user);", "public static int register(String username, String password, int avatarNum){\n try {\n Statement st = conn.createStatement();\n ResultSet largestId = st.executeQuery(\"select max(userid) from users\");\n largestId.next();\n int thisId = Integer.parseInt(largestId.getString(1))+1;\n String encryptedPwd = encrypt(password);\n\n String insertUserCommand = String.format(\"INSERT INTO users(userid, username, password, avatarnum) VALUES(%d, '{%s}','{%s}',%d)\",thisId,username,encryptedPwd,avatarNum);\n st.executeUpdate(insertUserCommand);\n largestId.close();\n st.close();\n return thisId;\n }catch (SQLException e){\n return SERVER_FAILURE;\n }\n\n }", "private static String hash(String password, byte[] salt) throws Exception {\n if (password == null || password.length() == 0) {\n throw new IllegalArgumentException(\"Empty passwords are not supported.\");\n }\n SecretKeyFactory f = SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA1\");\n SecretKey key = f.generateSecret(new PBEKeySpec(password.toCharArray(), salt, iterations, desiredKeyLen)\n );\n return Base64.encodeToString(key.getEncoded(), Base64.NO_WRAP);\n }", "private static byte[] hashPassword(String password, byte[] salt) throws Exception\n {\n byte[] hash = null;\n \n try {\n MessageDigest md = MessageDigest.getInstance(\"SHA-256\");\n md.update(salt);\n hash = md.digest(password.getBytes(\"UTF-8\"));\n }\n catch (NoSuchAlgorithmException e)\n {\n e.printStackTrace();\n }\n return hash;\n }", "private static String hashPassword(String password) throws NoSuchAlgorithmException, InvalidKeySpecException {\n\n char[] passwordChar = password.toCharArray();\n byte[] salt = getSalt();\n PBEKeySpec spec = new PBEKeySpec(passwordChar, salt, 1000, 64 * 8);\n SecretKeyFactory skf = SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA1\");\n byte[] hash = skf.generateSecret(spec).getEncoded();\n return toHex(salt) + \":\" + toHex(hash);\n }", "@Override\n public void onClick(View v) {\n try {\n Login login = new Login();\n login.setSalt(new Date());\n login.setUsername(mUsernameInput.getText().toString());\n login.setPassword(login.hashedPassword(mPasswordInput.getText().toString()));\n\n if (mLoginDb.getLogin(login.getUsername()) == null && mPasswordInput.getText().toString().length() != 0) {\n mLoginDb.addLogin(login);\n mUserId = login.getId().toString();\n //Log.d(TAG, \"register \" + mUserId);\n Bundle bundle = new Bundle();\n Intent intent = PasswordListActivity.newIntent(getActivity());\n setBundles(bundle, intent);\n\n startActivity(intent, bundle);\n\n Toast.makeText(getActivity(),\n R.string.register_successful,\n Toast.LENGTH_SHORT).show();\n } else if (mUsernameInput.getText().toString().length() == 0) {\n Toast.makeText(getActivity(),\n R.string.register_username_length,\n Toast.LENGTH_SHORT).show();\n }\n else if (mPasswordInput.getText().toString().length() == 0) {\n Toast.makeText(getActivity(),\n R.string.register_password_length,\n Toast.LENGTH_SHORT).show();\n } else if (mLoginDb.getLogin(login.getUsername()).getUsername() != null) {\n Toast.makeText(getActivity(),\n R.string.register_exists,\n Toast.LENGTH_SHORT).show();\n } else {\n throw new Exception();\n }\n } catch (Exception e) {\n e.printStackTrace();\n Toast.makeText(getActivity(),\n R.string.register_error,\n Toast.LENGTH_SHORT).show();\n }\n }", "@Bean\n public PasswordEncoder passwordEncoder(){\n return new BCryptPasswordEncoder();\n }", "private String hashPassword(String toHash) {\r\n PasswordEncoder passwordEncoder = new Sha256PasswordEncoder(salt);\r\n return passwordEncoder.encode(toHash);\r\n }", "String registerUser(User user);", "public boolean registerNewUser(String un, String pw, String fn, String ln, String sq, String sa, int age) {\n\n boolean success;\n\n if (isUsernameExist(un)) {\n success = false;\n }\n else {\n // encrypting input password\n SHAEncryption sha = new SHAEncryption();\n String shaPW = sha.getSHA(pw);\n\n // accessing registeredUser table (collection)\n MongoCollection<Document> collRU = db.getCollection(\"registeredUser\");\n\n // creating new user document based on the input from UI\n Document newUser = new Document(\"username\", un)\n .append(\"password\", shaPW)\n .append(\"firstName\", fn)\n .append(\"lastName\", ln)\n .append(\"age\", age)\n .append(\"secureQ\", sq)\n .append(\"secureA\", sa.toLowerCase())\n .append(\"status\", \"\")\n .append(\"hidefriends\",false)\n .append(\"hideposts\",false)\n .append(\"hideage\",false)\n .append(\"hidestatus\",false);\n\n // insert newUser into registeredUser collection\n collRU.insertOne(newUser);\n System.out.println(\"Username \" + un + \" is registered!\");\n success = true;\n \n // create followList for new user\n db.getCollection(\"followList\").insertOne(\n new Document(\"username\", un).append(\"following\", new ArrayList<String>()));\n }\n\n return success;\n }", "public User validate(String emailID , String password);", "public String getPasswordHash() {\r\n return passwordHash;\r\n }", "public RegisterResult register(RegisterRequest r) throws DBException, IOException\n {\n try\n {\n idGenerator = UUID.randomUUID();\n String personID = idGenerator.toString();\n User newUser = new User(\n r.getUserName(),\n r.getPassword(),\n r.getEmail(),\n r.getFirstName(),\n r.getLastName(),\n r.getGender(),\n personID\n );\n userDao.postUser(newUser);\n commit(true);\n login = new LoginService();\n\n LoginRequest loginRequest = new LoginRequest(r.getUserName(), r.getPassword());\n LoginResult loginResult = login.loginService(loginRequest);\n login.commit(true);\n\n fill = new FillService();\n FillRequest fillRequest = new FillRequest(r.getUserName(), 4);\n FillResult fillResult = fill.fill(fillRequest);\n fill.commit(true);\n\n\n result.setAuthToken(loginResult.getAuthToken());\n result.setUserName(loginResult.getUserName());\n result.setPersonID(loginResult.getPersonID());\n result.setSuccess(loginResult.isSuccess());\n\n\n if( !loginResult.isSuccess() || !fillResult.isSuccess() )\n {\n throw new DBException(\"Login failed\");\n }\n\n }\n catch(DBException ex)\n {\n result.setSuccess(false);\n result.setMessage(\"Error: \" + ex.getMessage());\n commit(false);\n }\n return result;\n }", "public static byte[] SaltHashPwd(String username, String password) throws Exception\n\t{\n\t\tbyte[] user;\n\t\tbyte[] salt = new byte[16];\n\t\t\n\t\tbyte[] passwordHash;\n\t\tbyte[] fixedLengthPasswordHash = new byte[30];\n\t\t\n\t\t//assign value to all the parameters\n\t\tByteBuffer userBytes = ByteBuffer.allocate(100);\n\t\tuserBytes.put(username.getBytes());\n\t\tuser = userBytes.array();\n\t\trd.nextBytes(salt);\n\t\n\t\t\n\t\t\n\t\tAes aes = new Aes(Utility.pwdEncryptKey);\n\t\tbyte[] saltedPwd = Utility.concat2byte(salt, password.getBytes());\t\t\n\t\tpasswordHash = aes.hmac.getmac(saltedPwd);\n\t\tfixedLengthPasswordHash = Arrays.copyOf(passwordHash, fixedLengthPasswordHash.length);\n\t\t\n//\t\tSystem.out.println(\"truncate hashpassword= \" +fixedLengthPasswordHash+ \", length= \"+ fixedLengthPasswordHash.length);\n\t\t\n\t\tbyte[] entryByte = Utility.concat3byte(user, salt, fixedLengthPasswordHash);\n\t\t\t\n\t\n//\t\tSystem.out.println(\"Before encrypt length: \"+entryByte.length);\n\t\t//System.out.println(\"Before encrypt: \"+ Utility.ByteToString(entryByte));\n\t\treturn entryByte;\n\t\t//return aes.encrypt(entryByte);\n\t\t\n\t}", "public static String hashPassword(String rawPassword) {\n\t\tPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();\n\t\treturn passwordEncoder.encode(rawPassword);\n\t}", "public boolean checkPassword(String plainTextPassword, String hashedPassword);", "public void createUser() {\n try {\n conn = dao.getConnection();\n\n ps = conn.prepareStatement(\"INSERT INTO Users(username, password) VALUES(?, ?)\");\n ps.setString(1, this.username);\n ps.setString(2, this.password);\n\n ps.execute();\n\n ps.close();\n conn.close();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "private String hashAndSalt(String password, byte[] salt) throws NoSuchAlgorithmException, InvalidKeySpecException {\n String hashedPassword = hash(password, salt);\n return Base64.encodeBase64String(salt) + hashedPassword;\n }", "public void changingPassword(String un, String pw, String secureQ, String secureA) {\n MongoCollection<Document> collRU = db.getCollection(\"registeredUser\");\n\n // get SHA value of given password\n SHAEncryption sha = new SHAEncryption();\n String shaPW = sha.getSHA(pw);\n\n // updating user database\n collRU.findOneAndUpdate(\n and(\n eq(\"username\", un),\n eq(\"secureQ\", secureQ),\n eq(\"secureA\", secureA)\n ),\n Updates.set(\"password\", shaPW)\n );\n\n // test (print out user after update)\n //getUser(un);\n }", "private void register(String username, String password) {\n User u = null;\n try {\n u = userDao.loadByLogin(username, password);\n } catch (Exception ignored) {}\n if (u == null) {\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(\"tmp_username\", username);\n editor.putString(\"tmp_password\", password);\n editor.commit();\n Intent intent = new Intent(LoginActivity.this, InfoActivity.class);\n startActivity(intent);\n } else {\n try {\n Toast.makeText(getApplicationContext(), \"Register Failed\", Toast.LENGTH_SHORT).show();\n } catch (Exception e) {\n Looper.prepare();\n Toast.makeText(getApplicationContext(), \"Register Failed\", Toast.LENGTH_SHORT).show();\n Looper.loop();\n }\n }\n }", "public String hashSale(String pwd){\n char[] password = pwd.toCharArray();\n byte[] sel = SALT.getBytes();\n //String Hex = Hex.encodeHexString(res);\n\n try{\n SecretKeyFactory skf = SecretKeyFactory.getInstance(\"PBKDF2WithHmacSHA512\");\n PBEKeySpec spec = new PBEKeySpec(password, sel, 3567, 512);\n SecretKey key = skf.generateSecret(spec);\n byte[] res = key.getEncoded();\n return res.toString();\n } catch (NoSuchAlgorithmException e) {\n e.printStackTrace();\n throw new RuntimeException(e);\n } catch (InvalidKeySpecException e) {\n e.printStackTrace();\n throw new RuntimeException(e);\n }\n }", "public String register() {\r\n\t\tif (password.equals(passwordConfirm)) {\r\n\t\t\tUser newUser = new User(username, password);\r\n\t\t\t\r\n\t\t\tif (dataManager.addUser(newUser)) {\r\n\t\t\t\tFacesMessage message = new FacesMessage(\"User has been registered successfully.\");\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null, message);\r\n\t\t\t\tlogger.info(\"New user has been registered.\");\r\n\t\t\t\treturn \"login.xhtml\";\r\n\t\t\t\t\r\n\t\t\t}\t\t\t\r\n\t\t\tFacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, \"\", \"A user with the same username already exists.\");\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(\"registration_form:username\", message);\t\t\t\r\n\t\t}\r\n\t\telse {\r\n\t\t\tFacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, \"\", \"Password confirmation is incorrect.\");\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(\"registration_form:password_confirm\", message);\t\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public ForgotPassword() {\n initComponents();\n SQLConnect sqlcon = new SQLConnect();\n con=sqlcon.sqlCon(con);\n }", "public boolean loginUser(String username, String password) throws SQLException /*REDUNDANT?*/ {\n String sql = String.format(\"SELECT * FROM %s WHERE %s = ?\", table_users.name, table_users.cols.username);\n\n // Hashed user password is stored by (roughly) halving the salt and placing the first\n // half in front of the hashed pw and the second half after the hashed pw\n // EXAMPLE: salt = SALT, hash_pw = HASH\n // password in database = SAHASHLT\n //Salt retrieval for verification is also done through this salt and password mix\n\n //Prep the prepared statement\n PreparedStatement prepStmnt = con.prepareStatement(sql);\n prepStmnt.setString(1, username);\n\n ResultSet user = prepStmnt.executeQuery();\n\n if (!user.next())\n return false;\n\n //Fetch stored hash\n String hashed_pw = user.getString(table_users.cols.hash_pw);\n\n //Assemble salt from stored hash\n String salt = hashed_pw.substring(0, FHALF_LENGTH) + hashed_pw.substring(hashed_pw.length()-(FHALF_LENGTH-1), hashed_pw.length());\n\n //Fetch misc user info\n int user_prvlg = user.getInt(table_users.cols.prvlg_lvl);\n int userID = user.getInt(table_users.cols.id);\n\n //Hash input pw for verification\n StringBuilder hashed_input = new StringBuilder(BCrypt.hashpw(password, salt));\n String lHalf = hashed_input.substring(FHALF_LENGTH, SALT_LENGTH);\n hashed_input.replace(FHALF_LENGTH, SALT_LENGTH, \"\");\n hashed_input.append(lHalf);\n\n if (hashed_input.toString().equals(hashed_pw)) {\n //Set globally needed user info\n GlobalInfo.setUserID(userID);\n GlobalInfo.setPrvlg_lvl(user_prvlg);\n \n //Attempt to retrieve user avatar as a File, assign default value if failure\n File profImg;\n try {\n profImg = new File(getAvatarOf(GlobalInfo.getUserID()));\n } catch (NullPointerException e) {\n profImg = new File(\"C:\\\\Users\\\\thedr\\\\IdeaProjects\\\\database\\\\src\\\\main\\\\resources\\\\imgs\\\\default-avatar.png\");\n }\n GlobalInfo.setCurrProfImg(profImg);\n\n return true;\n }\n return false;\n }" ]
[ "0.74887556", "0.67977536", "0.66882145", "0.65483254", "0.6513112", "0.650338", "0.6466867", "0.6375645", "0.6371084", "0.63693345", "0.63537407", "0.6349329", "0.6341841", "0.6266689", "0.6260948", "0.62455845", "0.61843896", "0.61361897", "0.61296636", "0.6120623", "0.6106868", "0.60893387", "0.6078598", "0.6077763", "0.60657614", "0.60517704", "0.60470116", "0.60347193", "0.602708", "0.6021165", "0.6005448", "0.59872514", "0.5964751", "0.59483886", "0.59327483", "0.59286124", "0.5922906", "0.59111476", "0.5910451", "0.590799", "0.5907203", "0.5891562", "0.5890107", "0.5881625", "0.5871801", "0.58663565", "0.5861579", "0.5860855", "0.584998", "0.58489597", "0.58452785", "0.58391124", "0.5837106", "0.58333325", "0.58323103", "0.5823989", "0.5823918", "0.58231324", "0.58170646", "0.5810685", "0.5808148", "0.58048975", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5804254", "0.5803222", "0.5803222", "0.58014935", "0.57958984", "0.5792765", "0.5789917", "0.57887745", "0.57833016", "0.57785517", "0.5773069", "0.5771548", "0.57712406", "0.5760158", "0.57534736", "0.57499456", "0.5749111", "0.5747189", "0.5745787", "0.5743944", "0.57325387", "0.5724024", "0.5719137", "0.57123685", "0.57112545", "0.5705471", "0.57003444", "0.5700047", "0.56889486", "0.5688265", "0.5687816" ]
0.0
-1
Laods the package and any subpackages from their serialized form.
public void loadPackage() { if (isLoaded) return; isLoaded = true; URL url = getClass().getResource(packageFilename); if (url == null) { throw new RuntimeException("Missing serialized package: " + packageFilename); //$NON-NLS-1$ } URI uri = URI.createURI(url.toString()); Resource resource = new EcoreResourceFactoryImpl().createResource(uri); try { resource.load(null); } catch (IOException exception) { throw new WrappedException(exception); } initializeFromLoadedEPackage(this, (EPackage)resource.getContents().get(0)); createResource(eNS_URI); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadPackage() {\r\n\t\tif (isLoaded)\r\n\t\t\treturn;\r\n\t\tisLoaded = true;\r\n\r\n\t\tURL url = getClass().getResource(packageFilename);\r\n\t\tif (url == null) {\r\n\t\t\tthrow new RuntimeException(\"Missing serialized package: \"\r\n\t\t\t\t\t+ packageFilename);\r\n\t\t}\r\n\t\tURI uri = URI.createURI(url.toString());\r\n\t\tResource resource = new EcoreResourceFactoryImpl().createResource(uri);\r\n\t\ttry {\r\n\t\t\tresource.load(null);\r\n\t\t} catch (IOException exception) {\r\n\t\t\tthrow new WrappedException(exception);\r\n\t\t}\r\n\t\tinitializeFromLoadedEPackage(this, (EPackage) resource.getContents()\r\n\t\t\t\t.get(0));\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "protected void processPackage(Package myPackage, String parentPackageName)\n {\n Element element = null;\n // local variable to store an attribute\n Attribute attribute = null;\n // local variable to store a connector\n Connector connector = null;\n // local variable to store the roles\n ConnectorEnd sourceRole = null;\n ConnectorEnd targetRole = null;\n \n String packageHierarchy = null; \n\n \n EAEventManager.getInstance().fireEAEvent(\n this,\n \"Extracting information from package \"\n + myPackage.GetName());\n\n if(parentPackageName.equals(\"\"))\n packageHierarchy = myPackage.GetName();\n else\n packageHierarchy = parentPackageName + \"/\" + myPackage.GetName(); \n \n addPackageToGlossary(myPackage, packageHierarchy);\n\n /////////////////////////////////////////////////\n // Process the classes defined in this subpackage\n /////////////////////////////////////////////////\n for (Iterator elementsIter = myPackage.GetElements()\n .iterator(); elementsIter.hasNext();) {\n\n element = (Element) elementsIter.next();\n\n // The class element is used generically\n // WARNING: in some cases, an element of type enumeration\n // ...\n if (element.GetType().equals(EA_TYPE_CLASS)) {\n\n addElementToGlossary(element, packageHierarchy);\n\n ///////////////////////////////////////////////////\n // Process the class attributes\n ///////////////////////////////////////////////////\n for (Iterator attributeIter = element.GetAttributes()\n .iterator(); attributeIter.hasNext();) {\n attribute = (Attribute) attributeIter.next();\n addAttributeToGlossary(attribute, packageHierarchy);\n }\n\n }\n }\n \n }", "public void reInit() {\n super.reInit();\n m_strPackage = null;\n if (m_subPackages != null) {\n m_subPackages.clear();\n }\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\torg.abchip.mimo.biz.model.party.contact.ContactPackage theContactPackage_1 = (org.abchip.mimo.biz.model.party.contact.ContactPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.biz.model.party.contact.ContactPackage.eNS_URI);\n\t\tUomPackage theUomPackage = (UomPackage)EPackage.Registry.INSTANCE.getEPackage(UomPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tSchedulePackage theSchedulePackage = (SchedulePackage)EPackage.Registry.INSTANCE.getEPackage(SchedulePackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tInventoryPackage theInventoryPackage = (InventoryPackage)EPackage.Registry.INSTANCE.getEPackage(InventoryPackage.eNS_URI);\n\t\tLedgerPackage theLedgerPackage = (LedgerPackage)EPackage.Registry.INSTANCE.getEPackage(LedgerPackage.eNS_URI);\n\t\tProductPackage theProductPackage = (ProductPackage)EPackage.Registry.INSTANCE.getEPackage(ProductPackage.eNS_URI);\n\t\tFeaturePackage theFeaturePackage = (FeaturePackage)EPackage.Registry.INSTANCE.getEPackage(FeaturePackage.eNS_URI);\n\t\tOpportunityPackage theOpportunityPackage = (OpportunityPackage)EPackage.Registry.INSTANCE.getEPackage(OpportunityPackage.eNS_URI);\n\t\tGeoPackage theGeoPackage = (GeoPackage)EPackage.Registry.INSTANCE.getEPackage(GeoPackage.eNS_URI);\n\t\tTaxPackage theTaxPackage = (TaxPackage)EPackage.Registry.INSTANCE.getEPackage(TaxPackage.eNS_URI);\n\t\tBizPackage theBizPackage = (BizPackage)EPackage.Registry.INSTANCE.getEPackage(BizPackage.eNS_URI);\n\t\tLoginPackage theLoginPackage = (LoginPackage)EPackage.Registry.INSTANCE.getEPackage(LoginPackage.eNS_URI);\n\t\tAgreementPackage theAgreementPackage = (AgreementPackage)EPackage.Registry.INSTANCE.getEPackage(AgreementPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getInvoiceType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceContentType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceContent());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssocType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssoc());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceNoteEClass.getESuperTypes().add(theBizPackage.getBizEntityNote());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoice());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(invoiceEClass, Invoice.class, \"Invoice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoice_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_BillingAccount(), thePaymentPackage.getBillingAccount(), null, \"billingAccount\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_CurrencyUom(), theUomPackage.getUom(), null, \"currencyUom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_DueDate(), ecorePackage.getEDate(), \"dueDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceAttributes(), this.getInvoiceAttribute(), null, \"invoiceAttributes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceDate(), ecorePackage.getEDate(), \"invoiceDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceItems(), this.getInvoiceItem(), null, \"invoiceItems\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceMessage(), ecorePackage.getEString(), \"invoiceMessage\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceNotes(), this.getInvoiceNote(), null, \"invoiceNotes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceStatuses(), this.getInvoiceStatus(), null, \"invoiceStatuses\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_PaidDate(), ecorePackage.getEDate(), \"paidDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RecurrenceInfo(), theSchedulePackage.getRecurrenceInfo(), null, \"recurrenceInfo\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_ReferenceNumber(), ecorePackage.getEString(), \"referenceNumber\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(invoiceEClass, ecorePackage.getEBigDecimal(), \"getTotal\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(invoiceAttributeEClass, InvoiceAttribute.class, \"InvoiceAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceAttribute_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContactMechEClass, InvoiceContactMech.class, \"InvoiceContactMech\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContactMech_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMechPurposeType(), theContactPackage_1.getContactMechPurposeType(), null, \"contactMechPurposeType\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentEClass, InvoiceContent.class, \"InvoiceContent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContent_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_Content(), theContentPackage.getContent(), null, \"content\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_InvoiceContentType(), this.getInvoiceContentType(), null, \"invoiceContentType\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentTypeEClass, InvoiceContentType.class, \"InvoiceContentType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceContentType_InvoiceContentTypeId(), ecorePackage.getEString(), \"invoiceContentTypeId\", null, 1, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContentType_ParentType(), this.getInvoiceContentType(), null, \"parentType\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemEClass, InvoiceItem.class, \"InvoiceItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItem_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InventoryItem(), theInventoryPackage.getInventoryItem(), null, \"inventoryItem\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideGlAccount(), theLedgerPackage.getGlAccount(), null, \"overrideGlAccount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideOrgParty(), thePartyPackage_1.getParty(), null, \"overrideOrgParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceId(), ecorePackage.getEString(), \"parentInvoiceId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceItemSeqId(), ecorePackage.getEString(), \"parentInvoiceItemSeqId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Product(), theProductPackage.getProduct(), null, \"product\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_ProductFeature(), theFeaturePackage.getProductFeature(), null, \"productFeature\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_SalesOpportunity(), theOpportunityPackage.getSalesOpportunity(), null, \"salesOpportunity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthGeo(), theGeoPackage.getGeo(), null, \"taxAuthGeo\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthParty(), thePartyPackage_1.getParty(), null, \"taxAuthParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthorityRateSeq(), theTaxPackage.getTaxAuthorityRateProduct(), null, \"taxAuthorityRateSeq\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_TaxableFlag(), ecorePackage.getEBoolean(), \"taxableFlag\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Uom(), theUomPackage.getUom(), null, \"uom\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocEClass, InvoiceItemAssoc.class, \"InvoiceItemAssoc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemAssoc_InvoiceItemAssocType(), this.getInvoiceItemAssocType(), null, \"invoiceItemAssocType\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdFrom(), ecorePackage.getEString(), \"invoiceIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdTo(), ecorePackage.getEString(), \"invoiceIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdFrom(), ecorePackage.getEString(), \"invoiceItemSeqIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdTo(), ecorePackage.getEString(), \"invoiceItemSeqIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdTo(), thePartyPackage_1.getParty(), null, \"partyIdTo\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocTypeEClass, InvoiceItemAssocType.class, \"InvoiceItemAssocType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAssocType_InvoiceItemAssocTypeId(), ecorePackage.getEString(), \"invoiceItemAssocTypeId\", null, 1, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssocType_ParentType(), this.getInvoiceItemAssocType(), null, \"parentType\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAttributeEClass, InvoiceItemAttribute.class, \"InvoiceItemAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeEClass, InvoiceItemType.class, \"InvoiceItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemType_InvoiceItemTypeId(), ecorePackage.getEString(), \"invoiceItemTypeId\", null, 1, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_DefaultGlAccount(), theLedgerPackage.getGlAccount(), null, \"defaultGlAccount\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeAttrs(), this.getInvoiceItemTypeAttr(), null, \"invoiceItemTypeAttrs\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeGlAccounts(), this.getInvoiceItemTypeGlAccount(), null, \"invoiceItemTypeGlAccounts\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_ParentType(), this.getInvoiceItemType(), null, \"parentType\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeAttrEClass, InvoiceItemTypeAttr.class, \"InvoiceItemTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeAttr_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeGlAccountEClass, InvoiceItemTypeGlAccount.class, \"InvoiceItemTypeGlAccount\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_OrganizationParty(), thePartyPackage_1.getParty(), null, \"organizationParty\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_GlAccount(), theLedgerPackage.getGlAccount(), null, \"glAccount\", null, 0, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeMapEClass, InvoiceItemTypeMap.class, \"InvoiceItemTypeMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeMap_InvoiceItemMapKey(), ecorePackage.getEString(), \"invoiceItemMapKey\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceNoteEClass, InvoiceNote.class, \"InvoiceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceNote_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceRoleEClass, InvoiceRole.class, \"InvoiceRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceRole_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_DatetimePerformed(), ecorePackage.getEDate(), \"datetimePerformed\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_Percentage(), ecorePackage.getEBigDecimal(), \"percentage\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceStatusEClass, InvoiceStatus.class, \"InvoiceStatus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceStatus_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceStatus_StatusDate(), ecorePackage.getEDate(), \"statusDate\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_ChangeByUserLogin(), theLoginPackage.getUserLogin(), null, \"changeByUserLogin\", null, 0, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermEClass, InvoiceTerm.class, \"InvoiceTerm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceTermId(), ecorePackage.getEString(), \"invoiceTermId\", null, 1, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_Invoice(), this.getInvoice(), null, \"invoice\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_InvoiceTermAttributes(), this.getInvoiceTermAttribute(), null, \"invoiceTermAttributes\", null, 0, -1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermDays(), ecorePackage.getELong(), \"termDays\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_TermType(), theAgreementPackage.getTermType(), null, \"termType\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermValue(), ecorePackage.getEBigDecimal(), \"termValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TextValue(), ecorePackage.getEString(), \"textValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_UomId(), ecorePackage.getEString(), \"uomId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermAttributeEClass, InvoiceTermAttribute.class, \"InvoiceTermAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTermAttribute_InvoiceTerm(), this.getInvoiceTerm(), null, \"invoiceTerm\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeEClass, InvoiceType.class, \"InvoiceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceType_InvoiceTypeId(), ecorePackage.getEString(), \"invoiceTypeId\", null, 1, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_InvoiceTypeAttrs(), this.getInvoiceTypeAttr(), null, \"invoiceTypeAttrs\", null, 0, -1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_ParentType(), this.getInvoiceType(), null, \"parentType\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeAttrEClass, InvoiceTypeAttr.class, \"InvoiceTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTypeAttr_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// org.abchip.mimo.core.base.invocation\n\t\tcreateOrgAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t\t// mimo-ent-slot-constraints\n\t\tcreateMimoentslotconstraintsAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCapellacorePackage theCapellacorePackage = (CapellacorePackage)EPackage.Registry.INSTANCE.getEPackage(CapellacorePackage.eNS_URI);\n\t\tFaPackage theFaPackage = (FaPackage)EPackage.Registry.INSTANCE.getEPackage(FaPackage.eNS_URI);\n\t\tRequirementPackage theRequirementPackage = (RequirementPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementPackage.eNS_URI);\n\t\tCapellacommonPackage theCapellacommonPackage = (CapellacommonPackage)EPackage.Registry.INSTANCE.getEPackage(CapellacommonPackage.eNS_URI);\n\t\tInformationPackage theInformationPackage = (InformationPackage)EPackage.Registry.INSTANCE.getEPackage(InformationPackage.eNS_URI);\n\t\tCommunicationPackage theCommunicationPackage = (CommunicationPackage)EPackage.Registry.INSTANCE.getEPackage(CommunicationPackage.eNS_URI);\n\t\tModellingcorePackage theModellingcorePackage = (ModellingcorePackage)EPackage.Registry.INSTANCE.getEPackage(ModellingcorePackage.eNS_URI);\n\t\tEpbsPackage theEpbsPackage = (EpbsPackage)EPackage.Registry.INSTANCE.getEPackage(EpbsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tblockArchitecturePkgEClass.getESuperTypes().add(theCapellacorePackage.getModellingArchitecturePkg());\n\t\tblockArchitectureEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalArchitecture());\n\t\tblockEClass.getESuperTypes().add(theCapellacorePackage.getModellingBlock());\n\t\tblockEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalBlock());\n\t\tcomponentArchitectureEClass.getESuperTypes().add(this.getBlockArchitecture());\n\t\tcomponentEClass.getESuperTypes().add(this.getBlock());\n\t\tcomponentEClass.getESuperTypes().add(theInformationPackage.getPartitionableElement());\n\t\tcomponentEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tcomponentEClass.getESuperTypes().add(theCommunicationPackage.getCommunicationLinkExchanger());\n\t\tabstractActorEClass.getESuperTypes().add(this.getComponent());\n\t\tabstractActorEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tpartEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tpartEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tpartEClass.getESuperTypes().add(this.getDeployableElement());\n\t\tpartEClass.getESuperTypes().add(this.getDeploymentTarget());\n\t\tpartEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tarchitectureAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tcomponentAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tsystemComponentEClass.getESuperTypes().add(this.getComponent());\n\t\tsystemComponentEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCommunicationPackage.getMessageReferencePkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractDependenciesPkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractExchangeItemPkg());\n\t\tinterfaceEClass.getESuperTypes().add(theCapellacorePackage.getGeneralClass());\n\t\tinterfaceEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tinterfaceImplementationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceUseEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tprovidedInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\trequiredInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tinterfaceAllocatorEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tactorCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tsystemComponentCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tcomponentContextEClass.getESuperTypes().add(this.getComponent());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theInformationPackage.getAbstractEventOperation());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theModellingcorePackage.getFinalizableElement());\n\t\tdeployableElementEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tdeploymentTargetEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tabstractDeploymentLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tabstractPathInvolvedElementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvedElement());\n\t\tabstractPhysicalArtifactEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalLinkEndEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalPathLinkEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalPathLink());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalLinkCategoryEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalLinkEndEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalLinkRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalPathEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getInvolverElement());\n\t\tphysicalPathInvolvementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvement());\n\t\tphysicalPathReferenceEClass.getESuperTypes().add(this.getPhysicalPathInvolvement());\n\t\tphysicalPathRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPort());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalPortEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalPortRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(blockArchitecturePkgEClass, BlockArchitecturePkg.class, \"BlockArchitecturePkg\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockArchitectureEClass, BlockArchitecture.class, \"BlockArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlockArchitecture_OwnedRequirementPkgs(), theRequirementPackage.getRequirementsPkg(), null, \"ownedRequirementPkgs\", null, 0, -1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisionedArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatingArchitecture(), \"provisionedArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisioningArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatedArchitecture(), \"provisioningArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatedArchitectures(), this.getBlockArchitecture(), null, \"allocatedArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatingArchitectures(), this.getBlockArchitecture(), null, \"allocatingArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedStateMachines(), theCapellacommonPackage.getStateMachine(), null, \"ownedStateMachines\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentArchitectureEClass, ComponentArchitecture.class, \"ComponentArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentEClass, Component.class, \"Component\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponent_OwnedInterfaceUses(), this.getInterfaceUse(), null, \"ownedInterfaceUses\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaceLinks(), this.getInterfaceUse(), this.getInterfaceUse_InterfaceUser(), \"usedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaces(), this.getInterface(), this.getInterface_UserComponents(), \"usedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedInterfaceImplementations(), this.getInterfaceImplementation(), null, \"ownedInterfaceImplementations\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaceLinks(), this.getInterfaceImplementation(), this.getInterfaceImplementation_InterfaceImplementor(), \"implementedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaces(), this.getInterface(), this.getInterface_ImplementorComponents(), \"implementedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisionedComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatingComponent(), \"provisionedComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisioningComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatedComponent(), \"provisioningComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatedComponents(), this.getComponent(), null, \"allocatedComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedComponentPorts(), theFaPackage.getComponentPort(), null, \"containedComponentPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedParts(), this.getPart(), null, \"containedParts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedPhysicalPorts(), this.getPhysicalPort(), null, \"containedPhysicalPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalPath(), this.getPhysicalPath(), null, \"ownedPhysicalPath\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinks(), this.getPhysicalLink(), null, \"ownedPhysicalLinks\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinkCategories(), this.getPhysicalLinkCategory(), null, \"ownedPhysicalLinkCategories\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractActorEClass, AbstractActor.class, \"AbstractActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(partEClass, Part.class, \"Part\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPart_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedDeploymentLinks(), this.getAbstractDeploymentLink(), null, \"ownedDeploymentLinks\", null, 0, -1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployedParts(), this.getPart(), null, \"deployedParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployingParts(), this.getPart(), null, \"deployingParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedAbstractType(), theModellingcorePackage.getAbstractType(), null, \"ownedAbstractType\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MaxValue(), ecorePackage.getEInt(), \"maxValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MinValue(), ecorePackage.getEInt(), \"minValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_CurrentMass(), ecorePackage.getEInt(), \"currentMass\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isOverhead\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isSatured\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEInt(), \"computeMass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, null, \"print\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(architectureAllocationEClass, ArchitectureAllocation.class, \"ArchitectureAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArchitectureAllocation_AllocatedArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisioningArchitectureAllocations(), \"allocatedArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArchitectureAllocation_AllocatingArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisionedArchitectureAllocations(), \"allocatingArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentAllocationEClass, ComponentAllocation.class, \"ComponentAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentAllocation_AllocatedComponent(), this.getComponent(), this.getComponent_ProvisioningComponentAllocations(), \"allocatedComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponentAllocation_AllocatingComponent(), this.getComponent(), this.getComponent_ProvisionedComponentAllocations(), \"allocatingComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(systemComponentEClass, SystemComponent.class, \"SystemComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSystemComponent_DataComponent(), ecorePackage.getEBoolean(), \"dataComponent\", null, 0, 1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_DataType(), theCapellacorePackage.getClassifier(), null, \"dataType\", null, 0, -1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_ParticipationsInCapabilityRealizations(), this.getSystemComponentCapabilityRealizationInvolvement(), null, \"participationsInCapabilityRealizations\", null, 0, -1, SystemComponent.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfacePkgEClass, InterfacePkg.class, \"InterfacePkg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfacePkg_OwnedInterfaces(), this.getInterface(), null, \"ownedInterfaces\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfacePkg_OwnedInterfacePkgs(), this.getInterfacePkg(), null, \"ownedInterfacePkgs\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceEClass, Interface.class, \"Interface\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInterface_Mechanism(), ecorePackage.getEString(), \"mechanism\", null, 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInterface_Structural(), ecorePackage.getEBoolean(), \"structural\", \"true\", 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ImplementorComponents(), this.getComponent(), this.getComponent_ImplementedInterfaces(), \"implementorComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_UserComponents(), this.getComponent(), this.getComponent_UsedInterfaces(), \"userComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceImplementations(), this.getInterfaceImplementation(), null, \"interfaceImplementations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceUses(), this.getInterfaceUse(), null, \"interfaceUses\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvisioningInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatedInterface(), \"provisioningInterfaceAllocations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingInterfaces(), this.getInterface(), null, \"allocatingInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ExchangeItems(), theInformationPackage.getExchangeItem(), null, \"exchangeItems\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_OwnedExchangeItemAllocations(), this.getExchangeItemAllocation(), null, \"ownedExchangeItemAllocations\", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponents(), this.getComponent(), null, \"requiringComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponentPorts(), theFaPackage.getComponentPort(), null, \"requiringComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponents(), this.getComponent(), null, \"providingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponentPorts(), theFaPackage.getComponentPort(), null, \"providingComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingLogicalInterfaces(), this.getInterface(), null, \"realizingLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedContextInterfaces(), this.getInterface(), null, \"realizedContextInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingPhysicalInterfaces(), this.getInterface(), null, \"realizingPhysicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedLogicalInterfaces(), this.getInterface(), null, \"realizedLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceImplementationEClass, InterfaceImplementation.class, \"InterfaceImplementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceImplementation_InterfaceImplementor(), this.getComponent(), this.getComponent_ImplementedInterfaceLinks(), \"interfaceImplementor\", null, 1, 1, InterfaceImplementation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceImplementation_ImplementedInterface(), this.getInterface(), null, \"implementedInterface\", null, 1, 1, InterfaceImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceUseEClass, InterfaceUse.class, \"InterfaceUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceUse_InterfaceUser(), this.getComponent(), this.getComponent_UsedInterfaceLinks(), \"interfaceUser\", null, 1, 1, InterfaceUse.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceUse_UsedInterface(), this.getInterface(), null, \"usedInterface\", null, 1, 1, InterfaceUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(providedInterfaceLinkEClass, ProvidedInterfaceLink.class, \"ProvidedInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProvidedInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, ProvidedInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(requiredInterfaceLinkEClass, RequiredInterfaceLink.class, \"RequiredInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRequiredInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, RequiredInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocationEClass, InterfaceAllocation.class, \"InterfaceAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocation_AllocatedInterface(), this.getInterface(), this.getInterface_ProvisioningInterfaceAllocations(), \"allocatedInterface\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocation_AllocatingInterfaceAllocator(), this.getInterfaceAllocator(), this.getInterfaceAllocator_ProvisionedInterfaceAllocations(), \"allocatingInterfaceAllocator\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocatorEClass, InterfaceAllocator.class, \"InterfaceAllocator\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocator_OwnedInterfaceAllocations(), this.getInterfaceAllocation(), null, \"ownedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_ProvisionedInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatingInterfaceAllocator(), \"provisionedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_AllocatedInterfaces(), this.getInterface(), null, \"allocatedInterfaces\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(actorCapabilityRealizationInvolvementEClass, ActorCapabilityRealizationInvolvement.class, \"ActorCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(systemComponentCapabilityRealizationInvolvementEClass, SystemComponentCapabilityRealizationInvolvement.class, \"SystemComponentCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentContextEClass, ComponentContext.class, \"ComponentContext\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(exchangeItemAllocationEClass, ExchangeItemAllocation.class, \"ExchangeItemAllocation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getExchangeItemAllocation_SendProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"sendProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExchangeItemAllocation_ReceiveProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"receiveProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatedItem(), theInformationPackage.getExchangeItem(), null, \"allocatedItem\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatingInterface(), this.getInterface(), null, \"allocatingInterface\", null, 0, 1, ExchangeItemAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deployableElementEClass, DeployableElement.class, \"DeployableElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeployableElement_DeployingLinks(), this.getAbstractDeploymentLink(), null, \"deployingLinks\", null, 0, -1, DeployableElement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deploymentTargetEClass, DeploymentTarget.class, \"DeploymentTarget\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeploymentTarget_DeploymentLinks(), this.getAbstractDeploymentLink(), null, \"deploymentLinks\", null, 0, -1, DeploymentTarget.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractDeploymentLinkEClass, AbstractDeploymentLink.class, \"AbstractDeploymentLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractDeploymentLink_DeployedElement(), this.getDeployableElement(), null, \"deployedElement\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAbstractDeploymentLink_Location(), this.getDeploymentTarget(), null, \"location\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPathInvolvedElementEClass, AbstractPathInvolvedElement.class, \"AbstractPathInvolvedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractPhysicalArtifactEClass, AbstractPhysicalArtifact.class, \"AbstractPhysicalArtifact\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalArtifact_AllocatorConfigurationItems(), theEpbsPackage.getConfigurationItem(), theEpbsPackage.getConfigurationItem_AllocatedPhysicalArtifacts(), \"allocatorConfigurationItems\", null, 0, -1, AbstractPhysicalArtifact.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalLinkEndEClass, AbstractPhysicalLinkEnd.class, \"AbstractPhysicalLinkEnd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalLinkEnd_InvolvedLinks(), this.getPhysicalLink(), null, \"involvedLinks\", null, 0, -1, AbstractPhysicalLinkEnd.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalPathLinkEClass, AbstractPhysicalPathLink.class, \"AbstractPhysicalPathLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalLinkEClass, PhysicalLink.class, \"PhysicalLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLink_LinkEnds(), this.getAbstractPhysicalLinkEnd(), null, \"linkEnds\", null, 2, 2, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedComponentExchangeFunctionalExchangeAllocations(), theFaPackage.getComponentExchangeFunctionalExchangeAllocation(), null, \"ownedComponentExchangeFunctionalExchangeAllocations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkEnds(), this.getPhysicalLinkEnd(), null, \"ownedPhysicalLinkEnds\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkRealizations(), this.getPhysicalLinkRealization(), null, \"ownedPhysicalLinkRealizations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_Categories(), this.getPhysicalLinkCategory(), this.getPhysicalLinkCategory_Links(), \"categories\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_SourcePhysicalPort(), this.getPhysicalPort(), null, \"sourcePhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_TargetPhysicalPort(), this.getPhysicalPort(), null, \"targetPhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizedPhysicalLinks(), this.getPhysicalLink(), null, \"realizedPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizingPhysicalLinks(), this.getPhysicalLink(), null, \"realizingPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkCategoryEClass, PhysicalLinkCategory.class, \"PhysicalLinkCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkCategory_Links(), this.getPhysicalLink(), this.getPhysicalLink_Categories(), \"links\", null, 0, -1, PhysicalLinkCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkEndEClass, PhysicalLinkEnd.class, \"PhysicalLinkEnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkEnd_Port(), this.getPhysicalPort(), null, \"port\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLinkEnd_Part(), this.getPart(), null, \"part\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkRealizationEClass, PhysicalLinkRealization.class, \"PhysicalLinkRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPathEClass, PhysicalPath.class, \"PhysicalPath\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPath_InvolvedLinks(), this.getAbstractPhysicalPathLink(), null, \"involvedLinks\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"ownedPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_FirstPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"firstPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathRealizations(), this.getPhysicalPathRealization(), null, \"ownedPhysicalPathRealizations\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizedPhysicalPaths(), this.getPhysicalPath(), null, \"realizedPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizingPhysicalPaths(), this.getPhysicalPath(), null, \"realizingPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathInvolvementEClass, PhysicalPathInvolvement.class, \"PhysicalPathInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathInvolvement_NextInvolvements(), this.getPhysicalPathInvolvement(), null, \"nextInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_PreviousInvolvements(), this.getPhysicalPathInvolvement(), null, \"previousInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedElement(), this.getAbstractPathInvolvedElement(), null, \"involvedElement\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedComponent(), this.getComponent(), null, \"involvedComponent\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathReferenceEClass, PhysicalPathReference.class, \"PhysicalPathReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathReference_ReferencedPhysicalPath(), this.getPhysicalPath(), null, \"referencedPhysicalPath\", null, 0, 1, PhysicalPathReference.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathRealizationEClass, PhysicalPathRealization.class, \"PhysicalPathRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPortEClass, PhysicalPort.class, \"PhysicalPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPort_OwnedComponentPortAllocations(), theFaPackage.getComponentPortAllocation(), null, \"ownedComponentPortAllocations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_OwnedPhysicalPortRealizations(), this.getPhysicalPortRealization(), null, \"ownedPhysicalPortRealizations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_AllocatedComponentPorts(), theFaPackage.getComponentPort(), theFaPackage.getComponentPort_AllocatingPhysicalPorts(), \"allocatedComponentPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizedPhysicalPorts(), this.getPhysicalPort(), null, \"realizedPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizingPhysicalPorts(), this.getPhysicalPort(), null, \"realizingPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPortRealizationEClass, PhysicalPortRealization.class, \"PhysicalPortRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.polarsys.org/kitalpha/dsl/2007/dslfactory\n\t\tcreateDslfactoryAnnotations();\n\t\t// http://www.polarsys.org/kitalpha/ecore/documentation\n\t\tcreateDocumentationAnnotations();\n\t\t// http://www.polarsys.org/capella/semantic\n\t\tcreateSemanticAnnotations();\n\t\t// http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping\n\t\tcreateMappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/BusinessInformation\n\t\tcreateBusinessInformationAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/UML2Mapping\n\t\tcreateUML2MappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment\n\t\tcreateSegmentAnnotations();\n\t\t// http://www.polarsys.org/capella/derived\n\t\tcreateDerivedAnnotations();\n\t\t// aspect\n\t\tcreateAspectAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Ignore\n\t\tcreateIgnoreAnnotations();\n\t}", "public void setPackage()\n {\n ensureLoaded();\n m_flags.setPackage();\n setModified(true);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tjTypeEClass.getESuperTypes().add(this.getJElement());\n\t\tjTypedElementEClass.getESuperTypes().add(this.getJElement());\n\t\tjPrimitiveEClass.getESuperTypes().add(this.getJType());\n\t\tjEnumerationEClass.getESuperTypes().add(this.getJType());\n\t\tjClassEClass.getESuperTypes().add(this.getJType());\n\t\tjAttributeEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjOperationEClass.getESuperTypes().add(this.getJElement());\n\t\tjParameterEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjRelationshipEClass.getESuperTypes().add(this.getJElement());\n\t\tjRoleEClass.getESuperTypes().add(this.getJElement());\n\t\tjLiteralEClass.getESuperTypes().add(this.getJElement());\n\t\tjPackageEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateMachineEClass.getESuperTypes().add(this.getJElement());\n\t\tjTransitionEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateEClass.getESuperTypes().add(this.getJElement());\n\t\tjGuardEClass.getESuperTypes().add(this.getJElement());\n\t\tjModelEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiMenuItemEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAttributeGroupEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiFilterEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAliasEClass.getESuperTypes().add(this.getJElement());\n\t\tjInfoEClass.getESuperTypes().add(this.getJElement());\n\t\tjSubmodelEClass.getESuperTypes().add(this.getJElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(jElementEClass, JElement.class, \"JElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJElement_Uuid(), ecorePackage.getEString(), \"uuid\", null, 1, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_ShortName(), ecorePackage.getEString(), \"shortName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_FullName(), ecorePackage.getEString(), \"fullName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Framework(), ecorePackage.getEBoolean(), \"framework\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Participates(), this.getJLayer(), \"participates\", null, 0, -1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Visibility(), this.getJVisibility(), \"visibility\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTypeEClass, JType.class, \"JType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(jTypedElementEClass, JTypedElement.class, \"JTypedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTypedElement_Type(), this.getJType(), null, \"type\", null, 1, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Ordered(), ecorePackage.getEBoolean(), \"ordered\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPrimitiveEClass, JPrimitive.class, \"JPrimitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPrimitive_Package(), this.getJPackage(), this.getJPackage_Primitives(), \"package\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJPrimitive_UseForIdType(), ecorePackage.getEBoolean(), \"useForIdType\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jEnumerationEClass, JEnumeration.class, \"JEnumeration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJEnumeration_Package(), this.getJPackage(), this.getJPackage_Enumerations(), \"package\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_Literals(), this.getJLiteral(), this.getJLiteral_Enumeration(), \"literals\", null, 0, -1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_ClassRepresentation(), this.getJClass(), this.getJClass_FixedEnum(), \"classRepresentation\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jClassEClass, JClass.class, \"JClass\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJClass_Abstract(), ecorePackage.getEBoolean(), \"abstract\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_StateMachines(), this.getJStateMachine(), this.getJStateMachine_OwnerClass(), \"stateMachines\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Operations(), this.getJOperation(), this.getJOperation_OwnerClass(), \"operations\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributeOrder(), this.getJUIAttributeGroup(), null, \"attributeOrder\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributesForListing(), this.getJAttribute(), null, \"attributesForListing\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_FixedEnum(), this.getJEnumeration(), this.getJEnumeration_ClassRepresentation(), \"fixedEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenant(), ecorePackage.getEBoolean(), \"representsTenant\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_TenantMember(), ecorePackage.getEBoolean(), \"tenantMember\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Representation(), this.getJAttribute(), null, \"representation\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnum(), ecorePackage.getEBoolean(), \"representsEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenantUser(), ecorePackage.getEBoolean(), \"representsTenantUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsUser(), ecorePackage.getEBoolean(), \"representsUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Supertype(), this.getJClass(), null, \"supertype\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Package(), this.getJPackage(), this.getJPackage_Classes(), \"package\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Roles(), this.getJRole(), this.getJRole_OwnerClass(), \"roles\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Attributes(), this.getJAttribute(), this.getJAttribute_OwnerClass(), \"attributes\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_BusinessSingleton(), ecorePackage.getEBoolean(), \"businessSingleton\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Aliases(), this.getJUIAlias(), this.getJUIAlias_OwnerClass(), \"aliases\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnumValue(), ecorePackage.getEBoolean(), \"representsEnumValue\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jAttributeEClass, JAttribute.class, \"JAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJAttribute_Placeholder(), ecorePackage.getEString(), \"placeholder\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Regexp(), ecorePackage.getEString(), \"regexp\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Mandatory(), ecorePackage.getEBoolean(), \"mandatory\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Decimals(), ecorePackage.getEInt(), \"decimals\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Technical(), ecorePackage.getEBoolean(), \"technical\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJAttribute_OwnerClass(), this.getJClass(), this.getJClass_Attributes(), \"ownerClass\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_UiNoSearch(), ecorePackage.getEBoolean(), \"uiNoSearch\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_RepresentsId(), ecorePackage.getEBoolean(), \"representsId\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jOperationEClass, JOperation.class, \"JOperation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJOperation_ClassBased(), ecorePackage.getEBoolean(), \"classBased\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_OwnerClass(), this.getJClass(), this.getJClass_Operations(), \"ownerClass\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Parameters(), this.getJParameter(), this.getJParameter_OwnerOperation(), \"parameters\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Transition(), this.getJTransition(), this.getJTransition_ExecutingOperation(), \"transition\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Bulk(), ecorePackage.getEBoolean(), \"bulk\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Kind(), this.getJOperationKind(), \"kind\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_UiMustConfirm(), ecorePackage.getEBoolean(), \"uiMustConfirm\", \"false\", 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jParameterEClass, JParameter.class, \"JParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJParameter_OwnerOperation(), this.getJOperation(), this.getJOperation_Parameters(), \"ownerOperation\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Input(), ecorePackage.getEBoolean(), \"input\", \"true\", 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRelationshipEClass, JRelationship.class, \"JRelationship\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJRelationship_Package(), this.getJPackage(), this.getJPackage_Relationships(), \"package\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRelationship_Roles(), this.getJRole(), this.getJRole_OwnerRelationship(), \"roles\", null, 2, 2, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRelationship_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRoleEClass, JRole.class, \"JRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJRole_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Navigable(), ecorePackage.getEBoolean(), \"navigable\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Ordered(), ecorePackage.getEBoolean(), \"ordered\", \"true\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerRelationship(), this.getJRelationship(), this.getJRelationship_Roles(), \"ownerRelationship\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedExpression(), ecorePackage.getEString(), \"derivedExpression\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedDescription(), ecorePackage.getEString(), \"derivedDescription\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Kind(), this.getJAssociationKind(), \"kind\", \"ASSOCIATION\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_OptionScript(), ecorePackage.getEString(), \"optionScript\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerClass(), this.getJClass(), this.getJClass_Roles(), \"ownerClass\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jLiteralEClass, JLiteral.class, \"JLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJLiteral_Enumeration(), this.getJEnumeration(), this.getJEnumeration_Literals(), \"enumeration\", null, 0, 1, JLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPackageEClass, JPackage.class, \"JPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPackage_Enumerations(), this.getJEnumeration(), this.getJEnumeration_Package(), \"enumerations\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Primitives(), this.getJPrimitive(), this.getJPrimitive_Package(), \"primitives\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Relationships(), this.getJRelationship(), this.getJRelationship_Package(), \"relationships\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Children(), this.getJPackage(), this.getJPackage_Parent(), \"children\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Parent(), this.getJPackage(), this.getJPackage_Children(), \"parent\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_OwnerModel(), this.getJModel(), this.getJModel_Packages(), \"ownerModel\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Classes(), this.getJClass(), this.getJClass_Package(), \"classes\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateMachineEClass, JStateMachine.class, \"JStateMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJStateMachine_OwnerClass(), this.getJClass(), this.getJClass_StateMachines(), \"ownerClass\", null, 0, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_States(), this.getJState(), this.getJState_OwnerStateMachine(), \"states\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_Transitions(), this.getJTransition(), this.getJTransition_StateMachine(), \"transitions\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_CorrespondingEnum(), this.getJEnumeration(), null, \"correspondingEnum\", null, 1, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTransitionEClass, JTransition.class, \"JTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTransition_StateMachine(), this.getJStateMachine(), this.getJStateMachine_Transitions(), \"stateMachine\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_Guard(), this.getJGuard(), this.getJGuard_Transition(), \"guard\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ToState(), this.getJState(), this.getJState_IncomingTransitions(), \"toState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_FromState(), this.getJState(), this.getJState_OutgoingTransitions(), \"fromState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ExecutingOperation(), this.getJOperation(), this.getJOperation_Transition(), \"executingOperation\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateEClass, JState.class, \"JState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJState_OwnerStateMachine(), this.getJStateMachine(), this.getJStateMachine_States(), \"ownerStateMachine\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_IncomingTransitions(), this.getJTransition(), this.getJTransition_ToState(), \"incomingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_OutgoingTransitions(), this.getJTransition(), this.getJTransition_FromState(), \"outgoingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_InitialState(), ecorePackage.getEBoolean(), \"initialState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_FinalState(), ecorePackage.getEBoolean(), \"finalState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jGuardEClass, JGuard.class, \"JGuard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJGuard_Transition(), this.getJTransition(), this.getJTransition_Guard(), \"transition\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Expression(), ecorePackage.getEString(), \"expression\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jModelEClass, JModel.class, \"JModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJModel_Packages(), this.getJPackage(), this.getJPackage_OwnerModel(), \"packages\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJModel_PackagePrefix(), ecorePackage.getEString(), \"packagePrefix\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_ApplicationTop(), this.getJPackage(), null, \"applicationTop\", null, 1, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_RootMenuItems(), this.getJUIMenuItem(), null, \"rootMenuItems\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_Info(), this.getJInfo(), null, \"info\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiMenuItemEClass, JUIMenuItem.class, \"JUIMenuItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIMenuItem_Children(), this.getJUIMenuItem(), this.getJUIMenuItem_Parent(), \"children\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Parent(), this.getJUIMenuItem(), this.getJUIMenuItem_Children(), \"parent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Represent(), this.getJClass(), null, \"represent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Uifilters(), this.getJUIFilter(), null, \"uifilters\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIMenuItem_Type(), this.getJMenuItemType(), \"type\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Alias(), this.getJUIAlias(), null, \"alias\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAttributeGroupEClass, JUIAttributeGroup.class, \"JUIAttributeGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAttributeGroup_Attributes(), this.getJAttribute(), null, \"attributes\", null, 0, -1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIAttributeGroup_Position(), ecorePackage.getEInt(), \"position\", null, 0, 1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiFilterEClass, JUIFilter.class, \"JUIFilter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIFilter_Attribute(), this.getJAttribute(), null, \"attribute\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Operator(), this.getJOperator(), \"operator\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAliasEClass, JUIAlias.class, \"JUIAlias\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAlias_OwnerClass(), this.getJClass(), this.getJClass_Aliases(), \"ownerClass\", null, 1, 1, JUIAlias.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jInfoEClass, JInfo.class, \"JInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJInfo_Submodels(), this.getJSubmodel(), null, \"submodels\", null, 0, -1, JInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jSubmodelEClass, JSubmodel.class, \"JSubmodel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJSubmodel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, JSubmodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jVisibilityEEnum, JVisibility.class, \"JVisibility\");\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PUBLIC);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PROTECTED);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PACKAGE);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PRIVATE);\n\n\t\tinitEEnum(jAssociationKindEEnum, JAssociationKind.class, \"JAssociationKind\");\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.ASSOCIATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.AGGREGATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.COMPOSITION);\n\n\t\tinitEEnum(jOperationKindEEnum, JOperationKind.class, \"JOperationKind\");\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.CUSTOM);\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.QUERY);\n\n\t\tinitEEnum(jLayerEEnum, JLayer.class, \"JLayer\");\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.ALL);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERSISTENCE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SERVICE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.OPERATION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.REST);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.UI);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.DOCUMENT);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERMISSION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SCREEN);\n\n\t\tinitEEnum(jMenuItemTypeEEnum, JMenuItemType.class, \"JMenuItemType\");\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.OBJECT);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.LIST);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.NONE);\n\n\t\tinitEEnum(jOperatorEEnum, JOperator.class, \"JOperator\");\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.EQ);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.NE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LTE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GTE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents()\n\t{\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Initialize data types\n\t\tinitEDataType(featureNotFoundExceptionEDataType, FeatureNotFoundException.class, \"FeatureNotFoundException\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tServicesPackage theServicesPackage = (ServicesPackage)EPackage.Registry.INSTANCE.getEPackage(ServicesPackage.eNS_URI);\n\t\tLibraryPackage theLibraryPackage = (LibraryPackage)EPackage.Registry.INSTANCE.getEPackage(LibraryPackage.eNS_URI);\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\t\tGenericsPackage theGenericsPackage = (GenericsPackage)EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI);\n\t\tMetricsPackage theMetricsPackage = (MetricsPackage)EPackage.Registry.INSTANCE.getEPackage(MetricsPackage.eNS_URI);\n\t\tOperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tanalyzerJobEClass.getESuperTypes().add(this.getJob());\n\t\tcomponentFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\t\tcomponentWorkFlowRunEClass.getESuperTypes().add(this.getWorkFlowRun());\n\t\texpressionFailureEClass.getESuperTypes().add(this.getFailure());\n\t\tjobEClass.getESuperTypes().add(theGenericsPackage.getBase());\n\t\tmetricSourceJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeTypeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\toperatorReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tretentionJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceMonitoringJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tserviceUserFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(analyzerJobEClass, AnalyzerJob.class, \"AnalyzerJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnalyzerJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, AnalyzerJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentFailureEClass, ComponentFailure.class, \"ComponentFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentFailure_ComponentRef(), theLibraryPackage.getComponent(), null, \"componentRef\", null, 0, 1, ComponentFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentWorkFlowRunEClass, ComponentWorkFlowRun.class, \"ComponentWorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentWorkFlowRun_FailureRefs(), this.getFailure(), null, \"failureRefs\", null, 0, -1, ComponentWorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(expressionFailureEClass, ExpressionFailure.class, \"ExpressionFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExpressionFailure_ExpressionRef(), theLibraryPackage.getExpression(), null, \"expressionRef\", null, 0, 1, ExpressionFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(failureEClass, Failure.class, \"Failure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFailure_Message(), theXMLTypePackage.getString(), \"message\", null, 0, 1, Failure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobEClass, Job.class, \"Job\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJob_EndTime(), theXMLTypePackage.getDateTime(), \"endTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Interval(), theXMLTypePackage.getInt(), \"interval\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_JobState(), this.getJobState(), \"jobState\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Repeat(), theXMLTypePackage.getInt(), \"repeat\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_StartTime(), theXMLTypePackage.getDateTime(), \"startTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobRunContainerEClass, JobRunContainer.class, \"JobRunContainer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJobRunContainer_Job(), this.getJob(), null, \"job\", null, 1, 1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJobRunContainer_WorkFlowRuns(), this.getWorkFlowRun(), null, \"workFlowRuns\", null, 0, -1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(metricSourceJobEClass, MetricSourceJob.class, \"MetricSourceJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMetricSourceJob_MetricSources(), theMetricsPackage.getMetricSource(), null, \"metricSources\", null, 1, -1, MetricSourceJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeReporterJobEClass, NodeReporterJob.class, \"NodeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeReporterJob_Node(), theOperatorsPackage.getNode(), null, \"node\", null, 1, 1, NodeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeTypeReporterJobEClass, NodeTypeReporterJob.class, \"NodeTypeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeTypeReporterJob_NodeType(), theLibraryPackage.getNodeType(), null, \"nodeType\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getNodeTypeReporterJob_ScopeObject(), ecorePackage.getEObject(), null, \"scopeObject\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(operatorReporterJobEClass, OperatorReporterJob.class, \"OperatorReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOperatorReporterJob_Operator(), theOperatorsPackage.getOperator(), null, \"operator\", null, 1, 1, OperatorReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(retentionJobEClass, RetentionJob.class, \"RetentionJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rfsServiceMonitoringJobEClass, RFSServiceMonitoringJob.class, \"RFSServiceMonitoringJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceMonitoringJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceMonitoringJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(rfsServiceReporterJobEClass, RFSServiceReporterJob.class, \"RFSServiceReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceReporterJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(serviceUserFailureEClass, ServiceUserFailure.class, \"ServiceUserFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getServiceUserFailure_ServiceUserRef(), theServicesPackage.getServiceUser(), null, \"serviceUserRef\", null, 0, 1, ServiceUserFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(workFlowRunEClass, WorkFlowRun.class, \"WorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWorkFlowRun_Ended(), theXMLTypePackage.getDateTime(), \"ended\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Log(), theGenericsPackage.getLongText(), \"log\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Progress(), theXMLTypePackage.getInt(), \"progress\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressMessage(), theXMLTypePackage.getString(), \"progressMessage\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressTask(), theXMLTypePackage.getString(), \"progressTask\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Started(), theXMLTypePackage.getDateTime(), \"started\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_State(), this.getJobRunState(), \"state\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jobRunStateEEnum, JobRunState.class, \"JobRunState\");\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.RUNNING);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_SUCCESSFULLY);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_WITH_ERROR);\n\n\t\tinitEEnum(jobStateEEnum, JobState.class, \"JobState\");\n\t\taddEEnumLiteral(jobStateEEnum, JobState.ACTIVE);\n\t\taddEEnumLiteral(jobStateEEnum, JobState.IN_ACTIVE);\n\n\t\t// Initialize data types\n\t\tinitEDataType(jobRunStateObjectEDataType, JobRunState.class, \"JobRunStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(jobStateObjectEDataType, JobState.class, \"JobStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void putObjectsIntoPackage(Package pkg, List<BusinessObject> objects);", "public void initializePackageContents() {\r\n if (isInitialized) return;\r\n isInitialized = true;\r\n\r\n // Initialize package\r\n setName(eNAME);\r\n setNsPrefix(eNS_PREFIX);\r\n setNsURI(eNS_URI);\r\n\r\n // Obtain other dependent packages\r\n KGraphPackage theKGraphPackage = (KGraphPackage)EPackage.Registry.INSTANCE.getEPackage(KGraphPackage.eNS_URI);\r\n\r\n // Create type parameters\r\n\r\n // Set bounds for type parameters\r\n\r\n // Add supertypes to classes\r\n kShapeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kEdgeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kLayoutDataEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n kIdentifierEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n\r\n // Initialize classes and features; add operations and parameters\r\n initEClass(kShapeLayoutEClass, KShapeLayout.class, \"KShapeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKShapeLayout_Xpos(), ecorePackage.getEFloat(), \"xpos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Ypos(), ecorePackage.getEFloat(), \"ypos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Width(), ecorePackage.getEFloat(), \"width\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Height(), ecorePackage.getEFloat(), \"height\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKShapeLayout_Insets(), this.getKInsets(), null, \"insets\", null, 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n EOperation op = addEOperation(kShapeLayoutEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kShapeLayoutEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"setSize\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"width\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"height\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kEdgeLayoutEClass, KEdgeLayout.class, \"KEdgeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getKEdgeLayout_BendPoints(), this.getKPoint(), null, \"bendPoints\", null, 0, -1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_SourcePoint(), this.getKPoint(), null, \"sourcePoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_TargetPoint(), this.getKPoint(), null, \"targetPoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kEdgeLayoutEClass, null, \"applyVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVectorChain(), \"points\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kEdgeLayoutEClass, this.getKVectorChain(), \"createVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kLayoutDataEClass, KLayoutData.class, \"KLayoutData\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n addEOperation(kLayoutDataEClass, ecorePackage.getEBoolean(), \"isModified\", 1, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kLayoutDataEClass, null, \"resetModificationFlag\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kPointEClass, KPoint.class, \"KPoint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKPoint_X(), ecorePackage.getEFloat(), \"x\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKPoint_Y(), ecorePackage.getEFloat(), \"y\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kPointEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kInsetsEClass, KInsets.class, \"KInsets\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKInsets_Top(), ecorePackage.getEFloat(), \"top\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Bottom(), ecorePackage.getEFloat(), \"bottom\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Left(), ecorePackage.getEFloat(), \"left\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Right(), ecorePackage.getEFloat(), \"right\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kIdentifierEClass, KIdentifier.class, \"KIdentifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKIdentifier_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, KIdentifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorEClass, KVector.class, \"KVector\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKVector_X(), ecorePackage.getEDouble(), \"x\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKVector_Y(), ecorePackage.getEDouble(), \"y\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorChainEClass, KVectorChain.class, \"KVectorChain\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\r\n // Create resource\r\n createResource(eNS_URI);\r\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tldprojectEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\t\tlddatabaselinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldprojectlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldnodeEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ldprojectEClass, Ldproject.class, \"Ldproject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdproject_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Lifecycle(), this.getLifecycle(), \"lifecycle\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Robustness(), this.getRobustness(), \"robustness\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Publish(), null, \"publish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Unpublish(), null, \"unpublish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Update(), null, \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(lddatabaselinkEClass, Lddatabaselink.class, \"Lddatabaselink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLddatabaselink_Database(), theOCCIPackage.getString(), \"database\", \"datacore\", 1, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLddatabaselink_Port(), theOCCIPackage.getNumber(), \"port\", \"27017\", 0, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ldprojectlinkEClass, Ldprojectlink.class, \"Ldprojectlink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ldnodeEClass, Ldnode.class, \"Ldnode\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdnode_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MongoHosts(), theOCCIPackage.getString(), \"mongoHosts\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MainProject(), theOCCIPackage.getString(), \"mainProject\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_AnalyticsReadPreference(), theOCCIPackage.getString(), \"analyticsReadPreference\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(lifecycleEEnum, Lifecycle.class, \"Lifecycle\");\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.DRAFT);\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.PUBLISHED);\n\n\t\tinitEEnum(robustnessEEnum, Robustness.class, \"Robustness\");\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.CLUSTER);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NODE);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NONE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// OCCIE2Ecore\n\t\tcreateOCCIE2EcoreAnnotations();\n\t}", "public void importPackage(String pack) throws Exception;", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(treeEClass, Tree.class, \"Tree\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTree_Children(), this.getNode(), null, \"children\", null, 0, -1, Tree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeEClass, Node.class, \"Node\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNode_Children(), this.getNode(), null, \"children\", null, 0, -1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNode_Name(), ecorePackage.getEString(), \"name\", \"Node\", 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// gmf.diagram\n\t\tcreateGmfAnnotations();\n\t\t// gmf.node\n\t\tcreateGmf_1Annotations();\n\t\t// gmf.compartment\n\t\tcreateGmf_2Annotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tPositionPackage thePositionPackage = (PositionPackage)EPackage.Registry.INSTANCE.getEPackage(PositionPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\tTrainingsPackage theTrainingsPackage = (TrainingsPackage)EPackage.Registry.INSTANCE.getEPackage(TrainingsPackage.eNS_URI);\n\t\tWorkeffortPackage theWorkeffortPackage = (WorkeffortPackage)EPackage.Registry.INSTANCE.getEPackage(WorkeffortPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getPartyQualType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPartyQual());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getPerfReviewItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPerfReviewItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(partyQualEClass, PartyQual.class, \"PartyQual\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartyQual_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_PartyQualType(), this.getPartyQualType(), null, \"partyQualType\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_QualificationDesc(), ecorePackage.getEString(), \"qualificationDesc\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_Title(), ecorePackage.getEString(), \"title\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_VerifStatus(), theStatusPackage.getStatusItem(), null, \"verifStatus\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyQualTypeEClass, PartyQualType.class, \"PartyQualType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyQualType_PartyQualTypeId(), ecorePackage.getEString(), \"partyQualTypeId\", null, 1, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQualType_ParentType(), this.getPartyQualType(), null, \"parentType\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyResumeEClass, PartyResume.class, \"PartyResume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyResume_ResumeId(), ecorePackage.getEString(), \"resumeId\", null, 1, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Content(), theContentPackage.getContent(), null, \"content\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeDate(), ecorePackage.getEDate(), \"resumeDate\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeText(), ecorePackage.getEString(), \"resumeText\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partySkillEClass, PartySkill.class, \"PartySkill\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartySkill_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartySkill_SkillType(), this.getSkillType(), null, \"skillType\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_Rating(), ecorePackage.getELong(), \"rating\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_SkillLevel(), ecorePackage.getELong(), \"skillLevel\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_StartedUsingDate(), ecorePackage.getEDate(), \"startedUsingDate\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_YearsExperience(), ecorePackage.getELong(), \"yearsExperience\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfRatingTypeEClass, PerfRatingType.class, \"PerfRatingType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfRatingType_PerfRatingTypeId(), ecorePackage.getEString(), \"perfRatingTypeId\", null, 1, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfRatingType_ParentType(), this.getPerfRatingType(), null, \"parentType\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewEClass, PerfReview.class, \"PerfReview\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReview_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_EmplPosition(), thePositionPackage.getEmplPosition(), null, \"emplPosition\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_ManagerParty(), thePartyPackage_1.getParty(), null, \"managerParty\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ManagerRoleTypeId(), ecorePackage.getEString(), \"managerRoleTypeId\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_Payment(), thePaymentPackage.getPayment(), null, \"payment\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemEClass, PerfReviewItem.class, \"PerfReviewItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReviewItem_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewItemSeqId(), ecorePackage.getEString(), \"perfReviewItemSeqId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfRatingType(), this.getPerfRatingType(), null, \"perfRatingType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfReviewItemType(), this.getPerfReviewItemType(), null, \"perfReviewItemType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemTypeEClass, PerfReviewItemType.class, \"PerfReviewItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfReviewItemType_PerfReviewItemTypeId(), ecorePackage.getEString(), \"perfReviewItemTypeId\", null, 1, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItemType_ParentType(), this.getPerfReviewItemType(), null, \"parentType\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(performanceNoteEClass, PerformanceNote.class, \"PerformanceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerformanceNote_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_RoleTypeId(), ecorePackage.getEString(), \"roleTypeId\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_CommunicationDate(), ecorePackage.getEDate(), \"communicationDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(personTrainingEClass, PersonTraining.class, \"PersonTraining\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPersonTraining_Party(), thePartyPackage_1.getPerson(), null, \"party\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingClassType(), this.getTrainingClassType(), null, \"trainingClassType\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ApprovalStatus(), ecorePackage.getEString(), \"approvalStatus\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_Approver(), thePartyPackage_1.getPerson(), null, \"approver\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_Reason(), ecorePackage.getEString(), \"reason\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingRequest(), theTrainingsPackage.getTrainingRequest(), null, \"trainingRequest\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_WorkEffort(), theWorkeffortPackage.getWorkEffort(), null, \"workEffort\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(responsibilityTypeEClass, ResponsibilityType.class, \"ResponsibilityType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getResponsibilityType_ResponsibilityTypeId(), ecorePackage.getEString(), \"responsibilityTypeId\", null, 1, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getResponsibilityType_ParentType(), this.getResponsibilityType(), null, \"parentType\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(skillTypeEClass, SkillType.class, \"SkillType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSkillType_SkillTypeId(), ecorePackage.getEString(), \"skillTypeId\", null, 1, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSkillType_ParentType(), this.getSkillType(), null, \"parentType\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(trainingClassTypeEClass, TrainingClassType.class, \"TrainingClassType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTrainingClassType_TrainingClassTypeId(), ecorePackage.getEString(), \"trainingClassTypeId\", null, 1, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrainingClassType_ParentType(), this.getTrainingClassType(), null, \"parentType\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Add supertypes to classes\n\t\tinstructionEClass.getESuperTypes().add(this.getNamedElement());\n\t\tgoForwardEClass.getESuperTypes().add(this.getAction());\n\t\tgoBackwardEClass.getESuperTypes().add(this.getAction());\n\t\tbeginEClass.getESuperTypes().add(this.getAction());\n\t\trotateEClass.getESuperTypes().add(this.getAction());\n\t\treleaseEClass.getESuperTypes().add(this.getAction());\n\t\tactionEClass.getESuperTypes().add(this.getBlock());\n\t\tblockEClass.getESuperTypes().add(this.getInstruction());\n\t\tendEClass.getESuperTypes().add(this.getAction());\n\t\tchoreographyEClass.getESuperTypes().add(this.getInstruction());\n\t\tgrabEClass.getESuperTypes().add(this.getAction());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(instructionEClass, Instruction.class, \"Instruction\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(goForwardEClass, GoForward.class, \"GoForward\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGoForward_Cm(), ecorePackage.getEInt(), \"cm\", null, 0, 1, GoForward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGoForward_Infinite(), ecorePackage.getEBoolean(), \"infinite\", null, 0, 1, GoForward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(goBackwardEClass, GoBackward.class, \"GoBackward\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGoBackward_Cm(), ecorePackage.getEInt(), \"cm\", null, 0, 1, GoBackward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGoBackward_Infinite(), ecorePackage.getEBoolean(), \"infinite\", null, 0, 1, GoBackward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(beginEClass, Begin.class, \"Begin\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rotateEClass, Rotate.class, \"Rotate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRotate_Degrees(), ecorePackage.getEInt(), \"degrees\", null, 0, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRotate_Random(), ecorePackage.getEBoolean(), \"random\", null, 0, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(releaseEClass, Release.class, \"Release\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(actionEClass, Action.class, \"Action\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(endEClass, End.class, \"End\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(choreographyEClass, Choreography.class, \"Choreography\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getChoreography_Instructions(), this.getInstruction(), null, \"instructions\", null, 0, -1, Choreography.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getChoreography_EdgeInstructions(), this.getEdgeInstruction(), null, \"edgeInstructions\", null, 0, -1, Choreography.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(edgeInstructionEClass, EdgeInstruction.class, \"EdgeInstruction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEdgeInstruction_Source(), this.getInstruction(), null, \"source\", null, 0, 1, EdgeInstruction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdgeInstruction_Target(), this.getInstruction(), null, \"target\", null, 0, 1, EdgeInstruction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(grabEClass, Grab.class, \"Grab\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\tObjectsPackage theObjectsPackage = (ObjectsPackage)EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\treadCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tprintEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tassertTablesMatchEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tasTableDataEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadPropertiesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(readCsvFileEClass, ReadCsvFile.class, \"ReadCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadCsvFile_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrint_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeCsvFileEClass, WriteCsvFile.class, \"WriteCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getWriteCsvFile_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteCsvFile_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeColumnsEClass, ExcludeColumns.class, \"ExcludeColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectColumnsEClass, SelectColumns.class, \"SelectColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assertTablesMatchEClass, AssertTablesMatch.class, \"AssertTablesMatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAssertTablesMatch_Left(), theObjectsPackage.getTable(), null, \"left\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssertTablesMatch_Right(), theObjectsPackage.getTable(), null, \"right\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreColumnOrder(), theEcorePackage.getEBoolean(), \"ignoreColumnOrder\", \"false\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreMissingColumns(), this.getIgnoreColumnsMode(), \"ignoreMissingColumns\", \"NONE\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeLinesEClass, WriteLines.class, \"WriteLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWriteLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteLines_Append(), theEcorePackage.getEBoolean(), \"append\", \"false\", 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readLinesEClass, ReadLines.class, \"ReadLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 1, 1, ReadLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectRowsEClass, SelectRows.class, \"SelectRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeRowsEClass, ExcludeRows.class, \"ExcludeRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(asTableDataEClass, AsTableData.class, \"AsTableData\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAsTableData_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, AsTableData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readPropertiesEClass, ReadProperties.class, \"ReadProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadProperties_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(ignoreColumnsModeEEnum, IgnoreColumnsMode.class, \"IgnoreColumnsMode\");\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.NONE);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.LEFT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.RIGHT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.BOTH);\n\n\t\tinitEEnum(rowMatchModeEEnum, RowMatchMode.class, \"RowMatchMode\");\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.EXACT);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.GLOB);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.REGEXP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/ecl/docs\n\t\tcreateDocsAnnotations();\n\t\t// http://www.eclipse.org/ecl/internal\n\t\tcreateInternalAnnotations();\n\t\t// http://www.eclipse.org/ecl/input\n\t\tcreateInputAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getElement());\n\t\tidentifiedElementEClass.getESuperTypes().add(this.getElement());\n\t\timportEClass.getESuperTypes().add(this.getElement());\n\t\tinstanceEClass.getESuperTypes().add(this.getElement());\n\t\taxiomEClass.getESuperTypes().add(this.getElement());\n\t\tassertionEClass.getESuperTypes().add(this.getElement());\n\t\tpredicateEClass.getESuperTypes().add(this.getElement());\n\t\targumentEClass.getESuperTypes().add(this.getElement());\n\t\tliteralEClass.getESuperTypes().add(this.getElement());\n\t\tontologyEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tmemberEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tvocabularyBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tdescriptionBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tvocabularyEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tvocabularyBundleEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tdescriptionEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tdescriptionBundleEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tstatementEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyMemberEClass.getESuperTypes().add(this.getMember());\n\t\tdescriptionMemberEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getDescriptionMember());\n\t\ttermEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\truleEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tbuiltInEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getTerm());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tpropertyEClass.getESuperTypes().add(this.getTerm());\n\t\ttypeEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\trelationBaseEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tclassifierEClass.getESuperTypes().add(this.getType());\n\t\tscalarEClass.getESuperTypes().add(this.getType());\n\t\tentityEClass.getESuperTypes().add(this.getClassifier());\n\t\tstructureEClass.getESuperTypes().add(this.getClassifier());\n\t\taspectEClass.getESuperTypes().add(this.getEntity());\n\t\tconceptEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getRelationBase());\n\t\tannotationPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tsemanticPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\trelationEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tforwardRelationEClass.getESuperTypes().add(this.getRelation());\n\t\treverseRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelationBase());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getDescriptionStatement());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tconceptInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\trelationInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\tstructureInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tkeyAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tspecializationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tinstanceEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRestrictionAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tliteralEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tclassifierEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tscalarEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRangeRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyCardinalityRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyValueRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertySelfRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\ttypeAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tpropertyValueAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tunaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbinaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbuiltInPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\ttypePredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tpropertyPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tsameAsPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tdifferentFromPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tquotedLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tintegerLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdecimalLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdoubleLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tbooleanLiteralEClass.getESuperTypes().add(this.getLiteral());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(elementEClass, Element.class, \"Element\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getElement__GetOntology(), this.getOntology(), \"getOntology\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getElement__ExtraValidate__DiagnosticChain_Map(), theEcorePackage.getEBoolean(), \"extraValidate\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(theEcorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Property(), this.getAnnotationProperty(), null, \"property\", null, 1, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_ReferenceValue(), this.getMember(), null, \"referenceValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_OwningElement(), this.getIdentifiedElement(), this.getIdentifiedElement_OwnedAnnotations(), \"owningElement\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetAnnotatedElement(), this.getIdentifiedElement(), \"getAnnotatedElement\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(identifiedElementEClass, IdentifiedElement.class, \"IdentifiedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIdentifiedElement_OwnedAnnotations(), this.getAnnotation(), this.getAnnotation_OwningElement(), \"ownedAnnotations\", null, 0, -1, IdentifiedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIdentifiedElement__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(importEClass, Import.class, \"Import\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImport_Kind(), this.getImportKind(), \"kind\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Prefix(), this.getID(), \"prefix\", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImport_OwningOntology(), this.getOntology(), this.getOntology_OwnedImports(), \"owningOntology\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEClass, Instance.class, \"Instance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstance_OwnedPropertyValues(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_OwningInstance(), \"ownedPropertyValues\", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(axiomEClass, Axiom.class, \"Axiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(assertionEClass, Assertion.class, \"Assertion\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(predicateEClass, Predicate.class, \"Predicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPredicate_AntecedentRule(), this.getRule(), this.getRule_Antecedent(), \"antecedentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPredicate_ConsequentRule(), this.getRule(), this.getRule_Consequent(), \"consequentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(argumentEClass, Argument.class, \"Argument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArgument_Variable(), this.getID(), \"variable\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Literal(), this.getLiteral(), null, \"literal\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Instance(), this.getNamedInstance(), null, \"instance\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(literalEClass, Literal.class, \"Literal\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getLiteral__GetValue(), theEcorePackage.getEJavaObject(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetStringValue(), theEcorePackage.getEString(), \"getStringValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(ontologyEClass, Ontology.class, \"Ontology\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntology_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntology_Prefix(), this.getID(), \"prefix\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntology_OwnedImports(), this.getImport(), this.getImport_OwningOntology(), \"ownedImports\", null, 0, -1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(memberEClass, Member.class, \"Member\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMember_Name(), this.getID(), \"name\", null, 0, 1, Member.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__IsRef(), theEcorePackage.getEBoolean(), \"isRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__Resolve(), this.getMember(), \"resolve\", 1, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetAbbreviatedIri(), theEcorePackage.getEString(), \"getAbbreviatedIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBoxEClass, VocabularyBox.class, \"VocabularyBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionBoxEClass, DescriptionBox.class, \"DescriptionBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyEClass, Vocabulary.class, \"Vocabulary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabulary_OwnedStatements(), this.getVocabularyStatement(), this.getVocabularyStatement_OwningVocabulary(), \"ownedStatements\", null, 0, -1, Vocabulary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBundleEClass, VocabularyBundle.class, \"VocabularyBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionEClass, Description.class, \"Description\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescription_OwnedStatements(), this.getDescriptionStatement(), this.getDescriptionStatement_OwningDescription(), \"ownedStatements\", null, 0, -1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionBundleEClass, DescriptionBundle.class, \"DescriptionBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(statementEClass, Statement.class, \"Statement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyMemberEClass, VocabularyMember.class, \"VocabularyMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionMemberEClass, DescriptionMember.class, \"DescriptionMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyStatementEClass, VocabularyStatement.class, \"VocabularyStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabularyStatement_OwningVocabulary(), this.getVocabulary(), this.getVocabulary_OwnedStatements(), \"owningVocabulary\", null, 1, 1, VocabularyStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionStatementEClass, DescriptionStatement.class, \"DescriptionStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescriptionStatement_OwningDescription(), this.getDescription(), this.getDescription_OwnedStatements(), \"owningDescription\", null, 1, 1, DescriptionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ruleEClass, Rule.class, \"Rule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRule_Ref(), this.getRule(), null, \"ref\", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Antecedent(), this.getPredicate(), this.getPredicate_AntecedentRule(), \"antecedent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Consequent(), this.getPredicate(), this.getPredicate_ConsequentRule(), \"consequent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInEClass, BuiltIn.class, \"BuiltIn\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltIn_Ref(), this.getBuiltIn(), null, \"ref\", null, 0, 1, BuiltIn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializableTermEClass, SpecializableTerm.class, \"SpecializableTerm\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableTerm_OwnedSpecializations(), this.getSpecializationAxiom(), this.getSpecializationAxiom_OwningTerm(), \"ownedSpecializations\", null, 0, -1, SpecializableTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeEClass, Type.class, \"Type\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(relationBaseEClass, RelationBase.class, \"RelationBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationBase_Sources(), this.getEntity(), null, \"sources\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_Targets(), this.getEntity(), null, \"targets\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_ReverseRelation(), this.getReverseRelation(), this.getReverseRelation_RelationBase(), \"reverseRelation\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_InverseFunctional(), theEcorePackage.getEBoolean(), \"inverseFunctional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Symmetric(), theEcorePackage.getEBoolean(), \"symmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Asymmetric(), theEcorePackage.getEBoolean(), \"asymmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Reflexive(), theEcorePackage.getEBoolean(), \"reflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Irreflexive(), theEcorePackage.getEBoolean(), \"irreflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Transitive(), theEcorePackage.getEBoolean(), \"transitive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializablePropertyEClass, SpecializableProperty.class, \"SpecializableProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableProperty_OwnedEquivalences(), this.getPropertyEquivalenceAxiom(), this.getPropertyEquivalenceAxiom_OwningProperty(), \"ownedEquivalences\", null, 0, -1, SpecializableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(classifierEClass, Classifier.class, \"Classifier\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifier_OwnedEquivalences(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwningClassifier(), \"ownedEquivalences\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifier_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningClassifier(), \"ownedPropertyRestrictions\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(scalarEClass, Scalar.class, \"Scalar\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalar_Ref(), this.getScalar(), null, \"ref\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEnumeration(), this.getLiteralEnumerationAxiom(), this.getLiteralEnumerationAxiom_OwningScalar(), \"ownedEnumeration\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEquivalences(), this.getScalarEquivalenceAxiom(), this.getScalarEquivalenceAxiom_OwningScalar(), \"ownedEquivalences\", null, 0, -1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEntity_OwnedKeys(), this.getKeyAxiom(), this.getKeyAxiom_OwningEntity(), \"ownedKeys\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureEClass, Structure.class, \"Structure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructure_Ref(), this.getStructure(), null, \"ref\", null, 0, 1, Structure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(aspectEClass, Aspect.class, \"Aspect\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAspect_Ref(), this.getAspect(), null, \"ref\", null, 0, 1, Aspect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptEClass, Concept.class, \"Concept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcept_Ref(), this.getConcept(), null, \"ref\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConcept_OwnedEnumeration(), this.getInstanceEnumerationAxiom(), this.getInstanceEnumerationAxiom_OwningConcept(), \"ownedEnumeration\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityEClass, RelationEntity.class, \"RelationEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntity_Ref(), this.getRelationEntity(), null, \"ref\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationEntity_ForwardRelation(), this.getForwardRelation(), this.getForwardRelation_RelationEntity(), \"forwardRelation\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(annotationPropertyEClass, AnnotationProperty.class, \"AnnotationProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotationProperty_Ref(), this.getAnnotationProperty(), null, \"ref\", null, 0, 1, AnnotationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticPropertyEClass, SemanticProperty.class, \"SemanticProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSemanticProperty__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarPropertyEClass, ScalarProperty.class, \"ScalarProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarProperty_Ref(), this.getScalarProperty(), null, \"ref\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Ranges(), this.getScalar(), null, \"ranges\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(structuredPropertyEClass, StructuredProperty.class, \"StructuredProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructuredProperty_Ref(), this.getStructuredProperty(), null, \"ref\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getStructuredProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Ranges(), this.getStructure(), null, \"ranges\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(relationEClass, Relation.class, \"Relation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(forwardRelationEClass, ForwardRelation.class, \"ForwardRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForwardRelation_RelationEntity(), this.getRelationEntity(), this.getRelationEntity_ForwardRelation(), \"relationEntity\", null, 1, 1, ForwardRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(reverseRelationEClass, ReverseRelation.class, \"ReverseRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getReverseRelation_RelationBase(), this.getRelationBase(), this.getRelationBase_ReverseRelation(), \"relationBase\", null, 1, 1, ReverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unreifiedRelationEClass, UnreifiedRelation.class, \"UnreifiedRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnreifiedRelation_Ref(), this.getRelation(), null, \"ref\", null, 0, 1, UnreifiedRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(namedInstanceEClass, NamedInstance.class, \"NamedInstance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNamedInstance_OwnedTypes(), this.getTypeAssertion(), this.getTypeAssertion_OwningInstance(), \"ownedTypes\", null, 0, -1, NamedInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptInstanceEClass, ConceptInstance.class, \"ConceptInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConceptInstance_Ref(), this.getConceptInstance(), null, \"ref\", null, 0, 1, ConceptInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationInstanceEClass, RelationInstance.class, \"RelationInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationInstance_Ref(), this.getRelationInstance(), null, \"ref\", null, 0, 1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Sources(), this.getNamedInstance(), null, \"sources\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Targets(), this.getNamedInstance(), null, \"targets\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureInstanceEClass, StructureInstance.class, \"StructureInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructureInstance_Type(), this.getStructure(), null, \"type\", null, 1, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAxiom(), this.getPropertyValueRestrictionAxiom(), this.getPropertyValueRestrictionAxiom_StructureInstanceValue(), \"owningAxiom\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAssertion(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_StructureInstanceValue(), \"owningAssertion\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyAxiomEClass, KeyAxiom.class, \"KeyAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getKeyAxiom_Properties(), this.getProperty(), null, \"properties\", null, 1, -1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyAxiom_OwningEntity(), this.getEntity(), this.getEntity_OwnedKeys(), \"owningEntity\", null, 0, 1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetKeyedEntity(), this.getEntity(), \"getKeyedEntity\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetCharacterizedTerm(), this.getEntity(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(specializationAxiomEClass, SpecializationAxiom.class, \"SpecializationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializationAxiom_SuperTerm(), this.getTerm(), null, \"superTerm\", null, 1, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecializationAxiom_OwningTerm(), this.getSpecializableTerm(), this.getSpecializableTerm_OwnedSpecializations(), \"owningTerm\", null, 0, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetSubTerm(), this.getTerm(), \"getSubTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEnumerationAxiomEClass, InstanceEnumerationAxiom.class, \"InstanceEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstanceEnumerationAxiom_Instances(), this.getConceptInstance(), null, \"instances\", null, 1, -1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInstanceEnumerationAxiom_OwningConcept(), this.getConcept(), this.getConcept_OwnedEnumeration(), \"owningConcept\", null, 0, 1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetEnumeratedConcept(), this.getConcept(), \"getEnumeratedConcept\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetCharacterizedTerm(), this.getConcept(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRestrictionAxiomEClass, PropertyRestrictionAxiom.class, \"PropertyRestrictionAxiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyRestrictionAxiom_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedPropertyRestrictions(), \"owningClassifier\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningAxiom(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), \"owningAxiom\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetRestrictingDomain(), this.getClassifier(), \"getRestrictingDomain\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(literalEnumerationAxiomEClass, LiteralEnumerationAxiom.class, \"LiteralEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiteralEnumerationAxiom_Literals(), this.getLiteral(), null, \"literals\", null, 1, -1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLiteralEnumerationAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEnumeration(), \"owningScalar\", null, 0, 1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetEnumeratedScalar(), this.getScalar(), \"getEnumeratedScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(classifierEquivalenceAxiomEClass, ClassifierEquivalenceAxiom.class, \"ClassifierEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifierEquivalenceAxiom_SuperClassifiers(), this.getClassifier(), null, \"superClassifiers\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningAxiom(), \"ownedPropertyRestrictions\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedEquivalences(), \"owningClassifier\", null, 0, 1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetSubClassifier(), this.getClassifier(), \"getSubClassifier\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarEquivalenceAxiomEClass, ScalarEquivalenceAxiom.class, \"ScalarEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarEquivalenceAxiom_SuperScalar(), this.getScalar(), null, \"superScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEquivalences(), \"owningScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Length(), this.getUnsignedInteger(), \"length\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MinLength(), this.getUnsignedInteger(), \"minLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MaxLength(), this.getUnsignedInteger(), \"maxLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Pattern(), theEcorePackage.getEString(), \"pattern\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Language(), theEcorePackage.getEString(), \"language\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinInclusive(), this.getLiteral(), null, \"minInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinExclusive(), this.getLiteral(), null, \"minExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxInclusive(), this.getLiteral(), null, \"maxInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxExclusive(), this.getLiteral(), null, \"maxExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetSubScalar(), this.getScalar(), \"getSubScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyEquivalenceAxiomEClass, PropertyEquivalenceAxiom.class, \"PropertyEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyEquivalenceAxiom_SuperProperty(), this.getProperty(), null, \"superProperty\", null, 1, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyEquivalenceAxiom_OwningProperty(), this.getSpecializableProperty(), this.getSpecializableProperty_OwnedEquivalences(), \"owningProperty\", null, 0, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetSubProperty(), this.getProperty(), \"getSubProperty\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetCharacterizedTerm(), this.getProperty(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRangeRestrictionAxiomEClass, PropertyRangeRestrictionAxiom.class, \"PropertyRangeRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyRangeRestrictionAxiom_Kind(), this.getRangeRestrictionKind(), \"kind\", \"all\", 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRangeRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyCardinalityRestrictionAxiomEClass, PropertyCardinalityRestrictionAxiom.class, \"PropertyCardinalityRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Kind(), this.getCardinalityRestrictionKind(), \"kind\", \"exactly\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Cardinality(), this.getUnsignedInt(), \"cardinality\", \"1\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyCardinalityRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 0, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyValueRestrictionAxiomEClass, PropertyValueRestrictionAxiom.class, \"PropertyValueRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAxiom(), \"structureInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueRestrictionAxiom__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertySelfRestrictionAxiomEClass, PropertySelfRestrictionAxiom.class, \"PropertySelfRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeAssertionEClass, TypeAssertion.class, \"TypeAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypeAssertion_Type(), this.getEntity(), null, \"type\", null, 1, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTypeAssertion_OwningInstance(), this.getNamedInstance(), this.getNamedInstance_OwnedTypes(), \"owningInstance\", null, 0, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetSubject(), this.getNamedInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyValueAssertionEClass, PropertyValueAssertion.class, \"PropertyValueAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueAssertion_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAssertion(), \"structureInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_OwningInstance(), this.getInstance(), this.getInstance_OwnedPropertyValues(), \"owningInstance\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unaryPredicateEClass, UnaryPredicate.class, \"UnaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnaryPredicate_Argument(), this.getArgument(), null, \"argument\", null, 1, 1, UnaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(binaryPredicateEClass, BinaryPredicate.class, \"BinaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBinaryPredicate_Argument1(), this.getArgument(), null, \"argument1\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBinaryPredicate_Argument2(), this.getArgument(), null, \"argument2\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInPredicateEClass, BuiltInPredicate.class, \"BuiltInPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltInPredicate_BuiltIn(), this.getBuiltIn(), null, \"builtIn\", null, 1, 1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBuiltInPredicate_Arguments(), this.getArgument(), null, \"arguments\", null, 1, -1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(typePredicateEClass, TypePredicate.class, \"TypePredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypePredicate_Type(), this.getType(), null, \"type\", null, 1, 1, TypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityPredicateEClass, RelationEntityPredicate.class, \"RelationEntityPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntityPredicate_Type(), this.getRelationEntity(), null, \"type\", null, 1, 1, RelationEntityPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyPredicateEClass, PropertyPredicate.class, \"PropertyPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyPredicate_Property(), this.getProperty(), null, \"property\", null, 1, 1, PropertyPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(sameAsPredicateEClass, SameAsPredicate.class, \"SameAsPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(differentFromPredicateEClass, DifferentFromPredicate.class, \"DifferentFromPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(quotedLiteralEClass, QuotedLiteral.class, \"QuotedLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getQuotedLiteral_Value(), theEcorePackage.getEString(), \"value\", null, 1, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getQuotedLiteral_LangTag(), theEcorePackage.getEString(), \"langTag\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getQuotedLiteral_Type(), this.getScalar(), null, \"type\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIntegerLiteral_Value(), theEcorePackage.getEIntegerObject(), \"value\", \"0\", 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIntegerLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDecimalLiteral_Value(), this.getDecimal(), \"value\", \"0.0\", 1, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDecimalLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(doubleLiteralEClass, DoubleLiteral.class, \"DoubleLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDoubleLiteral_Value(), theEcorePackage.getEDoubleObject(), \"value\", \"0.0\", 0, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDoubleLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(booleanLiteralEClass, BooleanLiteral.class, \"BooleanLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanLiteral_Value(), theEcorePackage.getEBooleanObject(), \"value\", \"false\", 0, 1, BooleanLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__IsValue(), theEcorePackage.getEBoolean(), \"isValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(separatorKindEEnum, SeparatorKind.class, \"SeparatorKind\");\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.HASH);\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.SLASH);\n\n\t\tinitEEnum(rangeRestrictionKindEEnum, RangeRestrictionKind.class, \"RangeRestrictionKind\");\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.ALL);\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.SOME);\n\n\t\tinitEEnum(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.class, \"CardinalityRestrictionKind\");\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.EXACTLY);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MIN);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MAX);\n\n\t\tinitEEnum(importKindEEnum, ImportKind.class, \"ImportKind\");\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.EXTENSION);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.USAGE);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.INCLUSION);\n\n\t\t// Initialize data types\n\t\tinitEDataType(unsignedIntEDataType, long.class, \"UnsignedInt\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(unsignedIntegerEDataType, Long.class, \"UnsignedInteger\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(decimalEDataType, BigDecimal.class, \"Decimal\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(idEDataType, String.class, \"ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(namespaceEDataType, String.class, \"Namespace\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// https://tabatkins.github.io/bikeshed/headings\n\t\tcreateHeadingsAnnotations();\n\t\t// https://tabatkins.github.io/bikeshed\n\t\tcreateBikeshedAnnotations();\n\t\t// http://www.eclipse.org/emf/2011/Xcore\n\t\tcreateXcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "@Override\n\tprotected void buildRdlPackage() {\n\t\tUVMRdlTranslate1Classes.buildRdlPackage(pkgOutputList, 0);\t\t\n\t}", "RefPackage newPackage(\n Jmi1Package_1_0 outermostPackage,\n String qualifiedName\n ) throws ServiceException;", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\r\n\t\tInstancePackage theInstancePackage = (InstancePackage)EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI);\r\n\t\tValuetypePackage theValuetypePackage = (ValuetypePackage)EPackage.Registry.INSTANCE.getEPackage(ValuetypePackage.eNS_URI);\r\n\t\tRealtimestatechartPackage theRealtimestatechartPackage = (RealtimestatechartPackage)EPackage.Registry.INSTANCE.getEPackage(RealtimestatechartPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\trunnableEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelAccessEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(runnableEClass, org.muml.pim.runnable.Runnable.class, \"Runnable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRunnable_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Runnables(), \"componentInstance\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_PortInstance(), theInstancePackage.getPortInstance(), theInstancePackage.getPortInstance_Runnable(), \"portInstance\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Period(), theValuetypePackage.getTimeValue(), null, \"period\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_LabelAccesses(), this.getLabelAccess(), this.getLabelAccess_AccessingRunnable(), \"labelAccesses\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Deadline(), theValuetypePackage.getTimeValue(), null, \"deadline\", null, 0, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getLabel_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Labels(), \"componentInstance\", null, 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabel_ComponentStatechart(), theRealtimestatechartPackage.getRealtimeStatechart(), null, \"componentStatechart\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getLabel_IsConstant(), ecorePackage.getEBoolean(), \"isConstant\", \"false\", 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelAccessEClass, LabelAccess.class, \"LabelAccess\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getLabelAccess_AccessKind(), this.getLabelAccessKind(), \"accessKind\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessLabel(), this.getLabel(), null, \"accessLabel\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessingRunnable(), this.getRunnable(), this.getRunnable_LabelAccesses(), \"accessingRunnable\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(labelAccessKindEEnum, LabelAccessKind.class, \"LabelAccessKind\");\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.READACCESS);\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.WRITEACCESS);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\teActorEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\t\teItemEClass.getESuperTypes().add(this.getEDomainSpecificEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(eDomainSchemaEClass, EDomainSchema.class, \"EDomainSchema\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDomainSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSchema_Ds(), this.getEDataSchema(), null, \"ds\", null, 0, 1, EDomainSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eControlSchemaEClass, EControlSchema.class, \"EControlSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEControlSchema_Actor(), this.getEActor(), null, \"actor\", null, 1, -1, EControlSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDataSchemaEClass, EDataSchema.class, \"EDataSchema\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEDataSchema_Cs(), this.getEControlSchema(), null, \"cs\", null, 1, 1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDataSchema_Item(), this.getEItem(), null, \"item\", null, 1, -1, EDataSchema.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificEntityEClass, EDomainSpecificEntity.class, \"EDomainSpecificEntity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificEntity_CommandPriority(), ecorePackage.getEInt(), \"commandPriority\", null, 0, 1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEDomainSpecificEntity_Cmd(), this.getEDomainSpecificCommand(), null, \"cmd\", null, 0, -1, EDomainSpecificEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificCommandEClass, EDomainSpecificCommand.class, \"EDomainSpecificCommand\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificCommand_CmdId(), ecorePackage.getEInt(), \"cmdId\", null, 0, 1, EDomainSpecificCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eActorEClass, EActor.class, \"EActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEActor_KindInteraction(), this.getECoordinationBehavior(), \"kindInteraction\", null, 0, 1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEActor_TypesControlled(), this.getEDomainSpecificType(), null, \"typesControlled\", null, 0, -1, EActor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eItemEClass, EItem.class, \"EItem\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEItem_ArisingBehavior(), this.getEArising(), \"arisingBehavior\", null, 0, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEItem_Type(), this.getEDomainSpecificType(), null, \"type\", null, 1, 1, EItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(eDomainSpecificTypeEClass, EDomainSpecificType.class, \"EDomainSpecificType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getEDomainSpecificType_InteractionBehavior(), this.getEInteractionBehavior(), \"interactionBehavior\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEDomainSpecificType_Cardinality(), this.getECardinality(), \"cardinality\", null, 0, 1, EDomainSpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(eArisingEEnum, EArising.class, \"EArising\");\n\t\taddEEnumLiteral(eArisingEEnum, EArising.STATIC);\n\t\taddEEnumLiteral(eArisingEEnum, EArising.DYNAMIC);\n\n\t\tinitEEnum(eCardinalityEEnum, ECardinality.class, \"ECardinality\");\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.ONE);\n\t\taddEEnumLiteral(eCardinalityEEnum, ECardinality.MANY);\n\n\t\tinitEEnum(eInteractionBehaviorEEnum, EInteractionBehavior.class, \"EInteractionBehavior\");\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.SYNC);\n\t\taddEEnumLiteral(eInteractionBehaviorEEnum, EInteractionBehavior.ASYNC);\n\n\t\tinitEEnum(eCoordinationBehaviorEEnum, ECoordinationBehavior.class, \"ECoordinationBehavior\");\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.LOCAL);\n\t\taddEEnumLiteral(eCoordinationBehaviorEEnum, ECoordinationBehavior.DISTRIBUTED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tclarityAddFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetBatchResultEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetKeyEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityQueryBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityReloadFileEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityRemoveFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tstartBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(clarityAbstractObjectEClass, ClarityAbstractObject.class, \"ClarityAbstractObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getClarityAbstractObject_ClarityConnection(), ecorePackage.getEString(), \"clarityConnection\", null, 0, 1, ClarityAbstractObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clarityAddFilesEClass, ClarityAddFiles.class, \"ClarityAddFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetBatchResultEClass, ClarityGetBatchResult.class, \"ClarityGetBatchResult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetKeyEClass, ClarityGetKey.class, \"ClarityGetKey\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityQueryBatchEClass, ClarityQueryBatch.class, \"ClarityQueryBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityReloadFileEClass, ClarityReloadFile.class, \"ClarityReloadFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityRemoveFilesEClass, ClarityRemoveFiles.class, \"ClarityRemoveFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(startBatchEClass, StartBatch.class, \"StartBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// cbgeneralcontrol\n\t\tcreateCbgeneralcontrolAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tpluginEClass.getESuperTypes().add(this.getAnalysisComponent());\n\t\tinputPortEClass.getESuperTypes().add(this.getPort());\n\t\toutputPortEClass.getESuperTypes().add(this.getPort());\n\t\tfilterEClass.getESuperTypes().add(this.getPlugin());\n\t\treaderEClass.getESuperTypes().add(this.getPlugin());\n\t\trepositoryEClass.getESuperTypes().add(this.getAnalysisComponent());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(projectEClass, MIProject.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProject_Plugins(), this.getPlugin(), null, \"plugins\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Repositories(), this.getRepository(), null, \"repositories\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Dependencies(), this.getDependency(), null, \"dependencies\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Views(), this.getView(), null, \"views\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(pluginEClass, MIPlugin.class, \"Plugin\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPlugin_Repositories(), this.getRepositoryConnector(), null, \"repositories\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_OutputPorts(), this.getOutputPort(), this.getOutputPort_Parent(), \"outputPorts\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_Displays(), this.getDisplay(), this.getDisplay_Parent(), \"displays\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(portEClass, MIPort.class, \"Port\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPort_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_EventTypes(), ecorePackage.getEString(), \"eventTypes\", null, 1, -1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(inputPortEClass, MIInputPort.class, \"InputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInputPort_Parent(), this.getFilter(), this.getFilter_InputPorts(), \"parent\", null, 1, 1, MIInputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(outputPortEClass, MIOutputPort.class, \"OutputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOutputPort_Subscribers(), this.getInputPort(), null, \"subscribers\", null, 0, -1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOutputPort_Parent(), this.getPlugin(), this.getPlugin_OutputPorts(), \"parent\", null, 1, 1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, MIProperty.class, \"Property\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProperty_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(filterEClass, MIFilter.class, \"Filter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFilter_InputPorts(), this.getInputPort(), this.getInputPort_Parent(), \"inputPorts\", null, 0, -1, MIFilter.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readerEClass, MIReader.class, \"Reader\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repositoryEClass, MIRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(dependencyEClass, MIDependency.class, \"Dependency\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDependency_FilePath(), ecorePackage.getEString(), \"filePath\", null, 1, 1, MIDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryConnectorEClass, MIRepositoryConnector.class, \"RepositoryConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepositoryConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRepositoryConnector_Repository(), this.getRepository(), null, \"repository\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepositoryConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayEClass, MIDisplay.class, \"Display\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplay_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplay_Parent(), this.getPlugin(), this.getPlugin_Displays(), \"parent\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplay_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\tIS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(viewEClass, MIView.class, \"View\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getView_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getView_DisplayConnectors(), this.getDisplayConnector(), null, \"displayConnectors\", null, 0, -1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayConnectorEClass, MIDisplayConnector.class, \"DisplayConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplayConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplayConnector_Display(), this.getDisplay(), null, \"display\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplayConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(analysisComponentEClass, MIAnalysisComponent.class, \"AnalysisComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnalysisComponent_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Classname(), ecorePackage.getEString(), \"classname\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnalysisComponent_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIAnalysisComponent.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.palladiosimulator.pcm.core.composition.CompositionPackage theCompositionPackage_1 = (org.palladiosimulator.pcm.core.composition.CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.core.composition.CompositionPackage.eNS_URI);\r\n\t\torg.palladiosimulator.pcm.repository.RepositoryPackage theRepositoryPackage_1 = (org.palladiosimulator.pcm.repository.RepositoryPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.repository.RepositoryPackage.eNS_URI);\r\n\t\tCompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(CompositionPackage.eNS_URI);\r\n\t\tPartitioningPackage thePartitioningPackage = (PartitioningPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(PartitioningPackage.eNS_URI);\r\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tdataChannelEClass.getESuperTypes().add(theCompositionPackage_1.getEventChannel());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(dataChannelEClass, DataChannel.class, \"DataChannel\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDataChannel_Capacity(), ecorePackage.getEInt(), \"capacity\", \"-1\", 1, 1, DataChannel.class,\r\n\t\t\t\tIS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SourceEventGroup(), theRepositoryPackage_1.getEventGroup(), null,\r\n\t\t\t\t\"sourceEventGroup\", null, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SinkEventGroup(), theRepositoryPackage_1.getEventGroup(), null, \"sinkEventGroup\",\r\n\t\t\t\tnull, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector_DataChannel(), \"dataChannelSourceConnector\", null,\r\n\t\t\t\t0, -1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSinkConnector(), theCompositionPackage.getDataChannelSinkConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSinkConnector_DataChannel(), \"dataChannelSinkConnector\", null, 0,\r\n\t\t\t\t-1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Partitioning(), thePartitioningPackage.getPartitioning(), null, \"partitioning\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_TimeGrouping(), thePartitioningPackage.getTimeGrouping(), null, \"timeGrouping\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Joins(), thePartitioningPackage.getJoining(), null, \"joins\", null, 0, -1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_OutgoingDistribution(), theDatatypesPackage.getOutgoingDistribution(),\r\n\t\t\t\t\"outgoingDistribution\", null, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_Scheduling(), theDatatypesPackage.getScheduling(), \"scheduling\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_PutPolicy(), theDatatypesPackage.getPutPolicy(), \"putPolicy\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.unicase.model.ModelPackage theModelPackage_1 = (org.unicase.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.unicase.model.ModelPackage.eNS_URI);\r\n\t\tTaskPackage theTaskPackage = (TaskPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(TaskPackage.eNS_URI);\r\n\t\torg.eclipse.emf.emfstore.internal.common.model.ModelPackage theModelPackage_2 = (org.eclipse.emf.emfstore.internal.common.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.eclipse.emf.emfstore.internal.common.model.ModelPackage.eNS_URI);\r\n\t\tOrganizationPackage theOrganizationPackage = (OrganizationPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(OrganizationPackage.eNS_URI);\r\n\t\tAttachmentPackage theAttachmentPackage = (AttachmentPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(AttachmentPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tissueEClass.getESuperTypes().add(theModelPackage_1.getAnnotation());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getCheckable());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getWorkItem());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcriterionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(issueEClass, Issue.class, \"Issue\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getIssue_Proposals(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Issue(), \"proposals\", null, 0, -1,\r\n\t\t\t\tIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Solution(), this.getSolution(),\r\n\t\t\t\tthis.getSolution_Issue(), \"solution\", null, 0, 1, Issue.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getIssue_Criteria(), this.getCriterion(), null,\r\n\t\t\t\t\"criteria\", null, 0, -1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getIssue_Activity(), theTaskPackage.getActivityType(),\r\n\t\t\t\t\"activity\", null, 0, 1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Assessments(), this.getAssessment(), null,\r\n\t\t\t\t\"assessments\", null, 0, -1, Issue.class, IS_TRANSIENT,\r\n\t\t\t\tIS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(proposalEClass, Proposal.class, \"Proposal\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getProposal_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Proposal(), \"assessments\", null, 0, -1,\r\n\t\t\t\tProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getProposal_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Proposals(), \"issue\", null, 0, 1, Proposal.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(solutionEClass, Solution.class, \"Solution\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSolution_UnderlyingProposals(), this.getProposal(),\r\n\t\t\t\tnull, \"underlyingProposals\", null, 0, -1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSolution_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Solution(), \"issue\", null, 0, 1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(criterionEClass, Criterion.class, \"Criterion\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getCriterion_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Criterion(), \"assessments\", null, 0, -1,\r\n\t\t\t\tCriterion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(assessmentEClass, Assessment.class, \"Assessment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAssessment_Proposal(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Assessments(), \"proposal\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAssessment_Criterion(), this.getCriterion(),\r\n\t\t\t\tthis.getCriterion_Assessments(), \"criterion\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAssessment_Value(), ecorePackage.getEInt(), \"value\",\r\n\t\t\t\tnull, 0, 1, Assessment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(commentEClass, Comment.class, \"Comment\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComment_Sender(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"sender\", null, 0,\r\n\t\t\t\t1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_Recipients(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"recipients\", null,\r\n\t\t\t\t0, -1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_CommentedElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement_Comments(),\r\n\t\t\t\t\"commentedElement\", null, 0, 1, Comment.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(audioCommentEClass, AudioComment.class, \"AudioComment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAudioComment_AudioFile(),\r\n\t\t\t\ttheAttachmentPackage.getFileAttachment(), null, \"audioFile\",\r\n\t\t\t\tnull, 0, 1, AudioComment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create annotations\r\n\t\t// org.eclipse.emf.ecp.editor\r\n\t\tcreateOrgAnnotations();\r\n\t}", "public interface XPackage {\n\t\n\t/**\n\t * \n\t * @return\n\t * @throws IOException\n\t * @throws FileNotFoundException\n\t */\n\tpublic XCollection<XClass> getClasses();\n\n\t/**\n\t * \n\t * @param recursively\n\t * @return\n\t */\n\tpublic XCollection<XClass> getClasses(boolean recursively);\n\n\t/**\n\t * \n\t * @return\n\t */\n\tpublic XPackage getParentPackage();\n\n\t/**\n\t * \n\t * @return\n\t */\n\tpublic XCollection<XPackage> getChildPackages();\n\n\t/**\n\t * \n\t * @return\n\t */\n\tpublic XCollection<XPackage> getChildPackages(boolean recursively);\n\n\t/**\n\t * \n\t * @param packageName\n\t * @return\n\t */\n\tpublic XPackage find(String packageName);\n\n}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcompoundCmdEClass.getESuperTypes().add(this.getCmd());\n\t\txCmdEClass.getESuperTypes().add(this.getCmd());\n\t\tbyteCmdEClass.getESuperTypes().add(this.getCmd());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(cmdEClass, Cmd.class, \"Cmd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCmd_Priority(), this.getPRIORITY(), \"priority\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCmd_Stamp(), ecorePackage.getELong(), \"stamp\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(compoundCmdEClass, CompoundCmd.class, \"CompoundCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCompoundCmd_Children(), this.getCmd(), null, \"children\", null, 0, -1, CompoundCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tEOperation op = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"queue\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"pop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"drop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(xCmdEClass, XCmd.class, \"XCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getXCmd_Obj(), ecorePackage.getEJavaObject(), \"obj\", null, 0, 1, XCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(byteCmdEClass, ByteCmd.class, \"ByteCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getByteCmd_Message(), ecorePackage.getEByteArray(), \"message\", null, 0, 1, ByteCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.class, \"PRIORITY\");\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOWEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOW);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.MEDIUM);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGH);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGHEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.NONE);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.VITAL);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tInfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcontainerEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tnetworklinkEClass.getESuperTypes().add(this.getLink());\n\t\tvolumesfromEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tcontainsEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tmachineEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tvolumeEClass.getESuperTypes().add(theInfrastructurePackage.getStorage());\n\t\tnetworkEClass.getESuperTypes().add(theInfrastructurePackage.getNetwork());\n\t\tmachinegenericEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineamazonec2EClass.getESuperTypes().add(this.getMachine());\n\t\tmachinedigitaloceanEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegooglecomputeengineEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineibmsoftlayerEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosoftazureEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosofthypervEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineopenstackEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinerackspaceEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevirtualboxEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarefusionEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevcloudairEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevsphereEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineexoscaleEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegrid5000EClass.getESuperTypes().add(this.getMachine());\n\t\tclusterEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(arrayOfStringEClass, ArrayOfString.class, \"ArrayOfString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArrayOfString_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, ArrayOfString.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containerEClass, org.eclipse.cmf.occi.docker.Container.class, \"Container\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getContainer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Containerid(), ecorePackage.getEString(), \"containerid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Build(), ecorePackage.getEString(), \"build\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Command(), ecorePackage.getEString(), \"command\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ports(), ecorePackage.getEString(), \"ports\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Expose(), ecorePackage.getEString(), \"expose\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Volumes(), ecorePackage.getEString(), \"volumes\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Environment(), ecorePackage.getEString(), \"environment\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_EnvFile(), ecorePackage.getEString(), \"envFile\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Net(), ecorePackage.getEString(), \"net\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Dns(), ecorePackage.getEString(), \"dns\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DnsSearch(), ecorePackage.getEString(), \"dnsSearch\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapAdd(), ecorePackage.getEString(), \"capAdd\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapDrop(), ecorePackage.getEString(), \"capDrop\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_WorkingDir(), ecorePackage.getEString(), \"workingDir\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Entrypoint(), ecorePackage.getEString(), \"entrypoint\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemLimit(), ecorePackage.getEBigInteger(), \"memLimit\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemorySwap(), ecorePackage.getEBigInteger(), \"memorySwap\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Privileged(), ecorePackage.getEBoolean(), \"privileged\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Restart(), ecorePackage.getEString(), \"restart\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_StdinOpen(), ecorePackage.getEBoolean(), \"stdinOpen\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Interactive(), ecorePackage.getEBoolean(), \"interactive\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuShares(), ecorePackage.getEBigInteger(), \"cpuShares\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Pid(), ecorePackage.getEString(), \"pid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ipc(), ecorePackage.getEString(), \"ipc\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_AddHost(), ecorePackage.getEString(), \"addHost\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MacAddress(), theInfrastructurePackage.getMac(), \"macAddress\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Rm(), ecorePackage.getEBoolean(), \"rm\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_SecurityOpt(), ecorePackage.getEString(), \"securityOpt\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Device(), ecorePackage.getEString(), \"device\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_LxcConf(), ecorePackage.getEString(), \"lxcConf\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_PublishAll(), ecorePackage.getEBoolean(), \"publishAll\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_ReadOnly(), ecorePackage.getEBoolean(), \"readOnly\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Monitored(), ecorePackage.getEBoolean(), \"monitored\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuUsed(), ecorePackage.getEBigInteger(), \"cpuUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryUsed(), ecorePackage.getEBigInteger(), \"memoryUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuPercent(), ecorePackage.getEString(), \"cpuPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryPercent(), ecorePackage.getEString(), \"memoryPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskUsed(), ecorePackage.getEBigInteger(), \"diskUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskPercent(), ecorePackage.getEString(), \"diskPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthUsed(), ecorePackage.getEBigInteger(), \"bandwidthUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthPercent(), ecorePackage.getEString(), \"bandwidthPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MonitoringInterval(), ecorePackage.getEBigInteger(), \"monitoringInterval\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuMaxValue(), ecorePackage.getEBigInteger(), \"cpuMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryMaxValue(), ecorePackage.getEBigInteger(), \"memoryMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CoreMax(), ecorePackage.getEBigInteger(), \"coreMax\", \"1\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetCpus(), ecorePackage.getEString(), \"cpuSetCpus\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetMems(), ecorePackage.getEString(), \"cpuSetMems\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Tty(), ecorePackage.getEBoolean(), \"tty\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Create(), null, \"create\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Stop(), null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Run(), null, \"run\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Pause(), null, \"pause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Unpause(), null, \"unpause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getContainer__Kill__String(), null, \"kill\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"signal\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLink_Alias(), ecorePackage.getEString(), \"alias\", null, 0, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networklinkEClass, Networklink.class, \"Networklink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(volumesfromEClass, Volumesfrom.class, \"Volumesfrom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolumesfrom_Mode(), this.getMode(), \"mode\", \"readWrite\", 0, 1, Volumesfrom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(machineEClass, Machine.class, \"Machine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachine_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInstallURL(), ecorePackage.getEString(), \"engineInstallURL\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineOpt(), ecorePackage.getEString(), \"engineOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInsecureRegistry(), ecorePackage.getEString(), \"engineInsecureRegistry\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineRegistryMirror(), ecorePackage.getEString(), \"engineRegistryMirror\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineLabel(), ecorePackage.getEString(), \"engineLabel\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineStorageDriver(), ecorePackage.getEString(), \"engineStorageDriver\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineEnv(), ecorePackage.getEString(), \"engineEnv\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_Swarm(), ecorePackage.getEBoolean(), \"swarm\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmImage(), ecorePackage.getEString(), \"swarmImage\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmMaster(), ecorePackage.getEBoolean(), \"swarmMaster\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmDiscovery(), ecorePackage.getEString(), \"swarmDiscovery\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmStrategy(), ecorePackage.getEString(), \"swarmStrategy\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmOpt(), ecorePackage.getEString(), \"swarmOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmHost(), ecorePackage.getEString(), \"swarmHost\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmAddr(), ecorePackage.getEString(), \"swarmAddr\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmExperimental(), ecorePackage.getEString(), \"swarmExperimental\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_TlsSan(), ecorePackage.getEString(), \"tlsSan\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMachine__Startall(), null, \"startall\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(volumeEClass, Volume.class, \"Volume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolume_Driver(), ecorePackage.getEString(), \"driver\", \"local\", 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Labels(), ecorePackage.getEString(), \"labels\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Options(), ecorePackage.getEString(), \"options\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Source(), ecorePackage.getEString(), \"source\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Destination(), ecorePackage.getEString(), \"destination\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Mode(), ecorePackage.getEString(), \"mode\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Rw(), ecorePackage.getEString(), \"rw\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Propagation(), ecorePackage.getEString(), \"propagation\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networkEClass, Network.class, \"Network\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNetwork_NetworkId(), ecorePackage.getEString(), \"networkId\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_AuxAddress(), ecorePackage.getEString(), \"auxAddress\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Driver(), ecorePackage.getEString(), \"driver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Gateway(), ecorePackage.getEString(), \"gateway\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Internal(), ecorePackage.getEBoolean(), \"internal\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpRange(), ecorePackage.getEString(), \"ipRange\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamDriver(), ecorePackage.getEString(), \"ipamDriver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamOpt(), ecorePackage.getEString(), \"ipamOpt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Ipv6(), ecorePackage.getEBoolean(), \"ipv6\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Opt(), ecorePackage.getEString(), \"opt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegenericEClass, Machinegeneric.class, \"Machinegeneric\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegeneric_EnginePort(), ecorePackage.getEBigInteger(), \"enginePort\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_IpAddress(), ecorePackage.getEString(), \"ipAddress\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshKey(), ecorePackage.getEString(), \"sshKey\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineamazonec2EClass, Machineamazonec2.class, \"Machineamazonec2\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineamazonec2_AccessKey(), ecorePackage.getEString(), \"accessKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Ami(), ecorePackage.getEString(), \"ami\", \"ami-4ae27e22\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_InstanceType(), ecorePackage.getEString(), \"instanceType\", \"t2.micro\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Region(), ecorePackage.getEString(), \"region\", \"us-east-1\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_RootSize(), ecorePackage.getEBigInteger(), \"rootSize\", \"16\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecretKey(), ecorePackage.getEString(), \"secretKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", \"docker-machine\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SessionToken(), ecorePackage.getEString(), \"sessionToken\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SubnetId(), ecorePackage.getEString(), \"subnetId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_VpcId(), ecorePackage.getEString(), \"vpcId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Zone(), ecorePackage.getEString(), \"zone\", \"a\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinedigitaloceanEClass, Machinedigitalocean.class, \"Machinedigitalocean\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinedigitalocean_AccessToken(), ecorePackage.getEString(), \"accessToken\", null, 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Image(), ecorePackage.getEString(), \"image\", \"docker\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Region(), ecorePackage.getEString(), \"region\", \"nyc3\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Size(), ecorePackage.getEString(), \"size\", \"512mb\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegooglecomputeengineEClass, Machinegooglecomputeengine.class, \"Machinegooglecomputeengine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Zone(), ecorePackage.getEString(), \"zone\", \"us-central1-a\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_MachineType(), ecorePackage.getEString(), \"machineType\", \"f1-micro\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Username(), ecorePackage.getEString(), \"username\", \"docker-user\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_InstanceName(), ecorePackage.getEString(), \"instanceName\", \"docker-machine\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Project(), ecorePackage.getEString(), \"project\", null, 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineibmsoftlayerEClass, Machineibmsoftlayer.class, \"Machineibmsoftlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiEndpoint(), ecorePackage.getEString(), \"apiEndpoint\", \"api.softlayer.com/rest/v3\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Cpu(), ecorePackage.getEBigInteger(), \"cpu\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Domain(), ecorePackage.getEString(), \"domain\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_HourlyBilling(), ecorePackage.getEBoolean(), \"hourlyBilling\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Image(), ecorePackage.getEString(), \"image\", \"UBUNTU_LATEST\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_LocalDisk(), ecorePackage.getEBoolean(), \"localDisk\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateNetOnly(), ecorePackage.getEBoolean(), \"privateNetOnly\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PublicVlanId(), ecorePackage.getEString(), \"publicVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateVlanId(), ecorePackage.getEString(), \"privateVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosoftazureEClass, Machinemicrosoftazure.class, \"Machinemicrosoftazure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionId(), ecorePackage.getEString(), \"subscriptionId\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionCert(), ecorePackage.getEString(), \"subscriptionCert\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Environment(), ecorePackage.getEString(), \"environment\", \"AzurePublicCloud\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_MachineLocation(), ecorePackage.getEString(), \"machineLocation\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_ResourceGroup(), ecorePackage.getEString(), \"resourceGroup\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Size(), ecorePackage.getEString(), \"size\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Vnet(), ecorePackage.getEString(), \"vnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubnetPrefix(), ecorePackage.getEString(), \"subnetPrefix\", \"192.168.0.0/16\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_AvailabilitySet(), ecorePackage.getEString(), \"availabilitySet\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_OpenPort(), ecorePackage.getEBigInteger(), \"openPort\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_PrivateIpAddress(), ecorePackage.getEString(), \"privateIpAddress\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_NoPublicIp(), ecorePackage.getEString(), \"noPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_StaticPublicIp(), ecorePackage.getEString(), \"staticPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_DockerPort(), ecorePackage.getEString(), \"dockerPort\", \"2376\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_UsePrivateIp(), ecorePackage.getEString(), \"usePrivateIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosofthypervEClass, Machinemicrosofthyperv.class, \"Machinemicrosofthyperv\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VirtualSwitch(), ecorePackage.getEString(), \"virtualSwitch\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_StaticMacAddress(), theInfrastructurePackage.getMac(), \"staticMacAddress\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VlanId(), ecorePackage.getEString(), \"vlanId\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineopenstackEClass, Machineopenstack.class, \"Machineopenstack\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineopenstack_FlavorId(), ecorePackage.getEString(), \"flavorId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FlavorName(), ecorePackage.getEString(), \"flavorName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageId(), ecorePackage.getEString(), \"imageId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageName(), ecorePackage.getEString(), \"imageName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AuthUrl(), ecorePackage.getEString(), \"authUrl\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantName(), ecorePackage.getEString(), \"tenantName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantId(), ecorePackage.getEString(), \"tenantId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_EndpointType(), ecorePackage.getEString(), \"endpointType\", \"publicURL\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetId(), ecorePackage.getEString(), \"netId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetName(), ecorePackage.getEString(), \"netName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SecGroups(), ecorePackage.getEString(), \"secGroups\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FloatingIpPool(), ecorePackage.getEString(), \"floatingIpPool\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ActiveTimeOut(), ecorePackage.getEBigInteger(), \"activeTimeOut\", \"200\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainId(), ecorePackage.getEString(), \"domainId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Insecure(), ecorePackage.getEBoolean(), \"insecure\", \"false\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_IpVersion(), ecorePackage.getEBigInteger(), \"ipVersion\", \"4\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_KeypairName(), ecorePackage.getEString(), \"keypairName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_PrivateKeyFile(), ecorePackage.getEString(), \"privateKeyFile\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinerackspaceEClass, Machinerackspace.class, \"Machinerackspace\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinerackspace_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_EndPointType(), ecorePackage.getEString(), \"endPointType\", \"publicURL\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ImageId(), ecorePackage.getEString(), \"imageId\", \"59a3fadd-93e7-4674-886a-64883e17115f\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_FlavorId(), ecorePackage.getEString(), \"flavorId\", \"general1-1\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_DockerInstall(), ecorePackage.getEBoolean(), \"dockerInstall\", \"true\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevirtualboxEClass, Machinevirtualbox.class, \"Machinevirtualbox\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevirtualbox_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostDNSResolver(), ecorePackage.getEBoolean(), \"hostDNSResolver\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ImportBoot2DockerVM(), ecorePackage.getEString(), \"importBoot2DockerVM\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyCIDR(), ecorePackage.getEString(), \"hostOnlyCIDR\", \"192.168.99.1/24\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICType(), ecorePackage.getEString(), \"hostOnlyNICType\", \"82540EM\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICPromisc(), ecorePackage.getEString(), \"hostOnlyNICPromisc\", \"deny\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoDNSProxy(), ecorePackage.getEBoolean(), \"noDNSProxy\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoVTXCheck(), ecorePackage.getEBoolean(), \"noVTXCheck\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ShareFolder(), ecorePackage.getEString(), \"shareFolder\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarefusionEClass, Machinevmwarefusion.class, \"Machinevmwarefusion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarefusion_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"1024\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevcloudairEClass, Machinevmwarevcloudair.class, \"Machinevmwarevcloudair\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Catalog(), ecorePackage.getEString(), \"catalog\", \"Public Catalog\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CatalogItem(), ecorePackage.getEString(), \"catalogItem\", \"Ubuntu Server 12.04 LTS (amd64 20140927)\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_ComputeId(), ecorePackage.getEString(), \"computeId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"1\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_DockerPort(), ecorePackage.getEBigInteger(), \"dockerPort\", \"2376\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Edgegateway(), ecorePackage.getEString(), \"edgegateway\", \"&lt;vdcid>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VappName(), ecorePackage.getEString(), \"vappName\", \"&lt;autogenerated>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Orgvdcnetwork(), ecorePackage.getEString(), \"orgvdcnetwork\", \"&lt;vdcid>-default-routed\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Provision(), ecorePackage.getEBoolean(), \"provision\", \"true\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_PublicIp(), ecorePackage.getEString(), \"publicIp\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VdcId(), ecorePackage.getEString(), \"vdcId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevsphereEClass, Machinevmwarevsphere.class, \"Machinevmwarevsphere\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevsphere_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_ComputeIp(), ecorePackage.getEString(), \"computeIp\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"2\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datacenter(), ecorePackage.getEString(), \"datacenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datastore(), ecorePackage.getEString(), \"datastore\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Network(), ecorePackage.getEString(), \"network\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Pool(), ecorePackage.getEString(), \"pool\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Vcenter(), ecorePackage.getEString(), \"vcenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineexoscaleEClass, Machineexoscale.class, \"Machineexoscale\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineexoscale_Url(), ecorePackage.getEString(), \"url\", \"https://api.exoscale.ch/compute\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiSecretKey(), ecorePackage.getEString(), \"apiSecretKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_InstanceProfile(), ecorePackage.getEString(), \"instanceProfile\", \"small\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_Image(), ecorePackage.getEString(), \"image\", \"ubuntu-16.04\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SshUser(), ecorePackage.getEString(), \"sshUser\", \"ubuntu\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_UserData(), ecorePackage.getEString(), \"userData\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AffinityGroup(), ecorePackage.getEString(), \"affinityGroup\", \"docker-machine\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegrid5000EClass, Machinegrid5000.class, \"Machinegrid5000\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegrid5000_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Site(), ecorePackage.getEString(), \"site\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Walltime(), ecorePackage.getEString(), \"walltime\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPrivateKey(), ecorePackage.getEString(), \"sshPrivateKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPublicKey(), ecorePackage.getEString(), \"sshPublicKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_ResourceProperties(), ecorePackage.getEString(), \"resourceProperties\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_UseJobReservation(), ecorePackage.getEString(), \"useJobReservation\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_HostToProvision(), ecorePackage.getEString(), \"hostToProvision\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clusterEClass, Cluster.class, \"Cluster\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCluster_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Cluster.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(modeEEnum, Mode.class, \"Mode\");\n\t\taddEEnumLiteral(modeEEnum, Mode.READ_WRITE);\n\t\taddEEnumLiteral(modeEEnum, Mode.READ);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEnginePackage theEnginePackage = (EnginePackage)EPackage.Registry.INSTANCE.getEPackage(EnginePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbluetoothPortEClass.getESuperTypes().add(theEnginePackage.getPort());\n\t\tl2CAPInJobEClass.getESuperTypes().add(theEnginePackage.getInputJob());\n\t\tl2CAPoutJobEClass.getESuperTypes().add(theEnginePackage.getOutputJob());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(bluetoothPortEClass, BluetoothPort.class, \"BluetoothPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPInJobEClass, L2CAPInJob.class, \"L2CAPInJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPoutJobEClass, L2CAPoutJob.class, \"L2CAPoutJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(metadataEClass, Metadata.class, \"Metadata\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMetadata_Gamename(), ecorePackage.getEString(), \"Gamename\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Shortname(), ecorePackage.getEString(), \"Shortname\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Timing(), ecorePackage.getEString(), \"Timing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Adressing(), ecorePackage.getEString(), \"Adressing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_CartridgeType(), ecorePackage.getEString(), \"CartridgeType\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RomSize(), ecorePackage.getEString(), \"RomSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RamSize(), ecorePackage.getEString(), \"RamSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Licensee(), ecorePackage.getEString(), \"Licensee\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Country(), ecorePackage.getEString(), \"Country\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Videoformat(), ecorePackage.getEString(), \"Videoformat\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Version(), ecorePackage.getEInt(), \"Version\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_IdeVersion(), ecorePackage.getEString(), \"IdeVersion\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPivotModelPackage thePivotModelPackage = (PivotModelPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(PivotModelPackage.eNS_URI);\n\t\tExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(ExpressionsPackageImpl.eNS_URI);\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbagTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\ttupleTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tcollectionTypeEClass.getESuperTypes().add(\n\t\t\t\tthePivotModelPackage.getType());\n\t\tinvalidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\torderedSetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsequenceTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tsetTypeEClass.getESuperTypes().add(this.getCollectionType());\n\t\tvoidTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\ttypeTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\t\tanyTypeEClass.getESuperTypes().add(thePivotModelPackage.getType());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(\n\t\t\t\tbagTypeEClass,\n\t\t\t\tBagType.class,\n\t\t\t\t\"BagType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttupleTypeEClass,\n\t\t\t\tTupleType.class,\n\t\t\t\t\"TupleType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTupleType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, TupleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tcollectionTypeEClass,\n\t\t\t\tCollectionType.class,\n\t\t\t\t\"CollectionType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_ElementType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"elementType\", null, 0, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetCollectionType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tnull,\n\t\t\t\t\"oclLibrary\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEAttribute(\n\t\t\t\tgetCollectionType_Kind(),\n\t\t\t\ttheExpressionsPackage.getCollectionKind(),\n\t\t\t\t\"kind\", null, 1, 1, CollectionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tinvalidTypeEClass,\n\t\t\t\tInvalidType.class,\n\t\t\t\t\"InvalidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetInvalidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclInvalid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, InvalidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\torderedSetTypeEClass,\n\t\t\t\tOrderedSetType.class,\n\t\t\t\t\"OrderedSetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsequenceTypeEClass,\n\t\t\t\tSequenceType.class,\n\t\t\t\t\"SequenceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tsetTypeEClass,\n\t\t\t\tSetType.class,\n\t\t\t\t\"SetType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tvoidTypeEClass,\n\t\t\t\tVoidType.class,\n\t\t\t\t\"VoidType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetVoidType_OclLibrary(),\n\t\t\t\tthis.getOclLibrary(),\n\t\t\t\tthis.getOclLibrary_OclVoid(),\n\t\t\t\t\"oclLibrary\", null, 1, 1, VoidType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\ttypeTypeEClass,\n\t\t\t\tTypeType.class,\n\t\t\t\t\"TypeType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetTypeType_RepresentedType(),\n\t\t\t\tthePivotModelPackage.getType(),\n\t\t\t\tnull,\n\t\t\t\t\"representedType\", null, 0, 1, TypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\toclLibraryEClass,\n\t\t\t\tOclLibrary.class,\n\t\t\t\t\"OclLibrary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBoolean(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBoolean\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclString(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclString\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInteger(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclInteger\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclReal(),\n\t\t\t\tthePivotModelPackage.getPrimitiveType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclReal\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclAny(),\n\t\t\t\tthis.getAnyType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclAny\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclVoid(),\n\t\t\t\tthis.getVoidType(),\n\t\t\t\tthis.getVoidType_OclLibrary(),\n\t\t\t\t\"oclVoid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclInvalid(),\n\t\t\t\tthis.getInvalidType(),\n\t\t\t\tthis.getInvalidType_OclLibrary(),\n\t\t\t\t\"oclInvalid\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclType(),\n\t\t\t\tthis.getTypeType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclType\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclCollection(),\n\t\t\t\tthis.getCollectionType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclCollection\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSequence(),\n\t\t\t\tthis.getSequenceType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSequence\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclBag(),\n\t\t\t\tthis.getBagType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclBag\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclSet(),\n\t\t\t\tthis.getSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclOrderedSet(),\n\t\t\t\tthis.getOrderedSetType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclOrderedSet\", null, 1, 1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\t\tinitEReference(\n\t\t\t\tgetOclLibrary_OclTuple(),\n\t\t\t\tthis.getTupleType(),\n\t\t\t\tnull,\n\t\t\t\t\"oclTuple\", null, 1, -1, OclLibrary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tEOperation op = addEOperation(oclLibraryEClass, this.getTupleType(),\n\t\t\t\t\"makeTupleType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\tEGenericType g1 = createEGenericType(theDatatypesPackage.getSequence());\n\t\tEGenericType g2 = createEGenericType(thePivotModelPackage.getProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"atts\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getCollectionType(),\n\t\t\t\t\"getCollectionType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSequenceType(),\n\t\t\t\t\"getSequenceType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getBagType(),\n\t\t\t\t\"getBagType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getSetType(),\n\t\t\t\t\"getSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getOrderedSetType(),\n\t\t\t\t\"getOrderedSetType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"elementType\", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\top = addEOperation(oclLibraryEClass, this.getTypeType(),\n\t\t\t\t\"getTypeType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\t\taddEParameter(op, thePivotModelPackage.getType(),\n\t\t\t\t\"representedType\", 1, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(\n\t\t\t\tanyTypeEClass,\n\t\t\t\tAnyType.class,\n\t\t\t\t\"AnyType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tSolverPackage theSolverPackage = (SolverPackage)EPackage.Registry.INSTANCE.getEPackage(SolverPackage.eNS_URI);\n\t\tSolverjacopPackage theSolverjacopPackage = (SolverjacopPackage)EPackage.Registry.INSTANCE.getEPackage(SolverjacopPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttoUseSolverCpGeneratorEClass.getESuperTypes().add(theSolverPackage.getGenerator());\n\t\ttoUseSolverCpTupleEClass.getESuperTypes().add(theSolverPackage.getGeneratorTuple());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(toUseSolverCpFolderEClass, ToUseSolverCpFolder.class, \"ToUseSolverCpFolder\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpFolder_SubFolders(), this.getToUseSolverCpFolder(), null, \"SubFolders\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getToUseSolverCpFolder_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpFolder_ToUseGenerators(), this.getToUseSolverCpGenerator(), null, \"ToUseGenerators\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpGeneratorEClass, ToUseSolverCpGenerator.class, \"ToUseSolverCpGenerator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpGenerator_Solver(), theSolverjacopPackage.getSolverJacop(), null, \"Solver\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpGenerator_ToUseTuples(), this.getToUseSolverCpTuple(), null, \"ToUseTuples\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpTupleEClass, ToUseSolverCpTuple.class, \"ToUseSolverCpTuple\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLinears(), theSolverPackage.getGeneratorCpLinear(), null, \"ToUseLinears\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseVars(), theSolverPackage.getGeneratorCpVarAtomic(), null, \"ToUseVars\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLogicals(), theSolverPackage.getGeneratorCpLogical(), null, \"ToUseLogicals\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Elements(), this.getElement(), null, \"elements\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getElement_State(), this.getState(), null, \"state\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getElement_Transition(), this.getTransition(), null, \"transition\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getState_StatesProperties(), this.getStatesProperties(), null, \"statesProperties\", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(statesPropertiesEClass, StatesProperties.class, \"StatesProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStatesProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTransition_Start(), this.getCoordinatesStatesTransition(), null, \"start\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_End(), this.getCoordinatesStatesTransition(), null, \"end\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_TransitionProperties(), this.getTransitionProperties(), null, \"transitionProperties\", null, 0, -1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_Label(), this.getLabel(), null, \"label\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransition_Init(), ecorePackage.getEString(), \"init\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLabel_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLabel_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coordinatesStatesTransitionEClass, CoordinatesStatesTransition.class, \"CoordinatesStatesTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoordinatesStatesTransition_StateTransition(), ecorePackage.getEString(), \"stateTransition\", null, 0, 1, CoordinatesStatesTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionPropertiesEClass, TransitionProperties.class, \"TransitionProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTransitionProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Curve(), ecorePackage.getEString(), \"curve\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tUMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);\n\t\tTypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(textualRepresentationEClass, TextualRepresentation.class, \"TextualRepresentation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTextualRepresentation_Base_Comment(), theUMLPackage.getComment(), null, \"base_Comment\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getTextualRepresentation_Language(), theTypesPackage.getString(), \"language\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(packageDeclarationEClass, PackageDeclaration.class, \"PackageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPackageDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPackageDeclaration_Content(), this.getNamedElement(), null, \"content\", null, 0, -1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(referenceableEClass, Referenceable.class, \"Referenceable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n bitShiftExprEClass.getESuperTypes().add(this.getExpr());\n bitShiftExprChildEClass.getESuperTypes().add(this.getExpr());\n additiveExprEClass.getESuperTypes().add(this.getBitShiftExprChild());\n additiveExprChildEClass.getESuperTypes().add(this.getBitShiftExprChild());\n multiplicativeExprEClass.getESuperTypes().add(this.getAdditiveExprChild());\n multiplicativeExprChildEClass.getESuperTypes().add(this.getAdditiveExprChild());\n numberEClass.getESuperTypes().add(this.getMultiplicativeExprChild());\n\n // Initialize classes and features; add operations and parameters\n initEClass(calcEClass, Calc.class, \"Calc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCalc_Expr(), this.getExpr(), null, \"expr\", null, 1, -1, Calc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exprEClass, Expr.class, \"Expr\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(bitShiftExprEClass, BitShiftExpr.class, \"BitShiftExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBitShiftExpr_Children(), this.getBitShiftExprChild(), null, \"children\", null, 2, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getBitShiftExpr_Operators(), this.getBitShiftOp(), \"operators\", null, 1, -1, BitShiftExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bitShiftExprChildEClass, BitShiftExprChild.class, \"BitShiftExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(additiveExprEClass, AdditiveExpr.class, \"AdditiveExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditiveExpr_Children(), this.getAdditiveExprChild(), null, \"children\", null, 2, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdditiveExpr_Operators(), this.getAdditiveOp(), \"operators\", null, 1, -1, AdditiveExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additiveExprChildEClass, AdditiveExprChild.class, \"AdditiveExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(multiplicativeExprEClass, MultiplicativeExpr.class, \"MultiplicativeExpr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicativeExpr_Children(), this.getMultiplicativeExprChild(), null, \"children\", null, 2, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMultiplicativeExpr_Operators(), this.getMultiplicativeOp(), \"operators\", null, 1, -1, MultiplicativeExpr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicativeExprChildEClass, MultiplicativeExprChild.class, \"MultiplicativeExprChild\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberEClass, org.emftext.language.arithm.Number.class, \"Number\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNumber_Value(), ecorePackage.getEInt(), \"value\", null, 1, 1, org.emftext.language.arithm.Number.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(bitShiftOpEEnum, BitShiftOp.class, \"BitShiftOp\");\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.LEFT);\n addEEnumLiteral(bitShiftOpEEnum, BitShiftOp.RIGHT);\n\n initEEnum(additiveOpEEnum, AdditiveOp.class, \"AdditiveOp\");\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.ADD);\n addEEnumLiteral(additiveOpEEnum, AdditiveOp.SUB);\n\n initEEnum(multiplicativeOpEEnum, MultiplicativeOp.class, \"MultiplicativeOp\");\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.MUL);\n addEEnumLiteral(multiplicativeOpEEnum, MultiplicativeOp.DIV);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(bankEClass, Bank.class, \"Bank\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getBank_Managers(), this.getManager(), null, \"managers\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getBank_Accounts(), this.getAccount(), null, \"accounts\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getBank_Clients(), this.getClient(), null, \"clients\", null, 0, -1, Bank.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(clientEClass, Client.class, \"Client\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getClient_Manager(), this.getManager(), this.getManager_Clients(), \"manager\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getClient_Accounts(), this.getAccount(), this.getAccount_Owners(), \"accounts\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getClient_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getClient_Sponsorships(), this.getClient(), null, \"sponsorships\", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getClient_Capacity(), ecorePackage.getEInt(), \"capacity\", null, 0, 1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(managerEClass, Manager.class, \"Manager\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getManager_Clients(), this.getClient(), this.getClient_Manager(), \"clients\", null, 0, -1, Manager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManager_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Manager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(accountEClass, Account.class, \"Account\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAccount_Owners(), this.getClient(), this.getClient_Accounts(), \"owners\", null, 0, -1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAccount_Credit(), ecorePackage.getEDouble(), \"credit\", null, 0, 1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAccount_Overdraft(), ecorePackage.getEDouble(), \"overdraft\", null, 0, 1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAccount_Cards(), this.getCard(), null, \"cards\", null, 0, -1, Account.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(cardEClass, Card.class, \"Card\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCard_Number(), ecorePackage.getEBigInteger(), \"number\", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getCard_Type(), this.getCardType(), \"type\", null, 0, 1, Card.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(cardTypeEEnum, CardType.class, \"CardType\");\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(ledsCodeDSLEClass, LedsCodeDSL.class, \"LedsCodeDSL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLedsCodeDSL_Project(), this.getProject(), null, \"project\", null, 0, -1, LedsCodeDSL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(projectEClass, Project.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InfrastructureBlock(), this.getInfrastructureBlock(), null, \"infrastructureBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InterfaceBlock(), this.getInterfaceBlock(), null, \"interfaceBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_ApplicationBlock(), this.getApplicationBlock(), null, \"applicationBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_DomainBlock(), this.getDomainBlock(), null, \"domainBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceBlockEClass, InterfaceBlock.class, \"InterfaceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInterfaceBlock_InterfaceApplication(), this.getInterfaceApplication(), null, \"interfaceApplication\", null, 0, -1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceApplicationEClass, InterfaceApplication.class, \"InterfaceApplication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceApplication_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_NameApp(), ecorePackage.getEString(), \"nameApp\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infrastructureBlockEClass, InfrastructureBlock.class, \"InfrastructureBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInfrastructureBlock_BasePackage(), ecorePackage.getEString(), \"basePackage\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInfrastructureBlock_ProjectVersion(), ecorePackage.getEString(), \"projectVersion\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Language(), this.getNameVersion(), null, \"language\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Framework(), this.getNameVersion(), null, \"framework\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Orm(), this.getNameVersion(), null, \"orm\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Database(), this.getDatabase(), null, \"database\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(databaseEClass, Database.class, \"Database\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDatabase_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_UserValue(), ecorePackage.getEString(), \"userValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_PassValue(), ecorePackage.getEString(), \"passValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_HostValue(), ecorePackage.getEString(), \"hostValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_EnvValue(), ecorePackage.getEString(), \"envValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(nameVersionEClass, NameVersion.class, \"NameVersion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNameVersion_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNameVersion_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(applicationBlockEClass, ApplicationBlock.class, \"ApplicationBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getApplicationBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getApplicationBlock_ApplicationDomain(), ecorePackage.getEString(), \"applicationDomain\", null, 0, -1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(domainBlockEClass, DomainBlock.class, \"DomainBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDomainBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDomainBlock_Module(), this.getModuleBlock(), null, \"module\", null, 0, -1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduleBlockEClass, ModuleBlock.class, \"ModuleBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getModuleBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EnumBlock(), this.getEnumBlock(), null, \"enumBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EntityBlock(), this.getEntityBlock(), null, \"entityBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_ServiceBlock(), this.getServiceBlock(), null, \"serviceBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceBlockEClass, ServiceBlock.class, \"ServiceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceBlock_ServiceFields(), this.getServiceMethod(), null, \"serviceFields\", null, 0, -1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceMethodEClass, ServiceMethod.class, \"ServiceMethod\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceMethod_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceMethod_MethodAcess(), this.getRepositoryFields(), null, \"methodAcess\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityBlockEClass, EntityBlock.class, \"EntityBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityBlock_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_IsAbstract(), ecorePackage.getEBoolean(), \"isAbstract\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_ClassExtends(), this.getExtendBlock(), null, \"classExtends\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Attributes(), this.getAttribute(), null, \"attributes\", null, 0, -1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Repository(), this.getRepository(), null, \"repository\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAttribute_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Pk(), ecorePackage.getEBoolean(), \"pk\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Unique(), ecorePackage.getEString(), \"unique\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Nullable(), ecorePackage.getEString(), \"nullable\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryEClass, Repository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepository_Methods(), this.getRepositoryFields(), null, \"methods\", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryFieldsEClass, RepositoryFields.class, \"RepositoryFields\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepositoryFields_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepositoryFields_MethodsParameters(), this.getMethodParameter(), null, \"methodsParameters\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRepositoryFields_ReturnType(), ecorePackage.getEString(), \"returnType\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(enumBlockEClass, EnumBlock.class, \"EnumBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEnumBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEnumBlock_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(methodParameterEClass, MethodParameter.class, \"MethodParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMethodParameter_TypeAndAttr(), this.getTypeAndAttribute(), null, \"typeAndAttr\", null, 0, -1, MethodParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeAndAttributeEClass, TypeAndAttribute.class, \"TypeAndAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTypeAndAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeAndAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(extendBlockEClass, ExtendBlock.class, \"ExtendBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExtendBlock_Values(), this.getEntityBlock(), null, \"values\", null, 0, -1, ExtendBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n openEClass.getESuperTypes().add(this.getINSTRUCTION());\n gotoEClass.getESuperTypes().add(this.getINSTRUCTION());\n clickEClass.getESuperTypes().add(this.getINSTRUCTION());\n fillEClass.getESuperTypes().add(this.getINSTRUCTION());\n checkEClass.getESuperTypes().add(this.getINSTRUCTION());\n uncheckEClass.getESuperTypes().add(this.getINSTRUCTION());\n selectEClass.getESuperTypes().add(this.getINSTRUCTION());\n readEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifyEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifY_CONTAINSEClass.getESuperTypes().add(this.getVERIFY());\n verifY_EQUALSEClass.getESuperTypes().add(this.getVERIFY());\n countEClass.getESuperTypes().add(this.getINSTRUCTION());\n playEClass.getESuperTypes().add(this.getINSTRUCTION());\n\n // Initialize classes and features; add operations and parameters\n initEClass(programmeEClass, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, \"PROGRAMME\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPROGRAMME_Procedures(), this.getPROCEDURE(), null, \"procedures\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(procedureEClass, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, \"PROCEDURE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPROCEDURE_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Param(), ecorePackage.getEString(), \"param\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPROCEDURE_Inst(), this.getINSTRUCTION(), null, \"inst\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(instructionEClass, org.xtext.project.browserautomationdsl.domainmodel.INSTRUCTION.class, \"INSTRUCTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(openEClass, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, \"OPEN\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getOPEN_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getOPEN_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(gotoEClass, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, \"GOTO\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getGOTO_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGOTO_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(clickEClass, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, \"CLICK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCLICK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCLICK_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCLICK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fillEClass, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, \"FILL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFILL_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_FieldType(), ecorePackage.getEString(), \"fieldType\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFILL_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(checkEClass, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, \"CHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(uncheckEClass, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, \"UNCHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUNCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getUNCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getUNCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, \"SELECT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSELECT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getSELECT_Elem(), ecorePackage.getEString(), \"elem\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSELECT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(readEClass, org.xtext.project.browserautomationdsl.domainmodel.READ.class, \"READ\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREAD_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_SavePath(), this.getSAVEVAR(), null, \"savePath\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementidentifierEClass, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, \"ELEMENTIDENTIFIER\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getELEMENTIDENTIFIER_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Info(), ecorePackage.getEString(), \"info\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifyEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, \"VERIFY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_CONTAINSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, \"VERIFY_CONTAINS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_CONTAINS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_ContainedIdentifier(), this.getELEMENTIDENTIFIER(), null, \"containedIdentifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Variable(), this.getREGISTERED_VALUE(), null, \"variable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_EQUALSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, \"VERIFY_EQUALS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getVERIFY_EQUALS_Operation(), this.getCOUNT(), null, \"operation\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_EQUALS_RegisteredValue(), this.getREGISTERED_VALUE(), null, \"registeredValue\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(registereD_VALUEEClass, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, \"REGISTERED_VALUE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREGISTERED_VALUE_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(countEClass, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, \"COUNT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCOUNT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_SaveVariable(), this.getSAVEVAR(), null, \"saveVariable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(savevarEClass, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, \"SAVEVAR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSAVEVAR_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(playEClass, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, \"PLAY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPLAY_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Preocedure(), ecorePackage.getEString(), \"preocedure\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n if(isInitialized) {\n return;\n }\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n modularizationModelEClass.getESuperTypes().add(this.getNamedElement());\n moduleEClass.getESuperTypes().add(this.getNamedElement());\n classEClass.getESuperTypes().add(this.getNamedElement());\n\n // Initialize classes, features, and operations; add parameters\n initEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE,\n IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class,\n !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(modularizationModelEClass, ModularizationModel.class, \"ModularizationModel\", !IS_ABSTRACT,\n !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModularizationModel_Modules(), this.getModule(), null, \"modules\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n initEReference(getModularizationModel_Classes(), this.getClass_(), null, \"classes\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n initEClass(moduleEClass, Module.class, \"Module\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModule_Classes(), this.getClass_(), this.getClass_Module(), \"classes\", null, 0, -1,\n Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classEClass, at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, \"Class\",\n !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getClass_Module(), this.getModule(), this.getModule_Classes(), \"module\", null, 0, 1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependsOn(), this.getClass_(), this.getClass_DependedOnBy(), \"dependsOn\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependedOnBy(), this.getClass_(), this.getClass_DependsOn(), \"dependedOnBy\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tno.hal.pg.runtime.RuntimePackage theRuntimePackage_1 = (no.hal.pg.runtime.RuntimePackage)EPackage.Registry.INSTANCE.getEPackage(no.hal.pg.runtime.RuntimePackage.eNS_URI);\r\n\t\tOsmPackage theOsmPackage = (OsmPackage)EPackage.Registry.INSTANCE.getEPackage(OsmPackage.eNS_URI);\r\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\r\n\t\tAppPackage theAppPackage = (AppPackage)EPackage.Registry.INSTANCE.getEPackage(AppPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tEGenericType g1 = createEGenericType(theRuntimePackage_1.getTask());\r\n\t\tEGenericType g2 = createEGenericType(this.getPlayerTaskScores());\r\n\t\tg1.getETypeArguments().add(g2);\r\n\t\tpuzzleTaskEClass.getEGenericSuperTypes().add(g1);\r\n\t\tg1 = createEGenericType(theOsmPackage.getGeoLocation());\r\n\t\tpuzzleTaskEClass.getEGenericSuperTypes().add(g1);\r\n\t\tg1 = createEGenericType(theAppPackage.getTaskView());\r\n\t\tg2 = createEGenericType(this.getPuzzleTask());\r\n\t\tg1.getETypeArguments().add(g2);\r\n\t\tpuzzleTaskViewEClass.getEGenericSuperTypes().add(g1);\r\n\t\tsimplePuzzleEClass.getESuperTypes().add(this.getPuzzle());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(puzzleTaskEClass, PuzzleTask.class, \"PuzzleTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPuzzleTask_Puzzles(), this.getPuzzle(), null, \"puzzles\", null, 0, -1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPuzzleTask_PlayerLevels(), this.getPlayerToInt(), null, \"playerLevels\", null, 0, -1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPuzzleTask_PlayerTaskScores(), this.getPlayerTaskScores(), null, \"playerTaskScores\", null, 0, 1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tEOperation op = initEOperation(getPuzzleTask__AcceptPuzzleProposal__String_Player(), theEcorePackage.getEBoolean(), \"acceptPuzzleProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTask__CalculateScore__int_Player_boolean(), theEcorePackage.getEInt(), \"calculateScore\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEInt(), \"puzzleLevel\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEBoolean(), \"isProposalCorrect\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTask__AcceptPlayer__Player(), theEcorePackage.getEBoolean(), \"acceptPlayer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzlePieceEClass, PuzzlePiece.class, \"PuzzlePiece\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzlePiece_Image(), theEcorePackage.getEString(), \"image\", null, 0, 1, PuzzlePiece.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzlePiece_PlayerCount(), theEcorePackage.getEInt(), \"playerCount\", null, 0, 1, PuzzlePiece.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzleTaskViewEClass, PuzzleTaskView.class, \"PuzzleTaskView\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzleTaskView_Image(), theEcorePackage.getEString(), \"image\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzleTaskView_Score(), theEcorePackage.getEInt(), \"score\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzleTaskView_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTaskView__ProposeAnswer__String(), this.getPuzzleTaskView(), \"proposeAnswer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__Finish(), null, \"finish\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__StartPuzzle(), null, \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__AcceptPlayer(), theEcorePackage.getEBoolean(), \"acceptPlayer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerToIntEClass, Map.Entry.class, \"PlayerToInt\", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerToInt_Key(), theRuntimePackage_1.getPlayer(), null, \"key\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerToInt_Value(), theEcorePackage.getEIntegerObject(), \"value\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzleEClass, Puzzle.class, \"Puzzle\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzle_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, Puzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__AcceptProposal__String(), theEcorePackage.getEBoolean(), \"acceptProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__FinishPuzzle__Player(), theEcorePackage.getEBoolean(), \"finishPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__StartPuzzle__Player(), theEcorePackage.getEBoolean(), \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__GetImage__Player(), theEcorePackage.getEString(), \"getImage\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(simplePuzzleEClass, SimplePuzzle.class, \"SimplePuzzle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSimplePuzzle_Instructions(), theRuntimePackage_1.getInfoItem(), null, \"instructions\", null, 0, 1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getSimplePuzzle_Solution(), theEcorePackage.getEString(), \"solution\", null, 0, 1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSimplePuzzle_PuzzlePieces(), this.getPuzzlePiece(), null, \"puzzlePieces\", null, 0, -1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSimplePuzzle_PlayerPieces(), this.getPlayerToPuzzlePiece(), null, \"playerPieces\", null, 0, -1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__AcceptProposal__String(), theEcorePackage.getEBoolean(), \"acceptProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__FinishPuzzle__Player(), theEcorePackage.getEBoolean(), \"finishPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__StartPuzzle__Player(), theEcorePackage.getEBoolean(), \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__GetImage__Player(), theEcorePackage.getEString(), \"getImage\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerTaskScoreEClass, PlayerTaskScore.class, \"PlayerTaskScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerTaskScore_Player(), theRuntimePackage_1.getPlayer(), null, \"player\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerTaskScore_Score(), theEcorePackage.getEInt(), \"score\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerTaskScore_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerTaskScoresEClass, PlayerTaskScores.class, \"PlayerTaskScores\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerTaskScores_Scores(), this.getPlayerTaskScore(), null, \"scores\", null, 0, -1, PlayerTaskScores.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerToPuzzlePieceEClass, Map.Entry.class, \"PlayerToPuzzlePiece\", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerToPuzzlePiece_Key(), theRuntimePackage_1.getPlayer(), null, \"key\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPlayerToPuzzlePiece_Value(), this.getPuzzlePiece(), null, \"value\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "DataPackage createDataPackage();", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\troleEClass.getESuperTypes().add(this.getSocialInstance());\n\t\tindividualInstanceEClass.getESuperTypes().add(this.getSocialInstance());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(roleEClass, Role.class, \"Role\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRole_Society(), this.getSociety(), this.getSociety_Roles(), \"society\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_IsRealizedByIndividual(), this.getIndividualRealization(), this.getIndividualRealization_Target(), \"isRealizedByIndividual\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Parent(), this.getSpecialization(), this.getSpecialization_Target(), \"parent\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Children(), this.getSpecialization(), this.getSpecialization_Source(), \"children\", null, 0, -1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRole_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRole_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Role.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(individualRealizationEClass, IndividualRealization.class, \"IndividualRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIndividualRealization_Target(), this.getRole(), this.getRole_IsRealizedByIndividual(), \"target\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualRealization_Source(), this.getIndividualInstance(), this.getIndividualInstance_Realizes(), \"source\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualRealization_Society(), this.getSociety(), this.getSociety_Relaizations(), \"society\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualRealization_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, IndividualRealization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(societyEClass, Society.class, \"Society\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSociety_Generalizations(), this.getSpecialization(), this.getSpecialization_Society(), \"generalizations\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Relaizations(), this.getIndividualRealization(), this.getIndividualRealization_Society(), \"relaizations\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Individuals(), this.getIndividualInstance(), this.getIndividualInstance_Society(), \"individuals\", null, 0, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSociety_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSociety_Roles(), this.getRole(), this.getRole_Society(), \"roles\", null, 1, -1, Society.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializationEClass, Specialization.class, \"Specialization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecialization_Target(), this.getRole(), this.getRole_Parent(), \"target\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecialization_Source(), this.getRole(), this.getRole_Children(), \"source\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecialization_Society(), this.getSociety(), this.getSociety_Generalizations(), \"society\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSpecialization_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, Specialization.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(individualInstanceEClass, IndividualInstance.class, \"IndividualInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIndividualInstance_Realizes(), this.getIndividualRealization(), this.getIndividualRealization_Source(), \"realizes\", null, 1, -1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualInstance_Id(), ecorePackage.getEInt(), \"id\", null, 1, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getIndividualInstance_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIndividualInstance_Society(), this.getSociety(), this.getSociety_Individuals(), \"society\", null, 1, 1, IndividualInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(socialInstanceEClass, SocialInstance.class, \"SocialInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSocialInstance__GetID(), ecorePackage.getEInt(), \"getID\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSocialInstance__GetName(), ecorePackage.getEString(), \"getName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tstateEClass.getESuperTypes().add(this.getEndPoint());\n\t\tconnectorEClass.getESuperTypes().add(this.getEndPoint());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getState_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Invariant(), ecorePackage.getEString(), \"Invariant\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Initial(), ecorePackage.getEBoolean(), \"Initial\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Urgent(), ecorePackage.getEBoolean(), \"Urgent\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getState_Committed(), ecorePackage.getEBoolean(), \"Committed\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(connectorEClass, Connector.class, \"Connector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getConnector_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConnector_Diagram(), this.getDiagram(), this.getDiagram_Connectors(), \"diagram\", null, 1, 1, Connector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(diagramEClass, Diagram.class, \"Diagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDiagram_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Connectors(), this.getConnector(), this.getConnector_Diagram(), \"connectors\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_States(), this.getState(), null, \"states\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Subdiagrams(), this.getDiagram(), null, \"subdiagrams\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDiagram_Edges(), this.getEdge(), null, \"edges\", null, 0, -1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDiagram_IsParallel(), ecorePackage.getEBoolean(), \"IsParallel\", null, 0, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(edgeEClass, Edge.class, \"Edge\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEdge_Start(), this.getEndPoint(), this.getEndPoint_OutgoingEdges(), \"start\", null, 1, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdge_End(), this.getEndPoint(), null, \"end\", null, 1, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdge_EReference0(), this.getDiagram(), null, \"EReference0\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Select(), ecorePackage.getEString(), \"Select\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Guard(), ecorePackage.getEString(), \"Guard\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Sync(), ecorePackage.getEString(), \"Sync\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Update(), ecorePackage.getEString(), \"Update\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getEdge_Comments(), ecorePackage.getEString(), \"Comments\", null, 0, 1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(endPointEClass, EndPoint.class, \"EndPoint\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEndPoint_OutgoingEdges(), this.getEdge(), this.getEdge_Start(), \"outgoingEdges\", null, 0, -1, EndPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void processOWLDefinition(ModuleItem pkg) throws SerializationException, IOException{\n ModelCompiler jarCompiler = ModelCompilerFactory.newModelCompiler(ModelFactory.CompileTarget.JAR);\n JarModel compiledJarModel = (JarModel) jarCompiler.compile(ontoModel);\n byte[] jarBytes = compiledJarModel.buildJar().toByteArray();\n \n //Get the Working-Set from onto-model\n ModelCompiler wsCompiler = ModelCompilerFactory.newModelCompiler(ModelFactory.CompileTarget.WORKSET);\n WorkingSetModel compiledWSModel = (WorkingSetModel) wsCompiler.compile(ontoModel);\n SemanticWorkingSetConfigData semanticWorkingSet = compiledWSModel.getWorkingSet();\n \n //Get the Fact Types DRL from onto-model\n ModelCompiler drlCompiler = ModelCompilerFactory.newModelCompiler(ModelFactory.CompileTarget.DRL);\n DRLModel drlModel = (DRLModel)drlCompiler.compile(ontoModel);\n \n //Get the Fact Types XSD from onto-model\n ModelCompiler xsdCompiler = ModelCompilerFactory.newModelCompiler(ModelFactory.CompileTarget.XSD);\n XSDModel xsdModel = (XSDModel)xsdCompiler.compile(ontoModel);\n \n //convert from semantic to guvnor model\n WorkingSetConfigData workingSetConfigData = this.convertSemanticWorkingSetConfigData(semanticWorkingSet);\n \n //create a second Working-Set for the Configuration (Cohort) Facts\n WorkingSetConfigData cohortWorkingSetConfigData = this.convertSemanticWorkingSetConfigData(\"Configuration Facts\", semanticWorkingSet);\n \n //create categories from working-set data\n this.createCategoryTreeFromWorkingSet(workingSetConfigData);\n \n //create the Jar Model\n this.createJarModelAsset(pkg, jarBytes);\n \n //create the working-set assets\n this.createWSAsset(pkg, workingSetConfigData);\n this.createWSAsset(pkg, cohortWorkingSetConfigData);\n \n //store the fact type drl as a generic resource\n this.storeFactTypeDRL(pkg, drlModel);\n \n //create and store the Fact Type Descriptor\n this.createFactTypeDescriptor(pkg, xsdModel);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tServiceCIMPackage theServiceCIMPackage = (ServiceCIMPackage)EPackage.Registry.INSTANCE.getEPackage(ServiceCIMPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tauthorizableResourceEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannResourceEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tannPropertyEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tauthorizationSubjectEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannCRUDActivityEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tnewPropertyEClass.getESuperTypes().add(this.getAnnotation());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(annotationModelEClass, AnnotationModel.class, \"AnnotationModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAnnotationModel_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotatedElement(), this.getAnnotatedElement(), null, \"hasAnnotatedElement\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotation(), this.getAnnotation(), null, \"hasAnnotation\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(authorizableResourceEClass, AuthorizableResource.class, \"AuthorizableResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizableResource_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAuthorizableResource_IsAuthorizableResource(), this.getAnnResource(), null, \"isAuthorizableResource\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAuthorizableResource_BTrackOwnership(), ecorePackage.getEBoolean(), \"bTrackOwnership\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicySetEClass, ResourceAccessPolicySet.class, \"ResourceAccessPolicySet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_PolicyCombiningAlgorithm(), this.getCombiningAlgorithm(), \"policyCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicy(), this.getResourceAccessPolicy(), null, \"hasResourceAccessPolicy\", null, 1, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 0, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotatedElementEClass, AnnotatedElement.class, \"AnnotatedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(annResourceEClass, AnnResource.class, \"AnnResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnResource_AnnotatesResource(), theServiceCIMPackage.getResource(), null, \"annotatesResource\", null, 1, 1, AnnResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicyEClass, ResourceAccessPolicy.class, \"ResourceAccessPolicy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicy_RuleCombiningAlgorithm(), this.getCombiningAlgorithm(), \"ruleCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasApplyCondition(), this.getCondition(), null, \"hasApplyCondition\", null, 0, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasResourceAccessRule(), this.getResourceAccessRule(), null, \"hasResourceAccessRule\", null, 1, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCondition_Operator(), this.getOperator(), \"operator\", \"UNDEFINED\", 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasLeftSideOperand(), this.getAttribute(), null, \"hasLeftSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasRightSideOperand(), this.getAttribute(), null, \"hasRightSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAttribute_AttributeCategory(), this.getAttributeCategory(), \"attributeCategory\", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeExistingProperty(), this.getAnnProperty(), null, \"isAttributeExistingProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAttribute_Value(), ecorePackage.getEString(), \"value\", null, 0, -1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeNewProperty(), this.getNewProperty(), null, \"isAttributeNewProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeResource(), this.getAnnResource(), null, \"isAttributeResource\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annPropertyEClass, AnnProperty.class, \"AnnProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnProperty_AnnotatesProperty(), theServiceCIMPackage.getProperty(), null, \"annotatesProperty\", null, 1, 1, AnnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessRuleEClass, ResourceAccessRule.class, \"ResourceAccessRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getResourceAccessRule_HasMatchCondition(), this.getCondition(), null, \"hasMatchCondition\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_RuleType(), this.getRuleType(), \"ruleType\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessRule_HasAllowedAction(), this.getAllowedAction(), null, \"hasAllowedAction\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(authorizationSubjectEClass, AuthorizationSubject.class, \"AuthorizationSubject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizationSubject_IsAuthorizationSubject(), this.getAnnResource(), null, \"isAuthorizationSubject\", null, 1, 1, AuthorizationSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annCRUDActivityEClass, AnnCRUDActivity.class, \"AnnCRUDActivity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnCRUDActivity_AnnotatesCRUDActivity(), theServiceCIMPackage.getCRUDActivity(), null, \"annotatesCRUDActivity\", null, 1, 1, AnnCRUDActivity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(allowedActionEClass, AllowedAction.class, \"AllowedAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAllowedAction_IsAllowedAction(), this.getAnnCRUDActivity(), null, \"isAllowedAction\", null, 1, 1, AllowedAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(newPropertyEClass, NewProperty.class, \"NewProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getNewProperty_BelongsToResource(), this.getAnnResource(), null, \"belongsToResource\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Type(), ecorePackage.getEString(), \"type\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_BIsUnique(), ecorePackage.getEBoolean(), \"bIsUnique\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(combiningAlgorithmEEnum, CombiningAlgorithm.class, \"CombiningAlgorithm\");\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_UNLESS_PERMIT);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_UNLESS_DENY);\r\n\r\n\t\tinitEEnum(operatorEEnum, Operator.class, \"Operator\");\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_NOT_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.REGEX);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.UNDEFINED);\r\n\r\n\t\tinitEEnum(attributeCategoryEEnum, AttributeCategory.class, \"AttributeCategory\");\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESS_SUBJECT);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESSED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.PARENT_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CHILD_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.INCLUDED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CONSTANT);\r\n\r\n\t\tinitEEnum(ruleTypeEEnum, RuleType.class, \"RuleType\");\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.PERMIT);\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.DENY);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(userEClass, User.class, \"User\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getUser_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, User.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getUser_UR(), this.getRole(), this.getRole_RU(), \"UR\", null, 0, -1, User.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\n\t\tinitEClass(roleEClass, Role.class, \"Role\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRole_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Role.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_RD(), this.getDemarcation(), this.getDemarcation_DR(), \"RD\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Seniors(), this.getRole(), this.getRole_Juniors(), \"seniors\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_Juniors(), this.getRole(), this.getRole_Seniors(), \"juniors\", null, 0, -1, Role.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRole_RU(), this.getUser(), this.getUser_UR(), \"RU\", null, 0, -1, Role.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\n\t\tinitEClass(permissionEClass, Permission.class, \"Permission\", !IS_ABSTRACT, !IS_INTERFACE,\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPermission_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Permission.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPermission_PD(), this.getDemarcation(), this.getDemarcation_DP(), \"PD\", null, 0, -1,\n\t\t\t\tPermission.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(policyEClass, Policy.class, \"Policy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPolicy_Users(), this.getUser(), null, \"users\", null, 0, -1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\t\tinitEReference(getPolicy_Roles(), this.getRole(), null, \"roles\", null, 0, -1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n\t\t\t\tIS_ORDERED);\n\t\tinitEReference(getPolicy_Permissions(), this.getPermission(), null, \"permissions\", null, 0, -1, Policy.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPolicy_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Policy.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPolicy_Demarcations(), this.getDemarcation(), null, \"demarcations\", null, 0, -1, Policy.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(demarcationEClass, Demarcation.class, \"Demarcation\", !IS_ABSTRACT, !IS_INTERFACE,\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDemarcation_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Demarcation.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_DP(), this.getPermission(), this.getPermission_PD(), \"DP\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_Subs(), this.getDemarcation(), this.getDemarcation_Sups(), \"subs\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_Sups(), this.getDemarcation(), this.getDemarcation_Subs(), \"sups\", null, 0, -1,\n\t\t\t\tDemarcation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDemarcation_DR(), this.getRole(), this.getRole_RD(), \"DR\", null, 0, -1, Demarcation.class,\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tScenarioPackage theScenarioPackage = (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI);\n\t\tXActivityDiagramPropertyPackage theXActivityDiagramPropertyPackage = (XActivityDiagramPropertyPackage)EPackage.Registry.INSTANCE.getEPackage(XActivityDiagramPropertyPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theScenarioPackage.getArbiter());\n\t\tEGenericType g2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterState());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterStateEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterTransition());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterTransitionEClass.getEGenericSuperTypes().add(g1);\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(xActivityDiagramArbiterEClass, XActivityDiagramArbiter.class, \"XActivityDiagramArbiter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterStateEClass, XActivityDiagramArbiterState.class, \"XActivityDiagramArbiterState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterTransitionEClass, XActivityDiagramArbiterTransition.class, \"XActivityDiagramArbiterTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tcomDiagEClass.getESuperTypes().add(this.getNamedElement());\r\n\t\tcomDiagElementEClass.getESuperTypes().add(this.getNamedElement());\r\n\t\tlifelineEClass.getESuperTypes().add(this.getComDiagElement());\r\n\t\tmessageEClass.getESuperTypes().add(this.getComDiagElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(),\r\n\t\t\t\t\"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(comDiagEClass, ComDiag.class, \"ComDiag\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComDiag_Elements(), this.getComDiagElement(),\r\n\t\t\t\tthis.getComDiagElement_Graph(), \"elements\", null, 0, -1,\r\n\t\t\t\tComDiag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getComDiag_Level(), ecorePackage.getEString(), \"level\",\r\n\t\t\t\tnull, 0, 1, ComDiag.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(comDiagElementEClass, ComDiagElement.class,\r\n\t\t\t\t\"ComDiagElement\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComDiagElement_Graph(), this.getComDiag(),\r\n\t\t\t\tthis.getComDiag_Elements(), \"graph\", null, 0, 1,\r\n\t\t\t\tComDiagElement.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(lifelineEClass, Lifeline.class, \"Lifeline\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getLifeline_Number(), ecorePackage.getEInt(), \"number\",\r\n\t\t\t\tnull, 0, 1, Lifeline.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(messageEClass, Message.class, \"Message\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMessage_Occurence(), ecorePackage.getEInt(),\r\n\t\t\t\t\"occurence\", null, 0, 1, Message.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMessage_Source(), this.getLifeline(), null, \"source\",\r\n\t\t\t\tnull, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMessage_Target(), this.getLifeline(), null, \"target\",\r\n\t\t\t\tnull, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(oml2OTIProvenanceEClass, OML2OTIProvenance.class, \"OML2OTIProvenance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOML2OTIProvenance_OmlUUID(), this.getUUID(), \"omlUUID\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OmlIRI(), this.getOML_IRI(), \"omlIRI\", null, 0, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiID(), this.getOTI_TOOL_SPECIFIC_ID(), \"otiID\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiURL(), this.getOTI_TOOL_SPECIFIC_URL(), \"otiURL\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiUUID(), this.getOTI_TOOL_SPECIFIC_UUID(), \"otiUUID\", null, 0, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_Explanation(), theEcorePackage.getEString(), \"explanation\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize data types\n\t\tinitEDataType(uuidEDataType, String.class, \"UUID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(omL_IRIEDataType, String.class, \"OML_IRI\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_IDEDataType, String.class, \"OTI_TOOL_SPECIFIC_ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_UUIDEDataType, String.class, \"OTI_TOOL_SPECIFIC_UUID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_URLEDataType, String.class, \"OTI_TOOL_SPECIFIC_URL\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "JPackage _package();", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\ttrasicionEntreOmOmEClass.getESuperTypes().add(this.getTransicion());\r\n\t\ttransicionEntreMacroOmOmEClass.getESuperTypes().add(this.getTransicion());\r\n\t\texpresionBinariaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\trefVariableGemmaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\texpresionNotEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\trefVariableOmEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\t\texpresionConjuntaEClass.getESuperTypes().add(this.getElementoExpresion());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(gemmaEClass, Gemma.class, \"Gemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getGemma_MacroOms(), this.getMacroOm(), null, \"macroOms\", null, 1, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getGemma_Transiciones(), this.getTransicion(), null, \"transiciones\", null, 1, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getGemma_VariablesGemma(), this.getVariableGemma(), null, \"variablesGemma\", null, 0, -1, Gemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(macroOmEClass, MacroOm.class, \"MacroOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMacroOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getMacroOm_Tipo(), this.getTipoMacroOm(), \"tipo\", null, 0, 1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMacroOm_Oms(), this.getOm(), null, \"oms\", null, 1, -1, MacroOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(omEClass, Om.class, \"Om\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_Tipo(), this.getTipoOm(), \"tipo\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_EsOmRaiz(), ecorePackage.getEBoolean(), \"esOmRaiz\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getOm_VariablesOm(), this.getVariableOm(), null, \"variablesOm\", null, 0, -1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getOm_EsVisible(), ecorePackage.getEBoolean(), \"esVisible\", null, 0, 1, Om.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(trasicionEntreOmOmEClass, TrasicionEntreOmOm.class, \"TrasicionEntreOmOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getTrasicionEntreOmOm_Origen(), this.getOm(), null, \"origen\", null, 1, 1, TrasicionEntreOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTrasicionEntreOmOm_Destino(), this.getOm(), null, \"destino\", null, 1, 1, TrasicionEntreOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(transicionEntreMacroOmOmEClass, TransicionEntreMacroOmOm.class, \"TransicionEntreMacroOmOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getTransicionEntreMacroOmOm_Origen(), this.getMacroOm(), null, \"origen\", null, 1, 1, TransicionEntreMacroOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTransicionEntreMacroOmOm_Destino(), this.getOm(), null, \"destino\", null, 1, 1, TransicionEntreMacroOmOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionBinariaEClass, ExpresionBinaria.class, \"ExpresionBinaria\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionBinaria_ExpresionIzquierda(), this.getElementoExpresion(), null, \"expresionIzquierda\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getExpresionBinaria_ExpresionDerecha(), this.getElementoExpresion(), null, \"expresionDerecha\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getExpresionBinaria_Operador(), this.getTipoOperador(), \"operador\", null, 0, 1, ExpresionBinaria.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(elementoExpresionEClass, ElementoExpresion.class, \"ElementoExpresion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(variableOmEClass, VariableOm.class, \"VariableOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getVariableOm_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(transicionEClass, Transicion.class, \"Transicion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getTransicion_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Transicion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getTransicion_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, Transicion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(variableGemmaEClass, VariableGemma.class, \"VariableGemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getVariableGemma_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(refVariableGemmaEClass, RefVariableGemma.class, \"RefVariableGemma\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRefVariableGemma_VariableGemma(), this.getVariableGemma(), null, \"variableGemma\", null, 1, 1, RefVariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getRefVariableGemma_NivelDeEscritura(), this.getNivelDeEscritura(), \"nivelDeEscritura\", null, 0, 1, RefVariableGemma.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionNotEClass, ExpresionNot.class, \"ExpresionNot\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionNot_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, ExpresionNot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(refVariableOmEClass, RefVariableOm.class, \"RefVariableOm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRefVariableOm_VariableOm(), this.getVariableOm(), null, \"variableOm\", null, 1, 1, RefVariableOm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(expresionConjuntaEClass, ExpresionConjunta.class, \"ExpresionConjunta\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getExpresionConjunta_ElementoExpresion(), this.getElementoExpresion(), null, \"elementoExpresion\", null, 1, 1, ExpresionConjunta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(tipoOmEEnum, TipoOm.class, \"TipoOm\");\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A3);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A4);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A5);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A6);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.A7);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F3);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F4);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F5);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.F6);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D1);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D2);\r\n\t\taddEEnumLiteral(tipoOmEEnum, TipoOm.D3);\r\n\r\n\t\tinitEEnum(tipoMacroOmEEnum, TipoMacroOm.class, \"TipoMacroOm\");\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.A);\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.F);\r\n\t\taddEEnumLiteral(tipoMacroOmEEnum, TipoMacroOm.D);\r\n\r\n\t\tinitEEnum(tipoOperadorEEnum, TipoOperador.class, \"TipoOperador\");\r\n\t\taddEEnumLiteral(tipoOperadorEEnum, TipoOperador.AND);\r\n\t\taddEEnumLiteral(tipoOperadorEEnum, TipoOperador.OR);\r\n\r\n\t\tinitEEnum(nivelDeEscrituraEEnum, NivelDeEscritura.class, \"NivelDeEscritura\");\r\n\t\taddEEnumLiteral(nivelDeEscrituraEEnum, NivelDeEscritura.GEMMA);\r\n\t\taddEEnumLiteral(nivelDeEscrituraEEnum, NivelDeEscritura.OM);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(baseElementEClass, BaseElement.class, \"BaseElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBaseElement_KeyValueMaps(), this.getKeyValueMap(), null, \"keyValueMaps\", null, 0, -1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Id(), ecorePackage.getELong(), \"Id\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getBaseElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, BaseElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyValueMapEClass, KeyValueMap.class, \"KeyValueMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getKeyValueMap_Key(), ecorePackage.getEString(), \"key\", null, 0, 1, KeyValueMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyValueMap_Values(), this.getValue(), null, \"values\", null, 0, -1, KeyValueMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(valueEClass, Value.class, \"Value\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getValue_Tag(), ecorePackage.getEString(), \"tag\", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getValue_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Value.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(timeUnitEEnum, TimeUnit.class, \"TimeUnit\");\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MILLISECOND);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.SECOND);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MINUTE);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.HOUR);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.DAY);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.WEEK);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.MONTH);\n\t\taddEEnumLiteral(timeUnitEEnum, TimeUnit.YEAR);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(mealyMachineEClass, MealyMachine.class, \"MealyMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMealyMachine_InitialState(), this.getState(), null, \"initialState\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_States(), this.getState(), null, \"states\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_InputAlphabet(), this.getAlphabet(), null, \"inputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_OutputAlphabet(), this.getAlphabet(), null, \"outputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_Transitions(), this.getTransition(), null, \"transitions\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(alphabetEClass, Alphabet.class, \"Alphabet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAlphabet_Characters(), ecorePackage.getEString(), \"characters\", null, 1, -1, Alphabet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTransition_SourceState(), this.getState(), null, \"sourceState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTransition_TargetState(), this.getState(), null, \"targetState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Input(), ecorePackage.getEString(), \"input\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Output(), ecorePackage.getEString(), \"output\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(liveScoreEClass, LiveScore.class, \"LiveScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiveScore_Preferedplayer(), this.getPreferedPlayer(), null, \"preferedplayer\", null, 0, -1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLiveScore_Salonname(), ecorePackage.getEString(), \"salonname\", null, 0, 1, LiveScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(preferedPlayerEClass, PreferedPlayer.class, \"PreferedPlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPreferedPlayer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Won(), ecorePackage.getEInt(), \"won\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPreferedPlayer_Playings(), ecorePackage.getEInt(), \"playings\", null, 0, 1, PreferedPlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tVpmlPackage theVpmlPackage = (VpmlPackage)EPackage.Registry.INSTANCE.getEPackage(VpmlPackage.eNS_URI);\r\n\t\tProcesspackagePackage theProcesspackagePackage = (ProcesspackagePackage)EPackage.Registry.INSTANCE.getEPackage(ProcesspackagePackage.eNS_URI);\r\n\t\tResourcepackagePackage theResourcepackagePackage = (ResourcepackagePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcepackagePackage.eNS_URI);\r\n\t\tOrganizationpackagePackage theOrganizationpackagePackage = (OrganizationpackagePackage)EPackage.Registry.INSTANCE.getEPackage(OrganizationpackagePackage.eNS_URI);\r\n\r\n\t\t// Add supertypes to classes\r\n\t\temcLogicalConnectorEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcAndEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcorEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcCollaborationGroupEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcDiagramEClass.getESuperTypes().add(theVpmlPackage.getEMDiagram());\r\n\t\temcCollaborationRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\t\temcSequenceRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(emcLogicalConnectorEClass, EMCLogicalConnector.class, \"EMCLogicalConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(emcAndEClass, EMCAnd.class, \"EMCAnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCAnd_ColAndDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColAnd(), \"colAndDiagram\", null, 0, 1, EMCAnd.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcorEClass, vpml.collaborationpackage.EMCOR.class, \"EMCOR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCOR_ColORDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColOR(), \"colORDiagram\", null, 0, 1, vpml.collaborationpackage.EMCOR.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationGroupEClass, EMCCollaborationGroup.class, \"EMCCollaborationGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationGroup_ColColGroupDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColGroup(), \"colColGroupDiagram\", null, 0, 1, EMCCollaborationGroup.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcDiagramEClass, EMCDiagram.class, \"EMCDiagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCDiagram_EmpDiagram(), theProcesspackagePackage.getEMPDiagram(), theProcesspackagePackage.getEMPDiagram_EmcDiagram(), \"empDiagram\", null, 1, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEMCDiagram_AssociatePrModel(), ecorePackage.getEString(), \"associatePrModel\", null, 0, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColAnd(), this.getEMCAnd(), this.getEMCAnd_ColAndDiagram(), \"colAnd\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColOR(), this.getEMCOR(), this.getEMCOR_ColORDiagram(), \"colOR\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColRole(), theResourcepackagePackage.getEMRRole(), theResourcepackagePackage.getEMRRole_ColRoleDiagram(), \"colRole\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColLocation(), theResourcepackagePackage.getEMRLocationType(), theResourcepackagePackage.getEMRLocationType_ColLocationDiagram(), \"colLocation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColMachine(), theResourcepackagePackage.getEMRMachineType(), theResourcepackagePackage.getEMRMachineType_ColMachineDiagram(), \"colMachine\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColEMOGroup(), theOrganizationpackagePackage.getEMOResourceGroupType(), theOrganizationpackagePackage.getEMOResourceGroupType_ColEMOGroupDiagram(), \"colEMOGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColGroup(), this.getEMCCollaborationGroup(), this.getEMCCollaborationGroup_ColColGroupDiagram(), \"colColGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColRelation(), this.getEMCCollaborationRelation(), this.getEMCCollaborationRelation_ColColRelationDiagram(), \"colColRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColSeqRelation(), this.getEMCSequenceRelation(), this.getEMCSequenceRelation_ColSeqRelationDiagram(), \"colSeqRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcRelationEClass, EMCRelation.class, \"EMCRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCRelation_SourceRelationSourceObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_SourceObjSourceRelation(), \"sourceRelationSourceObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCRelation_TargetRelationTargetObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_TargetObjTargetRelation(), \"targetRelationTargetObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationRelationEClass, EMCCollaborationRelation.class, \"EMCCollaborationRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationRelation_ColColRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColRelation(), \"colColRelationDiagram\", null, 0, 1, EMCCollaborationRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcSequenceRelationEClass, EMCSequenceRelation.class, \"EMCSequenceRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCSequenceRelation_ColSeqRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColSeqRelation(), \"colSeqRelationDiagram\", null, 0, 1, EMCSequenceRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\talVarRefEClass.getESuperTypes().add(this.getArith());\n\t\tarithLitEClass.getESuperTypes().add(this.getArith());\n\t\tarithOpEClass.getESuperTypes().add(this.getArith());\n\t\tarithPlusEClass.getESuperTypes().add(this.getArithOp());\n\t\tarithMinusEClass.getESuperTypes().add(this.getArithOp());\n\t\tprintEClass.getESuperTypes().add(this.getStmt());\n\t\tassignEClass.getESuperTypes().add(this.getStmt());\n\t\tifStmtEClass.getESuperTypes().add(this.getStmt());\n\t\trandRangeEClass.getESuperTypes().add(this.getArith());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(blockEClass, Block.class, \"Block\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_Stmts(), this.getStmt(), null, \"stmts\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stmtEClass, Stmt.class, \"Stmt\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(arithEClass, Arith.class, \"Arith\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(alVarRefEClass, ALVarRef.class, \"ALVarRef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getALVarRef_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ALVarRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithLitEClass, ArithLit.class, \"ArithLit\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArithLit_Val(), ecorePackage.getEInt(), \"val\", null, 0, 1, ArithLit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithOpEClass, ArithOp.class, \"ArithOp\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArithOp_Lhs(), this.getArith(), null, \"lhs\", null, 0, 1, ArithOp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArithOp_Rhs(), this.getArith(), null, \"rhs\", null, 0, 1, ArithOp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(arithPlusEClass, ArithPlus.class, \"ArithPlus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(arithMinusEClass, ArithMinus.class, \"ArithMinus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPrint_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assignEClass, Assign.class, \"Assign\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAssign_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssign_Val(), this.getArith(), null, \"val\", null, 1, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ifStmtEClass, IfStmt.class, \"IfStmt\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIfStmt_IfBranch(), this.getAssign(), null, \"ifBranch\", null, 1, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIfStmt_ElseBranch(), this.getAssign(), null, \"elseBranch\", null, 0, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIfStmt_Test(), this.getEqualityTest(), null, \"test\", null, 1, 1, IfStmt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(randRangeEClass, RandRange.class, \"RandRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRandRange_Min(), ecorePackage.getEInt(), \"min\", null, 0, 1, RandRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRandRange_Max(), ecorePackage.getEInt(), \"max\", null, 0, 1, RandRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(equalityTestEClass, EqualityTest.class, \"EqualityTest\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEqualityTest_Lhs(), this.getArith(), null, \"lhs\", null, 1, 1, EqualityTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEqualityTest_Rhs(), this.getArith(), null, \"rhs\", null, 1, 1, EqualityTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttargetLanguageEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttechnologyEClass.getESuperTypes().add(this.getNamedElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Implementations(), this.getImplementation(), null, \"implementations\", null, 0, -1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(implementationEClass, Implementation.class, \"Implementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImplementation_Code(), ecorePackage.getEString(), \"code\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Technology(), this.getTechnology(), null, \"technology\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Language(), this.getTargetLanguage(), null, \"language\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticsEClass, Semantics.class, \"Semantics\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSemantics_Annotations(), this.getAnnotation(), null, \"annotations\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Languages(), this.getTargetLanguage(), null, \"languages\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Technologies(), this.getTechnology(), null, \"technologies\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(targetLanguageEClass, TargetLanguage.class, \"TargetLanguage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(technologyEClass, Technology.class, \"Technology\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tSQLSchemaPackage theSQLSchemaPackage = (SQLSchemaPackage)EPackage.Registry.INSTANCE.getEPackage(SQLSchemaPackage.eNS_URI);\n\n\t\t// Add supertypes to classes\n\t\tqueryExpressionDefaultEClass.getESuperTypes().add(theSQLSchemaPackage.getSQLObject());\n\t\tqueryExpressionDefaultEClass.getESuperTypes().add(this.getQueryExpression());\n\t\tsearchConditionDefaultEClass.getESuperTypes().add(theSQLSchemaPackage.getSQLObject());\n\t\tsearchConditionDefaultEClass.getESuperTypes().add(this.getSearchCondition());\n\t\tvalueExpressionDefaultEClass.getESuperTypes().add(theSQLSchemaPackage.getSQLObject());\n\t\tvalueExpressionDefaultEClass.getESuperTypes().add(this.getValueExpression());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(queryExpressionEClass, QueryExpression.class, \"QueryExpression\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\taddEOperation(queryExpressionEClass, ecorePackage.getEString(), \"getSQL\", 0, 1); //$NON-NLS-1$\n\n\t\tEOperation op = addEOperation(queryExpressionEClass, null, \"setSQL\"); //$NON-NLS-1$\n\t\taddEParameter(op, ecorePackage.getEString(), \"sqlText\", 0, 1); //$NON-NLS-1$\n\n\t\tinitEClass(valueExpressionEClass, ValueExpression.class, \"ValueExpression\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\taddEOperation(valueExpressionEClass, ecorePackage.getEString(), \"getSQL\", 0, 1); //$NON-NLS-1$\n\n\t\top = addEOperation(valueExpressionEClass, null, \"setSQL\"); //$NON-NLS-1$\n\t\taddEParameter(op, ecorePackage.getEString(), \"sqlText\", 0, 1); //$NON-NLS-1$\n\n\t\tinitEClass(searchConditionEClass, SearchCondition.class, \"SearchCondition\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\n\t\taddEOperation(searchConditionEClass, ecorePackage.getEString(), \"getSQL\", 0, 1); //$NON-NLS-1$\n\n\t\top = addEOperation(searchConditionEClass, null, \"setSQL\"); //$NON-NLS-1$\n\t\taddEParameter(op, ecorePackage.getEString(), \"sqlText\", 0, 1); //$NON-NLS-1$\n\n\t\tinitEClass(queryExpressionDefaultEClass, QueryExpressionDefault.class, \"QueryExpressionDefault\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEAttribute(getQueryExpressionDefault_SQL(), ecorePackage.getEString(), \"SQL\", null, 0, 1, QueryExpressionDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(searchConditionDefaultEClass, SearchConditionDefault.class, \"SearchConditionDefault\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEAttribute(getSearchConditionDefault_SQL(), ecorePackage.getEString(), \"SQL\", null, 0, 1, SearchConditionDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\tinitEClass(valueExpressionDefaultEClass, ValueExpressionDefault.class, \"ValueExpressionDefault\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$\n\t\tinitEAttribute(getValueExpressionDefault_SQL(), ecorePackage.getEString(), \"SQL\", null, 0, 1, ValueExpressionDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n assignmentEClass.getESuperTypes().add(this.getSimpleStatement());\n expressionEClass.getESuperTypes().add(this.getSimpleStatement());\n unaryMinusExpressionEClass.getESuperTypes().add(this.getExpression());\n unaryPlusExpressionEClass.getESuperTypes().add(this.getExpression());\n logicalNegationExpressionEClass.getESuperTypes().add(this.getExpression());\n bracketExpressionEClass.getESuperTypes().add(this.getExpression());\n pointerCallEClass.getESuperTypes().add(this.getExpression());\n variableCallEClass.getESuperTypes().add(this.getExpression());\n unarySpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n rangeSpecifierEClass.getESuperTypes().add(this.getArraySpecifier());\n ioFunctionsEClass.getESuperTypes().add(this.getExpression());\n infoFunctionsEClass.getESuperTypes().add(this.getExpression());\n manipFunctionsEClass.getESuperTypes().add(this.getExpression());\n arithFunctionsEClass.getESuperTypes().add(this.getExpression());\n loadEClass.getESuperTypes().add(this.getIOFunctions());\n storeEClass.getESuperTypes().add(this.getIOFunctions());\n exportEClass.getESuperTypes().add(this.getIOFunctions());\n printEClass.getESuperTypes().add(this.getSimpleStatement());\n depthEClass.getESuperTypes().add(this.getInfoFunctions());\n fieldInfoEClass.getESuperTypes().add(this.getInfoFunctions());\n containsEClass.getESuperTypes().add(this.getInfoFunctions());\n selectEClass.getESuperTypes().add(this.getManipFunctions());\n lengthEClass.getESuperTypes().add(this.getInfoFunctions());\n sumEClass.getESuperTypes().add(this.getArithFunctions());\n productEClass.getESuperTypes().add(this.getArithFunctions());\n constantEClass.getESuperTypes().add(this.getExpression());\n primitiveEClass.getESuperTypes().add(this.getConstant());\n arrayEClass.getESuperTypes().add(this.getConstant());\n jSonObjectEClass.getESuperTypes().add(this.getConstant());\n disjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n conjunctionExpressionEClass.getESuperTypes().add(this.getExpression());\n equalityExpressionEClass.getESuperTypes().add(this.getExpression());\n inequalityExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorExpressionEClass.getESuperTypes().add(this.getExpression());\n superiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorExpressionEClass.getESuperTypes().add(this.getExpression());\n inferiorOrEqualExpressionEClass.getESuperTypes().add(this.getExpression());\n additionExpressionEClass.getESuperTypes().add(this.getExpression());\n substractionExpressionEClass.getESuperTypes().add(this.getExpression());\n multiplicationExpressionEClass.getESuperTypes().add(this.getExpression());\n divisionExpressionEClass.getESuperTypes().add(this.getExpression());\n moduloExpressionEClass.getESuperTypes().add(this.getExpression());\n arrayCallEClass.getESuperTypes().add(this.getExpression());\n fieldCallEClass.getESuperTypes().add(this.getExpression());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Stmts(), this.getSimpleStatement(), null, \"stmts\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleStatementEClass, SimpleStatement.class, \"SimpleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(assignmentEClass, Assignment.class, \"Assignment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAssignment_LeftHandSide(), this.getVariableCall(), null, \"leftHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAssignment_RightHandSide(), this.getExpression(), null, \"rightHandSide\", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(expressionEClass, Expression.class, \"Expression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unaryMinusExpressionEClass, UnaryMinusExpression.class, \"UnaryMinusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryMinusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryMinusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unaryPlusExpressionEClass, UnaryPlusExpression.class, \"UnaryPlusExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUnaryPlusExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, UnaryPlusExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(logicalNegationExpressionEClass, LogicalNegationExpression.class, \"LogicalNegationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLogicalNegationExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, LogicalNegationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bracketExpressionEClass, BracketExpression.class, \"BracketExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getBracketExpression_Sub(), this.getExpression(), null, \"sub\", null, 0, 1, BracketExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pointerCallEClass, PointerCall.class, \"PointerCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(variableCallEClass, VariableCall.class, \"VariableCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVariableCall_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, VariableCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arraySpecifierEClass, ArraySpecifier.class, \"ArraySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(unarySpecifierEClass, UnarySpecifier.class, \"UnarySpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnarySpecifier_Index(), ecorePackage.getEInt(), \"index\", null, 0, 1, UnarySpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rangeSpecifierEClass, RangeSpecifier.class, \"RangeSpecifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRangeSpecifier_From(), ecorePackage.getEInt(), \"from\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRangeSpecifier_To(), ecorePackage.getEInt(), \"to\", null, 0, 1, RangeSpecifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ioFunctionsEClass, IOFunctions.class, \"IOFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIOFunctions_FileName(), ecorePackage.getEString(), \"fileName\", null, 0, 1, IOFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infoFunctionsEClass, InfoFunctions.class, \"InfoFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(manipFunctionsEClass, ManipFunctions.class, \"ManipFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(arithFunctionsEClass, ArithFunctions.class, \"ArithFunctions\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArithFunctions_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_Field(), this.getExpression(), null, \"field\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArithFunctions_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, ArithFunctions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(loadEClass, Load.class, \"Load\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(storeEClass, Store.class, \"Store\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getStore_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(exportEClass, Export.class, \"Export\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExport_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Export.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrint_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(depthEClass, Depth.class, \"Depth\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDepth_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Depth.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldInfoEClass, FieldInfo.class, \"FieldInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldInfo_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, FieldInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getContains_Keys(), this.getExpression(), null, \"keys\", null, 0, -1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getContains_Right(), this.getExpression(), null, \"right\", null, 0, 1, Contains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, Select.class, \"Select\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSelect_Fields(), this.getExpression(), null, \"fields\", null, 0, -1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_FromExpression(), this.getExpression(), null, \"fromExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSelect_WhereExpression(), this.getExpression(), null, \"whereExpression\", null, 0, 1, Select.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(lengthEClass, Length.class, \"Length\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLength_Expression(), this.getExpression(), null, \"expression\", null, 0, 1, Length.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(sumEClass, Sum.class, \"Sum\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(productEClass, Product.class, \"Product\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(constantEClass, Constant.class, \"Constant\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(primitiveEClass, Primitive.class, \"Primitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPrimitive_Str(), ecorePackage.getEString(), \"str\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_IntNum(), ecorePackage.getEInt(), \"intNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_FloatNum(), ecorePackage.getEString(), \"floatNum\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Bool(), ecorePackage.getEString(), \"bool\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrimitive_Nil(), ecorePackage.getEString(), \"nil\", null, 0, 1, Primitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayEClass, Array.class, \"Array\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArray_Values(), this.getExpression(), null, \"values\", null, 0, -1, Array.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(jSonObjectEClass, JSonObject.class, \"JSonObject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getJSonObject_Fields(), this.getField(), null, \"fields\", null, 0, -1, JSonObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getField_Key(), this.getExpression(), null, \"key\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getField_Value(), this.getExpression(), null, \"value\", null, 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(disjunctionExpressionEClass, DisjunctionExpression.class, \"DisjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDisjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDisjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DisjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(conjunctionExpressionEClass, ConjunctionExpression.class, \"ConjunctionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getConjunctionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getConjunctionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ConjunctionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(equalityExpressionEClass, EqualityExpression.class, \"EqualityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getEqualityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEqualityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inequalityExpressionEClass, InequalityExpression.class, \"InequalityExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInequalityExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInequalityExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InequalityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorExpressionEClass, SuperiorExpression.class, \"SuperiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(superiorOrEqualExpressionEClass, SuperiorOrEqualExpression.class, \"SuperiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSuperiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSuperiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SuperiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorExpressionEClass, InferiorExpression.class, \"InferiorExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(inferiorOrEqualExpressionEClass, InferiorOrEqualExpression.class, \"InferiorOrEqualExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getInferiorOrEqualExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInferiorOrEqualExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, InferiorOrEqualExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(additionExpressionEClass, AdditionExpression.class, \"AdditionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdditionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdditionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, AdditionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(substractionExpressionEClass, SubstractionExpression.class, \"SubstractionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSubstractionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSubstractionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, SubstractionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(multiplicationExpressionEClass, MultiplicationExpression.class, \"MultiplicationExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMultiplicationExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMultiplicationExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, MultiplicationExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(divisionExpressionEClass, DivisionExpression.class, \"DivisionExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDivisionExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDivisionExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, DivisionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduloExpressionEClass, ModuloExpression.class, \"ModuloExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModuloExpression_Left(), this.getExpression(), null, \"left\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuloExpression_Right(), this.getExpression(), null, \"right\", null, 0, 1, ModuloExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(arrayCallEClass, ArrayCall.class, \"ArrayCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getArrayCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getArrayCall_Specifier(), this.getArraySpecifier(), null, \"specifier\", null, 0, 1, ArrayCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fieldCallEClass, FieldCall.class, \"FieldCall\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFieldCall_Callee(), this.getExpression(), null, \"callee\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFieldCall_Field(), ecorePackage.getEString(), \"field\", null, 0, 1, FieldCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tGraphic_representationPackage theGraphic_representationPackage = (Graphic_representationPackage)EPackage.Registry.INSTANCE.getEPackage(Graphic_representationPackage.eNS_URI);\n\t\tSplitterLibraryPackage theSplitterLibraryPackage = (SplitterLibraryPackage)EPackage.Registry.INSTANCE.getEPackage(SplitterLibraryPackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tconcreteStrategyLabelFirstStringEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyLabelIdentifierEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyLabelParameterEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyMaxContainmentEClass.getESuperTypes().add(this.getStrategyRootSelection());\n\t\tconcreteStrategyNoParentEClass.getESuperTypes().add(this.getStrategyRootSelection());\n\t\tconcreteStrategyPaletteEClass.getESuperTypes().add(this.getStrategyPalette());\n\t\tconcreteStrategyArcSelectionEClass.getESuperTypes().add(this.getStrategyArcSelection());\n\t\tdefaultArcParameterEClass.getESuperTypes().add(this.getArcParameter());\n\t\tconcreteStrategyArcDirectionEClass.getESuperTypes().add(this.getStrategyArcDirection());\n\t\tconcreteStrategyDefaultDirectionEClass.getESuperTypes().add(this.getStrategyArcDirection());\n\t\tconcreteStrategyDefaultNodeSelectionEClass.getESuperTypes().add(this.getStrategyNodeSelection());\n\t\tconcreteStrategyContainmentDiagramElementEClass.getESuperTypes().add(this.getStrategyPossibleElements());\n\t\tconcreteContainmentasAffixedEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\t\tconcreteContainmentasLinksEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\t\tconcreteContainmentasCompartmentsEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(heuristicStrategyEClass, HeuristicStrategy.class, \"HeuristicStrategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHeuristicStrategy_Graphic_representation(), theGraphic_representationPackage.getGraphicRepresentation(), null, \"graphic_representation\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_Nemf(), theSplitterLibraryPackage.getEcoreEMF(), null, \"nemf\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_EcoreContainment(), this.getEcoreMatrixContainment(), null, \"ecoreContainment\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getHeuristicStrategy_CurrentRepresentation(), ecorePackage.getEIntegerObject(), \"currentRepresentation\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getHeuristicStrategy_CurrentMMGR(), theEcorePackage.getEIntegerObject(), \"currentMMGR\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_ListRepresentation(), this.getRepreHeurSS(), null, \"listRepresentation\", null, 0, -1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__ExecuteHeuristics(), null, \"ExecuteHeuristics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__Execute_Root_Element(), null, \"Execute_Root_Element\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__Execute_Graphical_Elements(), null, \"Execute_Graphical_Elements\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getHeuristicStrategy__GetFeatureName__EClass_EClass(), ecorePackage.getEReference(), \"GetFeatureName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"parentEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"childEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getHeuristicStrategy__GetEListEClassfromEReference__EReference(), theGraphic_representationPackage.getNode(), \"GetEListEClassfromEReference\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEReference(), \"anEReference\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__ExecuteDirectPathMatrix(), null, \"ExecuteDirectPathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyLinkEClass, ConcreteStrategyLink.class, \"ConcreteStrategyLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyLabelEClass, StrategyLabel.class, \"StrategyLabel\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyLabel__GetLabel__EClass(), ecorePackage.getEAttribute(), \"GetLabel\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyLabelFirstStringEClass, ConcreteStrategyLabelFirstString.class, \"ConcreteStrategyLabelFirstString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyLabelIdentifierEClass, ConcreteStrategyLabelIdentifier.class, \"ConcreteStrategyLabelIdentifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyLabelParameterEClass, ConcreteStrategyLabelParameter.class, \"ConcreteStrategyLabelParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcreteStrategyLabelParameter_Label_parameter(), this.getLabelParameter(), null, \"label_parameter\", null, 0, 1, ConcreteStrategyLabelParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(labelParameterEClass, LabelParameter.class, \"LabelParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLabelParameter_List_label(), ecorePackage.getEString(), \"list_label\", null, 0, -1, LabelParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLabelParameter__ToCommaSeparatedStringLabel(), ecorePackage.getEString(), \"toCommaSeparatedStringLabel\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLabelParameter__DefaultParameters(), null, \"DefaultParameters\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(strategyRootSelectionEClass, StrategyRootSelection.class, \"StrategyRootSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyRootSelection__Get_Root__EList_EList(), ecorePackage.getEClass(), \"Get_Root\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEEList());\n\t\tEGenericType g2 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"ContainmentMatrix\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyRootSelection__List_Root__EList_EList(), ecorePackage.getEClass(), \"List_Root\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"ContainmentMatrix\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyMaxContainmentEClass, ConcreteStrategyMaxContainment.class, \"ConcreteStrategyMaxContainment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyNoParentEClass, ConcreteStrategyNoParent.class, \"ConcreteStrategyNoParent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyPaletteEClass, StrategyPalette.class, \"StrategyPalette\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyPalette__Get_Palette__EObject(), ecorePackage.getEString(), \"Get_Palette\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEObject(), \"anEObject\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyPaletteEClass, ConcreteStrategyPalette.class, \"ConcreteStrategyPalette\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyArcSelectionEClass, StrategyArcSelection.class, \"StrategyArcSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyArcSelection_Arc_direction(), this.getStrategyArcDirection(), null, \"arc_direction\", null, 0, 1, StrategyArcSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyArcSelection__IsArc__EClass(), ecorePackage.getEBooleanObject(), \"IsArc\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyArcSelectionEClass, ConcreteStrategyArcSelection.class, \"ConcreteStrategyArcSelection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyArcDirectionEClass, StrategyArcDirection.class, \"StrategyArcDirection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyArcDirection__Get_Direction__EClass(), theGraphic_representationPackage.getEdge_Direction(), \"Get_Direction\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(arcParameterEClass, ArcParameter.class, \"ArcParameter\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArcParameter_Source(), ecorePackage.getEString(), \"source\", null, 0, -1, ArcParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getArcParameter_Target(), ecorePackage.getEString(), \"target\", null, 0, -1, ArcParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getArcParameter__DefaultParam(), null, \"DefaultParam\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(defaultArcParameterEClass, DefaultArcParameter.class, \"DefaultArcParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getDefaultArcParameter__ToCommaSeparatedStringSource(), ecorePackage.getEString(), \"toCommaSeparatedStringSource\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getDefaultArcParameter__ToCommaSeparatedStringTarget(), ecorePackage.getEString(), \"toCommaSeparatedStringTarget\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyArcDirectionEClass, ConcreteStrategyArcDirection.class, \"ConcreteStrategyArcDirection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcreteStrategyArcDirection_Param(), this.getArcParameter(), null, \"param\", null, 0, 1, ConcreteStrategyArcDirection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getConcreteStrategyArcDirection__ContainsStringEReferenceName__EList_String(), ecorePackage.getEBoolean(), \"ContainsStringEReferenceName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"ListStrings\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"anString\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyDefaultDirectionEClass, ConcreteStrategyDefaultDirection.class, \"ConcreteStrategyDefaultDirection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyNodeSelectionEClass, StrategyNodeSelection.class, \"StrategyNodeSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyNodeSelection__IsNode__EClass(), ecorePackage.getEBooleanObject(), \"IsNode\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyDefaultNodeSelectionEClass, ConcreteStrategyDefaultNodeSelection.class, \"ConcreteStrategyDefaultNodeSelection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyPossibleElementsEClass, StrategyPossibleElements.class, \"StrategyPossibleElements\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyPossibleElements_EClassNoElements(), ecorePackage.getEClass(), null, \"EClassNoElements\", null, 0, -1, StrategyPossibleElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyPossibleElements__PossibleElements__EClass_EList_EList(), ecorePackage.getEClass(), \"PossibleElements\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"rootEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tEGenericType g3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\taddEParameter(op, g1, \"pathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyContainmentDiagramElementEClass, ConcreteStrategyContainmentDiagramElement.class, \"ConcreteStrategyContainmentDiagramElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ecoreMatrixContainmentEClass, EcoreMatrixContainment.class, \"EcoreMatrixContainment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\tinitEAttribute(getEcoreMatrixContainment_Direct_MatrixContainment(), g1, \"direct_MatrixContainment\", null, 0, 1, EcoreMatrixContainment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\tinitEAttribute(getEcoreMatrixContainment_PathMatrix(), g1, \"pathMatrix\", null, 0, 1, EcoreMatrixContainment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetParent__Integer(), ecorePackage.getEIntegerObject(), \"GetParent\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEIntegerObject(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetDirectMatrixContainment__EList(), ecorePackage.getEBooleanObject(), \"GetDirectMatrixContainment\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getEcoreMatrixContainment__GetPathMatrix(), ecorePackage.getEBooleanObject(), \"GetPathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getEcoreMatrixContainment__CopyMatrix(), null, \"CopyMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__PrintDirectMatrixContainment__EList(), null, \"PrintDirectMatrixContainment\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetEAllChilds__EClass_EList(), theEcorePackage.getEClass(), \"getEAllChilds\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"eClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetAllParents__Integer(), ecorePackage.getEIntegerObject(), \"getAllParents\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEIntegerObject(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(heuristicStrategySettingsEClass, HeuristicStrategySettings.class, \"HeuristicStrategySettings\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_label(), this.getStrategyLabel(), null, \"strategy_label\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_root(), this.getStrategyRootSelection(), null, \"strategy_root\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_palette(), this.getStrategyPalette(), null, \"strategy_palette\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_arcSelection(), this.getStrategyArcSelection(), null, \"strategy_arcSelection\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_node_selection(), this.getStrategyNodeSelection(), null, \"strategy_node_selection\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_possibleElements(), this.getStrategyPossibleElements(), null, \"strategy_possibleElements\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_linkcompartment(), this.getStrategyLinkCompartment(), null, \"strategy_linkcompartment\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyLinkCompartmentEClass, StrategyLinkCompartment.class, \"StrategyLinkCompartment\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyLinkCompartment_ListLinks(), ecorePackage.getEReference(), null, \"listLinks\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategyLinkCompartment_ListCompartment(), ecorePackage.getEReference(), null, \"listCompartment\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategyLinkCompartment_ListAffixed(), ecorePackage.getEReference(), null, \"listAffixed\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyLinkCompartment__ExecuteLinkCompartmentsHeuristics__EClass(), null, \"ExecuteLinkCompartmentsHeuristics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteContainmentasAffixedEClass, ConcreteContainmentasAffixed.class, \"ConcreteContainmentasAffixed\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteContainmentasLinksEClass, ConcreteContainmentasLinks.class, \"ConcreteContainmentasLinks\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteContainmentasCompartmentsEClass, ConcreteContainmentasCompartments.class, \"ConcreteContainmentasCompartments\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repreHeurSSEClass, RepreHeurSS.class, \"RepreHeurSS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRepreHeurSS_HeuristicStrategySettings(), this.getHeuristicStrategySettings(), null, \"heuristicStrategySettings\", null, 0, -1, RepreHeurSS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n acT_SpNoMsgEClass.getESuperTypes().add(this.getACTION());\n acT_SpBrEClass.getESuperTypes().add(this.getACTION());\n acT_SpUniEClass.getESuperTypes().add(this.getACTION());\n acT_InBrEClass.getESuperTypes().add(this.getACTION());\n acT_InUniEClass.getESuperTypes().add(this.getACTION());\n pR_ExprEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n ratE_ExprEClass.getESuperTypes().add(this.getIRange());\n ratE_ExprEClass.getESuperTypes().add(this.getTerminal_RATE_Expr());\n agenT_NUMEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Params(), this.getParam(), null, \"params\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_States(), this.getAgentState(), null, \"states\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_Population(), this.getPOPULATION(), null, \"population\", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(paramEClass, Param.class, \"Param\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParam_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParam_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentStateEClass, AgentState.class, \"AgentState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgentState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAgentState_Prefixs(), this.getPrefix(), null, \"prefixs\", null, 0, -1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(prefixEClass, Prefix.class, \"Prefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrefix_Action(), this.getACTION(), null, \"action\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrefix_Continue(), ecorePackage.getEString(), \"continue\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(actionEClass, org.xtext.edinburgh.paloma.ACTION.class, \"ACTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getACTION_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getACTION_Rate(), this.getRATE_Expr(), null, \"rate\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpNoMsgEClass, ACT_SpNoMsg.class, \"ACT_SpNoMsg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(acT_SpBrEClass, ACT_SpBr.class, \"ACT_SpBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpBr_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpUniEClass, ACT_SpUni.class, \"ACT_SpUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpUni_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InBrEClass, ACT_InBr.class, \"ACT_InBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InBr_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InUniEClass, ACT_InUni.class, \"ACT_InUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InUni_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(iRangeEClass, IRange.class, \"IRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(pR_ExprEClass, PR_Expr.class, \"PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPR_Expr_PrE(), this.getTerminal_PR_Expr(), null, \"prE\", null, 0, -1, PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_PR_ExprEClass, Terminal_PR_Expr.class, \"Terminal_PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_PR_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ratE_ExprEClass, RATE_Expr.class, \"RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRATE_Expr_Rt(), this.getTerminal_RATE_Expr(), null, \"rt\", null, 0, -1, RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_RATE_ExprEClass, Terminal_RATE_Expr.class, \"Terminal_RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_RATE_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agenT_NUMEClass, org.xtext.edinburgh.paloma.AGENT_NUM.class, \"AGENT_NUM\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENT_NUM_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENT_NUM.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(populationEClass, org.xtext.edinburgh.paloma.POPULATION.class, \"POPULATION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPOPULATION_Popu(), this.getAGENTS(), null, \"popu\", null, 0, -1, org.xtext.edinburgh.paloma.POPULATION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentsEClass, org.xtext.edinburgh.paloma.AGENTS.class, \"AGENTS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENTS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENTS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);\n\t\tContextPackage theContextPackage = (ContextPackage)EPackage.Registry.INSTANCE.getEPackage(ContextPackage.eNS_URI);\n\t\tJavaPackage theJavaPackage = (JavaPackage)EPackage.Registry.INSTANCE.getEPackage(JavaPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\taudioEClass.getESuperTypes().add(theEntityPackage.getEntityIdentifiable());\n\t\taudioRecorderEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\t\taudioPlayerEClass.getESuperTypes().add(theJavaPackage.getJavaCloseable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(audioEClass, Audio.class, \"Audio\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAudio_Content(), ecorePackage.getEByteArray(), \"content\", null, 0, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAudio_Text(), ecorePackage.getEString(), \"text\", null, 1, 1, Audio.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(audioManagerEClass, AudioManager.class, \"AudioManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(audioManagerEClass, this.getAudioRecorder(), \"record\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudio(), \"audio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(audioManagerEClass, this.getAudioPlayer(), \"play\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theContextPackage.getContext(), \"context\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getAudioStyle(), \"style\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"text\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"start\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEBoolean(), \"waitEnd\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioRecorderEClass, AudioRecorder.class, \"AudioRecorder\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioRecorderEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, theJavaPackage.getJavaOutputStream(), \"getOutputStream\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioRecorderEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(audioPlayerEClass, AudioPlayer.class, \"AudioPlayer\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\taddEOperation(audioPlayerEClass, null, \"close\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, this.getAudio(), \"getAudio\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, ecorePackage.getEBoolean(), \"isStopped\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"start\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(audioPlayerEClass, null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(audioStyleEEnum, AudioStyle.class, \"AudioStyle\");\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.A);\n\t\taddEEnumLiteral(audioStyleEEnum, AudioStyle.B);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "protected abstract JPackage getPackage( JPackage pkg, Aspect a );", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tfticBaseEClass.getESuperTypes().add(ecorePackage.getEObject());\n\t\titemEClass.getESuperTypes().add(this.getFTICBase());\n\t\thypertextEClass.getESuperTypes().add(this.getFTICBase());\n\t\ttextElementEClass.getESuperTypes().add(this.getFTICBase());\n\t\tlinkEClass.getESuperTypes().add(this.getTextElement());\n\t\ttermEClass.getESuperTypes().add(this.getTextElement());\n\t\tfactorTableEClass.getESuperTypes().add(this.getFTICBase());\n\t\tftEntryEClass.getESuperTypes().add(this.getItem());\n\t\tfactorCategoryEClass.getESuperTypes().add(this.getFTEntry());\n\t\tfactorEClass.getESuperTypes().add(this.getFTEntry());\n\t\tissueCardEClass.getESuperTypes().add(this.getItem());\n\t\tstrategyEClass.getESuperTypes().add(this.getItem());\n\t\tinfluencingFactorEClass.getESuperTypes().add(this.getFTICBase());\n\t\trelatedIssueEClass.getESuperTypes().add(this.getFTICBase());\n\t\tfticPackageEClass.getESuperTypes().add(this.getFTICBase());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(fticBaseEClass, FTICBase.class, \"FTICBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(itemEClass, Item.class, \"Item\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(hypertextEClass, Hypertext.class, \"Hypertext\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHypertext_Content(), this.getTextElement(), null, \"content\", null, 0, -1, Hypertext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(textElementEClass, TextElement.class, \"TextElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTextElement_VisibleContent(), ecorePackage.getEString(), \"visibleContent\", null, 0, 1, TextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLink_Target(), ecorePackage.getEObject(), null, \"target\", null, 1, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorTableEClass, FactorTable.class, \"FactorTable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFactorTable_Type(), this.getCategoryType(), \"type\", null, 0, 1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactorTable_Entries(), this.getFTEntry(), null, \"entries\", null, 0, -1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ftEntryEClass, FTEntry.class, \"FTEntry\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFTEntry_Numbering(), ecorePackage.getEString(), \"numbering\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTEntry_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTEntry_Children(), this.getFTEntry(), null, \"children\", null, 0, -1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(factorCategoryEClass, FactorCategory.class, \"FactorCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorEClass, Factor.class, \"Factor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Flexibility(), this.getHypertext(), null, \"flexibility\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Changeability(), this.getHypertext(), null, \"changeability\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Influence(), this.getHypertext(), null, \"influence\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFactor_Priority(), ecorePackage.getEString(), \"priority\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(issueCardEClass, IssueCard.class, \"IssueCard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIssueCard_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Description(), this.getHypertext(), null, \"description\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Solution(), this.getHypertext(), null, \"solution\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Strategies(), this.getStrategy(), null, \"strategies\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_InfluencingFactors(), this.getInfluencingFactor(), null, \"influencingFactors\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_RelatedIssues(), this.getRelatedIssue(), null, \"relatedIssues\", null, 0, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyEClass, Strategy.class, \"Strategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStrategy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategy_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(influencingFactorEClass, InfluencingFactor.class, \"InfluencingFactor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInfluencingFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInfluencingFactor_Factor(), this.getFactor(), null, \"factor\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relatedIssueEClass, RelatedIssue.class, \"RelatedIssue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelatedIssue_Issue(), this.getItem(), null, \"Issue\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelatedIssue_Description(), this.getHypertext(), null, \"description\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(fticPackageEClass, FTICPackage.class, \"FTICPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFTICPackage_Tables(), this.getFactorTable(), null, \"tables\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTICPackage_IssueCards(), this.getIssueCard(), null, \"issueCards\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTICPackage_Name(), ecorePackage.getEString(), \"Name\", null, 1, 1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(categoryTypeEEnum, CategoryType.class, \"CategoryType\");\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.ORGANIZATIONAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.TECHNOLOGICAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.PRODUCT);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "@Override\n public void load() throws IOException, ClassNotFoundException {\n \n }", "@Override\r\n public void pack() {\r\n super.pack();\r\n JkFileTree.of(this.classDir()).exclude(\"**/*.jar\").zip().to(packer().jarFile(\"lean\"));\r\n distrib();\r\n }", "public interface SerializePackage extends EPackage {\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"serialize\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http://www.misc.com/common/moplaf/serialize/model/0.1\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"srlz\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tSerializePackage eINSTANCE = com.misc.common.moplaf.serialize.impl.SerializePackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link com.misc.common.moplaf.serialize.impl.SerializableImpl <em>Serializable</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.misc.common.moplaf.serialize.impl.SerializableImpl\n\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getSerializable()\n\t * @generated\n\t */\n\tint SERIALIZABLE = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Files</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__FILES = FilePackage.FILE_READER_WRITER__FILES;\n\n\t/**\n\t * The feature id for the '<em><b>Selected File</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__SELECTED_FILE = FilePackage.FILE_READER_WRITER__SELECTED_FILE;\n\n\t/**\n\t * The feature id for the '<em><b>Handled File</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__HANDLED_FILE = FilePackage.FILE_READER_WRITER__HANDLED_FILE;\n\n\t/**\n\t * The feature id for the '<em><b>Read Feedback</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__READ_FEEDBACK = FilePackage.FILE_READER_WRITER__READ_FEEDBACK;\n\n\t/**\n\t * The feature id for the '<em><b>Write Feedback</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__WRITE_FEEDBACK = FilePackage.FILE_READER_WRITER__WRITE_FEEDBACK;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__NAME = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Scheme</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__SCHEME = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Selected Objects</b></em>' reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE__SELECTED_OBJECTS = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of structural features of the '<em>Serializable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE_FEATURE_COUNT = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 3;\n\n\t/**\n\t * The operation id for the '<em>Get Read Feedback</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___GET_READ_FEEDBACK__FILE = FilePackage.FILE_READER_WRITER___GET_READ_FEEDBACK__FILE;\n\n\t/**\n\t * The operation id for the '<em>Get Write Feedback</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___GET_WRITE_FEEDBACK__FILE = FilePackage.FILE_READER_WRITER___GET_WRITE_FEEDBACK__FILE;\n\n\t/**\n\t * The operation id for the '<em>Read File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___READ_FILE = FilePackage.FILE_READER_WRITER___READ_FILE;\n\n\t/**\n\t * The operation id for the '<em>Write File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___WRITE_FILE = FilePackage.FILE_READER_WRITER___WRITE_FILE;\n\n\t/**\n\t * The operation id for the '<em>Read File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___READ_FILE__FILE = FilePackage.FILE_READER_WRITER___READ_FILE__FILE;\n\n\t/**\n\t * The operation id for the '<em>Write File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE___WRITE_FILE__FILE = FilePackage.FILE_READER_WRITER___WRITE_FILE__FILE;\n\n\t/**\n\t * The number of operations of the '<em>Serializable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint SERIALIZABLE_OPERATION_COUNT = FilePackage.FILE_READER_WRITER_OPERATION_COUNT + 0;\n\n\t/**\n\t * The meta object id for the '{@link com.misc.common.moplaf.serialize.impl.DeserializableImpl <em>Deserializable</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see com.misc.common.moplaf.serialize.impl.DeserializableImpl\n\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getDeserializable()\n\t * @generated\n\t */\n\tint DESERIALIZABLE = 1;\n\n\t/**\n\t * The feature id for the '<em><b>Files</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__FILES = FilePackage.FILE_READER_WRITER__FILES;\n\n\t/**\n\t * The feature id for the '<em><b>Selected File</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__SELECTED_FILE = FilePackage.FILE_READER_WRITER__SELECTED_FILE;\n\n\t/**\n\t * The feature id for the '<em><b>Handled File</b></em>' reference.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__HANDLED_FILE = FilePackage.FILE_READER_WRITER__HANDLED_FILE;\n\n\t/**\n\t * The feature id for the '<em><b>Read Feedback</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__READ_FEEDBACK = FilePackage.FILE_READER_WRITER__READ_FEEDBACK;\n\n\t/**\n\t * The feature id for the '<em><b>Write Feedback</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__WRITE_FEEDBACK = FilePackage.FILE_READER_WRITER__WRITE_FEEDBACK;\n\n\t/**\n\t * The feature id for the '<em><b>Name</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__NAME = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 0;\n\n\t/**\n\t * The feature id for the '<em><b>Scheme</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__SCHEME = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 1;\n\n\t/**\n\t * The feature id for the '<em><b>Owned Objects</b></em>' containment reference list.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE__OWNED_OBJECTS = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 2;\n\n\t/**\n\t * The number of structural features of the '<em>Deserializable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE_FEATURE_COUNT = FilePackage.FILE_READER_WRITER_FEATURE_COUNT + 3;\n\n\t/**\n\t * The operation id for the '<em>Get Read Feedback</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___GET_READ_FEEDBACK__FILE = FilePackage.FILE_READER_WRITER___GET_READ_FEEDBACK__FILE;\n\n\t/**\n\t * The operation id for the '<em>Get Write Feedback</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___GET_WRITE_FEEDBACK__FILE = FilePackage.FILE_READER_WRITER___GET_WRITE_FEEDBACK__FILE;\n\n\t/**\n\t * The operation id for the '<em>Read File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___READ_FILE = FilePackage.FILE_READER_WRITER___READ_FILE;\n\n\t/**\n\t * The operation id for the '<em>Write File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___WRITE_FILE = FilePackage.FILE_READER_WRITER___WRITE_FILE;\n\n\t/**\n\t * The operation id for the '<em>Read File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___READ_FILE__FILE = FilePackage.FILE_READER_WRITER___READ_FILE__FILE;\n\n\t/**\n\t * The operation id for the '<em>Write File</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE___WRITE_FILE__FILE = FilePackage.FILE_READER_WRITER___WRITE_FILE__FILE;\n\n\t/**\n\t * The number of operations of the '<em>Deserializable</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint DESERIALIZABLE_OPERATION_COUNT = FilePackage.FILE_READER_WRITER_OPERATION_COUNT + 0;\n\n\n\t/**\n\t * Returns the meta object for class '{@link com.misc.common.moplaf.serialize.Serializable <em>Serializable</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Serializable</em>'.\n\t * @see com.misc.common.moplaf.serialize.Serializable\n\t * @generated\n\t */\n\tEClass getSerializable();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.misc.common.moplaf.serialize.Serializable#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see com.misc.common.moplaf.serialize.Serializable#getName()\n\t * @see #getSerializable()\n\t * @generated\n\t */\n\tEAttribute getSerializable_Name();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.misc.common.moplaf.serialize.Serializable#getScheme <em>Scheme</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Scheme</em>'.\n\t * @see com.misc.common.moplaf.serialize.Serializable#getScheme()\n\t * @see #getSerializable()\n\t * @generated\n\t */\n\tEAttribute getSerializable_Scheme();\n\n\t/**\n\t * Returns the meta object for the reference list '{@link com.misc.common.moplaf.serialize.Serializable#getSelectedObjects <em>Selected Objects</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the reference list '<em>Selected Objects</em>'.\n\t * @see com.misc.common.moplaf.serialize.Serializable#getSelectedObjects()\n\t * @see #getSerializable()\n\t * @generated\n\t */\n\tEReference getSerializable_SelectedObjects();\n\n\t/**\n\t * Returns the meta object for class '{@link com.misc.common.moplaf.serialize.Deserializable <em>Deserializable</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Deserializable</em>'.\n\t * @see com.misc.common.moplaf.serialize.Deserializable\n\t * @generated\n\t */\n\tEClass getDeserializable();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.misc.common.moplaf.serialize.Deserializable#getName <em>Name</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Name</em>'.\n\t * @see com.misc.common.moplaf.serialize.Deserializable#getName()\n\t * @see #getDeserializable()\n\t * @generated\n\t */\n\tEAttribute getDeserializable_Name();\n\n\t/**\n\t * Returns the meta object for the attribute '{@link com.misc.common.moplaf.serialize.Deserializable#getScheme <em>Scheme</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the attribute '<em>Scheme</em>'.\n\t * @see com.misc.common.moplaf.serialize.Deserializable#getScheme()\n\t * @see #getDeserializable()\n\t * @generated\n\t */\n\tEAttribute getDeserializable_Scheme();\n\n\t/**\n\t * Returns the meta object for the containment reference list '{@link com.misc.common.moplaf.serialize.Deserializable#getOwnedObjects <em>Owned Objects</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for the containment reference list '<em>Owned Objects</em>'.\n\t * @see com.misc.common.moplaf.serialize.Deserializable#getOwnedObjects()\n\t * @see #getDeserializable()\n\t * @generated\n\t */\n\tEReference getDeserializable_OwnedObjects();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tSerializeFactory getSerializeFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each operation of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.common.moplaf.serialize.impl.SerializableImpl <em>Serializable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializableImpl\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getSerializable()\n\t\t * @generated\n\t\t */\n\t\tEClass SERIALIZABLE = eINSTANCE.getSerializable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERIALIZABLE__NAME = eINSTANCE.getSerializable_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scheme</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute SERIALIZABLE__SCHEME = eINSTANCE.getSerializable_Scheme();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Selected Objects</b></em>' reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference SERIALIZABLE__SELECTED_OBJECTS = eINSTANCE.getSerializable_SelectedObjects();\n\n\t\t/**\n\t\t * The meta object literal for the '{@link com.misc.common.moplaf.serialize.impl.DeserializableImpl <em>Deserializable</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see com.misc.common.moplaf.serialize.impl.DeserializableImpl\n\t\t * @see com.misc.common.moplaf.serialize.impl.SerializePackageImpl#getDeserializable()\n\t\t * @generated\n\t\t */\n\t\tEClass DESERIALIZABLE = eINSTANCE.getDeserializable();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Name</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DESERIALIZABLE__NAME = eINSTANCE.getDeserializable_Name();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Scheme</b></em>' attribute feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEAttribute DESERIALIZABLE__SCHEME = eINSTANCE.getDeserializable_Scheme();\n\n\t\t/**\n\t\t * The meta object literal for the '<em><b>Owned Objects</b></em>' containment reference list feature.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @generated\n\t\t */\n\t\tEReference DESERIALIZABLE__OWNED_OBJECTS = eINSTANCE.getDeserializable_OwnedObjects();\n\n\t}\n\n}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tEcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tgetMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\tpostMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\toneToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\toneToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(springProjectEClass, SpringProject.class, \"SpringProject\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getSpringProject_BasePackage(), theEcorePackage.getEString(), \"basePackage\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getSpringProject_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, SpringProject.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSpringProject_DbSource(), this.getDBSource(), null, \"dbSource\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Entities(), this.getEntity(), null, \"entities\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Controllers(), this.getRestController(), null, \"controllers\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restControllerEClass, RestController.class, \"RestController\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestController_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestController_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestController_UsedEntities(), this.getEntity(), null, \"usedEntities\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRestController_Mappings(), this.getRestMapping(), null, \"mappings\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restMappingEClass, RestMapping.class, \"RestMapping\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestMapping_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestMapping_UsedEntity(), this.getEntity(), null, \"usedEntity\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Body(), theEcorePackage.getEString(), \"body\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(getMappingEClass, GetMapping.class, \"GetMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(postMappingEClass, PostMapping.class, \"PostMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPostMapping_Parameters(), this.getField(), null, \"parameters\", null, 0, -1, PostMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEntity_SuperClass(), this.getEntity(), null, \"superClass\", null, 0, 1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_GenerateRepository(), theEcorePackage.getEBoolean(), \"generateRepository\", \"true\", 0,\r\n\t\t\t\t1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEntity_Fields(), this.getField(), null, \"fields\", null, 0, -1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getEntity_Mapping(), this.getMapping(), null, \"mapping\", null, 0, -1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingEClass, Mapping.class, \"Mapping\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_Entity(), this.getEntity(), null, \"entity\", null, 0, 1, Mapping.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getMapping_IsList(), theEcorePackage.getEBoolean(), \"isList\", \"true\", 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_MappingType(), this.getMappingType(), null, \"mappingType\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingTypeEClass, MappingType.class, \"MappingType\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMappingType_Cascade(), this.getCascade(), \"cascade\", \"ALL\", 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMappingType_MappedBy(), this.getEntity(), null, \"mappedBy\", null, 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToManyEClass, OneToMany.class, \"OneToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToOneEClass, ManyToOne.class, \"ManyToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToManyEClass, ManyToMany.class, \"ManyToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getManyToMany_JoinTableName(), theEcorePackage.getEString(), \"joinTableName\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_JoinColumns(), theEcorePackage.getEString(), \"joinColumns\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_InverseJoinColumns(), theEcorePackage.getEString(), \"inverseJoinColumns\", null, 0,\r\n\t\t\t\t1, ManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToOneEClass, OneToOne.class, \"OneToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getField_IsId(), theEcorePackage.getEBoolean(), \"isId\", \"false\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getField_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Field.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getField_Datatype(), theEcorePackage.getEString(), \"datatype\", \"String\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(dbSourceEClass, DBSource.class, \"DBSource\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDBSource_EnableConsole(), theEcorePackage.getEBoolean(), \"enableConsole\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_WebAllowOothers(), theEcorePackage.getEBoolean(), \"webAllowOothers\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ConsolePath(), theEcorePackage.getEString(), \"consolePath\", \"/h2-console\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Url(), theEcorePackage.getEString(), \"url\",\r\n\t\t\t\t\"jdbc:h2:file:./data/Repository;DB_CLOSE_ON_EXIT=true;\", 0, 1, DBSource.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_User(), theEcorePackage.getEString(), \"user\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Password(), theEcorePackage.getEString(), \"password\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_DriveClassName(), theEcorePackage.getEString(), \"driveClassName\", \"org.h2.Driver\", 0,\r\n\t\t\t\t1, DBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ServerPort(), theEcorePackage.getEString(), \"serverPort\", \"2001\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(cascadeEEnum, Cascade.class, \"Cascade\");\r\n\t\taddEEnumLiteral(cascadeEEnum, Cascade.ALL);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n if (this.isInitialized) {\n return;\n }\n this.isInitialized = true;\n\n // Initialize package\n this.setName(eNAME);\n this.setNsPrefix(eNS_PREFIX);\n this.setNsURI(eNS_URI);\n\n // Obtain other dependent packages\n final QosannotationsPackage theQosannotationsPackage = (QosannotationsPackage) EPackage.Registry.INSTANCE\n .getEPackage(QosannotationsPackage.eNS_URI);\n final CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n final CompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\n .getEPackage(CompositionPackage.eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n this.systemSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n this.specifiedExecutionTimeEClass.getESuperTypes().add(theQosannotationsPackage.getSpecifiedQoSAnnotation());\n this.componentSpecifiedExecutionTimeEClass.getESuperTypes().add(this.getSpecifiedExecutionTime());\n\n // Initialize classes and features; add operations and parameters\n this.initEClass(this.systemSpecifiedExecutionTimeEClass, SystemSpecifiedExecutionTime.class,\n \"SystemSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n final EOperation op = this.addEOperation(this.systemSpecifiedExecutionTimeEClass,\n this.ecorePackage.getEBoolean(), \"SystemSpecifiedExecutionTimeMustReferenceRequiredRoleOfASystem\", 0, 1,\n IS_UNIQUE, IS_ORDERED);\n this.addEParameter(op, this.ecorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n final EGenericType g1 = this.createEGenericType(this.ecorePackage.getEMap());\n EGenericType g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n g2 = this.createEGenericType(this.ecorePackage.getEJavaObject());\n g1.getETypeArguments().add(g2);\n this.addEParameter(op, g1, \"context\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n this.initEClass(this.specifiedExecutionTimeEClass, SpecifiedExecutionTime.class, \"SpecifiedExecutionTime\",\n IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getSpecifiedExecutionTime_Specification_SpecifiedExecutionTime(),\n theCorePackage.getPCMRandomVariable(),\n theCorePackage.getPCMRandomVariable_SpecifiedExecutionTime_PCMRandomVariable(),\n \"specification_SpecifiedExecutionTime\", null, 1, 1, SpecifiedExecutionTime.class, !IS_TRANSIENT,\n !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\n !IS_ORDERED);\n\n this.initEClass(this.componentSpecifiedExecutionTimeEClass, ComponentSpecifiedExecutionTime.class,\n \"ComponentSpecifiedExecutionTime\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n this.initEReference(this.getComponentSpecifiedExecutionTime_AssemblyContext_ComponentSpecifiedExecutionTime(),\n theCompositionPackage.getAssemblyContext(), null, \"assemblyContext_ComponentSpecifiedExecutionTime\",\n null, 1, 1, ComponentSpecifiedExecutionTime.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n intentEClass.getESuperTypes().add(this.getAgent());\n entityEClass.getESuperTypes().add(this.getAgent());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Agent(), this.getAgent(), null, \"agent\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentEClass, Agent.class, \"Agent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgent_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Agent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(intentEClass, Intent.class, \"Intent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIntent_SuperType(), this.getIntent(), null, \"superType\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_IsFollowUp(), this.getIsFollowUp(), null, \"isFollowUp\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_Question(), this.getQuestion(), null, \"question\", null, 0, -1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getIntent_Training(), this.getTraining(), null, \"training\", null, 0, 1, Intent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(isFollowUpEClass, IsFollowUp.class, \"IsFollowUp\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIsFollowUp_Intent(), this.getIntent(), null, \"intent\", null, 0, 1, IsFollowUp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityEClass, Entity.class, \"Entity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getEntity_Example(), this.getEntityExample(), null, \"example\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(questionEClass, Question.class, \"Question\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuestion_QuestionEntity(), this.getQuestionEntity(), null, \"questionEntity\", null, 0, 1, Question.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuestion_Prompt(), ecorePackage.getEString(), \"prompt\", null, 0, 1, Question.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(questionEntityEClass, QuestionEntity.class, \"QuestionEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuestionEntity_WithEntity(), this.getReference(), null, \"withEntity\", null, 0, 1, QuestionEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(trainingEClass, Training.class, \"Training\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTraining_Trainingref(), this.getTrainingRef(), null, \"trainingref\", null, 0, -1, Training.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(trainingRefEClass, TrainingRef.class, \"TrainingRef\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTrainingRef_Phrase(), ecorePackage.getEString(), \"phrase\", null, 0, 1, TrainingRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTrainingRef_Declaration(), this.getDeclaration(), null, \"declaration\", null, 0, 1, TrainingRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(declarationEClass, Declaration.class, \"Declaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDeclaration_Trainingstring(), ecorePackage.getEString(), \"trainingstring\", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDeclaration_Reference(), this.getReference(), null, \"reference\", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityExampleEClass, EntityExample.class, \"EntityExample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityExample_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityExample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(sysvariableEClass, Sysvariable.class, \"Sysvariable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSysvariable_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Sysvariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(referenceEClass, Reference.class, \"Reference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getReference_Entity(), this.getEntity(), null, \"entity\", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getReference_Sysvar(), this.getSysvariable(), null, \"sysvar\", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "@Override\r\n\tpublic void updatePackage(PackageJour pj) {\n\t\tem.merge(pj);\r\n\t}", "public void initializePackageContents()\r\n {\r\n if (isInitialized) return;\r\n isInitialized = true;\r\n\r\n // Initialize package\r\n setName(eNAME);\r\n setNsPrefix(eNS_PREFIX);\r\n setNsURI(eNS_URI);\r\n\r\n // Create type parameters\r\n\r\n // Set bounds for type parameters\r\n\r\n // Add supertypes to classes\r\n bookEClass.getESuperTypes().add(this.getProduct());\r\n dvdEClass.getESuperTypes().add(this.getProduct());\r\n\r\n // Initialize classes and features; add operations and parameters\r\n initEClass(productEClass, Product.class, \"Product\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getProduct_Price(), ecorePackage.getEDouble(), \"price\", null, 0, 1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getProduct_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getProduct_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getProduct_Producer(), this.getProducer(), this.getProducer_Products(), \"producer\", null, 1, 1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getProduct_Wishlists(), this.getWishlist(), this.getWishlist_Products(), \"wishlists\", null, 0, -1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getProduct_OfferedBy(), this.getSeller(), this.getSeller_AllProductsToSell(), \"offeredBy\", null, 0, -1, Product.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(customerEClass, Customer.class, \"Customer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getCustomer_AllBoughtProducts(), this.getProduct(), null, \"allBoughtProducts\", null, 0, -1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getCustomer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getCustomer_Age(), ecorePackage.getEInt(), \"age\", null, 0, 1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getCustomer_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getCustomer_Wishlists(), this.getWishlist(), null, \"wishlists\", null, 0, -1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getCustomer_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(producerEClass, Producer.class, \"Producer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getProducer_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Producer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getProducer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Producer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getProducer_Products(), this.getProduct(), this.getProduct_Producer(), \"products\", null, 0, -1, Producer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(storeEClass, Store.class, \"Store\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getStore_Customers(), this.getCustomer(), null, \"customers\", null, 0, -1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getStore_Products(), this.getProduct(), null, \"products\", null, 0, -1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getStore_Producers(), this.getProducer(), null, \"producers\", null, 0, -1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getStore_Sellers(), this.getSeller(), null, \"sellers\", null, 0, 1, Store.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(bookEClass, Book.class, \"Book\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getBook_Author(), ecorePackage.getEString(), \"author\", null, 0, 1, Book.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(dvdEClass, de.upb.examples.reengineering.store.model.DVD.class, \"DVD\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getDVD_Interpret(), ecorePackage.getEString(), \"interpret\", null, 0, 1, de.upb.examples.reengineering.store.model.DVD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(wishlistEClass, Wishlist.class, \"Wishlist\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getWishlist_Products(), this.getProduct(), this.getProduct_Wishlists(), \"products\", null, 0, -1, Wishlist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(sellerEClass, Seller.class, \"Seller\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getSeller_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getSeller_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getSeller_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getSeller_AllProductsToSell(), this.getProduct(), this.getProduct_OfferedBy(), \"allProductsToSell\", null, 0, -1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getSeller_EReference0(), this.getSeller(), null, \"EReference0\", null, 0, 1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getSeller_SoldProducts(), this.getProduct(), null, \"soldProducts\", null, 0, -1, Seller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n // Create resource\r\n createResource(eNS_URI);\r\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(controlEClass, Control.class, \"Control\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getControl_Midi(), this.getMidi(), null, \"midi\", null, 1, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Background(), theXMLTypePackage.getString(), \"background\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Centered(), theXMLTypePackage.getString(), \"centered\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Color(), theXMLTypePackage.getString(), \"color\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_H(), theXMLTypePackage.getString(), \"h\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Inverted(), theXMLTypePackage.getString(), \"inverted\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedX(), theXMLTypePackage.getString(), \"invertedX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedY(), theXMLTypePackage.getString(), \"invertedY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_LocalOff(), theXMLTypePackage.getString(), \"localOff\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Number(), theXMLTypePackage.getString(), \"number\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberX(), theXMLTypePackage.getString(), \"numberX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberY(), theXMLTypePackage.getString(), \"numberY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_OscCs(), theXMLTypePackage.getString(), \"oscCs\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Outline(), theXMLTypePackage.getString(), \"outline\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Response(), theXMLTypePackage.getString(), \"response\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalef(), theXMLTypePackage.getString(), \"scalef\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalet(), theXMLTypePackage.getString(), \"scalet\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Seconds(), theXMLTypePackage.getString(), \"seconds\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Size(), theXMLTypePackage.getString(), \"size\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Text(), theXMLTypePackage.getString(), \"text\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_W(), theXMLTypePackage.getString(), \"w\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_X(), theXMLTypePackage.getString(), \"x\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Y(), theXMLTypePackage.getString(), \"y\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(layoutEClass, Layout.class, \"Layout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLayout_Tabpage(), this.getTabpage(), null, \"tabpage\", null, 1, -1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Mode(), theXMLTypePackage.getString(), \"mode\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Orientation(), theXMLTypePackage.getString(), \"orientation\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Version(), theXMLTypePackage.getString(), \"version\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(midiEClass, Midi.class, \"Midi\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMidi_Channel(), theXMLTypePackage.getString(), \"channel\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data1(), theXMLTypePackage.getString(), \"data1\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2f(), theXMLTypePackage.getString(), \"data2f\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2t(), theXMLTypePackage.getString(), \"data2t\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Var(), theXMLTypePackage.getString(), \"var\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tabpageEClass, Tabpage.class, \"Tabpage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTabpage_Control(), this.getControl(), null, \"control\", null, 1, -1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTabpage_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(topEClass, net.sf.smbt.touchosc.touchosc.TOP.class, \"TOP\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTOP_Layout(), this.getLayout(), null, \"layout\", null, 1, 1, net.sf.smbt.touchosc.touchosc.TOP.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n cssOtherTopLevelDeclarationEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n mediaDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n pageDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n namespaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n fontFaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n ruleSetEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n ruleSetEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n propertyDeclarationEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n knownPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n unrecognizedPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n typeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n universalSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n attributeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n idSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n classSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n pseudoSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n noArgsPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n pseudoElementSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n languagePseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n functionalPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n linearArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n constantArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n parityArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n negationSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n sizeLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n stringLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n colorLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n componentColorLiteralEClass.getESuperTypes().add(this.getColorLiteral());\n urlLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n functionCallLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n descendantCombinatorEClass.getESuperTypes().add(this.getSelector());\n childCombinatorEClass.getESuperTypes().add(this.getSelector());\n adjacentSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n generalSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n simpleSelectorSequenceEClass.getESuperTypes().add(this.getSelector());\n universalNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n withoutNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n stringAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n decimalAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n decimalLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n quantifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n qualifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n fontHeightLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n rgbColorEClass.getESuperTypes().add(this.getColorLiteral());\n namedColorEClass.getESuperTypes().add(this.getColorLiteral());\n componentRGBColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentRGBAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n alphaLiteralEClass.getESuperTypes().add(this.getFunctionCallLiteral());\n\n // Initialize classes and features; add operations and parameters\n initEClass(stylesheetEClass, Stylesheet.class, \"Stylesheet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStylesheet_CharSet(), ecorePackage.getEString(), \"charSet\", null, 0, 1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Imports(), this.getImportDeclaration(), null, \"imports\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Statements(), this.getCSSTopLevelStatement(), null, \"statements\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(cssTopLevelStatementEClass, CSSTopLevelStatement.class, \"CSSTopLevelStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(cssOtherTopLevelDeclarationEClass, CSSOtherTopLevelDeclaration.class, \"CSSOtherTopLevelDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(importDeclarationEClass, ImportDeclaration.class, \"ImportDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getImportDeclaration_ImportURI(), ecorePackage.getEString(), \"importURI\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Media(), ecorePackage.getEString(), \"media\", null, 0, -1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationEClass, MediaDeclaration.class, \"MediaDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMediaDeclaration_MediaQueries(), this.getMediaQuery(), null, \"mediaQueries\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Media(), this.getMediaQuery(), null, \"media\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Members(), this.getMediaDeclarationMembers(), null, \"members\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationMembersEClass, MediaDeclarationMembers.class, \"MediaDeclarationMembers\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(mediaQueryEClass, MediaQuery.class, \"MediaQuery\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQuery_Only(), ecorePackage.getEBoolean(), \"only\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_Not(), ecorePackage.getEBoolean(), \"not\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_MediaType(), ecorePackage.getEString(), \"mediaType\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQuery_Expressions(), this.getMediaQueryExpression(), null, \"expressions\", null, 0, -1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaQueryExpressionEClass, MediaQueryExpression.class, \"MediaQueryExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQueryExpression_Feature(), ecorePackage.getEString(), \"feature\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQueryExpression_Expression(), this.getValueLiteral(), null, \"expression\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pageDeclarationEClass, PageDeclaration.class, \"PageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPageDeclaration_PseudoPage(), ecorePackage.getEString(), \"pseudoPage\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPageDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespaceDeclarationEClass, NamespaceDeclaration.class, \"NamespaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamespaceDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNamespaceDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontFaceDeclarationEClass, FontFaceDeclaration.class, \"FontFaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontFaceDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, FontFaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetEClass, RuleSet.class, \"RuleSet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSet_Selectors(), this.getSelector(), null, \"selectors\", null, 0, -1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleSet_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetBodyEClass, RuleSetBody.class, \"RuleSetBody\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSetBody_Declarations(), this.getPropertyDeclaration(), null, \"declarations\", null, 0, -1, RuleSetBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyDeclarationEClass, PropertyDeclaration.class, \"PropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyDeclaration_ValuesLists(), this.getPropertyValuesLists(), null, \"valuesLists\", null, 0, 1, PropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(knownPropertyDeclarationEClass, KnownPropertyDeclaration.class, \"KnownPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getKnownPropertyDeclaration_Name(), this.getKnownProperties(), \"name\", null, 0, 1, KnownPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unrecognizedPropertyDeclarationEClass, UnrecognizedPropertyDeclaration.class, \"UnrecognizedPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnrecognizedPropertyDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, UnrecognizedPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListsEClass, PropertyValuesLists.class, \"PropertyValuesLists\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesLists_Lists(), this.getPropertyValuesList(), null, \"lists\", null, 0, -1, PropertyValuesLists.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListEClass, PropertyValuesList.class, \"PropertyValuesList\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesList_Values(), this.getPropertyValue(), null, \"values\", null, 0, -1, PropertyValuesList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValueEClass, PropertyValue.class, \"PropertyValue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValue_Value(), this.getValueLiteral(), null, \"value\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPropertyValue_Important(), ecorePackage.getEBoolean(), \"important\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectorEClass, Selector.class, \"Selector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(simpleSelectorEClass, SimpleSelector.class, \"SimpleSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(typeSelectorEClass, TypeSelector.class, \"TypeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTypeSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeSelector_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespacePrefixEClass, NamespacePrefix.class, \"NamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNamespacePrefix_Namespace(), this.getNamespaceDeclaration(), null, \"namespace\", null, 0, 1, NamespacePrefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalSelectorEClass, UniversalSelector.class, \"UniversalSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUniversalSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, UniversalSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeSelectorEClass, AttributeSelector.class, \"AttributeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttributeSelector_Attribute(), this.getAttribute(), null, \"attribute\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttributeSelector_Matcher(), this.getAttributeSelectorMatchers(), \"matcher\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAttributeSelector_Value(), this.getAttributeValueLiteral(), null, \"value\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttribute_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeValueLiteralEClass, AttributeValueLiteral.class, \"AttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(idSelectorEClass, IDSelector.class, \"IDSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIDSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IDSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classSelectorEClass, ClassSelector.class, \"ClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getClassSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoSelectorEClass, PseudoSelector.class, \"PseudoSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(noArgsPseudoClassSelectorEClass, NoArgsPseudoClassSelector.class, \"NoArgsPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNoArgsPseudoClassSelector_Pseudo(), this.getNoArgsPseudos(), \"pseudo\", null, 0, 1, NoArgsPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoElementSelectorEClass, PseudoElementSelector.class, \"PseudoElementSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPseudoElementSelector_DoubleSemiColon(), ecorePackage.getEBoolean(), \"doubleSemiColon\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPseudoElementSelector_Pseudo(), this.getPseudoElements(), \"pseudo\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(languagePseudoClassSelectorEClass, LanguagePseudoClassSelector.class, \"LanguagePseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLanguagePseudoClassSelector_LangugageId(), ecorePackage.getEString(), \"langugageId\", null, 0, 1, LanguagePseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionalPseudoClassSelectorEClass, FunctionalPseudoClassSelector.class, \"FunctionalPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionalPseudoClassSelector_Pseudo(), this.getFunctionalPseudoClasses(), \"pseudo\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionalPseudoClassSelector_Argument(), this.getTypeArgument(), null, \"argument\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeArgumentEClass, TypeArgument.class, \"TypeArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(linearArgumentEClass, LinearArgument.class, \"LinearArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLinearArgument_Coefficient(), this.getCoefficient(), null, \"coefficient\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_ConstantSign(), ecorePackage.getEString(), \"constantSign\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_Constant(), ecorePackage.getEInt(), \"constant\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coefficientEClass, Coefficient.class, \"Coefficient\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoefficient_Ident(), ecorePackage.getEString(), \"ident\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCoefficient_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(constantArgumentEClass, ConstantArgument.class, \"ConstantArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getConstantArgument_Sign(), ecorePackage.getEString(), \"sign\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getConstantArgument_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parityArgumentEClass, ParityArgument.class, \"ParityArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParityArgument_Parity(), this.getParities(), \"parity\", null, 0, 1, ParityArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(negationSelectorEClass, NegationSelector.class, \"NegationSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNegationSelector_SimpleSelector(), this.getSimpleSelector(), null, \"simpleSelector\", null, 0, 1, NegationSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(valueLiteralEClass, ValueLiteral.class, \"ValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberLiteralEClass, NumberLiteral.class, \"NumberLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(sizeLiteralEClass, SizeLiteral.class, \"SizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringLiteralEClass, StringLiteral.class, \"StringLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(colorLiteralEClass, ColorLiteral.class, \"ColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(componentColorLiteralEClass, ComponentColorLiteral.class, \"ComponentColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(colorComponentLiteralEClass, ColorComponentLiteral.class, \"ColorComponentLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getColorComponentLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getColorComponentLiteral_Percentage(), ecorePackage.getEBoolean(), \"percentage\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(urlLiteralEClass, URLLiteral.class, \"URLLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getURLLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, URLLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bareWordLiteralEClass, BareWordLiteral.class, \"BareWordLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getBareWordLiteral_BareWord(), ecorePackage.getEString(), \"bareWord\", null, 0, 1, BareWordLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionCallLiteralEClass, FunctionCallLiteral.class, \"FunctionCallLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionCallLiteral_Function(), ecorePackage.getEString(), \"function\", null, 0, 1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionCallLiteral_Arguments(), this.getValueLiteral(), null, \"arguments\", null, 0, -1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(descendantCombinatorEClass, DescendantCombinator.class, \"DescendantCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDescendantCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDescendantCombinator_WsI(), ecorePackage.getEString(), \"wsI\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDescendantCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(childCombinatorEClass, ChildCombinator.class, \"ChildCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getChildCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getChildCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(adjacentSiblingCombinatorEClass, AdjacentSiblingCombinator.class, \"AdjacentSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdjacentSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdjacentSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(generalSiblingCombinatorEClass, GeneralSiblingCombinator.class, \"GeneralSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getGeneralSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getGeneralSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleSelectorSequenceEClass, SimpleSelectorSequence.class, \"SimpleSelectorSequence\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSimpleSelectorSequence_Head(), this.getSimpleSelector(), null, \"head\", null, 0, 1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSimpleSelectorSequence_SimpleSelectors(), this.getSimpleSelector(), null, \"simpleSelectors\", null, 0, -1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalNamespacePrefixEClass, UniversalNamespacePrefix.class, \"UniversalNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(withoutNamespacePrefixEClass, WithoutNamespacePrefix.class, \"WithoutNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringAttributeValueLiteralEClass, StringAttributeValueLiteral.class, \"StringAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringAttributeValueLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerAttributeValueLiteralEClass, IntegerAttributeValueLiteral.class, \"IntegerAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerAttributeValueLiteral_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, IntegerAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalAttributeValueLiteralEClass, DecimalAttributeValueLiteral.class, \"DecimalAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalAttributeValueLiteral_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, DecimalAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerLiteral_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalLiteral_Decimal(), ecorePackage.getEDouble(), \"decimal\", null, 0, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(quantifiedSizeLiteralEClass, QuantifiedSizeLiteral.class, \"QuantifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuantifiedSizeLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuantifiedSizeLiteral_Dimension(), this.getDimensions(), \"dimension\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(qualifiedSizeLiteralEClass, QualifiedSizeLiteral.class, \"QualifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getQualifiedSizeLiteral_Bareword(), ecorePackage.getEString(), \"bareword\", null, 0, 1, QualifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontHeightLiteralEClass, FontHeightLiteral.class, \"FontHeightLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontHeightLiteral_FontHeight(), this.getSizeLiteral(), null, \"fontHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFontHeightLiteral_LineHeight(), this.getNumberLiteral(), null, \"lineHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFontHeightLiteral_LineHeightDimension(), this.getDimensions(), \"lineHeightDimension\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rgbColorEClass, RGBColor.class, \"RGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRGBColor_Rgb(), ecorePackage.getEString(), \"rgb\", null, 0, 1, RGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namedColorEClass, NamedColor.class, \"NamedColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedColor_Color(), this.getColorNames(), \"color\", null, 0, 1, NamedColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBColorEClass, ComponentRGBColor.class, \"ComponentRGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBAlphaColorEClass, ComponentRGBAlphaColor.class, \"ComponentRGBAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBAlphaColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLColorEClass, ComponentHSLColor.class, \"ComponentHSLColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLAlphaColorEClass, ComponentHSLAlphaColor.class, \"ComponentHSLAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLAlphaColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(alphaLiteralEClass, AlphaLiteral.class, \"AlphaLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAlphaLiteral_Opacity(), this.getNumberLiteral(), null, \"opacity\", null, 0, 1, AlphaLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(knownPropertiesEEnum, KnownProperties.class, \"KnownProperties\");\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.COLOR);\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.BORDER_TOP);\n\n initEEnum(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.class, \"AttributeSelectorMatchers\");\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.PREFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUFFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUBSTRING);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.EXACT);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.INCLUDES);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.LANGUAGE);\n\n initEEnum(noArgsPseudosEEnum, NoArgsPseudos.class, \"NoArgsPseudos\");\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LINK);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.VISITED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.HOVER);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ACTIVE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FOCUS);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.TARGET);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ENABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.DISABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.CHECKED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.INDETERMINATE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ROOT);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FIRST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LAST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ONLY_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.EMPTY);\n\n initEEnum(pseudoElementsEEnum, PseudoElements.class, \"PseudoElements\");\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LETTER);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LINE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.BEFORE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.AFTER);\n\n initEEnum(functionalPseudoClassesEEnum, FunctionalPseudoClasses.class, \"FunctionalPseudoClasses\");\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.FIRST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.ONLY_OF_TYPE);\n\n initEEnum(paritiesEEnum, Parities.class, \"Parities\");\n addEEnumLiteral(paritiesEEnum, Parities.ODD);\n addEEnumLiteral(paritiesEEnum, Parities.EVEN);\n\n initEEnum(dimensionsEEnum, Dimensions.class, \"Dimensions\");\n addEEnumLiteral(dimensionsEEnum, Dimensions.IN);\n addEEnumLiteral(dimensionsEEnum, Dimensions.CM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.MM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PT);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PC);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PERC);\n\n initEEnum(colorNamesEEnum, ColorNames.class, \"ColorNames\");\n addEEnumLiteral(colorNamesEEnum, ColorNames.BLACK);\n addEEnumLiteral(colorNamesEEnum, ColorNames.WHITE);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tQIntegratedLanguageCorePackage theIntegratedLanguageCorePackage = (QIntegratedLanguageCorePackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCorePackage.eNS_URI);\n\t\tQIntegratedLanguageCoreCtxPackage theIntegratedLanguageCoreCtxPackage = (QIntegratedLanguageCoreCtxPackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCoreCtxPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\trepositoryEClass.getESuperTypes().add(theIntegratedLanguageCorePackage.getObjectNameable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(repositoryEClass, QRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepository_Location(), ecorePackage.getEString(), \"location\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryManagerEClass, QRepositoryManager.class, \"RepositoryManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"checkUpdates\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, null, \"updateAll\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theIntegratedLanguageCoreCtxPackage.getContextProvider(), \"contextProvider\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "io.deniffel.dsl.useCase.useCase.Package getPackage();", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlogicalConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnaturalLangConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tmathConditionEClass.getESuperTypes().add(this.getCondition());\n\t\tnegformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\toRformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tanDformulaEClass.getESuperTypes().add(this.getLogicalCondition());\n\t\tequalFormulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tmoreEqformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tlessformulaEClass.getESuperTypes().add(this.getMathCondition());\n\t\tnumberPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tbooleanPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tstringPropertyEClass.getESuperTypes().add(this.getProperty());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ontologicalStructureEClass, OntologicalStructure.class, \"OntologicalStructure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOntologicalStructure_OntologicalConcepts(), this.getOntologicalConcept(), null, \"ontologicalConcepts\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Conditions(), this.getCondition(), null, \"conditions\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntologicalStructure_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, OntologicalStructure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ontologicalConceptEClass, OntologicalConcept.class, \"OntologicalConcept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntologicalConcept_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntologicalConcept_URI(), ecorePackage.getEString(), \"URI\", null, 1, 1, OntologicalConcept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCondition_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(logicalConditionEClass, LogicalCondition.class, \"LogicalCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(naturalLangConditionEClass, NaturalLangCondition.class, \"NaturalLangCondition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNaturalLangCondition_Statement(), ecorePackage.getEString(), \"statement\", null, 1, 1, NaturalLangCondition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(mathConditionEClass, MathCondition.class, \"MathCondition\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(negformulaEClass, Negformula.class, \"Negformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNegformula_ConditionStatement(), this.getCondition(), null, \"conditionStatement\", null, 0, 1, Negformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(oRformulaEClass, ORformula.class, \"ORformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getORformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getORformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ORformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anDformulaEClass, ANDformula.class, \"ANDformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getANDformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getANDformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, ANDformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(equalFormulaEClass, equalFormula.class, \"equalFormula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getequalFormula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getequalFormula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, equalFormula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(moreEqformulaEClass, moreEqformula.class, \"moreEqformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getmoreEqformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getmoreEqformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, moreEqformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(lessformulaEClass, lessformula.class, \"lessformula\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getlessformula_LeftConditionStatement(), this.getCondition(), null, \"leftConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getlessformula_RightConditionStatement(), this.getCondition(), null, \"rightConditionStatement\", null, 1, 1, lessformula.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Label(), ecorePackage.getEString(), \"label\", null, 1, 1, Property.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(numberPropertyEClass, NumberProperty.class, \"NumberProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNumberProperty_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, NumberProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(booleanPropertyEClass, BooleanProperty.class, \"BooleanProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanProperty_Value(), ecorePackage.getEBoolean(), \"value\", null, 0, 1, BooleanProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stringPropertyEClass, StringProperty.class, \"StringProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStringProperty_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tPersistencePackage thePersistencePackage = (PersistencePackage)EPackage.Registry.INSTANCE.getEPackage(PersistencePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tlocalAuthenticationSystemEClass.getESuperTypes().add(this.getAuthentication());\n\t\tcasAuthenticationEClass.getESuperTypes().add(this.getAuthentication());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(securityEClass, Security.class, \"Security\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSecurity_Authentication(), this.getAuthentication(), this.getAuthentication_Security(), \"authentication\", null, 0, 1, Security.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(authenticationEClass, Authentication.class, \"Authentication\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAuthentication_Security(), this.getSecurity(), this.getSecurity_Authentication(), \"security\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAuthentication_UserModel(), thePersistencePackage.getEntity(), null, \"userModel\", null, 1, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationName(), ecorePackage.getEString(), \"implicitRegistrationName\", \"registration\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUnitLabel(), ecorePackage.getEString(), \"implicitRegistrationUnitLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationActionLabel(), ecorePackage.getEString(), \"implicitRegistrationActionLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationConfirmLabel(), ecorePackage.getEString(), \"implicitRegistrationConfirmLabel\", \"Create Account\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitRegistrationUri(), ecorePackage.getEString(), \"implicitRegistrationUri\", \"register\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginName(), ecorePackage.getEString(), \"implicitLoginName\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUnitLabel(), ecorePackage.getEString(), \"implicitLoginUnitLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginActionLabel(), ecorePackage.getEString(), \"implicitLoginActionLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginConfirmLabel(), ecorePackage.getEString(), \"implicitLoginConfirmLabel\", \"Login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLoginUri(), ecorePackage.getEString(), \"implicitLoginUri\", \"login\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutName(), ecorePackage.getEString(), \"implicitLogoutName\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUnitLabel(), ecorePackage.getEString(), \"implicitLogoutUnitLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutActionLabel(), ecorePackage.getEString(), \"implicitLogoutActionLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutConfirmLabel(), ecorePackage.getEString(), \"implicitLogoutConfirmLabel\", \"Logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitLogoutUri(), ecorePackage.getEString(), \"implicitLogoutUri\", \"logout\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordName(), ecorePackage.getEString(), \"implicitForgottenPasswordName\", \"forgotten\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUnitLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordUnitLabel\", \"Reset Password Request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordActionLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordActionLabel\", \"Forgotten Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitForgottenPasswordConfirmLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriRequest(), ecorePackage.getEString(), \"implicitForgottenPasswordUriRequest\", \"reset-password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordUriEmailSent(), ecorePackage.getEString(), \"implicitForgottenPasswordUriEmailSent\", \"check-email\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSubject(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSubject\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentCaption(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentCaption\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitForgottenPasswordEmailSentMessage(), ecorePackage.getEString(), \"implicitForgottenPasswordEmailSentMessage\", \"Your password reset request\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordName(), ecorePackage.getEString(), \"implicitResetPasswordName\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUnitLabel(), ecorePackage.getEString(), \"implicitResetPasswordUnitLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordActionLabel(), ecorePackage.getEString(), \"implicitResetPasswordActionLabel\", \"Reset Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordConfirmLabel(), ecorePackage.getEString(), \"implicitResetPasswordConfirmLabel\", \"Set Password\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAuthentication_ImplicitResetPasswordUri(), ecorePackage.getEString(), \"implicitResetPasswordUri\", \"reset\", 0, 1, Authentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(localAuthenticationSystemEClass, LocalAuthenticationSystem.class, \"LocalAuthenticationSystem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationModel(), thePersistencePackage.getEntity(), null, \"authenticationModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AuthenticationName(), ecorePackage.getEString(), \"authenticationName\", \"Authentication\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_UserKey(), thePersistencePackage.getAttribute(), null, \"userKey\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_AuthenticationKey(), thePersistencePackage.getAttribute(), null, \"authenticationKey\", null, 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_IdentifierFeature(), thePersistencePackage.getAttribute(), null, \"identifierFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_PasswordFeature(), thePersistencePackage.getAttribute(), null, \"passwordFeature\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordRequestModel(), thePersistencePackage.getEntity(), null, \"resetPasswordRequestModel\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ResetPasswordRequestName(), ecorePackage.getEString(), \"resetPasswordRequestName\", \"ResetPasswordRequest\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_RegistrationUnit(), this.getSecurityUnit(), null, \"registrationUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LoginUnit(), this.getSecurityUnit(), null, \"loginUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_LogoutUnit(), this.getSecurityUnit(), null, \"logoutUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ForgottenPasswordUnit(), this.getSecurityUnit(), null, \"forgottenPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLocalAuthenticationSystem_ResetPasswordUnit(), this.getSecurityUnit(), null, \"resetPasswordUnit\", null, 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_ViewRole(), ecorePackage.getEString(), \"viewRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_EditRole(), ecorePackage.getEString(), \"editRole\", \"ROLE_SECURITY\", 0, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseCaptcha(), ecorePackage.getEBoolean(), \"useCaptcha\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowRememberMe(), ecorePackage.getEBoolean(), \"allowRememberMe\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_AllowSelfRegistration(), ecorePackage.getEBoolean(), \"allowSelfRegistration\", \"false\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_TrackLoginAttempts(), ecorePackage.getEBoolean(), \"trackLoginAttempts\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_UseEmailActivation(), ecorePackage.getEBoolean(), \"useEmailActivation\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getLocalAuthenticationSystem_SendWelcomeEmail(), ecorePackage.getEBoolean(), \"sendWelcomeEmail\", \"true\", 1, 1, LocalAuthenticationSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(casAuthenticationEClass, CasAuthentication.class, \"CasAuthentication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCasAuthentication_LoginLabel(), ecorePackage.getEString(), \"loginLabel\", \"login\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCasAuthentication_LogoutLabel(), ecorePackage.getEString(), \"logoutLabel\", \"logout\", 0, 1, CasAuthentication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(securityUnitEClass, SecurityUnit.class, \"SecurityUnit\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http://www.eclipse.org/emf/2002/Ecore/OCL\n\t\tcreateOCLAnnotations();\n\t}", "Package createPackage();", "public void load() throws ClassNotFoundException, IOException;", "public void deserialize() {\n\t\t\n\t}", "MystPackage getMystPackage();", "ImportedPackage createImportedPackage();", "private void dump() throws IOException {\n/* 67 */ Set packages = new TreeSet((Comparator)new Object(this));\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 73 */ for (int i = 0; i < this.classes.length; i++) {\n/* 74 */ JDefinedClass cls = this.classes[i].getTypeAsDefined();\n/* 75 */ packages.add(cls._package());\n/* */ } \n/* */ \n/* 78 */ for (Iterator itr = packages.iterator(); itr.hasNext();) {\n/* 79 */ dump(itr.next());\n/* */ }\n/* 81 */ this.out.flush();\n/* */ }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tjElementEClass = createEClass(JELEMENT);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__UUID);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__SHORT_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FULL_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__DESCRIPTION);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FRAMEWORK);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__PARTICIPATES);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__VISIBILITY);\n\n\t\tjTypeEClass = createEClass(JTYPE);\n\n\t\tjTypedElementEClass = createEClass(JTYPED_ELEMENT);\n\t\tcreateEReference(jTypedElementEClass, JTYPED_ELEMENT__TYPE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__VALUE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__DERIVED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__CALCULATED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__LOWER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UPPER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__ORDERED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UNIQUE);\n\n\t\tjPrimitiveEClass = createEClass(JPRIMITIVE);\n\t\tcreateEReference(jPrimitiveEClass, JPRIMITIVE__PACKAGE);\n\t\tcreateEAttribute(jPrimitiveEClass, JPRIMITIVE__USE_FOR_ID_TYPE);\n\n\t\tjEnumerationEClass = createEClass(JENUMERATION);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__PACKAGE);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__LITERALS);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__CLASS_REPRESENTATION);\n\n\t\tjClassEClass = createEClass(JCLASS);\n\t\tcreateEAttribute(jClassEClass, JCLASS__ABSTRACT);\n\t\tcreateEReference(jClassEClass, JCLASS__STATE_MACHINES);\n\t\tcreateEReference(jClassEClass, JCLASS__OPERATIONS);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTE_ORDER);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES_FOR_LISTING);\n\t\tcreateEReference(jClassEClass, JCLASS__FIXED_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT);\n\t\tcreateEAttribute(jClassEClass, JCLASS__TENANT_MEMBER);\n\t\tcreateEReference(jClassEClass, JCLASS__REPRESENTATION);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT_USER);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_USER);\n\t\tcreateEReference(jClassEClass, JCLASS__SUPERTYPE);\n\t\tcreateEReference(jClassEClass, JCLASS__PACKAGE);\n\t\tcreateEReference(jClassEClass, JCLASS__ROLES);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__BUSINESS_SINGLETON);\n\t\tcreateEReference(jClassEClass, JCLASS__ALIASES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__WATCHED);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM_VALUE);\n\n\t\tjAttributeEClass = createEClass(JATTRIBUTE);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__PLACEHOLDER);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REGEXP);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__MANDATORY);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__DECIMALS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__INTERVAL);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__TECHNICAL);\n\t\tcreateEReference(jAttributeEClass, JATTRIBUTE__OWNER_CLASS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__UI_NO_SEARCH);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__WATCHED);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REPRESENTS_ID);\n\n\t\tjOperationEClass = createEClass(JOPERATION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__CLASS_BASED);\n\t\tcreateEReference(jOperationEClass, JOPERATION__OWNER_CLASS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__PARAMETERS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__TRANSITION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__BULK);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__KIND);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__UI_MUST_CONFIRM);\n\n\t\tjParameterEClass = createEClass(JPARAMETER);\n\t\tcreateEReference(jParameterEClass, JPARAMETER__OWNER_OPERATION);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INPUT);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INTERVAL);\n\n\t\tjRelationshipEClass = createEClass(JRELATIONSHIP);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__PACKAGE);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__ROLES);\n\t\tcreateEAttribute(jRelationshipEClass, JRELATIONSHIP__DERIVED);\n\n\t\tjRoleEClass = createEClass(JROLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__LOWER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UPPER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__NAVIGABLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UNIQUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__ORDERED);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_RELATIONSHIP);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_EXPRESSION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_DESCRIPTION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__KIND);\n\t\tcreateEAttribute(jRoleEClass, JROLE__OPTION_SCRIPT);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_CLASS);\n\t\tcreateEAttribute(jRoleEClass, JROLE__VALUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__CALCULATED);\n\t\tcreateEAttribute(jRoleEClass, JROLE__INTERVAL);\n\n\t\tjLiteralEClass = createEClass(JLITERAL);\n\t\tcreateEReference(jLiteralEClass, JLITERAL__ENUMERATION);\n\n\t\tjPackageEClass = createEClass(JPACKAGE);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__ENUMERATIONS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PRIMITIVES);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__RELATIONSHIPS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CHILDREN);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PARENT);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__OWNER_MODEL);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CLASSES);\n\n\t\tjStateMachineEClass = createEClass(JSTATE_MACHINE);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__OWNER_CLASS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__STATES);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__TRANSITIONS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__CORRESPONDING_ENUM);\n\n\t\tjTransitionEClass = createEClass(JTRANSITION);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__STATE_MACHINE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__GUARD);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__TO_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__FROM_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__EXECUTING_OPERATION);\n\n\t\tjStateEClass = createEClass(JSTATE);\n\t\tcreateEReference(jStateEClass, JSTATE__OWNER_STATE_MACHINE);\n\t\tcreateEReference(jStateEClass, JSTATE__INCOMING_TRANSITIONS);\n\t\tcreateEReference(jStateEClass, JSTATE__OUTGOING_TRANSITIONS);\n\t\tcreateEAttribute(jStateEClass, JSTATE__INITIAL_STATE);\n\t\tcreateEAttribute(jStateEClass, JSTATE__FINAL_STATE);\n\n\t\tjGuardEClass = createEClass(JGUARD);\n\t\tcreateEReference(jGuardEClass, JGUARD__TRANSITION);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__TEXT);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__EXPRESSION);\n\n\t\tjModelEClass = createEClass(JMODEL);\n\t\tcreateEReference(jModelEClass, JMODEL__PACKAGES);\n\t\tcreateEAttribute(jModelEClass, JMODEL__PACKAGE_PREFIX);\n\t\tcreateEReference(jModelEClass, JMODEL__APPLICATION_TOP);\n\t\tcreateEReference(jModelEClass, JMODEL__ROOT_MENU_ITEMS);\n\t\tcreateEReference(jModelEClass, JMODEL__INFO);\n\n\t\tjuiMenuItemEClass = createEClass(JUI_MENU_ITEM);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__CHILDREN);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__PARENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__REPRESENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__UIFILTERS);\n\t\tcreateEAttribute(juiMenuItemEClass, JUI_MENU_ITEM__TYPE);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__ALIAS);\n\n\t\tjuiAttributeGroupEClass = createEClass(JUI_ATTRIBUTE_GROUP);\n\t\tcreateEReference(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__ATTRIBUTES);\n\t\tcreateEAttribute(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__POSITION);\n\n\t\tjuiFilterEClass = createEClass(JUI_FILTER);\n\t\tcreateEReference(juiFilterEClass, JUI_FILTER__ATTRIBUTE);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__OPERATOR);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__VALUE);\n\n\t\tjuiAliasEClass = createEClass(JUI_ALIAS);\n\t\tcreateEReference(juiAliasEClass, JUI_ALIAS__OWNER_CLASS);\n\n\t\tjInfoEClass = createEClass(JINFO);\n\t\tcreateEReference(jInfoEClass, JINFO__SUBMODELS);\n\n\t\tjSubmodelEClass = createEClass(JSUBMODEL);\n\t\tcreateEAttribute(jSubmodelEClass, JSUBMODEL__VERSION);\n\n\t\t// Create enums\n\t\tjVisibilityEEnum = createEEnum(JVISIBILITY);\n\t\tjAssociationKindEEnum = createEEnum(JASSOCIATION_KIND);\n\t\tjOperationKindEEnum = createEEnum(JOPERATION_KIND);\n\t\tjLayerEEnum = createEEnum(JLAYER);\n\t\tjMenuItemTypeEEnum = createEEnum(JMENU_ITEM_TYPE);\n\t\tjOperatorEEnum = createEEnum(JOPERATOR);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\torg.openecomp.ncomp.core.CorePackage theCorePackage_1 = (org.openecomp.ncomp.core.CorePackage)EPackage.Registry.INSTANCE.getEPackage(org.openecomp.ncomp.core.CorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\topenstackRequestDeleteEClass.getESuperTypes().add(this.getOpenStackRequest());\n\t\topenstackRequestPollEClass.getESuperTypes().add(this.getOpenStackRequest());\n\t\tvirtualMachineTypeEClass.getESuperTypes().add(theCorePackage_1.getNamedEntity());\n\t\tsecurityRuleEClass.getESuperTypes().add(theCorePackage_1.getNamedEntity());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(openStackRequestEClass, OpenStackRequest.class, \"OpenStackRequest\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOpenStackRequest_ProjectName(), theEcorePackage.getEString(), \"projectName\", null, 0, 1, OpenStackRequest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(openstackRequestDeleteEClass, OpenstackRequestDelete.class, \"OpenstackRequestDelete\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOpenstackRequestDelete_ObjectType(), theEcorePackage.getEString(), \"objectType\", null, 0, 1, OpenstackRequestDelete.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOpenstackRequestDelete_ObjectName(), theEcorePackage.getEString(), \"objectName\", null, 0, 1, OpenstackRequestDelete.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(openstackRequestPollEClass, OpenstackRequestPoll.class, \"OpenstackRequestPoll\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(virtualMachineTypeEClass, VirtualMachineType.class, \"VirtualMachineType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVirtualMachineType_Description(), theEcorePackage.getEString(), \"description\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_NumberOfCores(), theEcorePackage.getEInt(), \"numberOfCores\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_MemorySizeMB(), theEcorePackage.getEInt(), \"memorySizeMB\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_RootDiskSizeGB(), theEcorePackage.getEInt(), \"rootDiskSizeGB\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_DiskSizeGB(), theEcorePackage.getEInt(), \"diskSizeGB\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_VolumeSizeGB(), theEcorePackage.getEInt(), \"volumeSizeGB\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_ImageName(), theEcorePackage.getEString(), \"imageName\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_FlavorName(), theEcorePackage.getEString(), \"flavorName\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_NeedPublicIp(), theEcorePackage.getEBoolean(), \"needPublicIp\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVirtualMachineType_DeploymentStatus(), theCorePackage_1.getDeploymentStatus(), \"deploymentStatus\", null, 0, 1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getVirtualMachineType_IncomingSecurityRules(), this.getSecurityRule(), null, \"incomingSecurityRules\", null, 0, -1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getVirtualMachineType_OutboundSecurityRules(), this.getSecurityRule(), null, \"outboundSecurityRules\", null, 0, -1, VirtualMachineType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(securityRuleEClass, SecurityRule.class, \"SecurityRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSecurityRule_PortRangeStart(), theEcorePackage.getEIntegerObject(), \"portRangeStart\", null, 0, 1, SecurityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSecurityRule_PortRangeEnd(), theEcorePackage.getEIntegerObject(), \"portRangeEnd\", null, 0, 1, SecurityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSecurityRule_Prefix(), theEcorePackage.getEString(), \"prefix\", null, 0, 1, SecurityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSecurityRule_IpProtocol(), this.getSecurityRuleProtocol(), \"ipProtocol\", null, 0, 1, SecurityRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(securityRuleProtocolEEnum, SecurityRuleProtocol.class, \"SecurityRuleProtocol\");\n\t\taddEEnumLiteral(securityRuleProtocolEEnum, SecurityRuleProtocol.NONE);\n\t\taddEEnumLiteral(securityRuleProtocolEEnum, SecurityRuleProtocol.TCP);\n\t\taddEEnumLiteral(securityRuleProtocolEEnum, SecurityRuleProtocol.UDP);\n\t\taddEEnumLiteral(securityRuleProtocolEEnum, SecurityRuleProtocol.IMCP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private void deSerialize()\n {\n \n try\n { \n String filename = \"src/serialization/allSets.ser\";\n \n FileInputStream file = new FileInputStream(filename);\n ObjectInputStream in = new ObjectInputStream(file);\n \n allNoteCardSets = (AllNoteCardSets)in.readObject();\n \n in.close();\n file.close();\n }\n catch(IOException | ClassNotFoundException ex)\n {\n }\n catch(Exception ex)\n {\n }\n \n }", "public void deserialize(InputStream input) throws IOException, ClassNotFoundException {\n ObjectInputStream inputStream = new ObjectInputStream(input);\n root = (Node)inputStream.readObject();\n\n //root.linkTrie();\n }", "public interface Package extends Container {\n\n /**\n * Returns all top-level--non-recursive-- {@link Package}s contained under this package. allows the\n * \n * @return the top-level {@link Package}s in the package.\n */\n public Collection<Package> getPackages();\n\n \n /**\n * Adds a {@link Package} to the package hierarchy.\n * \n */\n /** adding packages can be done via {@link #addArtifact(Workspace,Artifact)} */\n //@Deprecated\n //public void addPackage(Workspace workspace, Package pack);\n}", "private void fillEmbeddedTypes() {\n List<String> otherClassesNames = new ArrayList<>(PRIMITIVE_TYPES);\n otherClassesNames.add(\"[]\");\n otherClassesNames.add(\"...\");\n\n List<TypeConstructor> otherClasses = new ArrayList<>();\n for (String type : otherClassesNames) {\n Classifier classifier = new Classifier(type, Language.JAVA, \"\", null, new ArrayList<MemberEntity>(), \"\");\n otherClasses.add(classifier);\n QualifiedName name = new QualifiedName(OTHER_PACKAGE, type);\n classes.put(name, classifier);\n parameters.put(name, new ParametersDescription());\n superTypes.put(name, new ArrayList<JavaType>());\n createClassMaps(name);\n }\n\n PackageEntity otherPackage = new PackageEntity(OTHER_PACKAGE, Language.JAVA, otherClasses,\n new ArrayList<MemberEntity>(), new ArrayList<PackageEntity>(), \"\", null);\n packages.put(OTHER_PACKAGE, otherPackage);\n\n for (TypeConstructor otherClass : otherClasses) {\n otherClass.setContainingPackage(otherPackage);\n }\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n createFolderStatementEClass.getESuperTypes().add(this.getCreateStatement());\n createFileStatementEClass.getESuperTypes().add(this.getCreateStatement());\n\n // Initialize classes and features; add operations and parameters\n initEClass(persistEClass, Persist.class, \"Persist\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPersist_Model(), ecorePackage.getEString(), \"model\", null, 0, 1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPersist_Statements(), this.getRuleStatement(), null, \"statements\", null, 0, -1, Persist.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleStatementEClass, RuleStatement.class, \"RuleStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRuleStatement_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleStatement_Rules(), this.getForEachStatement(), null, \"rules\", null, 0, -1, RuleStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(forEachStatementEClass, ForEachStatement.class, \"ForEachStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getForEachStatement_Class(), this.getEClassName(), null, \"class\", null, 0, 1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getForEachStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, ForEachStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createStatementEClass, CreateStatement.class, \"CreateStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateStatement_Name(), this.getFileName(), null, \"name\", null, 0, 1, CreateStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFolderStatementEClass, CreateFolderStatement.class, \"CreateFolderStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFolderStatement_Contents(), this.getCreateStatement(), null, \"contents\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFolderStatement_Calls(), this.getCallStatement(), null, \"calls\", null, 0, -1, CreateFolderStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(createFileStatementEClass, CreateFileStatement.class, \"CreateFileStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getCreateFileStatement_IncludedReferencing(), this.getWithStatement(), null, \"includedReferencing\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCreateFileStatement_IncludedAttributes(), this.getIncludeStatement(), null, \"includedAttributes\", null, 0, 1, CreateFileStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fileNameEClass, FileName.class, \"FileName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFileName_Prefix(), ecorePackage.getEString(), \"prefix\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Attr(), this.getEAttributeName(), null, \"attr\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFileName_Right(), this.getFileName(), null, \"right\", null, 0, 1, FileName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(includeStatementEClass, IncludeStatement.class, \"IncludeStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getIncludeStatement_Included(), this.getEReferenceName(), null, \"included\", null, 0, -1, IncludeStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(withStatementEClass, WithStatement.class, \"WithStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getWithStatement_Included(), this.getEClassName(), null, \"included\", null, 0, -1, WithStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(callStatementEClass, CallStatement.class, \"CallStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCallStatement_Rules(), ecorePackage.getEString(), \"rules\", null, 0, -1, CallStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eClassNameEClass, EClassName.class, \"EClassName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEClassName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEClassName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EClassName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eAttributeNameEClass, EAttributeName.class, \"EAttributeName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEAttributeName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEAttributeName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EAttributeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(eReferenceNameEClass, EReferenceName.class, \"EReferenceName\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEReferenceName_Base(), ecorePackage.getEString(), \"base\", null, 0, 1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEReferenceName_Fields(), ecorePackage.getEString(), \"fields\", null, 0, -1, EReferenceName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tldprojectEClass = createEClass(LDPROJECT);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__NAME);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__LIFECYCLE);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__ROBUSTNESS);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___PUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UNPUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UPDATE);\n\n\t\tlddatabaselinkEClass = createEClass(LDDATABASELINK);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__DATABASE);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__PORT);\n\n\t\tldprojectlinkEClass = createEClass(LDPROJECTLINK);\n\n\t\tldnodeEClass = createEClass(LDNODE);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__NAME);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MONGO_HOSTS);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MAIN_PROJECT);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__ANALYTICS_READ_PREFERENCE);\n\n\t\t// Create enums\n\t\tlifecycleEEnum = createEEnum(LIFECYCLE);\n\t\trobustnessEEnum = createEEnum(ROBUSTNESS);\n\t}", "protected void loadAll() {\n\t\ttry {\n\t\t\tloadGroups(this.folder, this.cls, this.cachedOnes);\n\t\t\t/*\n\t\t\t * we have to initialize the components\n\t\t\t */\n\t\t\tfor (Object obj : this.cachedOnes.values()) {\n\t\t\t\t((Component) obj).getReady();\n\t\t\t}\n\t\t\tTracer.trace(this.cachedOnes.size() + \" \" + this + \" loaded.\");\n\t\t} catch (Exception e) {\n\t\t\tthis.cachedOnes.clear();\n\t\t\tTracer.trace(\n\t\t\t\t\te,\n\t\t\t\t\tthis\n\t\t\t\t\t\t\t+ \" pre-loading failed. No component of this type is available till we successfully pre-load them again.\");\n\t\t}\n\t}", "protected void install()\n {\n _parent = null;\n _label = new ScLocalString();\n _model = new ScLocalObject();\n }", "public void inputPackage(Package p) {\n \tp.inputLength();\n \tp.inputWidth();\n \tp.inputHeight();\n \tpackages.add(p);\n }", "public void doRecursivePackages(Consumer<PersistedBmmPackage> agent) {\n getPackages().forEach((packageName, packageItem) -> {\n agent.accept(packageItem);\n packageItem.doRecursivePackages(agent);\n });\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tuserTaskEClass.getESuperTypes().add(this.getTask());\n\t\tapplicationTaskEClass.getESuperTypes().add(this.getTask());\n\t\tinteractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tabstractionTaskEClass.getESuperTypes().add(this.getTask());\n\t\tnullTaskEClass.getESuperTypes().add(this.getTask());\n\t\tchoiceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\torderIndependenceOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tinterleavingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsynchronizationOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tparallelOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tdisablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingInfoOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsequentialEnablingOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\t\tsuspendResumeOperatorEClass.getESuperTypes().add(this.getTemporalOperator());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(taskModelEClass, TaskModel.class, \"TaskModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTaskModel_Root(), this.getTask(), null, \"root\", null, 1, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTaskModel_Tasks(), this.getTask(), null, \"tasks\", null, 1, -1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTaskModel_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TaskModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(taskEClass, Task.class, \"Task\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTask_Id(), ecorePackage.getEString(), \"id\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Operator(), this.getTemporalOperator(), null, \"operator\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Subtasks(), this.getTask(), this.getTask_Parent(), \"subtasks\", null, 0, -1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTask_Parent(), this.getTask(), this.getTask_Subtasks(), \"parent\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTask_Iterative(), ecorePackage.getEBooleanObject(), \"iterative\", null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(userTaskEClass, UserTask.class, \"UserTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(applicationTaskEClass, ApplicationTask.class, \"ApplicationTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interactionTaskEClass, InteractionTask.class, \"InteractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractionTaskEClass, AbstractionTask.class, \"AbstractionTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(nullTaskEClass, NullTask.class, \"NullTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(temporalOperatorEClass, TemporalOperator.class, \"TemporalOperator\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(choiceOperatorEClass, ChoiceOperator.class, \"ChoiceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(orderIndependenceOperatorEClass, OrderIndependenceOperator.class, \"OrderIndependenceOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(interleavingOperatorEClass, InterleavingOperator.class, \"InterleavingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(synchronizationOperatorEClass, SynchronizationOperator.class, \"SynchronizationOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(parallelOperatorEClass, ParallelOperator.class, \"ParallelOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(disablingOperatorEClass, DisablingOperator.class, \"DisablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingInfoOperatorEClass, SequentialEnablingInfoOperator.class, \"SequentialEnablingInfoOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(sequentialEnablingOperatorEClass, SequentialEnablingOperator.class, \"SequentialEnablingOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(suspendResumeOperatorEClass, SuspendResumeOperator.class, \"SuspendResumeOperator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public XmlTransformer(Package pakkage, ImmutableMap<String, String> schemaNamesToFilenames) {\n try {\n this.jaxbContext = initJaxbContext(pakkage, schemaNamesToFilenames.keySet());\n this.schema = loadXmlSchemas(ImmutableList.copyOf(schemaNamesToFilenames.values()));\n } catch (JAXBException e) {\n throw new RuntimeException(e);\n }\n }" ]
[ "0.64967155", "0.580342", "0.5519164", "0.54122216", "0.5404828", "0.5373174", "0.5317327", "0.5305198", "0.52950555", "0.5282176", "0.5272292", "0.5238234", "0.5224819", "0.52147275", "0.5202584", "0.519504", "0.515839", "0.51510566", "0.5140952", "0.5119409", "0.5113272", "0.511209", "0.5109292", "0.5105149", "0.5100368", "0.5095259", "0.5093276", "0.50860995", "0.5080661", "0.50759065", "0.50599545", "0.5054638", "0.5051217", "0.5048917", "0.5043518", "0.50427705", "0.503807", "0.50075424", "0.5007115", "0.5005107", "0.4993612", "0.49926752", "0.49772832", "0.4970191", "0.49694398", "0.4968774", "0.49655217", "0.49613917", "0.49525207", "0.49521956", "0.4944262", "0.49440962", "0.49320588", "0.49314618", "0.49286863", "0.49247527", "0.49194497", "0.48865357", "0.48836797", "0.48718992", "0.4871837", "0.48593536", "0.48534462", "0.48493686", "0.4844491", "0.48388773", "0.48384333", "0.48264924", "0.4823438", "0.48214385", "0.48181984", "0.48174196", "0.48162332", "0.48124257", "0.48022234", "0.4794932", "0.47826868", "0.47696924", "0.4763706", "0.47620347", "0.47599962", "0.47537693", "0.4751873", "0.474812", "0.47418237", "0.47377256", "0.4714186", "0.47071934", "0.4701757", "0.46993387", "0.46991754", "0.4690277", "0.46894118", "0.4689024", "0.46883988", "0.4688288", "0.46802938", "0.46526235", "0.46506804", "0.46455485" ]
0.64281726
1
Fixes up the loaded package, to make it appear as if it had been programmatically built.
public void fixPackageContents() { if (isFixed) return; isFixed = true; fixEClassifiers(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fixPackageContents() {\r\n\t\tif (isFixed)\r\n\t\t\treturn;\r\n\t\tisFixed = true;\r\n\t\tfixEClassifiers();\r\n\t}", "public void setPackage()\n {\n ensureLoaded();\n m_flags.setPackage();\n setModified(true);\n }", "public void reInit() {\n super.reInit();\n m_strPackage = null;\n if (m_subPackages != null) {\n m_subPackages.clear();\n }\n }", "public void loadPackage() {\n\t\tif (isLoaded) return;\n\t\tisLoaded = true;\n\n\t\tURL url = getClass().getResource(packageFilename);\n\t\tif (url == null) {\n\t\t\tthrow new RuntimeException(\"Missing serialized package: \" + packageFilename); //$NON-NLS-1$\n\t\t}\n\t\tURI uri = URI.createURI(url.toString());\n\t\tResource resource = new EcoreResourceFactoryImpl().createResource(uri);\n\t\ttry {\n\t\t\tresource.load(null);\n\t\t}\n\t\tcatch (IOException exception) {\n\t\t\tthrow new WrappedException(exception);\n\t\t}\n\t\tinitializeFromLoadedEPackage(this, (EPackage)resource.getContents().get(0));\n\t\tcreateResource(eNS_URI);\n\t}", "public void loadPackage() {\r\n\t\tif (isLoaded)\r\n\t\t\treturn;\r\n\t\tisLoaded = true;\r\n\r\n\t\tURL url = getClass().getResource(packageFilename);\r\n\t\tif (url == null) {\r\n\t\t\tthrow new RuntimeException(\"Missing serialized package: \"\r\n\t\t\t\t\t+ packageFilename);\r\n\t\t}\r\n\t\tURI uri = URI.createURI(url.toString());\r\n\t\tResource resource = new EcoreResourceFactoryImpl().createResource(uri);\r\n\t\ttry {\r\n\t\t\tresource.load(null);\r\n\t\t} catch (IOException exception) {\r\n\t\t\tthrow new WrappedException(exception);\r\n\t\t}\r\n\t\tinitializeFromLoadedEPackage(this, (EPackage) resource.getContents()\r\n\t\t\t\t.get(0));\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "@Override\n\tprotected void buildRdlPackage() {\n\t\tUVMRdlTranslate1Classes.buildRdlPackage(pkgOutputList, 0);\t\t\n\t}", "protected void install()\n {\n _parent = null;\n _label = new ScLocalString();\n _model = new ScLocalObject();\n }", "@Override\r\n\tpublic void updatePackage(PackageJour pj) {\n\t\tem.merge(pj);\r\n\t}", "@Override\n public boolean isPackaged() {\n return false;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\torg.abchip.mimo.biz.model.party.contact.ContactPackage theContactPackage_1 = (org.abchip.mimo.biz.model.party.contact.ContactPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.biz.model.party.contact.ContactPackage.eNS_URI);\n\t\tUomPackage theUomPackage = (UomPackage)EPackage.Registry.INSTANCE.getEPackage(UomPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tSchedulePackage theSchedulePackage = (SchedulePackage)EPackage.Registry.INSTANCE.getEPackage(SchedulePackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tInventoryPackage theInventoryPackage = (InventoryPackage)EPackage.Registry.INSTANCE.getEPackage(InventoryPackage.eNS_URI);\n\t\tLedgerPackage theLedgerPackage = (LedgerPackage)EPackage.Registry.INSTANCE.getEPackage(LedgerPackage.eNS_URI);\n\t\tProductPackage theProductPackage = (ProductPackage)EPackage.Registry.INSTANCE.getEPackage(ProductPackage.eNS_URI);\n\t\tFeaturePackage theFeaturePackage = (FeaturePackage)EPackage.Registry.INSTANCE.getEPackage(FeaturePackage.eNS_URI);\n\t\tOpportunityPackage theOpportunityPackage = (OpportunityPackage)EPackage.Registry.INSTANCE.getEPackage(OpportunityPackage.eNS_URI);\n\t\tGeoPackage theGeoPackage = (GeoPackage)EPackage.Registry.INSTANCE.getEPackage(GeoPackage.eNS_URI);\n\t\tTaxPackage theTaxPackage = (TaxPackage)EPackage.Registry.INSTANCE.getEPackage(TaxPackage.eNS_URI);\n\t\tBizPackage theBizPackage = (BizPackage)EPackage.Registry.INSTANCE.getEPackage(BizPackage.eNS_URI);\n\t\tLoginPackage theLoginPackage = (LoginPackage)EPackage.Registry.INSTANCE.getEPackage(LoginPackage.eNS_URI);\n\t\tAgreementPackage theAgreementPackage = (AgreementPackage)EPackage.Registry.INSTANCE.getEPackage(AgreementPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getInvoiceType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceContactMechEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceContentType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceContent());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceContentTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssocType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItemAssoc());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemAssocTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoiceItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeGlAccountEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceItemTypeMapEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceNoteEClass.getESuperTypes().add(theBizPackage.getBizEntityNote());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceRoleEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceStatusEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTermAttributeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getInvoice());\n\t\tg1.getETypeArguments().add(g2);\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tinvoiceTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tinvoiceTypeAttrEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(invoiceEClass, Invoice.class, \"Invoice\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoice_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_BillingAccount(), thePaymentPackage.getBillingAccount(), null, \"billingAccount\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_CurrencyUom(), theUomPackage.getUom(), null, \"currencyUom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_DueDate(), ecorePackage.getEDate(), \"dueDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceAttributes(), this.getInvoiceAttribute(), null, \"invoiceAttributes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceDate(), ecorePackage.getEDate(), \"invoiceDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceItems(), this.getInvoiceItem(), null, \"invoiceItems\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_InvoiceMessage(), ecorePackage.getEString(), \"invoiceMessage\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceNotes(), this.getInvoiceNote(), null, \"invoiceNotes\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceStatuses(), this.getInvoiceStatus(), null, \"invoiceStatuses\", null, 0, -1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_PaidDate(), ecorePackage.getEDate(), \"paidDate\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RecurrenceInfo(), theSchedulePackage.getRecurrenceInfo(), null, \"recurrenceInfo\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoice_ReferenceNumber(), ecorePackage.getEString(), \"referenceNumber\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoice_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, Invoice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(invoiceEClass, ecorePackage.getEBigDecimal(), \"getTotal\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(invoiceAttributeEClass, InvoiceAttribute.class, \"InvoiceAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceAttribute_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContactMechEClass, InvoiceContactMech.class, \"InvoiceContactMech\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContactMech_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMech(), theContactPackage_1.getContactMech(), null, \"contactMech\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContactMech_ContactMechPurposeType(), theContactPackage_1.getContactMechPurposeType(), null, \"contactMechPurposeType\", null, 1, 1, InvoiceContactMech.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentEClass, InvoiceContent.class, \"InvoiceContent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceContent_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_Content(), theContentPackage.getContent(), null, \"content\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContent_InvoiceContentType(), this.getInvoiceContentType(), null, \"invoiceContentType\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContent_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceContent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceContentTypeEClass, InvoiceContentType.class, \"InvoiceContentType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceContentType_InvoiceContentTypeId(), ecorePackage.getEString(), \"invoiceContentTypeId\", null, 1, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceContentType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceContentType_ParentType(), this.getInvoiceContentType(), null, \"parentType\", null, 0, 1, InvoiceContentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemEClass, InvoiceItem.class, \"InvoiceItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItem_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InventoryItem(), theInventoryPackage.getInventoryItem(), null, \"inventoryItem\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideGlAccount(), theLedgerPackage.getGlAccount(), null, \"overrideGlAccount\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_OverrideOrgParty(), thePartyPackage_1.getParty(), null, \"overrideOrgParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceId(), ecorePackage.getEString(), \"parentInvoiceId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_ParentInvoiceItemSeqId(), ecorePackage.getEString(), \"parentInvoiceItemSeqId\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Product(), theProductPackage.getProduct(), null, \"product\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_ProductFeature(), theFeaturePackage.getProductFeature(), null, \"productFeature\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_SalesOpportunity(), theOpportunityPackage.getSalesOpportunity(), null, \"salesOpportunity\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthGeo(), theGeoPackage.getGeo(), null, \"taxAuthGeo\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthParty(), thePartyPackage_1.getParty(), null, \"taxAuthParty\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_TaxAuthorityRateSeq(), theTaxPackage.getTaxAuthorityRateProduct(), null, \"taxAuthorityRateSeq\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItem_TaxableFlag(), ecorePackage.getEBoolean(), \"taxableFlag\", null, 1, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItem_Uom(), theUomPackage.getUom(), null, \"uom\", null, 0, 1, InvoiceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocEClass, InvoiceItemAssoc.class, \"InvoiceItemAssoc\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemAssoc_InvoiceItemAssocType(), this.getInvoiceItemAssocType(), null, \"invoiceItemAssocType\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdFrom(), ecorePackage.getEString(), \"invoiceIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceIdTo(), ecorePackage.getEString(), \"invoiceIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdFrom(), ecorePackage.getEString(), \"invoiceItemSeqIdFrom\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_InvoiceItemSeqIdTo(), ecorePackage.getEString(), \"invoiceItemSeqIdTo\", null, 1, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Amount(), ecorePackage.getEBigDecimal(), \"amount\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdFrom(), thePartyPackage_1.getParty(), null, \"partyIdFrom\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssoc_PartyIdTo(), thePartyPackage_1.getParty(), null, \"partyIdTo\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_Quantity(), ecorePackage.getEBigDecimal(), \"quantity\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssoc_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, InvoiceItemAssoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAssocTypeEClass, InvoiceItemAssocType.class, \"InvoiceItemAssocType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAssocType_InvoiceItemAssocTypeId(), ecorePackage.getEString(), \"invoiceItemAssocTypeId\", null, 1, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAssocType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemAssocType_ParentType(), this.getInvoiceItemAssocType(), null, \"parentType\", null, 0, 1, InvoiceItemAssocType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemAttributeEClass, InvoiceItemAttribute.class, \"InvoiceItemAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceId(), ecorePackage.getEString(), \"invoiceId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 1, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceItemAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeEClass, InvoiceItemType.class, \"InvoiceItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceItemType_InvoiceItemTypeId(), ecorePackage.getEString(), \"invoiceItemTypeId\", null, 1, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_DefaultGlAccount(), theLedgerPackage.getGlAccount(), null, \"defaultGlAccount\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeAttrs(), this.getInvoiceItemTypeAttr(), null, \"invoiceItemTypeAttrs\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_InvoiceItemTypeGlAccounts(), this.getInvoiceItemTypeGlAccount(), null, \"invoiceItemTypeGlAccounts\", null, 0, -1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemType_ParentType(), this.getInvoiceItemType(), null, \"parentType\", null, 0, 1, InvoiceItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeAttrEClass, InvoiceItemTypeAttr.class, \"InvoiceItemTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeAttr_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceItemTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeGlAccountEClass, InvoiceItemTypeGlAccount.class, \"InvoiceItemTypeGlAccount\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_OrganizationParty(), thePartyPackage_1.getParty(), null, \"organizationParty\", null, 1, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeGlAccount_GlAccount(), theLedgerPackage.getGlAccount(), null, \"glAccount\", null, 0, 1, InvoiceItemTypeGlAccount.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceItemTypeMapEClass, InvoiceItemTypeMap.class, \"InvoiceItemTypeMap\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceItemTypeMap_InvoiceItemMapKey(), ecorePackage.getEString(), \"invoiceItemMapKey\", null, 1, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceItemTypeMap_InvoiceItemType(), this.getInvoiceItemType(), null, \"invoiceItemType\", null, 0, 1, InvoiceItemTypeMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceNoteEClass, InvoiceNote.class, \"InvoiceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceNote_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceRoleEClass, InvoiceRole.class, \"InvoiceRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceRole_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceRole_RoleType(), thePartyPackage_1.getRoleType(), null, \"roleType\", null, 1, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_DatetimePerformed(), ecorePackage.getEDate(), \"datetimePerformed\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceRole_Percentage(), ecorePackage.getEBigDecimal(), \"percentage\", null, 0, 1, InvoiceRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceStatusEClass, InvoiceStatus.class, \"InvoiceStatus\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceStatus_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_Invoice(), this.getInvoice(), null, \"invoice\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceStatus_StatusDate(), ecorePackage.getEDate(), \"statusDate\", null, 1, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceStatus_ChangeByUserLogin(), theLoginPackage.getUserLogin(), null, \"changeByUserLogin\", null, 0, 1, InvoiceStatus.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermEClass, InvoiceTerm.class, \"InvoiceTerm\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceTermId(), ecorePackage.getEString(), \"invoiceTermId\", null, 1, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_Invoice(), this.getInvoice(), null, \"invoice\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_InvoiceItemSeqId(), ecorePackage.getEString(), \"invoiceItemSeqId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_InvoiceTermAttributes(), this.getInvoiceTermAttribute(), null, \"invoiceTermAttributes\", null, 0, -1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermDays(), ecorePackage.getELong(), \"termDays\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceTerm_TermType(), theAgreementPackage.getTermType(), null, \"termType\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TermValue(), ecorePackage.getEBigDecimal(), \"termValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_TextValue(), ecorePackage.getEString(), \"textValue\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTerm_UomId(), ecorePackage.getEString(), \"uomId\", null, 0, 1, InvoiceTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTermAttributeEClass, InvoiceTermAttribute.class, \"InvoiceTermAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTermAttribute_InvoiceTerm(), this.getInvoiceTerm(), null, \"invoiceTerm\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrDescription(), ecorePackage.getEString(), \"attrDescription\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTermAttribute_AttrValue(), ecorePackage.getEString(), \"attrValue\", null, 0, 1, InvoiceTermAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeEClass, InvoiceType.class, \"InvoiceType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInvoiceType_InvoiceTypeId(), ecorePackage.getEString(), \"invoiceTypeId\", null, 1, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_InvoiceTypeAttrs(), this.getInvoiceTypeAttr(), null, \"invoiceTypeAttrs\", null, 0, -1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInvoiceType_ParentType(), this.getInvoiceType(), null, \"parentType\", null, 0, 1, InvoiceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(invoiceTypeAttrEClass, InvoiceTypeAttr.class, \"InvoiceTypeAttr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInvoiceTypeAttr_InvoiceType(), this.getInvoiceType(), null, \"invoiceType\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_AttrName(), ecorePackage.getEString(), \"attrName\", null, 1, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInvoiceTypeAttr_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, InvoiceTypeAttr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// org.abchip.mimo.core.base.invocation\n\t\tcreateOrgAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t\t// mimo-ent-slot-constraints\n\t\tcreateMimoentslotconstraintsAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t}", "@Override\r\n public void pack() {\r\n super.pack();\r\n JkFileTree.of(this.classDir()).exclude(\"**/*.jar\").zip().to(packer().jarFile(\"lean\"));\r\n distrib();\r\n }", "public void reload() {\n if ( _build_file != null ) {\n openBuildFile( _build_file );\n }\n }", "public void removeAllPackages() {\r\n myPackages.clear();\r\n }", "public void initializePackageContents()\n\t{\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Initialize data types\n\t\tinitEDataType(featureNotFoundExceptionEDataType, FeatureNotFoundException.class, \"FeatureNotFoundException\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tno.hal.pg.runtime.RuntimePackage theRuntimePackage_1 = (no.hal.pg.runtime.RuntimePackage)EPackage.Registry.INSTANCE.getEPackage(no.hal.pg.runtime.RuntimePackage.eNS_URI);\r\n\t\tOsmPackage theOsmPackage = (OsmPackage)EPackage.Registry.INSTANCE.getEPackage(OsmPackage.eNS_URI);\r\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\r\n\t\tAppPackage theAppPackage = (AppPackage)EPackage.Registry.INSTANCE.getEPackage(AppPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tEGenericType g1 = createEGenericType(theRuntimePackage_1.getTask());\r\n\t\tEGenericType g2 = createEGenericType(this.getPlayerTaskScores());\r\n\t\tg1.getETypeArguments().add(g2);\r\n\t\tpuzzleTaskEClass.getEGenericSuperTypes().add(g1);\r\n\t\tg1 = createEGenericType(theOsmPackage.getGeoLocation());\r\n\t\tpuzzleTaskEClass.getEGenericSuperTypes().add(g1);\r\n\t\tg1 = createEGenericType(theAppPackage.getTaskView());\r\n\t\tg2 = createEGenericType(this.getPuzzleTask());\r\n\t\tg1.getETypeArguments().add(g2);\r\n\t\tpuzzleTaskViewEClass.getEGenericSuperTypes().add(g1);\r\n\t\tsimplePuzzleEClass.getESuperTypes().add(this.getPuzzle());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(puzzleTaskEClass, PuzzleTask.class, \"PuzzleTask\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPuzzleTask_Puzzles(), this.getPuzzle(), null, \"puzzles\", null, 0, -1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPuzzleTask_PlayerLevels(), this.getPlayerToInt(), null, \"playerLevels\", null, 0, -1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPuzzleTask_PlayerTaskScores(), this.getPlayerTaskScores(), null, \"playerTaskScores\", null, 0, 1, PuzzleTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tEOperation op = initEOperation(getPuzzleTask__AcceptPuzzleProposal__String_Player(), theEcorePackage.getEBoolean(), \"acceptPuzzleProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTask__CalculateScore__int_Player_boolean(), theEcorePackage.getEInt(), \"calculateScore\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEInt(), \"puzzleLevel\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEBoolean(), \"isProposalCorrect\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTask__AcceptPlayer__Player(), theEcorePackage.getEBoolean(), \"acceptPlayer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzlePieceEClass, PuzzlePiece.class, \"PuzzlePiece\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzlePiece_Image(), theEcorePackage.getEString(), \"image\", null, 0, 1, PuzzlePiece.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzlePiece_PlayerCount(), theEcorePackage.getEInt(), \"playerCount\", null, 0, 1, PuzzlePiece.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzleTaskViewEClass, PuzzleTaskView.class, \"PuzzleTaskView\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzleTaskView_Image(), theEcorePackage.getEString(), \"image\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzleTaskView_Score(), theEcorePackage.getEInt(), \"score\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPuzzleTaskView_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, PuzzleTaskView.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzleTaskView__ProposeAnswer__String(), this.getPuzzleTaskView(), \"proposeAnswer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__Finish(), null, \"finish\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__StartPuzzle(), null, \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEOperation(getPuzzleTaskView__AcceptPlayer(), theEcorePackage.getEBoolean(), \"acceptPlayer\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerToIntEClass, Map.Entry.class, \"PlayerToInt\", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerToInt_Key(), theRuntimePackage_1.getPlayer(), null, \"key\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerToInt_Value(), theEcorePackage.getEIntegerObject(), \"value\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(puzzleEClass, Puzzle.class, \"Puzzle\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getPuzzle_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, Puzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__AcceptProposal__String(), theEcorePackage.getEBoolean(), \"acceptProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__FinishPuzzle__Player(), theEcorePackage.getEBoolean(), \"finishPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__StartPuzzle__Player(), theEcorePackage.getEBoolean(), \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getPuzzle__GetImage__Player(), theEcorePackage.getEString(), \"getImage\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(simplePuzzleEClass, SimplePuzzle.class, \"SimplePuzzle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSimplePuzzle_Instructions(), theRuntimePackage_1.getInfoItem(), null, \"instructions\", null, 0, 1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getSimplePuzzle_Solution(), theEcorePackage.getEString(), \"solution\", null, 0, 1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSimplePuzzle_PuzzlePieces(), this.getPuzzlePiece(), null, \"puzzlePieces\", null, 0, -1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSimplePuzzle_PlayerPieces(), this.getPlayerToPuzzlePiece(), null, \"playerPieces\", null, 0, -1, SimplePuzzle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__AcceptProposal__String(), theEcorePackage.getEBoolean(), \"acceptProposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theEcorePackage.getEString(), \"proposal\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__FinishPuzzle__Player(), theEcorePackage.getEBoolean(), \"finishPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__StartPuzzle__Player(), theEcorePackage.getEBoolean(), \"startPuzzle\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\top = initEOperation(getSimplePuzzle__GetImage__Player(), theEcorePackage.getEString(), \"getImage\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\t\taddEParameter(op, theRuntimePackage_1.getPlayer(), \"player\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerTaskScoreEClass, PlayerTaskScore.class, \"PlayerTaskScore\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerTaskScore_Player(), theRuntimePackage_1.getPlayer(), null, \"player\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerTaskScore_Score(), theEcorePackage.getEInt(), \"score\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getPlayerTaskScore_Level(), theEcorePackage.getEInt(), \"level\", null, 0, 1, PlayerTaskScore.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerTaskScoresEClass, PlayerTaskScores.class, \"PlayerTaskScores\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerTaskScores_Scores(), this.getPlayerTaskScore(), null, \"scores\", null, 0, -1, PlayerTaskScores.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(playerToPuzzlePieceEClass, Map.Entry.class, \"PlayerToPuzzlePiece\", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPlayerToPuzzlePiece_Key(), theRuntimePackage_1.getPlayer(), null, \"key\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getPlayerToPuzzlePiece_Value(), this.getPuzzlePiece(), null, \"value\", null, 0, 1, Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "void setPackage(UMLPackageBean newUmlPkg) {\n this.umlPkg = newUmlPkg;\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Add supertypes to classes\n\t\tinstructionEClass.getESuperTypes().add(this.getNamedElement());\n\t\tgoForwardEClass.getESuperTypes().add(this.getAction());\n\t\tgoBackwardEClass.getESuperTypes().add(this.getAction());\n\t\tbeginEClass.getESuperTypes().add(this.getAction());\n\t\trotateEClass.getESuperTypes().add(this.getAction());\n\t\treleaseEClass.getESuperTypes().add(this.getAction());\n\t\tactionEClass.getESuperTypes().add(this.getBlock());\n\t\tblockEClass.getESuperTypes().add(this.getInstruction());\n\t\tendEClass.getESuperTypes().add(this.getAction());\n\t\tchoreographyEClass.getESuperTypes().add(this.getInstruction());\n\t\tgrabEClass.getESuperTypes().add(this.getAction());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(instructionEClass, Instruction.class, \"Instruction\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(goForwardEClass, GoForward.class, \"GoForward\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGoForward_Cm(), ecorePackage.getEInt(), \"cm\", null, 0, 1, GoForward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGoForward_Infinite(), ecorePackage.getEBoolean(), \"infinite\", null, 0, 1, GoForward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(goBackwardEClass, GoBackward.class, \"GoBackward\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getGoBackward_Cm(), ecorePackage.getEInt(), \"cm\", null, 0, 1, GoBackward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getGoBackward_Infinite(), ecorePackage.getEBoolean(), \"infinite\", null, 0, 1, GoBackward.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(beginEClass, Begin.class, \"Begin\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rotateEClass, Rotate.class, \"Rotate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRotate_Degrees(), ecorePackage.getEInt(), \"degrees\", null, 0, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRotate_Random(), ecorePackage.getEBoolean(), \"random\", null, 0, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(releaseEClass, Release.class, \"Release\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(actionEClass, Action.class, \"Action\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(endEClass, End.class, \"End\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(choreographyEClass, Choreography.class, \"Choreography\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getChoreography_Instructions(), this.getInstruction(), null, \"instructions\", null, 0, -1, Choreography.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getChoreography_EdgeInstructions(), this.getEdgeInstruction(), null, \"edgeInstructions\", null, 0, -1, Choreography.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(edgeInstructionEClass, EdgeInstruction.class, \"EdgeInstruction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEdgeInstruction_Source(), this.getInstruction(), null, \"source\", null, 0, 1, EdgeInstruction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getEdgeInstruction_Target(), this.getInstruction(), null, \"target\", null, 0, 1, EdgeInstruction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(grabEClass, Grab.class, \"Grab\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tldprojectEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\t\tlddatabaselinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldprojectlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tldnodeEClass.getESuperTypes().add(theOCCIPackage.getResource());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(ldprojectEClass, Ldproject.class, \"Ldproject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdproject_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Lifecycle(), this.getLifecycle(), \"lifecycle\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdproject_Robustness(), this.getRobustness(), \"robustness\", null, 0, 1, Ldproject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Publish(), null, \"publish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Unpublish(), null, \"unpublish\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLdproject__Update(), null, \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(lddatabaselinkEClass, Lddatabaselink.class, \"Lddatabaselink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLddatabaselink_Database(), theOCCIPackage.getString(), \"database\", \"datacore\", 1, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLddatabaselink_Port(), theOCCIPackage.getNumber(), \"port\", \"27017\", 0, 1, Lddatabaselink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ldprojectlinkEClass, Ldprojectlink.class, \"Ldprojectlink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ldnodeEClass, Ldnode.class, \"Ldnode\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLdnode_Name(), theOCCIPackage.getString(), \"name\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MongoHosts(), theOCCIPackage.getString(), \"mongoHosts\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_MainProject(), theOCCIPackage.getString(), \"mainProject\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLdnode_AnalyticsReadPreference(), theOCCIPackage.getString(), \"analyticsReadPreference\", null, 1, 1, Ldnode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(lifecycleEEnum, Lifecycle.class, \"Lifecycle\");\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.DRAFT);\n\t\taddEEnumLiteral(lifecycleEEnum, Lifecycle.PUBLISHED);\n\n\t\tinitEEnum(robustnessEEnum, Robustness.class, \"Robustness\");\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.CLUSTER);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NODE);\n\t\taddEEnumLiteral(robustnessEEnum, Robustness.NONE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// OCCIE2Ecore\n\t\tcreateOCCIE2EcoreAnnotations();\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(ledsCodeDSLEClass, LedsCodeDSL.class, \"LedsCodeDSL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLedsCodeDSL_Project(), this.getProject(), null, \"project\", null, 0, -1, LedsCodeDSL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(projectEClass, Project.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InfrastructureBlock(), this.getInfrastructureBlock(), null, \"infrastructureBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_InterfaceBlock(), this.getInterfaceBlock(), null, \"interfaceBlock\", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_ApplicationBlock(), this.getApplicationBlock(), null, \"applicationBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getProject_DomainBlock(), this.getDomainBlock(), null, \"domainBlock\", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceBlockEClass, InterfaceBlock.class, \"InterfaceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInterfaceBlock_InterfaceApplication(), this.getInterfaceApplication(), null, \"interfaceApplication\", null, 0, -1, InterfaceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(interfaceApplicationEClass, InterfaceApplication.class, \"InterfaceApplication\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInterfaceApplication_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInterfaceApplication_NameApp(), ecorePackage.getEString(), \"nameApp\", null, 0, 1, InterfaceApplication.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(infrastructureBlockEClass, InfrastructureBlock.class, \"InfrastructureBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getInfrastructureBlock_BasePackage(), ecorePackage.getEString(), \"basePackage\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getInfrastructureBlock_ProjectVersion(), ecorePackage.getEString(), \"projectVersion\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Language(), this.getNameVersion(), null, \"language\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Framework(), this.getNameVersion(), null, \"framework\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Orm(), this.getNameVersion(), null, \"orm\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getInfrastructureBlock_Database(), this.getDatabase(), null, \"database\", null, 0, 1, InfrastructureBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(databaseEClass, Database.class, \"Database\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDatabase_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_UserValue(), ecorePackage.getEString(), \"userValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_PassValue(), ecorePackage.getEString(), \"passValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_HostValue(), ecorePackage.getEString(), \"hostValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDatabase_EnvValue(), ecorePackage.getEString(), \"envValue\", null, 0, 1, Database.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(nameVersionEClass, NameVersion.class, \"NameVersion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNameVersion_NameValue(), ecorePackage.getEString(), \"nameValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNameVersion_VersionValue(), ecorePackage.getEString(), \"versionValue\", null, 0, 1, NameVersion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(applicationBlockEClass, ApplicationBlock.class, \"ApplicationBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getApplicationBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getApplicationBlock_ApplicationDomain(), ecorePackage.getEString(), \"applicationDomain\", null, 0, -1, ApplicationBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(domainBlockEClass, DomainBlock.class, \"DomainBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDomainBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDomainBlock_Module(), this.getModuleBlock(), null, \"module\", null, 0, -1, DomainBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(moduleBlockEClass, ModuleBlock.class, \"ModuleBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getModuleBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EnumBlock(), this.getEnumBlock(), null, \"enumBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_EntityBlock(), this.getEntityBlock(), null, \"entityBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModuleBlock_ServiceBlock(), this.getServiceBlock(), null, \"serviceBlock\", null, 0, -1, ModuleBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceBlockEClass, ServiceBlock.class, \"ServiceBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceBlock_ServiceFields(), this.getServiceMethod(), null, \"serviceFields\", null, 0, -1, ServiceBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(serviceMethodEClass, ServiceMethod.class, \"ServiceMethod\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getServiceMethod_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getServiceMethod_MethodAcess(), this.getRepositoryFields(), null, \"methodAcess\", null, 0, 1, ServiceMethod.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(entityBlockEClass, EntityBlock.class, \"EntityBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEntityBlock_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_IsAbstract(), ecorePackage.getEBoolean(), \"isAbstract\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEntityBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_ClassExtends(), this.getExtendBlock(), null, \"classExtends\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Attributes(), this.getAttribute(), null, \"attributes\", null, 0, -1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getEntityBlock_Repository(), this.getRepository(), null, \"repository\", null, 0, 1, EntityBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAttribute_AcessModifier(), ecorePackage.getEString(), \"acessModifier\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Pk(), ecorePackage.getEBoolean(), \"pk\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Unique(), ecorePackage.getEString(), \"unique\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Nullable(), ecorePackage.getEString(), \"nullable\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Min(), ecorePackage.getEIntegerObject(), \"min\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Max(), ecorePackage.getEIntegerObject(), \"max\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryEClass, Repository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepository_Methods(), this.getRepositoryFields(), null, \"methods\", null, 0, -1, Repository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(repositoryFieldsEClass, RepositoryFields.class, \"RepositoryFields\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRepositoryFields_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRepositoryFields_MethodsParameters(), this.getMethodParameter(), null, \"methodsParameters\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getRepositoryFields_ReturnType(), ecorePackage.getEString(), \"returnType\", null, 0, 1, RepositoryFields.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(enumBlockEClass, EnumBlock.class, \"EnumBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getEnumBlock_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getEnumBlock_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, EnumBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(methodParameterEClass, MethodParameter.class, \"MethodParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMethodParameter_TypeAndAttr(), this.getTypeAndAttribute(), null, \"typeAndAttr\", null, 0, -1, MethodParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeAndAttributeEClass, TypeAndAttribute.class, \"TypeAndAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTypeAndAttribute_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeAndAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, TypeAndAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(extendBlockEClass, ExtendBlock.class, \"ExtendBlock\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getExtendBlock_Values(), this.getEntityBlock(), null, \"values\", null, 0, -1, ExtendBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "private void updatePackageInfo() {\n try {\n mWechatPackageInfo = getContext().getPackageManager().getPackageInfo(WECHAT_PACKAGENAME, 0);\n } catch (PackageManager.NameNotFoundException e) {\n //e.printStackTrace(); // delete the error log,it necessary show\n }\n }", "void rebuildIfNecessary();", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tSolverPackage theSolverPackage = (SolverPackage)EPackage.Registry.INSTANCE.getEPackage(SolverPackage.eNS_URI);\n\t\tSolverjacopPackage theSolverjacopPackage = (SolverjacopPackage)EPackage.Registry.INSTANCE.getEPackage(SolverjacopPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttoUseSolverCpGeneratorEClass.getESuperTypes().add(theSolverPackage.getGenerator());\n\t\ttoUseSolverCpTupleEClass.getESuperTypes().add(theSolverPackage.getGeneratorTuple());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(toUseSolverCpFolderEClass, ToUseSolverCpFolder.class, \"ToUseSolverCpFolder\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpFolder_SubFolders(), this.getToUseSolverCpFolder(), null, \"SubFolders\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getToUseSolverCpFolder_Name(), ecorePackage.getEString(), \"Name\", null, 0, 1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpFolder_ToUseGenerators(), this.getToUseSolverCpGenerator(), null, \"ToUseGenerators\", null, 0, -1, ToUseSolverCpFolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpGeneratorEClass, ToUseSolverCpGenerator.class, \"ToUseSolverCpGenerator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpGenerator_Solver(), theSolverjacopPackage.getSolverJacop(), null, \"Solver\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpGenerator_ToUseTuples(), this.getToUseSolverCpTuple(), null, \"ToUseTuples\", null, 0, -1, ToUseSolverCpGenerator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(toUseSolverCpTupleEClass, ToUseSolverCpTuple.class, \"ToUseSolverCpTuple\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLinears(), theSolverPackage.getGeneratorCpLinear(), null, \"ToUseLinears\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseVars(), theSolverPackage.getGeneratorCpVarAtomic(), null, \"ToUseVars\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getToUseSolverCpTuple_ToUseLogicals(), theSolverPackage.getGeneratorCpLogical(), null, \"ToUseLogicals\", null, 0, -1, ToUseSolverCpTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.unicase.model.ModelPackage theModelPackage_1 = (org.unicase.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.unicase.model.ModelPackage.eNS_URI);\r\n\t\tTaskPackage theTaskPackage = (TaskPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(TaskPackage.eNS_URI);\r\n\t\torg.eclipse.emf.emfstore.internal.common.model.ModelPackage theModelPackage_2 = (org.eclipse.emf.emfstore.internal.common.model.ModelPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.eclipse.emf.emfstore.internal.common.model.ModelPackage.eNS_URI);\r\n\t\tOrganizationPackage theOrganizationPackage = (OrganizationPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(OrganizationPackage.eNS_URI);\r\n\t\tAttachmentPackage theAttachmentPackage = (AttachmentPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(AttachmentPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tissueEClass.getESuperTypes().add(theModelPackage_1.getAnnotation());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getCheckable());\r\n\t\tissueEClass.getESuperTypes().add(theTaskPackage.getWorkItem());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tproposalEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tsolutionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcriterionEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tassessmentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement());\r\n\t\tcommentEClass.getESuperTypes().add(\r\n\t\t\t\ttheModelPackage_2.getNonDomainElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(issueEClass, Issue.class, \"Issue\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getIssue_Proposals(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Issue(), \"proposals\", null, 0, -1,\r\n\t\t\t\tIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Solution(), this.getSolution(),\r\n\t\t\t\tthis.getSolution_Issue(), \"solution\", null, 0, 1, Issue.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getIssue_Criteria(), this.getCriterion(), null,\r\n\t\t\t\t\"criteria\", null, 0, -1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getIssue_Activity(), theTaskPackage.getActivityType(),\r\n\t\t\t\t\"activity\", null, 0, 1, Issue.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getIssue_Assessments(), this.getAssessment(), null,\r\n\t\t\t\t\"assessments\", null, 0, -1, Issue.class, IS_TRANSIENT,\r\n\t\t\t\tIS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(proposalEClass, Proposal.class, \"Proposal\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getProposal_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Proposal(), \"assessments\", null, 0, -1,\r\n\t\t\t\tProposal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getProposal_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Proposals(), \"issue\", null, 0, 1, Proposal.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(solutionEClass, Solution.class, \"Solution\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getSolution_UnderlyingProposals(), this.getProposal(),\r\n\t\t\t\tnull, \"underlyingProposals\", null, 0, -1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSolution_Issue(), this.getIssue(),\r\n\t\t\t\tthis.getIssue_Solution(), \"issue\", null, 0, 1, Solution.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(criterionEClass, Criterion.class, \"Criterion\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getCriterion_Assessments(), this.getAssessment(),\r\n\t\t\t\tthis.getAssessment_Criterion(), \"assessments\", null, 0, -1,\r\n\t\t\t\tCriterion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(assessmentEClass, Assessment.class, \"Assessment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAssessment_Proposal(), this.getProposal(),\r\n\t\t\t\tthis.getProposal_Assessments(), \"proposal\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAssessment_Criterion(), this.getCriterion(),\r\n\t\t\t\tthis.getCriterion_Assessments(), \"criterion\", null, 0, 1,\r\n\t\t\t\tAssessment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAssessment_Value(), ecorePackage.getEInt(), \"value\",\r\n\t\t\t\tnull, 0, 1, Assessment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(commentEClass, Comment.class, \"Comment\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComment_Sender(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"sender\", null, 0,\r\n\t\t\t\t1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_Recipients(),\r\n\t\t\t\ttheOrganizationPackage.getOrgUnit(), null, \"recipients\", null,\r\n\t\t\t\t0, -1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getComment_CommentedElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement(),\r\n\t\t\t\ttheModelPackage_1.getUnicaseModelElement_Comments(),\r\n\t\t\t\t\"commentedElement\", null, 0, 1, Comment.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(audioCommentEClass, AudioComment.class, \"AudioComment\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAudioComment_AudioFile(),\r\n\t\t\t\ttheAttachmentPackage.getFileAttachment(), null, \"audioFile\",\r\n\t\t\t\tnull, 0, 1, AudioComment.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create annotations\r\n\t\t// org.eclipse.emf.ecp.editor\r\n\t\tcreateOrgAnnotations();\r\n\t}", "private static void fixBook() {\n\t\tnew FixBookUI(new fixBookControl()).run();\t// method name FixBookControl changes to fixBookControl\t,RuN to run()\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized)\n\t\t\treturn;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tpluginEClass.getESuperTypes().add(this.getAnalysisComponent());\n\t\tinputPortEClass.getESuperTypes().add(this.getPort());\n\t\toutputPortEClass.getESuperTypes().add(this.getPort());\n\t\tfilterEClass.getESuperTypes().add(this.getPlugin());\n\t\treaderEClass.getESuperTypes().add(this.getPlugin());\n\t\trepositoryEClass.getESuperTypes().add(this.getAnalysisComponent());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(projectEClass, MIProject.class, \"Project\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProject_Plugins(), this.getPlugin(), null, \"plugins\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProject_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Repositories(), this.getRepository(), null, \"repositories\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Dependencies(), this.getDependency(), null, \"dependencies\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Views(), this.getView(), null, \"views\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getProject_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(pluginEClass, MIPlugin.class, \"Plugin\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPlugin_Repositories(), this.getRepositoryConnector(), null, \"repositories\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_OutputPorts(), this.getOutputPort(), this.getOutputPort_Parent(), \"outputPorts\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPlugin_Displays(), this.getDisplay(), this.getDisplay_Parent(), \"displays\", null, 0, -1, MIPlugin.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(portEClass, MIPort.class, \"Port\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPort_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_EventTypes(), ecorePackage.getEString(), \"eventTypes\", null, 1, -1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPort_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(inputPortEClass, MIInputPort.class, \"InputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInputPort_Parent(), this.getFilter(), this.getFilter_InputPorts(), \"parent\", null, 1, 1, MIInputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(outputPortEClass, MIOutputPort.class, \"OutputPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOutputPort_Subscribers(), this.getInputPort(), null, \"subscribers\", null, 0, -1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOutputPort_Parent(), this.getPlugin(), this.getPlugin_OutputPorts(), \"parent\", null, 1, 1, MIOutputPort.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, MIProperty.class, \"Property\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getProperty_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, MIProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(filterEClass, MIFilter.class, \"Filter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFilter_InputPorts(), this.getInputPort(), this.getInputPort_Parent(), \"inputPorts\", null, 0, -1, MIFilter.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readerEClass, MIReader.class, \"Reader\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repositoryEClass, MIRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(dependencyEClass, MIDependency.class, \"Dependency\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDependency_FilePath(), ecorePackage.getEString(), \"filePath\", null, 1, 1, MIDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryConnectorEClass, MIRepositoryConnector.class, \"RepositoryConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepositoryConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRepositoryConnector_Repository(), this.getRepository(), null, \"repository\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepositoryConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIRepositoryConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayEClass, MIDisplay.class, \"Display\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplay_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplay_Parent(), this.getPlugin(), this.getPlugin_Displays(), \"parent\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplay_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\tIS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(viewEClass, MIView.class, \"View\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getView_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,\n\t\t\t\t!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getView_DisplayConnectors(), this.getDisplayConnector(), null, \"displayConnectors\", null, 0, -1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getView_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID,\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(displayConnectorEClass, MIDisplayConnector.class, \"DisplayConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDisplayConnector_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getDisplayConnector_Display(), this.getDisplay(), null, \"display\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getDisplayConnector_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIDisplayConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(analysisComponentEClass, MIAnalysisComponent.class, \"AnalysisComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnalysisComponent_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Classname(), ecorePackage.getEString(), \"classname\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE,\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnalysisComponent_Properties(), this.getProperty(), null, \"properties\", null, 0, -1, MIAnalysisComponent.class, !IS_TRANSIENT,\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAnalysisComponent_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, MIAnalysisComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\n\t\t\t\t!IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n openEClass.getESuperTypes().add(this.getINSTRUCTION());\n gotoEClass.getESuperTypes().add(this.getINSTRUCTION());\n clickEClass.getESuperTypes().add(this.getINSTRUCTION());\n fillEClass.getESuperTypes().add(this.getINSTRUCTION());\n checkEClass.getESuperTypes().add(this.getINSTRUCTION());\n uncheckEClass.getESuperTypes().add(this.getINSTRUCTION());\n selectEClass.getESuperTypes().add(this.getINSTRUCTION());\n readEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifyEClass.getESuperTypes().add(this.getINSTRUCTION());\n verifY_CONTAINSEClass.getESuperTypes().add(this.getVERIFY());\n verifY_EQUALSEClass.getESuperTypes().add(this.getVERIFY());\n countEClass.getESuperTypes().add(this.getINSTRUCTION());\n playEClass.getESuperTypes().add(this.getINSTRUCTION());\n\n // Initialize classes and features; add operations and parameters\n initEClass(programmeEClass, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, \"PROGRAMME\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPROGRAMME_Procedures(), this.getPROCEDURE(), null, \"procedures\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROGRAMME.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(procedureEClass, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, \"PROCEDURE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPROCEDURE_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Param(), ecorePackage.getEString(), \"param\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPROCEDURE_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPROCEDURE_Inst(), this.getINSTRUCTION(), null, \"inst\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PROCEDURE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(instructionEClass, org.xtext.project.browserautomationdsl.domainmodel.INSTRUCTION.class, \"INSTRUCTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(openEClass, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, \"OPEN\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getOPEN_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getOPEN_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.OPEN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(gotoEClass, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, \"GOTO\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getGOTO_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGOTO_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.GOTO.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(clickEClass, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, \"CLICK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCLICK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCLICK_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCLICK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CLICK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fillEClass, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, \"FILL\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFILL_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_FieldType(), ecorePackage.getEString(), \"fieldType\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFILL_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFILL_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.FILL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(checkEClass, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, \"CHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.CHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(uncheckEClass, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, \"UNCHECK\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUNCHECK_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getUNCHECK_All(), ecorePackage.getEString(), \"all\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getUNCHECK_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.UNCHECK.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectEClass, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, \"SELECT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSELECT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getSELECT_Elem(), ecorePackage.getEString(), \"elem\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSELECT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SELECT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(readEClass, org.xtext.project.browserautomationdsl.domainmodel.READ.class, \"READ\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREAD_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getREAD_SavePath(), this.getSAVEVAR(), null, \"savePath\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.READ.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementidentifierEClass, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, \"ELEMENTIDENTIFIER\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getELEMENTIDENTIFIER_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Info(), ecorePackage.getEString(), \"info\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getELEMENTIDENTIFIER_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.ELEMENTIDENTIFIER.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifyEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, \"VERIFY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_CONTAINSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, \"VERIFY_CONTAINS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getVERIFY_CONTAINS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_ContainedIdentifier(), this.getELEMENTIDENTIFIER(), null, \"containedIdentifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_CONTAINS_Variable(), this.getREGISTERED_VALUE(), null, \"variable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_CONTAINS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(verifY_EQUALSEClass, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, \"VERIFY_EQUALS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getVERIFY_EQUALS_Operation(), this.getCOUNT(), null, \"operation\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getVERIFY_EQUALS_RegisteredValue(), this.getREGISTERED_VALUE(), null, \"registeredValue\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.VERIFY_EQUALS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(registereD_VALUEEClass, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, \"REGISTERED_VALUE\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getREGISTERED_VALUE_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.REGISTERED_VALUE.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(countEClass, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, \"COUNT\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCOUNT_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_Identifier(), this.getELEMENTIDENTIFIER(), null, \"identifier\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getCOUNT_SaveVariable(), this.getSAVEVAR(), null, \"saveVariable\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.COUNT.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(savevarEClass, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, \"SAVEVAR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getSAVEVAR_Var(), ecorePackage.getEString(), \"var\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.SAVEVAR.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(playEClass, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, \"PLAY\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPLAY_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Preocedure(), ecorePackage.getEString(), \"preocedure\", null, 0, 1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPLAY_Params(), ecorePackage.getEString(), \"params\", null, 0, -1, org.xtext.project.browserautomationdsl.domainmodel.PLAY.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\r\n\t\tInstancePackage theInstancePackage = (InstancePackage)EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI);\r\n\t\tValuetypePackage theValuetypePackage = (ValuetypePackage)EPackage.Registry.INSTANCE.getEPackage(ValuetypePackage.eNS_URI);\r\n\t\tRealtimestatechartPackage theRealtimestatechartPackage = (RealtimestatechartPackage)EPackage.Registry.INSTANCE.getEPackage(RealtimestatechartPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\trunnableEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\t\tlabelAccessEClass.getESuperTypes().add(theCorePackage.getNamedElement());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(runnableEClass, org.muml.pim.runnable.Runnable.class, \"Runnable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getRunnable_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Runnables(), \"componentInstance\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_PortInstance(), theInstancePackage.getPortInstance(), theInstancePackage.getPortInstance_Runnable(), \"portInstance\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Period(), theValuetypePackage.getTimeValue(), null, \"period\", null, 1, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_LabelAccesses(), this.getLabelAccess(), this.getLabelAccess_AccessingRunnable(), \"labelAccesses\", null, 0, -1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRunnable_Deadline(), theValuetypePackage.getTimeValue(), null, \"deadline\", null, 0, 1, org.muml.pim.runnable.Runnable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getLabel_ComponentInstance(), theInstancePackage.getComponentInstance(), theInstancePackage.getComponentInstance_Labels(), \"componentInstance\", null, 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabel_ComponentStatechart(), theRealtimestatechartPackage.getRealtimeStatechart(), null, \"componentStatechart\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getLabel_IsConstant(), ecorePackage.getEBoolean(), \"isConstant\", \"false\", 1, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(labelAccessEClass, LabelAccess.class, \"LabelAccess\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getLabelAccess_AccessKind(), this.getLabelAccessKind(), \"accessKind\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessLabel(), this.getLabel(), null, \"accessLabel\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getLabelAccess_AccessingRunnable(), this.getRunnable(), this.getRunnable_LabelAccesses(), \"accessingRunnable\", null, 1, 1, LabelAccess.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(labelAccessKindEEnum, LabelAccessKind.class, \"LabelAccessKind\");\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.READACCESS);\r\n\t\taddEEnumLiteral(labelAccessKindEEnum, LabelAccessKind.WRITEACCESS);\r\n\t}", "public void initializePackageContents() {\r\n if (isInitialized) return;\r\n isInitialized = true;\r\n\r\n // Initialize package\r\n setName(eNAME);\r\n setNsPrefix(eNS_PREFIX);\r\n setNsURI(eNS_URI);\r\n\r\n // Obtain other dependent packages\r\n KGraphPackage theKGraphPackage = (KGraphPackage)EPackage.Registry.INSTANCE.getEPackage(KGraphPackage.eNS_URI);\r\n\r\n // Create type parameters\r\n\r\n // Set bounds for type parameters\r\n\r\n // Add supertypes to classes\r\n kShapeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kEdgeLayoutEClass.getESuperTypes().add(this.getKLayoutData());\r\n kLayoutDataEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n kIdentifierEClass.getESuperTypes().add(theKGraphPackage.getKGraphData());\r\n\r\n // Initialize classes and features; add operations and parameters\r\n initEClass(kShapeLayoutEClass, KShapeLayout.class, \"KShapeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKShapeLayout_Xpos(), ecorePackage.getEFloat(), \"xpos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Ypos(), ecorePackage.getEFloat(), \"ypos\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Width(), ecorePackage.getEFloat(), \"width\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKShapeLayout_Height(), ecorePackage.getEFloat(), \"height\", \"0.0f\", 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKShapeLayout_Insets(), this.getKInsets(), null, \"insets\", null, 0, 1, KShapeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n EOperation op = addEOperation(kShapeLayoutEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kShapeLayoutEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kShapeLayoutEClass, null, \"setSize\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"width\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"height\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kEdgeLayoutEClass, KEdgeLayout.class, \"KEdgeLayout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEReference(getKEdgeLayout_BendPoints(), this.getKPoint(), null, \"bendPoints\", null, 0, -1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_SourcePoint(), this.getKPoint(), null, \"sourcePoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEReference(getKEdgeLayout_TargetPoint(), this.getKPoint(), null, \"targetPoint\", null, 1, 1, KEdgeLayout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kEdgeLayoutEClass, null, \"applyVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVectorChain(), \"points\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kEdgeLayoutEClass, this.getKVectorChain(), \"createVectorChain\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kLayoutDataEClass, KLayoutData.class, \"KLayoutData\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n addEOperation(kLayoutDataEClass, ecorePackage.getEBoolean(), \"isModified\", 1, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kLayoutDataEClass, null, \"resetModificationFlag\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kPointEClass, KPoint.class, \"KPoint\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKPoint_X(), ecorePackage.getEFloat(), \"x\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKPoint_Y(), ecorePackage.getEFloat(), \"y\", \"0.0f\", 0, 1, KPoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"setPos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"x\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, ecorePackage.getEFloat(), \"y\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n op = addEOperation(kPointEClass, null, \"applyVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n addEParameter(op, this.getKVector(), \"pos\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n addEOperation(kPointEClass, this.getKVector(), \"createVector\", 0, 1, IS_UNIQUE, IS_ORDERED);\r\n\r\n initEClass(kInsetsEClass, KInsets.class, \"KInsets\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKInsets_Top(), ecorePackage.getEFloat(), \"top\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Bottom(), ecorePackage.getEFloat(), \"bottom\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Left(), ecorePackage.getEFloat(), \"left\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKInsets_Right(), ecorePackage.getEFloat(), \"right\", null, 0, 1, KInsets.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kIdentifierEClass, KIdentifier.class, \"KIdentifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKIdentifier_Id(), ecorePackage.getEString(), \"id\", null, 1, 1, KIdentifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorEClass, KVector.class, \"KVector\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n initEAttribute(getKVector_X(), ecorePackage.getEDouble(), \"x\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n initEAttribute(getKVector_Y(), ecorePackage.getEDouble(), \"y\", null, 0, 1, KVector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n initEClass(kVectorChainEClass, KVectorChain.class, \"KVectorChain\", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);\r\n\r\n // Create resource\r\n createResource(eNS_URI);\r\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tScenarioPackage theScenarioPackage = (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI);\n\t\tXActivityDiagramPropertyPackage theXActivityDiagramPropertyPackage = (XActivityDiagramPropertyPackage)EPackage.Registry.INSTANCE.getEPackage(XActivityDiagramPropertyPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theScenarioPackage.getArbiter());\n\t\tEGenericType g2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterState());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterTransition());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterStateEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theScenarioPackage.getArbiterTransition());\n\t\tg2 = createEGenericType(theXActivityDiagramPropertyPackage.getXActivityDiagramProperty());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(this.getXActivityDiagramArbiterState());\n\t\tg1.getETypeArguments().add(g2);\n\t\txActivityDiagramArbiterTransitionEClass.getEGenericSuperTypes().add(g1);\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(xActivityDiagramArbiterEClass, XActivityDiagramArbiter.class, \"XActivityDiagramArbiter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterStateEClass, XActivityDiagramArbiterState.class, \"XActivityDiagramArbiterState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(xActivityDiagramArbiterTransitionEClass, XActivityDiagramArbiterTransition.class, \"XActivityDiagramArbiterTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tjTypeEClass.getESuperTypes().add(this.getJElement());\n\t\tjTypedElementEClass.getESuperTypes().add(this.getJElement());\n\t\tjPrimitiveEClass.getESuperTypes().add(this.getJType());\n\t\tjEnumerationEClass.getESuperTypes().add(this.getJType());\n\t\tjClassEClass.getESuperTypes().add(this.getJType());\n\t\tjAttributeEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjOperationEClass.getESuperTypes().add(this.getJElement());\n\t\tjParameterEClass.getESuperTypes().add(this.getJTypedElement());\n\t\tjRelationshipEClass.getESuperTypes().add(this.getJElement());\n\t\tjRoleEClass.getESuperTypes().add(this.getJElement());\n\t\tjLiteralEClass.getESuperTypes().add(this.getJElement());\n\t\tjPackageEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateMachineEClass.getESuperTypes().add(this.getJElement());\n\t\tjTransitionEClass.getESuperTypes().add(this.getJElement());\n\t\tjStateEClass.getESuperTypes().add(this.getJElement());\n\t\tjGuardEClass.getESuperTypes().add(this.getJElement());\n\t\tjModelEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiMenuItemEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAttributeGroupEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiFilterEClass.getESuperTypes().add(this.getJElement());\n\t\tjuiAliasEClass.getESuperTypes().add(this.getJElement());\n\t\tjInfoEClass.getESuperTypes().add(this.getJElement());\n\t\tjSubmodelEClass.getESuperTypes().add(this.getJElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(jElementEClass, JElement.class, \"JElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJElement_Uuid(), ecorePackage.getEString(), \"uuid\", null, 1, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_ShortName(), ecorePackage.getEString(), \"shortName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_FullName(), ecorePackage.getEString(), \"fullName\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Framework(), ecorePackage.getEBoolean(), \"framework\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Participates(), this.getJLayer(), \"participates\", null, 0, -1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJElement_Visibility(), this.getJVisibility(), \"visibility\", null, 0, 1, JElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTypeEClass, JType.class, \"JType\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(jTypedElementEClass, JTypedElement.class, \"JTypedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTypedElement_Type(), this.getJType(), null, \"type\", null, 1, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Ordered(), ecorePackage.getEBoolean(), \"ordered\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJTypedElement_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JTypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPrimitiveEClass, JPrimitive.class, \"JPrimitive\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPrimitive_Package(), this.getJPackage(), this.getJPackage_Primitives(), \"package\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJPrimitive_UseForIdType(), ecorePackage.getEBoolean(), \"useForIdType\", null, 0, 1, JPrimitive.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jEnumerationEClass, JEnumeration.class, \"JEnumeration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJEnumeration_Package(), this.getJPackage(), this.getJPackage_Enumerations(), \"package\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_Literals(), this.getJLiteral(), this.getJLiteral_Enumeration(), \"literals\", null, 0, -1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJEnumeration_ClassRepresentation(), this.getJClass(), this.getJClass_FixedEnum(), \"classRepresentation\", null, 0, 1, JEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jClassEClass, JClass.class, \"JClass\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJClass_Abstract(), ecorePackage.getEBoolean(), \"abstract\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_StateMachines(), this.getJStateMachine(), this.getJStateMachine_OwnerClass(), \"stateMachines\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Operations(), this.getJOperation(), this.getJOperation_OwnerClass(), \"operations\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributeOrder(), this.getJUIAttributeGroup(), null, \"attributeOrder\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_AttributesForListing(), this.getJAttribute(), null, \"attributesForListing\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_FixedEnum(), this.getJEnumeration(), this.getJEnumeration_ClassRepresentation(), \"fixedEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenant(), ecorePackage.getEBoolean(), \"representsTenant\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_TenantMember(), ecorePackage.getEBoolean(), \"tenantMember\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Representation(), this.getJAttribute(), null, \"representation\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnum(), ecorePackage.getEBoolean(), \"representsEnum\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsTenantUser(), ecorePackage.getEBoolean(), \"representsTenantUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsUser(), ecorePackage.getEBoolean(), \"representsUser\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Supertype(), this.getJClass(), null, \"supertype\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Package(), this.getJPackage(), this.getJPackage_Classes(), \"package\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Roles(), this.getJRole(), this.getJRole_OwnerClass(), \"roles\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Attributes(), this.getJAttribute(), this.getJAttribute_OwnerClass(), \"attributes\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_BusinessSingleton(), ecorePackage.getEBoolean(), \"businessSingleton\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJClass_Aliases(), this.getJUIAlias(), this.getJUIAlias_OwnerClass(), \"aliases\", null, 0, -1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJClass_RepresentsEnumValue(), ecorePackage.getEBoolean(), \"representsEnumValue\", null, 0, 1, JClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jAttributeEClass, JAttribute.class, \"JAttribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJAttribute_Placeholder(), ecorePackage.getEString(), \"placeholder\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Regexp(), ecorePackage.getEString(), \"regexp\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Mandatory(), ecorePackage.getEBoolean(), \"mandatory\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Decimals(), ecorePackage.getEInt(), \"decimals\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Technical(), ecorePackage.getEBoolean(), \"technical\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJAttribute_OwnerClass(), this.getJClass(), this.getJClass_Attributes(), \"ownerClass\", null, 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_UiNoSearch(), ecorePackage.getEBoolean(), \"uiNoSearch\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_Watched(), ecorePackage.getEBoolean(), \"watched\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJAttribute_RepresentsId(), ecorePackage.getEBoolean(), \"representsId\", \"false\", 0, 1, JAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jOperationEClass, JOperation.class, \"JOperation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJOperation_ClassBased(), ecorePackage.getEBoolean(), \"classBased\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_OwnerClass(), this.getJClass(), this.getJClass_Operations(), \"ownerClass\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Parameters(), this.getJParameter(), this.getJParameter_OwnerOperation(), \"parameters\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJOperation_Transition(), this.getJTransition(), this.getJTransition_ExecutingOperation(), \"transition\", null, 0, -1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Bulk(), ecorePackage.getEBoolean(), \"bulk\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_Kind(), this.getJOperationKind(), \"kind\", null, 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJOperation_UiMustConfirm(), ecorePackage.getEBoolean(), \"uiMustConfirm\", \"false\", 0, 1, JOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jParameterEClass, JParameter.class, \"JParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJParameter_OwnerOperation(), this.getJOperation(), this.getJOperation_Parameters(), \"ownerOperation\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Input(), ecorePackage.getEBoolean(), \"input\", \"true\", 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJParameter_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRelationshipEClass, JRelationship.class, \"JRelationship\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJRelationship_Package(), this.getJPackage(), this.getJPackage_Relationships(), \"package\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRelationship_Roles(), this.getJRole(), this.getJRole_OwnerRelationship(), \"roles\", null, 2, 2, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRelationship_Derived(), ecorePackage.getEBoolean(), \"derived\", null, 0, 1, JRelationship.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jRoleEClass, JRole.class, \"JRole\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJRole_Lower(), ecorePackage.getEInt(), \"lower\", \"0\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Upper(), ecorePackage.getEInt(), \"upper\", \"1\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Navigable(), ecorePackage.getEBoolean(), \"navigable\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Unique(), ecorePackage.getEBoolean(), \"unique\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Ordered(), ecorePackage.getEBoolean(), \"ordered\", \"true\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerRelationship(), this.getJRelationship(), this.getJRelationship_Roles(), \"ownerRelationship\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedExpression(), ecorePackage.getEString(), \"derivedExpression\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_DerivedDescription(), ecorePackage.getEString(), \"derivedDescription\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Kind(), this.getJAssociationKind(), \"kind\", \"ASSOCIATION\", 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_OptionScript(), ecorePackage.getEString(), \"optionScript\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJRole_OwnerClass(), this.getJClass(), this.getJClass_Roles(), \"ownerClass\", null, 1, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Calculated(), ecorePackage.getEBoolean(), \"calculated\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJRole_Interval(), ecorePackage.getEString(), \"interval\", null, 0, 1, JRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jLiteralEClass, JLiteral.class, \"JLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJLiteral_Enumeration(), this.getJEnumeration(), this.getJEnumeration_Literals(), \"enumeration\", null, 0, 1, JLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jPackageEClass, JPackage.class, \"JPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJPackage_Enumerations(), this.getJEnumeration(), this.getJEnumeration_Package(), \"enumerations\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Primitives(), this.getJPrimitive(), this.getJPrimitive_Package(), \"primitives\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Relationships(), this.getJRelationship(), this.getJRelationship_Package(), \"relationships\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Children(), this.getJPackage(), this.getJPackage_Parent(), \"children\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Parent(), this.getJPackage(), this.getJPackage_Children(), \"parent\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_OwnerModel(), this.getJModel(), this.getJModel_Packages(), \"ownerModel\", null, 0, 1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJPackage_Classes(), this.getJClass(), this.getJClass_Package(), \"classes\", null, 0, -1, JPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateMachineEClass, JStateMachine.class, \"JStateMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJStateMachine_OwnerClass(), this.getJClass(), this.getJClass_StateMachines(), \"ownerClass\", null, 0, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_States(), this.getJState(), this.getJState_OwnerStateMachine(), \"states\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_Transitions(), this.getJTransition(), this.getJTransition_StateMachine(), \"transitions\", null, 0, -1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJStateMachine_CorrespondingEnum(), this.getJEnumeration(), null, \"correspondingEnum\", null, 1, 1, JStateMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jTransitionEClass, JTransition.class, \"JTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJTransition_StateMachine(), this.getJStateMachine(), this.getJStateMachine_Transitions(), \"stateMachine\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_Guard(), this.getJGuard(), this.getJGuard_Transition(), \"guard\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ToState(), this.getJState(), this.getJState_IncomingTransitions(), \"toState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_FromState(), this.getJState(), this.getJState_OutgoingTransitions(), \"fromState\", null, 1, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJTransition_ExecutingOperation(), this.getJOperation(), this.getJOperation_Transition(), \"executingOperation\", null, 0, 1, JTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jStateEClass, JState.class, \"JState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJState_OwnerStateMachine(), this.getJStateMachine(), this.getJStateMachine_States(), \"ownerStateMachine\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_IncomingTransitions(), this.getJTransition(), this.getJTransition_ToState(), \"incomingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJState_OutgoingTransitions(), this.getJTransition(), this.getJTransition_FromState(), \"outgoingTransitions\", null, 0, -1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_InitialState(), ecorePackage.getEBoolean(), \"initialState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJState_FinalState(), ecorePackage.getEBoolean(), \"finalState\", null, 0, 1, JState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jGuardEClass, JGuard.class, \"JGuard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJGuard_Transition(), this.getJTransition(), this.getJTransition_Guard(), \"transition\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJGuard_Expression(), ecorePackage.getEString(), \"expression\", null, 0, 1, JGuard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jModelEClass, JModel.class, \"JModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJModel_Packages(), this.getJPackage(), this.getJPackage_OwnerModel(), \"packages\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJModel_PackagePrefix(), ecorePackage.getEString(), \"packagePrefix\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_ApplicationTop(), this.getJPackage(), null, \"applicationTop\", null, 1, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_RootMenuItems(), this.getJUIMenuItem(), null, \"rootMenuItems\", null, 0, -1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJModel_Info(), this.getJInfo(), null, \"info\", null, 0, 1, JModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiMenuItemEClass, JUIMenuItem.class, \"JUIMenuItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIMenuItem_Children(), this.getJUIMenuItem(), this.getJUIMenuItem_Parent(), \"children\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Parent(), this.getJUIMenuItem(), this.getJUIMenuItem_Children(), \"parent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Represent(), this.getJClass(), null, \"represent\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Uifilters(), this.getJUIFilter(), null, \"uifilters\", null, 0, -1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIMenuItem_Type(), this.getJMenuItemType(), \"type\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJUIMenuItem_Alias(), this.getJUIAlias(), null, \"alias\", null, 0, 1, JUIMenuItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAttributeGroupEClass, JUIAttributeGroup.class, \"JUIAttributeGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAttributeGroup_Attributes(), this.getJAttribute(), null, \"attributes\", null, 0, -1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIAttributeGroup_Position(), ecorePackage.getEInt(), \"position\", null, 0, 1, JUIAttributeGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiFilterEClass, JUIFilter.class, \"JUIFilter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIFilter_Attribute(), this.getJAttribute(), null, \"attribute\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Operator(), this.getJOperator(), \"operator\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJUIFilter_Value(), ecorePackage.getEString(), \"value\", null, 1, 1, JUIFilter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(juiAliasEClass, JUIAlias.class, \"JUIAlias\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJUIAlias_OwnerClass(), this.getJClass(), this.getJClass_Aliases(), \"ownerClass\", null, 1, 1, JUIAlias.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jInfoEClass, JInfo.class, \"JInfo\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJInfo_Submodels(), this.getJSubmodel(), null, \"submodels\", null, 0, -1, JInfo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jSubmodelEClass, JSubmodel.class, \"JSubmodel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJSubmodel_Version(), ecorePackage.getEString(), \"version\", null, 0, 1, JSubmodel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jVisibilityEEnum, JVisibility.class, \"JVisibility\");\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PUBLIC);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PROTECTED);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PACKAGE);\n\t\taddEEnumLiteral(jVisibilityEEnum, JVisibility.PRIVATE);\n\n\t\tinitEEnum(jAssociationKindEEnum, JAssociationKind.class, \"JAssociationKind\");\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.ASSOCIATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.AGGREGATION);\n\t\taddEEnumLiteral(jAssociationKindEEnum, JAssociationKind.COMPOSITION);\n\n\t\tinitEEnum(jOperationKindEEnum, JOperationKind.class, \"JOperationKind\");\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.CUSTOM);\n\t\taddEEnumLiteral(jOperationKindEEnum, JOperationKind.QUERY);\n\n\t\tinitEEnum(jLayerEEnum, JLayer.class, \"JLayer\");\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.ALL);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERSISTENCE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SERVICE);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.OPERATION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.REST);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.UI);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.DOCUMENT);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.PERMISSION);\n\t\taddEEnumLiteral(jLayerEEnum, JLayer.SCREEN);\n\n\t\tinitEEnum(jMenuItemTypeEEnum, JMenuItemType.class, \"JMenuItemType\");\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.OBJECT);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.LIST);\n\t\taddEEnumLiteral(jMenuItemTypeEEnum, JMenuItemType.NONE);\n\n\t\tinitEEnum(jOperatorEEnum, JOperator.class, \"JOperator\");\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.EQ);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.NE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.LTE);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GT);\n\t\taddEEnumLiteral(jOperatorEEnum, JOperator.GTE);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "protected abstract JPackage getPackage( JPackage pkg, Aspect a );", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tServicesPackage theServicesPackage = (ServicesPackage)EPackage.Registry.INSTANCE.getEPackage(ServicesPackage.eNS_URI);\n\t\tLibraryPackage theLibraryPackage = (LibraryPackage)EPackage.Registry.INSTANCE.getEPackage(LibraryPackage.eNS_URI);\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\t\tGenericsPackage theGenericsPackage = (GenericsPackage)EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI);\n\t\tMetricsPackage theMetricsPackage = (MetricsPackage)EPackage.Registry.INSTANCE.getEPackage(MetricsPackage.eNS_URI);\n\t\tOperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tanalyzerJobEClass.getESuperTypes().add(this.getJob());\n\t\tcomponentFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\t\tcomponentWorkFlowRunEClass.getESuperTypes().add(this.getWorkFlowRun());\n\t\texpressionFailureEClass.getESuperTypes().add(this.getFailure());\n\t\tjobEClass.getESuperTypes().add(theGenericsPackage.getBase());\n\t\tmetricSourceJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tnodeTypeReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\toperatorReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tretentionJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceMonitoringJobEClass.getESuperTypes().add(this.getJob());\n\t\trfsServiceReporterJobEClass.getESuperTypes().add(this.getJob());\n\t\tserviceUserFailureEClass.getESuperTypes().add(this.getExpressionFailure());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(analyzerJobEClass, AnalyzerJob.class, \"AnalyzerJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnalyzerJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, AnalyzerJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentFailureEClass, ComponentFailure.class, \"ComponentFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentFailure_ComponentRef(), theLibraryPackage.getComponent(), null, \"componentRef\", null, 0, 1, ComponentFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentWorkFlowRunEClass, ComponentWorkFlowRun.class, \"ComponentWorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentWorkFlowRun_FailureRefs(), this.getFailure(), null, \"failureRefs\", null, 0, -1, ComponentWorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(expressionFailureEClass, ExpressionFailure.class, \"ExpressionFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExpressionFailure_ExpressionRef(), theLibraryPackage.getExpression(), null, \"expressionRef\", null, 0, 1, ExpressionFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(failureEClass, Failure.class, \"Failure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFailure_Message(), theXMLTypePackage.getString(), \"message\", null, 0, 1, Failure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobEClass, Job.class, \"Job\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getJob_EndTime(), theXMLTypePackage.getDateTime(), \"endTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Interval(), theXMLTypePackage.getInt(), \"interval\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_JobState(), this.getJobState(), \"jobState\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_Repeat(), theXMLTypePackage.getInt(), \"repeat\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getJob_StartTime(), theXMLTypePackage.getDateTime(), \"startTime\", null, 0, 1, Job.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(jobRunContainerEClass, JobRunContainer.class, \"JobRunContainer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getJobRunContainer_Job(), this.getJob(), null, \"job\", null, 1, 1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getJobRunContainer_WorkFlowRuns(), this.getWorkFlowRun(), null, \"workFlowRuns\", null, 0, -1, JobRunContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(metricSourceJobEClass, MetricSourceJob.class, \"MetricSourceJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMetricSourceJob_MetricSources(), theMetricsPackage.getMetricSource(), null, \"metricSources\", null, 1, -1, MetricSourceJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeReporterJobEClass, NodeReporterJob.class, \"NodeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeReporterJob_Node(), theOperatorsPackage.getNode(), null, \"node\", null, 1, 1, NodeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeTypeReporterJobEClass, NodeTypeReporterJob.class, \"NodeTypeReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNodeTypeReporterJob_NodeType(), theLibraryPackage.getNodeType(), null, \"nodeType\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getNodeTypeReporterJob_ScopeObject(), ecorePackage.getEObject(), null, \"scopeObject\", null, 1, 1, NodeTypeReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(operatorReporterJobEClass, OperatorReporterJob.class, \"OperatorReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOperatorReporterJob_Operator(), theOperatorsPackage.getOperator(), null, \"operator\", null, 1, 1, OperatorReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(retentionJobEClass, RetentionJob.class, \"RetentionJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(rfsServiceMonitoringJobEClass, RFSServiceMonitoringJob.class, \"RFSServiceMonitoringJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceMonitoringJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceMonitoringJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(rfsServiceReporterJobEClass, RFSServiceReporterJob.class, \"RFSServiceReporterJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRFSServiceReporterJob_RFSService(), theServicesPackage.getRFSService(), null, \"rFSService\", null, 1, 1, RFSServiceReporterJob.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(serviceUserFailureEClass, ServiceUserFailure.class, \"ServiceUserFailure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getServiceUserFailure_ServiceUserRef(), theServicesPackage.getServiceUser(), null, \"serviceUserRef\", null, 0, 1, ServiceUserFailure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(workFlowRunEClass, WorkFlowRun.class, \"WorkFlowRun\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWorkFlowRun_Ended(), theXMLTypePackage.getDateTime(), \"ended\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Log(), theGenericsPackage.getLongText(), \"log\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Progress(), theXMLTypePackage.getInt(), \"progress\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressMessage(), theXMLTypePackage.getString(), \"progressMessage\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_ProgressTask(), theXMLTypePackage.getString(), \"progressTask\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_Started(), theXMLTypePackage.getDateTime(), \"started\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWorkFlowRun_State(), this.getJobRunState(), \"state\", null, 0, 1, WorkFlowRun.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(jobRunStateEEnum, JobRunState.class, \"JobRunState\");\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.RUNNING);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_SUCCESSFULLY);\n\t\taddEEnumLiteral(jobRunStateEEnum, JobRunState.FINISHED_WITH_ERROR);\n\n\t\tinitEEnum(jobStateEEnum, JobState.class, \"JobState\");\n\t\taddEEnumLiteral(jobStateEEnum, JobState.ACTIVE);\n\t\taddEEnumLiteral(jobStateEEnum, JobState.IN_ACTIVE);\n\n\t\t// Initialize data types\n\t\tinitEDataType(jobRunStateObjectEDataType, JobRunState.class, \"JobRunStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(jobStateObjectEDataType, JobState.class, \"JobStateObject\", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "default HtmlFormatter removePackages() {\n return replace(\n PACKAGE_PATTERN,\n \"\"\n );\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCapellacorePackage theCapellacorePackage = (CapellacorePackage)EPackage.Registry.INSTANCE.getEPackage(CapellacorePackage.eNS_URI);\n\t\tFaPackage theFaPackage = (FaPackage)EPackage.Registry.INSTANCE.getEPackage(FaPackage.eNS_URI);\n\t\tRequirementPackage theRequirementPackage = (RequirementPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementPackage.eNS_URI);\n\t\tCapellacommonPackage theCapellacommonPackage = (CapellacommonPackage)EPackage.Registry.INSTANCE.getEPackage(CapellacommonPackage.eNS_URI);\n\t\tInformationPackage theInformationPackage = (InformationPackage)EPackage.Registry.INSTANCE.getEPackage(InformationPackage.eNS_URI);\n\t\tCommunicationPackage theCommunicationPackage = (CommunicationPackage)EPackage.Registry.INSTANCE.getEPackage(CommunicationPackage.eNS_URI);\n\t\tModellingcorePackage theModellingcorePackage = (ModellingcorePackage)EPackage.Registry.INSTANCE.getEPackage(ModellingcorePackage.eNS_URI);\n\t\tEpbsPackage theEpbsPackage = (EpbsPackage)EPackage.Registry.INSTANCE.getEPackage(EpbsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tblockArchitecturePkgEClass.getESuperTypes().add(theCapellacorePackage.getModellingArchitecturePkg());\n\t\tblockArchitectureEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalArchitecture());\n\t\tblockEClass.getESuperTypes().add(theCapellacorePackage.getModellingBlock());\n\t\tblockEClass.getESuperTypes().add(theFaPackage.getAbstractFunctionalBlock());\n\t\tcomponentArchitectureEClass.getESuperTypes().add(this.getBlockArchitecture());\n\t\tcomponentEClass.getESuperTypes().add(this.getBlock());\n\t\tcomponentEClass.getESuperTypes().add(theInformationPackage.getPartitionableElement());\n\t\tcomponentEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tcomponentEClass.getESuperTypes().add(theCommunicationPackage.getCommunicationLinkExchanger());\n\t\tabstractActorEClass.getESuperTypes().add(this.getComponent());\n\t\tabstractActorEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tpartEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tpartEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tpartEClass.getESuperTypes().add(this.getDeployableElement());\n\t\tpartEClass.getESuperTypes().add(this.getDeploymentTarget());\n\t\tpartEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tarchitectureAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tcomponentAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tsystemComponentEClass.getESuperTypes().add(this.getComponent());\n\t\tsystemComponentEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvedElement());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCommunicationPackage.getMessageReferencePkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractDependenciesPkg());\n\t\tinterfacePkgEClass.getESuperTypes().add(theCapellacorePackage.getAbstractExchangeItemPkg());\n\t\tinterfaceEClass.getESuperTypes().add(theCapellacorePackage.getGeneralClass());\n\t\tinterfaceEClass.getESuperTypes().add(this.getInterfaceAllocator());\n\t\tinterfaceImplementationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceUseEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tprovidedInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\trequiredInterfaceLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tinterfaceAllocationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tinterfaceAllocatorEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tactorCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tsystemComponentCapabilityRealizationInvolvementEClass.getESuperTypes().add(theCapellacommonPackage.getCapabilityRealizationInvolvement());\n\t\tcomponentContextEClass.getESuperTypes().add(this.getComponent());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theInformationPackage.getAbstractEventOperation());\n\t\texchangeItemAllocationEClass.getESuperTypes().add(theModellingcorePackage.getFinalizableElement());\n\t\tdeployableElementEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tdeploymentTargetEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tabstractDeploymentLinkEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());\n\t\tabstractPathInvolvedElementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvedElement());\n\t\tabstractPhysicalArtifactEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalLinkEndEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());\n\t\tabstractPhysicalPathLinkEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalPathLink());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalLinkEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalLinkCategoryEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalLinkEndEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalLinkRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getNamedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theFaPackage.getComponentExchangeAllocator());\n\t\tphysicalPathEClass.getESuperTypes().add(this.getAbstractPathInvolvedElement());\n\t\tphysicalPathEClass.getESuperTypes().add(theCapellacorePackage.getInvolverElement());\n\t\tphysicalPathInvolvementEClass.getESuperTypes().add(theCapellacorePackage.getInvolvement());\n\t\tphysicalPathReferenceEClass.getESuperTypes().add(this.getPhysicalPathInvolvement());\n\t\tphysicalPathRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPartition());\n\t\tphysicalPortEClass.getESuperTypes().add(theInformationPackage.getPort());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalArtifact());\n\t\tphysicalPortEClass.getESuperTypes().add(theModellingcorePackage.getInformationsExchanger());\n\t\tphysicalPortEClass.getESuperTypes().add(this.getAbstractPhysicalLinkEnd());\n\t\tphysicalPortRealizationEClass.getESuperTypes().add(theCapellacorePackage.getAllocation());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(blockArchitecturePkgEClass, BlockArchitecturePkg.class, \"BlockArchitecturePkg\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(blockArchitectureEClass, BlockArchitecture.class, \"BlockArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlockArchitecture_OwnedRequirementPkgs(), theRequirementPackage.getRequirementsPkg(), null, \"ownedRequirementPkgs\", null, 0, -1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, BlockArchitecture.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisionedArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatingArchitecture(), \"provisionedArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_ProvisioningArchitectureAllocations(), this.getArchitectureAllocation(), this.getArchitectureAllocation_AllocatedArchitecture(), \"provisioningArchitectureAllocations\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatedArchitectures(), this.getBlockArchitecture(), null, \"allocatedArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlockArchitecture_AllocatingArchitectures(), this.getBlockArchitecture(), null, \"allocatingArchitectures\", null, 0, -1, BlockArchitecture.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(blockEClass, Block.class, \"Block\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBlock_OwnedAbstractCapabilityPkg(), theCapellacommonPackage.getAbstractCapabilityPkg(), null, \"ownedAbstractCapabilityPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedInterfacePkg(), this.getInterfacePkg(), null, \"ownedInterfacePkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedDataPkg(), theInformationPackage.getDataPkg(), null, \"ownedDataPkg\", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBlock_OwnedStateMachines(), theCapellacommonPackage.getStateMachine(), null, \"ownedStateMachines\", null, 0, -1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentArchitectureEClass, ComponentArchitecture.class, \"ComponentArchitecture\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentEClass, Component.class, \"Component\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponent_OwnedInterfaceUses(), this.getInterfaceUse(), null, \"ownedInterfaceUses\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaceLinks(), this.getInterfaceUse(), this.getInterfaceUse_InterfaceUser(), \"usedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_UsedInterfaces(), this.getInterface(), this.getInterface_UserComponents(), \"usedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedInterfaceImplementations(), this.getInterfaceImplementation(), null, \"ownedInterfaceImplementations\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaceLinks(), this.getInterfaceImplementation(), this.getInterfaceImplementation_InterfaceImplementor(), \"implementedInterfaceLinks\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ImplementedInterfaces(), this.getInterface(), this.getInterface_ImplementorComponents(), \"implementedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisionedComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatingComponent(), \"provisionedComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvisioningComponentAllocations(), this.getComponentAllocation(), this.getComponentAllocation_AllocatedComponent(), \"provisioningComponentAllocations\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatedComponents(), this.getComponent(), null, \"allocatedComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedComponentPorts(), theFaPackage.getComponentPort(), null, \"containedComponentPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedParts(), this.getPart(), null, \"containedParts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_ContainedPhysicalPorts(), this.getPhysicalPort(), null, \"containedPhysicalPorts\", null, 0, -1, Component.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalPath(), this.getPhysicalPath(), null, \"ownedPhysicalPath\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinks(), this.getPhysicalLink(), null, \"ownedPhysicalLinks\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponent_OwnedPhysicalLinkCategories(), this.getPhysicalLinkCategory(), null, \"ownedPhysicalLinkCategories\", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractActorEClass, AbstractActor.class, \"AbstractActor\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(partEClass, Part.class, \"Part\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPart_ProvidedInterfaces(), this.getInterface(), null, \"providedInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_RequiredInterfaces(), this.getInterface(), null, \"requiredInterfaces\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedDeploymentLinks(), this.getAbstractDeploymentLink(), null, \"ownedDeploymentLinks\", null, 0, -1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployedParts(), this.getPart(), null, \"deployedParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_DeployingParts(), this.getPart(), null, \"deployingParts\", null, 0, -1, Part.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPart_OwnedAbstractType(), theModellingcorePackage.getAbstractType(), null, \"ownedAbstractType\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MaxValue(), ecorePackage.getEInt(), \"maxValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_MinValue(), ecorePackage.getEInt(), \"minValue\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPart_CurrentMass(), ecorePackage.getEInt(), \"currentMass\", null, 0, 1, Part.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isOverhead\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEBoolean(), \"isSatured\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, ecorePackage.getEInt(), \"computeMass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(partEClass, null, \"print\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(architectureAllocationEClass, ArchitectureAllocation.class, \"ArchitectureAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getArchitectureAllocation_AllocatedArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisioningArchitectureAllocations(), \"allocatedArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArchitectureAllocation_AllocatingArchitecture(), this.getBlockArchitecture(), this.getBlockArchitecture_ProvisionedArchitectureAllocations(), \"allocatingArchitecture\", null, 1, 1, ArchitectureAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(componentAllocationEClass, ComponentAllocation.class, \"ComponentAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getComponentAllocation_AllocatedComponent(), this.getComponent(), this.getComponent_ProvisioningComponentAllocations(), \"allocatedComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getComponentAllocation_AllocatingComponent(), this.getComponent(), this.getComponent_ProvisionedComponentAllocations(), \"allocatingComponent\", null, 0, 1, ComponentAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(systemComponentEClass, SystemComponent.class, \"SystemComponent\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSystemComponent_DataComponent(), ecorePackage.getEBoolean(), \"dataComponent\", null, 0, 1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_DataType(), theCapellacorePackage.getClassifier(), null, \"dataType\", null, 0, -1, SystemComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSystemComponent_ParticipationsInCapabilityRealizations(), this.getSystemComponentCapabilityRealizationInvolvement(), null, \"participationsInCapabilityRealizations\", null, 0, -1, SystemComponent.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfacePkgEClass, InterfacePkg.class, \"InterfacePkg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfacePkg_OwnedInterfaces(), this.getInterface(), null, \"ownedInterfaces\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfacePkg_OwnedInterfacePkgs(), this.getInterfacePkg(), null, \"ownedInterfacePkgs\", null, 0, -1, InterfacePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceEClass, Interface.class, \"Interface\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getInterface_Mechanism(), ecorePackage.getEString(), \"mechanism\", null, 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getInterface_Structural(), ecorePackage.getEBoolean(), \"structural\", \"true\", 0, 1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ImplementorComponents(), this.getComponent(), this.getComponent_ImplementedInterfaces(), \"implementorComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_UserComponents(), this.getComponent(), this.getComponent_UsedInterfaces(), \"userComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceImplementations(), this.getInterfaceImplementation(), null, \"interfaceImplementations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_InterfaceUses(), this.getInterfaceUse(), null, \"interfaceUses\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvisioningInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatedInterface(), \"provisioningInterfaceAllocations\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingInterfaces(), this.getInterface(), null, \"allocatingInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_AllocatingComponents(), this.getComponent(), null, \"allocatingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ExchangeItems(), theInformationPackage.getExchangeItem(), null, \"exchangeItems\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_OwnedExchangeItemAllocations(), this.getExchangeItemAllocation(), null, \"ownedExchangeItemAllocations\", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponents(), this.getComponent(), null, \"requiringComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RequiringComponentPorts(), theFaPackage.getComponentPort(), null, \"requiringComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponents(), this.getComponent(), null, \"providingComponents\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_ProvidingComponentPorts(), theFaPackage.getComponentPort(), null, \"providingComponentPorts\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingLogicalInterfaces(), this.getInterface(), null, \"realizingLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedContextInterfaces(), this.getInterface(), null, \"realizedContextInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizingPhysicalInterfaces(), this.getInterface(), null, \"realizingPhysicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterface_RealizedLogicalInterfaces(), this.getInterface(), null, \"realizedLogicalInterfaces\", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceImplementationEClass, InterfaceImplementation.class, \"InterfaceImplementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceImplementation_InterfaceImplementor(), this.getComponent(), this.getComponent_ImplementedInterfaceLinks(), \"interfaceImplementor\", null, 1, 1, InterfaceImplementation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceImplementation_ImplementedInterface(), this.getInterface(), null, \"implementedInterface\", null, 1, 1, InterfaceImplementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceUseEClass, InterfaceUse.class, \"InterfaceUse\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceUse_InterfaceUser(), this.getComponent(), this.getComponent_UsedInterfaceLinks(), \"interfaceUser\", null, 1, 1, InterfaceUse.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceUse_UsedInterface(), this.getInterface(), null, \"usedInterface\", null, 1, 1, InterfaceUse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(providedInterfaceLinkEClass, ProvidedInterfaceLink.class, \"ProvidedInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getProvidedInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, ProvidedInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(requiredInterfaceLinkEClass, RequiredInterfaceLink.class, \"RequiredInterfaceLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRequiredInterfaceLink_Interface(), this.getInterface(), null, \"interface\", null, 1, 1, RequiredInterfaceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocationEClass, InterfaceAllocation.class, \"InterfaceAllocation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocation_AllocatedInterface(), this.getInterface(), this.getInterface_ProvisioningInterfaceAllocations(), \"allocatedInterface\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocation_AllocatingInterfaceAllocator(), this.getInterfaceAllocator(), this.getInterfaceAllocator_ProvisionedInterfaceAllocations(), \"allocatingInterfaceAllocator\", null, 1, 1, InterfaceAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);\n\n\t\tinitEClass(interfaceAllocatorEClass, InterfaceAllocator.class, \"InterfaceAllocator\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInterfaceAllocator_OwnedInterfaceAllocations(), this.getInterfaceAllocation(), null, \"ownedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_ProvisionedInterfaceAllocations(), this.getInterfaceAllocation(), this.getInterfaceAllocation_AllocatingInterfaceAllocator(), \"provisionedInterfaceAllocations\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInterfaceAllocator_AllocatedInterfaces(), this.getInterface(), null, \"allocatedInterfaces\", null, 0, -1, InterfaceAllocator.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(actorCapabilityRealizationInvolvementEClass, ActorCapabilityRealizationInvolvement.class, \"ActorCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(systemComponentCapabilityRealizationInvolvementEClass, SystemComponentCapabilityRealizationInvolvement.class, \"SystemComponentCapabilityRealizationInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(componentContextEClass, ComponentContext.class, \"ComponentContext\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(exchangeItemAllocationEClass, ExchangeItemAllocation.class, \"ExchangeItemAllocation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getExchangeItemAllocation_SendProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"sendProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExchangeItemAllocation_ReceiveProtocol(), theCommunicationPackage.getCommunicationLinkProtocol(), \"receiveProtocol\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatedItem(), theInformationPackage.getExchangeItem(), null, \"allocatedItem\", null, 0, 1, ExchangeItemAllocation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getExchangeItemAllocation_AllocatingInterface(), this.getInterface(), null, \"allocatingInterface\", null, 0, 1, ExchangeItemAllocation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deployableElementEClass, DeployableElement.class, \"DeployableElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeployableElement_DeployingLinks(), this.getAbstractDeploymentLink(), null, \"deployingLinks\", null, 0, -1, DeployableElement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deploymentTargetEClass, DeploymentTarget.class, \"DeploymentTarget\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeploymentTarget_DeploymentLinks(), this.getAbstractDeploymentLink(), null, \"deploymentLinks\", null, 0, -1, DeploymentTarget.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractDeploymentLinkEClass, AbstractDeploymentLink.class, \"AbstractDeploymentLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractDeploymentLink_DeployedElement(), this.getDeployableElement(), null, \"deployedElement\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAbstractDeploymentLink_Location(), this.getDeploymentTarget(), null, \"location\", null, 1, 1, AbstractDeploymentLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPathInvolvedElementEClass, AbstractPathInvolvedElement.class, \"AbstractPathInvolvedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(abstractPhysicalArtifactEClass, AbstractPhysicalArtifact.class, \"AbstractPhysicalArtifact\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalArtifact_AllocatorConfigurationItems(), theEpbsPackage.getConfigurationItem(), theEpbsPackage.getConfigurationItem_AllocatedPhysicalArtifacts(), \"allocatorConfigurationItems\", null, 0, -1, AbstractPhysicalArtifact.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalLinkEndEClass, AbstractPhysicalLinkEnd.class, \"AbstractPhysicalLinkEnd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAbstractPhysicalLinkEnd_InvolvedLinks(), this.getPhysicalLink(), null, \"involvedLinks\", null, 0, -1, AbstractPhysicalLinkEnd.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(abstractPhysicalPathLinkEClass, AbstractPhysicalPathLink.class, \"AbstractPhysicalPathLink\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalLinkEClass, PhysicalLink.class, \"PhysicalLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLink_LinkEnds(), this.getAbstractPhysicalLinkEnd(), null, \"linkEnds\", null, 2, 2, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedComponentExchangeFunctionalExchangeAllocations(), theFaPackage.getComponentExchangeFunctionalExchangeAllocation(), null, \"ownedComponentExchangeFunctionalExchangeAllocations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkEnds(), this.getPhysicalLinkEnd(), null, \"ownedPhysicalLinkEnds\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_OwnedPhysicalLinkRealizations(), this.getPhysicalLinkRealization(), null, \"ownedPhysicalLinkRealizations\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_Categories(), this.getPhysicalLinkCategory(), this.getPhysicalLinkCategory_Links(), \"categories\", null, 0, -1, PhysicalLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_SourcePhysicalPort(), this.getPhysicalPort(), null, \"sourcePhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_TargetPhysicalPort(), this.getPhysicalPort(), null, \"targetPhysicalPort\", null, 0, 1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizedPhysicalLinks(), this.getPhysicalLink(), null, \"realizedPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLink_RealizingPhysicalLinks(), this.getPhysicalLink(), null, \"realizingPhysicalLinks\", null, 0, -1, PhysicalLink.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkCategoryEClass, PhysicalLinkCategory.class, \"PhysicalLinkCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkCategory_Links(), this.getPhysicalLink(), this.getPhysicalLink_Categories(), \"links\", null, 0, -1, PhysicalLinkCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkEndEClass, PhysicalLinkEnd.class, \"PhysicalLinkEnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalLinkEnd_Port(), this.getPhysicalPort(), null, \"port\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalLinkEnd_Part(), this.getPart(), null, \"part\", null, 0, 1, PhysicalLinkEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalLinkRealizationEClass, PhysicalLinkRealization.class, \"PhysicalLinkRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPathEClass, PhysicalPath.class, \"PhysicalPath\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPath_InvolvedLinks(), this.getAbstractPhysicalPathLink(), null, \"involvedLinks\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"ownedPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_FirstPhysicalPathInvolvements(), this.getPhysicalPathInvolvement(), null, \"firstPhysicalPathInvolvements\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_OwnedPhysicalPathRealizations(), this.getPhysicalPathRealization(), null, \"ownedPhysicalPathRealizations\", null, 0, -1, PhysicalPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizedPhysicalPaths(), this.getPhysicalPath(), null, \"realizedPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPath_RealizingPhysicalPaths(), this.getPhysicalPath(), null, \"realizingPhysicalPaths\", null, 0, -1, PhysicalPath.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathInvolvementEClass, PhysicalPathInvolvement.class, \"PhysicalPathInvolvement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathInvolvement_NextInvolvements(), this.getPhysicalPathInvolvement(), null, \"nextInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_PreviousInvolvements(), this.getPhysicalPathInvolvement(), null, \"previousInvolvements\", null, 0, -1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedElement(), this.getAbstractPathInvolvedElement(), null, \"involvedElement\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPathInvolvement_InvolvedComponent(), this.getComponent(), null, \"involvedComponent\", null, 0, 1, PhysicalPathInvolvement.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathReferenceEClass, PhysicalPathReference.class, \"PhysicalPathReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPathReference_ReferencedPhysicalPath(), this.getPhysicalPath(), null, \"referencedPhysicalPath\", null, 0, 1, PhysicalPathReference.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPathRealizationEClass, PhysicalPathRealization.class, \"PhysicalPathRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(physicalPortEClass, PhysicalPort.class, \"PhysicalPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPhysicalPort_OwnedComponentPortAllocations(), theFaPackage.getComponentPortAllocation(), null, \"ownedComponentPortAllocations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_OwnedPhysicalPortRealizations(), this.getPhysicalPortRealization(), null, \"ownedPhysicalPortRealizations\", null, 0, -1, PhysicalPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_AllocatedComponentPorts(), theFaPackage.getComponentPort(), theFaPackage.getComponentPort_AllocatingPhysicalPorts(), \"allocatedComponentPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizedPhysicalPorts(), this.getPhysicalPort(), null, \"realizedPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPhysicalPort_RealizingPhysicalPorts(), this.getPhysicalPort(), null, \"realizingPhysicalPorts\", null, 0, -1, PhysicalPort.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(physicalPortRealizationEClass, PhysicalPortRealization.class, \"PhysicalPortRealization\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.polarsys.org/kitalpha/dsl/2007/dslfactory\n\t\tcreateDslfactoryAnnotations();\n\t\t// http://www.polarsys.org/kitalpha/ecore/documentation\n\t\tcreateDocumentationAnnotations();\n\t\t// http://www.polarsys.org/capella/semantic\n\t\tcreateSemanticAnnotations();\n\t\t// http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping\n\t\tcreateMappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/BusinessInformation\n\t\tcreateBusinessInformationAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/UML2Mapping\n\t\tcreateUML2MappingAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment\n\t\tcreateSegmentAnnotations();\n\t\t// http://www.polarsys.org/capella/derived\n\t\tcreateDerivedAnnotations();\n\t\t// aspect\n\t\tcreateAspectAnnotations();\n\t\t// http://www.polarsys.org/capella/2007/ImpactAnalysis/Ignore\n\t\tcreateIgnoreAnnotations();\n\t}", "public void setBasePackage(boolean isDefaultHidden) {\n this.isBasePackage = isDefaultHidden;\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tjElementEClass = createEClass(JELEMENT);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__UUID);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__SHORT_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FULL_NAME);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__DESCRIPTION);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__FRAMEWORK);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__PARTICIPATES);\n\t\tcreateEAttribute(jElementEClass, JELEMENT__VISIBILITY);\n\n\t\tjTypeEClass = createEClass(JTYPE);\n\n\t\tjTypedElementEClass = createEClass(JTYPED_ELEMENT);\n\t\tcreateEReference(jTypedElementEClass, JTYPED_ELEMENT__TYPE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__VALUE);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__DERIVED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__CALCULATED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__LOWER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UPPER);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__ORDERED);\n\t\tcreateEAttribute(jTypedElementEClass, JTYPED_ELEMENT__UNIQUE);\n\n\t\tjPrimitiveEClass = createEClass(JPRIMITIVE);\n\t\tcreateEReference(jPrimitiveEClass, JPRIMITIVE__PACKAGE);\n\t\tcreateEAttribute(jPrimitiveEClass, JPRIMITIVE__USE_FOR_ID_TYPE);\n\n\t\tjEnumerationEClass = createEClass(JENUMERATION);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__PACKAGE);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__LITERALS);\n\t\tcreateEReference(jEnumerationEClass, JENUMERATION__CLASS_REPRESENTATION);\n\n\t\tjClassEClass = createEClass(JCLASS);\n\t\tcreateEAttribute(jClassEClass, JCLASS__ABSTRACT);\n\t\tcreateEReference(jClassEClass, JCLASS__STATE_MACHINES);\n\t\tcreateEReference(jClassEClass, JCLASS__OPERATIONS);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTE_ORDER);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES_FOR_LISTING);\n\t\tcreateEReference(jClassEClass, JCLASS__FIXED_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT);\n\t\tcreateEAttribute(jClassEClass, JCLASS__TENANT_MEMBER);\n\t\tcreateEReference(jClassEClass, JCLASS__REPRESENTATION);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_TENANT_USER);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_USER);\n\t\tcreateEReference(jClassEClass, JCLASS__SUPERTYPE);\n\t\tcreateEReference(jClassEClass, JCLASS__PACKAGE);\n\t\tcreateEReference(jClassEClass, JCLASS__ROLES);\n\t\tcreateEReference(jClassEClass, JCLASS__ATTRIBUTES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__BUSINESS_SINGLETON);\n\t\tcreateEReference(jClassEClass, JCLASS__ALIASES);\n\t\tcreateEAttribute(jClassEClass, JCLASS__WATCHED);\n\t\tcreateEAttribute(jClassEClass, JCLASS__REPRESENTS_ENUM_VALUE);\n\n\t\tjAttributeEClass = createEClass(JATTRIBUTE);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__PLACEHOLDER);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REGEXP);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__MANDATORY);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__DECIMALS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__INTERVAL);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__TECHNICAL);\n\t\tcreateEReference(jAttributeEClass, JATTRIBUTE__OWNER_CLASS);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__UI_NO_SEARCH);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__WATCHED);\n\t\tcreateEAttribute(jAttributeEClass, JATTRIBUTE__REPRESENTS_ID);\n\n\t\tjOperationEClass = createEClass(JOPERATION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__CLASS_BASED);\n\t\tcreateEReference(jOperationEClass, JOPERATION__OWNER_CLASS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__PARAMETERS);\n\t\tcreateEReference(jOperationEClass, JOPERATION__TRANSITION);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__BULK);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__KIND);\n\t\tcreateEAttribute(jOperationEClass, JOPERATION__UI_MUST_CONFIRM);\n\n\t\tjParameterEClass = createEClass(JPARAMETER);\n\t\tcreateEReference(jParameterEClass, JPARAMETER__OWNER_OPERATION);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INPUT);\n\t\tcreateEAttribute(jParameterEClass, JPARAMETER__INTERVAL);\n\n\t\tjRelationshipEClass = createEClass(JRELATIONSHIP);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__PACKAGE);\n\t\tcreateEReference(jRelationshipEClass, JRELATIONSHIP__ROLES);\n\t\tcreateEAttribute(jRelationshipEClass, JRELATIONSHIP__DERIVED);\n\n\t\tjRoleEClass = createEClass(JROLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__LOWER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UPPER);\n\t\tcreateEAttribute(jRoleEClass, JROLE__NAVIGABLE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__UNIQUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__ORDERED);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_RELATIONSHIP);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_EXPRESSION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__DERIVED_DESCRIPTION);\n\t\tcreateEAttribute(jRoleEClass, JROLE__KIND);\n\t\tcreateEAttribute(jRoleEClass, JROLE__OPTION_SCRIPT);\n\t\tcreateEReference(jRoleEClass, JROLE__OWNER_CLASS);\n\t\tcreateEAttribute(jRoleEClass, JROLE__VALUE);\n\t\tcreateEAttribute(jRoleEClass, JROLE__CALCULATED);\n\t\tcreateEAttribute(jRoleEClass, JROLE__INTERVAL);\n\n\t\tjLiteralEClass = createEClass(JLITERAL);\n\t\tcreateEReference(jLiteralEClass, JLITERAL__ENUMERATION);\n\n\t\tjPackageEClass = createEClass(JPACKAGE);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__ENUMERATIONS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PRIMITIVES);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__RELATIONSHIPS);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CHILDREN);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__PARENT);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__OWNER_MODEL);\n\t\tcreateEReference(jPackageEClass, JPACKAGE__CLASSES);\n\n\t\tjStateMachineEClass = createEClass(JSTATE_MACHINE);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__OWNER_CLASS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__STATES);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__TRANSITIONS);\n\t\tcreateEReference(jStateMachineEClass, JSTATE_MACHINE__CORRESPONDING_ENUM);\n\n\t\tjTransitionEClass = createEClass(JTRANSITION);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__STATE_MACHINE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__GUARD);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__TO_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__FROM_STATE);\n\t\tcreateEReference(jTransitionEClass, JTRANSITION__EXECUTING_OPERATION);\n\n\t\tjStateEClass = createEClass(JSTATE);\n\t\tcreateEReference(jStateEClass, JSTATE__OWNER_STATE_MACHINE);\n\t\tcreateEReference(jStateEClass, JSTATE__INCOMING_TRANSITIONS);\n\t\tcreateEReference(jStateEClass, JSTATE__OUTGOING_TRANSITIONS);\n\t\tcreateEAttribute(jStateEClass, JSTATE__INITIAL_STATE);\n\t\tcreateEAttribute(jStateEClass, JSTATE__FINAL_STATE);\n\n\t\tjGuardEClass = createEClass(JGUARD);\n\t\tcreateEReference(jGuardEClass, JGUARD__TRANSITION);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__TEXT);\n\t\tcreateEAttribute(jGuardEClass, JGUARD__EXPRESSION);\n\n\t\tjModelEClass = createEClass(JMODEL);\n\t\tcreateEReference(jModelEClass, JMODEL__PACKAGES);\n\t\tcreateEAttribute(jModelEClass, JMODEL__PACKAGE_PREFIX);\n\t\tcreateEReference(jModelEClass, JMODEL__APPLICATION_TOP);\n\t\tcreateEReference(jModelEClass, JMODEL__ROOT_MENU_ITEMS);\n\t\tcreateEReference(jModelEClass, JMODEL__INFO);\n\n\t\tjuiMenuItemEClass = createEClass(JUI_MENU_ITEM);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__CHILDREN);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__PARENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__REPRESENT);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__UIFILTERS);\n\t\tcreateEAttribute(juiMenuItemEClass, JUI_MENU_ITEM__TYPE);\n\t\tcreateEReference(juiMenuItemEClass, JUI_MENU_ITEM__ALIAS);\n\n\t\tjuiAttributeGroupEClass = createEClass(JUI_ATTRIBUTE_GROUP);\n\t\tcreateEReference(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__ATTRIBUTES);\n\t\tcreateEAttribute(juiAttributeGroupEClass, JUI_ATTRIBUTE_GROUP__POSITION);\n\n\t\tjuiFilterEClass = createEClass(JUI_FILTER);\n\t\tcreateEReference(juiFilterEClass, JUI_FILTER__ATTRIBUTE);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__OPERATOR);\n\t\tcreateEAttribute(juiFilterEClass, JUI_FILTER__VALUE);\n\n\t\tjuiAliasEClass = createEClass(JUI_ALIAS);\n\t\tcreateEReference(juiAliasEClass, JUI_ALIAS__OWNER_CLASS);\n\n\t\tjInfoEClass = createEClass(JINFO);\n\t\tcreateEReference(jInfoEClass, JINFO__SUBMODELS);\n\n\t\tjSubmodelEClass = createEClass(JSUBMODEL);\n\t\tcreateEAttribute(jSubmodelEClass, JSUBMODEL__VERSION);\n\n\t\t// Create enums\n\t\tjVisibilityEEnum = createEEnum(JVISIBILITY);\n\t\tjAssociationKindEEnum = createEEnum(JASSOCIATION_KIND);\n\t\tjOperationKindEEnum = createEEnum(JOPERATION_KIND);\n\t\tjLayerEEnum = createEEnum(JLAYER);\n\t\tjMenuItemTypeEEnum = createEEnum(JMENU_ITEM_TYPE);\n\t\tjOperatorEEnum = createEEnum(JOPERATOR);\n\t}", "public void createPackageContents()\n\t{\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create data types\n\t\tfeatureNotFoundExceptionEDataType = createEDataType(FEATURE_NOT_FOUND_EXCEPTION);\n\t}", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Elements(), this.getElement(), null, \"elements\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getElement_State(), this.getState(), null, \"state\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getElement_Transition(), this.getTransition(), null, \"transition\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getState_StatesProperties(), this.getStatesProperties(), null, \"statesProperties\", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(statesPropertiesEClass, StatesProperties.class, \"StatesProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStatesProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getStatesProperties_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, StatesProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTransition_Start(), this.getCoordinatesStatesTransition(), null, \"start\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_End(), this.getCoordinatesStatesTransition(), null, \"end\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_TransitionProperties(), this.getTransitionProperties(), null, \"transitionProperties\", null, 0, -1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getTransition_Label(), this.getLabel(), null, \"label\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransition_Init(), ecorePackage.getEString(), \"init\", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(labelEClass, Label.class, \"Label\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLabel_Text(), ecorePackage.getEString(), \"text\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLabel_Position(), ecorePackage.getEString(), \"position\", null, 0, 1, Label.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coordinatesStatesTransitionEClass, CoordinatesStatesTransition.class, \"CoordinatesStatesTransition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoordinatesStatesTransition_StateTransition(), ecorePackage.getEString(), \"stateTransition\", null, 0, 1, CoordinatesStatesTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(transitionPropertiesEClass, TransitionProperties.class, \"TransitionProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTransitionProperties_Color(), ecorePackage.getEString(), \"color\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Thickness(), ecorePackage.getEString(), \"thickness\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTransitionProperties_Curve(), ecorePackage.getEString(), \"curve\", null, 0, 1, TransitionProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tldprojectEClass = createEClass(LDPROJECT);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__NAME);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__LIFECYCLE);\n\t\tcreateEAttribute(ldprojectEClass, LDPROJECT__ROBUSTNESS);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___PUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UNPUBLISH);\n\t\tcreateEOperation(ldprojectEClass, LDPROJECT___UPDATE);\n\n\t\tlddatabaselinkEClass = createEClass(LDDATABASELINK);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__DATABASE);\n\t\tcreateEAttribute(lddatabaselinkEClass, LDDATABASELINK__PORT);\n\n\t\tldprojectlinkEClass = createEClass(LDPROJECTLINK);\n\n\t\tldnodeEClass = createEClass(LDNODE);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__NAME);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MONGO_HOSTS);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__MAIN_PROJECT);\n\t\tcreateEAttribute(ldnodeEClass, LDNODE__ANALYTICS_READ_PREFERENCE);\n\n\t\t// Create enums\n\t\tlifecycleEEnum = createEEnum(LIFECYCLE);\n\t\trobustnessEEnum = createEEnum(ROBUSTNESS);\n\t}", "@Override\r\n\tpublic Package adaptedPackage() {\n\t\treturn null;\r\n\t}", "public void relocate(String sPkg)\n {\n if (!sPkg.replace('.', '/').equals(Relocator.PACKAGE))\n {\n resolve(new Relocator(sPkg));\n }\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(packageDeclarationEClass, PackageDeclaration.class, \"PackageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPackageDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPackageDeclaration_Content(), this.getNamedElement(), null, \"content\", null, 0, -1, PackageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(referenceableEClass, Referenceable.class, \"Referenceable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(treeEClass, Tree.class, \"Tree\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTree_Children(), this.getNode(), null, \"children\", null, 0, -1, Tree.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(nodeEClass, Node.class, \"Node\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNode_Children(), this.getNode(), null, \"children\", null, 0, -1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNode_Name(), ecorePackage.getEString(), \"name\", \"Node\", 0, 1, Node.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// gmf.diagram\n\t\tcreateGmfAnnotations();\n\t\t// gmf.node\n\t\tcreateGmf_1Annotations();\n\t\t// gmf.compartment\n\t\tcreateGmf_2Annotations();\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tGraphic_representationPackage theGraphic_representationPackage = (Graphic_representationPackage)EPackage.Registry.INSTANCE.getEPackage(Graphic_representationPackage.eNS_URI);\n\t\tSplitterLibraryPackage theSplitterLibraryPackage = (SplitterLibraryPackage)EPackage.Registry.INSTANCE.getEPackage(SplitterLibraryPackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tconcreteStrategyLabelFirstStringEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyLabelIdentifierEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyLabelParameterEClass.getESuperTypes().add(this.getStrategyLabel());\n\t\tconcreteStrategyMaxContainmentEClass.getESuperTypes().add(this.getStrategyRootSelection());\n\t\tconcreteStrategyNoParentEClass.getESuperTypes().add(this.getStrategyRootSelection());\n\t\tconcreteStrategyPaletteEClass.getESuperTypes().add(this.getStrategyPalette());\n\t\tconcreteStrategyArcSelectionEClass.getESuperTypes().add(this.getStrategyArcSelection());\n\t\tdefaultArcParameterEClass.getESuperTypes().add(this.getArcParameter());\n\t\tconcreteStrategyArcDirectionEClass.getESuperTypes().add(this.getStrategyArcDirection());\n\t\tconcreteStrategyDefaultDirectionEClass.getESuperTypes().add(this.getStrategyArcDirection());\n\t\tconcreteStrategyDefaultNodeSelectionEClass.getESuperTypes().add(this.getStrategyNodeSelection());\n\t\tconcreteStrategyContainmentDiagramElementEClass.getESuperTypes().add(this.getStrategyPossibleElements());\n\t\tconcreteContainmentasAffixedEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\t\tconcreteContainmentasLinksEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\t\tconcreteContainmentasCompartmentsEClass.getESuperTypes().add(this.getStrategyLinkCompartment());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(heuristicStrategyEClass, HeuristicStrategy.class, \"HeuristicStrategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHeuristicStrategy_Graphic_representation(), theGraphic_representationPackage.getGraphicRepresentation(), null, \"graphic_representation\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_Nemf(), theSplitterLibraryPackage.getEcoreEMF(), null, \"nemf\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_EcoreContainment(), this.getEcoreMatrixContainment(), null, \"ecoreContainment\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getHeuristicStrategy_CurrentRepresentation(), ecorePackage.getEIntegerObject(), \"currentRepresentation\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getHeuristicStrategy_CurrentMMGR(), theEcorePackage.getEIntegerObject(), \"currentMMGR\", null, 0, 1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategy_ListRepresentation(), this.getRepreHeurSS(), null, \"listRepresentation\", null, 0, -1, HeuristicStrategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__ExecuteHeuristics(), null, \"ExecuteHeuristics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__Execute_Root_Element(), null, \"Execute_Root_Element\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__Execute_Graphical_Elements(), null, \"Execute_Graphical_Elements\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getHeuristicStrategy__GetFeatureName__EClass_EClass(), ecorePackage.getEReference(), \"GetFeatureName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"parentEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"childEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getHeuristicStrategy__GetEListEClassfromEReference__EReference(), theGraphic_representationPackage.getNode(), \"GetEListEClassfromEReference\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEReference(), \"anEReference\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getHeuristicStrategy__ExecuteDirectPathMatrix(), null, \"ExecuteDirectPathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyLinkEClass, ConcreteStrategyLink.class, \"ConcreteStrategyLink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyLabelEClass, StrategyLabel.class, \"StrategyLabel\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyLabel__GetLabel__EClass(), ecorePackage.getEAttribute(), \"GetLabel\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyLabelFirstStringEClass, ConcreteStrategyLabelFirstString.class, \"ConcreteStrategyLabelFirstString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyLabelIdentifierEClass, ConcreteStrategyLabelIdentifier.class, \"ConcreteStrategyLabelIdentifier\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyLabelParameterEClass, ConcreteStrategyLabelParameter.class, \"ConcreteStrategyLabelParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcreteStrategyLabelParameter_Label_parameter(), this.getLabelParameter(), null, \"label_parameter\", null, 0, 1, ConcreteStrategyLabelParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(labelParameterEClass, LabelParameter.class, \"LabelParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLabelParameter_List_label(), ecorePackage.getEString(), \"list_label\", null, 0, -1, LabelParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLabelParameter__ToCommaSeparatedStringLabel(), ecorePackage.getEString(), \"toCommaSeparatedStringLabel\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLabelParameter__DefaultParameters(), null, \"DefaultParameters\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(strategyRootSelectionEClass, StrategyRootSelection.class, \"StrategyRootSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyRootSelection__Get_Root__EList_EList(), ecorePackage.getEClass(), \"Get_Root\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEEList());\n\t\tEGenericType g2 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"ContainmentMatrix\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyRootSelection__List_Root__EList_EList(), ecorePackage.getEClass(), \"List_Root\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"ContainmentMatrix\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyMaxContainmentEClass, ConcreteStrategyMaxContainment.class, \"ConcreteStrategyMaxContainment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteStrategyNoParentEClass, ConcreteStrategyNoParent.class, \"ConcreteStrategyNoParent\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyPaletteEClass, StrategyPalette.class, \"StrategyPalette\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyPalette__Get_Palette__EObject(), ecorePackage.getEString(), \"Get_Palette\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEObject(), \"anEObject\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyPaletteEClass, ConcreteStrategyPalette.class, \"ConcreteStrategyPalette\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyArcSelectionEClass, StrategyArcSelection.class, \"StrategyArcSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyArcSelection_Arc_direction(), this.getStrategyArcDirection(), null, \"arc_direction\", null, 0, 1, StrategyArcSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyArcSelection__IsArc__EClass(), ecorePackage.getEBooleanObject(), \"IsArc\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyArcSelectionEClass, ConcreteStrategyArcSelection.class, \"ConcreteStrategyArcSelection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyArcDirectionEClass, StrategyArcDirection.class, \"StrategyArcDirection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyArcDirection__Get_Direction__EClass(), theGraphic_representationPackage.getEdge_Direction(), \"Get_Direction\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(arcParameterEClass, ArcParameter.class, \"ArcParameter\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArcParameter_Source(), ecorePackage.getEString(), \"source\", null, 0, -1, ArcParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getArcParameter_Target(), ecorePackage.getEString(), \"target\", null, 0, -1, ArcParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getArcParameter__DefaultParam(), null, \"DefaultParam\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(defaultArcParameterEClass, DefaultArcParameter.class, \"DefaultArcParameter\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getDefaultArcParameter__ToCommaSeparatedStringSource(), ecorePackage.getEString(), \"toCommaSeparatedStringSource\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getDefaultArcParameter__ToCommaSeparatedStringTarget(), ecorePackage.getEString(), \"toCommaSeparatedStringTarget\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyArcDirectionEClass, ConcreteStrategyArcDirection.class, \"ConcreteStrategyArcDirection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcreteStrategyArcDirection_Param(), this.getArcParameter(), null, \"param\", null, 0, 1, ConcreteStrategyArcDirection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getConcreteStrategyArcDirection__ContainsStringEReferenceName__EList_String(), ecorePackage.getEBoolean(), \"ContainsStringEReferenceName\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"ListStrings\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"anString\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyDefaultDirectionEClass, ConcreteStrategyDefaultDirection.class, \"ConcreteStrategyDefaultDirection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyNodeSelectionEClass, StrategyNodeSelection.class, \"StrategyNodeSelection\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\top = initEOperation(getStrategyNodeSelection__IsNode__EClass(), ecorePackage.getEBooleanObject(), \"IsNode\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyDefaultNodeSelectionEClass, ConcreteStrategyDefaultNodeSelection.class, \"ConcreteStrategyDefaultNodeSelection\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(strategyPossibleElementsEClass, StrategyPossibleElements.class, \"StrategyPossibleElements\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyPossibleElements_EClassNoElements(), ecorePackage.getEClass(), null, \"EClassNoElements\", null, 0, -1, StrategyPossibleElements.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyPossibleElements__PossibleElements__EClass_EList_EList(), ecorePackage.getEClass(), \"PossibleElements\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"rootEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tEGenericType g3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\taddEParameter(op, g1, \"pathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteStrategyContainmentDiagramElementEClass, ConcreteStrategyContainmentDiagramElement.class, \"ConcreteStrategyContainmentDiagramElement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ecoreMatrixContainmentEClass, EcoreMatrixContainment.class, \"EcoreMatrixContainment\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\tinitEAttribute(getEcoreMatrixContainment_Direct_MatrixContainment(), g1, \"direct_MatrixContainment\", null, 0, 1, EcoreMatrixContainment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tg1 = createEGenericType(ecorePackage.getEEList());\n\t\tg2 = createEGenericType(ecorePackage.getEEList());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg3 = createEGenericType(ecorePackage.getEBooleanObject());\n\t\tg2.getETypeArguments().add(g3);\n\t\tinitEAttribute(getEcoreMatrixContainment_PathMatrix(), g1, \"pathMatrix\", null, 0, 1, EcoreMatrixContainment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetParent__Integer(), ecorePackage.getEIntegerObject(), \"GetParent\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEIntegerObject(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetDirectMatrixContainment__EList(), ecorePackage.getEBooleanObject(), \"GetDirectMatrixContainment\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getEcoreMatrixContainment__GetPathMatrix(), ecorePackage.getEBooleanObject(), \"GetPathMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getEcoreMatrixContainment__CopyMatrix(), null, \"CopyMatrix\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__PrintDirectMatrixContainment__EList(), null, \"PrintDirectMatrixContainment\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetEAllChilds__EClass_EList(), theEcorePackage.getEClass(), \"getEAllChilds\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"eClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEClass(), \"listEClass\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = initEOperation(getEcoreMatrixContainment__GetAllParents__Integer(), ecorePackage.getEIntegerObject(), \"getAllParents\", 0, -1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEIntegerObject(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(heuristicStrategySettingsEClass, HeuristicStrategySettings.class, \"HeuristicStrategySettings\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_label(), this.getStrategyLabel(), null, \"strategy_label\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_root(), this.getStrategyRootSelection(), null, \"strategy_root\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_palette(), this.getStrategyPalette(), null, \"strategy_palette\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_arcSelection(), this.getStrategyArcSelection(), null, \"strategy_arcSelection\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_node_selection(), this.getStrategyNodeSelection(), null, \"strategy_node_selection\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_possibleElements(), this.getStrategyPossibleElements(), null, \"strategy_possibleElements\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getHeuristicStrategySettings_Strategy_linkcompartment(), this.getStrategyLinkCompartment(), null, \"strategy_linkcompartment\", null, 0, 1, HeuristicStrategySettings.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyLinkCompartmentEClass, StrategyLinkCompartment.class, \"StrategyLinkCompartment\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStrategyLinkCompartment_ListLinks(), ecorePackage.getEReference(), null, \"listLinks\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategyLinkCompartment_ListCompartment(), ecorePackage.getEReference(), null, \"listCompartment\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategyLinkCompartment_ListAffixed(), ecorePackage.getEReference(), null, \"listAffixed\", null, 0, -1, StrategyLinkCompartment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\top = initEOperation(getStrategyLinkCompartment__ExecuteLinkCompartmentsHeuristics__EClass(), null, \"ExecuteLinkCompartmentsHeuristics\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEClass(), \"anEClass\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(concreteContainmentasAffixedEClass, ConcreteContainmentasAffixed.class, \"ConcreteContainmentasAffixed\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteContainmentasLinksEClass, ConcreteContainmentasLinks.class, \"ConcreteContainmentasLinks\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(concreteContainmentasCompartmentsEClass, ConcreteContainmentasCompartments.class, \"ConcreteContainmentasCompartments\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(repreHeurSSEClass, RepreHeurSS.class, \"RepreHeurSS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRepreHeurSS_HeuristicStrategySettings(), this.getHeuristicStrategySettings(), null, \"heuristicStrategySettings\", null, 0, -1, RepreHeurSS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tUMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);\n\t\tTypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(textualRepresentationEClass, TextualRepresentation.class, \"TextualRepresentation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTextualRepresentation_Base_Comment(), theUMLPackage.getComment(), null, \"base_Comment\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\t\tinitEAttribute(getTextualRepresentation_Language(), theTypesPackage.getString(), \"language\", null, 1, 1, TextualRepresentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\ttoUseSolverCpFolderEClass = createEClass(TO_USE_SOLVER_CP_FOLDER);\n\t\tcreateEReference(toUseSolverCpFolderEClass, TO_USE_SOLVER_CP_FOLDER__SUB_FOLDERS);\n\t\tcreateEAttribute(toUseSolverCpFolderEClass, TO_USE_SOLVER_CP_FOLDER__NAME);\n\t\tcreateEReference(toUseSolverCpFolderEClass, TO_USE_SOLVER_CP_FOLDER__TO_USE_GENERATORS);\n\n\t\ttoUseSolverCpGeneratorEClass = createEClass(TO_USE_SOLVER_CP_GENERATOR);\n\t\tcreateEReference(toUseSolverCpGeneratorEClass, TO_USE_SOLVER_CP_GENERATOR__SOLVER);\n\t\tcreateEReference(toUseSolverCpGeneratorEClass, TO_USE_SOLVER_CP_GENERATOR__TO_USE_TUPLES);\n\n\t\ttoUseSolverCpTupleEClass = createEClass(TO_USE_SOLVER_CP_TUPLE);\n\t\tcreateEReference(toUseSolverCpTupleEClass, TO_USE_SOLVER_CP_TUPLE__TO_USE_LINEARS);\n\t\tcreateEReference(toUseSolverCpTupleEClass, TO_USE_SOLVER_CP_TUPLE__TO_USE_VARS);\n\t\tcreateEReference(toUseSolverCpTupleEClass, TO_USE_SOLVER_CP_TUPLE__TO_USE_LOGICALS);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated)\n\t\t\treturn;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tprojectEClass = createEClass(PROJECT);\n\t\tcreateEReference(projectEClass, PROJECT__PLUGINS);\n\t\tcreateEAttribute(projectEClass, PROJECT__NAME);\n\t\tcreateEReference(projectEClass, PROJECT__REPOSITORIES);\n\t\tcreateEReference(projectEClass, PROJECT__DEPENDENCIES);\n\t\tcreateEReference(projectEClass, PROJECT__VIEWS);\n\t\tcreateEReference(projectEClass, PROJECT__PROPERTIES);\n\n\t\tpluginEClass = createEClass(PLUGIN);\n\t\tcreateEReference(pluginEClass, PLUGIN__REPOSITORIES);\n\t\tcreateEReference(pluginEClass, PLUGIN__OUTPUT_PORTS);\n\t\tcreateEReference(pluginEClass, PLUGIN__DISPLAYS);\n\n\t\tportEClass = createEClass(PORT);\n\t\tcreateEAttribute(portEClass, PORT__NAME);\n\t\tcreateEAttribute(portEClass, PORT__EVENT_TYPES);\n\t\tcreateEAttribute(portEClass, PORT__ID);\n\n\t\tinputPortEClass = createEClass(INPUT_PORT);\n\t\tcreateEReference(inputPortEClass, INPUT_PORT__PARENT);\n\n\t\toutputPortEClass = createEClass(OUTPUT_PORT);\n\t\tcreateEReference(outputPortEClass, OUTPUT_PORT__SUBSCRIBERS);\n\t\tcreateEReference(outputPortEClass, OUTPUT_PORT__PARENT);\n\n\t\tpropertyEClass = createEClass(PROPERTY);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__NAME);\n\t\tcreateEAttribute(propertyEClass, PROPERTY__VALUE);\n\n\t\tfilterEClass = createEClass(FILTER);\n\t\tcreateEReference(filterEClass, FILTER__INPUT_PORTS);\n\n\t\treaderEClass = createEClass(READER);\n\n\t\trepositoryEClass = createEClass(REPOSITORY);\n\n\t\tdependencyEClass = createEClass(DEPENDENCY);\n\t\tcreateEAttribute(dependencyEClass, DEPENDENCY__FILE_PATH);\n\n\t\trepositoryConnectorEClass = createEClass(REPOSITORY_CONNECTOR);\n\t\tcreateEAttribute(repositoryConnectorEClass, REPOSITORY_CONNECTOR__NAME);\n\t\tcreateEReference(repositoryConnectorEClass, REPOSITORY_CONNECTOR__REPOSITORY);\n\t\tcreateEAttribute(repositoryConnectorEClass, REPOSITORY_CONNECTOR__ID);\n\n\t\tdisplayEClass = createEClass(DISPLAY);\n\t\tcreateEAttribute(displayEClass, DISPLAY__NAME);\n\t\tcreateEReference(displayEClass, DISPLAY__PARENT);\n\t\tcreateEAttribute(displayEClass, DISPLAY__ID);\n\n\t\tviewEClass = createEClass(VIEW);\n\t\tcreateEAttribute(viewEClass, VIEW__NAME);\n\t\tcreateEAttribute(viewEClass, VIEW__DESCRIPTION);\n\t\tcreateEReference(viewEClass, VIEW__DISPLAY_CONNECTORS);\n\t\tcreateEAttribute(viewEClass, VIEW__ID);\n\n\t\tdisplayConnectorEClass = createEClass(DISPLAY_CONNECTOR);\n\t\tcreateEAttribute(displayConnectorEClass, DISPLAY_CONNECTOR__NAME);\n\t\tcreateEReference(displayConnectorEClass, DISPLAY_CONNECTOR__DISPLAY);\n\t\tcreateEAttribute(displayConnectorEClass, DISPLAY_CONNECTOR__ID);\n\n\t\tanalysisComponentEClass = createEClass(ANALYSIS_COMPONENT);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__NAME);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__CLASSNAME);\n\t\tcreateEReference(analysisComponentEClass, ANALYSIS_COMPONENT__PROPERTIES);\n\t\tcreateEAttribute(analysisComponentEClass, ANALYSIS_COMPONENT__ID);\n\t}", "public void updateI18N() {\n\t\t/* Update I18N in the menuStructure */\n\t\tappMenu.updateI18N();\n\t\t/* Pack all */\n\t\tLayoutShop.packAll(shell);\n\t}", "@Override\n protected void endRefactoring() {\n for (Map.Entry<Library, ListMultimap<OrderRootType, String>> entry : originalRoots.entrySet()) {\n Library library = entry.getKey();\n ListMultimap<OrderRootType, String> roots = entry.getValue();\n final ExistingLibraryEditor editor = new ExistingLibraryEditor(library, null);\n editor.removeAllRoots();\n for (Map.Entry<OrderRootType, String> root : roots.entries()) {\n editor.addRoot(root.getValue(), root.getKey());\n }\n ApplicationManager.getApplication().runWriteAction(editor::commit);\n LOG.info(\"Restored library roots of \" + library + \" with \" + roots);\n }\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(metadataEClass, Metadata.class, \"Metadata\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMetadata_Gamename(), ecorePackage.getEString(), \"Gamename\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Shortname(), ecorePackage.getEString(), \"Shortname\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Timing(), ecorePackage.getEString(), \"Timing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Adressing(), ecorePackage.getEString(), \"Adressing\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_CartridgeType(), ecorePackage.getEString(), \"CartridgeType\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RomSize(), ecorePackage.getEString(), \"RomSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_RamSize(), ecorePackage.getEString(), \"RamSize\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Licensee(), ecorePackage.getEString(), \"Licensee\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Country(), ecorePackage.getEString(), \"Country\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Videoformat(), ecorePackage.getEString(), \"Videoformat\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_Version(), ecorePackage.getEInt(), \"Version\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMetadata_IdeVersion(), ecorePackage.getEString(), \"IdeVersion\", null, 0, 1, Metadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\torg.abchip.mimo.entity.EntityPackage theEntityPackage_1 = (org.abchip.mimo.entity.EntityPackage)EPackage.Registry.INSTANCE.getEPackage(org.abchip.mimo.entity.EntityPackage.eNS_URI);\n\t\tPartyPackage thePartyPackage_1 = (PartyPackage)EPackage.Registry.INSTANCE.getEPackage(PartyPackage.eNS_URI);\n\t\tStatusPackage theStatusPackage = (StatusPackage)EPackage.Registry.INSTANCE.getEPackage(StatusPackage.eNS_URI);\n\t\tContentPackage theContentPackage = (ContentPackage)EPackage.Registry.INSTANCE.getEPackage(ContentPackage.eNS_URI);\n\t\tPositionPackage thePositionPackage = (PositionPackage)EPackage.Registry.INSTANCE.getEPackage(PositionPackage.eNS_URI);\n\t\tPaymentPackage thePaymentPackage = (PaymentPackage)EPackage.Registry.INSTANCE.getEPackage(PaymentPackage.eNS_URI);\n\t\tTrainingsPackage theTrainingsPackage = (TrainingsPackage)EPackage.Registry.INSTANCE.getEPackage(TrainingsPackage.eNS_URI);\n\t\tWorkeffortPackage theWorkeffortPackage = (WorkeffortPackage)EPackage.Registry.INSTANCE.getEPackage(WorkeffortPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tEGenericType g1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tEGenericType g2 = createEGenericType(this.getPartyQualType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPartyQual());\n\t\tg1.getETypeArguments().add(g2);\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tpartyQualTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartyResumeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpartySkillEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfRatingTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperfReviewEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityTyped());\n\t\tg2 = createEGenericType(this.getPerfReviewItemType());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityType());\n\t\tg2 = createEGenericType(this.getPerfReviewItem());\n\t\tg1.getETypeArguments().add(g2);\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tg1 = createEGenericType(theEntityPackage_1.getEntityInfo());\n\t\tperfReviewItemTypeEClass.getEGenericSuperTypes().add(g1);\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tperformanceNoteEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tpersonTrainingEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tresponsibilityTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\tskillTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityIdentifiable());\n\t\ttrainingClassTypeEClass.getESuperTypes().add(theEntityPackage_1.getEntityInfo());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(partyQualEClass, PartyQual.class, \"PartyQual\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartyQual_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_PartyQualType(), this.getPartyQualType(), null, \"partyQualType\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_QualificationDesc(), ecorePackage.getEString(), \"qualificationDesc\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_Status(), theStatusPackage.getStatusItem(), null, \"status\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQual_Title(), ecorePackage.getEString(), \"title\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQual_VerifStatus(), theStatusPackage.getStatusItem(), null, \"verifStatus\", null, 0, 1, PartyQual.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyQualTypeEClass, PartyQualType.class, \"PartyQualType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyQualType_PartyQualTypeId(), ecorePackage.getEString(), \"partyQualTypeId\", null, 1, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyQualType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyQualType_ParentType(), this.getPartyQualType(), null, \"parentType\", null, 0, 1, PartyQualType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partyResumeEClass, PartyResume.class, \"PartyResume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPartyResume_ResumeId(), ecorePackage.getEString(), \"resumeId\", null, 1, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Content(), theContentPackage.getContent(), null, \"content\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartyResume_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeDate(), ecorePackage.getEDate(), \"resumeDate\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartyResume_ResumeText(), ecorePackage.getEString(), \"resumeText\", null, 0, 1, PartyResume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(partySkillEClass, PartySkill.class, \"PartySkill\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPartySkill_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPartySkill_SkillType(), this.getSkillType(), null, \"skillType\", null, 1, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_Rating(), ecorePackage.getELong(), \"rating\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_SkillLevel(), ecorePackage.getELong(), \"skillLevel\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_StartedUsingDate(), ecorePackage.getEDate(), \"startedUsingDate\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPartySkill_YearsExperience(), ecorePackage.getELong(), \"yearsExperience\", null, 0, 1, PartySkill.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfRatingTypeEClass, PerfRatingType.class, \"PerfRatingType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfRatingType_PerfRatingTypeId(), ecorePackage.getEString(), \"perfRatingTypeId\", null, 1, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfRatingType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfRatingType_ParentType(), this.getPerfRatingType(), null, \"parentType\", null, 0, 1, PerfRatingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewEClass, PerfReview.class, \"PerfReview\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReview_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_EmplPosition(), thePositionPackage.getEmplPosition(), null, \"emplPosition\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_ManagerParty(), thePartyPackage_1.getParty(), null, \"managerParty\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ManagerRoleTypeId(), ecorePackage.getEString(), \"managerRoleTypeId\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReview_Payment(), thePaymentPackage.getPayment(), null, \"payment\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReview_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerfReview.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemEClass, PerfReviewItem.class, \"PerfReviewItem\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerfReviewItem_EmployeeParty(), thePartyPackage_1.getParty(), null, \"employeeParty\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_EmployeeRoleTypeId(), ecorePackage.getEString(), \"employeeRoleTypeId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewId(), ecorePackage.getEString(), \"perfReviewId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_PerfReviewItemSeqId(), ecorePackage.getEString(), \"perfReviewItemSeqId\", null, 1, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItem_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfRatingType(), this.getPerfRatingType(), null, \"perfRatingType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItem_PerfReviewItemType(), this.getPerfReviewItemType(), null, \"perfReviewItemType\", null, 0, 1, PerfReviewItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(perfReviewItemTypeEClass, PerfReviewItemType.class, \"PerfReviewItemType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPerfReviewItemType_PerfReviewItemTypeId(), ecorePackage.getEString(), \"perfReviewItemTypeId\", null, 1, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerfReviewItemType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPerfReviewItemType_ParentType(), this.getPerfReviewItemType(), null, \"parentType\", null, 0, 1, PerfReviewItemType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(performanceNoteEClass, PerformanceNote.class, \"PerformanceNote\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPerformanceNote_Party(), thePartyPackage_1.getParty(), null, \"party\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_RoleTypeId(), ecorePackage.getEString(), \"roleTypeId\", null, 1, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_Comments(), ecorePackage.getEString(), \"comments\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_CommunicationDate(), ecorePackage.getEDate(), \"communicationDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPerformanceNote_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PerformanceNote.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(personTrainingEClass, PersonTraining.class, \"PersonTraining\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPersonTraining_Party(), thePartyPackage_1.getPerson(), null, \"party\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingClassType(), this.getTrainingClassType(), null, \"trainingClassType\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_FromDate(), ecorePackage.getEDate(), \"fromDate\", null, 1, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ApprovalStatus(), ecorePackage.getEString(), \"approvalStatus\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_Approver(), thePartyPackage_1.getPerson(), null, \"approver\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_Reason(), ecorePackage.getEString(), \"reason\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPersonTraining_ThruDate(), ecorePackage.getEDate(), \"thruDate\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_TrainingRequest(), theTrainingsPackage.getTrainingRequest(), null, \"trainingRequest\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPersonTraining_WorkEffort(), theWorkeffortPackage.getWorkEffort(), null, \"workEffort\", null, 0, 1, PersonTraining.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(responsibilityTypeEClass, ResponsibilityType.class, \"ResponsibilityType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getResponsibilityType_ResponsibilityTypeId(), ecorePackage.getEString(), \"responsibilityTypeId\", null, 1, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getResponsibilityType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getResponsibilityType_ParentType(), this.getResponsibilityType(), null, \"parentType\", null, 0, 1, ResponsibilityType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(skillTypeEClass, SkillType.class, \"SkillType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSkillType_SkillTypeId(), ecorePackage.getEString(), \"skillTypeId\", null, 1, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSkillType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSkillType_ParentType(), this.getSkillType(), null, \"parentType\", null, 0, 1, SkillType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(trainingClassTypeEClass, TrainingClassType.class, \"TrainingClassType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTrainingClassType_TrainingClassTypeId(), ecorePackage.getEString(), \"trainingClassTypeId\", null, 1, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_Description(), ecorePackage.getEString(), \"description\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrainingClassType_HasTable(), ecorePackage.getEBooleanObject(), \"hasTable\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrainingClassType_ParentType(), this.getTrainingClassType(), null, \"parentType\", null, 0, 1, TrainingClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// mimo-ent-frame\n\t\tcreateMimoentframeAnnotations();\n\t\t// mimo-ent-slot\n\t\tcreateMimoentslotAnnotations();\n\t\t// mimo-ent-format\n\t\tcreateMimoentformatAnnotations();\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n ledsCodeDSLEClass = createEClass(LEDS_CODE_DSL);\n createEReference(ledsCodeDSLEClass, LEDS_CODE_DSL__PROJECT);\n\n projectEClass = createEClass(PROJECT);\n createEAttribute(projectEClass, PROJECT__NAME);\n createEReference(projectEClass, PROJECT__INFRASTRUCTURE_BLOCK);\n createEReference(projectEClass, PROJECT__INTERFACE_BLOCK);\n createEReference(projectEClass, PROJECT__APPLICATION_BLOCK);\n createEReference(projectEClass, PROJECT__DOMAIN_BLOCK);\n\n interfaceBlockEClass = createEClass(INTERFACE_BLOCK);\n createEAttribute(interfaceBlockEClass, INTERFACE_BLOCK__NAME);\n createEReference(interfaceBlockEClass, INTERFACE_BLOCK__INTERFACE_APPLICATION);\n\n interfaceApplicationEClass = createEClass(INTERFACE_APPLICATION);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__TYPE);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__NAME);\n createEAttribute(interfaceApplicationEClass, INTERFACE_APPLICATION__NAME_APP);\n\n infrastructureBlockEClass = createEClass(INFRASTRUCTURE_BLOCK);\n createEAttribute(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__BASE_PACKAGE);\n createEAttribute(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__PROJECT_VERSION);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__LANGUAGE);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__FRAMEWORK);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__ORM);\n createEReference(infrastructureBlockEClass, INFRASTRUCTURE_BLOCK__DATABASE);\n\n databaseEClass = createEClass(DATABASE);\n createEAttribute(databaseEClass, DATABASE__VERSION_VALUE);\n createEAttribute(databaseEClass, DATABASE__NAME_VALUE);\n createEAttribute(databaseEClass, DATABASE__USER_VALUE);\n createEAttribute(databaseEClass, DATABASE__PASS_VALUE);\n createEAttribute(databaseEClass, DATABASE__HOST_VALUE);\n createEAttribute(databaseEClass, DATABASE__ENV_VALUE);\n\n nameVersionEClass = createEClass(NAME_VERSION);\n createEAttribute(nameVersionEClass, NAME_VERSION__NAME_VALUE);\n createEAttribute(nameVersionEClass, NAME_VERSION__VERSION_VALUE);\n\n applicationBlockEClass = createEClass(APPLICATION_BLOCK);\n createEAttribute(applicationBlockEClass, APPLICATION_BLOCK__NAME);\n createEAttribute(applicationBlockEClass, APPLICATION_BLOCK__APPLICATION_DOMAIN);\n\n domainBlockEClass = createEClass(DOMAIN_BLOCK);\n createEAttribute(domainBlockEClass, DOMAIN_BLOCK__NAME);\n createEReference(domainBlockEClass, DOMAIN_BLOCK__MODULE);\n\n moduleBlockEClass = createEClass(MODULE_BLOCK);\n createEAttribute(moduleBlockEClass, MODULE_BLOCK__NAME);\n createEReference(moduleBlockEClass, MODULE_BLOCK__ENUM_BLOCK);\n createEReference(moduleBlockEClass, MODULE_BLOCK__ENTITY_BLOCK);\n createEReference(moduleBlockEClass, MODULE_BLOCK__SERVICE_BLOCK);\n\n serviceBlockEClass = createEClass(SERVICE_BLOCK);\n createEAttribute(serviceBlockEClass, SERVICE_BLOCK__NAME);\n createEReference(serviceBlockEClass, SERVICE_BLOCK__SERVICE_FIELDS);\n\n serviceMethodEClass = createEClass(SERVICE_METHOD);\n createEAttribute(serviceMethodEClass, SERVICE_METHOD__NAME);\n createEReference(serviceMethodEClass, SERVICE_METHOD__METHOD_ACESS);\n\n entityBlockEClass = createEClass(ENTITY_BLOCK);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__ACESS_MODIFIER);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__IS_ABSTRACT);\n createEAttribute(entityBlockEClass, ENTITY_BLOCK__NAME);\n createEReference(entityBlockEClass, ENTITY_BLOCK__CLASS_EXTENDS);\n createEReference(entityBlockEClass, ENTITY_BLOCK__ATTRIBUTES);\n createEReference(entityBlockEClass, ENTITY_BLOCK__REPOSITORY);\n\n attributeEClass = createEClass(ATTRIBUTE);\n createEAttribute(attributeEClass, ATTRIBUTE__ACESS_MODIFIER);\n createEAttribute(attributeEClass, ATTRIBUTE__TYPE);\n createEAttribute(attributeEClass, ATTRIBUTE__NAME);\n createEAttribute(attributeEClass, ATTRIBUTE__PK);\n createEAttribute(attributeEClass, ATTRIBUTE__UNIQUE);\n createEAttribute(attributeEClass, ATTRIBUTE__NULLABLE);\n createEAttribute(attributeEClass, ATTRIBUTE__MIN);\n createEAttribute(attributeEClass, ATTRIBUTE__MAX);\n\n repositoryEClass = createEClass(REPOSITORY);\n createEAttribute(repositoryEClass, REPOSITORY__NAME);\n createEReference(repositoryEClass, REPOSITORY__METHODS);\n\n repositoryFieldsEClass = createEClass(REPOSITORY_FIELDS);\n createEAttribute(repositoryFieldsEClass, REPOSITORY_FIELDS__NAME);\n createEReference(repositoryFieldsEClass, REPOSITORY_FIELDS__METHODS_PARAMETERS);\n createEAttribute(repositoryFieldsEClass, REPOSITORY_FIELDS__RETURN_TYPE);\n\n enumBlockEClass = createEClass(ENUM_BLOCK);\n createEAttribute(enumBlockEClass, ENUM_BLOCK__NAME);\n createEAttribute(enumBlockEClass, ENUM_BLOCK__VALUES);\n\n methodParameterEClass = createEClass(METHOD_PARAMETER);\n createEReference(methodParameterEClass, METHOD_PARAMETER__TYPE_AND_ATTR);\n\n typeAndAttributeEClass = createEClass(TYPE_AND_ATTRIBUTE);\n createEAttribute(typeAndAttributeEClass, TYPE_AND_ATTRIBUTE__TYPE);\n createEAttribute(typeAndAttributeEClass, TYPE_AND_ATTRIBUTE__NAME);\n\n extendBlockEClass = createEClass(EXTEND_BLOCK);\n createEReference(extendBlockEClass, EXTEND_BLOCK__VALUES);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tXMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(controlEClass, Control.class, \"Control\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getControl_Midi(), this.getMidi(), null, \"midi\", null, 1, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Background(), theXMLTypePackage.getString(), \"background\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Centered(), theXMLTypePackage.getString(), \"centered\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Color(), theXMLTypePackage.getString(), \"color\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_H(), theXMLTypePackage.getString(), \"h\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Inverted(), theXMLTypePackage.getString(), \"inverted\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedX(), theXMLTypePackage.getString(), \"invertedX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_InvertedY(), theXMLTypePackage.getString(), \"invertedY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_LocalOff(), theXMLTypePackage.getString(), \"localOff\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Number(), theXMLTypePackage.getString(), \"number\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberX(), theXMLTypePackage.getString(), \"numberX\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_NumberY(), theXMLTypePackage.getString(), \"numberY\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_OscCs(), theXMLTypePackage.getString(), \"oscCs\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Outline(), theXMLTypePackage.getString(), \"outline\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Response(), theXMLTypePackage.getString(), \"response\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalef(), theXMLTypePackage.getString(), \"scalef\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Scalet(), theXMLTypePackage.getString(), \"scalet\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Seconds(), theXMLTypePackage.getString(), \"seconds\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Size(), theXMLTypePackage.getString(), \"size\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Text(), theXMLTypePackage.getString(), \"text\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_W(), theXMLTypePackage.getString(), \"w\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_X(), theXMLTypePackage.getString(), \"x\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getControl_Y(), theXMLTypePackage.getString(), \"y\", null, 0, 1, Control.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(layoutEClass, Layout.class, \"Layout\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLayout_Tabpage(), this.getTabpage(), null, \"tabpage\", null, 1, -1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Mode(), theXMLTypePackage.getString(), \"mode\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Orientation(), theXMLTypePackage.getString(), \"orientation\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getLayout_Version(), theXMLTypePackage.getString(), \"version\", null, 0, 1, Layout.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(midiEClass, Midi.class, \"Midi\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMidi_Channel(), theXMLTypePackage.getString(), \"channel\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data1(), theXMLTypePackage.getString(), \"data1\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2f(), theXMLTypePackage.getString(), \"data2f\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Data2t(), theXMLTypePackage.getString(), \"data2t\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Type(), theXMLTypePackage.getString(), \"type\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMidi_Var(), theXMLTypePackage.getString(), \"var\", null, 0, 1, Midi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(tabpageEClass, Tabpage.class, \"Tabpage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTabpage_Control(), this.getControl(), null, \"control\", null, 1, -1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTabpage_Name(), theXMLTypePackage.getString(), \"name\", null, 0, 1, Tabpage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(topEClass, net.sf.smbt.touchosc.touchosc.TOP.class, \"TOP\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTOP_Layout(), this.getLayout(), null, \"layout\", null, 1, 1, net.sf.smbt.touchosc.touchosc.TOP.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents()\n {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tclarityAddFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetBatchResultEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityGetKeyEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityQueryBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityReloadFileEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tclarityRemoveFilesEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\t\tstartBatchEClass.getESuperTypes().add(this.getClarityAbstractObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(clarityAbstractObjectEClass, ClarityAbstractObject.class, \"ClarityAbstractObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getClarityAbstractObject_ClarityConnection(), ecorePackage.getEString(), \"clarityConnection\", null, 0, 1, ClarityAbstractObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clarityAddFilesEClass, ClarityAddFiles.class, \"ClarityAddFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetBatchResultEClass, ClarityGetBatchResult.class, \"ClarityGetBatchResult\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityGetKeyEClass, ClarityGetKey.class, \"ClarityGetKey\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityQueryBatchEClass, ClarityQueryBatch.class, \"ClarityQueryBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityReloadFileEClass, ClarityReloadFile.class, \"ClarityReloadFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(clarityRemoveFilesEClass, ClarityRemoveFiles.class, \"ClarityRemoveFiles\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(startBatchEClass, StartBatch.class, \"StartBatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// cbgeneralcontrol\n\t\tcreateCbgeneralcontrolAnnotations();\n\t}", "public static void load(LoadPackageParam lpparam) {\n\t\tfinal String pkgName = lpparam.packageName;\n\t\t\n\t\tif (pkgName.equals(\"com.android.camera\")) return;\n\t\tif (pkgName.equals(\"com.ucamera.ucam\")) return;\n\t\t/** Filter out camera that do not face this bug */\n\t\t\n try {\n \tXposedBridge.hookAllConstructors(Camera.class, new XC_MethodHook() {\n\t\t\t\t@Override\n\t\t\t\tprotected void afterHookedMethod(MethodHookParam param) throws Throwable {\n\t\t\t\t\tLog.d(\"zst123\", \"(FixCameraUpsideDown) Constructor Before\");\n\t\t\t\t\t((Camera) param.thisObject).setDisplayOrientation(0);\n\t\t\t\t\tLog.d(\"zst123\", \"(FixCameraUpsideDown) Constructor After\");\n\t\t\t\t\t// Set orientation in constructor for apps\n\t\t\t\t\t// that don't touch the orientation\n\t\t\t\t}\n\t\t\t});\n \t\n\t\t\tXposedBridge.hookAllMethods(Camera.class, \"setDisplayOrientation\", new XC_MethodHook() {\n\t\t\t\t@Override\n\t\t\t\tprotected void beforeHookedMethod(MethodHookParam param) throws Throwable {\n\t\t\t\t\tfinal Integer original_rotation = (Integer) param.args[0];\n\t\t\t\t\tLog.d(\"zst123\", \"(FixCameraUpsideDown) Original Rotation: \" + original_rotation);\n\t\t\t\t\t\n\t\t\t\t\t// filter apps that misbehave\n\t\t\t\t\tif (pkgName.equals(\"com.google.android.gallery3d\")) {\n\t\t\t\t\t\tparam.args[0] = 270;\n\t\t\t\t\t\t/* Google's Camera seems to filter for Samsung's\n\t\t\t\t\t\t * custom camera orientation & detects this phone\n\t\t\t\t\t\t * by mistake.\n\t\t\t\t\t\t * Thus, we have to specially hard code it in. */\n\t\t\t\t\t} else {\n\t\t\t\t\t\tparam.args[0] = reverseRotation(original_rotation);\n\t\t\t\t\t}\n\t\t\t\t\tLog.d(\"zst123\", \"(FixCameraUpsideDown) Fixed Rotation: \" + (Integer) param.args[0]);\n\t\t\t\t}\n\t\t\t});\n } catch (Throwable t) {\n \tLog.d(\"zst123\", \"(FixCameraUpsideDown) ERROR: \" + t.toString());\n \tt.printStackTrace();\n XposedBridge.log(t);\n }\n }", "public PackageName() {\n setFullyQualified(\"\");\n setShortName(\"\");\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\torg.palladiosimulator.pcm.core.composition.CompositionPackage theCompositionPackage_1 = (org.palladiosimulator.pcm.core.composition.CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.core.composition.CompositionPackage.eNS_URI);\r\n\t\torg.palladiosimulator.pcm.repository.RepositoryPackage theRepositoryPackage_1 = (org.palladiosimulator.pcm.repository.RepositoryPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(org.palladiosimulator.pcm.repository.RepositoryPackage.eNS_URI);\r\n\t\tCompositionPackage theCompositionPackage = (CompositionPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(CompositionPackage.eNS_URI);\r\n\t\tPartitioningPackage thePartitioningPackage = (PartitioningPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(PartitioningPackage.eNS_URI);\r\n\t\tDatatypesPackage theDatatypesPackage = (DatatypesPackage) EPackage.Registry.INSTANCE\r\n\t\t\t\t.getEPackage(DatatypesPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tdataChannelEClass.getESuperTypes().add(theCompositionPackage_1.getEventChannel());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(dataChannelEClass, DataChannel.class, \"DataChannel\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDataChannel_Capacity(), ecorePackage.getEInt(), \"capacity\", \"-1\", 1, 1, DataChannel.class,\r\n\t\t\t\tIS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SourceEventGroup(), theRepositoryPackage_1.getEventGroup(), null,\r\n\t\t\t\t\"sourceEventGroup\", null, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_SinkEventGroup(), theRepositoryPackage_1.getEventGroup(), null, \"sinkEventGroup\",\r\n\t\t\t\tnull, 1, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,\r\n\t\t\t\tIS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSourceConnector_DataChannel(), \"dataChannelSourceConnector\", null,\r\n\t\t\t\t0, -1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_DataChannelSinkConnector(), theCompositionPackage.getDataChannelSinkConnector(),\r\n\t\t\t\ttheCompositionPackage.getDataChannelSinkConnector_DataChannel(), \"dataChannelSinkConnector\", null, 0,\r\n\t\t\t\t-1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Partitioning(), thePartitioningPackage.getPartitioning(), null, \"partitioning\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_TimeGrouping(), thePartitioningPackage.getTimeGrouping(), null, \"timeGrouping\",\r\n\t\t\t\tnull, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,\r\n\t\t\t\t!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getDataChannel_Joins(), thePartitioningPackage.getJoining(), null, \"joins\", null, 0, -1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_OutgoingDistribution(), theDatatypesPackage.getOutgoingDistribution(),\r\n\t\t\t\t\"outgoingDistribution\", null, 0, 1, DataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\t!IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_Scheduling(), theDatatypesPackage.getScheduling(), \"scheduling\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDataChannel_PutPolicy(), theDatatypesPackage.getPutPolicy(), \"putPolicy\", null, 0, 1,\r\n\t\t\t\tDataChannel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttargetLanguageEClass.getESuperTypes().add(this.getNamedElement());\n\t\ttechnologyEClass.getESuperTypes().add(this.getNamedElement());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Implementations(), this.getImplementation(), null, \"implementations\", null, 0, -1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(implementationEClass, Implementation.class, \"Implementation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImplementation_Code(), ecorePackage.getEString(), \"code\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Technology(), this.getTechnology(), null, \"technology\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImplementation_Language(), this.getTargetLanguage(), null, \"language\", null, 1, 1, Implementation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticsEClass, Semantics.class, \"Semantics\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSemantics_Annotations(), this.getAnnotation(), null, \"annotations\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Languages(), this.getTargetLanguage(), null, \"languages\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSemantics_Technologies(), this.getTechnology(), null, \"technologies\", null, 0, -1, Semantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(targetLanguageEClass, TargetLanguage.class, \"TargetLanguage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(technologyEClass, Technology.class, \"Technology\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tnamedElementEClass = createEClass(NAMED_ELEMENT);\n\t\tcreateEAttribute(namedElementEClass, NAMED_ELEMENT__NAME);\n\n\t\tpackageDeclarationEClass = createEClass(PACKAGE_DECLARATION);\n\t\tcreateEAttribute(packageDeclarationEClass, PACKAGE_DECLARATION__NAME);\n\t\tcreateEReference(packageDeclarationEClass, PACKAGE_DECLARATION__CONTENT);\n\n\t\treferenceableEClass = createEClass(REFERENCEABLE);\n\t}", "@Fix(IssueCodes.WRONG_PACKAGE)\n public void fixPackageName(final Issue issue, final IssueResolutionAcceptor acceptor) {\n acceptor.accept(issue, Messages.CheckQuickfixProvider_CORRECT_PKG_NAME_LABEL, Messages.CheckQuickfixProvider_CORRECT_PKG_NAME_DESCN, NO_IMAGE, new IModification() {\n public void apply(final IModificationContext context) throws BadLocationException {\n IXtextDocument xtextDocument = context.getXtextDocument();\n final String packageName = resourceUtil.getNameOfContainingPackage(xtextDocument);\n if (packageName != null) {\n xtextDocument.replace(issue.getOffset(), issue.getLength(), packageName);\n }\n }\n });\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n cssOtherTopLevelDeclarationEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n mediaDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n pageDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n namespaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n fontFaceDeclarationEClass.getESuperTypes().add(this.getCSSOtherTopLevelDeclaration());\n ruleSetEClass.getESuperTypes().add(this.getCSSTopLevelStatement());\n ruleSetEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n propertyDeclarationEClass.getESuperTypes().add(this.getMediaDeclarationMembers());\n knownPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n unrecognizedPropertyDeclarationEClass.getESuperTypes().add(this.getPropertyDeclaration());\n typeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n universalSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n attributeSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n idSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n classSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n pseudoSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n noArgsPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n pseudoElementSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n languagePseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n functionalPseudoClassSelectorEClass.getESuperTypes().add(this.getPseudoSelector());\n linearArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n constantArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n parityArgumentEClass.getESuperTypes().add(this.getTypeArgument());\n negationSelectorEClass.getESuperTypes().add(this.getSimpleSelector());\n sizeLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n stringLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n colorLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n componentColorLiteralEClass.getESuperTypes().add(this.getColorLiteral());\n urlLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n functionCallLiteralEClass.getESuperTypes().add(this.getValueLiteral());\n descendantCombinatorEClass.getESuperTypes().add(this.getSelector());\n childCombinatorEClass.getESuperTypes().add(this.getSelector());\n adjacentSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n generalSiblingCombinatorEClass.getESuperTypes().add(this.getSelector());\n simpleSelectorSequenceEClass.getESuperTypes().add(this.getSelector());\n universalNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n withoutNamespacePrefixEClass.getESuperTypes().add(this.getNamespacePrefix());\n stringAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n decimalAttributeValueLiteralEClass.getESuperTypes().add(this.getAttributeValueLiteral());\n integerLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n decimalLiteralEClass.getESuperTypes().add(this.getNumberLiteral());\n quantifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n qualifiedSizeLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n fontHeightLiteralEClass.getESuperTypes().add(this.getSizeLiteral());\n rgbColorEClass.getESuperTypes().add(this.getColorLiteral());\n namedColorEClass.getESuperTypes().add(this.getColorLiteral());\n componentRGBColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentRGBAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n componentHSLAlphaColorEClass.getESuperTypes().add(this.getComponentColorLiteral());\n alphaLiteralEClass.getESuperTypes().add(this.getFunctionCallLiteral());\n\n // Initialize classes and features; add operations and parameters\n initEClass(stylesheetEClass, Stylesheet.class, \"Stylesheet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStylesheet_CharSet(), ecorePackage.getEString(), \"charSet\", null, 0, 1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Imports(), this.getImportDeclaration(), null, \"imports\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getStylesheet_Statements(), this.getCSSTopLevelStatement(), null, \"statements\", null, 0, -1, Stylesheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(cssTopLevelStatementEClass, CSSTopLevelStatement.class, \"CSSTopLevelStatement\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(cssOtherTopLevelDeclarationEClass, CSSOtherTopLevelDeclaration.class, \"CSSOtherTopLevelDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(importDeclarationEClass, ImportDeclaration.class, \"ImportDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getImportDeclaration_ImportURI(), ecorePackage.getEString(), \"importURI\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getImportDeclaration_Media(), ecorePackage.getEString(), \"media\", null, 0, -1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationEClass, MediaDeclaration.class, \"MediaDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getMediaDeclaration_MediaQueries(), this.getMediaQuery(), null, \"mediaQueries\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Media(), this.getMediaQuery(), null, \"media\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaDeclaration_Members(), this.getMediaDeclarationMembers(), null, \"members\", null, 0, -1, MediaDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaDeclarationMembersEClass, MediaDeclarationMembers.class, \"MediaDeclarationMembers\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(mediaQueryEClass, MediaQuery.class, \"MediaQuery\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQuery_Only(), ecorePackage.getEBoolean(), \"only\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_Not(), ecorePackage.getEBoolean(), \"not\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getMediaQuery_MediaType(), ecorePackage.getEString(), \"mediaType\", null, 0, 1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQuery_Expressions(), this.getMediaQueryExpression(), null, \"expressions\", null, 0, -1, MediaQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(mediaQueryExpressionEClass, MediaQueryExpression.class, \"MediaQueryExpression\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getMediaQueryExpression_Feature(), ecorePackage.getEString(), \"feature\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getMediaQueryExpression_Expression(), this.getValueLiteral(), null, \"expression\", null, 0, 1, MediaQueryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pageDeclarationEClass, PageDeclaration.class, \"PageDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPageDeclaration_PseudoPage(), ecorePackage.getEString(), \"pseudoPage\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getPageDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, PageDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespaceDeclarationEClass, NamespaceDeclaration.class, \"NamespaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamespaceDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getNamespaceDeclaration_Url(), ecorePackage.getEString(), \"url\", null, 0, 1, NamespaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontFaceDeclarationEClass, FontFaceDeclaration.class, \"FontFaceDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontFaceDeclaration_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, FontFaceDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetEClass, RuleSet.class, \"RuleSet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSet_Selectors(), this.getSelector(), null, \"selectors\", null, 0, -1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getRuleSet_Body(), this.getRuleSetBody(), null, \"body\", null, 0, 1, RuleSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ruleSetBodyEClass, RuleSetBody.class, \"RuleSetBody\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRuleSetBody_Declarations(), this.getPropertyDeclaration(), null, \"declarations\", null, 0, -1, RuleSetBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyDeclarationEClass, PropertyDeclaration.class, \"PropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyDeclaration_ValuesLists(), this.getPropertyValuesLists(), null, \"valuesLists\", null, 0, 1, PropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(knownPropertyDeclarationEClass, KnownPropertyDeclaration.class, \"KnownPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getKnownPropertyDeclaration_Name(), this.getKnownProperties(), \"name\", null, 0, 1, KnownPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(unrecognizedPropertyDeclarationEClass, UnrecognizedPropertyDeclaration.class, \"UnrecognizedPropertyDeclaration\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getUnrecognizedPropertyDeclaration_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, UnrecognizedPropertyDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListsEClass, PropertyValuesLists.class, \"PropertyValuesLists\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesLists_Lists(), this.getPropertyValuesList(), null, \"lists\", null, 0, -1, PropertyValuesLists.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValuesListEClass, PropertyValuesList.class, \"PropertyValuesList\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValuesList_Values(), this.getPropertyValue(), null, \"values\", null, 0, -1, PropertyValuesList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(propertyValueEClass, PropertyValue.class, \"PropertyValue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPropertyValue_Value(), this.getValueLiteral(), null, \"value\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPropertyValue_Important(), ecorePackage.getEBoolean(), \"important\", null, 0, 1, PropertyValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(selectorEClass, Selector.class, \"Selector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(simpleSelectorEClass, SimpleSelector.class, \"SimpleSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(typeSelectorEClass, TypeSelector.class, \"TypeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getTypeSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getTypeSelector_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, TypeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namespacePrefixEClass, NamespacePrefix.class, \"NamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNamespacePrefix_Namespace(), this.getNamespaceDeclaration(), null, \"namespace\", null, 0, 1, NamespacePrefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalSelectorEClass, UniversalSelector.class, \"UniversalSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getUniversalSelector_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, UniversalSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeSelectorEClass, AttributeSelector.class, \"AttributeSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttributeSelector_Attribute(), this.getAttribute(), null, \"attribute\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttributeSelector_Matcher(), this.getAttributeSelectorMatchers(), \"matcher\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAttributeSelector_Value(), this.getAttributeValueLiteral(), null, \"value\", null, 0, 1, AttributeSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAttribute_NamespacePrefix(), this.getNamespacePrefix(), null, \"namespacePrefix\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAttribute_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(attributeValueLiteralEClass, AttributeValueLiteral.class, \"AttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(idSelectorEClass, IDSelector.class, \"IDSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIDSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, IDSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classSelectorEClass, ClassSelector.class, \"ClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getClassSelector_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, ClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoSelectorEClass, PseudoSelector.class, \"PseudoSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(noArgsPseudoClassSelectorEClass, NoArgsPseudoClassSelector.class, \"NoArgsPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNoArgsPseudoClassSelector_Pseudo(), this.getNoArgsPseudos(), \"pseudo\", null, 0, 1, NoArgsPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(pseudoElementSelectorEClass, PseudoElementSelector.class, \"PseudoElementSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getPseudoElementSelector_DoubleSemiColon(), ecorePackage.getEBoolean(), \"doubleSemiColon\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPseudoElementSelector_Pseudo(), this.getPseudoElements(), \"pseudo\", null, 0, 1, PseudoElementSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(languagePseudoClassSelectorEClass, LanguagePseudoClassSelector.class, \"LanguagePseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getLanguagePseudoClassSelector_LangugageId(), ecorePackage.getEString(), \"langugageId\", null, 0, 1, LanguagePseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionalPseudoClassSelectorEClass, FunctionalPseudoClassSelector.class, \"FunctionalPseudoClassSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionalPseudoClassSelector_Pseudo(), this.getFunctionalPseudoClasses(), \"pseudo\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionalPseudoClassSelector_Argument(), this.getTypeArgument(), null, \"argument\", null, 0, 1, FunctionalPseudoClassSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(typeArgumentEClass, TypeArgument.class, \"TypeArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(linearArgumentEClass, LinearArgument.class, \"LinearArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getLinearArgument_Coefficient(), this.getCoefficient(), null, \"coefficient\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_ConstantSign(), ecorePackage.getEString(), \"constantSign\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getLinearArgument_Constant(), ecorePackage.getEInt(), \"constant\", null, 0, 1, LinearArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(coefficientEClass, Coefficient.class, \"Coefficient\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getCoefficient_Ident(), ecorePackage.getEString(), \"ident\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getCoefficient_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, Coefficient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(constantArgumentEClass, ConstantArgument.class, \"ConstantArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getConstantArgument_Sign(), ecorePackage.getEString(), \"sign\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getConstantArgument_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, ConstantArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(parityArgumentEClass, ParityArgument.class, \"ParityArgument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParityArgument_Parity(), this.getParities(), \"parity\", null, 0, 1, ParityArgument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(negationSelectorEClass, NegationSelector.class, \"NegationSelector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getNegationSelector_SimpleSelector(), this.getSimpleSelector(), null, \"simpleSelector\", null, 0, 1, NegationSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(valueLiteralEClass, ValueLiteral.class, \"ValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(numberLiteralEClass, NumberLiteral.class, \"NumberLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(sizeLiteralEClass, SizeLiteral.class, \"SizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringLiteralEClass, StringLiteral.class, \"StringLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(colorLiteralEClass, ColorLiteral.class, \"ColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(componentColorLiteralEClass, ComponentColorLiteral.class, \"ComponentColorLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(colorComponentLiteralEClass, ColorComponentLiteral.class, \"ColorComponentLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getColorComponentLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getColorComponentLiteral_Percentage(), ecorePackage.getEBoolean(), \"percentage\", null, 0, 1, ColorComponentLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(urlLiteralEClass, URLLiteral.class, \"URLLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getURLLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, URLLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(bareWordLiteralEClass, BareWordLiteral.class, \"BareWordLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getBareWordLiteral_BareWord(), ecorePackage.getEString(), \"bareWord\", null, 0, 1, BareWordLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(functionCallLiteralEClass, FunctionCallLiteral.class, \"FunctionCallLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getFunctionCallLiteral_Function(), ecorePackage.getEString(), \"function\", null, 0, 1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFunctionCallLiteral_Arguments(), this.getValueLiteral(), null, \"arguments\", null, 0, -1, FunctionCallLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(descendantCombinatorEClass, DescendantCombinator.class, \"DescendantCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getDescendantCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getDescendantCombinator_WsI(), ecorePackage.getEString(), \"wsI\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getDescendantCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, DescendantCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(childCombinatorEClass, ChildCombinator.class, \"ChildCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getChildCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getChildCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getChildCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, ChildCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(adjacentSiblingCombinatorEClass, AdjacentSiblingCombinator.class, \"AdjacentSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAdjacentSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getAdjacentSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAdjacentSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, AdjacentSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(generalSiblingCombinatorEClass, GeneralSiblingCombinator.class, \"GeneralSiblingCombinator\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getGeneralSiblingCombinator_Left(), this.getSelector(), null, \"left\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsL(), ecorePackage.getEString(), \"wsL\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getGeneralSiblingCombinator_WsR(), ecorePackage.getEString(), \"wsR\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getGeneralSiblingCombinator_Right(), this.getSelector(), null, \"right\", null, 0, 1, GeneralSiblingCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(simpleSelectorSequenceEClass, SimpleSelectorSequence.class, \"SimpleSelectorSequence\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getSimpleSelectorSequence_Head(), this.getSimpleSelector(), null, \"head\", null, 0, 1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getSimpleSelectorSequence_SimpleSelectors(), this.getSimpleSelector(), null, \"simpleSelectors\", null, 0, -1, SimpleSelectorSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(universalNamespacePrefixEClass, UniversalNamespacePrefix.class, \"UniversalNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(withoutNamespacePrefixEClass, WithoutNamespacePrefix.class, \"WithoutNamespacePrefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(stringAttributeValueLiteralEClass, StringAttributeValueLiteral.class, \"StringAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getStringAttributeValueLiteral_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, StringAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerAttributeValueLiteralEClass, IntegerAttributeValueLiteral.class, \"IntegerAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerAttributeValueLiteral_Value(), ecorePackage.getEInt(), \"value\", null, 0, 1, IntegerAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalAttributeValueLiteralEClass, DecimalAttributeValueLiteral.class, \"DecimalAttributeValueLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalAttributeValueLiteral_Value(), ecorePackage.getEDouble(), \"value\", null, 0, 1, DecimalAttributeValueLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getIntegerLiteral_Int(), ecorePackage.getEInt(), \"int\", null, 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getDecimalLiteral_Decimal(), ecorePackage.getEDouble(), \"decimal\", null, 0, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(quantifiedSizeLiteralEClass, QuantifiedSizeLiteral.class, \"QuantifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getQuantifiedSizeLiteral_Number(), this.getNumberLiteral(), null, \"number\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getQuantifiedSizeLiteral_Dimension(), this.getDimensions(), \"dimension\", null, 0, 1, QuantifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(qualifiedSizeLiteralEClass, QualifiedSizeLiteral.class, \"QualifiedSizeLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getQualifiedSizeLiteral_Bareword(), ecorePackage.getEString(), \"bareword\", null, 0, 1, QualifiedSizeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(fontHeightLiteralEClass, FontHeightLiteral.class, \"FontHeightLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getFontHeightLiteral_FontHeight(), this.getSizeLiteral(), null, \"fontHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getFontHeightLiteral_LineHeight(), this.getNumberLiteral(), null, \"lineHeight\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getFontHeightLiteral_LineHeightDimension(), this.getDimensions(), \"lineHeightDimension\", null, 0, 1, FontHeightLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(rgbColorEClass, RGBColor.class, \"RGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getRGBColor_Rgb(), ecorePackage.getEString(), \"rgb\", null, 0, 1, RGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(namedColorEClass, NamedColor.class, \"NamedColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedColor_Color(), this.getColorNames(), \"color\", null, 0, 1, NamedColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBColorEClass, ComponentRGBColor.class, \"ComponentRGBColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentRGBAlphaColorEClass, ComponentRGBAlphaColor.class, \"ComponentRGBAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentRGBAlphaColor_Red(), this.getColorComponentLiteral(), null, \"red\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Green(), this.getColorComponentLiteral(), null, \"green\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Blue(), this.getColorComponentLiteral(), null, \"blue\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentRGBAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentRGBAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLColorEClass, ComponentHSLColor.class, \"ComponentHSLColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(componentHSLAlphaColorEClass, ComponentHSLAlphaColor.class, \"ComponentHSLAlphaColor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getComponentHSLAlphaColor_Hue(), this.getColorComponentLiteral(), null, \"hue\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Saturation(), this.getColorComponentLiteral(), null, \"saturation\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Lightness(), this.getColorComponentLiteral(), null, \"lightness\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getComponentHSLAlphaColor_Opacity(), this.getColorComponentLiteral(), null, \"opacity\", null, 0, 1, ComponentHSLAlphaColor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(alphaLiteralEClass, AlphaLiteral.class, \"AlphaLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getAlphaLiteral_Opacity(), this.getNumberLiteral(), null, \"opacity\", null, 0, 1, AlphaLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Initialize enums and add enum literals\n initEEnum(knownPropertiesEEnum, KnownProperties.class, \"KnownProperties\");\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.COLOR);\n addEEnumLiteral(knownPropertiesEEnum, KnownProperties.BORDER_TOP);\n\n initEEnum(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.class, \"AttributeSelectorMatchers\");\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.PREFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUFFIX);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.SUBSTRING);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.EXACT);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.INCLUDES);\n addEEnumLiteral(attributeSelectorMatchersEEnum, AttributeSelectorMatchers.LANGUAGE);\n\n initEEnum(noArgsPseudosEEnum, NoArgsPseudos.class, \"NoArgsPseudos\");\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LINK);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.VISITED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.HOVER);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ACTIVE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FOCUS);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.TARGET);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ENABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.DISABLED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.CHECKED);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.INDETERMINATE);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ROOT);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.FIRST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.LAST_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.ONLY_CHILD);\n addEEnumLiteral(noArgsPseudosEEnum, NoArgsPseudos.EMPTY);\n\n initEEnum(pseudoElementsEEnum, PseudoElements.class, \"PseudoElements\");\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LETTER);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.FIRST_LINE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.BEFORE);\n addEEnumLiteral(pseudoElementsEEnum, PseudoElements.AFTER);\n\n initEEnum(functionalPseudoClassesEEnum, FunctionalPseudoClasses.class, \"FunctionalPseudoClasses\");\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_CHILD);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.NTH_LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.FIRST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.LAST_OF_TYPE);\n addEEnumLiteral(functionalPseudoClassesEEnum, FunctionalPseudoClasses.ONLY_OF_TYPE);\n\n initEEnum(paritiesEEnum, Parities.class, \"Parities\");\n addEEnumLiteral(paritiesEEnum, Parities.ODD);\n addEEnumLiteral(paritiesEEnum, Parities.EVEN);\n\n initEEnum(dimensionsEEnum, Dimensions.class, \"Dimensions\");\n addEEnumLiteral(dimensionsEEnum, Dimensions.IN);\n addEEnumLiteral(dimensionsEEnum, Dimensions.CM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.MM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PT);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PC);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EM);\n addEEnumLiteral(dimensionsEEnum, Dimensions.EX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PX);\n addEEnumLiteral(dimensionsEEnum, Dimensions.PERC);\n\n initEEnum(colorNamesEEnum, ColorNames.class, \"ColorNames\");\n addEEnumLiteral(colorNamesEEnum, ColorNames.BLACK);\n addEEnumLiteral(colorNamesEEnum, ColorNames.WHITE);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tarrayOfStringEClass = createEClass(ARRAY_OF_STRING);\n\t\tcreateEAttribute(arrayOfStringEClass, ARRAY_OF_STRING__VALUES);\n\n\t\tcontainerEClass = createEClass(CONTAINER);\n\t\tcreateEAttribute(containerEClass, CONTAINER__NAME);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CONTAINERID);\n\t\tcreateEAttribute(containerEClass, CONTAINER__IMAGE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BUILD);\n\t\tcreateEAttribute(containerEClass, CONTAINER__COMMAND);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PORTS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__EXPOSE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__VOLUMES);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENVIRONMENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENV_FILE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__NET);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DNS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DNS_SEARCH);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CAP_ADD);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CAP_DROP);\n\t\tcreateEAttribute(containerEClass, CONTAINER__WORKING_DIR);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ENTRYPOINT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__USER);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DOMAIN_NAME);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEM_LIMIT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_SWAP);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PRIVILEGED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__RESTART);\n\t\tcreateEAttribute(containerEClass, CONTAINER__STDIN_OPEN);\n\t\tcreateEAttribute(containerEClass, CONTAINER__INTERACTIVE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SHARES);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PID);\n\t\tcreateEAttribute(containerEClass, CONTAINER__IPC);\n\t\tcreateEAttribute(containerEClass, CONTAINER__ADD_HOST);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MAC_ADDRESS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__RM);\n\t\tcreateEAttribute(containerEClass, CONTAINER__SECURITY_OPT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DEVICE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__LXC_CONF);\n\t\tcreateEAttribute(containerEClass, CONTAINER__PUBLISH_ALL);\n\t\tcreateEAttribute(containerEClass, CONTAINER__READ_ONLY);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MONITORED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DISK_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__DISK_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BANDWIDTH_USED);\n\t\tcreateEAttribute(containerEClass, CONTAINER__BANDWIDTH_PERCENT);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MONITORING_INTERVAL);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_MAX_VALUE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__MEMORY_MAX_VALUE);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CORE_MAX);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SET_CPUS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__CPU_SET_MEMS);\n\t\tcreateEAttribute(containerEClass, CONTAINER__TTY);\n\t\tcreateEOperation(containerEClass, CONTAINER___CREATE);\n\t\tcreateEOperation(containerEClass, CONTAINER___STOP);\n\t\tcreateEOperation(containerEClass, CONTAINER___RUN);\n\t\tcreateEOperation(containerEClass, CONTAINER___PAUSE);\n\t\tcreateEOperation(containerEClass, CONTAINER___UNPAUSE);\n\t\tcreateEOperation(containerEClass, CONTAINER___KILL__STRING);\n\n\t\tlinkEClass = createEClass(LINK);\n\t\tcreateEAttribute(linkEClass, LINK__ALIAS);\n\n\t\tnetworklinkEClass = createEClass(NETWORKLINK);\n\n\t\tvolumesfromEClass = createEClass(VOLUMESFROM);\n\t\tcreateEAttribute(volumesfromEClass, VOLUMESFROM__MODE);\n\n\t\tcontainsEClass = createEClass(CONTAINS);\n\n\t\tmachineEClass = createEClass(MACHINE);\n\t\tcreateEAttribute(machineEClass, MACHINE__NAME);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_INSTALL_URL);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_OPT);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_INSECURE_REGISTRY);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_REGISTRY_MIRROR);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_LABEL);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_STORAGE_DRIVER);\n\t\tcreateEAttribute(machineEClass, MACHINE__ENGINE_ENV);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_IMAGE);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_MASTER);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_DISCOVERY);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_STRATEGY);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_OPT);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_HOST);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_ADDR);\n\t\tcreateEAttribute(machineEClass, MACHINE__SWARM_EXPERIMENTAL);\n\t\tcreateEAttribute(machineEClass, MACHINE__TLS_SAN);\n\t\tcreateEOperation(machineEClass, MACHINE___STARTALL);\n\n\t\tvolumeEClass = createEClass(VOLUME);\n\t\tcreateEAttribute(volumeEClass, VOLUME__DRIVER);\n\t\tcreateEAttribute(volumeEClass, VOLUME__LABELS);\n\t\tcreateEAttribute(volumeEClass, VOLUME__OPTIONS);\n\t\tcreateEAttribute(volumeEClass, VOLUME__SOURCE);\n\t\tcreateEAttribute(volumeEClass, VOLUME__DESTINATION);\n\t\tcreateEAttribute(volumeEClass, VOLUME__MODE);\n\t\tcreateEAttribute(volumeEClass, VOLUME__RW);\n\t\tcreateEAttribute(volumeEClass, VOLUME__PROPAGATION);\n\t\tcreateEAttribute(volumeEClass, VOLUME__NAME);\n\n\t\tnetworkEClass = createEClass(NETWORK);\n\t\tcreateEAttribute(networkEClass, NETWORK__NETWORK_ID);\n\t\tcreateEAttribute(networkEClass, NETWORK__NAME);\n\t\tcreateEAttribute(networkEClass, NETWORK__AUX_ADDRESS);\n\t\tcreateEAttribute(networkEClass, NETWORK__DRIVER);\n\t\tcreateEAttribute(networkEClass, NETWORK__GATEWAY);\n\t\tcreateEAttribute(networkEClass, NETWORK__INTERNAL);\n\t\tcreateEAttribute(networkEClass, NETWORK__IP_RANGE);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPAM_DRIVER);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPAM_OPT);\n\t\tcreateEAttribute(networkEClass, NETWORK__IPV6);\n\t\tcreateEAttribute(networkEClass, NETWORK__OPT);\n\t\tcreateEAttribute(networkEClass, NETWORK__SUBNET);\n\n\t\tmachinegenericEClass = createEClass(MACHINEGENERIC);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__ENGINE_PORT);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__IP_ADDRESS);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_KEY);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_USER);\n\t\tcreateEAttribute(machinegenericEClass, MACHINEGENERIC__SSH_PORT);\n\n\t\tmachineamazonec2EClass = createEClass(MACHINEAMAZONEC2);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ACCESS_KEY);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__AMI);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__INSTANCE_TYPE);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__REGION);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ROOT_SIZE);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SECRET_KEY);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SECURITY_GROUP);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SESSION_TOKEN);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__SUBNET_ID);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__VPC_ID);\n\t\tcreateEAttribute(machineamazonec2EClass, MACHINEAMAZONEC2__ZONE);\n\n\t\tmachinedigitaloceanEClass = createEClass(MACHINEDIGITALOCEAN);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__ACCESS_TOKEN);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__IMAGE);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__REGION);\n\t\tcreateEAttribute(machinedigitaloceanEClass, MACHINEDIGITALOCEAN__SIZE);\n\n\t\tmachinegooglecomputeengineEClass = createEClass(MACHINEGOOGLECOMPUTEENGINE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__ZONE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__MACHINE_TYPE);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__USERNAME);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__INSTANCE_NAME);\n\t\tcreateEAttribute(machinegooglecomputeengineEClass, MACHINEGOOGLECOMPUTEENGINE__PROJECT);\n\n\t\tmachineibmsoftlayerEClass = createEClass(MACHINEIBMSOFTLAYER);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__API_ENDPOINT);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__USER);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__API_KEY);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__CPU);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__DISK_SIZE);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__DOMAIN);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__HOURLY_BILLING);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__IMAGE);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__LOCAL_DISK);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PRIVATE_NET_ONLY);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__REGION);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PUBLIC_VLAN_ID);\n\t\tcreateEAttribute(machineibmsoftlayerEClass, MACHINEIBMSOFTLAYER__PRIVATE_VLAN_ID);\n\n\t\tmachinemicrosoftazureEClass = createEClass(MACHINEMICROSOFTAZURE);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBSCRIPTION_ID);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBSCRIPTION_CERT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__ENVIRONMENT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__MACHINE_LOCATION);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__RESOURCE_GROUP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SIZE);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SSH_USER);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__VNET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBNET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__SUBNET_PREFIX);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__AVAILABILITY_SET);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__OPEN_PORT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__PRIVATE_IP_ADDRESS);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__NO_PUBLIC_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__STATIC_PUBLIC_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__DOCKER_PORT);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__USE_PRIVATE_IP);\n\t\tcreateEAttribute(machinemicrosoftazureEClass, MACHINEMICROSOFTAZURE__IMAGE);\n\n\t\tmachinemicrosofthypervEClass = createEClass(MACHINEMICROSOFTHYPERV);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__VIRTUAL_SWITCH);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__DISK_SIZE);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__STATIC_MAC_ADDRESS);\n\t\tcreateEAttribute(machinemicrosofthypervEClass, MACHINEMICROSOFTHYPERV__VLAN_ID);\n\n\t\tmachineopenstackEClass = createEClass(MACHINEOPENSTACK);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLAVOR_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLAVOR_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IMAGE_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IMAGE_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__AUTH_URL);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__USERNAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__PASSWORD);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__TENANT_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__TENANT_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__REGION);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__ENDPOINT_TYPE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__NET_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__NET_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SEC_GROUPS);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__FLOATING_IP_POOL);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__ACTIVE_TIME_OUT);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__AVAILABILITY_ZONE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__DOMAIN_ID);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__DOMAIN_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__INSECURE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__IP_VERSION);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__KEYPAIR_NAME);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__PRIVATE_KEY_FILE);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SSH_PORT);\n\t\tcreateEAttribute(machineopenstackEClass, MACHINEOPENSTACK__SSH_USER);\n\n\t\tmachinerackspaceEClass = createEClass(MACHINERACKSPACE);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__USERNAME);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__API_KEY);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__REGION);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__END_POINT_TYPE);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__IMAGE_ID);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__FLAVOR_ID);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__SSH_USER);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__SSH_PORT);\n\t\tcreateEAttribute(machinerackspaceEClass, MACHINERACKSPACE__DOCKER_INSTALL);\n\n\t\tmachinevirtualboxEClass = createEClass(MACHINEVIRTUALBOX);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__DISK_SIZE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_DNS_RESOLVER);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__IMPORT_BOOT2_DOCKER_VM);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_CIDR);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_NIC_TYPE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__HOST_ONLY_NIC_PROMISC);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_SHARE);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_DNS_PROXY);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__NO_VTX_CHECK);\n\t\tcreateEAttribute(machinevirtualboxEClass, MACHINEVIRTUALBOX__SHARE_FOLDER);\n\n\t\tmachinevmwarefusionEClass = createEClass(MACHINEVMWAREFUSION);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__DISK_SIZE);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarefusionEClass, MACHINEVMWAREFUSION__NO_SHARE);\n\n\t\tmachinevmwarevcloudairEClass = createEClass(MACHINEVMWAREVCLOUDAIR);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__USERNAME);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PASSWORD);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CATALOG);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CATALOG_ITEM);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__COMPUTE_ID);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__CPU_COUNT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__DOCKER_PORT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__EDGEGATEWAY);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__VAPP_NAME);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__ORGVDCNETWORK);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PROVISION);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__PUBLIC_IP);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__SSH_PORT);\n\t\tcreateEAttribute(machinevmwarevcloudairEClass, MACHINEVMWAREVCLOUDAIR__VDC_ID);\n\n\t\tmachinevmwarevsphereEClass = createEClass(MACHINEVMWAREVSPHERE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__USERNAME);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__PASSWORD);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__BOOT2DOCKER_URL);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__COMPUTE_IP);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__CPU_COUNT);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DATACENTER);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DATASTORE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__DISK_SIZE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__MEMORY_SIZE);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__NETWORK);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__POOL);\n\t\tcreateEAttribute(machinevmwarevsphereEClass, MACHINEVMWAREVSPHERE__VCENTER);\n\n\t\tmachineexoscaleEClass = createEClass(MACHINEEXOSCALE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__URL);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__API_KEY);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__API_SECRET_KEY);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__INSTANCE_PROFILE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__IMAGE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__SECURITY_GROUP);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__AVAILABILITY_ZONE);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__SSH_USER);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__USER_DATA);\n\t\tcreateEAttribute(machineexoscaleEClass, MACHINEEXOSCALE__AFFINITY_GROUP);\n\n\t\tmachinegrid5000EClass = createEClass(MACHINEGRID5000);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__USERNAME);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__PASSWORD);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SITE);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__WALLTIME);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SSH_PRIVATE_KEY);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__SSH_PUBLIC_KEY);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__IMAGE);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__RESOURCE_PROPERTIES);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__USE_JOB_RESERVATION);\n\t\tcreateEAttribute(machinegrid5000EClass, MACHINEGRID5000__HOST_TO_PROVISION);\n\n\t\tclusterEClass = createEClass(CLUSTER);\n\t\tcreateEAttribute(clusterEClass, CLUSTER__NAME);\n\n\t\t// Create enums\n\t\tmodeEEnum = createEEnum(MODE);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tcontrolEClass = createEClass(CONTROL);\n\t\tcreateEReference(controlEClass, CONTROL__MIDI);\n\t\tcreateEAttribute(controlEClass, CONTROL__BACKGROUND);\n\t\tcreateEAttribute(controlEClass, CONTROL__CENTERED);\n\t\tcreateEAttribute(controlEClass, CONTROL__COLOR);\n\t\tcreateEAttribute(controlEClass, CONTROL__H);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED_X);\n\t\tcreateEAttribute(controlEClass, CONTROL__INVERTED_Y);\n\t\tcreateEAttribute(controlEClass, CONTROL__LOCAL_OFF);\n\t\tcreateEAttribute(controlEClass, CONTROL__NAME);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER_X);\n\t\tcreateEAttribute(controlEClass, CONTROL__NUMBER_Y);\n\t\tcreateEAttribute(controlEClass, CONTROL__OSC_CS);\n\t\tcreateEAttribute(controlEClass, CONTROL__OUTLINE);\n\t\tcreateEAttribute(controlEClass, CONTROL__RESPONSE);\n\t\tcreateEAttribute(controlEClass, CONTROL__SCALEF);\n\t\tcreateEAttribute(controlEClass, CONTROL__SCALET);\n\t\tcreateEAttribute(controlEClass, CONTROL__SECONDS);\n\t\tcreateEAttribute(controlEClass, CONTROL__SIZE);\n\t\tcreateEAttribute(controlEClass, CONTROL__TEXT);\n\t\tcreateEAttribute(controlEClass, CONTROL__TYPE);\n\t\tcreateEAttribute(controlEClass, CONTROL__W);\n\t\tcreateEAttribute(controlEClass, CONTROL__X);\n\t\tcreateEAttribute(controlEClass, CONTROL__Y);\n\n\t\tlayoutEClass = createEClass(LAYOUT);\n\t\tcreateEReference(layoutEClass, LAYOUT__TABPAGE);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__MODE);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__ORIENTATION);\n\t\tcreateEAttribute(layoutEClass, LAYOUT__VERSION);\n\n\t\tmidiEClass = createEClass(MIDI);\n\t\tcreateEAttribute(midiEClass, MIDI__CHANNEL);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA1);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA2F);\n\t\tcreateEAttribute(midiEClass, MIDI__DATA2T);\n\t\tcreateEAttribute(midiEClass, MIDI__TYPE);\n\t\tcreateEAttribute(midiEClass, MIDI__VAR);\n\n\t\ttabpageEClass = createEClass(TABPAGE);\n\t\tcreateEReference(tabpageEClass, TABPAGE__CONTROL);\n\t\tcreateEAttribute(tabpageEClass, TABPAGE__NAME);\n\n\t\ttopEClass = createEClass(TOP);\n\t\tcreateEReference(topEClass, TOP__LAYOUT);\n\t}", "@Override\n public void packageItem() {\n System.out.println(\"Fresh Produce packing : done\");\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tCorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\t\tObjectsPackage theObjectsPackage = (ObjectsPackage)EPackage.Registry.INSTANCE.getEPackage(ObjectsPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\treadCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tprintEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteCsvFileEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectColumnsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tassertTablesMatchEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\twriteLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadLinesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tselectRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\texcludeRowsEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\tasTableDataEClass.getESuperTypes().add(theCorePackage.getCommand());\n\t\treadPropertiesEClass.getESuperTypes().add(theCorePackage.getCommand());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(readCsvFileEClass, ReadCsvFile.class, \"ReadCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadCsvFile_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(printEClass, Print.class, \"Print\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPrint_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, Print.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeCsvFileEClass, WriteCsvFile.class, \"WriteCsvFile\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getWriteCsvFile_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteCsvFile_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteCsvFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeColumnsEClass, ExcludeColumns.class, \"ExcludeColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, ExcludeColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectColumnsEClass, SelectColumns.class, \"SelectColumns\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectColumns_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectColumns_Columns(), theEcorePackage.getEString(), \"columns\", null, 0, -1, SelectColumns.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(assertTablesMatchEClass, AssertTablesMatch.class, \"AssertTablesMatch\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAssertTablesMatch_Left(), theObjectsPackage.getTable(), null, \"left\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAssertTablesMatch_Right(), theObjectsPackage.getTable(), null, \"right\", null, 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreColumnOrder(), theEcorePackage.getEBoolean(), \"ignoreColumnOrder\", \"false\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAssertTablesMatch_IgnoreMissingColumns(), this.getIgnoreColumnsMode(), \"ignoreMissingColumns\", \"NONE\", 0, 1, AssertTablesMatch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(writeLinesEClass, WriteLines.class, \"WriteLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getWriteLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getWriteLines_Append(), theEcorePackage.getEBoolean(), \"append\", \"false\", 0, 1, WriteLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readLinesEClass, ReadLines.class, \"ReadLines\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadLines_Uri(), theEcorePackage.getEString(), \"uri\", null, 1, 1, ReadLines.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(selectRowsEClass, SelectRows.class, \"SelectRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSelectRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSelectRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, SelectRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(excludeRowsEClass, ExcludeRows.class, \"ExcludeRows\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getExcludeRows_Table(), theObjectsPackage.getTable(), null, \"table\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Column(), theEcorePackage.getEString(), \"column\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Value(), theEcorePackage.getEString(), \"value\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getExcludeRows_Match(), this.getRowMatchMode(), \"match\", null, 0, 1, ExcludeRows.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(asTableDataEClass, AsTableData.class, \"AsTableData\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAsTableData_Input(), theEcorePackage.getEObject(), null, \"input\", null, 0, -1, AsTableData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(readPropertiesEClass, ReadProperties.class, \"ReadProperties\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getReadProperties_Uri(), ecorePackage.getEString(), \"uri\", null, 0, 1, ReadProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(ignoreColumnsModeEEnum, IgnoreColumnsMode.class, \"IgnoreColumnsMode\");\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.NONE);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.LEFT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.RIGHT);\n\t\taddEEnumLiteral(ignoreColumnsModeEEnum, IgnoreColumnsMode.BOTH);\n\n\t\tinitEEnum(rowMatchModeEEnum, RowMatchMode.class, \"RowMatchMode\");\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.EXACT);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.GLOB);\n\t\taddEEnumLiteral(rowMatchModeEEnum, RowMatchMode.REGEXP);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/ecl/docs\n\t\tcreateDocsAnnotations();\n\t\t// http://www.eclipse.org/ecl/internal\n\t\tcreateInternalAnnotations();\n\t\t// http://www.eclipse.org/ecl/input\n\t\tcreateInputAnnotations();\n\t}", "public void correctPackageKeys() {\n Map<String, PersistedBmmPackage> updatedPackages = new HashMap<>();\n packages.forEach((key,value) -> {\n updatedPackages.put(key.toUpperCase(), value);\n });\n packages = updatedPackages;\n }", "public void dontWantToInstall() {\n\t\tpackageList.removeAll(packageList);\n\t}", "public void initializePackageContents() {\n if(isInitialized) {\n return;\n }\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n modularizationModelEClass.getESuperTypes().add(this.getNamedElement());\n moduleEClass.getESuperTypes().add(this.getNamedElement());\n classEClass.getESuperTypes().add(this.getNamedElement());\n\n // Initialize classes, features, and operations; add parameters\n initEClass(namedElementEClass, NamedElement.class, \"NamedElement\", !IS_ABSTRACT, !IS_INTERFACE,\n IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NamedElement.class,\n !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(modularizationModelEClass, ModularizationModel.class, \"ModularizationModel\", !IS_ABSTRACT,\n !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModularizationModel_Modules(), this.getModule(), null, \"modules\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n initEReference(getModularizationModel_Classes(), this.getClass_(), null, \"classes\", null, 0, -1,\n ModularizationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\n !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);\n\n initEClass(moduleEClass, Module.class, \"Module\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModule_Classes(), this.getClass_(), this.getClass_Module(), \"classes\", null, 0, -1,\n Module.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\n IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(classEClass, at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, \"Class\",\n !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getClass_Module(), this.getModule(), this.getModule_Classes(), \"module\", null, 0, 1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependsOn(), this.getClass_(), this.getClass_DependedOnBy(), \"dependsOn\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getClass_DependedOnBy(), this.getClass_(), this.getClass_DependsOn(), \"dependedOnBy\", null, 0, -1,\n at.ac.tuwien.big.momot.examples.modularization.jsme.modularization.Class.class, !IS_TRANSIENT, !IS_VOLATILE,\n IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmetadataEClass = createEClass(METADATA);\n\t\tcreateEAttribute(metadataEClass, METADATA__GAMENAME);\n\t\tcreateEAttribute(metadataEClass, METADATA__SHORTNAME);\n\t\tcreateEAttribute(metadataEClass, METADATA__TIMING);\n\t\tcreateEAttribute(metadataEClass, METADATA__ADRESSING);\n\t\tcreateEAttribute(metadataEClass, METADATA__CARTRIDGE_TYPE);\n\t\tcreateEAttribute(metadataEClass, METADATA__ROM_SIZE);\n\t\tcreateEAttribute(metadataEClass, METADATA__RAM_SIZE);\n\t\tcreateEAttribute(metadataEClass, METADATA__LICENSEE);\n\t\tcreateEAttribute(metadataEClass, METADATA__COUNTRY);\n\t\tcreateEAttribute(metadataEClass, METADATA__VIDEOFORMAT);\n\t\tcreateEAttribute(metadataEClass, METADATA__VERSION);\n\t\tcreateEAttribute(metadataEClass, METADATA__IDE_VERSION);\n\t}", "public void createPackageContents() {\r\n\t\tif (isCreated) return;\r\n\t\tisCreated = true;\r\n\r\n\t\t// Create classes and their features\r\n\t\trunnableEClass = createEClass(RUNNABLE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__COMPONENT_INSTANCE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__PORT_INSTANCE);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__PERIOD);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__LABEL_ACCESSES);\r\n\t\tcreateEReference(runnableEClass, RUNNABLE__DEADLINE);\r\n\r\n\t\tlabelEClass = createEClass(LABEL);\r\n\t\tcreateEReference(labelEClass, LABEL__COMPONENT_INSTANCE);\r\n\t\tcreateEReference(labelEClass, LABEL__COMPONENT_STATECHART);\r\n\t\tcreateEAttribute(labelEClass, LABEL__IS_CONSTANT);\r\n\r\n\t\tlabelAccessEClass = createEClass(LABEL_ACCESS);\r\n\t\tcreateEAttribute(labelAccessEClass, LABEL_ACCESS__ACCESS_KIND);\r\n\t\tcreateEReference(labelAccessEClass, LABEL_ACCESS__ACCESS_LABEL);\r\n\t\tcreateEReference(labelAccessEClass, LABEL_ACCESS__ACCESSING_RUNNABLE);\r\n\r\n\t\t// Create enums\r\n\t\tlabelAccessKindEEnum = createEEnum(LABEL_ACCESS_KIND);\r\n\t}", "ImportedPackage createImportedPackage();", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\tmealyMachineEClass = createEClass(MEALY_MACHINE);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__INITIAL_STATE);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__STATES);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__INPUT_ALPHABET);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__OUTPUT_ALPHABET);\n\t\tcreateEReference(mealyMachineEClass, MEALY_MACHINE__TRANSITIONS);\n\n\t\tstateEClass = createEClass(STATE);\n\t\tcreateEAttribute(stateEClass, STATE__NAME);\n\n\t\talphabetEClass = createEClass(ALPHABET);\n\t\tcreateEAttribute(alphabetEClass, ALPHABET__CHARACTERS);\n\n\t\ttransitionEClass = createEClass(TRANSITION);\n\t\tcreateEReference(transitionEClass, TRANSITION__SOURCE_STATE);\n\t\tcreateEReference(transitionEClass, TRANSITION__TARGET_STATE);\n\t\tcreateEAttribute(transitionEClass, TRANSITION__INPUT);\n\t\tcreateEAttribute(transitionEClass, TRANSITION__OUTPUT);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tQIntegratedLanguageCorePackage theIntegratedLanguageCorePackage = (QIntegratedLanguageCorePackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCorePackage.eNS_URI);\n\t\tQIntegratedLanguageCoreCtxPackage theIntegratedLanguageCoreCtxPackage = (QIntegratedLanguageCoreCtxPackage)EPackage.Registry.INSTANCE.getEPackage(QIntegratedLanguageCoreCtxPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\trepositoryEClass.getESuperTypes().add(theIntegratedLanguageCorePackage.getObjectNameable());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(repositoryEClass, QRepository.class, \"Repository\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getRepository_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRepository_Location(), ecorePackage.getEString(), \"location\", null, 1, 1, QRepository.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(repositoryManagerEClass, QRepositoryManager.class, \"RepositoryManager\", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tEOperation op = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"checkUpdates\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, ecorePackage.getEBoolean(), \"update\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"repositoryLocation\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(repositoryManagerEClass, null, \"updateAll\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theIntegratedLanguageCoreCtxPackage.getContextProvider(), \"contextProvider\", 1, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n programmeEClass = createEClass(PROGRAMME);\n createEReference(programmeEClass, PROGRAMME__PROCEDURES);\n\n procedureEClass = createEClass(PROCEDURE);\n createEAttribute(procedureEClass, PROCEDURE__NAME);\n createEAttribute(procedureEClass, PROCEDURE__PARAM);\n createEAttribute(procedureEClass, PROCEDURE__PARAMS);\n createEReference(procedureEClass, PROCEDURE__INST);\n\n instructionEClass = createEClass(INSTRUCTION);\n\n openEClass = createEClass(OPEN);\n createEAttribute(openEClass, OPEN__NAME);\n createEAttribute(openEClass, OPEN__VALUE);\n\n gotoEClass = createEClass(GOTO);\n createEAttribute(gotoEClass, GOTO__NAME);\n createEAttribute(gotoEClass, GOTO__VALUE);\n\n clickEClass = createEClass(CLICK);\n createEAttribute(clickEClass, CLICK__NAME);\n createEAttribute(clickEClass, CLICK__TYPE);\n createEReference(clickEClass, CLICK__IDENTIFIER);\n\n fillEClass = createEClass(FILL);\n createEAttribute(fillEClass, FILL__NAME);\n createEAttribute(fillEClass, FILL__FIELD_TYPE);\n createEReference(fillEClass, FILL__IDENTIFIER);\n createEAttribute(fillEClass, FILL__VAR);\n createEAttribute(fillEClass, FILL__VALUE);\n\n checkEClass = createEClass(CHECK);\n createEAttribute(checkEClass, CHECK__NAME);\n createEAttribute(checkEClass, CHECK__ALL);\n createEReference(checkEClass, CHECK__IDENTIFIER);\n\n uncheckEClass = createEClass(UNCHECK);\n createEAttribute(uncheckEClass, UNCHECK__NAME);\n createEAttribute(uncheckEClass, UNCHECK__ALL);\n createEReference(uncheckEClass, UNCHECK__IDENTIFIER);\n\n selectEClass = createEClass(SELECT);\n createEAttribute(selectEClass, SELECT__NAME);\n createEAttribute(selectEClass, SELECT__ELEM);\n createEReference(selectEClass, SELECT__IDENTIFIER);\n\n readEClass = createEClass(READ);\n createEAttribute(readEClass, READ__NAME);\n createEReference(readEClass, READ__IDENTIFIER);\n createEReference(readEClass, READ__SAVE_PATH);\n\n elementidentifierEClass = createEClass(ELEMENTIDENTIFIER);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__NAME);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__TYPE);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__VALUE);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__INFO);\n createEAttribute(elementidentifierEClass, ELEMENTIDENTIFIER__VAR);\n\n verifyEClass = createEClass(VERIFY);\n createEAttribute(verifyEClass, VERIFY__VALUE);\n\n verifY_CONTAINSEClass = createEClass(VERIFY_CONTAINS);\n createEAttribute(verifY_CONTAINSEClass, VERIFY_CONTAINS__TYPE);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__IDENTIFIER);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__CONTAINED_IDENTIFIER);\n createEReference(verifY_CONTAINSEClass, VERIFY_CONTAINS__VARIABLE);\n\n verifY_EQUALSEClass = createEClass(VERIFY_EQUALS);\n createEReference(verifY_EQUALSEClass, VERIFY_EQUALS__OPERATION);\n createEReference(verifY_EQUALSEClass, VERIFY_EQUALS__REGISTERED_VALUE);\n\n registereD_VALUEEClass = createEClass(REGISTERED_VALUE);\n createEAttribute(registereD_VALUEEClass, REGISTERED_VALUE__VAR);\n\n countEClass = createEClass(COUNT);\n createEAttribute(countEClass, COUNT__NAME);\n createEReference(countEClass, COUNT__IDENTIFIER);\n createEReference(countEClass, COUNT__SAVE_VARIABLE);\n\n savevarEClass = createEClass(SAVEVAR);\n createEAttribute(savevarEClass, SAVEVAR__VAR);\n\n playEClass = createEClass(PLAY);\n createEAttribute(playEClass, PLAY__NAME);\n createEAttribute(playEClass, PLAY__PREOCEDURE);\n createEAttribute(playEClass, PLAY__PARAMS);\n }", "public void initializePackageContents()\n {\n if (isInitialized) return;\n isInitialized = true;\n\n // Initialize package\n setName(eNAME);\n setNsPrefix(eNS_PREFIX);\n setNsURI(eNS_URI);\n\n // Create type parameters\n\n // Set bounds for type parameters\n\n // Add supertypes to classes\n acT_SpNoMsgEClass.getESuperTypes().add(this.getACTION());\n acT_SpBrEClass.getESuperTypes().add(this.getACTION());\n acT_SpUniEClass.getESuperTypes().add(this.getACTION());\n acT_InBrEClass.getESuperTypes().add(this.getACTION());\n acT_InUniEClass.getESuperTypes().add(this.getACTION());\n pR_ExprEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n ratE_ExprEClass.getESuperTypes().add(this.getIRange());\n ratE_ExprEClass.getESuperTypes().add(this.getTerminal_RATE_Expr());\n agenT_NUMEClass.getESuperTypes().add(this.getTerminal_PR_Expr());\n\n // Initialize classes and features; add operations and parameters\n initEClass(modelEClass, Model.class, \"Model\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getModel_Params(), this.getParam(), null, \"params\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_States(), this.getAgentState(), null, \"states\", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getModel_Population(), this.getPOPULATION(), null, \"population\", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(paramEClass, Param.class, \"Param\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getParam_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getParam_Value(), ecorePackage.getEString(), \"value\", null, 0, 1, Param.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentStateEClass, AgentState.class, \"AgentState\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAgentState_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getAgentState_Prefixs(), this.getPrefix(), null, \"prefixs\", null, 0, -1, AgentState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(prefixEClass, Prefix.class, \"Prefix\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPrefix_Action(), this.getACTION(), null, \"action\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEAttribute(getPrefix_Continue(), ecorePackage.getEString(), \"continue\", null, 0, 1, Prefix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(actionEClass, org.xtext.edinburgh.paloma.ACTION.class, \"ACTION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getACTION_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n initEReference(getACTION_Rate(), this.getRATE_Expr(), null, \"rate\", null, 0, 1, org.xtext.edinburgh.paloma.ACTION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpNoMsgEClass, ACT_SpNoMsg.class, \"ACT_SpNoMsg\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(acT_SpBrEClass, ACT_SpBr.class, \"ACT_SpBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpBr_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_SpUniEClass, ACT_SpUni.class, \"ACT_SpUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_SpUni_Range(), this.getIRange(), null, \"range\", null, 0, 1, ACT_SpUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InBrEClass, ACT_InBr.class, \"ACT_InBr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InBr_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InBr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(acT_InUniEClass, ACT_InUni.class, \"ACT_InUni\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getACT_InUni_Value(), this.getPR_Expr(), null, \"value\", null, 0, 1, ACT_InUni.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(iRangeEClass, IRange.class, \"IRange\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n initEClass(pR_ExprEClass, PR_Expr.class, \"PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPR_Expr_PrE(), this.getTerminal_PR_Expr(), null, \"prE\", null, 0, -1, PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_PR_ExprEClass, Terminal_PR_Expr.class, \"Terminal_PR_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_PR_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_PR_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(ratE_ExprEClass, RATE_Expr.class, \"RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getRATE_Expr_Rt(), this.getTerminal_RATE_Expr(), null, \"rt\", null, 0, -1, RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(terminal_RATE_ExprEClass, Terminal_RATE_Expr.class, \"Terminal_RATE_Expr\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getTerminal_RATE_Expr_LinkedParam(), ecorePackage.getEString(), \"linkedParam\", null, 0, 1, Terminal_RATE_Expr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agenT_NUMEClass, org.xtext.edinburgh.paloma.AGENT_NUM.class, \"AGENT_NUM\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENT_NUM_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENT_NUM.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(populationEClass, org.xtext.edinburgh.paloma.POPULATION.class, \"POPULATION\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEReference(getPOPULATION_Popu(), this.getAGENTS(), null, \"popu\", null, 0, -1, org.xtext.edinburgh.paloma.POPULATION.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n initEClass(agentsEClass, org.xtext.edinburgh.paloma.AGENTS.class, \"AGENTS\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n initEAttribute(getAGENTS_Type(), ecorePackage.getEString(), \"type\", null, 0, 1, org.xtext.edinburgh.paloma.AGENTS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n // Create resource\n createResource(eNS_URI);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tInfrastructurePackage theInfrastructurePackage = (InfrastructurePackage)EPackage.Registry.INSTANCE.getEPackage(InfrastructurePackage.eNS_URI);\n\t\tOCCIPackage theOCCIPackage = (OCCIPackage)EPackage.Registry.INSTANCE.getEPackage(OCCIPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcontainerEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tlinkEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tnetworklinkEClass.getESuperTypes().add(this.getLink());\n\t\tvolumesfromEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tcontainsEClass.getESuperTypes().add(theOCCIPackage.getLink());\n\t\tmachineEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\t\tvolumeEClass.getESuperTypes().add(theInfrastructurePackage.getStorage());\n\t\tnetworkEClass.getESuperTypes().add(theInfrastructurePackage.getNetwork());\n\t\tmachinegenericEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineamazonec2EClass.getESuperTypes().add(this.getMachine());\n\t\tmachinedigitaloceanEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegooglecomputeengineEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineibmsoftlayerEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosoftazureEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinemicrosofthypervEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineopenstackEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinerackspaceEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevirtualboxEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarefusionEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevcloudairEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinevmwarevsphereEClass.getESuperTypes().add(this.getMachine());\n\t\tmachineexoscaleEClass.getESuperTypes().add(this.getMachine());\n\t\tmachinegrid5000EClass.getESuperTypes().add(this.getMachine());\n\t\tclusterEClass.getESuperTypes().add(theInfrastructurePackage.getCompute());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(arrayOfStringEClass, ArrayOfString.class, \"ArrayOfString\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArrayOfString_Values(), ecorePackage.getEString(), \"values\", null, 0, -1, ArrayOfString.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containerEClass, org.eclipse.cmf.occi.docker.Container.class, \"Container\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getContainer_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Containerid(), ecorePackage.getEString(), \"containerid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Build(), ecorePackage.getEString(), \"build\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Command(), ecorePackage.getEString(), \"command\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ports(), ecorePackage.getEString(), \"ports\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Expose(), ecorePackage.getEString(), \"expose\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Volumes(), ecorePackage.getEString(), \"volumes\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Environment(), ecorePackage.getEString(), \"environment\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_EnvFile(), ecorePackage.getEString(), \"envFile\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Net(), ecorePackage.getEString(), \"net\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Dns(), ecorePackage.getEString(), \"dns\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DnsSearch(), ecorePackage.getEString(), \"dnsSearch\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapAdd(), ecorePackage.getEString(), \"capAdd\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CapDrop(), ecorePackage.getEString(), \"capDrop\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_WorkingDir(), ecorePackage.getEString(), \"workingDir\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Entrypoint(), ecorePackage.getEString(), \"entrypoint\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemLimit(), ecorePackage.getEBigInteger(), \"memLimit\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemorySwap(), ecorePackage.getEBigInteger(), \"memorySwap\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Privileged(), ecorePackage.getEBoolean(), \"privileged\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Restart(), ecorePackage.getEString(), \"restart\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_StdinOpen(), ecorePackage.getEBoolean(), \"stdinOpen\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Interactive(), ecorePackage.getEBoolean(), \"interactive\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuShares(), ecorePackage.getEBigInteger(), \"cpuShares\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Pid(), ecorePackage.getEString(), \"pid\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Ipc(), ecorePackage.getEString(), \"ipc\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_AddHost(), ecorePackage.getEString(), \"addHost\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MacAddress(), theInfrastructurePackage.getMac(), \"macAddress\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Rm(), ecorePackage.getEBoolean(), \"rm\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_SecurityOpt(), ecorePackage.getEString(), \"securityOpt\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Device(), ecorePackage.getEString(), \"device\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_LxcConf(), ecorePackage.getEString(), \"lxcConf\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_PublishAll(), ecorePackage.getEBoolean(), \"publishAll\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_ReadOnly(), ecorePackage.getEBoolean(), \"readOnly\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Monitored(), ecorePackage.getEBoolean(), \"monitored\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuUsed(), ecorePackage.getEBigInteger(), \"cpuUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryUsed(), ecorePackage.getEBigInteger(), \"memoryUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuPercent(), ecorePackage.getEString(), \"cpuPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryPercent(), ecorePackage.getEString(), \"memoryPercent\", \"0\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskUsed(), ecorePackage.getEBigInteger(), \"diskUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_DiskPercent(), ecorePackage.getEString(), \"diskPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthUsed(), ecorePackage.getEBigInteger(), \"bandwidthUsed\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_BandwidthPercent(), ecorePackage.getEString(), \"bandwidthPercent\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MonitoringInterval(), ecorePackage.getEBigInteger(), \"monitoringInterval\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuMaxValue(), ecorePackage.getEBigInteger(), \"cpuMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_MemoryMaxValue(), ecorePackage.getEBigInteger(), \"memoryMaxValue\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CoreMax(), ecorePackage.getEBigInteger(), \"coreMax\", \"1\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetCpus(), ecorePackage.getEString(), \"cpuSetCpus\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_CpuSetMems(), ecorePackage.getEString(), \"cpuSetMems\", null, 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getContainer_Tty(), ecorePackage.getEBoolean(), \"tty\", \"false\", 0, 1, org.eclipse.cmf.occi.docker.Container.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Create(), null, \"create\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Stop(), null, \"stop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Run(), null, \"run\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Pause(), null, \"pause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getContainer__Unpause(), null, \"unpause\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getContainer__Kill__String(), null, \"kill\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEString(), \"signal\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getLink_Alias(), ecorePackage.getEString(), \"alias\", null, 0, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networklinkEClass, Networklink.class, \"Networklink\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(volumesfromEClass, Volumesfrom.class, \"Volumesfrom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolumesfrom_Mode(), this.getMode(), \"mode\", \"readWrite\", 0, 1, Volumesfrom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(containsEClass, Contains.class, \"Contains\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(machineEClass, Machine.class, \"Machine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachine_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInstallURL(), ecorePackage.getEString(), \"engineInstallURL\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineOpt(), ecorePackage.getEString(), \"engineOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineInsecureRegistry(), ecorePackage.getEString(), \"engineInsecureRegistry\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineRegistryMirror(), ecorePackage.getEString(), \"engineRegistryMirror\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineLabel(), ecorePackage.getEString(), \"engineLabel\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineStorageDriver(), ecorePackage.getEString(), \"engineStorageDriver\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_EngineEnv(), ecorePackage.getEString(), \"engineEnv\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_Swarm(), ecorePackage.getEBoolean(), \"swarm\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmImage(), ecorePackage.getEString(), \"swarmImage\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmMaster(), ecorePackage.getEBoolean(), \"swarmMaster\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmDiscovery(), ecorePackage.getEString(), \"swarmDiscovery\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmStrategy(), ecorePackage.getEString(), \"swarmStrategy\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmOpt(), ecorePackage.getEString(), \"swarmOpt\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmHost(), ecorePackage.getEString(), \"swarmHost\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmAddr(), ecorePackage.getEString(), \"swarmAddr\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_SwarmExperimental(), ecorePackage.getEString(), \"swarmExperimental\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachine_TlsSan(), ecorePackage.getEString(), \"tlsSan\", null, 0, 1, Machine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMachine__Startall(), null, \"startall\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(volumeEClass, Volume.class, \"Volume\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getVolume_Driver(), ecorePackage.getEString(), \"driver\", \"local\", 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Labels(), ecorePackage.getEString(), \"labels\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Options(), ecorePackage.getEString(), \"options\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Source(), ecorePackage.getEString(), \"source\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Destination(), ecorePackage.getEString(), \"destination\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Mode(), ecorePackage.getEString(), \"mode\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Rw(), ecorePackage.getEString(), \"rw\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Propagation(), ecorePackage.getEString(), \"propagation\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getVolume_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Volume.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(networkEClass, Network.class, \"Network\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getNetwork_NetworkId(), ecorePackage.getEString(), \"networkId\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_AuxAddress(), ecorePackage.getEString(), \"auxAddress\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Driver(), ecorePackage.getEString(), \"driver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Gateway(), ecorePackage.getEString(), \"gateway\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Internal(), ecorePackage.getEBoolean(), \"internal\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpRange(), ecorePackage.getEString(), \"ipRange\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamDriver(), ecorePackage.getEString(), \"ipamDriver\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_IpamOpt(), ecorePackage.getEString(), \"ipamOpt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Ipv6(), ecorePackage.getEBoolean(), \"ipv6\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Opt(), ecorePackage.getEString(), \"opt\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getNetwork_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Network.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegenericEClass, Machinegeneric.class, \"Machinegeneric\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegeneric_EnginePort(), ecorePackage.getEBigInteger(), \"enginePort\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_IpAddress(), ecorePackage.getEString(), \"ipAddress\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshKey(), ecorePackage.getEString(), \"sshKey\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegeneric_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinegeneric.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineamazonec2EClass, Machineamazonec2.class, \"Machineamazonec2\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineamazonec2_AccessKey(), ecorePackage.getEString(), \"accessKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Ami(), ecorePackage.getEString(), \"ami\", \"ami-4ae27e22\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_InstanceType(), ecorePackage.getEString(), \"instanceType\", \"t2.micro\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Region(), ecorePackage.getEString(), \"region\", \"us-east-1\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_RootSize(), ecorePackage.getEBigInteger(), \"rootSize\", \"16\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecretKey(), ecorePackage.getEString(), \"secretKey\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", \"docker-machine\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SessionToken(), ecorePackage.getEString(), \"sessionToken\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_SubnetId(), ecorePackage.getEString(), \"subnetId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_VpcId(), ecorePackage.getEString(), \"vpcId\", null, 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineamazonec2_Zone(), ecorePackage.getEString(), \"zone\", \"a\", 0, 1, Machineamazonec2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinedigitaloceanEClass, Machinedigitalocean.class, \"Machinedigitalocean\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinedigitalocean_AccessToken(), ecorePackage.getEString(), \"accessToken\", null, 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Image(), ecorePackage.getEString(), \"image\", \"docker\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Region(), ecorePackage.getEString(), \"region\", \"nyc3\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinedigitalocean_Size(), ecorePackage.getEString(), \"size\", \"512mb\", 0, 1, Machinedigitalocean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegooglecomputeengineEClass, Machinegooglecomputeengine.class, \"Machinegooglecomputeengine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Zone(), ecorePackage.getEString(), \"zone\", \"us-central1-a\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_MachineType(), ecorePackage.getEString(), \"machineType\", \"f1-micro\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Username(), ecorePackage.getEString(), \"username\", \"docker-user\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_InstanceName(), ecorePackage.getEString(), \"instanceName\", \"docker-machine\", 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegooglecomputeengine_Project(), ecorePackage.getEString(), \"project\", null, 0, 1, Machinegooglecomputeengine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineibmsoftlayerEClass, Machineibmsoftlayer.class, \"Machineibmsoftlayer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiEndpoint(), ecorePackage.getEString(), \"apiEndpoint\", \"api.softlayer.com/rest/v3\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_User(), ecorePackage.getEString(), \"user\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Cpu(), ecorePackage.getEBigInteger(), \"cpu\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Domain(), ecorePackage.getEString(), \"domain\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_HourlyBilling(), ecorePackage.getEBoolean(), \"hourlyBilling\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Image(), ecorePackage.getEString(), \"image\", \"UBUNTU_LATEST\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_LocalDisk(), ecorePackage.getEBoolean(), \"localDisk\", \"false\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateNetOnly(), ecorePackage.getEBoolean(), \"privateNetOnly\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PublicVlanId(), ecorePackage.getEString(), \"publicVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineibmsoftlayer_PrivateVlanId(), ecorePackage.getEString(), \"privateVlanId\", \"0\", 0, 1, Machineibmsoftlayer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosoftazureEClass, Machinemicrosoftazure.class, \"Machinemicrosoftazure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionId(), ecorePackage.getEString(), \"subscriptionId\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubscriptionCert(), ecorePackage.getEString(), \"subscriptionCert\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Environment(), ecorePackage.getEString(), \"environment\", \"AzurePublicCloud\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_MachineLocation(), ecorePackage.getEString(), \"machineLocation\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_ResourceGroup(), ecorePackage.getEString(), \"resourceGroup\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Size(), ecorePackage.getEString(), \"size\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SshUser(), ecorePackage.getEString(), \"sshUser\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Vnet(), ecorePackage.getEString(), \"vnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Subnet(), ecorePackage.getEString(), \"subnet\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_SubnetPrefix(), ecorePackage.getEString(), \"subnetPrefix\", \"192.168.0.0/16\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_AvailabilitySet(), ecorePackage.getEString(), \"availabilitySet\", \"docker-machine\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_OpenPort(), ecorePackage.getEBigInteger(), \"openPort\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_PrivateIpAddress(), ecorePackage.getEString(), \"privateIpAddress\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_NoPublicIp(), ecorePackage.getEString(), \"noPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_StaticPublicIp(), ecorePackage.getEString(), \"staticPublicIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_DockerPort(), ecorePackage.getEString(), \"dockerPort\", \"2376\", 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_UsePrivateIp(), ecorePackage.getEString(), \"usePrivateIp\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosoftazure_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinemicrosoftazure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinemicrosofthypervEClass, Machinemicrosofthyperv.class, \"Machinemicrosofthyperv\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VirtualSwitch(), ecorePackage.getEString(), \"virtualSwitch\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_StaticMacAddress(), theInfrastructurePackage.getMac(), \"staticMacAddress\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinemicrosofthyperv_VlanId(), ecorePackage.getEString(), \"vlanId\", null, 0, 1, Machinemicrosofthyperv.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineopenstackEClass, Machineopenstack.class, \"Machineopenstack\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineopenstack_FlavorId(), ecorePackage.getEString(), \"flavorId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FlavorName(), ecorePackage.getEString(), \"flavorName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageId(), ecorePackage.getEString(), \"imageId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ImageName(), ecorePackage.getEString(), \"imageName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AuthUrl(), ecorePackage.getEString(), \"authUrl\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantName(), ecorePackage.getEString(), \"tenantName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_TenantId(), ecorePackage.getEString(), \"tenantId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_EndpointType(), ecorePackage.getEString(), \"endpointType\", \"publicURL\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetId(), ecorePackage.getEString(), \"netId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_NetName(), ecorePackage.getEString(), \"netName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SecGroups(), ecorePackage.getEString(), \"secGroups\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_FloatingIpPool(), ecorePackage.getEString(), \"floatingIpPool\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_ActiveTimeOut(), ecorePackage.getEBigInteger(), \"activeTimeOut\", \"200\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainId(), ecorePackage.getEString(), \"domainId\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_DomainName(), ecorePackage.getEString(), \"domainName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_Insecure(), ecorePackage.getEBoolean(), \"insecure\", \"false\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_IpVersion(), ecorePackage.getEBigInteger(), \"ipVersion\", \"4\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_KeypairName(), ecorePackage.getEString(), \"keypairName\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_PrivateKeyFile(), ecorePackage.getEString(), \"privateKeyFile\", null, 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineopenstack_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machineopenstack.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinerackspaceEClass, Machinerackspace.class, \"Machinerackspace\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinerackspace_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_Region(), ecorePackage.getEString(), \"region\", null, 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_EndPointType(), ecorePackage.getEString(), \"endPointType\", \"publicURL\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_ImageId(), ecorePackage.getEString(), \"imageId\", \"59a3fadd-93e7-4674-886a-64883e17115f\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_FlavorId(), ecorePackage.getEString(), \"flavorId\", \"general1-1\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshUser(), ecorePackage.getEString(), \"sshUser\", \"root\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinerackspace_DockerInstall(), ecorePackage.getEBoolean(), \"dockerInstall\", \"true\", 0, 1, Machinerackspace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevirtualboxEClass, Machinevirtualbox.class, \"Machinevirtualbox\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevirtualbox_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostDNSResolver(), ecorePackage.getEBoolean(), \"hostDNSResolver\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ImportBoot2DockerVM(), ecorePackage.getEString(), \"importBoot2DockerVM\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyCIDR(), ecorePackage.getEString(), \"hostOnlyCIDR\", \"192.168.99.1/24\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICType(), ecorePackage.getEString(), \"hostOnlyNICType\", \"82540EM\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_HostOnlyNICPromisc(), ecorePackage.getEString(), \"hostOnlyNICPromisc\", \"deny\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoDNSProxy(), ecorePackage.getEBoolean(), \"noDNSProxy\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_NoVTXCheck(), ecorePackage.getEBoolean(), \"noVTXCheck\", \"false\", 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevirtualbox_ShareFolder(), ecorePackage.getEString(), \"shareFolder\", null, 0, 1, Machinevirtualbox.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarefusionEClass, Machinevmwarefusion.class, \"Machinevmwarefusion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarefusion_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"1024\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarefusion_NoShare(), ecorePackage.getEBoolean(), \"noShare\", \"false\", 0, 1, Machinevmwarefusion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevcloudairEClass, Machinevmwarevcloudair.class, \"Machinevmwarevcloudair\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Catalog(), ecorePackage.getEString(), \"catalog\", \"Public Catalog\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CatalogItem(), ecorePackage.getEString(), \"catalogItem\", \"Ubuntu Server 12.04 LTS (amd64 20140927)\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_ComputeId(), ecorePackage.getEString(), \"computeId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"1\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_DockerPort(), ecorePackage.getEBigInteger(), \"dockerPort\", \"2376\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Edgegateway(), ecorePackage.getEString(), \"edgegateway\", \"&lt;vdcid>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VappName(), ecorePackage.getEString(), \"vappName\", \"&lt;autogenerated>\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Orgvdcnetwork(), ecorePackage.getEString(), \"orgvdcnetwork\", \"&lt;vdcid>-default-routed\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_Provision(), ecorePackage.getEBoolean(), \"provision\", \"true\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_PublicIp(), ecorePackage.getEString(), \"publicIp\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_SshPort(), ecorePackage.getEBigInteger(), \"sshPort\", \"22\", 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevcloudair_VdcId(), ecorePackage.getEString(), \"vdcId\", null, 0, 1, Machinevmwarevcloudair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinevmwarevsphereEClass, Machinevmwarevsphere.class, \"Machinevmwarevsphere\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinevmwarevsphere_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Boot2dockerURL(), ecorePackage.getEString(), \"boot2dockerURL\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_ComputeIp(), ecorePackage.getEString(), \"computeIp\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_CpuCount(), ecorePackage.getEBigInteger(), \"cpuCount\", \"2\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datacenter(), ecorePackage.getEString(), \"datacenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Datastore(), ecorePackage.getEString(), \"datastore\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_DiskSize(), ecorePackage.getEBigInteger(), \"diskSize\", \"20000\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_MemorySize(), ecorePackage.getEBigInteger(), \"memorySize\", \"2048\", 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Network(), ecorePackage.getEString(), \"network\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Pool(), ecorePackage.getEString(), \"pool\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinevmwarevsphere_Vcenter(), ecorePackage.getEString(), \"vcenter\", null, 0, 1, Machinevmwarevsphere.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machineexoscaleEClass, Machineexoscale.class, \"Machineexoscale\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachineexoscale_Url(), ecorePackage.getEString(), \"url\", \"https://api.exoscale.ch/compute\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiKey(), ecorePackage.getEString(), \"apiKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_ApiSecretKey(), ecorePackage.getEString(), \"apiSecretKey\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_InstanceProfile(), ecorePackage.getEString(), \"instanceProfile\", \"small\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_Image(), ecorePackage.getEString(), \"image\", \"ubuntu-16.04\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SecurityGroup(), ecorePackage.getEString(), \"securityGroup\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AvailabilityZone(), ecorePackage.getEString(), \"availabilityZone\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_SshUser(), ecorePackage.getEString(), \"sshUser\", \"ubuntu\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_UserData(), ecorePackage.getEString(), \"userData\", null, 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachineexoscale_AffinityGroup(), ecorePackage.getEString(), \"affinityGroup\", \"docker-machine\", 0, 1, Machineexoscale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(machinegrid5000EClass, Machinegrid5000.class, \"Machinegrid5000\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMachinegrid5000_Username(), ecorePackage.getEString(), \"username\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Password(), ecorePackage.getEString(), \"password\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Site(), ecorePackage.getEString(), \"site\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Walltime(), ecorePackage.getEString(), \"walltime\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPrivateKey(), ecorePackage.getEString(), \"sshPrivateKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_SshPublicKey(), ecorePackage.getEString(), \"sshPublicKey\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_Image(), ecorePackage.getEString(), \"image\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_ResourceProperties(), ecorePackage.getEString(), \"resourceProperties\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_UseJobReservation(), ecorePackage.getEString(), \"useJobReservation\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getMachinegrid5000_HostToProvision(), ecorePackage.getEString(), \"hostToProvision\", null, 0, 1, Machinegrid5000.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(clusterEClass, Cluster.class, \"Cluster\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCluster_Name(), ecorePackage.getEString(), \"name\", null, 0, 1, Cluster.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(modeEEnum, Mode.class, \"Mode\");\n\t\taddEEnumLiteral(modeEEnum, Mode.READ_WRITE);\n\t\taddEEnumLiteral(modeEEnum, Mode.READ);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "private void editLibraries() {\n\t\tJOptionPane.showMessageDialog(this, \"No implemented yet!\");\n\t}", "protected void processPackage(Package myPackage, String parentPackageName)\n {\n Element element = null;\n // local variable to store an attribute\n Attribute attribute = null;\n // local variable to store a connector\n Connector connector = null;\n // local variable to store the roles\n ConnectorEnd sourceRole = null;\n ConnectorEnd targetRole = null;\n \n String packageHierarchy = null; \n\n \n EAEventManager.getInstance().fireEAEvent(\n this,\n \"Extracting information from package \"\n + myPackage.GetName());\n\n if(parentPackageName.equals(\"\"))\n packageHierarchy = myPackage.GetName();\n else\n packageHierarchy = parentPackageName + \"/\" + myPackage.GetName(); \n \n addPackageToGlossary(myPackage, packageHierarchy);\n\n /////////////////////////////////////////////////\n // Process the classes defined in this subpackage\n /////////////////////////////////////////////////\n for (Iterator elementsIter = myPackage.GetElements()\n .iterator(); elementsIter.hasNext();) {\n\n element = (Element) elementsIter.next();\n\n // The class element is used generically\n // WARNING: in some cases, an element of type enumeration\n // ...\n if (element.GetType().equals(EA_TYPE_CLASS)) {\n\n addElementToGlossary(element, packageHierarchy);\n\n ///////////////////////////////////////////////////\n // Process the class attributes\n ///////////////////////////////////////////////////\n for (Iterator attributeIter = element.GetAttributes()\n .iterator(); attributeIter.hasNext();) {\n attribute = (Attribute) attributeIter.next();\n addAttributeToGlossary(attribute, packageHierarchy);\n }\n\n }\n }\n \n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tannotationEClass.getESuperTypes().add(this.getElement());\n\t\tidentifiedElementEClass.getESuperTypes().add(this.getElement());\n\t\timportEClass.getESuperTypes().add(this.getElement());\n\t\tinstanceEClass.getESuperTypes().add(this.getElement());\n\t\taxiomEClass.getESuperTypes().add(this.getElement());\n\t\tassertionEClass.getESuperTypes().add(this.getElement());\n\t\tpredicateEClass.getESuperTypes().add(this.getElement());\n\t\targumentEClass.getESuperTypes().add(this.getElement());\n\t\tliteralEClass.getESuperTypes().add(this.getElement());\n\t\tontologyEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tmemberEClass.getESuperTypes().add(this.getIdentifiedElement());\n\t\tvocabularyBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tdescriptionBoxEClass.getESuperTypes().add(this.getOntology());\n\t\tvocabularyEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tvocabularyBundleEClass.getESuperTypes().add(this.getVocabularyBox());\n\t\tdescriptionEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tdescriptionBundleEClass.getESuperTypes().add(this.getDescriptionBox());\n\t\tstatementEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyMemberEClass.getESuperTypes().add(this.getMember());\n\t\tdescriptionMemberEClass.getESuperTypes().add(this.getMember());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tvocabularyStatementEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getStatement());\n\t\tdescriptionStatementEClass.getESuperTypes().add(this.getDescriptionMember());\n\t\ttermEClass.getESuperTypes().add(this.getVocabularyMember());\n\t\truleEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tbuiltInEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getTerm());\n\t\tspecializableTermEClass.getESuperTypes().add(this.getVocabularyStatement());\n\t\tpropertyEClass.getESuperTypes().add(this.getTerm());\n\t\ttypeEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\trelationBaseEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getSpecializableTerm());\n\t\tspecializablePropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tclassifierEClass.getESuperTypes().add(this.getType());\n\t\tscalarEClass.getESuperTypes().add(this.getType());\n\t\tentityEClass.getESuperTypes().add(this.getClassifier());\n\t\tstructureEClass.getESuperTypes().add(this.getClassifier());\n\t\taspectEClass.getESuperTypes().add(this.getEntity());\n\t\tconceptEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getEntity());\n\t\trelationEntityEClass.getESuperTypes().add(this.getRelationBase());\n\t\tannotationPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tsemanticPropertyEClass.getESuperTypes().add(this.getProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tscalarPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tstructuredPropertyEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\trelationEClass.getESuperTypes().add(this.getSemanticProperty());\n\t\tforwardRelationEClass.getESuperTypes().add(this.getRelation());\n\t\treverseRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelation());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getRelationBase());\n\t\tunreifiedRelationEClass.getESuperTypes().add(this.getSpecializableProperty());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getDescriptionStatement());\n\t\tnamedInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tconceptInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\trelationInstanceEClass.getESuperTypes().add(this.getNamedInstance());\n\t\tstructureInstanceEClass.getESuperTypes().add(this.getInstance());\n\t\tkeyAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tspecializationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tinstanceEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRestrictionAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tliteralEnumerationAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tclassifierEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tscalarEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyEquivalenceAxiomEClass.getESuperTypes().add(this.getAxiom());\n\t\tpropertyRangeRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyCardinalityRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertyValueRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\tpropertySelfRestrictionAxiomEClass.getESuperTypes().add(this.getPropertyRestrictionAxiom());\n\t\ttypeAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tpropertyValueAssertionEClass.getESuperTypes().add(this.getAssertion());\n\t\tunaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbinaryPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\tbuiltInPredicateEClass.getESuperTypes().add(this.getPredicate());\n\t\ttypePredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getUnaryPredicate());\n\t\trelationEntityPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tpropertyPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tsameAsPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tdifferentFromPredicateEClass.getESuperTypes().add(this.getBinaryPredicate());\n\t\tquotedLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tintegerLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdecimalLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tdoubleLiteralEClass.getESuperTypes().add(this.getLiteral());\n\t\tbooleanLiteralEClass.getESuperTypes().add(this.getLiteral());\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(elementEClass, Element.class, \"Element\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getElement__GetOntology(), this.getOntology(), \"getOntology\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tEOperation op = initEOperation(getElement__ExtraValidate__DiagnosticChain_Map(), theEcorePackage.getEBoolean(), \"extraValidate\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, theEcorePackage.getEDiagnosticChain(), \"diagnostics\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(theEcorePackage.getEMap());\n\t\tEGenericType g2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\tg2 = createEGenericType(theEcorePackage.getEJavaObject());\n\t\tg1.getETypeArguments().add(g2);\n\t\taddEParameter(op, g1, \"context\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotation_Property(), this.getAnnotationProperty(), null, \"property\", null, 1, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_ReferenceValue(), this.getMember(), null, \"referenceValue\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAnnotation_OwningElement(), this.getIdentifiedElement(), this.getIdentifiedElement_OwnedAnnotations(), \"owningElement\", null, 0, 1, Annotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAnnotation__GetAnnotatedElement(), this.getIdentifiedElement(), \"getAnnotatedElement\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(identifiedElementEClass, IdentifiedElement.class, \"IdentifiedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getIdentifiedElement_OwnedAnnotations(), this.getAnnotation(), this.getAnnotation_OwningElement(), \"ownedAnnotations\", null, 0, -1, IdentifiedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIdentifiedElement__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(importEClass, Import.class, \"Import\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getImport_Kind(), this.getImportKind(), \"kind\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getImport_Prefix(), this.getID(), \"prefix\", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getImport_OwningOntology(), this.getOntology(), this.getOntology_OwnedImports(), \"owningOntology\", null, 1, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getImport__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEClass, Instance.class, \"Instance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstance_OwnedPropertyValues(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_OwningInstance(), \"ownedPropertyValues\", null, 0, -1, Instance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(axiomEClass, Axiom.class, \"Axiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(assertionEClass, Assertion.class, \"Assertion\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(predicateEClass, Predicate.class, \"Predicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPredicate_AntecedentRule(), this.getRule(), this.getRule_Antecedent(), \"antecedentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPredicate_ConsequentRule(), this.getRule(), this.getRule_Consequent(), \"consequentRule\", null, 0, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(argumentEClass, Argument.class, \"Argument\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getArgument_Variable(), this.getID(), \"variable\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Literal(), this.getLiteral(), null, \"literal\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getArgument_Instance(), this.getNamedInstance(), null, \"instance\", null, 0, 1, Argument.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(literalEClass, Literal.class, \"Literal\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getLiteral__GetValue(), theEcorePackage.getEJavaObject(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetStringValue(), theEcorePackage.getEString(), \"getStringValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(ontologyEClass, Ontology.class, \"Ontology\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOntology_Namespace(), this.getNamespace(), \"namespace\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOntology_Prefix(), this.getID(), \"prefix\", null, 1, 1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOntology_OwnedImports(), this.getImport(), this.getImport_OwningOntology(), \"ownedImports\", null, 0, -1, Ontology.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getOntology__GetSeparator(), this.getSeparatorKind(), \"getSeparator\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(memberEClass, Member.class, \"Member\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getMember_Name(), this.getID(), \"name\", null, 0, 1, Member.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__IsRef(), theEcorePackage.getEBoolean(), \"isRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__Resolve(), this.getMember(), \"resolve\", 1, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetIri(), theEcorePackage.getEString(), \"getIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getMember__GetAbbreviatedIri(), theEcorePackage.getEString(), \"getAbbreviatedIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBoxEClass, VocabularyBox.class, \"VocabularyBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionBoxEClass, DescriptionBox.class, \"DescriptionBox\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyEClass, Vocabulary.class, \"Vocabulary\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabulary_OwnedStatements(), this.getVocabularyStatement(), this.getVocabularyStatement_OwningVocabulary(), \"ownedStatements\", null, 0, -1, Vocabulary.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(vocabularyBundleEClass, VocabularyBundle.class, \"VocabularyBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionEClass, Description.class, \"Description\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescription_OwnedStatements(), this.getDescriptionStatement(), this.getDescriptionStatement_OwningDescription(), \"ownedStatements\", null, 0, -1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionBundleEClass, DescriptionBundle.class, \"DescriptionBundle\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(statementEClass, Statement.class, \"Statement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyMemberEClass, VocabularyMember.class, \"VocabularyMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(descriptionMemberEClass, DescriptionMember.class, \"DescriptionMember\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(vocabularyStatementEClass, VocabularyStatement.class, \"VocabularyStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getVocabularyStatement_OwningVocabulary(), this.getVocabulary(), this.getVocabulary_OwnedStatements(), \"owningVocabulary\", null, 1, 1, VocabularyStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(descriptionStatementEClass, DescriptionStatement.class, \"DescriptionStatement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDescriptionStatement_OwningDescription(), this.getDescription(), this.getDescription_OwnedStatements(), \"owningDescription\", null, 1, 1, DescriptionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(ruleEClass, Rule.class, \"Rule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRule_Ref(), this.getRule(), null, \"ref\", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Antecedent(), this.getPredicate(), this.getPredicate_AntecedentRule(), \"antecedent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRule_Consequent(), this.getPredicate(), this.getPredicate_ConsequentRule(), \"consequent\", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInEClass, BuiltIn.class, \"BuiltIn\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltIn_Ref(), this.getBuiltIn(), null, \"ref\", null, 0, 1, BuiltIn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializableTermEClass, SpecializableTerm.class, \"SpecializableTerm\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableTerm_OwnedSpecializations(), this.getSpecializationAxiom(), this.getSpecializationAxiom_OwningTerm(), \"ownedSpecializations\", null, 0, -1, SpecializableTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyEClass, Property.class, \"Property\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeEClass, Type.class, \"Type\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(relationBaseEClass, RelationBase.class, \"RelationBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationBase_Sources(), this.getEntity(), null, \"sources\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_Targets(), this.getEntity(), null, \"targets\", null, 0, -1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationBase_ReverseRelation(), this.getReverseRelation(), this.getReverseRelation_RelationBase(), \"reverseRelation\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_InverseFunctional(), theEcorePackage.getEBoolean(), \"inverseFunctional\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Symmetric(), theEcorePackage.getEBoolean(), \"symmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Asymmetric(), theEcorePackage.getEBoolean(), \"asymmetric\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Reflexive(), theEcorePackage.getEBoolean(), \"reflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Irreflexive(), theEcorePackage.getEBoolean(), \"irreflexive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getRelationBase_Transitive(), theEcorePackage.getEBoolean(), \"transitive\", null, 0, 1, RelationBase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(specializablePropertyEClass, SpecializableProperty.class, \"SpecializableProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializableProperty_OwnedEquivalences(), this.getPropertyEquivalenceAxiom(), this.getPropertyEquivalenceAxiom_OwningProperty(), \"ownedEquivalences\", null, 0, -1, SpecializableProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(classifierEClass, Classifier.class, \"Classifier\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifier_OwnedEquivalences(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwningClassifier(), \"ownedEquivalences\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifier_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningClassifier(), \"ownedPropertyRestrictions\", null, 0, -1, Classifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(scalarEClass, Scalar.class, \"Scalar\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalar_Ref(), this.getScalar(), null, \"ref\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEnumeration(), this.getLiteralEnumerationAxiom(), this.getLiteralEnumerationAxiom_OwningScalar(), \"ownedEnumeration\", null, 0, 1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalar_OwnedEquivalences(), this.getScalarEquivalenceAxiom(), this.getScalarEquivalenceAxiom_OwningScalar(), \"ownedEquivalences\", null, 0, -1, Scalar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getEntity_OwnedKeys(), this.getKeyAxiom(), this.getKeyAxiom_OwningEntity(), \"ownedKeys\", null, 0, -1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureEClass, Structure.class, \"Structure\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructure_Ref(), this.getStructure(), null, \"ref\", null, 0, 1, Structure.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(aspectEClass, Aspect.class, \"Aspect\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAspect_Ref(), this.getAspect(), null, \"ref\", null, 0, 1, Aspect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptEClass, Concept.class, \"Concept\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConcept_Ref(), this.getConcept(), null, \"ref\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getConcept_OwnedEnumeration(), this.getInstanceEnumerationAxiom(), this.getInstanceEnumerationAxiom_OwningConcept(), \"ownedEnumeration\", null, 0, 1, Concept.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityEClass, RelationEntity.class, \"RelationEntity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntity_Ref(), this.getRelationEntity(), null, \"ref\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationEntity_ForwardRelation(), this.getForwardRelation(), this.getForwardRelation_RelationEntity(), \"forwardRelation\", null, 0, 1, RelationEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(annotationPropertyEClass, AnnotationProperty.class, \"AnnotationProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAnnotationProperty_Ref(), this.getAnnotationProperty(), null, \"ref\", null, 0, 1, AnnotationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(semanticPropertyEClass, SemanticProperty.class, \"SemanticProperty\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getSemanticProperty__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSemanticProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarPropertyEClass, ScalarProperty.class, \"ScalarProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarProperty_Ref(), this.getScalarProperty(), null, \"ref\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarProperty_Ranges(), this.getScalar(), null, \"ranges\", null, 0, -1, ScalarProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(structuredPropertyEClass, StructuredProperty.class, \"StructuredProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructuredProperty_Ref(), this.getStructuredProperty(), null, \"ref\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getStructuredProperty_Functional(), theEcorePackage.getEBoolean(), \"functional\", null, 0, 1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Domains(), this.getClassifier(), null, \"domains\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructuredProperty_Ranges(), this.getStructure(), null, \"ranges\", null, 0, -1, StructuredProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getStructuredProperty__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(relationEClass, Relation.class, \"Relation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEOperation(getRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetDomainList(), this.getClassifier(), \"getDomainList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getRelation__GetRangeList(), this.getType(), \"getRangeList\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(forwardRelationEClass, ForwardRelation.class, \"ForwardRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getForwardRelation_RelationEntity(), this.getRelationEntity(), this.getRelationEntity_ForwardRelation(), \"relationEntity\", null, 1, 1, ForwardRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getForwardRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(reverseRelationEClass, ReverseRelation.class, \"ReverseRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getReverseRelation_RelationBase(), this.getRelationBase(), this.getRelationBase_ReverseRelation(), \"relationBase\", null, 1, 1, ReverseRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRef(), this.getMember(), \"getRef\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsFunctional(), theEcorePackage.getEBoolean(), \"isFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsInverseFunctional(), theEcorePackage.getEBoolean(), \"isInverseFunctional\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsSymmetric(), theEcorePackage.getEBoolean(), \"isSymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsAsymmetric(), theEcorePackage.getEBoolean(), \"isAsymmetric\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsReflexive(), theEcorePackage.getEBoolean(), \"isReflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsIrreflexive(), theEcorePackage.getEBoolean(), \"isIrreflexive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__IsTransitive(), theEcorePackage.getEBoolean(), \"isTransitive\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getReverseRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unreifiedRelationEClass, UnreifiedRelation.class, \"UnreifiedRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnreifiedRelation_Ref(), this.getRelation(), null, \"ref\", null, 0, 1, UnreifiedRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetDomains(), this.getEntity(), \"getDomains\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetRanges(), this.getEntity(), \"getRanges\", 0, -1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getUnreifiedRelation__GetInverse(), this.getRelation(), \"getInverse\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(namedInstanceEClass, NamedInstance.class, \"NamedInstance\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getNamedInstance_OwnedTypes(), this.getTypeAssertion(), this.getTypeAssertion_OwningInstance(), \"ownedTypes\", null, 0, -1, NamedInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(conceptInstanceEClass, ConceptInstance.class, \"ConceptInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getConceptInstance_Ref(), this.getConceptInstance(), null, \"ref\", null, 0, 1, ConceptInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationInstanceEClass, RelationInstance.class, \"RelationInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationInstance_Ref(), this.getRelationInstance(), null, \"ref\", null, 0, 1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Sources(), this.getNamedInstance(), null, \"sources\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelationInstance_Targets(), this.getNamedInstance(), null, \"targets\", null, 0, -1, RelationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(structureInstanceEClass, StructureInstance.class, \"StructureInstance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getStructureInstance_Type(), this.getStructure(), null, \"type\", null, 1, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAxiom(), this.getPropertyValueRestrictionAxiom(), this.getPropertyValueRestrictionAxiom_StructureInstanceValue(), \"owningAxiom\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStructureInstance_OwningAssertion(), this.getPropertyValueAssertion(), this.getPropertyValueAssertion_StructureInstanceValue(), \"owningAssertion\", null, 0, 1, StructureInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(keyAxiomEClass, KeyAxiom.class, \"KeyAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getKeyAxiom_Properties(), this.getProperty(), null, \"properties\", null, 1, -1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getKeyAxiom_OwningEntity(), this.getEntity(), this.getEntity_OwnedKeys(), \"owningEntity\", null, 0, 1, KeyAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetKeyedEntity(), this.getEntity(), \"getKeyedEntity\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getKeyAxiom__GetCharacterizedTerm(), this.getEntity(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(specializationAxiomEClass, SpecializationAxiom.class, \"SpecializationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSpecializationAxiom_SuperTerm(), this.getTerm(), null, \"superTerm\", null, 1, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSpecializationAxiom_OwningTerm(), this.getSpecializableTerm(), this.getSpecializableTerm_OwnedSpecializations(), \"owningTerm\", null, 0, 1, SpecializationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetSubTerm(), this.getTerm(), \"getSubTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getSpecializationAxiom__GetCharacterizedTerm(), this.getTerm(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(instanceEnumerationAxiomEClass, InstanceEnumerationAxiom.class, \"InstanceEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInstanceEnumerationAxiom_Instances(), this.getConceptInstance(), null, \"instances\", null, 1, -1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInstanceEnumerationAxiom_OwningConcept(), this.getConcept(), this.getConcept_OwnedEnumeration(), \"owningConcept\", null, 0, 1, InstanceEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetEnumeratedConcept(), this.getConcept(), \"getEnumeratedConcept\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getInstanceEnumerationAxiom__GetCharacterizedTerm(), this.getConcept(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRestrictionAxiomEClass, PropertyRestrictionAxiom.class, \"PropertyRestrictionAxiom\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyRestrictionAxiom_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedPropertyRestrictions(), \"owningClassifier\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRestrictionAxiom_OwningAxiom(), this.getClassifierEquivalenceAxiom(), this.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), \"owningAxiom\", null, 0, 1, PropertyRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetRestrictingDomain(), this.getClassifier(), \"getRestrictingDomain\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyRestrictionAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(literalEnumerationAxiomEClass, LiteralEnumerationAxiom.class, \"LiteralEnumerationAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLiteralEnumerationAxiom_Literals(), this.getLiteral(), null, \"literals\", null, 1, -1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getLiteralEnumerationAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEnumeration(), \"owningScalar\", null, 0, 1, LiteralEnumerationAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetEnumeratedScalar(), this.getScalar(), \"getEnumeratedScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getLiteralEnumerationAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(classifierEquivalenceAxiomEClass, ClassifierEquivalenceAxiom.class, \"ClassifierEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getClassifierEquivalenceAxiom_SuperClassifiers(), this.getClassifier(), null, \"superClassifiers\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwnedPropertyRestrictions(), this.getPropertyRestrictionAxiom(), this.getPropertyRestrictionAxiom_OwningAxiom(), \"ownedPropertyRestrictions\", null, 0, -1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getClassifierEquivalenceAxiom_OwningClassifier(), this.getClassifier(), this.getClassifier_OwnedEquivalences(), \"owningClassifier\", null, 0, 1, ClassifierEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetSubClassifier(), this.getClassifier(), \"getSubClassifier\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getClassifierEquivalenceAxiom__GetCharacterizedTerm(), this.getClassifier(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(scalarEquivalenceAxiomEClass, ScalarEquivalenceAxiom.class, \"ScalarEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getScalarEquivalenceAxiom_SuperScalar(), this.getScalar(), null, \"superScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_OwningScalar(), this.getScalar(), this.getScalar_OwnedEquivalences(), \"owningScalar\", null, 1, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Length(), this.getUnsignedInteger(), \"length\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MinLength(), this.getUnsignedInteger(), \"minLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_MaxLength(), this.getUnsignedInteger(), \"maxLength\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Pattern(), theEcorePackage.getEString(), \"pattern\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getScalarEquivalenceAxiom_Language(), theEcorePackage.getEString(), \"language\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinInclusive(), this.getLiteral(), null, \"minInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MinExclusive(), this.getLiteral(), null, \"minExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxInclusive(), this.getLiteral(), null, \"maxInclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getScalarEquivalenceAxiom_MaxExclusive(), this.getLiteral(), null, \"maxExclusive\", null, 0, 1, ScalarEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetSubScalar(), this.getScalar(), \"getSubScalar\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getScalarEquivalenceAxiom__GetCharacterizedTerm(), this.getScalar(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyEquivalenceAxiomEClass, PropertyEquivalenceAxiom.class, \"PropertyEquivalenceAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyEquivalenceAxiom_SuperProperty(), this.getProperty(), null, \"superProperty\", null, 1, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyEquivalenceAxiom_OwningProperty(), this.getSpecializableProperty(), this.getSpecializableProperty_OwnedEquivalences(), \"owningProperty\", null, 0, 1, PropertyEquivalenceAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetSubProperty(), this.getProperty(), \"getSubProperty\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyEquivalenceAxiom__GetCharacterizedTerm(), this.getProperty(), \"getCharacterizedTerm\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyRangeRestrictionAxiomEClass, PropertyRangeRestrictionAxiom.class, \"PropertyRangeRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyRangeRestrictionAxiom_Kind(), this.getRangeRestrictionKind(), \"kind\", \"all\", 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyRangeRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 1, 1, PropertyRangeRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyCardinalityRestrictionAxiomEClass, PropertyCardinalityRestrictionAxiom.class, \"PropertyCardinalityRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Kind(), this.getCardinalityRestrictionKind(), \"kind\", \"exactly\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPropertyCardinalityRestrictionAxiom_Cardinality(), this.getUnsignedInt(), \"cardinality\", \"1\", 1, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyCardinalityRestrictionAxiom_Range(), this.getType(), null, \"range\", null, 0, 1, PropertyCardinalityRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyValueRestrictionAxiomEClass, PropertyValueRestrictionAxiom.class, \"PropertyValueRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAxiom(), \"structureInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueRestrictionAxiom_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueRestrictionAxiom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueRestrictionAxiom__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertySelfRestrictionAxiomEClass, PropertySelfRestrictionAxiom.class, \"PropertySelfRestrictionAxiom\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(typeAssertionEClass, TypeAssertion.class, \"TypeAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypeAssertion_Type(), this.getEntity(), null, \"type\", null, 1, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTypeAssertion_OwningInstance(), this.getNamedInstance(), this.getNamedInstance_OwnedTypes(), \"owningInstance\", null, 0, 1, TypeAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetSubject(), this.getNamedInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getTypeAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(propertyValueAssertionEClass, PropertyValueAssertion.class, \"PropertyValueAssertion\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyValueAssertion_Property(), this.getSemanticProperty(), null, \"property\", null, 1, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_LiteralValue(), this.getLiteral(), null, \"literalValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_StructureInstanceValue(), this.getStructureInstance(), this.getStructureInstance_OwningAssertion(), \"structureInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_NamedInstanceValue(), this.getNamedInstance(), null, \"namedInstanceValue\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getPropertyValueAssertion_OwningInstance(), this.getInstance(), this.getInstance_OwnedPropertyValues(), \"owningInstance\", null, 0, 1, PropertyValueAssertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetValue(), this.getElement(), \"getValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetSubject(), this.getInstance(), \"getSubject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getPropertyValueAssertion__GetObject(), this.getElement(), \"getObject\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(unaryPredicateEClass, UnaryPredicate.class, \"UnaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getUnaryPredicate_Argument(), this.getArgument(), null, \"argument\", null, 1, 1, UnaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(binaryPredicateEClass, BinaryPredicate.class, \"BinaryPredicate\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBinaryPredicate_Argument1(), this.getArgument(), null, \"argument1\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBinaryPredicate_Argument2(), this.getArgument(), null, \"argument2\", null, 1, 1, BinaryPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(builtInPredicateEClass, BuiltInPredicate.class, \"BuiltInPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getBuiltInPredicate_BuiltIn(), this.getBuiltIn(), null, \"builtIn\", null, 1, 1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getBuiltInPredicate_Arguments(), this.getArgument(), null, \"arguments\", null, 1, -1, BuiltInPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(typePredicateEClass, TypePredicate.class, \"TypePredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTypePredicate_Type(), this.getType(), null, \"type\", null, 1, 1, TypePredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relationEntityPredicateEClass, RelationEntityPredicate.class, \"RelationEntityPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelationEntityPredicate_Type(), this.getRelationEntity(), null, \"type\", null, 1, 1, RelationEntityPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(propertyPredicateEClass, PropertyPredicate.class, \"PropertyPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getPropertyPredicate_Property(), this.getProperty(), null, \"property\", null, 1, 1, PropertyPredicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(sameAsPredicateEClass, SameAsPredicate.class, \"SameAsPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(differentFromPredicateEClass, DifferentFromPredicate.class, \"DifferentFromPredicate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(quotedLiteralEClass, QuotedLiteral.class, \"QuotedLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getQuotedLiteral_Value(), theEcorePackage.getEString(), \"value\", null, 1, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getQuotedLiteral_LangTag(), theEcorePackage.getEString(), \"langTag\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getQuotedLiteral_Type(), this.getScalar(), null, \"type\", null, 0, 1, QuotedLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetLexicalValue(), theEcorePackage.getEString(), \"getLexicalValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getQuotedLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(integerLiteralEClass, IntegerLiteral.class, \"IntegerLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIntegerLiteral_Value(), theEcorePackage.getEIntegerObject(), \"value\", \"0\", 0, 1, IntegerLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getIntegerLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(decimalLiteralEClass, DecimalLiteral.class, \"DecimalLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDecimalLiteral_Value(), this.getDecimal(), \"value\", \"0.0\", 1, 1, DecimalLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDecimalLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(doubleLiteralEClass, DoubleLiteral.class, \"DoubleLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getDoubleLiteral_Value(), theEcorePackage.getEDoubleObject(), \"value\", \"0.0\", 0, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getDoubleLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(booleanLiteralEClass, BooleanLiteral.class, \"BooleanLiteral\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getBooleanLiteral_Value(), theEcorePackage.getEBooleanObject(), \"value\", \"false\", 0, 1, BooleanLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__IsValue(), theEcorePackage.getEBoolean(), \"isValue\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEOperation(getBooleanLiteral__GetTypeIri(), theEcorePackage.getEString(), \"getTypeIri\", 0, 1, !IS_UNIQUE, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(separatorKindEEnum, SeparatorKind.class, \"SeparatorKind\");\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.HASH);\n\t\taddEEnumLiteral(separatorKindEEnum, SeparatorKind.SLASH);\n\n\t\tinitEEnum(rangeRestrictionKindEEnum, RangeRestrictionKind.class, \"RangeRestrictionKind\");\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.ALL);\n\t\taddEEnumLiteral(rangeRestrictionKindEEnum, RangeRestrictionKind.SOME);\n\n\t\tinitEEnum(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.class, \"CardinalityRestrictionKind\");\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.EXACTLY);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MIN);\n\t\taddEEnumLiteral(cardinalityRestrictionKindEEnum, CardinalityRestrictionKind.MAX);\n\n\t\tinitEEnum(importKindEEnum, ImportKind.class, \"ImportKind\");\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.EXTENSION);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.USAGE);\n\t\taddEEnumLiteral(importKindEEnum, ImportKind.INCLUSION);\n\n\t\t// Initialize data types\n\t\tinitEDataType(unsignedIntEDataType, long.class, \"UnsignedInt\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(unsignedIntegerEDataType, Long.class, \"UnsignedInteger\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(decimalEDataType, BigDecimal.class, \"Decimal\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(idEDataType, String.class, \"ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(namespaceEDataType, String.class, \"Namespace\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// https://tabatkins.github.io/bikeshed/headings\n\t\tcreateHeadingsAnnotations();\n\t\t// https://tabatkins.github.io/bikeshed\n\t\tcreateBikeshedAnnotations();\n\t\t// http://www.eclipse.org/emf/2011/Xcore\n\t\tcreateXcoreAnnotations();\n\t\t// http:///org/eclipse/emf/ecore/util/ExtendedMetaData\n\t\tcreateExtendedMetaDataAnnotations();\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tcomDiagEClass.getESuperTypes().add(this.getNamedElement());\r\n\t\tcomDiagElementEClass.getESuperTypes().add(this.getNamedElement());\r\n\t\tlifelineEClass.getESuperTypes().add(this.getComDiagElement());\r\n\t\tmessageEClass.getESuperTypes().add(this.getComDiagElement());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(namedElementEClass, NamedElement.class, \"NamedElement\",\r\n\t\t\t\t!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getNamedElement_Name(), ecorePackage.getEString(),\r\n\t\t\t\t\"name\", null, 0, 1, NamedElement.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(comDiagEClass, ComDiag.class, \"ComDiag\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComDiag_Elements(), this.getComDiagElement(),\r\n\t\t\t\tthis.getComDiagElement_Graph(), \"elements\", null, 0, -1,\r\n\t\t\t\tComDiag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,\r\n\t\t\t\tIS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getComDiag_Level(), ecorePackage.getEString(), \"level\",\r\n\t\t\t\tnull, 0, 1, ComDiag.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(comDiagElementEClass, ComDiagElement.class,\r\n\t\t\t\t\"ComDiagElement\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getComDiagElement_Graph(), this.getComDiag(),\r\n\t\t\t\tthis.getComDiag_Elements(), \"graph\", null, 0, 1,\r\n\t\t\t\tComDiagElement.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(lifelineEClass, Lifeline.class, \"Lifeline\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getLifeline_Number(), ecorePackage.getEInt(), \"number\",\r\n\t\t\t\tnull, 0, 1, Lifeline.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(messageEClass, Message.class, \"Message\", !IS_ABSTRACT,\r\n\t\t\t\t!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMessage_Occurence(), ecorePackage.getEInt(),\r\n\t\t\t\t\"occurence\", null, 0, 1, Message.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMessage_Source(), this.getLifeline(), null, \"source\",\r\n\t\t\t\tnull, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getMessage_Target(), this.getLifeline(), null, \"target\",\r\n\t\t\t\tnull, 0, 1, Message.class, !IS_TRANSIENT, !IS_VOLATILE,\r\n\t\t\t\tIS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tcompoundCmdEClass.getESuperTypes().add(this.getCmd());\n\t\txCmdEClass.getESuperTypes().add(this.getCmd());\n\t\tbyteCmdEClass.getESuperTypes().add(this.getCmd());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(cmdEClass, Cmd.class, \"Cmd\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getCmd_Priority(), this.getPRIORITY(), \"priority\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getCmd_Stamp(), ecorePackage.getELong(), \"stamp\", null, 0, 1, Cmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(compoundCmdEClass, CompoundCmd.class, \"CompoundCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getCompoundCmd_Children(), this.getCmd(), null, \"children\", null, 0, -1, CompoundCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tEOperation op = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"add\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"queue\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"pop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, ecorePackage.getEInt(), \"index\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\top = addEOperation(compoundCmdEClass, null, \"remove\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\t\taddEParameter(op, this.getCmd(), \"cmd\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\taddEOperation(compoundCmdEClass, null, \"drop\", 0, 1, IS_UNIQUE, IS_ORDERED);\n\n\t\tinitEClass(xCmdEClass, XCmd.class, \"XCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getXCmd_Obj(), ecorePackage.getEJavaObject(), \"obj\", null, 0, 1, XCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(byteCmdEClass, ByteCmd.class, \"ByteCmd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getByteCmd_Message(), ecorePackage.getEByteArray(), \"message\", null, 0, 1, ByteCmd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.class, \"PRIORITY\");\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOWEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.LOW);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.MEDIUM);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGH);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.HIGHEST);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.NONE);\n\t\taddEEnumLiteral(priorityEEnum, net.sf.xqz.model.cmd.PRIORITY.VITAL);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\txActivityDiagramArbiterEClass = createEClass(XACTIVITY_DIAGRAM_ARBITER);\n\n\t\txActivityDiagramArbiterStateEClass = createEClass(XACTIVITY_DIAGRAM_ARBITER_STATE);\n\n\t\txActivityDiagramArbiterTransitionEClass = createEClass(XACTIVITY_DIAGRAM_ARBITER_TRANSITION);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(mealyMachineEClass, MealyMachine.class, \"MealyMachine\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMealyMachine_InitialState(), this.getState(), null, \"initialState\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_States(), this.getState(), null, \"states\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_InputAlphabet(), this.getAlphabet(), null, \"inputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_OutputAlphabet(), this.getAlphabet(), null, \"outputAlphabet\", null, 1, 1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMealyMachine_Transitions(), this.getTransition(), null, \"transitions\", null, 1, -1, MealyMachine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(stateEClass, State.class, \"State\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getState_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(alphabetEClass, Alphabet.class, \"Alphabet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAlphabet_Characters(), ecorePackage.getEString(), \"characters\", null, 1, -1, Alphabet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(transitionEClass, Transition.class, \"Transition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTransition_SourceState(), this.getState(), null, \"sourceState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTransition_TargetState(), this.getState(), null, \"targetState\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Input(), ecorePackage.getEString(), \"input\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTransition_Output(), ecorePackage.getEString(), \"output\", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tVpmlPackage theVpmlPackage = (VpmlPackage)EPackage.Registry.INSTANCE.getEPackage(VpmlPackage.eNS_URI);\r\n\t\tProcesspackagePackage theProcesspackagePackage = (ProcesspackagePackage)EPackage.Registry.INSTANCE.getEPackage(ProcesspackagePackage.eNS_URI);\r\n\t\tResourcepackagePackage theResourcepackagePackage = (ResourcepackagePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcepackagePackage.eNS_URI);\r\n\t\tOrganizationpackagePackage theOrganizationpackagePackage = (OrganizationpackagePackage)EPackage.Registry.INSTANCE.getEPackage(OrganizationpackagePackage.eNS_URI);\r\n\r\n\t\t// Add supertypes to classes\r\n\t\temcLogicalConnectorEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcAndEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcorEClass.getESuperTypes().add(this.getEMCLogicalConnector());\r\n\t\temcCollaborationGroupEClass.getESuperTypes().add(theVpmlPackage.getEMObject());\r\n\t\temcDiagramEClass.getESuperTypes().add(theVpmlPackage.getEMDiagram());\r\n\t\temcCollaborationRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\t\temcSequenceRelationEClass.getESuperTypes().add(this.getEMCRelation());\r\n\r\n\t\t// Initialize classes and features; add operations and parameters\r\n\t\tinitEClass(emcLogicalConnectorEClass, EMCLogicalConnector.class, \"EMCLogicalConnector\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(emcAndEClass, EMCAnd.class, \"EMCAnd\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCAnd_ColAndDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColAnd(), \"colAndDiagram\", null, 0, 1, EMCAnd.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcorEClass, vpml.collaborationpackage.EMCOR.class, \"EMCOR\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCOR_ColORDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColOR(), \"colORDiagram\", null, 0, 1, vpml.collaborationpackage.EMCOR.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationGroupEClass, EMCCollaborationGroup.class, \"EMCCollaborationGroup\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationGroup_ColColGroupDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColGroup(), \"colColGroupDiagram\", null, 0, 1, EMCCollaborationGroup.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcDiagramEClass, EMCDiagram.class, \"EMCDiagram\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCDiagram_EmpDiagram(), theProcesspackagePackage.getEMPDiagram(), theProcesspackagePackage.getEMPDiagram_EmcDiagram(), \"empDiagram\", null, 1, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEMCDiagram_AssociatePrModel(), ecorePackage.getEString(), \"associatePrModel\", null, 0, 1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColAnd(), this.getEMCAnd(), this.getEMCAnd_ColAndDiagram(), \"colAnd\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColOR(), this.getEMCOR(), this.getEMCOR_ColORDiagram(), \"colOR\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColRole(), theResourcepackagePackage.getEMRRole(), theResourcepackagePackage.getEMRRole_ColRoleDiagram(), \"colRole\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColLocation(), theResourcepackagePackage.getEMRLocationType(), theResourcepackagePackage.getEMRLocationType_ColLocationDiagram(), \"colLocation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColMachine(), theResourcepackagePackage.getEMRMachineType(), theResourcepackagePackage.getEMRMachineType_ColMachineDiagram(), \"colMachine\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColEMOGroup(), theOrganizationpackagePackage.getEMOResourceGroupType(), theOrganizationpackagePackage.getEMOResourceGroupType_ColEMOGroupDiagram(), \"colEMOGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColGroup(), this.getEMCCollaborationGroup(), this.getEMCCollaborationGroup_ColColGroupDiagram(), \"colColGroup\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColColRelation(), this.getEMCCollaborationRelation(), this.getEMCCollaborationRelation_ColColRelationDiagram(), \"colColRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCDiagram_ColSeqRelation(), this.getEMCSequenceRelation(), this.getEMCSequenceRelation_ColSeqRelationDiagram(), \"colSeqRelation\", null, 0, -1, EMCDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcRelationEClass, EMCRelation.class, \"EMCRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCRelation_SourceRelationSourceObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_SourceObjSourceRelation(), \"sourceRelationSourceObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEMCRelation_TargetRelationTargetObj(), theVpmlPackage.getEMObject(), theVpmlPackage.getEMObject_TargetObjTargetRelation(), \"targetRelationTargetObj\", null, 0, 1, EMCRelation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcCollaborationRelationEClass, EMCCollaborationRelation.class, \"EMCCollaborationRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCCollaborationRelation_ColColRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColColRelation(), \"colColRelationDiagram\", null, 0, 1, EMCCollaborationRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(emcSequenceRelationEClass, EMCSequenceRelation.class, \"EMCSequenceRelation\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEMCSequenceRelation_ColSeqRelationDiagram(), this.getEMCDiagram(), this.getEMCDiagram_ColSeqRelation(), \"colSeqRelationDiagram\", null, 0, 1, EMCSequenceRelation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t}", "public void createPackageContents() {\n\t\tif (isCreated) return;\n\t\tisCreated = true;\n\n\t\t// Create classes and their features\n\t\trepositoryEClass = createEClass(REPOSITORY);\n\t\tcreateEAttribute(repositoryEClass, REPOSITORY__NAME);\n\t\tcreateEAttribute(repositoryEClass, REPOSITORY__LOCATION);\n\n\t\trepositoryManagerEClass = createEClass(REPOSITORY_MANAGER);\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tfticBaseEClass.getESuperTypes().add(ecorePackage.getEObject());\n\t\titemEClass.getESuperTypes().add(this.getFTICBase());\n\t\thypertextEClass.getESuperTypes().add(this.getFTICBase());\n\t\ttextElementEClass.getESuperTypes().add(this.getFTICBase());\n\t\tlinkEClass.getESuperTypes().add(this.getTextElement());\n\t\ttermEClass.getESuperTypes().add(this.getTextElement());\n\t\tfactorTableEClass.getESuperTypes().add(this.getFTICBase());\n\t\tftEntryEClass.getESuperTypes().add(this.getItem());\n\t\tfactorCategoryEClass.getESuperTypes().add(this.getFTEntry());\n\t\tfactorEClass.getESuperTypes().add(this.getFTEntry());\n\t\tissueCardEClass.getESuperTypes().add(this.getItem());\n\t\tstrategyEClass.getESuperTypes().add(this.getItem());\n\t\tinfluencingFactorEClass.getESuperTypes().add(this.getFTICBase());\n\t\trelatedIssueEClass.getESuperTypes().add(this.getFTICBase());\n\t\tfticPackageEClass.getESuperTypes().add(this.getFTICBase());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(fticBaseEClass, FTICBase.class, \"FTICBase\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(itemEClass, Item.class, \"Item\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(hypertextEClass, Hypertext.class, \"Hypertext\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getHypertext_Content(), this.getTextElement(), null, \"content\", null, 0, -1, Hypertext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(textElementEClass, TextElement.class, \"TextElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getTextElement_VisibleContent(), ecorePackage.getEString(), \"visibleContent\", null, 0, 1, TextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(linkEClass, Link.class, \"Link\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getLink_Target(), ecorePackage.getEObject(), null, \"target\", null, 1, 1, Link.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(termEClass, Term.class, \"Term\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorTableEClass, FactorTable.class, \"FactorTable\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFactorTable_Type(), this.getCategoryType(), \"type\", null, 0, 1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactorTable_Entries(), this.getFTEntry(), null, \"entries\", null, 0, -1, FactorTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ftEntryEClass, FTEntry.class, \"FTEntry\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getFTEntry_Numbering(), ecorePackage.getEString(), \"numbering\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTEntry_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTEntry_Children(), this.getFTEntry(), null, \"children\", null, 0, -1, FTEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(factorCategoryEClass, FactorCategory.class, \"FactorCategory\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(factorEClass, Factor.class, \"Factor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Flexibility(), this.getHypertext(), null, \"flexibility\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Changeability(), this.getHypertext(), null, \"changeability\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFactor_Influence(), this.getHypertext(), null, \"influence\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFactor_Priority(), ecorePackage.getEString(), \"priority\", null, 1, 1, Factor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(issueCardEClass, IssueCard.class, \"IssueCard\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getIssueCard_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Description(), this.getHypertext(), null, \"description\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Solution(), this.getHypertext(), null, \"solution\", null, 1, 1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_Strategies(), this.getStrategy(), null, \"strategies\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_InfluencingFactors(), this.getInfluencingFactor(), null, \"influencingFactors\", null, 1, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getIssueCard_RelatedIssues(), this.getRelatedIssue(), null, \"relatedIssues\", null, 0, -1, IssueCard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(strategyEClass, Strategy.class, \"Strategy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getStrategy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getStrategy_Description(), this.getHypertext(), null, \"description\", null, 1, 1, Strategy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(influencingFactorEClass, InfluencingFactor.class, \"InfluencingFactor\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getInfluencingFactor_Description(), this.getHypertext(), null, \"description\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getInfluencingFactor_Factor(), this.getFactor(), null, \"factor\", null, 1, 1, InfluencingFactor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(relatedIssueEClass, RelatedIssue.class, \"RelatedIssue\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getRelatedIssue_Issue(), this.getItem(), null, \"Issue\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getRelatedIssue_Description(), this.getHypertext(), null, \"description\", null, 0, 1, RelatedIssue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(fticPackageEClass, FTICPackage.class, \"FTICPackage\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getFTICPackage_Tables(), this.getFactorTable(), null, \"tables\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getFTICPackage_IssueCards(), this.getIssueCard(), null, \"issueCards\", null, 0, -1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getFTICPackage_Name(), ecorePackage.getEString(), \"Name\", null, 1, 1, FTICPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize enums and add enum literals\n\t\tinitEEnum(categoryTypeEEnum, CategoryType.class, \"CategoryType\");\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.ORGANIZATIONAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.TECHNOLOGICAL);\n\t\taddEEnumLiteral(categoryTypeEEnum, CategoryType.PRODUCT);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private void reloadProject()\n {\n unloadProject();\n\n if (!projectDirectory.exists()) {\n displayError(DIRECTORY_DOES_NOT_EXIST_MESSAGE, null);\n return;\n }\n\n if (!projectDirectory.isDirectory()) {\n displayError(NOT_A_DIRECTORY_MESSAGE, null);\n return;\n }\n\n if (!ProjectReader.isValidProjectDirectory(projectDirectory)) {\n displayError(PROJECT_NOT_FOUND_MESSAGE, null);\n return;\n }\n\n try {\n project = ProjectReader.read(projectDirectory);\n projectBuilder = new ProjectBuilder(project);\n projectSettingsPanel = new ProjectSettingsPanel(projectBuilder);\n projectSettingsContainer.add(projectSettingsPanel, BorderLayout.PAGE_START);\n projectSettingsContainer.add(new JPanel(), BorderLayout.CENTER);\n } catch (Throwable t) {\n displayError(UNABLE_TO_LOAD_PROJECT_MESSAGE, t);\n return;\n }\n\n preferences.put(PREF_PROJECT_DIRECTORY, projectDirectory.toString());\n try { preferences.sync(); } catch (BackingStoreException e) { e.printStackTrace(); }\n\n generateButton.setEnabled(true);\n\n pack();\n }", "public void initializePackageContents() {\r\n\t\tif (isInitialized)\r\n\t\t\treturn;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tEcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tgetMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\tpostMappingEClass.getESuperTypes().add(this.getRestMapping());\r\n\t\toneToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\t\tmanyToManyEClass.getESuperTypes().add(this.getMappingType());\r\n\t\toneToOneEClass.getESuperTypes().add(this.getMappingType());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(springProjectEClass, SpringProject.class, \"SpringProject\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getSpringProject_BasePackage(), theEcorePackage.getEString(), \"basePackage\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getSpringProject_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, SpringProject.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getSpringProject_DbSource(), this.getDBSource(), null, \"dbSource\", null, 0, 1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Entities(), this.getEntity(), null, \"entities\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getSpringProject_Controllers(), this.getRestController(), null, \"controllers\", null, 0, -1,\r\n\t\t\t\tSpringProject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restControllerEClass, RestController.class, \"RestController\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestController_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestController_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestController.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestController_UsedEntities(), this.getEntity(), null, \"usedEntities\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getRestController_Mappings(), this.getRestMapping(), null, \"mappings\", null, 0, -1,\r\n\t\t\t\tRestController.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,\r\n\t\t\t\t!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(restMappingEClass, RestMapping.class, \"RestMapping\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getRestMapping_Path(), theEcorePackage.getEString(), \"path\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getRestMapping_UsedEntity(), this.getEntity(), null, \"usedEntity\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getRestMapping_Body(), theEcorePackage.getEString(), \"body\", null, 0, 1, RestMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(getMappingEClass, GetMapping.class, \"GetMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(postMappingEClass, PostMapping.class, \"PostMapping\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getPostMapping_Parameters(), this.getField(), null, \"parameters\", null, 0, -1, PostMapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(entityEClass, Entity.class, \"Entity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getEntity_SuperClass(), this.getEntity(), null, \"superClass\", null, 0, 1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getEntity_GenerateRepository(), theEcorePackage.getEBoolean(), \"generateRepository\", \"true\", 0,\r\n\t\t\t\t1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getEntity_Fields(), this.getField(), null, \"fields\", null, 0, -1, Entity.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getEntity_Mapping(), this.getMapping(), null, \"mapping\", null, 0, -1, Entity.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingEClass, Mapping.class, \"Mapping\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMapping_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_Entity(), this.getEntity(), null, \"entity\", null, 0, 1, Mapping.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getMapping_IsList(), theEcorePackage.getEBoolean(), \"isList\", \"true\", 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMapping_MappingType(), this.getMappingType(), null, \"mappingType\", null, 0, 1, Mapping.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(mappingTypeEClass, MappingType.class, \"MappingType\", IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getMappingType_Cascade(), this.getCascade(), \"cascade\", \"ALL\", 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEReference(getMappingType_MappedBy(), this.getEntity(), null, \"mappedBy\", null, 0, 1, MappingType.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,\r\n\t\t\t\tIS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToManyEClass, OneToMany.class, \"OneToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToOneEClass, ManyToOne.class, \"ManyToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(manyToManyEClass, ManyToMany.class, \"ManyToMany\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getManyToMany_JoinTableName(), theEcorePackage.getEString(), \"joinTableName\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_JoinColumns(), theEcorePackage.getEString(), \"joinColumns\", null, 0, 1,\r\n\t\t\t\tManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getManyToMany_InverseJoinColumns(), theEcorePackage.getEString(), \"inverseJoinColumns\", null, 0,\r\n\t\t\t\t1, ManyToMany.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(oneToOneEClass, OneToOne.class, \"OneToOne\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(fieldEClass, Field.class, \"Field\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getField_IsId(), theEcorePackage.getEBoolean(), \"isId\", \"false\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getField_Name(), theEcorePackage.getEString(), \"name\", null, 0, 1, Field.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getField_Datatype(), theEcorePackage.getEString(), \"datatype\", \"String\", 0, 1, Field.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\r\n\t\tinitEClass(dbSourceEClass, DBSource.class, \"DBSource\", !IS_ABSTRACT, !IS_INTERFACE,\r\n\t\t\t\tIS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getDBSource_EnableConsole(), theEcorePackage.getEBoolean(), \"enableConsole\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_WebAllowOothers(), theEcorePackage.getEBoolean(), \"webAllowOothers\", \"true\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ConsolePath(), theEcorePackage.getEString(), \"consolePath\", \"/h2-console\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Url(), theEcorePackage.getEString(), \"url\",\r\n\t\t\t\t\"jdbc:h2:file:./data/Repository;DB_CLOSE_ON_EXIT=true;\", 0, 1, DBSource.class, !IS_TRANSIENT,\r\n\t\t\t\t!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_User(), theEcorePackage.getEString(), \"user\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_Password(), theEcorePackage.getEString(), \"password\", \"SA\", 0, 1, DBSource.class,\r\n\t\t\t\t!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED,\r\n\t\t\t\tIS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_DriveClassName(), theEcorePackage.getEString(), \"driveClassName\", \"org.h2.Driver\", 0,\r\n\t\t\t\t1, DBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getDBSource_ServerPort(), theEcorePackage.getEString(), \"serverPort\", \"2001\", 0, 1,\r\n\t\t\t\tDBSource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,\r\n\t\t\t\t!IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(cascadeEEnum, Cascade.class, \"Cascade\");\r\n\t\taddEEnumLiteral(cascadeEEnum, Cascade.ALL);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\r\n\t\tif (isInitialized) return;\r\n\t\tisInitialized = true;\r\n\r\n\t\t// Initialize package\r\n\t\tsetName(eNAME);\r\n\t\tsetNsPrefix(eNS_PREFIX);\r\n\t\tsetNsURI(eNS_URI);\r\n\r\n\t\t// Obtain other dependent packages\r\n\t\tServiceCIMPackage theServiceCIMPackage = (ServiceCIMPackage)EPackage.Registry.INSTANCE.getEPackage(ServiceCIMPackage.eNS_URI);\r\n\r\n\t\t// Create type parameters\r\n\r\n\t\t// Set bounds for type parameters\r\n\r\n\t\t// Add supertypes to classes\r\n\t\tauthorizableResourceEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannResourceEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tannPropertyEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tauthorizationSubjectEClass.getESuperTypes().add(this.getAnnotation());\r\n\t\tannCRUDActivityEClass.getESuperTypes().add(this.getAnnotatedElement());\r\n\t\tnewPropertyEClass.getESuperTypes().add(this.getAnnotation());\r\n\r\n\t\t// Initialize classes, features, and operations; add parameters\r\n\t\tinitEClass(annotationModelEClass, AnnotationModel.class, \"AnnotationModel\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAnnotationModel_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotatedElement(), this.getAnnotatedElement(), null, \"hasAnnotatedElement\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAnnotationModel_HasAnnotation(), this.getAnnotation(), null, \"hasAnnotation\", null, 1, -1, AnnotationModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotationEClass, Annotation.class, \"Annotation\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(authorizableResourceEClass, AuthorizableResource.class, \"AuthorizableResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizableResource_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAuthorizableResource_IsAuthorizableResource(), this.getAnnResource(), null, \"isAuthorizableResource\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAuthorizableResource_BTrackOwnership(), ecorePackage.getEBoolean(), \"bTrackOwnership\", null, 1, 1, AuthorizableResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicySetEClass, ResourceAccessPolicySet.class, \"ResourceAccessPolicySet\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicySet_PolicyCombiningAlgorithm(), this.getCombiningAlgorithm(), \"policyCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicy(), this.getResourceAccessPolicy(), null, \"hasResourceAccessPolicy\", null, 1, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicySet_HasResourceAccessPolicySet(), this.getResourceAccessPolicySet(), null, \"hasResourceAccessPolicySet\", null, 0, -1, ResourceAccessPolicySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annotatedElementEClass, AnnotatedElement.class, \"AnnotatedElement\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\r\n\t\tinitEClass(annResourceEClass, AnnResource.class, \"AnnResource\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnResource_AnnotatesResource(), theServiceCIMPackage.getResource(), null, \"annotatesResource\", null, 1, 1, AnnResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessPolicyEClass, ResourceAccessPolicy.class, \"ResourceAccessPolicy\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getResourceAccessPolicy_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessPolicy_RuleCombiningAlgorithm(), this.getCombiningAlgorithm(), \"ruleCombiningAlgorithm\", null, 1, 1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasApplyCondition(), this.getCondition(), null, \"hasApplyCondition\", null, 0, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessPolicy_HasResourceAccessRule(), this.getResourceAccessRule(), null, \"hasResourceAccessRule\", null, 1, -1, ResourceAccessPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(conditionEClass, Condition.class, \"Condition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getCondition_Operator(), this.getOperator(), \"operator\", \"UNDEFINED\", 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasLeftSideOperand(), this.getAttribute(), null, \"hasLeftSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getCondition_HasRightSideOperand(), this.getAttribute(), null, \"hasRightSideOperand\", null, 1, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(attributeEClass, Attribute.class, \"Attribute\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEAttribute(getAttribute_AttributeCategory(), this.getAttributeCategory(), \"attributeCategory\", null, 1, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeExistingProperty(), this.getAnnProperty(), null, \"isAttributeExistingProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getAttribute_Value(), ecorePackage.getEString(), \"value\", null, 0, -1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeNewProperty(), this.getNewProperty(), null, \"isAttributeNewProperty\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getAttribute_IsAttributeResource(), this.getAnnResource(), null, \"isAttributeResource\", null, 0, 1, Attribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annPropertyEClass, AnnProperty.class, \"AnnProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnProperty_AnnotatesProperty(), theServiceCIMPackage.getProperty(), null, \"annotatesProperty\", null, 1, 1, AnnProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(resourceAccessRuleEClass, ResourceAccessRule.class, \"ResourceAccessRule\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getResourceAccessRule_HasMatchCondition(), this.getCondition(), null, \"hasMatchCondition\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getResourceAccessRule_RuleType(), this.getRuleType(), \"ruleType\", null, 1, 1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEReference(getResourceAccessRule_HasAllowedAction(), this.getAllowedAction(), null, \"hasAllowedAction\", null, 1, -1, ResourceAccessRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(authorizationSubjectEClass, AuthorizationSubject.class, \"AuthorizationSubject\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAuthorizationSubject_IsAuthorizationSubject(), this.getAnnResource(), null, \"isAuthorizationSubject\", null, 1, 1, AuthorizationSubject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(annCRUDActivityEClass, AnnCRUDActivity.class, \"AnnCRUDActivity\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAnnCRUDActivity_AnnotatesCRUDActivity(), theServiceCIMPackage.getCRUDActivity(), null, \"annotatesCRUDActivity\", null, 1, 1, AnnCRUDActivity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(allowedActionEClass, AllowedAction.class, \"AllowedAction\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getAllowedAction_IsAllowedAction(), this.getAnnCRUDActivity(), null, \"isAllowedAction\", null, 1, 1, AllowedAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\tinitEClass(newPropertyEClass, NewProperty.class, \"NewProperty\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\r\n\t\tinitEReference(getNewProperty_BelongsToResource(), this.getAnnResource(), null, \"belongsToResource\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Name(), ecorePackage.getEString(), \"name\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_Type(), ecorePackage.getEString(), \"type\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\t\tinitEAttribute(getNewProperty_BIsUnique(), ecorePackage.getEBoolean(), \"bIsUnique\", null, 1, 1, NewProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\r\n\r\n\t\t// Initialize enums and add enum literals\r\n\t\tinitEEnum(combiningAlgorithmEEnum, CombiningAlgorithm.class, \"CombiningAlgorithm\");\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_OVERRIDES);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.DENY_UNLESS_PERMIT);\r\n\t\taddEEnumLiteral(combiningAlgorithmEEnum, CombiningAlgorithm.PERMIT_UNLESS_DENY);\r\n\r\n\t\tinitEEnum(operatorEEnum, Operator.class, \"Operator\");\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.GREATER_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.LESS_THAN_OR_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_EQUAL);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.NOT_SUBSET);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.SET_NOT_CONTAINS);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.REGEX);\r\n\t\taddEEnumLiteral(operatorEEnum, Operator.UNDEFINED);\r\n\r\n\t\tinitEEnum(attributeCategoryEEnum, AttributeCategory.class, \"AttributeCategory\");\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESS_SUBJECT);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.ACCESSED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.PARENT_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CHILD_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.INCLUDED_RESOURCE);\r\n\t\taddEEnumLiteral(attributeCategoryEEnum, AttributeCategory.CONSTANT);\r\n\r\n\t\tinitEEnum(ruleTypeEEnum, RuleType.class, \"RuleType\");\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.PERMIT);\r\n\t\taddEEnumLiteral(ruleTypeEEnum, RuleType.DENY);\r\n\r\n\t\t// Create resource\r\n\t\tcreateResource(eNS_URI);\r\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\n\t\t// Initialize classes, features, and operations; add parameters\n\t\tinitEClass(oml2OTIProvenanceEClass, OML2OTIProvenance.class, \"OML2OTIProvenance\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getOML2OTIProvenance_OmlUUID(), this.getUUID(), \"omlUUID\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OmlIRI(), this.getOML_IRI(), \"omlIRI\", null, 0, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiID(), this.getOTI_TOOL_SPECIFIC_ID(), \"otiID\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiURL(), this.getOTI_TOOL_SPECIFIC_URL(), \"otiURL\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_OtiUUID(), this.getOTI_TOOL_SPECIFIC_UUID(), \"otiUUID\", null, 0, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getOML2OTIProvenance_Explanation(), theEcorePackage.getEString(), \"explanation\", null, 1, 1, OML2OTIProvenance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Initialize data types\n\t\tinitEDataType(uuidEDataType, String.class, \"UUID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(omL_IRIEDataType, String.class, \"OML_IRI\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_IDEDataType, String.class, \"OTI_TOOL_SPECIFIC_ID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_UUIDEDataType, String.class, \"OTI_TOOL_SPECIFIC_UUID\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEDataType(otI_TOOL_SPECIFIC_URLEDataType, String.class, \"OTI_TOOL_SPECIFIC_URL\", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\n\t\t// Create annotations\n\t\t// http://www.eclipse.org/emf/2002/Ecore\n\t\tcreateEcoreAnnotations();\n\t}", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__PARAMS);\n createEReference(modelEClass, MODEL__STATES);\n createEReference(modelEClass, MODEL__POPULATION);\n\n paramEClass = createEClass(PARAM);\n createEAttribute(paramEClass, PARAM__NAME);\n createEAttribute(paramEClass, PARAM__VALUE);\n\n agentStateEClass = createEClass(AGENT_STATE);\n createEAttribute(agentStateEClass, AGENT_STATE__NAME);\n createEReference(agentStateEClass, AGENT_STATE__PREFIXS);\n\n prefixEClass = createEClass(PREFIX);\n createEReference(prefixEClass, PREFIX__ACTION);\n createEAttribute(prefixEClass, PREFIX__CONTINUE);\n\n actionEClass = createEClass(ACTION);\n createEAttribute(actionEClass, ACTION__NAME);\n createEReference(actionEClass, ACTION__RATE);\n\n acT_SpNoMsgEClass = createEClass(ACT_SP_NO_MSG);\n\n acT_SpBrEClass = createEClass(ACT_SP_BR);\n createEReference(acT_SpBrEClass, ACT_SP_BR__RANGE);\n\n acT_SpUniEClass = createEClass(ACT_SP_UNI);\n createEReference(acT_SpUniEClass, ACT_SP_UNI__RANGE);\n\n acT_InBrEClass = createEClass(ACT_IN_BR);\n createEReference(acT_InBrEClass, ACT_IN_BR__VALUE);\n\n acT_InUniEClass = createEClass(ACT_IN_UNI);\n createEReference(acT_InUniEClass, ACT_IN_UNI__VALUE);\n\n iRangeEClass = createEClass(IRANGE);\n\n pR_ExprEClass = createEClass(PR_EXPR);\n createEReference(pR_ExprEClass, PR_EXPR__PR_E);\n\n terminal_PR_ExprEClass = createEClass(TERMINAL_PR_EXPR);\n createEAttribute(terminal_PR_ExprEClass, TERMINAL_PR_EXPR__LINKED_PARAM);\n\n ratE_ExprEClass = createEClass(RATE_EXPR);\n createEReference(ratE_ExprEClass, RATE_EXPR__RT);\n\n terminal_RATE_ExprEClass = createEClass(TERMINAL_RATE_EXPR);\n createEAttribute(terminal_RATE_ExprEClass, TERMINAL_RATE_EXPR__LINKED_PARAM);\n\n agenT_NUMEClass = createEClass(AGENT_NUM);\n createEAttribute(agenT_NUMEClass, AGENT_NUM__TYPE);\n\n populationEClass = createEClass(POPULATION);\n createEReference(populationEClass, POPULATION__POPU);\n\n agentsEClass = createEClass(AGENTS);\n createEAttribute(agentsEClass, AGENTS__TYPE);\n }", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEnginePackage theEnginePackage = (EnginePackage)EPackage.Registry.INSTANCE.getEPackage(EnginePackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tbluetoothPortEClass.getESuperTypes().add(theEnginePackage.getPort());\n\t\tl2CAPInJobEClass.getESuperTypes().add(theEnginePackage.getInputJob());\n\t\tl2CAPoutJobEClass.getESuperTypes().add(theEnginePackage.getOutputJob());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(bluetoothPortEClass, BluetoothPort.class, \"BluetoothPort\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPInJobEClass, L2CAPInJob.class, \"L2CAPInJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(l2CAPoutJobEClass, L2CAPoutJob.class, \"L2CAPoutJob\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "private JarToUMLResources() {\n\t\tsuper();\n\t}", "private void initialBuild() {\n hiddenButton = new JToolButton(\"If you see me, we're screwed\", false);\n\n buttonGroup = new ButtonGroup();\n buttonGroup.add(hiddenButton);\n\n // create the loading image\n FileLoader fileLookup = new FileLoader(1);\n Toolkit tk = getToolkit();\n\n // lookup the folder image so it will be in the cache already\n try {\n Object[] iconURL = fileLookup.getFileURL(FOLDER_IMAGE); \n \n //now process the raw data into a buffer\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n byte[] buf = new byte[1024];\n for (int readNum; (readNum = ((InputStream)iconURL[1]).read(buf)) != -1;) {\n bos.write(buf, 0, readNum); \n }\n byte[] bytes = bos.toByteArray(); \n InputStream in = new ByteArrayInputStream(bytes);\n folderImage = javax.imageio.ImageIO.read(in); \n\n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n\n\n // lookup the loading image so it will be in the cache\n try {\n \n Object[] iconURL = fileLookup.getFileURL(LOADER_IMAGE);\n loadingImage = new ImageIcon((java.net.URL)iconURL[0]);\n \n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n \n // lookup the not found image so it will be in the cache\n try {\n Object[] iconURL = fileLookup.getFileURL(NOT_FOUND_IMAGE);\n \n //now process the raw data into a buffer\n ByteArrayOutputStream bos = new ByteArrayOutputStream();\n byte[] buf = new byte[1024];\n for (int readNum; (readNum = ((InputStream)iconURL[1]).read(buf)) != -1;) {\n bos.write(buf, 0, readNum); \n }\n byte[] bytes = bos.toByteArray(); \n InputStream in = new ByteArrayInputStream(bytes);\n notFoundImage = javax.imageio.ImageIO.read(in); \n \n } catch (Exception ioe) {\n ioe.printStackTrace();\n }\n\n addToolGroup(rootToolGroup);\n }", "@Override\n\tprotected void generatePkgImports() {\n\t\toutputList.add(new OutputLine(indentLvl, \"import uvm_pkg::*;\"));\n\t\toutputList.add(new OutputLine(indentLvl, \"import ordt_uvm_reg_translate1_pkg::*;\"));\n\t\tif (UVMRdlTranslate1Classes.altModelPackage != null) outputList.add(new OutputLine(indentLvl, \"import \" + UVMRdlTranslate1Classes.altModelPackage + \";\")); // add alt model pkg\n\t\toutputList.add(new OutputLine(indentLvl, \"import jspec::*;\"));\n\t}", "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Obtain other dependent packages\n\t\tEefnrPackage theEefnrPackage = (EefnrPackage)EPackage.Registry.INSTANCE.getEPackage(EefnrPackage.eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\tdeferedFlatReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tdeferedReferenceTableEditorSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\townerEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\t\tsubtypeEClass.getESuperTypes().add(this.getOwner());\n\t\tanotherSubTypeEClass.getESuperTypes().add(this.getSubtype());\n\t\telementEClass.getESuperTypes().add(theEefnrPackage.getNamedElement());\n\t\tattributeNavigationSampleEClass.getESuperTypes().add(theEefnrPackage.getAbstractSample());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(deferedFlatReferenceTableEditorSampleEClass, DeferedFlatReferenceTableEditorSample.class, \"DeferedFlatReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedFlatReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedFlatReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceEClass, DeferedReference.class, \"DeferedReference\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReference_FlatreferenceEditor(), theEefnrPackage.getTotalSample(), null, \"flatreferenceEditor\", null, 1, 1, DeferedReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(deferedReferenceTableEditorSampleEClass, DeferedReferenceTableEditorSample.class, \"DeferedReferenceTableEditorSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getDeferedReferenceTableEditorSample_References(), this.getDeferedReference(), null, \"references\", null, 0, -1, DeferedReferenceTableEditorSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(ownerEClass, Owner.class, \"Owner\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getOwner_MultipleReferencers(), this.getMultipleReferencer(), null, \"multipleReferencers\", null, 0, -1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getOwner_SingleReferencers(), this.getSingleReferencer(), null, \"singleReferencers\", null, 0, 1, Owner.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(multipleReferencerEClass, MultipleReferencer.class, \"MultipleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForTableComposition(), this.getOwner(), null, \"multipleSampleForTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForAdvancedTableComposition(), this.getOwner(), null, \"multipleSampleForAdvancedTableComposition\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForReferencesTable(), this.getOwner(), null, \"multipleSampleForReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleAdvancedReferencesTable(), this.getOwner(), null, \"multipleSampleAdvancedReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getMultipleReferencer_MultipleSampleForFlatReferencesTable(), this.getOwner(), null, \"multipleSampleForFlatReferencesTable\", null, 0, 1, MultipleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(subtypeEClass, Subtype.class, \"Subtype\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getSubtype_SpecialisedElement(), ecorePackage.getEBoolean(), \"specialisedElement\", null, 0, 1, Subtype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(singleReferencerEClass, SingleReferencer.class, \"SingleReferencer\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSingleReferencer_SingleSampleForTableComposition(), this.getOwner(), null, \"singleSampleForTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForAdvancedTableComposition(), this.getOwner(), null, \"singleSampleForAdvancedTableComposition\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForReferencesTable(), this.getOwner(), null, \"singleSampleForReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleAdvancedReferencesTable(), this.getOwner(), null, \"singleSampleAdvancedReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleSampleForFlatReferencesTable(), this.getOwner(), null, \"singleSampleForFlatReferencesTable\", null, 0, -1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleContainmentForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleContainmentForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getSingleReferencer_SingleReferenceForAdvancedEObjectFlatComboViewer(), this.getOwner(), null, \"singleReferenceForAdvancedEObjectFlatComboViewer\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_BooleanAttribute(), ecorePackage.getEBoolean(), \"booleanAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_EenumAttribute(), ecorePackage.getEEnumerator(), \"eenumAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSingleReferencer_StringAttribute(), ecorePackage.getEString(), \"stringAttribute\", null, 0, 1, SingleReferencer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tEGenericType g1 = createEGenericType(ecorePackage.getEEList());\n\t\tEGenericType g2 = createEGenericType();\n\t\tg1.getETypeArguments().add(g2);\n\t\tinitEAttribute(getSingleReferencer_ListAttribute(), g1, \"listAttribute\", null, 0, 1, SingleReferencer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(anotherSubTypeEClass, AnotherSubType.class, \"AnotherSubType\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAnotherSubType_AnotherSpecialisation(), ecorePackage.getEBoolean(), \"anotherSpecialisation\", null, 0, 1, AnotherSubType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(elementEClass, Element.class, \"Element\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getElement_Visible(), ecorePackage.getEBoolean(), \"visible\", null, 0, 1, Element.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeNavigationSampleEClass, AttributeNavigationSample.class, \"AttributeNavigationSample\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getAttributeNavigationSample_SingleValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"singleValuedAttributeDelegate\", null, 0, 1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getAttributeNavigationSample_MultiValuedAttributeDelegate(), this.getAttributeDelegate(), null, \"multiValuedAttributeDelegate\", null, 0, -1, AttributeNavigationSample.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(attributeDelegateEClass, AttributeDelegate.class, \"AttributeDelegate\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getAttributeDelegate_Delegate1(), ecorePackage.getEString(), \"delegate1\", null, 1, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getAttributeDelegate_Delegate2(), ecorePackage.getEInt(), \"delegate2\", null, 0, 1, AttributeDelegate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t}", "protected void definePackage(String className) \n\t{\n int classIndex = className.lastIndexOf('.');\n\t\tString specTitle = null;\n\t\tString specVendor = null;\n\t\tString specVersion = null;\n String implTitle = null;\n String implVendor = null;\n String implVersion = null;\n String sealed = null;\n URL sealBase = null;\n\n\t\t/* Quick return if the class has no package */\n if (classIndex == -1)\n return;\n\n\t\t/* Or if the package has already been defined */\n String packageName = className.substring(0, classIndex);\n if (getPackage(packageName) != null)\n return;\n\n\t\t/* Read package information from the manifest, if any */\n if (m_manifest != null) \n {\n\t\t\tString sectionName = packageName.replace('.', '/') + \"/\";\n\t\t\tAttributes sectionAttributes = m_manifest.getAttributes(sectionName);\n\t\t\tAttributes mainAttributes = m_manifest.getMainAttributes();\n\t\t\t\n\t\t\tif (sectionAttributes != null)\n\t\t\t{\n\t\t\t\tspecTitle = sectionAttributes.getValue(Name.SPECIFICATION_TITLE);\n\t\t\t\tspecVendor = sectionAttributes.getValue(Name.SPECIFICATION_VENDOR);\n\t\t\t\tspecVersion = sectionAttributes.getValue(Name.SPECIFICATION_VERSION);\n\t\t\t\timplTitle = sectionAttributes.getValue(Name.IMPLEMENTATION_TITLE);\n\t\t\t\timplVendor = sectionAttributes.getValue(Name.IMPLEMENTATION_VENDOR);\n\t\t\t\timplVersion = sectionAttributes.getValue(Name.IMPLEMENTATION_VERSION);\n\t\t\t\tsealed = sectionAttributes.getValue(Name.SEALED);\n\t\t\t}\n\n\t\t\tif (mainAttributes != null)\n\t\t\t{\n\t\t\t\tif (specTitle == null)\n\t\t\t\t\tspecTitle = mainAttributes.getValue(Name.SPECIFICATION_TITLE);\n\n\t\t\t\tif (specVendor == null)\n\t\t\t\t\tspecVendor = mainAttributes.getValue(Name.SPECIFICATION_VENDOR);\n\n\t\t\t\tif (specVersion == null)\n\t\t\t\t\tspecVersion = mainAttributes.getValue(Name.SPECIFICATION_VERSION);\n\n\t\t\t\tif (implTitle == null)\n\t\t\t\t\timplTitle = mainAttributes.getValue(Name.IMPLEMENTATION_TITLE);\n\n\t\t\t\tif (implVendor == null)\n\t\t\t\t\timplVendor = mainAttributes.getValue(Name.IMPLEMENTATION_VENDOR);\n \n\t\t\t\tif (implVersion == null) \n\t\t\t\t\timplVersion = mainAttributes.getValue(Name.IMPLEMENTATION_VERSION);\n \n\t\t\t\tif (sealed == null) \n\t\t\t\t\tsealed = mainAttributes.getValue(Name.SEALED);\n }\n\t\t}\n\n\t\t/* If the package was defined as sealed then use the jar url for the base */\n\t\tif (sealed != null && sealed.equalsIgnoreCase(\"true\"))\n\t\t\tsealBase = m_url;\n\n\t\t/* finally define the package and return */\n\t\tdefinePackage(packageName, \n\t\t\t\t\t specTitle, specVersion, specVendor, \n\t\t\t\t\t implTitle, implVersion, implVendor, \n\t\t\t\t\t sealBase);\n\t}", "public void forceOpen()\r\n\t{\n\t\tOpenLegende ol=new OpenLegende(this);\r\n\t\tFile dir=new File(AppContext.getApplicationContext().getUserPreference(AppContext.PREFERENCES_DATA_PATH_KEY,null,false));\r\n\t\tol.getFileChooser().setCurrentDirectory(dir);\r\n\t\tol.getFileChooser().setFileFilter(new FileFilter()\r\n\t\t{\r\n\t\t\tpublic boolean accept(File arg0)\r\n\t\t\t{\r\n\t\t\t if(arg0.getName().endsWith(\".jmp\") || arg0.isDirectory())\r\n\t\t\t {\r\n\t\t\t return true;\r\n\t\t\t }\r\n\t\t\t return false;\r\n\t\t\t}\r\n\r\n\t\t\tpublic String getDescription()\r\n\t\t\t{\r\n\t\t\treturn I18N.get(\"PrintLayoutPlugin.PrintTemplates\");\r\n\t\t\t}\r\n\t\t});\r\n\tol.actionPerformed(null);\r\n\tsetMapsExtents(); //refresh maps and labels\r\n\t}" ]
[ "0.65852255", "0.6444489", "0.6040484", "0.5857668", "0.5849341", "0.58061737", "0.5756081", "0.5627248", "0.56000304", "0.55699694", "0.54398894", "0.54205894", "0.53884786", "0.53742886", "0.53638756", "0.5362362", "0.5349269", "0.53251296", "0.53132844", "0.5304208", "0.5299627", "0.5296353", "0.52937126", "0.5290048", "0.52865535", "0.5281605", "0.5279803", "0.5275725", "0.52617264", "0.52594674", "0.5255304", "0.5255265", "0.5240341", "0.5236601", "0.5223513", "0.5199691", "0.51956224", "0.51948094", "0.51822084", "0.5181392", "0.5171177", "0.516397", "0.51570624", "0.51548016", "0.5151528", "0.51501155", "0.5146639", "0.5134143", "0.51288176", "0.5104166", "0.5086083", "0.5084438", "0.5076991", "0.5076443", "0.50712293", "0.5059858", "0.50596493", "0.50531465", "0.50496", "0.5048574", "0.50454056", "0.50453967", "0.5045073", "0.5037412", "0.50298375", "0.50287634", "0.5007812", "0.5005273", "0.49990487", "0.49955955", "0.49877295", "0.49865887", "0.49836576", "0.4979482", "0.49716282", "0.49713126", "0.49706915", "0.4968273", "0.49681747", "0.49669293", "0.49668714", "0.496653", "0.49639267", "0.49596998", "0.49564677", "0.49513367", "0.49465302", "0.49444756", "0.49395818", "0.49356124", "0.49345526", "0.49341235", "0.4930542", "0.49226147", "0.491435", "0.4912417", "0.49120077", "0.49100766" ]
0.6588945
2
Sets the instance class on the given classifier.
@Override protected void fixInstanceClass(EClassifier eClassifier) { if (eClassifier.getInstanceClassName() == null) { eClassifier.setInstanceClassName("net.certware.measurement.spm." + eClassifier.getName()); //$NON-NLS-1$ setGeneratedClassName(eClassifier); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setClassifier(Classifier classifier) {\n this.classifier = classifier;\n //setClassifier(classifier, false);\n }", "public void setClassifier(String classifier) {\n JodaBeanUtils.notNull(classifier, \"classifier\");\n this._classifier = classifier;\n }", "public void setClass_(String newValue);", "public void setElementClass(Class newValue) {\r\n\t\tthis.elementClass = newValue;\r\n\t}", "static void setWekaClassAttribute(Instances instances, String class_attribute) {\n if (class_attribute != null) {\n int i = 0;\n boolean set = false;\n while (i < instances.numAttributes() && !set) {\n Attribute attr = instances.attribute(i);\n if (class_attribute.equals(attr.name())) {\n instances.setClassIndex(i);\n set = true;\n }\n ++i;\n }\n if (!set) {\n instances.setClassIndex(instances.numAttributes() - 1);\n }\n } else {\n instances.setClassIndex(instances.numAttributes() - 1);\n }\n }", "public void setClazz(String clazz);", "public void setClassToInstantiate(Class<? extends T> classToInstantiate) {\r\n this.classToInstantiate = classToInstantiate;\r\n }", "public final void mT__275() throws RecognitionException {\r\n try {\r\n int _type = T__275;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:276:8: ( 'set-class=' )\r\n // InternalSpringConfigDsl.g:276:10: 'set-class='\r\n {\r\n match(\"set-class=\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@OptionMetadata(displayName = \"MLlib classifier/regressor\",\n description = \"The MLlib classifier or regressor to evaluate\",\n displayOrder = 0)\n public void setClassifier(MLlibClassifier classifier) {\n m_classifier = classifier;\n }", "public void setClassify(Integer classify) {\n this.classify = classify;\n }", "public void setValueClass(Class<? extends Type> valueClass) {\n this.valueClass = valueClass;\n }", "protected void setJavaClass(Class type) {\n this._class = type;\n }", "public void updateClassifier(Instance instance) throws Exception {\n\n if (m_Train.equalHeaders(instance.dataset()) == false) {\n throw new Exception(\"Incompatible instance types\");\n }\t\n update(instance);\t\n }", "public void setClass (\r\n String strClass) throws java.io.IOException, com.linar.jintegra.AutomationException;", "public void setClass(UmlClass c) {\n\t\tlogicalClass = c;\n\t}", "public void setDataClass(Class<?> clazz) {\n\t\t\n\t}", "public void setLabeledInstance(Instance inst){\n\t\tthis._labeledInstance = inst;\n\t}", "public ExtraJaxbClassModel setClazz(Class<?> clazz);", "void setClassType(String classType);", "void setMainClass(Class<?> mainClass);", "void setClassOfService(ClassOfService serviceClass);", "public void classify() {\n\t\ttry {\n\t\t\tdouble pred = classifier.classifyInstance(instances.instance(0));\n\t\t\tSystem.out.println(\"===== Classified instance =====\");\n\t\t\tSystem.out.println(\"Class predicted: \" + instances.classAttribute().value((int) pred));\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"Problem found when classifying the text\");\n\t\t}\t\t\n\t}", "public WekaLearner(Classifier classifier) {\n super(Type.MODEL, Type.TRIV);\n this.classifier = classifier;\n }", "@Override\r\n\tprotected void fixInstanceClass(EClassifier eClassifier) {\r\n\t\tif (eClassifier.getInstanceClassName() == null) {\r\n\t\t\teClassifier.setInstanceClassName(\"org.bimserver.models.store.\"\r\n\t\t\t\t\t+ eClassifier.getName());\r\n\t\t\tsetGeneratedClassName(eClassifier);\r\n\t\t}\r\n\t}", "public void SetAsClass () throws java.io.IOException, com.linar.jintegra.AutomationException;", "public void setClassification(String classification) {\r\n\t\tif (this.compareFields(this.classification, classification)) {\r\n\t\t\tthis.fireUpdatePendingChanged(true);\r\n\t\t}\r\n\t\tthis.classification = classification != null ? classification.trim()\r\n\t\t\t\t: null;\r\n\t}", "public void setClazzName(String clazz);", "@Override\n\tprotected void fixInstanceClass(EClassifier eClassifier) {\n\t\tif (eClassifier.getInstanceClassName() == null) {\n\t\t\teClassifier.setInstanceClassName(\"COSEM.InterfaceClasses.\" + eClassifier.getName());\n\t\t\tsetGeneratedClassName(eClassifier);\n\t\t}\n\t}", "public void setCandidateType(Class cls) {\n _candidate = cls;\n }", "@Override\n\tprotected void fixInstanceClass(EClassifier eClassifier) {\n\t\tif (eClassifier.getInstanceClassName() == null) {\n\t\t\teClassifier.setInstanceClassName(\"CIM15.IEC61970.Core.\" + eClassifier.getName());\n\t\t\tsetGeneratedClassName(eClassifier);\n\t\t}\n\t}", "public synchronized void setFeatureInstances(final Set<? extends FeatureType> newValues) {\n featureInstances = copySet(newValues, featureInstances, FeatureType.class);\n }", "public void setExtClass(Class clas){\n\t\t\n\t\tthis.clas = clas;\n\t}", "public void setThreadClass(Class threadClass, int totalPoolSize) throws IllegalClassException, IllegalAccessException, InstantiationException{\n\n\tthis.setPoolLocked(true);\n\tthis.initializePools(threadClass, totalPoolSize);\n\tthis.setPoolLocked(false);\n\n }", "@IcalProperty(pindex = PropertyInfoIndex.CLASS,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setClassification(final String val) {\n classification = val;\n }", "protected void setClassType(String name, Class<?> clazz) {\n\t\tmapClass.put(name, clazz);\n\t}", "public void xsetJavaClass(org.apache.xmlbeans.XmlNMTOKEN javaClass)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlNMTOKEN target = null;\r\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(JAVACLASS$24);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().add_attribute_user(JAVACLASS$24);\r\n }\r\n target.set(javaClass);\r\n }\r\n }", "public static boolean changeClassifier(ClassifiedFeature classifiedFeature, Classifier newClassifier) {\n Classifier oldClassifier = classifiedFeature.getClassified();\n boolean isAllowed = isChangeAllowed(oldClassifier, newClassifier);\n if (isAllowed) {\n classifiedFeature.setClassified(newClassifier);\n }\n return isAllowed;\n }", "public void setClazz(Integer clazz) {\n this.clazz = clazz;\n }", "public void setTargetObjectClass(ClassDefinitionDMO value) {\n DmcAttribute<?> attr = get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n ((DmcTypeClassDefinitionREFSV)attr).removeBackReferences();\n \n try{\n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }\n catch(DmcValueException ex){\n throw(new IllegalStateException(\"The type specific set() method shouldn't throw exceptions!\",ex));\n }\n }", "public void assignClass(GameClass.CharacterClass characterClass){\r\n\t\tswitch (characterClass){\r\n\t\t\tcase WARRIOR:\r\n\t\t\t\tgameClass = new WarriorClass(this);\r\n\t\t\t\tbreak;\r\n\t\t\tcase ROGUE:\r\n\t\t\t\tgameClass = new RogueClass(this);\r\n\t\t\t\tbreak;\r\n\t\t\tcase MAGE:\r\n\t\t\t\tgameClass = new MageClass(this);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}", "public Builder setValueClass(Type valueType) {\n this.valueType = valueType;\n return this;\n }", "public void setClassification(String classification) {\n this.classification = classification;\n }", "public void setClassId(int value) {\r\n this.classId = value;\r\n }", "public void setJavaClass(java.lang.String javaClass)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(JAVACLASS$24);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(JAVACLASS$24);\r\n }\r\n target.setStringValue(javaClass);\r\n }\r\n }", "public void setClassLabel(String key, String label);", "public void setProductClass(String value) {\n setAttributeInternal(PRODUCTCLASS, value);\n }", "public void setClassObject(Object obj)\n\n {\n\n this.classObject = obj;\n\n }", "void replaceClasses(Class current, Class replacement);", "public void setEntityClass(final Class<T> entityClass)\n\t{\n\t\tthis.entityClass = entityClass;\n\t}", "public void setClassification(String classification) {\n this.classification = classification;\n }", "public void setClassFlag(boolean classFlag) {\n m_ClassFlag = classFlag;\n }", "@Override\n\tpublic void setClassValue(final String value) {\n\n\t}", "@objid (\"8fb70c43-b102-4a64-9424-c7cc07d58fcf\")\n void setTarget(Instance value);", "public void setMainClass(IJavaClassFile value);", "public void setBaseClass(Class<?> baseClass)\n {\n this.baseClass = baseClass;\n }", "public void setRiskClass(ch.crif_online.www.webservices.crifsoapservice.v1_00.RiskClass.Enum riskClass)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RISKCLASS$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RISKCLASS$0);\n }\n target.setEnumValue(riskClass);\n }\n }", "public void setFClass(String fClass) {\n\t\t\tthis.fClass = fClass;\n\t\t}", "public void setReflectorFactoryClass(Class<?> type, Class<? extends ReflectorFactory> clazz) {\n notNull(type, \"type cannot be null\");\n\n if (type != null) {\n factoryMappings.put(type, clazz);\n }\n else {\n factoryMappings.remove(type);\n }\n }", "void setReceiversImpl(java.lang.Class clazz);", "public void setClassname(String classname) {\n this.classname = classname;\n }", "@Override\r\n public void buildClassifier(Instances instances) throws Exception {\n getCapabilities().testWithFail(instances);\r\n\r\n // remove instances with missing class\r\n instances = new Instances(instances);\r\n instances.deleteWithMissingClass();\r\n\r\n // ensure we have a data set with discrete variables only and with no\r\n // missing values\r\n instances = normalizeDataSet(instances);\r\n\r\n // copy instances to local field\r\n// m_Instances = new Instances(instances);\r\n m_Instances = instances;\r\n\r\n // initialize arrays\r\n int numClasses = m_Instances.classAttribute().numValues();\r\n m_Structures = new BayesNet[numClasses];\r\n m_cInstances = new Instances[numClasses];\r\n // m_cEstimator = new DiscreteEstimatorBayes(numClasses, m_fAlpha);\r\n\r\n for (int iClass = 0; iClass < numClasses; iClass++) {\r\n splitInstances(iClass);\r\n }\r\n\r\n // update probabilty of class label, using Bayesian network associated\r\n // with the class attribute only\r\n Remove rFilter = new Remove();\r\n rFilter.setAttributeIndices(\"\" + (m_Instances.classIndex() + 1));\r\n rFilter.setInvertSelection(true);\r\n rFilter.setInputFormat(m_Instances);\r\n Instances classInstances = new Instances(m_Instances);\r\n classInstances = Filter.useFilter(classInstances, rFilter);\r\n\r\n m_cEstimator = new BayesNet();\r\n SimpleEstimator classEstimator = new SimpleEstimator();\r\n classEstimator.setAlpha(m_fAlpha);\r\n m_cEstimator.setEstimator(classEstimator);\r\n m_cEstimator.buildClassifier(classInstances);\r\n\r\n /*combiner = new LibSVM(); \r\n FastVector classFv = new FastVector(2);\r\n classFv.addElement(CNTL);\r\n classFv.addElement(CASE);\r\n Attribute classAt = new Attribute(m_Instances.classAttribute().name(), \r\n classFv);\r\n attributesFv = new FastVector(m_Structures.length);\r\n attributesFv.addElement(classAt);\r\n for (int i = 0; i < m_Instances.classAttribute().numValues(); i++){\r\n if (!m_Instances.classAttribute().value(i).equals(CNTL))\r\n attributesFv.addElement(new Attribute(m_Instances.classAttribute\r\n ().value(i)));\r\n }\r\n combinerTrain = new Instances(\"combinertrain\", attributesFv, \r\n m_Instances.numInstances());\r\n combinerTrain.setClassIndex(0);\r\n for (int i = 0; i < m_Instances.numInstances(); i++){\r\n double[] probs = super.distributionForInstance(m_Instances.instance(i));\r\n Instance result = new Instance(attributesFv.size()); \r\n if (!m_Instances.classAttribute().value(m_Instances.instance(i).\r\n classIndex()).equals(CNTL))\r\n result.setValue(classAt, CASE);\r\n else\r\n result.setValue(classAt, CNTL);\r\n for (int j = 0; j < attributesFv.size(); j++){\r\n if (!attributesFv.elementAt(j).equals(classAt)){\r\n Attribute current = (Attribute) attributesFv.elementAt(j);\r\n result.setValue(current, \r\n probs[m_Instances.classAttribute().indexOfValue\r\n (current.name())]);\r\n }\r\n }\r\n combinerTrain.add(result);\r\n }\r\n combinerTrain = discretize(combinerTrain);\r\n combiner.buildClassifier(combinerTrain);*/\r\n }", "public Target setActionClass(Class<?> action) {\n this.action = action;\n return this;\n }", "public void xsetRiskClass(ch.crif_online.www.webservices.crifsoapservice.v1_00.RiskClass riskClass)\n {\n synchronized (monitor())\n {\n check_orphaned();\n ch.crif_online.www.webservices.crifsoapservice.v1_00.RiskClass target = null;\n target = (ch.crif_online.www.webservices.crifsoapservice.v1_00.RiskClass)get_store().find_element_user(RISKCLASS$0, 0);\n if (target == null)\n {\n target = (ch.crif_online.www.webservices.crifsoapservice.v1_00.RiskClass)get_store().add_element_user(RISKCLASS$0);\n }\n target.set(riskClass);\n }\n }", "public void setupEntityClass(Class clazz) ;", "protected void setAdaptToClass(Class<?> adaptToClass) {\n this.adaptToClass = adaptToClass;\n }", "public static void avaliador(Classifier classifier, Instances instances, int seed) throws Exception {\n FilteredClassifier tmp = aplicaFiltros(classifier, instances);\n\n new Thread(() -> {\n try {\n System.out.println(\"====== Inicio - Seed: \" + seed + \" - \" + tmp.getClassifier().toString() + \" ======\");\n Evaluation eval = new Evaluation(instances);\n // A cada teste o Random seed soma + 1\n eval.crossValidateModel(tmp, instances, 10, new Debug.Random(seed));\n System.out.println(\"====== \" + tmp.getClassifier().toString() + \" ======\");\n System.out.println(\"Seed \" + seed + \":\" + String.valueOf(eval.pctCorrect()).replace('.', ','));\n double[][] confusionMatrix = eval.confusionMatrix();\n System.out.println(confusionMatrix[0][0] + \" - \" + confusionMatrix[0][1] + \" - \" + confusionMatrix[0][2]);\n System.out.println(confusionMatrix[1][0] + \" - \" + confusionMatrix[1][1] + \" - \" + confusionMatrix[1][2]);\n System.out.println(confusionMatrix[2][0] + \" - \" + confusionMatrix[2][1] + \" - \" + confusionMatrix[2][2]);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }).start();\n }", "@Override\n\tpublic void setClassValue(final double value) {\n\n\t}", "public void setClass(String godClass)\r\n {\r\n this.mGodClass = godClass;\r\n }", "public AnnotatedTypeBuilder<X> setJavaClass(Class<X> javaClass) {\n\t\tthis.javaClass = javaClass;\n\t\treturn this;\n\t}", "public final void mT__215() throws RecognitionException {\r\n try {\r\n int _type = T__215;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // InternalSpringConfigDsl.g:216:8: ( 'class=' )\r\n // InternalSpringConfigDsl.g:216:10: 'class='\r\n {\r\n match(\"class=\"); \r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n }\r\n }", "@Override\r\n\tpublic boolean updateClassified(Classified classified) {\n\t\treturn false;\r\n\t}", "public void setCssClass(String cssClass);", "public Builder setClassName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n className_ = value;\n onChanged();\n return this;\n }", "public void setClasses(final Collection<Class> classes) {\n this.classes = classes;\n }", "public void setInstances(Instances inst) {\r\n\r\n\t\tm_Instances = inst;\r\n\r\n\t\tm_ignoreKeyModel.removeAllElements();\r\n\r\n\t\tString[] attribNames = new String[m_Instances.numAttributes()];\r\n\t\tfor (int i = 0; i < m_Instances.numAttributes(); i++) {\r\n\t\t\tString name = m_Instances.attribute(i).name();\r\n\t\t\tm_ignoreKeyModel.addElement(name);\r\n\r\n\t\t\tString type = \"\";\r\n\t\t\tswitch (m_Instances.attribute(i).type()) {\r\n\t\t\tcase Attribute.NOMINAL:\r\n\t\t\t\ttype = \"(Nom) \";\r\n\t\t\t\tbreak;\r\n\t\t\tcase Attribute.NUMERIC:\r\n\t\t\t\ttype = \"(Num) \";\r\n\t\t\t\tbreak;\r\n\t\t\tcase Attribute.STRING:\r\n\t\t\t\ttype = \"(Str) \";\r\n\t\t\t\tbreak;\r\n\t\t\tcase Attribute.DATE:\r\n\t\t\t\ttype = \"(Dat) \";\r\n\t\t\t\tbreak;\r\n\t\t\tcase Attribute.RELATIONAL:\r\n\t\t\t\ttype = \"(Rel) \";\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\ttype = \"(???) \";\r\n\t\t\t}\r\n\t\t\tString attnm = m_Instances.attribute(i).name();\r\n\r\n\t\t\tattribNames[i] = type + attnm;\r\n\t\t}\r\n\r\n\t\tm_StartBut.setEnabled(m_RunThread == null);\r\n\t\tm_StopBut.setEnabled(m_RunThread != null);\r\n\t\tm_ignoreBut.setEnabled(true);\r\n\t\tm_ClassCombo.setModel(new DefaultComboBoxModel(attribNames));\r\n\t\tif (inst.classIndex() == -1)\r\n\t\t\tm_ClassCombo.setSelectedIndex(attribNames.length - 1);\r\n\t\telse\r\n\t\t\tm_ClassCombo.setSelectedIndex(inst.classIndex());\r\n\t\t//TODO KernelPanel\r\n\r\n\t}", "public void setClazz(short value) {\n this.clazz = value;\n }", "protected ForInstanceCheck(Class<?> target) {\n this.target = target;\n }", "public AutoClassification(ClassificationModel classificationModel) {\r\n this.classificationModel = classificationModel;\r\n }", "public void setClass(String sClass) {\n\t\t\tsRuleClassName = sClass;\n\t\t}", "public synchronized final void setClassificationParams(Vector poParams) {\n setParams(poParams, CLASSIFICATION);\n }", "public void setObjectClass(Class objectClass) {\n this.objectClass = objectClass;\n }", "public void setModelClass(Class model) {\r\n\t\tthis.model=model;\r\n\t}", "public void setClassLabels(int[] c) {\n\t\t\tcls = c;\n\t\t}", "@Override\r\n\tpublic double classifyInstance(Instance instance) throws Exception {\n\t\tdouble[] hist = bop.bagToArray(bop.buildBag(instance));\r\n\r\n\t\t// stuff into Instance\r\n\t\tInstances newInsts = new Instances(matrix, 1); // copy attribute data\r\n\t\tnewInsts.add(new SparseInstance(1.0, hist));\r\n\r\n\t\treturn knn.classifyInstance(newInsts.firstInstance());\r\n\t}", "public void setClassType(String classType) {\n\t\t\t\n\t\t\tfor(E_ClassType c : E_ClassType.values())\n\t\t\t{\n\t\t\t\tif(c.toString().equals(classType))\n\t\t\t\t{\n\t\t\t\t\tthis.classType = E_ClassType.valueOf(classType);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.classType = E_ClassType.Tourists;\n\t\t\t\n\t\t}", "public void setClassname(String classname) {\n\t\tthis.classname = classname;\n\t}", "public void setTrafficClass (int tc) {\n if ( tc < 0 || tc > 255)\n throw new IllegalArgumentException();\n trafficClass = tc;\n }", "public static void setModel(ClassifierModel model) {\n\t\tif(model.isIJUsed()) {\r\n\t\t\tpreprocess.setIJModel(model.getPreprocessModel());\r\n\t\t\tsvm.setIJModel(model.getSvmmodel());\r\n\t\t}\r\n\t\telse {\r\n\t\t\tpreprocess.setJFModel(model.getPreprocessModel());\r\n\t\t\tsvm.setJFModel(model.getSvmmodel());\r\n\t\t}\r\n\t}", "public void setClassifications(SortedSet<ClassificationPair> classifications) {\n\t\tthis.classifications = classifications;\n\t}", "public IRubyObject setClassVar(String name, IRubyObject value) {\n RubyModule module = this;\n do {\n if (module.hasClassVariable(name)) {\n return module.storeClassVariable(name, value);\n }\n } while ((module = module.getSuperClass()) != null);\n \n return storeClassVariable(name, value);\n }", "@Override\n public double classifyInstance(Instance testdata) {\n // get a copy of testdata Instance with only the matched attributes\n Instance ntest = this.mm.getMatchedTestInstance(testdata);\n\n double ret = 0.0;\n try {\n ret = this.classifier.classifyInstance(ntest);\n }\n catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException(e);\n }\n\n return ret;\n }", "public void setClassName(String className) { this.className=className; }", "public void setDescriptor(ClassDescriptor descriptor) {\n this.descriptor = descriptor;\n }", "public static boolean changeClassifier(ClassifiedFeature classifiedFeature, Classifier newClassifier, Classification classification) {\n if (changeClassifier(classifiedFeature, newClassifier)) {\n if (newClassifier == Classifier.ALIVE) {\n classification.getAliveFeatures().add(classifiedFeature.getFeature());\n classification.getDeadFeatures().remove(classifiedFeature.getFeature());\n classification.getUnboundFeatures().remove(classifiedFeature.getFeature());\n } else if (newClassifier == Classifier.DEAD) {\n classification.getAliveFeatures().remove(classifiedFeature.getFeature());\n classification.getDeadFeatures().add(classifiedFeature.getFeature());\n classification.getUnboundFeatures().add(classifiedFeature.getFeature());\n } else if (newClassifier == Classifier.UNBOUND) {\n classification.getAliveFeatures().remove(classifiedFeature.getFeature());\n classification.getDeadFeatures().remove(classifiedFeature.getFeature());\n classification.getUnboundFeatures().add(classifiedFeature.getFeature());\n }\n return true;\n } else\n return false;\n\n }", "public void SetClassDynm(ClassifyDynamics class_dynm) {\n\t\tthis.class_dynm = class_dynm;\n\t}", "void addAnnotatedClass( Class clazz );", "public static <T> void setField(Class<T> clz, T instance, String fieldName, Object value) {\n Field field = getAccessible(() -> clz.getDeclaredField(fieldName));\n performReflectionAction(() -> field.set(instance, value));\n }", "public void setClassifcation(String _classifcation)\r\n\t{\r\n\t\tthis._classifcation=_classifcation;\r\n\t}", "public HDInsightSparkActivity setClassName(String className) {\n this.className = className;\n return this;\n }", "public void setTargetObjectClass(Object value) throws DmcValueException {\n DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n attr.removeBackReferences();\n \n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }" ]
[ "0.7151694", "0.70832676", "0.6633301", "0.61015534", "0.60874087", "0.59818214", "0.59287643", "0.5917114", "0.59113884", "0.5868016", "0.5854975", "0.57666105", "0.5732235", "0.5723707", "0.5711787", "0.5674829", "0.56745344", "0.56745094", "0.56504136", "0.56391233", "0.5637207", "0.56098056", "0.55267334", "0.5500079", "0.54809695", "0.54622865", "0.54384494", "0.5431627", "0.54274166", "0.54169303", "0.5296358", "0.5273619", "0.52564883", "0.5230328", "0.5200908", "0.51930356", "0.51898843", "0.51854473", "0.5169923", "0.51573193", "0.5152025", "0.5124812", "0.5114854", "0.5108854", "0.5096517", "0.50834996", "0.5050706", "0.503944", "0.5029436", "0.5002229", "0.5000134", "0.4981995", "0.49697915", "0.49600923", "0.49510008", "0.49423692", "0.49322173", "0.49027735", "0.49012044", "0.49005726", "0.48998266", "0.48930752", "0.48896444", "0.4873253", "0.48704886", "0.4870345", "0.48695123", "0.48685047", "0.48636875", "0.48494267", "0.484905", "0.4837503", "0.48308307", "0.482904", "0.48269618", "0.48268098", "0.48098618", "0.48039672", "0.48022595", "0.47868922", "0.47796044", "0.47793952", "0.477447", "0.47646943", "0.4761381", "0.4759167", "0.47563925", "0.47328946", "0.47247773", "0.47236943", "0.47110757", "0.47099045", "0.47040236", "0.47002256", "0.46970266", "0.4696136", "0.46957684", "0.469159", "0.4690672", "0.4679871" ]
0.54981947
24
Returns the time in seconds for which a traffic light will appear yellow when transitioning from green to red.
public int getYellowTime() { return yellowTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tInteger getGreenDuration() {\n\t\treturn null;\r\n\t}", "public void oneSecond() {\r\n int routeSize = connections.size();\r\n if (routeSize != 0) {\r\n // if the signal is green.\r\n if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.GREEN) {\r\n currentGreenTime ++;\r\n if (currentGreenTime + yellowTime == duration) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.YELLOW);\r\n currentGreenTime = 0;\r\n }\r\n }\r\n // if the signal is yellow.\r\n else if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.YELLOW) {\r\n currentYellowTime ++;\r\n if (currentYellowTime == yellowTime) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.RED);\r\n currentYellowTime = 0;\r\n if(lightIndex == connections.size() - 1){\r\n lightIndex = 0;\r\n } else {\r\n lightIndex ++;\r\n }\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.GREEN);\r\n }\r\n }\r\n }\r\n }", "protected Color getUptimeColor() {\n\t\tfinal long uptime = System.currentTimeMillis()\n\t\t\t\t- Activator.getDefault().getStartTime();\n\t\tif (uptime < 7200000)\n\t\t\treturn display.getSystemColor(SWT.COLOR_DARK_GREEN);\n\t\telse if (uptime < 14400000)\n\t\t\treturn display.getSystemColor(SWT.COLOR_BLUE);\n\t\telse\n\t\t\treturn display.getSystemColor(SWT.COLOR_RED);\n\t}", "public float getGreen() {\n return green;\n }", "public ColorChange(Color color, double time) {\n this.color = color;\n this.time = time;\n }", "int getHighLightColor();", "public void greenToYellow() {\n\t\tif (StringUtils.isEmpty(this.nextProgram)) {\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\tnew IllegalStateException(\"Method call not allowed as long as nextProgram is not set.\"));\n\t\t}\n\n\t\tString state;\n\t\ttry {\n\t\t\tstate = (String) connection.do_job_get(Trafficlight.getRedYellowGreenState(tls.getId()));\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t\tString newState = JunctionUtil.getRedYellowGreenState(this.tls.getId(), this.nextProgram, 0);\n\n\t\tif (state.length() != newState.length()) {\n\t\t\tthrow new RuntimeException(\"TlsState \" + state + \" and \" + newState + \" need to have the same length!\");\n\t\t}\n\n\t\tchar[] yellowState = state.toCharArray();\n\t\tfor (int i = 0; i < state.length(); i++) {\n\t\t\tchar cCurrent = state.charAt(i);\n\t\t\tchar cNew = newState.charAt(i);\n\n\t\t\tif (cNew == 'r' && (cCurrent == 'G' || cCurrent == 'g')) {\n\t\t\t\tyellowState[i] = 'y';\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconnection.do_job_set(Trafficlight.setRedYellowGreenState(tls.getId(), new String(yellowState)));\n\t\t\tthis.nextProgramScheduledTimestep = ((double) connection.do_job_get(Simulation.getTime()))\n\t\t\t\t\t+ TraasServer.YELLOW_PHASE;\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t\tregisterMe();\n\t}", "public double readLightLevel()\n {\n return (Math.random() * (200000.0 - 0.0)) + 0.0;\n }", "public static Color getColorSuccess() {\n return Color.white;\n }", "public int getGreen()\n\t{\n\t\treturn green;\n\t}", "@Override\r\n\tInteger getRedDuration() {\n\t\treturn null;\r\n\t}", "public synchronized Color getCurrentColor() {\n Color c0 = initialColor.cpy().mul(\n 1.0f - colorStateTime / COLOR_ANIMATION_DURATION);\n Color c1 = targetColor.cpy().mul(\n colorStateTime / COLOR_ANIMATION_DURATION);\n return c0.add(c1);\n }", "public float getTimeInTransitions() {\n\t\t\treturn (float) ((long) getTotalTransitions() * (long) getTransitionLatency() / 1E9);\n\t\t}", "public void update() {\r\n\t\ttimePassed++; //increment time\r\n\t\t\r\n\t\tswitch(state) {\r\n\t\tcase GNS_REW:\r\n\t\t\tif (timePassed > greenNS) {\r\n\t\t\t\tstate = LightState.YNS_REW; // turn NS light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase YNS_REW:\r\n\t\t\tif (timePassed > yellowNS) {\r\n\t\t\t\tstate = LightState.RNS_GEW; // turn NS light red and EW light green\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_GEW:\r\n\t\t\tif (timePassed > greenEW) {\r\n\t\t\t\tstate = LightState.RNS_YEW; // turn EW light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_YEW:\r\n\t\t\tif (timePassed > yellowEW) {\r\n\t\t\t\tstate = LightState.GNS_REW; // turn NS light green and EW light red\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\t//if the state is something other than these four options, we have a serious issue...\r\n\t\t\tSystem.out.println(\"update(StopLight): something has gone horribly wrong\"); \r\n\t\t}\r\n\t}", "int getTtiSeconds();", "public int getLaSeconds() {\n return laSeconds;\n }", "public Color getColor() {\n return Color.YELLOW;\n }", "double greenPercentage();", "public static int getTimeSeconds() {\n return Atlantis.getBwapi().getFrameCount() / 30;\n }", "public int getTotalLedsOn(int seconds) {\r\n\t\tint sumLedsOn = TheOtherClock.SECOND_ZERO_LEDS;\r\n\t\tfor (int i = 0; i <= seconds; i++) {\r\n\t\t\tint seg = i % 60;\r\n\t\t\tint min = (i / 60) % 60;\r\n\t\t\tint hours = (i / 3600) % 24;\r\n\t\t\tsetTime(hours, min, seg);\r\n\t\t\tif(i>0) {\r\n\t\t\t\t//get only variations between off/on leds\r\n\t\t\t\tsumLedsOn += getTotalVariations();\r\n\t\t\t}\r\n\t\t\t//save the last display state in order to detect the variations\r\n\t\t\tSystem.arraycopy(ledDisplay, 0, lastLedDisplay, 0, ledDisplay.length);\r\n\t\t}\r\n\t\treturn sumLedsOn;\r\n\t}", "public int getLoSeconds() {\n return loSeconds;\n }", "Light getEWlight();", "public Color update() {\n /*\n * The method GetColor() returns a normalized color value from the sensor and\n * can be Useful if outputting the color to use an RGB LED or similar. To read\n * the raw color, or use GetRawColor().\n *\n * The color sensor works best when within a few inches from an object in well\n * lit conditions (the built in LED is a big help here!). The farther an object\n * is the more light from the surroundings will bleed into the measurements and\n * make it difficult to accurately determine its color.\n */\n edu.wpi.first.wpilibj.util.Color detectedColor = m_ColorSensor.getColor();\n /*\n * Run the color match algorithm on our detected color\n */\n String colorString;\n ColorMatchResult match = m_colorMatcher.matchClosestColor(detectedColor);\n\n if (match.color == kBlueTarget) {\n colorString = \"Blue\";\n mCurrentColor = Color.blue;\n } else if (match.color == kRedTarget) {\n colorString = \"Red\";\n mCurrentColor = Color.red;\n } else if (match.color == kGreenTarget) {\n colorString = \"Green\";\n mCurrentColor = Color.green;\n } else if (match.color == kYellowTarget) {\n colorString = \"Yellow\";\n mCurrentColor = Color.yellow;\n } else {\n colorString = \"Unknown\";\n mCurrentColor = Color.unknown;\n }\n /**\n * Open Smart Dashboard or Shuffleboard to see the color detected by the Sensor.\n */\n SmartDashboard.putNumber(\"Red\", detectedColor.red);\n SmartDashboard.putNumber(\"Green\", detectedColor.green);\n SmartDashboard.putNumber(\"Blue\", detectedColor.blue);\n SmartDashboard.putNumber(\"Confidence\", match.confidence);\n SmartDashboard.putString(\"Detected Color\", colorString);\n return mCurrentColor;\n }", "public int getSecondsPassed()\n {\n return this.seconds;\n }", "public double getAnimationSeconds()\n\t{\n\t\treturn seconds_passed;\n\t}", "public abstract float getSecondsPerUpdate();", "public float getTimeSeconds() { return getTime()/1000f; }", "private String lightConversion() {\n int reading = ((record[16] & 255) + ((record[21] & 0xC0) << 2));\n //return reading + \"\";\n return formatter.format(((reading * reading) * (-.0009)) + (2.099 * reading));\n }", "public int lightreading() {\n\t\tLSvalue = lightSensor.lightreading(); \t\t\t\t\t\t\t\t\t\n\t\treturn LSvalue;\n\t}", "protected int getColorMultiplier(EntityNMCreeper entitylivingbaseIn, float lightBrightness, float partialTickTime)\r\n {\r\n float f = entitylivingbaseIn.getCreeperFlashIntensity(partialTickTime);\r\n\r\n if ((int)(f * 10.0F) % 2 == 0)\r\n {\r\n return 0;\r\n }\r\n else\r\n {\r\n int i = (int)(f * 0.2F * 255.0F);\r\n i = MathHelper.clamp(i, 0, 255);\r\n return i << 24 | 822083583;\r\n }\r\n }", "static public int getGreen(int color) {\n return (color >> 8) & 0xff;\n }", "@Override\n public void timerTicked() {\n //subtracts one second from the timer of the current team\n if(state.getCurrentTeamsTurn() == Team.RED_TEAM) {\n state.setRedTeamSeconds(state.getRedTeamSeconds() - 1);\n } else {\n state.setBlueTeamSeconds(state.getBlueTeamSeconds() - 1);\n }\n }", "private int getStockChangeColor (String stockChange){\n float change = Float.parseFloat(stockChange);\n if (change >= 0){return Color.GREEN;}\n\n return Color.RED;\n }", "public int getLightColor() {\n return this.lightColor;\n }", "public final int getG() {\n\t\treturn green;\n\t}", "private void reactMain_region_digitalwatch_Display_glowing_GlowDelay() {\n\t\tif (timeEvents[5]) {\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\tsCIDisplay.operationCallback.unsetIndiglo();\n\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOff;\n\t\t} else {\n\t\t\tif (sCIButtons.topRightPressed) {\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\t\tsCIDisplay.operationCallback.setIndiglo();\n\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOn;\n\t\t\t}\n\t\t}\n\t}", "public int getLight();", "public void setDuration(int duration) {\r\n this.duration = duration;\r\n if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.YELLOW) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.GREEN);\r\n }\r\n currentGreenTime = 0;\r\n currentYellowTime = 0;\r\n }", "public void endYellow() {\n if (System.currentTimeMillis() - lastAttack > 200) {\n isYellow = false;\n ((Geometry)model.getChild(\"Sphere\")).getMaterial().setColor(\"Color\", ColorRGBA.Red);\n }\n }", "public double getTotalTime()\n\t{\n\t\treturn this.timeBallHitsGround;\n\t}", "public float getColorFadeLevel() {\n return mColorFadeLevel;\n }", "public int getSeconds(){\n return (int) (totalSeconds%60);\n }", "private static float tock(){\n\t\treturn (System.currentTimeMillis() - startTime);\n\t}", "@Override\n\tpublic void green() {\n\t\tSystem.out.println(\"Green Light\");\n\t}", "public float c() {\n if (this.f3465c) {\n return BitmapDescriptorFactory.HUE_RED;\n }\n com.airbnb.lottie.g.a g2 = g();\n if (g2.d()) {\n return BitmapDescriptorFactory.HUE_RED;\n }\n return (this.f3467e - g2.b()) / (g2.c() - g2.b());\n }", "private int getActiveTime() {\n\t\treturn 15 + level;\n\t}", "private static double dif(Color one, Color two) {\n\t\treturn Math.abs(one.getRed() - two.getRed()) + Math.abs(one.getGreen() - two.getGreen()) + Math.abs(one.getBlue() - two.getBlue());\n\t}", "@ColorInt\n public int getColor() {\n return Color.HSVToColor(mColorHSV);\n }", "public int getTurnColor() {\n return turnColor;\n }", "public int getColorInt () {\r\n return this.colorReturned;\r\n }", "public String showColor(int light) {\n\n String result;\n switch (light) {\n case 1:\n System.out.println(\"Red\");\n result = \"Red\";\n break;\n case 2:\n System.out.println(\"Orange\");\n result = \"Orange\";\n break;\n case 3:\n System.out.println(\"Green\");\n result = \"Green\";\n break;\n default:\n System.out.println(\"Red\");\n result = \"red\";\n break;\n }\n return result;\n }", "public int getTransitionLatency() {\n\t\t\tif (mTransitionLatency == 0) {\n\t\t\t\tList<String> list = ShellHelper.cat(\n\t\t\t\t\tmRoot.getAbsolutePath() + TRANSITION_LATENCY);\n\t\t\t\tif (list == null || list.isEmpty()) return 0;\n\t\t\t\tint value = 0;\n\t\t\t\ttry { value = Integer.valueOf(list.get(0)); }\n\t\t\t\tcatch (NumberFormatException ignored) {}\n\t\t\t\tmTransitionLatency = value;\t\t\t\n\t\t\t}\n\t\t\treturn mTransitionLatency;\n\t\t}", "public float getBlinkTime()\n\t{ return BLINK_TIME; }", "public double CPUServiceTime()\r\n\t{\r\n\t\treturn Math.random()* (30.0 - 10.0) + 10.0;\r\n\t}", "public void testStoplightPageGreenLight() throws Exception {\r\n synchronized (this) {\r\n currentTime.set(Calendar.MONTH, 12);\r\n currentTime.set(Calendar.DATE, 8);\r\n currentTime.set(Calendar.HOUR, 11);\r\n currentTime.set(Calendar.MINUTE, 0);\r\n currentTime.set(Calendar.SECOND, 0);\r\n currentTime.set(Calendar.AM_PM, Calendar.PM);\r\n }\r\n StopLightPage.setDebug(true);\r\n\r\n WicketTester tester = new WicketTester(new GreenometerApplication());\r\n tester.startPage(StopLightPage.class);\r\n tester.assertRenderedPage(StopLightPage.class);\r\n\r\n \r\n TagTester imgTag = tester.getTagByWicketId(\"StopLight\");\r\n assertTrue(\"Check for Green\", imgTag.getAttribute(\"src\").contains(\"green\"));\r\n }", "public int getPrimaryLight(){\n return this.lightColor;\n }", "public float getSecondsElapsed() { return _startTime==0? 0 : (System.currentTimeMillis() - _startTime)/1000f; }", "public float getDayOpacity() {\r\n //Gdx.app.debug(\"Clock\", \"h: \" + (24f * (seconds / 60f)));\r\n if (dayOpacity < 0.25) {\r\n return 0;\r\n } else if (dayOpacity < 0.5) {\r\n return (dayOpacity - 0.25f) / 0.25f;\r\n } else {\r\n return 1;\r\n }\r\n }", "@Override\n public Color getColor() {\n\n if(clicked)\n {\n return Color.BLUE;\n }\n\n if(energy < 0.1*maxEnergy)\n {\n return Color.LINEN;\n }\n else if (energy < 0.2*maxEnergy)\n {\n return Color.MISTYROSE;\n }\n else if(energy < 0.3*maxEnergy)\n {\n return Color.LIGHTPINK;\n }\n else if(energy < 0.4*maxEnergy)\n {\n return Color.PINK;\n }\n else if (energy < 0.5*maxEnergy)\n {\n return Color.LIGHTCORAL;\n }\n else if (energy < 0.6*maxEnergy)\n {\n return Color.RED;\n }\n else if (energy < 0.7*maxEnergy)\n {\n return Color.FIREBRICK;\n }\n else if (energy < 0.8*maxEnergy)\n {\n return Color.DARKRED;\n }\n else if (energy < 0.9*maxEnergy)\n {\n return Color.MAROON;\n }\n return Color.BLACK;\n }", "public float getRed() {\n return red;\n }", "RGB getOldColor();", "private int getCurrentMainColor () {\n int translatedHue = 255 - ( int ) ( mCurrentHue * 255 / 360 );\n int index = 0;\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( 255, 0, ( int ) i );\n index++;\n }\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( 255 - ( int ) i, 0, 255 );\n index++;\n }\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( 0, ( int ) i, 255 );\n index++;\n }\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( 0, 255, 255 - ( int ) i );\n index++;\n }\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( ( int ) i, 255, 0 );\n index++;\n }\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n if ( index == translatedHue )\n return Color.rgb( 255, 255 - ( int ) i, 0 );\n index++;\n }\n return Color.RED;\n }", "@Override\n public float getStateTime() {\n return stateTime;\n }", "public int getSeconds() {\r\n return FormatUtils.uint8ToInt(mSeconds);\r\n }", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "Color getColor();", "public GameColor getColor();", "public void setColorAccordingToAge() {\n float brightness = (float) Math.max(0f, Math.min(1f, getLifetime() / fullbrightnessLifetime));\n Color color = Color.getHSBColor(.5f, 1f, brightness);\n setColor(color);\n }", "public static double getSecondsTime() {\n\t\treturn (TimeUtils.millis() - time) / 1000.0;\n\t}", "public int getSeconds()\n {\n return seconds;\n }", "@Override\n\tpublic void yellow() {\n\t\tSystem.out.println(\"Yellow Light\");\n\t\t\n\t}", "EDataType getSeconds();", "private int getFadeDuration() {\n int integer = this.preferences.getBoolean(\"FadeSplashScreen\", true) ? this.preferences.getInteger(\"FadeSplashScreenDuration\", DEFAULT_FADE_DURATION) : 0;\n return integer < 30 ? integer * 1000 : integer;\n }", "int getGreen(){\n return getPercentageValue(\"green\");\n }", "public int getSeconds(){\r\n return Seconds;\r\n }", "public static int getGreen(int color) {\n return color & 0x000000FF;\n }", "public int getColorValue() {\r\n\t\treturn color;\r\n\t}", "public Color getColor() {\r\n return Color.GRAY;\r\n }", "public SimpleColorLoop(double time, int...colors)\r\n\t{\r\n\t\tif(time <= 0)\r\n\t\t\ttime = 1000;\r\n\t\t\r\n\t\tdelay_between_colors = time;\r\n\t\t\r\n\t\tthis.colors = colors;\r\n\t}", "public Color readColor() {\n return colorSensor.getColor();\n }", "public long getModeSwitchCooldown() {\r\n\t\treturn (lastModeSwitch + currentMode.getCoolDown())\r\n\t\t\t\t- System.currentTimeMillis();\r\n\t}", "public int getColor() {\n \t\treturn color;\n \t}", "public void changeBackgroudColorForTimeInSec(double time) {\n long timeLong = (long) (time * 1000);\n\n // make vibration\n Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);\n // Vibrate for 500 milliseconds\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n v.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE));\n } else {\n //deprecated in API 26\n v.vibrate(500);\n }\n\n //play sound\n MediaPlayer mediaPlayer = MediaPlayer.create(this, R.raw.moonless);\n mediaPlayer.start();\n\n //change color\n scroolViewScanner.setBackgroundColor(Color.RED);\n scroolViewDefect.setBackgroundColor(Color.RED);\n linLayOverView.setBackgroundColor(Color.RED);\n Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n public void run() {\n // Actions to do after\n scroolViewScanner.setBackgroundColor(Color.TRANSPARENT);\n scroolViewDefect.setBackgroundColor(Color.TRANSPARENT);\n linLayOverView.setBackgroundColor(Color.TRANSPARENT);\n }\n }, timeLong); // delay\n }", "private static Color tint(Color c, int tint) {\n int r = c.getRed();\n int g = c.getGreen();\n int b = c.getBlue();\n\n float ftint = tint / 100.0f;\n\n int red = Math.round(ftint * r + (1 - ftint) * 255);\n int green = Math.round(ftint * g + (1 - ftint) * 255);\n int blue = Math.round(ftint * b + (1 - ftint) * 255);\n\n return new Color(red, green, blue);\n }", "static int calcCoolingTime(FluidStack fluid) {\n return calcCoolingTime(fluid.getFluid().getAttributes().getTemperature(fluid) - 300, fluid.getAmount());\n }", "public int getRed() {\n\t\treturn 100;\n\t}", "private int adjustLightness(int color) {\n int red = Color.red(color);\n int green = Color.green(color);\n int blue = Color.blue(color);\n\n float hsl[] = new float[3];\n ColorUtils.RGBToHSL(red, green, blue, hsl);\n\n hsl[2] = 0.58f;\n\n return ColorUtils.HSLToColor(hsl);\n }", "public PieceColor colorGoing()\n {\n if (turn%2==0)\n return PieceColor.WHITE;\n else return PieceColor.BLACK;\n }", "int getGreen(){\n\n return this.green;\n }", "public long hoverTime() {\n\t\treturn hoverStart == 0 ? 0 : Calendar.getInstance().getTimeInMillis() - hoverStart;\n\t}", "public float getStatusChange() {\n\t\treturn statusChance;\n\t}", "@java.lang.Override\n public long getStateChangeDelayUntilTurn() {\n return stateChangeDelayUntilTurn_;\n }", "public double getTransition(){\n\t\treturn transition;\n\t}", "public java.lang.Integer getSecondsWatched() {\n return seconds_watched;\n }", "private long getWaitTime() {\n long retVal = 1;\n long difference = System.currentTimeMillis() - myLastRefreshTime;\n if (difference < 75) {\n retVal = 75 - difference;\n }\n return (retVal);\n }", "Color calcColor() {\n\n\t\tfloat r_f, g_f, b_f;\n\t\tint size = events.size();\n\n\t\tr_f = g_f = b_f = 0;\n\n\t\tIterator<Event> it = events.iterator();\n\t\tColorEvent event;\n\n\t\twhile ( it.hasNext() ) {\n\n\t\t\tevent = (ColorEvent) it.next();\n\t\t\tr_f += event.color.getRed() / size;\n\t\t\tg_f += event.color.getGreen() / size;\n\t\t\tb_f += event.color.getBlue() / size;\n\n\t\t}\n\n\t\treturn new Color((int) r_f, (int) g_f, (int) b_f);\n\t}", "public float saturation() {\n int r = (color >> 16) & 0xFF;\n int g = (color >> 8) & 0xFF;\n int b = color & 0xFF;\n\n\n int V = Math.max(b, Math.max(r, g));\n int temp = Math.min(b, Math.min(r, g));\n\n float S;\n\n if (V == temp) {\n S = 0;\n } else {\n S = (V - temp) / (float) V;\n }\n\n return S;\n }" ]
[ "0.649553", "0.6130722", "0.61159945", "0.58275586", "0.5802624", "0.579989", "0.5755468", "0.574475", "0.574168", "0.57391214", "0.5720327", "0.57129806", "0.5709713", "0.56734675", "0.5668747", "0.5657815", "0.5611202", "0.5602774", "0.55457354", "0.5539687", "0.55043024", "0.54972273", "0.5468521", "0.5450327", "0.54488957", "0.5448232", "0.54368114", "0.542998", "0.542927", "0.5419285", "0.5411174", "0.54081416", "0.5388227", "0.5363095", "0.535336", "0.5349171", "0.5325327", "0.53175557", "0.5317236", "0.530955", "0.5308837", "0.52969056", "0.52867645", "0.52765554", "0.52756655", "0.5275575", "0.5274257", "0.5256448", "0.5241251", "0.52410054", "0.5240325", "0.5231467", "0.5228754", "0.5218792", "0.5217889", "0.51946706", "0.51907945", "0.5177825", "0.51723826", "0.5170388", "0.5158456", "0.51546276", "0.5152728", "0.5152215", "0.5150606", "0.5150606", "0.5150606", "0.5150606", "0.5150606", "0.51412845", "0.5140047", "0.51360047", "0.5124827", "0.51231617", "0.51121014", "0.5111751", "0.5102169", "0.5095306", "0.50929284", "0.50858974", "0.5085566", "0.50840974", "0.5081495", "0.5077972", "0.50770146", "0.5074819", "0.50710607", "0.50709397", "0.50650746", "0.50616246", "0.5060627", "0.50600505", "0.50579435", "0.50579363", "0.5049657", "0.5043735", "0.5037551", "0.5037422", "0.50373363", "0.5033327" ]
0.6967405
0
Sets a new duration of each greenyellow cycle. The current progress of the lights cycle should be reset, such that on the next call to oneSecond(), only one second of the new duration has been elapsed for the incoming route that currently has a green light.
public void setDuration(int duration) { this.duration = duration; if (connections.get(lightIndex).getTrafficLight().getSignal() == TrafficSignal.YELLOW) { connections.get(lightIndex).getTrafficLight().setSignal (TrafficSignal.GREEN); } currentGreenTime = 0; currentYellowTime = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void oneSecond() {\r\n int routeSize = connections.size();\r\n if (routeSize != 0) {\r\n // if the signal is green.\r\n if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.GREEN) {\r\n currentGreenTime ++;\r\n if (currentGreenTime + yellowTime == duration) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.YELLOW);\r\n currentGreenTime = 0;\r\n }\r\n }\r\n // if the signal is yellow.\r\n else if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.YELLOW) {\r\n currentYellowTime ++;\r\n if (currentYellowTime == yellowTime) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.RED);\r\n currentYellowTime = 0;\r\n if(lightIndex == connections.size() - 1){\r\n lightIndex = 0;\r\n } else {\r\n lightIndex ++;\r\n }\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.GREEN);\r\n }\r\n }\r\n }\r\n }", "public SimpleColorLoop(double time, int...colors)\r\n\t{\r\n\t\tif(time <= 0)\r\n\t\t\ttime = 1000;\r\n\t\t\r\n\t\tdelay_between_colors = time;\r\n\t\t\r\n\t\tthis.colors = colors;\r\n\t}", "public void greenToYellow() {\n\t\tif (StringUtils.isEmpty(this.nextProgram)) {\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\tnew IllegalStateException(\"Method call not allowed as long as nextProgram is not set.\"));\n\t\t}\n\n\t\tString state;\n\t\ttry {\n\t\t\tstate = (String) connection.do_job_get(Trafficlight.getRedYellowGreenState(tls.getId()));\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t\tString newState = JunctionUtil.getRedYellowGreenState(this.tls.getId(), this.nextProgram, 0);\n\n\t\tif (state.length() != newState.length()) {\n\t\t\tthrow new RuntimeException(\"TlsState \" + state + \" and \" + newState + \" need to have the same length!\");\n\t\t}\n\n\t\tchar[] yellowState = state.toCharArray();\n\t\tfor (int i = 0; i < state.length(); i++) {\n\t\t\tchar cCurrent = state.charAt(i);\n\t\t\tchar cNew = newState.charAt(i);\n\n\t\t\tif (cNew == 'r' && (cCurrent == 'G' || cCurrent == 'g')) {\n\t\t\t\tyellowState[i] = 'y';\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconnection.do_job_set(Trafficlight.setRedYellowGreenState(tls.getId(), new String(yellowState)));\n\t\t\tthis.nextProgramScheduledTimestep = ((double) connection.do_job_get(Simulation.getTime()))\n\t\t\t\t\t+ TraasServer.YELLOW_PHASE;\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t\tregisterMe();\n\t}", "public ColorChange(Color color, double time) {\n this.color = color;\n this.time = time;\n }", "protected synchronized void updateColorAnimation() {\n synchronized (getViewController()) {\n if (colorStateTime < COLOR_ANIMATION_DURATION) {\n colorStateTime += Gdx.graphics.getDeltaTime();\n if (isColorAnimationFinished()) {\n getViewController().notifyAll();\n }\n }\n }\n }", "public void setGreenAnimation(){\n va.setDuration(75);\n va.setEvaluator(new ArgbEvaluator());\n va.setRepeatCount(ValueAnimator.INFINITE);\n va.setRepeatMode(ValueAnimator.REVERSE);\n va.start();\n\n //va.cancel();\n }", "@Override\n void individualUpdate() {\n timeToLive--;\n radius++;\n setColor();\n }", "void oscillate( float redColor, float greenColor, float blueColor ) {\n\t\t\tr = redColor;\n\t\t\tg = greenColor;\n\t\t\tb = blueColor;\n\t\t}", "@Override\r\n\tInteger getGreenDuration() {\n\t\treturn null;\r\n\t}", "protected void setDuraction(int seconds) {\n duration = seconds * 1000L;\n }", "@Override\n public void periodic() {\n\n if (lastcolor != sColor())\n {\n lastcolor = sColor();\n colorcount++;\n }\n\n DriverStation.reportError(sColor() + /*\",\" + sRGB() +*/ \", \" + sIsClose() + \",\" + String.valueOf(colorcount), false);\n\n\n \n }", "@Override\n public void periodic() {\n\n colorCalibrationEnabled = ntColorCalibrationEnabled.getBoolean(false);\n\n /* NON-OPERATIONAL SENSOR\n colorMatchResult = colorMatcher.matchClosestColor(colorSensor.getColor());\n */\n\n if(colorMatchResult.color == kRedTarget)\n {\n colorIsRed = true;\n colorIsGreen = false;\n colorIsBlue = false;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kGreenTarget)\n {\n colorIsRed = false;\n colorIsGreen = true;\n colorIsBlue = false;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kBlueTarget)\n {\n colorIsRed = false;\n colorIsGreen = false;\n colorIsBlue = true;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kYellowTarget)\n {\n colorIsRed = false;\n colorIsGreen = false;\n colorIsBlue = false;\n colorIsYellow = true;\n }\n\n ntColorIsRed.setBoolean(colorIsRed);\n ntColorIsGreen.setBoolean(colorIsGreen);\n ntColorIsBlue.setBoolean(colorIsBlue);\n ntColorIsYellow.setBoolean(colorIsYellow);\n\n colorCalibration();\n\n numberOfTurnsToRotate = ntScdNumberOfTurnsToRotate.getDouble(69.0);\n ntStsNumberOfTurnsToRotate.forceSetDouble(numberOfTurnsToRotate);\n }", "public void endYellow() {\n if (System.currentTimeMillis() - lastAttack > 200) {\n isYellow = false;\n ((Geometry)model.getChild(\"Sphere\")).getMaterial().setColor(\"Color\", ColorRGBA.Red);\n }\n }", "void setGreen(int green){\n \n this.green = green;\n }", "public void green() {\n g2.setPaint(Color.green);\r\n }", "public void schedule(int color, int delay) {\n defAction.color = color;\n defAction.delay = delay;\n }", "private void resetLights() {\n\n List<Integer> colors = DataHolder.getInstance().getColors();\n int iter = 0;\n for (int color: colors) {\n if (color == 2) {\n colors.set(iter, 0);\n }\n iter++;\n }\n DataHolder.getInstance().setColors(colors);\n }", "public void setGreen(final int green) {\n\t\tthis.g = green;\n\t}", "public void changeBackgroudColorForTimeInSec(double time) {\n long timeLong = (long) (time * 1000);\n\n // make vibration\n Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);\n // Vibrate for 500 milliseconds\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n v.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE));\n } else {\n //deprecated in API 26\n v.vibrate(500);\n }\n\n //play sound\n MediaPlayer mediaPlayer = MediaPlayer.create(this, R.raw.moonless);\n mediaPlayer.start();\n\n //change color\n scroolViewScanner.setBackgroundColor(Color.RED);\n scroolViewDefect.setBackgroundColor(Color.RED);\n linLayOverView.setBackgroundColor(Color.RED);\n Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n public void run() {\n // Actions to do after\n scroolViewScanner.setBackgroundColor(Color.TRANSPARENT);\n scroolViewDefect.setBackgroundColor(Color.TRANSPARENT);\n linLayOverView.setBackgroundColor(Color.TRANSPARENT);\n }\n }, timeLong); // delay\n }", "public void blink(int color) {\n setActivityBackgroundColor(color);\n colorTimer.schedule(new TimerTask() {\n public void run() {\n setActivityBackgroundColor(defaultColor);\n }\n }, colorDelay);\n }", "@Override\n public void timerTicked() {\n //subtracts one second from the timer of the current team\n if(state.getCurrentTeamsTurn() == Team.RED_TEAM) {\n state.setRedTeamSeconds(state.getRedTeamSeconds() - 1);\n } else {\n state.setBlueTeamSeconds(state.getBlueTeamSeconds() - 1);\n }\n }", "public void update() {\r\n\t\ttimePassed++; //increment time\r\n\t\t\r\n\t\tswitch(state) {\r\n\t\tcase GNS_REW:\r\n\t\t\tif (timePassed > greenNS) {\r\n\t\t\t\tstate = LightState.YNS_REW; // turn NS light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase YNS_REW:\r\n\t\t\tif (timePassed > yellowNS) {\r\n\t\t\t\tstate = LightState.RNS_GEW; // turn NS light red and EW light green\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_GEW:\r\n\t\t\tif (timePassed > greenEW) {\r\n\t\t\t\tstate = LightState.RNS_YEW; // turn EW light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_YEW:\r\n\t\t\tif (timePassed > yellowEW) {\r\n\t\t\t\tstate = LightState.GNS_REW; // turn NS light green and EW light red\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\t//if the state is something other than these four options, we have a serious issue...\r\n\t\t\tSystem.out.println(\"update(StopLight): something has gone horribly wrong\"); \r\n\t\t}\r\n\t}", "public void turnOnce() {\n\n Color currentColor = colorSensor.getColor();\n int colorChange = 0;\n // TODO: You can increase the speed here depending on how good the color sensor\n // reads color changes for added efficency.\n wheelTurner.set(.25);\n\n while (colorChange < 9) {\n ColorMatchResult match = colorMatcher.matchClosestColor(colorSensor.getColor());\n // checks if the current color that is being sensed checks out with our stored\n if (match != colorMatcher.matchClosestColor(currentColor)) {\n colorChange++;\n currentColor = colorSensor.getColor();\n }\n\n }\n wheelTurner.stopMotor();\n }", "void setColor(){\n this.objectColour = new Color(rValue,gValue,bValue,timeToLive).brighter();\n }", "public void Delay(float distance, int timer, int colorID) { \r\n\t\twhile (timer == getTimer.getTimer() && distance > 50 && colorID != Color.YELLOW) {\r\n\t\t\tdistance = ir.getDistance();\r\n\t\t\tcolorID = color.getColorID();\r\n\t\t\tDelay.msDelay(10); //Reduces copy pasta, while moving keeps checking sensors\r\n\t\t}\t\t\t\t\t //and timers\r\n\t}", "private void green(){\n\t\tthis.arretes_fG();\n\t\tthis.coins_fG();\n\t\tthis.coins_a1G();\n\t\tthis.coins_a2G();\n\t\tthis.aretes_aG();\n\t\tthis.cube[31] = \"G\";\n\t}", "void setDuration(int duration);", "public static void setBlue() {\r\n playerTeam.setColor(blue);\r\n updateMessage(\"Seu time agora é azul\");\r\n }", "private void onColorClick() {\n Integer colorFrom = getResources().getColor(R.color.animated_color_from);\r\n Integer colorTo = getResources().getColor(R.color.animated_color_to);\r\n ValueAnimator colorAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), colorFrom, colorTo);\r\n colorAnimator.setDuration(animationDuration);\r\n colorAnimator.setRepeatCount(1);\r\n colorAnimator.setRepeatMode(ValueAnimator.REVERSE);\r\n colorAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {\r\n\r\n @Override\r\n public void onAnimationUpdate(ValueAnimator animator) {\r\n animatedArea.setBackgroundColor((Integer)animator.getAnimatedValue());\r\n }\r\n\r\n });\r\n colorAnimator.start();\r\n }", "void change(Label elapsedTimer) {\r\n\r\n if (seconds == 60) {\r\n mins++;\r\n seconds = 0;\r\n }\r\n if (mins == 60) {\r\n hours++;\r\n mins = 0;\r\n }\r\n \r\n elapsedTimer.setText(\r\n (((hours / 10) == 0) ? \"0\" : \"\") + hours + \":\"\r\n + (((mins / 10) == 0) ? \"0\" : \"\") + mins + \":\"\r\n + (((seconds / 10) == 0) ? \"0\" : \"\") + seconds++);\r\n\r\n }", "public void dayNightCycle(boolean debug) {\r\n float distance;\r\n int timeUnit;\r\n float max;\r\n if (debug) {\r\n timeUnit = seconds - 5;\r\n max = 60 / 2f;\r\n } else {\r\n timeUnit = hours - 2;\r\n max = 24 / 2f;\r\n }\r\n\r\n if (timeUnit <= max) {\r\n distance = timeUnit;\r\n } else {\r\n distance = max - (timeUnit - max);\r\n }\r\n\r\n dayOpacity = distance / max;\r\n }", "public int getYellowTime() {\r\n return yellowTime;\r\n }", "public void changeColor(){\r\n if(color == 1)\r\n color = 2;\r\n else\r\n color = 1;\r\n }", "public abstract void setSecondsPerUpdate(float secs);", "public void cycle(){\r\n \r\n \r\n if(collision()){\r\n endtime = 1;\r\n animator.stop();\r\n }else{\r\n if(max_h == false)\r\n ch.v--;\r\n if(ch.v == 150)\r\n max_h = true;\r\n\r\n if(max_h == true & ch.v <= 330){\r\n ch.v++;\r\n if(ch.v == 330){\r\n done = true;\r\n \r\n }\r\n }\r\n }\r\n }", "public void resetLongColors(){\n\t\t\tfor(int i = 0; i < 5; i++){\n\t\t\t\tlongColors[i] = Color.white;\n\t\t}\n\t\t\tfor(int i = 0; i < 10; i++){\n\t\t\t\tlongColors[i] = Color.black;\n\t\t\t}\n\t\t}", "@Override\n\tpublic void green() {\n\t\tSystem.out.println(\"Green Light\");\n\t}", "synchronized private void changeColor()\n {\n if ( ++colorIndex == someColors.length )\n colorIndex = 0;\n setForeground( currentColor() );\n repaint();\n }", "public LightBulb(int red, int green,int blue){\r\n _switchedOn=false;\r\n\t\tif ((red < 0)||(red > 255)||(green < 0)||(green > 255)||(blue < 0)\r\n\t\t\t\t||(blue > 255)){\r\n\t\t\t_color = new RGBColor();\r\n\t\t}\r\n\t\telse {\r\n\t\t\t_color = new RGBColor(red, green, blue);\r\n\t\t}\r\n\t\r\n }", "public void setStatus( short newStatus, int statusSeconds )\r\n {\r\n setStatus( newStatus, statusSeconds, null );\r\n }", "public void magenta() {\n g2.setPaint(Color.magenta);\r\n }", "public void lightPause() {\n stopPawn.setStyle(\"-fx-background-color: RED;\"\n + \"-fx-background-radius: 30;\"\n + \"-fx-border-radius: 30;\"\n + \"-fx-border-color: 363507;\");\n movePawn.setStyle(\"-fx-background-color: null\");\n buildPawn.setStyle(\"-fx-background-color: null\");\n }", "void setDuration(org.apache.xmlbeans.GDuration duration);", "public void testLeds(int duration) {\n\t\tledBlinking.startThread();\n\t\ttry {\n\t\t\tThread.sleep(duration);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tstopBlinking();\n\t}", "public void run(double deltaMs) {\n float theta_rad = (float)Math.toRadians((int)theta.getValuef());\n nx = (float)Math.sin(theta_rad);\n nz = (float)Math.cos(theta_rad);\n n = (float)Math.sqrt(Math.pow(nx,2)+Math.pow(nz,2));\n wave360.setPeriod(speedParam.getValuef() * speedMult);\n wave100.setPeriod(speedParam.getValuef() * speedMult);\n total_ms+=deltaMs;\n // Use a for loop here to set the ube colors\n for (BaseCube cube : model.baseCubes) {\n float d = (float)(50.0*(Math.sin(dist(cube.x,cube.z)/(wave_width.getValuef()) + speedParam.getValuef()*total_ms/1000.0)+1.0));\n colors[cube.index] = lx.hsb( hue.getValuef() , 100, d);\n }\n }", "void setTime(){\n gTime += ((float)millis()/1000 - millisOld)*(gSpeed/4);\n if(gTime >= 4) gTime = 0;\n millisOld = (float)millis()/1000;\n }", "public void setDuration(int newDuration) {\n this.duration = newDuration;\n }", "public void updateTimerDisplay(){\n int seconds = timeCounter / 60;\n setImage(new GreenfootImage(\"Time: \"+timeElapsed + \": \" + seconds, 24, Color.BLACK, Color.WHITE));\n }", "private void startPeriodicColorTransmit() {\n mMeshHandler.postDelayed(transmitCallback, TRANSMIT_PERIOD_MS);\n }", "public void run(double deltaMs) {\n wave360.setPeriod(speedParam.getValuef() * speedMult);\n wave100.setPeriod(speedParam.getValuef() * speedMult);\n\n // Use a for loop here to set the cube colors\n for (BaseCube cube : model.baseCubes) {\n\tfloat v = (float)( (-wave360.getValuef() + waveSlope.getValuef()) + Math.sqrt(Math.pow(cube.sx,2)+Math.pow(cube.sz,2))*5 );\n colors[cube.index] = lx.hsb( v % 360, 100, 100);\n //colors[cube.index] = lx.hsb( (float)( Math.sqrt(Math.pow(cube.sx,2)+Math.pow(cube.sz,2)) % 360), 100, 100);\n }\n }", "public void setTimeout (double seconds) {\n multiPathTimeout = seconds;\n }", "public void run(double deltaMs) {\n float theta_rad = (float)Math.toRadians((int)theta.getValuef());\n nx = (float)Math.sin(theta_rad);\n nz = (float)Math.cos(theta_rad);\n n = (float)Math.sqrt(Math.pow(nx,2)+Math.pow(nz,2));\n wave360.setPeriod(speedParam.getValuef() * speedMult);\n wave100.setPeriod(speedParam.getValuef() * speedMult);\n\n float field_len=7000;\n total_ms+=deltaMs;\n // Use a for loop here to set the ube colors\n for (BaseCube cube : model.baseCubes) {\n\tdouble d = Math.abs(dist(cube.x,cube.z)-speedParam.getValuef()*(total_ms%field_len-field_len/2)/10);\n if (d<wave_width.getValuef()) {\n \t//float d = (float)(50.0*(Math.sin(dist(cube.x,cube.z)/(wave_width.getValuef()) + speedParam.getValuef()*total_ms/1000.0)+1.0));\n \tcolors[cube.index] = lx.hsb( hue.getValuef() , 100, (float)((1.0-d/wave_width.getValuef())*100.0 ));\n\t} else {\n \tcolors[cube.index] = lx.hsb( hue.getValuef() , 100, 0);\n\t}\n }\n }", "public void run(double deltaMs) {\n //wave360.setPeriod(speedParam.getValuef() * speedMult);\n //wave100.setPeriod(speedParam.getValuef() * speedMult);\n total_ms1+=deltaMs;\n total_ms2+=deltaMs;\n // Use a for loop here to set the ube colors\n if (total_ms2>50) {\n\t for (int i=0; i<model.baseCubes.size(); i++ ) {\n\t\t BaseCube cube=model.baseCubes.get(i);\n\n\t\t if (hits_cube(i,current_cube_r)) {\n\t\t\t shadow[i][0]=(float)1;\n\t\t\t shadow[i][1]=(float)0;\n\t\t\t shadow[i][2]=(float)0;\n\t\t } else if (hits_cube(i,current_cube_g)) {\n\t\t\t shadow[i][0]=(float)0;\n\t\t\t shadow[i][1]=(float)1;\n\t\t\t shadow[i][2]=(float)0;\n\t\t } else if (hits_cube(i,current_cube_b)) {\n\t\t\t shadow[i][0]=(float)0;\n\t\t\t shadow[i][1]=(float)0;\n\t\t\t shadow[i][2]=(float)1;\n\t\t } else {\n\t\t\t shadow[i][0]=(float)Math.min(1,new_shadow(shadow[i][0],dmax(i,current_cube_r)));\n\t\t\t shadow[i][1]=(float)Math.min(1,new_shadow(shadow[i][1],dmax(i,current_cube_g)));\n\t\t\t shadow[i][2]=(float)Math.min(1,new_shadow(shadow[i][2],dmax(i,current_cube_b)));\n\t\t }\n\t\t float norm =shadow[i][0]*2+shadow[i][1]+shadow[i][2];\n\t\t float h = (360*shadow[i][0]*2+120*shadow[i][1]+240*shadow[i][2])/norm;\n\t\t float v = (shadow[i][0]+shadow[i][1]+shadow[i][2])*100;\n\t\t colors[cube.index] = lx.hsb( h , 100, Math.min(100,v));\n\t }\n\t\ttotal_ms2=0;\n }\n if (total_ms1>10*speedParam.getValuef()) {\n\n\t //transistion to new cube\n\n\t float new_p;\n\t for (int j=0; j<n; j++) {\n\t\t new_p = (float)Math.random();\n\t\t for (int i=0; i<model.baseCubes.size(); i++) {\n\t\t\t if (new_p>0.0) {\n\t\t\t\t new_p-=p[current_cube_r[j]][i];\n\t\t\t } else {\n\t\t\t\t current_cube_r[j]=i;\n\t\t\t\t break;\n\t\t\t }\n\t\t }\n\t\t new_p = (float)Math.random();\n\t\t for (int i=0; i<model.baseCubes.size(); i++) {\n\t\t\t if (new_p>0.0) {\n\t\t\t\t new_p-=p[current_cube_g[j]][i];\n\t\t\t } else {\n\t\t\t\t current_cube_g[j]=i;\n\t\t\t\t break;\n\t\t\t }\n\t\t }\n\t\t new_p = (float)Math.random();\n\t\t for (int i=0; i<model.baseCubes.size(); i++) {\n\t\t\t if (new_p>0.0) {\n\t\t\t\t new_p-=p[current_cube_b[j]][i];\n\t\t\t } else {\n\t\t\t\t current_cube_b[j]=i;\n\t\t\t\t break;\n\t\t\t }\n\t\t }\n\t }\n\t total_ms1=0;\n }\n }", "public void red() {\n g2.setPaint(Color.red);\r\n }", "public void setColor(Color another)\r\n {\r\n currentColor = another;\r\n }", "public void setColor(Color newColor)\n {\n this.color = newColor;\n conditionallyRepaint();\n }", "public void switchColor() {\r\n\t\tcolor = !color;\r\n\t}", "public void run(double deltaMs) {\n float theta_rad = (float)Math.toRadians((int)theta.getValuef());\n nx = (float)Math.sin(theta_rad);\n nz = (float)Math.cos(theta_rad);\n n = (float)Math.sqrt(Math.pow(nx,2)+Math.pow(nz,2));\n wave360.setPeriod(speedParam.getValuef() * speedMult);\n wave100.setPeriod(speedParam.getValuef() * speedMult);\n total_ms+=deltaMs;\n // Use a for loop here to set the ube colors\n for (BaseCube cube : model.baseCubes) {\n float d = (float)(50.0*(Math.sin(dist(cube.x,cube.z)/(wave_width.getValuef()) + speedParam.getValuef()*total_ms/1000.0)+1.0));\n colors[cube.index] = lx.hsb( wave360.getValuef() , 100, d);\n }\n }", "public StopLight(LightState initialState, Point[] loc, int gns, int yns, int gew, int yew, int time) {\r\n\t\tstate = initialState;\r\n\t\tlocation = loc;\r\n\t\tgreenNS = gns;\r\n\t\tyellowNS = yns;\r\n\t\tgreenEW = gew;\r\n\t\tyellowEW = yew;\r\n\t\ttimePassed = time-1;\t//account for inclusive duration ranges, and keep updates consistent\r\n\t}", "public static void update(){\n\t\t\n\t\tgraphFrame.setColor(color);\n\t}", "private void update(int redValue, int greenValue, int blueValue) {\n if (status) {\n redLed.update(redValue);\n greenLed.update(greenValue);\n blueLed.update(blueValue);\n }\n }", "public void setGreen(boolean green) {\n this.green = green;\n }", "public void setTurn(String color){\n this.colorsTurn = color;\n }", "public void setColor(int red, int green, int blue){\r\n this.red = red;\r\n this.green = green;\r\n this.blue = blue;\r\n }", "public void setStateTime(long newStateTime) {\n _stateTime = newStateTime;\n }", "public void setAllColor(double newRed, double newBlue, double newGreen) {\n\t\tthis.setRedColor(newRed);\n\t\tthis.setBlueColor(newBlue);\n\t\tthis.setGreenColor(newGreen);\n\t}", "private void greenSouth(int intersection, Direction direction, double time) {\n switch (direction) {\n // Northbound through green\n case N:\n greenSouthThrough(intersection, time);\n break;\n // Northbound turn left green\n case W:\n greenSouthTurnLeft(intersection, time);\n break;\n default:\n System.out.println(\"Error - EventHandler: greenSouth: Wrong direction!\");\n }\n }", "public void UpdateTrafficLights(TrafficLight t1, TrafficLight t2, TrafficLight t3){\n String t1StatusWord;\n String t2StatusWord;\n String t3StatusWord;\n if(t1.status == 1)\n t1StatusWord = \"Green\";\n else if(t1.status == 0)\n t1StatusWord = \"Red\";\n else\n t1StatusWord = \"Unknown\";\n \n if(t2.status == 1)\n t2StatusWord = \"Green\";\n else if(t2.status == 0)\n t2StatusWord = \"Red\";\n else\n t2StatusWord = \"Unknown\";\n\n if(t3.status == 1)\n t3StatusWord = \"Green\";\n else if(t3.status == 0)\n t3StatusWord = \"Red\";\n else\n t3StatusWord = \"Unknown\";\n\n trafficModel.setValueAt(t1StatusWord, 0, 1);\n if(t1.status == 1)\n trafficModel.setValueAt(t1.time, 0, 2);\n else\n trafficModel.setValueAt(\"--\", 0, 2); \n trafficModel.setValueAt(t2StatusWord, 1, 1);\n if(t2.status == 1)\n trafficModel.setValueAt(t2.time, 1, 2);\n else\n trafficModel.setValueAt(\"--\", 1, 2);\n trafficModel.setValueAt(t3StatusWord, 2, 1);\n if(t3.status == 1)\n trafficModel.setValueAt(t3.time, 2, 2);\n else\n trafficModel.setValueAt(\"--\", 2, 2);\n }", "public void changeState(){\n\t\t//red - Green\n\t\tif (lights[0].isOn()){\n\t\t\tlights[0].turnOff();\n\t\t\tlights[2].turnOn();\n\t\t}\n\t\t\n\t\t//Green -yellow\n\t\telse if(lights[2].isOn()){\n\t\t\tlights[2].turnOff();\n\t\t\tlights[1].turnOn();\n\t\t}\n\t\t//yellow to red\n\t\telse if (lights[1].isOn()){\n\t\t\tlights[1].turnOff();\n\t\t\tlights[0].turnOn();\n\t\t}\n\t\t\n\t}", "public void blink(double frequency) {\n timer = new Timer((int) Math.round(1000 / frequency));\n if (timer.timeout()) {\n this.status = !this.status;\n if (status)\n update(this.redValue, this.greenValue, this.blueValue);\n else\n update(0,0,0);\n }\n }", "public void cycle() {\n\t\tshiftWaterConcentration();\r\n\t\tshiftHeat();\r\n\t\tshiftStatus();\r\n\t\tburn();\r\n\t\tif (goldilocksCheck()) goldilocksTime++;\r\n\t\telse goldilocksTime--;\r\n\t\tif (goldilocksTime < 0) goldilocksTime = 0;\r\n\t\tlifeformCycles();\r\n\t\tif (toGrass()) {\r\n\t\t\tTile t = new Grass(r, c, waterConcentration, heat, lifeforms);\r\n\t\t\tWorld.setTile(r, c, t);\r\n\t\t}\r\n\t}", "@Override\n public void fade(float delta) {\n colour.a *= (1f - (delta * Constants.COLOURCYCLESPEED));\n\n //Gdx.app.log(TAG, \"Alpha:\" + colour.a);\n //alpha *= (1f - (delta * Constants.COLOURCYCLESPEED));\n //colour.add(0.0f, 0.0f, 0.0f, alpha);\n }", "private void reactMain_region_digitalwatch_Display_glowing_GlowDelay() {\n\t\tif (timeEvents[5]) {\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\tsCIDisplay.operationCallback.unsetIndiglo();\n\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOff;\n\t\t} else {\n\t\t\tif (sCIButtons.topRightPressed) {\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\t\tsCIDisplay.operationCallback.setIndiglo();\n\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOn;\n\t\t\t}\n\t\t}\n\t}", "public void setColor( GraphColor newVal ) {\n color = newVal;\n }", "public void setSeconds(final int newSeconds) {\n this.seconds = newSeconds;\n }", "public void setAllColor(int r, int g, int b, double time, boolean unhook) {\r\n\t\tsetAllColor(r, g, b);\r\n\t\tThread t = new Thread(new Runnable() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep((long) time);\r\n\t\t\t\t\tallOff();\r\n\t\t\t\t\tif(unhook)\r\n\t\t\t\t\t\tunhookLEDs();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tt.start();\r\n\t}", "public void setColor(Color newColor) ;", "public void blue() {\n g2.setPaint(Color.blue);\r\n }", "public void setDuration(int val){this.duration = val;}", "public abstract void animation(double seconds);", "public void greenTapped(View view){\n ImageView blue = (ImageView)findViewById(R.id.bluebulb);\n ImageView green = (ImageView)findViewById(R.id.greenbulb);\n /* animation is avialble in blue . animate property, and i can set the alpha to zero, and i can set the duration\n that it should go from 1 to 0, here 1000 means 1 second\n\n */\n blue.animate().alpha(0).setDuration(1000);\n green.animate().alpha(1).setDuration(1000);\n\n }", "private void manageGreenTargets(){\n int randGreenTarget = generator.nextInt(100);\n \n while(labelArray[randGreenTarget].getIcon()!=iconSet.getGrayIcon()){\n randGreenTarget = generator.nextInt(100);\n } \n labelArray[randGreenTarget].setIcon(iconSet.getGreenTargetIcon());\n\n if (greenTargetCounter<ACTIVE_GREEN_TARGET_TOTAL){\n activeGreenTarget[greenTargetCounter] = randGreenTarget;\n }\n\n if (greenTargetCounter>=ACTIVE_GREEN_TARGET_TOTAL){\n if(labelArray[activeGreenTarget[0]].getIcon()!=iconSet.getGrayIcon()){\n labelArray[activeGreenTarget[0]].setIcon(iconSet.getGrayIcon());\n }\n for(int i = 0; i < activeGreenTarget.length-1; i++){\n activeGreenTarget[i] = activeGreenTarget[i+1];\n }\n activeGreenTarget[ACTIVE_GREEN_TARGET_TOTAL-1] = randGreenTarget;\n }\n \n greenTargetCounter++;\n }", "void animate( LightCondition lights );", "public void setColor(Color c) { color.set(c); }", "private static int changeEven(int colorRed) {\n if (colorRed % 2 != 0)\n --colorRed;\n return colorRed;\n }", "public void mo12743a(long j) {\n ValueAnimator valueAnimator = this.f13712g;\n if (valueAnimator != null) {\n valueAnimator.setDuration(j);\n }\n }", "public void setColorAccordingToAge() {\n float brightness = (float) Math.max(0f, Math.min(1f, getLifetime() / fullbrightnessLifetime));\n Color color = Color.getHSBColor(.5f, 1f, brightness);\n setColor(color);\n }", "public void setSeconds(double seconds) {\n this.seconds = seconds;\n }", "public void setSeconds(double seconds) {\n this.seconds = seconds;\n }", "public void setTrackColor(@ColorInt int color){\n this.mTrackColor = color;\n refreshTheView();\n }", "public void setCycles(final long cycles) {\r\n this.cycles = cycles;\r\n }", "public ColorChange(IShape shape, Color initialColor, Color targetColor, int startTime,\n int endTime) {\n this.shape = shape;\n this.initialColor = initialColor;\n this.targetColor = targetColor;\n this.startTime = startTime;\n this.endTime = endTime;\n }", "void sendToGreen();", "public void run() {\n if (color != blinkColor && delay > 1) {\n delay--;\n blink(blinkColor);\n } else {\n blink(color);\n if (color != blinkColor) {\n color = blinkColor;\n }\n }\n }", "@Override\r\n\tInteger getRedDuration() {\n\t\treturn null;\r\n\t}", "public void secondsChanged() {\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t}", "private void endTurn() {\n\t\t// Upon completion of move, change the color of the current turn.\n\t\tif (currentTurnColor == PlayerColor.RED) {\n\t\t\tcurrentTurnColor = PlayerColor.BLUE;\n\t\t} else {\n\t\t\tcurrentTurnColor = PlayerColor.RED;\n\t\t}\n\n\t\tturnsCounter++;\n\t}", "public void changeUnitDurationTo(long t) {\n\t\tm_unitDuration = t;\n\t\tif( m_privateNotification != null ) {\n\t\t\tString content = \"changeUnitDuration:\"+Long.toString(t)+\";\";\n\t\t\tm_privateNotification.sendMessage(m_parentName+\"TSCanvasMenu\", m_parentName+\"TSCanvas\", content);\n\t\t\tm_privateNotification.sendMessage(m_parentName+\"TSCanvasMenu\", m_parentName+\"TSAbstractCanvas\", content);\n\t\t}\n\t}", "@Override\n\tpublic void yellow() {\n\t\tSystem.out.println(\"Yellow Light\");\n\t\t\n\t}", "void changeColor(Color color) {\r\n currentColor = color;\r\n redInput.setText(String.valueOf(color.getRed()));\r\n greenInput.setText(String.valueOf(color.getGreen()));\r\n blueInput.setText(String.valueOf(color.getBlue()));\r\n newSwatch.setForeground(currentColor);\r\n }" ]
[ "0.68789065", "0.6251862", "0.6193803", "0.6095651", "0.60545045", "0.60044867", "0.5817775", "0.5777758", "0.5724908", "0.570429", "0.55759555", "0.54813975", "0.5472154", "0.54436797", "0.54185706", "0.5415404", "0.5399363", "0.5384344", "0.5366704", "0.5330834", "0.5282749", "0.5255815", "0.52252984", "0.5195776", "0.5192887", "0.51781267", "0.51692766", "0.5153534", "0.51352197", "0.5110402", "0.50761896", "0.50702816", "0.50609046", "0.50430423", "0.50387484", "0.5010353", "0.50084734", "0.500069", "0.49883235", "0.49852005", "0.4984737", "0.49806148", "0.49619925", "0.4961599", "0.49597707", "0.4959021", "0.4955345", "0.49480742", "0.4931219", "0.4921497", "0.49111554", "0.4910684", "0.4909016", "0.4903433", "0.4903187", "0.49005252", "0.48986375", "0.4898442", "0.48980105", "0.48957986", "0.48918426", "0.48871616", "0.48869744", "0.4880814", "0.48779625", "0.48769078", "0.48690143", "0.48663536", "0.486332", "0.48608592", "0.48455018", "0.48375285", "0.4828874", "0.48215097", "0.4814919", "0.48074213", "0.4802986", "0.47983485", "0.47949436", "0.47940594", "0.4783209", "0.47809827", "0.47696427", "0.47672847", "0.47654894", "0.4763946", "0.4759223", "0.47451648", "0.47451648", "0.47387028", "0.47328028", "0.4732237", "0.47276977", "0.47173426", "0.47151273", "0.47129372", "0.47112772", "0.47092038", "0.47048402", "0.47012034" ]
0.71030885
0
Simulates one second passing and updates the state of this set of traffic lights. If enough time has passed such that a full greenyellow duration has elapsed, or such that the current green light should now be yellow, the appropriate light signals should be changed: When a traffic light signal has been green for 'duration yellowTime' seconds, it should be changed from green to yellow. When a traffic light signal has been yellow for 'yellowTime' seconds, it should be changed from yellow to red, and the next incoming route in the order passed to IntersectionLights(List, int, int) should be given a green light. If the end of the list of routes has been reached, simply wrap around to the start of the list and repeat. If no routes are connected to the intersection, the duration shall not elapse and the call should simply return without changing anything. Specified by: oneSecond in interface TimedItem
public void oneSecond() { int routeSize = connections.size(); if (routeSize != 0) { // if the signal is green. if (connections.get(lightIndex).getTrafficLight().getSignal() == TrafficSignal.GREEN) { currentGreenTime ++; if (currentGreenTime + yellowTime == duration) { connections.get(lightIndex).getTrafficLight().setSignal (TrafficSignal.YELLOW); currentGreenTime = 0; } } // if the signal is yellow. else if (connections.get(lightIndex).getTrafficLight().getSignal() == TrafficSignal.YELLOW) { currentYellowTime ++; if (currentYellowTime == yellowTime) { connections.get(lightIndex).getTrafficLight().setSignal (TrafficSignal.RED); currentYellowTime = 0; if(lightIndex == connections.size() - 1){ lightIndex = 0; } else { lightIndex ++; } connections.get(lightIndex).getTrafficLight().setSignal (TrafficSignal.GREEN); } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update() {\r\n\t\ttimePassed++; //increment time\r\n\t\t\r\n\t\tswitch(state) {\r\n\t\tcase GNS_REW:\r\n\t\t\tif (timePassed > greenNS) {\r\n\t\t\t\tstate = LightState.YNS_REW; // turn NS light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase YNS_REW:\r\n\t\t\tif (timePassed > yellowNS) {\r\n\t\t\t\tstate = LightState.RNS_GEW; // turn NS light red and EW light green\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_GEW:\r\n\t\t\tif (timePassed > greenEW) {\r\n\t\t\t\tstate = LightState.RNS_YEW; // turn EW light yellow\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase RNS_YEW:\r\n\t\t\tif (timePassed > yellowEW) {\r\n\t\t\t\tstate = LightState.GNS_REW; // turn NS light green and EW light red\r\n\t\t\t\ttimePassed = 0;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\t//if the state is something other than these four options, we have a serious issue...\r\n\t\t\tSystem.out.println(\"update(StopLight): something has gone horribly wrong\"); \r\n\t\t}\r\n\t}", "public void setDuration(int duration) {\r\n this.duration = duration;\r\n if (connections.get(lightIndex).getTrafficLight().getSignal()\r\n == TrafficSignal.YELLOW) {\r\n connections.get(lightIndex).getTrafficLight().setSignal\r\n (TrafficSignal.GREEN);\r\n }\r\n currentGreenTime = 0;\r\n currentYellowTime = 0;\r\n }", "public void UpdateTrafficLights(TrafficLight t1, TrafficLight t2, TrafficLight t3){\n String t1StatusWord;\n String t2StatusWord;\n String t3StatusWord;\n if(t1.status == 1)\n t1StatusWord = \"Green\";\n else if(t1.status == 0)\n t1StatusWord = \"Red\";\n else\n t1StatusWord = \"Unknown\";\n \n if(t2.status == 1)\n t2StatusWord = \"Green\";\n else if(t2.status == 0)\n t2StatusWord = \"Red\";\n else\n t2StatusWord = \"Unknown\";\n\n if(t3.status == 1)\n t3StatusWord = \"Green\";\n else if(t3.status == 0)\n t3StatusWord = \"Red\";\n else\n t3StatusWord = \"Unknown\";\n\n trafficModel.setValueAt(t1StatusWord, 0, 1);\n if(t1.status == 1)\n trafficModel.setValueAt(t1.time, 0, 2);\n else\n trafficModel.setValueAt(\"--\", 0, 2); \n trafficModel.setValueAt(t2StatusWord, 1, 1);\n if(t2.status == 1)\n trafficModel.setValueAt(t2.time, 1, 2);\n else\n trafficModel.setValueAt(\"--\", 1, 2);\n trafficModel.setValueAt(t3StatusWord, 2, 1);\n if(t3.status == 1)\n trafficModel.setValueAt(t3.time, 2, 2);\n else\n trafficModel.setValueAt(\"--\", 2, 2);\n }", "void realTimeProcess(){\n //For red list\n if(redList.get(redList.size()-1).getYPos() < redList.get(redList.size()-2).getYPos() && !steppedOnceRed && redGreenLine){\n realTimeIncreaseRed = true;\n }\n else if(redList.get(redList.size()-1).getYPos() > redList.get(redList.size()-2).getYPos() && realTimeIncreaseRed && !steppedOnceRed && redGreenLine){\n stepCount++;\n stepTimeStamp.add(System.nanoTime());\n updateStepCoordiantes();\n steppedOnceRed =true;\n System.out.println(\"STEP: \" + redList.get(redList.size()-1).getYPos());\n realTimeIncreaseRed = false;\n }\n //for blue list\n if(blueList.get(blueList.size()-1).getYPos() < blueList.get(blueList.size()-2).getYPos() && !steppedOnceBlue && blueGreenLine){\n realTimeIncreaseBlue = true;\n }\n else if(blueList.get(blueList.size()-1).getYPos() > blueList.get(blueList.size()-2).getYPos() && realTimeIncreaseBlue && !steppedOnceBlue && blueGreenLine){\n stepCount++;\n stepTimeStamp.add(System.nanoTime());\n updateStepCoordiantes();\n steppedOnceBlue = true;\n System.out.println(\"STEP: \" + blueList.get(blueList.size()-1).getYPos());\n realTimeIncreaseBlue = false;\n }\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n stepText.setText(USER_NAME + \"'s step length: \" + String.format(\"%.3f\", STEP_LENGTH) + \"m\" + \"\\n\" + \"Number of Steps: \" + stepCount +\"\\n\" + \"Coordinates: \" +\"\\n\" + String.format(\"%.8f\", displayLat) + \", \" + String.format(\"%.8f\",dispalyLon));\n }\n });\n Log.i(\"NUMBER OF STEPS\", Double.toString(totalNumSteps));\n if(stepCount >= totalNumSteps){\n processScanCoordinates(blueFootTimeStamp, \"blue\");\n processScanCoordinates(redFootTimeStamp, \"red\");\n processScanCoordinates(magTimeStamps, \"mag\");\n processScanCoordinates(gyroTimeStamp, \"gyro\");\n processScanCoordinates(accelTimeStamp, \"accel\");\n postProcessData();\n\n }\n }", "public StopLight(LightState initialState, Point[] loc, int gns, int yns, int gew, int yew, int time) {\r\n\t\tstate = initialState;\r\n\t\tlocation = loc;\r\n\t\tgreenNS = gns;\r\n\t\tyellowNS = yns;\r\n\t\tgreenEW = gew;\r\n\t\tyellowEW = yew;\r\n\t\ttimePassed = time-1;\t//account for inclusive duration ranges, and keep updates consistent\r\n\t}", "private void greenSouthThrough(int intersection, double time) {\n int index = getIntersectionIndex(intersection);\n isGreenSouthThrough[index] = true;\n LinkedList<Vehicle> vehQueue = southVehsThrough.get(index);\n if (!vehQueue.isEmpty()) {\n Vehicle firstVeh = vehQueue.getLast();\n ProcessEvents.getEventQueue().add(new Event(time, EventType.Departure, intersection,\n Direction.S, firstVeh));\n }\n\n LinkedList<Vehicle> vehQueueTurnRight = southVehsTurnRight.get(index);\n if (!vehQueueTurnRight.isEmpty()) {\n Vehicle firstVehTurnRight = vehQueueTurnRight.getLast();\n ProcessEvents.getEventQueue().add(new Event(time, EventType.Exit, intersection,\n Direction.E, firstVehTurnRight));\n }\n }", "private void greenSouthTurnLeft(int intersection, double time) {\n int index = getIntersectionIndex(intersection);\n isGreenSouthTurnLeft[index] = true;\n LinkedList<Vehicle> vehQueue = southVehsTurnLeft.get(index);\n if (!vehQueue.isEmpty()) {\n Vehicle firstVeh = vehQueue.getLast();\n ProcessEvents.getEventQueue().add(new Event(time, EventType.Exit, intersection,\n Direction.W, firstVeh));\n }\n }", "public SimpleColorLoop(double time, int...colors)\r\n\t{\r\n\t\tif(time <= 0)\r\n\t\t\ttime = 1000;\r\n\t\t\r\n\t\tdelay_between_colors = time;\r\n\t\t\r\n\t\tthis.colors = colors;\r\n\t}", "protected synchronized void updateColorAnimation() {\n synchronized (getViewController()) {\n if (colorStateTime < COLOR_ANIMATION_DURATION) {\n colorStateTime += Gdx.graphics.getDeltaTime();\n if (isColorAnimationFinished()) {\n getViewController().notifyAll();\n }\n }\n }\n }", "public void greenToYellow() {\n\t\tif (StringUtils.isEmpty(this.nextProgram)) {\n\t\t\tthrow new RuntimeException(\n\t\t\t\t\tnew IllegalStateException(\"Method call not allowed as long as nextProgram is not set.\"));\n\t\t}\n\n\t\tString state;\n\t\ttry {\n\t\t\tstate = (String) connection.do_job_get(Trafficlight.getRedYellowGreenState(tls.getId()));\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t\tString newState = JunctionUtil.getRedYellowGreenState(this.tls.getId(), this.nextProgram, 0);\n\n\t\tif (state.length() != newState.length()) {\n\t\t\tthrow new RuntimeException(\"TlsState \" + state + \" and \" + newState + \" need to have the same length!\");\n\t\t}\n\n\t\tchar[] yellowState = state.toCharArray();\n\t\tfor (int i = 0; i < state.length(); i++) {\n\t\t\tchar cCurrent = state.charAt(i);\n\t\t\tchar cNew = newState.charAt(i);\n\n\t\t\tif (cNew == 'r' && (cCurrent == 'G' || cCurrent == 'g')) {\n\t\t\t\tyellowState[i] = 'y';\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tconnection.do_job_set(Trafficlight.setRedYellowGreenState(tls.getId(), new String(yellowState)));\n\t\t\tthis.nextProgramScheduledTimestep = ((double) connection.do_job_get(Simulation.getTime()))\n\t\t\t\t\t+ TraasServer.YELLOW_PHASE;\n\t\t} catch (Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t\tregisterMe();\n\t}", "public void testLeds(int duration) {\n\t\tledBlinking.startThread();\n\t\ttry {\n\t\t\tThread.sleep(duration);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tstopBlinking();\n\t}", "void animate( LightCondition lights );", "public ColorChange(Color color, double time) {\n this.color = color;\n this.time = time;\n }", "private void activateTrafficLight(TrafficLight activeTrafficLight) {\n for (TrafficLight trafficLight : trafficLights) {\n trafficLight.setState(TrafficLight.State.RED);\n }\n\n // Activating light\n this.activeTrafficLight = activeTrafficLight;\n activeTrafficLight.nextState();\n stepCounter = 0;\n }", "@Override\n void individualUpdate() {\n timeToLive--;\n radius++;\n setColor();\n }", "public void Delay(float distance, int timer, int colorID) { \r\n\t\twhile (timer == getTimer.getTimer() && distance > 50 && colorID != Color.YELLOW) {\r\n\t\t\tdistance = ir.getDistance();\r\n\t\t\tcolorID = color.getColorID();\r\n\t\t\tDelay.msDelay(10); //Reduces copy pasta, while moving keeps checking sensors\r\n\t\t}\t\t\t\t\t //and timers\r\n\t}", "private void tintForTimeOfDay(int targetTime, float duration) {\n\t\tTimeOfDay timeOfDay = TimeOfDay.getTime(targetTime);\n\t\t\n\t\tfor (Actor actor : worldGroup.getChildren()) {\n\t\t\tactor.addAction(Actions.color(getTimeColor(), duration));\n\t\t}\n\t\tfor (Actor actor : shadowGroup.getChildren()) {\n\t\t\tShadow shadow = (Shadow) actor;\n\t\t\tshadow.addAction(Actions.color(timeOfDay.getShadowColor(), duration));\n\t\t\tshadow.addAction(new SkewAction(new Vector2(timeOfDay.getShadowDirection(), timeOfDay.getShadowLength()), duration));\n\t\t}\n\t}", "public void setAllColor(int r, int g, int b, double time, boolean unhook) {\r\n\t\tsetAllColor(r, g, b);\r\n\t\tThread t = new Thread(new Runnable() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep((long) time);\r\n\t\t\t\t\tallOff();\r\n\t\t\t\t\tif(unhook)\r\n\t\t\t\t\t\tunhookLEDs();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tt.start();\r\n\t}", "private void greenSouth(int intersection, Direction direction, double time) {\n switch (direction) {\n // Northbound through green\n case N:\n greenSouthThrough(intersection, time);\n break;\n // Northbound turn left green\n case W:\n greenSouthTurnLeft(intersection, time);\n break;\n default:\n System.out.println(\"Error - EventHandler: greenSouth: Wrong direction!\");\n }\n }", "public void timePasses() {\r\n\t\tfor(Meter a: appMeters){\r\n\t\t\t//incremnts electric use each timepPasses as the fridge is always on\r\n\t\t\tif (a.getType().equals(\"Electric\")){\r\n\t\t\t\ta.incrementConsumed();\r\n\t\t}\r\n\t}\r\n\t}", "public Timeline createLineAnimation(AnchorPane anchor_pane_map, int duration, int stop_duration, ArrayList<Coordinate> affected_points, int slow_duration, int slow_stop_duration, EventHandler<MouseEvent> handler, boolean detour_delay)\r\n {\r\n // coordinates of path for vehicle on transportline\r\n ArrayList<Coordinate> line_coordinates = this.transportLinePath();\r\n // ids of coordinates of path for vehicle on transportline\r\n ArrayList<String> line_coordinates_ids = this.transportLinePathIDs();\r\n // all stops for transportline\r\n List<Stop> line_stops = this.getStopsMap();\r\n // create vehicle for line (circle)\r\n Circle vehicle = new Circle(this.getStopsMap().get(0).getCoordinate().getX(), this.getStopsMap().get(0).getCoordinate().getY(), 10);\r\n vehicle.setStroke(Color.AZURE);\r\n vehicle.setFill(this.getTransportLineColor());\r\n vehicle.setStrokeWidth(5);\r\n addLineVehicles(vehicle);\r\n vehicle.setOnMouseClicked(handler);\r\n\r\n Timeline timeline = new Timeline();\r\n int original_duration = duration;\r\n int original_stop_duration = stop_duration;\r\n\r\n // add all keyframes to timeline - one keyframe means path from one coordinate to another coordinate\r\n // vehicle waits in stop for 1 seconds and go to another coordinate for 2 seconds (in default mode)\r\n int delta_time = 0;\r\n KeyFrame waiting_in_stop = null;\r\n for (int i = 0; i < line_coordinates.size() - 1; i++) {\r\n // if we go through street affected by slow traffic\r\n if (line_coordinates.get(i).isInArray(affected_points) && line_coordinates.get(i+1).isInArray(affected_points))\r\n {\r\n // duration between coordinates and duration of waiting in stop is different\r\n duration = slow_duration;\r\n stop_duration = slow_stop_duration;\r\n }\r\n else\r\n {\r\n // else use default duration\r\n duration = original_duration;\r\n stop_duration = original_stop_duration;\r\n }\r\n\r\n for (Stop s : line_stops) {\r\n // if we are in stop, we wait 'stop_duration' time\r\n if (line_coordinates.get(i).getX() == s.getCoordinate().getX() && line_coordinates.get(i).getY() == s.getCoordinate().getY()) {\r\n waiting_in_stop = new KeyFrame(Duration.seconds(delta_time + stop_duration), // this means waiting in stop for some time\r\n new KeyValue(vehicle.centerXProperty(), line_coordinates.get(i).getX()),\r\n new KeyValue(vehicle.centerYProperty(), line_coordinates.get(i).getY()));\r\n\r\n delta_time = delta_time + stop_duration;\r\n break;\r\n }\r\n }\r\n // we travelled for 'duration' time\r\n KeyFrame end = new KeyFrame(Duration.seconds(delta_time + duration), // this means that the path from one coordinate to another lasts 2 seconds\r\n new KeyValue(vehicle.centerXProperty(), line_coordinates.get(i + 1).getX()),\r\n new KeyValue(vehicle.centerYProperty(), line_coordinates.get(i + 1).getY()));\r\n\r\n if (waiting_in_stop != null) {\r\n timeline.getKeyFrames().addAll(end, waiting_in_stop);\r\n } else {\r\n timeline.getKeyFrames().addAll(end);\r\n }\r\n\r\n delta_time = delta_time + duration;\r\n }\r\n\r\n timeline.setCycleCount(Timeline.INDEFINITE); // infinity number of repetitions\r\n anchor_pane_map.getChildren().add(vehicle);\r\n\r\n if (detour_delay == false)\r\n {\r\n this.setDelay(duration, slow_duration, affected_points.size());\r\n }\r\n else\r\n {\r\n this.delay = this.detour_streets.size() * duration - duration;\r\n }\r\n\r\n return timeline;\r\n }", "private static void parseIntersections(int numIntersections,\n List<String> intersectionsWithTrafficLights,\n String currentLine,\n Network network,\n BufferedReader bufferedReader) {\n for (int i = 0; i < numIntersections; i++) {\n if (currentLine.contains(\":\")) {\n intersectionsWithTrafficLights.add(currentLine);\n String[] intersectionValues = currentLine.split(\":\");\n network.createIntersection(intersectionValues[0]);\n } else {\n network.createIntersection(currentLine);\n }\n\n if (i + 1 < numIntersections) {\n try {\n currentLine = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }", "@Override\n public Intersection onReachIntersection(long agentId, long time, LocationOnRoad currentLoc) {\n if (agentId == 240902L && time == 1464800008L) {\n System.out.println(\"here\");\n }\n agentLastAppearTime.put(agentId, time);\n\n LinkedList<Intersection> route = agentRoutes.getOrDefault(agentId, new LinkedList<>());\n\n if (route.isEmpty()) {\n route = planRoute(agentId, currentLoc);\n agentRoutes.put(agentId, route);\n }\n\n Intersection nextLocation = route.poll();\n Road nextRoad = currentLoc.road.to.roadTo(nextLocation);\n LocationOnRoad locationOnRoad = LocationOnRoad.createFromRoadStart(nextRoad);\n agentLastLocation.put(agentId, locationOnRoad);\n return nextLocation;\n }", "private EventHandler() {\n // Initialize the vehicle queues at each intersection from south, east and west\n // Initialize status of traffic lights in each intersection\n southVehsThrough = new ArrayList<>();\n southVehsTurnRight = new ArrayList<>();\n southVehsTurnLeft = new ArrayList<>();\n eastVehs = new ArrayList<>();\n westVehs = new ArrayList<>();\n // Initialize vehs queues arriving each intersection\n for (int i = 0; i < 4; i++) {\n southVehsThrough.add(new LinkedList<>());\n southVehsTurnRight.add(new LinkedList<>());\n southVehsTurnLeft.add(new LinkedList<>());\n eastVehs.add(new LinkedList<>());\n westVehs.add(new LinkedList<>());\n\n isGreenSouthThrough[i] = false;\n isGreenSouthTurnLeft[i] = false;\n isGreenEastTurnRight[i] = false;\n isGreenWestTurnLeft[i] = false;\n }\n\n // Initialize the traffic lights at 10th street, 11th street, 12th street and 14th street\n trafficLights = new TrafficLight[4];\n trafficLights[0] = new TrafficLight(1, 0,\n 10.6, 2.2, 38.3, 49.3,\n 8.6, 4.2, 31.8, 55,\n 9.8, 1.8, 33.8, 55);\n trafficLights[1] = new TrafficLight(2, Parameter.TRAFFIC_LIGHT_DELAY,\n 0, 0, 44.7, 55.4,\n 0, 0, 23.9, 76.2,\n 0, 0, 23.9, 76.2);\n trafficLights[2] = new TrafficLight(3, Parameter.TRAFFIC_LIGHT_DELAY * 2,\n 0, 0, 64.1, 35.7,\n 0, 0, 30.9, 69.2,\n 0, 0, 30.9, 69.2);\n trafficLights[3] = new TrafficLight(5, Parameter.TRAFFIC_LIGHT_DELAY * 3,\n 12.4, 3.6, 37.8, 46.1,\n 0, 0, 26.1, 74,\n 13.4, 60, 40.6, 60.2);\n }", "public void changeState(){\n\t\t//red - Green\n\t\tif (lights[0].isOn()){\n\t\t\tlights[0].turnOff();\n\t\t\tlights[2].turnOn();\n\t\t}\n\t\t\n\t\t//Green -yellow\n\t\telse if(lights[2].isOn()){\n\t\t\tlights[2].turnOff();\n\t\t\tlights[1].turnOn();\n\t\t}\n\t\t//yellow to red\n\t\telse if (lights[1].isOn()){\n\t\t\tlights[1].turnOff();\n\t\t\tlights[0].turnOn();\n\t\t}\n\t\t\n\t}", "public void changingLights(int[][] lightsOnOff) {\n if(this.command.equals(\"turn on\")) {\n for(int i = this.startCoord[0]; i <= this.endCoord[0]; i++) {\n for(int j = this.startCoord[1]; j <= this.endCoord[1]; j++) {\n lightsOnOff[i][j] = 1;\n }\n }\n }\n /* if the command is \"turn off\", the range of\n * lights are made to have value of 0 */\n if(this.command.equals(\"turn off\")) {\n for(int i = this.startCoord[0]; i <= this.endCoord[0]; i++) {\n for(int j = this.startCoord[1]; j <= this.endCoord[1]; j++) {\n lightsOnOff[i][j] = 0;\n }\n }\n }\n /* if the command is \"toggle all\", the range of\n * lights are made to have value of 1 if they\n * were 0 before and 0 if they were 1 before */\n if(this.command.equals(\"toggle all\")) {\n for(int i = this.startCoord[0]; i <= this.endCoord[0]; i++) {\n for(int j = this.startCoord[1]; j <= this.endCoord[1]; j++) {\n lightsOnOff[i][j] = 1 - lightsOnOff[i][j];\n }\n }\n }\n }", "private void renderLights() {\n\t\t\n\t}", "@Override\n public void periodic() {\n\n colorCalibrationEnabled = ntColorCalibrationEnabled.getBoolean(false);\n\n /* NON-OPERATIONAL SENSOR\n colorMatchResult = colorMatcher.matchClosestColor(colorSensor.getColor());\n */\n\n if(colorMatchResult.color == kRedTarget)\n {\n colorIsRed = true;\n colorIsGreen = false;\n colorIsBlue = false;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kGreenTarget)\n {\n colorIsRed = false;\n colorIsGreen = true;\n colorIsBlue = false;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kBlueTarget)\n {\n colorIsRed = false;\n colorIsGreen = false;\n colorIsBlue = true;\n colorIsYellow = false;\n }\n else if(colorMatchResult.color == kYellowTarget)\n {\n colorIsRed = false;\n colorIsGreen = false;\n colorIsBlue = false;\n colorIsYellow = true;\n }\n\n ntColorIsRed.setBoolean(colorIsRed);\n ntColorIsGreen.setBoolean(colorIsGreen);\n ntColorIsBlue.setBoolean(colorIsBlue);\n ntColorIsYellow.setBoolean(colorIsYellow);\n\n colorCalibration();\n\n numberOfTurnsToRotate = ntScdNumberOfTurnsToRotate.getDouble(69.0);\n ntStsNumberOfTurnsToRotate.forceSetDouble(numberOfTurnsToRotate);\n }", "private void timerAction(){\n \n timerEnd();\n \n if (timerCounter == TEST_TARGET_APPERANCE + testTargetDelay){\n manageTestTarget();\n }\n \n if (timerCounter == TEST_TARGET_DISAPPERANCE + testTargetDelay){\n labelArray[TEST_TARGET_LOCATION].setIcon(iconSet.getGrayIcon());\n //System.out.println(\"Test End\");\n }\n //creates clickable red target in random, non occupied location\n //and handles removal of unclicked, expired targets\n int randRedTarget = generator.nextInt(100);\n while(labelArray[randRedTarget].getIcon()!=iconSet.getGrayIcon()){\n //System.out.println(\"Already a target in place\");\n randRedTarget = generator.nextInt(100);\n }\n labelArray[randRedTarget].setIcon(iconSet.getRedTargetIcon());\n \n if (timerCounter<ACTIVE_RED_TARGET_TOTAL){\n activeRedTarget[timerCounter] = randRedTarget;\n }\n \n if (timerCounter>=ACTIVE_RED_TARGET_TOTAL){\n if(labelArray[activeRedTarget[0]].getIcon()!=iconSet.getGrayIcon()){\n labelArray[activeRedTarget[0]].setIcon(iconSet.getGrayIcon());\n }\n for(int i = 0; i < activeRedTarget.length-1; i++){\n activeRedTarget[i] = activeRedTarget[i+1];\n }\n activeRedTarget[ACTIVE_RED_TARGET_TOTAL-1] = randRedTarget;\n }\n\n if (timerCounter%4==0){\n manageBlueTargets();\n }\n \n timerCounter++;\n \n if (timerCounter%4==0){\n manageGreenTargets();\n }\n \n System.out.println(\"Timer: \" + timerCounter); \n }", "public Timeline createPartLineAnimation(int duration, int stop_duration, ArrayList<Coordinate> affected_points, int slow_duration, int slow_stop_duration, Circle vehicle, ArrayList<Coordinate> line_coordinates_part, EventHandler<MouseEvent> handler, boolean detour_delay)\r\n {\r\n Timeline affected_timeline = new Timeline();\r\n int original_duration = duration;\r\n int original_stop_duration = stop_duration;\r\n addLineVehicles(vehicle);\r\n vehicle.setOnMouseClicked(handler);\r\n\r\n // add all keyframes to timeline - one keyframe means path from one coordinate to another coordinate\r\n // vehicle waits in stop for 1 seconds and go to another coordinate for 2 seconds (in default mode)\r\n int delta_time = 0;\r\n KeyFrame waiting_in_stop = null;\r\n\r\n //int affected_stops_count = 0;\r\n for (int i = 0; i < line_coordinates_part.size() - 1; i++) {\r\n // if we go through street affected by slow traffic\r\n if (line_coordinates_part.get(i).isInArray(affected_points) && line_coordinates_part.get(i+1).isInArray(affected_points))\r\n {\r\n // duration between coordinates and duration of waiting in stop is different\r\n duration = slow_duration;\r\n stop_duration = slow_stop_duration;\r\n }\r\n else\r\n {\r\n // else use default duration\r\n duration = original_duration;\r\n stop_duration = original_stop_duration;\r\n }\r\n\r\n for (Stop s : this.getStopsMap()) {\r\n // if we are in stop, we wait 'stop_duration' time\r\n if (line_coordinates_part.get(i).getX() == s.getCoordinate().getX() && line_coordinates_part.get(i).getY() == s.getCoordinate().getY()) {\r\n waiting_in_stop = new KeyFrame(Duration.seconds(delta_time + stop_duration), // this means waiting in stop for some time\r\n new KeyValue(vehicle.centerXProperty(), line_coordinates_part.get(i).getX()),\r\n new KeyValue(vehicle.centerYProperty(), line_coordinates_part.get(i).getY()));\r\n\r\n delta_time = delta_time + stop_duration;\r\n\r\n break;\r\n }\r\n }\r\n // we travelled for 'duration' time\r\n KeyFrame end = new KeyFrame(Duration.seconds(delta_time + duration), // this means that the path from one coordinate to another lasts 2 seconds\r\n new KeyValue(vehicle.centerXProperty(), line_coordinates_part.get(i + 1).getX()),\r\n new KeyValue(vehicle.centerYProperty(), line_coordinates_part.get(i + 1).getY()));\r\n\r\n if (waiting_in_stop != null) {\r\n affected_timeline.getKeyFrames().addAll(end, waiting_in_stop);\r\n } else {\r\n affected_timeline.getKeyFrames().addAll(end);\r\n }\r\n\r\n delta_time = delta_time + duration;\r\n }\r\n\r\n this.setLineMovement(affected_timeline); // set movement of specified line\r\n\r\n if (detour_delay == false)\r\n {\r\n this.setDelay(duration, slow_duration, affected_points.size());\r\n }\r\n else\r\n {\r\n this.delay = this.detour_streets.size() * duration - duration;\r\n }\r\n\r\n\r\n return affected_timeline;\r\n }", "public void timePasses(){\n crtClock++;\n if(crtClock==25)crtClock=1; // If end of day, reset to 1\n if(crtClock<=opHours)tellMeterToConsumeUnits(unitsPerHr);\n }", "private void animate() throws UnsupportedOperationException {\n this.localRoutes = new ArrayList<>();\n ArrayList<ArrayList<Person>> temp = this.model.getRoutes();\n Random rand = new Random();\n\n for (int i = 0; i < temp.size(); i++) {\n ArrayList<Person> temp1 = temp.get(i);\n ArrayList<Person> temp2 = new ArrayList<>(temp.size());\n this.colors.add(new Color(rand.nextInt(255), rand.nextInt(255), rand.nextInt(255)));\n for (Person person : temp1) {\n\n this.paintImmediately(0, 0, 1000, 1000);\n temp2.add(person);\n\n if (this.localRoutes.size() > i) {\n this.localRoutes.set(i, temp2);\n } else {\n this.localRoutes.add(temp2);\n }\n\n try {\n TimeUnit.MILLISECONDS.sleep(200);\n } catch (InterruptedException e1) {\n e1.printStackTrace();\n }\n }\n }\n }", "private void reactMain_region_digitalwatch_Display_glowing_GlowDelay() {\n\t\tif (timeEvents[5]) {\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\tsCIDisplay.operationCallback.unsetIndiglo();\n\n\t\t\tnextStateIndex = 3;\n\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOff;\n\t\t} else {\n\t\t\tif (sCIButtons.topRightPressed) {\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.$NullState$;\n\n\t\t\t\ttimer.unsetTimer(this, 5);\n\n\t\t\t\tsCIDisplay.operationCallback.setIndiglo();\n\n\t\t\t\tnextStateIndex = 3;\n\t\t\t\tstateVector[3] = State.main_region_digitalwatch_Display_glowing_GlowOn;\n\t\t\t}\n\t\t}\n\t}", "private void updateLight() {\r\n\t}", "@Override\n public void timerTicked() {\n //subtracts one second from the timer of the current team\n if(state.getCurrentTeamsTurn() == Team.RED_TEAM) {\n state.setRedTeamSeconds(state.getRedTeamSeconds() - 1);\n } else {\n state.setBlueTeamSeconds(state.getBlueTeamSeconds() - 1);\n }\n }", "public void endYellow() {\n if (System.currentTimeMillis() - lastAttack > 200) {\n isYellow = false;\n ((Geometry)model.getChild(\"Sphere\")).getMaterial().setColor(\"Color\", ColorRGBA.Red);\n }\n }", "public void setStateTime(long newStateTime) {\n _stateTime = newStateTime;\n }", "private void update(int redValue, int greenValue, int blueValue) {\n if (status) {\n redLed.update(redValue);\n greenLed.update(greenValue);\n blueLed.update(blueValue);\n }\n }", "void oscillate( float redColor, float greenColor, float blueColor ) {\n\t\t\tr = redColor;\n\t\t\tg = greenColor;\n\t\t\tb = blueColor;\n\t\t}", "public void setHasLightSource(Creature creature, byte colorRed, byte colorGreen, byte colorBlue, byte radius) {\n/* 5521 */ for (VirtualZone vz : getWatchers()) {\n/* */ \n/* */ \n/* */ try {\n/* 5525 */ if (vz.getWatcher().getWurmId() == creature.getWurmId())\n/* */ {\n/* 5527 */ vz.sendAttachCreatureEffect(null, (byte)0, colorRed, colorGreen, colorBlue, radius);\n/* */ \n/* */ }\n/* */ else\n/* */ {\n/* 5532 */ vz.sendAttachCreatureEffect(creature, (byte)0, colorRed, colorGreen, colorBlue, radius);\n/* */ }\n/* */ \n/* */ }\n/* 5536 */ catch (Exception e) {\n/* */ \n/* 5538 */ logger.log(Level.WARNING, e.getMessage(), e);\n/* */ } \n/* */ } \n/* */ }", "private void processLightSubtractions(World world, BlockPos pos, LightType lightType) {\n\t\tBlockPos.MutableBlockPos updatePos = new BlockPos.MutableBlockPos();\n\t\tBlockPos.MutableBlockPos neighborPos = new BlockPos.MutableBlockPos();\n\t\t\n\t\t// for each queued light update...\n\t\twhile (this.queue.hasNext()) {\n\t\t\t\n\t\t\t// unpack the update\n\t\t\tint update = this.queue.get();\n\t\t\tupdatePos.setBlockPos(\n\t\t\t\tunpackUpdateDx(update) + pos.getX(),\n\t\t\t\tunpackUpdateDy(update) + pos.getY(),\n\t\t\t\tunpackUpdateDz(update) + pos.getZ()\n\t\t\t);\n\t\t\tint updateLight = unpackUpdateLight(update);\n\t\t\t\n\t\t\t// if the light changed, skip this update\n\t\t\tint oldLight = world.getLightAt(lightType, updatePos);\n\t\t\tif (oldLight != updateLight) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t// set update block light to 0\n\t\t\tworld.setLightAt(lightType, updatePos, 0);\n\t\t\t\n\t\t\t// if we ran out of light, don't propagate\n\t\t\tif (updateLight <= 0) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t// for each neighbor block...\n\t\t\tfor (Facing facing : Facing.values()) {\n\t\t\t\tneighborPos.setBlockPos(updatePos.getX(), updatePos.getY(), updatePos.getZ());\n\t\t\t\tneighborPos.addDirection(facing, 1);\n\t\t\t\t\n\t\t\t\tif (!shouldUpdateLight(world, pos, neighborPos)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// get the neighbor opacity\n\t\t\t\tint neighborOpacity = world.getBlockStateAt(neighborPos).getBlock().getOpacity();\n\t\t\t\tif (neighborOpacity < 1) {\n\t\t\t\t\tneighborOpacity = 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// if the neighbor block doesn't have the light we expect, bail\n\t\t\t\tint expectedLight = updateLight - neighborOpacity;\n\t\t\t\tint actualLight = world.getLightAt(lightType, neighborPos);\n\t\t\t\tif (actualLight != expectedLight) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (this.queue.hasRoomFor(1)) {\n\t\t\t\t\t// queue an update to subtract light from the neighboring block\n\t\t\t\t\tthis.queue.add(packUpdate(\n\t\t\t\t\t\tneighborPos.getX() - pos.getX(),\n\t\t\t\t\t\tneighborPos.getY() - pos.getY(),\n\t\t\t\t\t\tneighborPos.getZ() - pos.getZ(),\n\t\t\t\t\t\texpectedLight\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void step() {\n // Set up the times\n loopTime += calcFreq;\n t += dt*speedSlider.getValue();\n simDate.setTime(loopTime);\n \n if (loopTime % 250 == 0) {\n timeField.setValue(simDate);\n }\n \n mainPanel.repaint();\n \n // Check for collisions\n ArrayList<Body> toBeRemoved = new ArrayList<>();\n for (Body b1 : bodies) {\n for (Body b2 : bodies) {\n if (b1 != b2 && areTouching(b1, b2)) {\n Body big = b1.mass > b2.mass ? b1 : b2;\n Body small = b1 == big ? b2 : b1;\n \n if (toBeRemoved.contains(small)) {\n continue;\n } else {\n toBeRemoved.add(small);\n }\n \n double newvx = (big.state.vx*big.mass+small.state.vx*small.mass)/(big.mass+small.mass);\n double newvy = (big.state.vy*big.mass+small.state.vy*small.mass)/(big.mass+small.mass);\n double newvz = (big.state.vz*big.mass+small.state.vz*small.mass)/(big.mass+small.mass);\n double newden = (big.DENSITY*big.mass+small.DENSITY*small.mass)/(big.mass+small.mass);\n big.mass += small.mass;\n big.DENSITY = newden;\n big.setRadiusFromMass();\n big.state.vx = newvx;\n big.state.vy = newvy;\n big.state.vz = newvz;\n }\n }\n \n // Check for out of bounds\n if (!toBeRemoved.contains(b1)) {\n if (Math.abs(b1.state.x) > cubeL || Math.abs(b1.state.y) > cubeL\n || Math.abs(b1.state.z) > cubeL/2) {\n toBeRemoved.add(b1);\n }\n }\n }\n \n // Remove all that need to be removed\n for (Body b : toBeRemoved) {\n bodies.remove(b);\n totalBodiesCounter.setText(\"\"+bodies.size());\n bodiesComboBox.removeItem(b.name);\n }\n \n // Calculate the next position\n for (Body b : bodies) {\n if (b.moveable) {\n b.nextState.x = b.state.x;\n b.nextState.y = b.state.y;\n b.nextState.z = b.state.z;\n b.nextState.vx = b.state.vx;\n b.nextState.vy = b.state.vy;\n b.nextState.vz = b.state.vz;\n \n b.updateBody(t, dt*speedSlider.getValue());\n if (pathsComboBox.getSelectedItem().equals(\"Lines\") && loopTime % 20 == 0) {\n b.addPos();\n } else if (pathsComboBox.getSelectedItem().equals(\"Dots\") && loopTime % 100 == 0) {\n b.addPos();\n }\n }\n }\n \n // Set each next position\n for (Body b : bodies) {\n if (b.moveable) {\n b.state.x = b.nextState.x;\n b.state.y = b.nextState.y;\n b.state.z = b.nextState.z;\n b.state.vx = b.nextState.vx;\n b.state.vy = b.nextState.vy;\n b.state.vz = b.nextState.vz;\n }\n }\n \n // Update the edit window\n Body bufferedBody = selectedBody;\n if (bufferedBody != null) {\n if (loopTime % 50 == 0) {\n xFieldEdit.setValue(bufferedBody.state.x);\n yFieldEdit.setValue(bufferedBody.state.y);\n zFieldEdit.setValue(bufferedBody.state.z);\n vxFieldEdit.setValue(bufferedBody.state.vx);\n vyFieldEdit.setValue(bufferedBody.state.vy);\n vzFieldEdit.setValue(bufferedBody.state.vz);\n massFieldEdit.setValue(bufferedBody.mass);\n radiusFieldEdit.setValue(bufferedBody.r);\n }\n \n // Follow the body\n if (followBodyButton.isSelected()) {\n setWindowToBody(bufferedBody);\n }\n }\n }", "@Override\n public void modifyTimeMatching(D2DTimeMatcher d2dTimeMatcher,\n AbstractVizResource<?, ?> rsc, TimeMatcher timeMatcher) {\n /*\n * In order to use the radar customizations, the time match basis must\n * be an AbstractRadarResource for the same icao. If it is not, return\n * early.\n */\n AbstractVizResource<?, ?> basis = d2dTimeMatcher.getTimeMatchBasis();\n if (!(basis instanceof AbstractRadarResource)) {\n return;\n }\n AbstractRadarResource<?> radarBasis = (AbstractRadarResource<?>) basis;\n RequestConstraint icaoRC = getResourceData().getMetadataMap()\n .get(\"icao\");\n RequestConstraint basisIcaoRC = radarBasis.getResourceData()\n .getMetadataMap().get(\"icao\");\n if (icaoRC == null || !icaoRC.equals(basisIcaoRC)) {\n return;\n }\n /*\n * Gather all the frame times that we can, sorted by elevation number.\n * The time between two frames with the same elevation number is the\n * volume scan interval.\n */\n Set<RadarRecord> records = new HashSet<>();\n records.addAll(this.getRadarRecords().values());\n records.addAll(radarBasis.getRadarRecords().values());\n Map<Integer, SortedSet<Date>> elevationTimeMap = new HashMap<>();\n for (RadarRecord record : records) {\n Integer elevation = record.getElevationNumber();\n SortedSet<Date> times = elevationTimeMap.get(elevation);\n if (times == null) {\n times = new TreeSet<>();\n elevationTimeMap.put(elevation, times);\n }\n times.add(record.getDataTime().getRefTime());\n }\n long minInterval1 = getMinVolumeScanInterval(\n radarBasis.getRadarRecords().values());\n long minInterval2 = getMinVolumeScanInterval(\n this.getRadarRecords().values());\n long minInteval = Math.min(minInterval1, minInterval2);\n if (minInteval < TimeUtil.MILLIS_PER_HOUR) {\n /*\n * 1 second padding to ensure that consecutive volume scans do not\n * overlap\n */\n minInteval -= TimeUtil.MILLIS_PER_SECOND;\n timeMatcher.setRadarOnRadar(minInteval);\n } else {\n timeMatcher.setRadarOnRadar(5 * TimeUtil.MILLIS_PER_MINUTE);\n }\n }", "private final boolean setTime(int newTime) {\n\t\tint oldState = (elapsedTime <= 0) ? SECTION_START_DELAY : getSection();\n\t\tthis.elapsedTime = newTime;\n\t\tint newState = getSection();\n\n\t\tif (newState == SECTION_ANIMATION) {\n\t\t\tint animTime = getAnimTime();\n\t\t\tif (easing != null) {\n\t\t\t\tanimTime = easing.ease(animTime, duration);\n\t\t\t}\n\t\t\tupdateState(animTime);\n\t\t\treturn true;\n\t\t} else if ((newState == SECTION_LOOP_DELAY && oldState != SECTION_LOOP_DELAY)\n\t\t\t\t|| (newState == SECTION_START_DELAY && oldState == SECTION_ANIMATION)) {\n\t\t\tupdateState(duration);\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "public void changeBackgroudColorForTimeInSec(double time) {\n long timeLong = (long) (time * 1000);\n\n // make vibration\n Vibrator v = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);\n // Vibrate for 500 milliseconds\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {\n v.vibrate(VibrationEffect.createOneShot(500, VibrationEffect.DEFAULT_AMPLITUDE));\n } else {\n //deprecated in API 26\n v.vibrate(500);\n }\n\n //play sound\n MediaPlayer mediaPlayer = MediaPlayer.create(this, R.raw.moonless);\n mediaPlayer.start();\n\n //change color\n scroolViewScanner.setBackgroundColor(Color.RED);\n scroolViewDefect.setBackgroundColor(Color.RED);\n linLayOverView.setBackgroundColor(Color.RED);\n Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n public void run() {\n // Actions to do after\n scroolViewScanner.setBackgroundColor(Color.TRANSPARENT);\n scroolViewDefect.setBackgroundColor(Color.TRANSPARENT);\n linLayOverView.setBackgroundColor(Color.TRANSPARENT);\n }\n }, timeLong); // delay\n }", "public void update(int homeTeamGoals, int outsideTeamGoals, String game_time,\n\t\t\tString homeTeam_goal_scorer, String outsideTeam_goal_scorer,\n\t\t\tint yellowCards, int redCards) {\n\t\tthis.homeTeam_goal_scorer = homeTeam_goal_scorer;\n\t\tthis.outsideTeamGoals = outsideTeamGoals;\n\t\tthis.homeTeamGoals = homeTeamGoals;\n\t\tthis.outsideTeam_goal_scorer = outsideTeam_goal_scorer;\n\t\tthis.game_time = game_time;\n\t\tthis.yellowCards = yellowCards;\n\t\tthis.redCards = redCards;\n\t}", "public void setLeftColor(int r, int g, int b, double time, boolean unhook) {\r\n\t\tsetLeftColor(r, g, b);\r\n\t\tThread t = new Thread(new Runnable() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep((long) time);\r\n\t\t\t\t\tleftOff();\r\n\t\t\t\t\tif(unhook)\r\n\t\t\t\t\t\tunhookLEDs();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tt.start();\r\n\t}", "void updateStops(HashMap<String, List<TimedStopProblem>> problemsToAdd);", "private void greenEastTurnRight(int intersection, double time) {\n int index = getIntersectionIndex(intersection);\n isGreenEastTurnRight[index] = true;\n LinkedList<Vehicle> vehQueue = eastVehs.get(index);\n if (!vehQueue.isEmpty()) {\n Vehicle firstVeh = vehQueue.getLast();\n ProcessEvents.getEventQueue().add(new Event(time, EventType.Departure, intersection,\n Direction.E, firstVeh));\n }\n }", "private void lightOn(Map<Light, Matrix4f> lights) {\n numLight = 0;\n GL3 gl = glContext.getGL().getGL3();\n FloatBuffer fb4 = Buffers.newDirectFloatBuffer(4);\n LightLocation lightLoc = new LightLocation();\n for (Entry<Light, Matrix4f> entry : lights.entrySet()) {\n Light light = entry.getKey();\n Matrix4f lightTransForm = entry.getValue();\n Vector4f lightPosition = lightTransForm.transform(new Vector4f(light.getPosition()));\n Vector4f lightDirection = lightTransForm.transform(new Vector4f(light.getSpotDirection()));\n String lightName = \"light[\" + numLight + \"]\";\n lightLoc.position = shaderLocations.getLocation(lightName + \".position\");\n lightLoc.ambient = shaderLocations.getLocation(lightName + \".ambient\");\n lightLoc.diffuse = shaderLocations.getLocation(lightName + \".diffuse\");\n lightLoc.specular = shaderLocations.getLocation(lightName + \".specular\");\n lightLoc.direction = shaderLocations.getLocation(lightName + \".direction\");\n lightLoc.cutOff = shaderLocations.getLocation(lightName + \".cutOff\");\n\n gl.glUniform4fv(lightLoc.position, 1, lightPosition.get(fb4));\n gl.glUniform3fv(lightLoc.ambient, 1, light.getAmbient().get(fb4));\n gl.glUniform3fv(lightLoc.diffuse, 1, light.getDiffuse().get(fb4));\n gl.glUniform3fv(lightLoc.specular, 1, light.getSpecular().get(fb4));\n gl.glUniform4fv(lightLoc.direction, 1, lightDirection.get(fb4));\n gl.glUniform1f(lightLoc.cutOff, light.getSpotCutoff());\n numLight++;\n }\n gl.glUniform1i(shaderLocations.getLocation(\"numLights\"), numLight);\n }", "private void redSouthTurnLeft(int intersection) {\n int index = getIntersectionIndex(intersection);\n isGreenSouthTurnLeft[index] = false;\n }", "void clientWaitingSecondsSet(final int index, final double time);", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\r\n System.out.println(\"How many roads?\");\r\n int roadSpawns = scanner.nextInt();\r\n System.out.println(\"How many cars?\");\r\n int carSpawns = scanner.nextInt();\r\n // Store adjacent paths\r\n List<String> connectedRoad = new ArrayList<>();\r\n List<TrafficLight> lights = new ArrayList<>();\r\n\r\n //Create objects:\r\n System.out.println(\"Object Creation:\\n---------------------\");\r\n System.out.println(\"Roads:\");\r\n ArrayList<Road> roads = new ArrayList<>();\r\n for (int i = 0; i < roadSpawns; i++) {\r\n System.out.println(\"Please input parameters for road_\" + i + \"...\");\r\n System.out.print(\"Length:\");\r\n int lengthInput = scanner.nextInt();\r\n int speedLimitInput = (new Random()).nextInt(11);\r\n roads.add(new Road(Integer.toString(i), speedLimitInput, lengthInput, new int[]{0, 0}));\r\n System.out.println(\"Please input connected roads of road_\" + i + \"...(like:0,1,2...)\");\r\n String infos = scanner.next();\r\n connectedRoad.add(infos);\r\n }\r\n System.out.println(\"\\nRoads;\");\r\n for (Road road : roads) {\r\n road.printRoadInfo();\r\n }\r\n\r\n // Set up TrafficLight at road junctions\r\n for (int i = 0; i < connectedRoad.size(); i++) {\r\n TrafficLight trafficLight = null;\r\n if (roads.get(i).getLightsOnRoad().size() > 0) trafficLight = roads.get(i).getLightsOnRoad().get(0);\r\n else {\r\n long currentTime = new Date().getTime();\r\n trafficLight = new TrafficLight(String.valueOf(currentTime), roads.get(i));\r\n roads.get(i).addTrafficLight(trafficLight);\r\n lights.add(trafficLight);\r\n }\r\n for (String s : connectedRoad.get(i).split(\",\")) {\r\n roads.get(i).addConnectRoad(roads.get(Integer.parseInt(s)));\r\n if (roads.get(Integer.parseInt(s)).getLightsOnRoad().size() > 0) continue;\r\n else roads.get(Integer.parseInt(s)).addTrafficLight(trafficLight);\r\n }\r\n }\r\n\r\n System.out.println(\"\\nCars;\");\r\n ArrayList<Car> cars = new ArrayList<>();\r\n for (int i = 0; i < carSpawns; i++) {\r\n // random add bus or motorbke\r\n if ((new Random()).nextInt(10) <= 5) {\r\n cars.add(new Bus(Integer.toString(i), roads.get(0)));\r\n } else {\r\n cars.add(new Motorbike(Integer.toString(i), roads.get(0)));\r\n }\r\n cars.get(i).printCarStatus();\r\n }\r\n\r\n // Let car run\r\n int time = 0;\r\n System.out.print(\"\\nSet time scale in milliseconds:\");\r\n int maxtime = scanner.nextInt();\r\n while (true) {\r\n // change trafficlight state\r\n for (TrafficLight light : lights) {\r\n light.chageState();\r\n }\r\n for (Car car : cars) {\r\n car.move();\r\n car.printCarStatus();\r\n }\r\n time = time + 1;\r\n System.out.println(time + \" Seconds have passed.\\n\");\r\n if (time >= maxtime) {\r\n System.out.println(\"timeout\");\r\n break;\r\n }\r\n }\r\n }", "public void resolveLights(){trafficList.forEach(TrafficLight::resolve);}", "public void update(int time);", "private void refreshLights(){\n\n if (this.selectedTrain.getLights() == 1){ this.lightsOnRadioButton.setSelected(true); }\n else if (this.selectedTrain.getLights() == 0){ this.lightsOffRadioButton.setSelected(true); }\n else if (this.selectedTrain.getLights() == -1){ this.lightsFailureRadioButton.setSelected(true); }\n }", "public int getYellowTime() {\r\n return yellowTime;\r\n }", "public void updateTimerDisplay(){\n int seconds = timeCounter / 60;\n setImage(new GreenfootImage(\"Time: \"+timeElapsed + \": \" + seconds, 24, Color.BLACK, Color.WHITE));\n }", "private void trafficLightBehavior(Car car, TrafficLight trafficLight) {\n trafficLight.registerCar(car);\n if (trafficLight.getState() == TrafficLightState.RED) {\n car.stop();\n Logger.getInstance().logEvent(car.getName(), \"Stopping at RedLight\");\n } else {\n Logger.getInstance().logInfo(car.getName(), \"Traffic light is green\");\n tryToGetIntoIntersection(car);\n }\n\n }", "private void processLightAdditions(World world, BlockPos pos, LightType lightType) {\n\t\tBlockPos.MutableBlockPos updatePos = new BlockPos.MutableBlockPos();\n\t\tBlockPos.MutableBlockPos neighborPos = new BlockPos.MutableBlockPos();\n\n\t\t// for each queued light update...\n\t\twhile (this.queue.hasNext()) {\n\t\t\t\n\t\t\t// unpack the update\n\t\t\tint update = this.queue.get();\n\t\t\tupdatePos.setBlockPos(\n\t\t\t\tunpackUpdateDx(update) + pos.getX(),\n\t\t\t\tunpackUpdateDy(update) + pos.getY(),\n\t\t\t\tunpackUpdateDz(update) + pos.getZ()\n\t\t\t);\n\t\t\t\n\t\t\t// skip updates that don't change the light\n\t\t\tint oldLight = world.getLightAt(lightType, updatePos);\n\t\t\tint newLight = computeLightValue(world, updatePos, lightType);\n\t\t\tif (newLight == oldLight) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t// update the light here\n\t\t\tworld.setLightAt(lightType, updatePos, newLight);\n\t\t\t\n\t\t\t// if we didn't get brighter, don't propagate light to the area\n\t\t\tif (newLight <= oldLight) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t// for each neighbor block...\n\t\t\tfor (Facing facing : Facing.values()) {\n\t\t\t\tneighborPos.setBlockPos(updatePos.getX(), updatePos.getY(), updatePos.getZ());\n\t\t\t\tneighborPos.addDirection(facing, 1);\n\t\t\t\t\n\t\t\t\tif (!shouldUpdateLight(world, pos, neighborPos)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// if the neighbor already has enough light, bail\n\t\t\t\tint neighborLight = world.getLightAt(lightType, neighborPos);\n\t\t\t\tif (neighborLight >= newLight) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (this.queue.hasRoomFor(1)) {\n\t\t\t\t\t// queue an update to add light to the neighboring block\n\t\t\t\t\tthis.queue.add(packUpdate(\n\t\t\t\t\t\tneighborPos.getX() - pos.getX(),\n\t\t\t\t\t\tneighborPos.getY() - pos.getY(),\n\t\t\t\t\t\tneighborPos.getZ() - pos.getZ(),\n\t\t\t\t\t\t0\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void redSouthThrough(int intersection) {\n int index = getIntersectionIndex(intersection);\n isGreenSouthThrough[index] = false;\n }", "private void runAnimations(ObservableList<Node> recs, List<List<List<double[]>>> animations) {\n // The amount of time to pause between each step of animations\n long delay = 1000 / arrSize;\n\n // Time levels must occur in order\n for(int timeLevelIndex = 0; timeLevelIndex < animations.size(); timeLevelIndex++) {\n List<List<double[]>> timeLevel = animations.get(timeLevelIndex);\n\n int maxEvents = findMaxEvents(timeLevel);\n\n // Displaying each step of merge sort at the corresponding location of the input\n for(int eventIndex = 0; eventIndex < maxEvents; eventIndex++) {\n for(int locationIndex = 0; locationIndex < timeLevel.size(); locationIndex++) {\n List<double[]> location = timeLevel.get(locationIndex);\n\n if(eventIndex < location.size()) {\n double[] event = location.get(eventIndex);\n\n switch ((int) event[0]) {\n case 1:\n ((Rectangle) recs.get((int) event[1])).setFill(DEFAULT_COLOR);\n ((Rectangle) recs.get((int) event[2])).setFill(DEFAULT_COLOR);\n break;\n case 2:\n ((Rectangle) recs.get((int) event[1])).setFill(COMPARISON_COLOR);\n ((Rectangle) recs.get((int) event[2])).setFill(COMPARISON_COLOR);\n break;\n case 3:\n ((Rectangle) recs.get((int) event[1])).setFill(CHANGE_COLOR);\n ((Rectangle) recs.get((int) event[2])).setFill(CHANGE_COLOR);\n break;\n case 4:\n ((Rectangle) recs.get((int) event[1])).setHeight(event[2]);\n break;\n }\n }\n }\n\n try {\n Thread.sleep(delay);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }\n }", "void update(int seconds);", "public TimeLineView(Program program, BrushMultiPickedState pickedState,\n\t ColorModel colorModel, TimeLineSettings settings)\n\t{\n\t\tthis.program = program;\n\t\tprogram.addListener(new ProgramListenerImpl());\n\n\t\tthis.pickedState = pickedState;\n\t\tPickBrushListener pickBrushListener = new PickBrushListener();\n\t\tpickedState.addListener(pickBrushListener);\n\t\tpickedState.addBrushEventListener(pickBrushListener);\n\n\t\tcolorModel.addListener(new ColorModelListenerImpl());\n\n\t\tthis.settings = settings;\n\n\t\tthis.viewRange = null;\n\t\tthis.selection = null;\n\n\t\tthis.buffer = null;\n\t\tthis.bufferIsValid = false;\n\n\t\tthis.isCurrentTimeIndicatorSelected = false;\n\t\tthis.isMetricTimeIndicatorSelected = false;\n\t\tthis.linkIndicators = false;\n\n\t\tthis.activityRatiosTotal = 0;\n\n\t\tthis.lineToVertexMap = new MultiHashMap();\n\n\t\tthis.showableEvents = new LinkedList<Event>();\n\n\t\tthis.classMap = new TreeMap<String, Vertex>();\n\n\t\tthis.listeners = new ArrayList<TimeLineViewListener>();\n\n\t\tToolTipManager toolTipManager = ToolTipManager.sharedInstance();\n\t\ttoolTipManager.registerComponent(this);\n\n\t\tthis.viewMouse = new TimeLineViewMouse(this, program, pickedState);\n\n\t\taddComponentListener(new ResizeHandler());\n\t}", "public void setRightColor(int r, int g, int b, double time, boolean unhook) {\r\n\t\tsetRightColor(r, g, b);\r\n\t\tThread t = new Thread(new Runnable() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep((long) time);\r\n\t\t\t\t\trightOff();\r\n\t\t\t\t\tif(unhook)\r\n\t\t\t\t\t\tunhookLEDs();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO: handle exception\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tt.start();\r\n\t}", "public void updateColoredTileListAfterOrange(){\n\t\tArrayList<Tile> tiles = null;\n\t\tif(Game.getInstance().getTurn().getLastPieceMoved() != null) {\n\t\t\tif(Game.getInstance().getTurn().getLastPieceMoved().getEatingCntr() > 0 || Game.getInstance().getTurn().isLastTileRed()) {\n\t\t\t\ttiles = Game.getInstance().getTurn().getLastPieceMoved().getPossibleMoves(Game.getInstance().getCurrentPlayerColor());\n\t\t\t}\n\t\t}else {\n\t\t\ttiles = Board.getInstance().getAllLegalMoves(Game.getInstance().getCurrentPlayerColor());\n\n\t\t}\n\n\t\tArrayList<Tile> coloredTilesToRemove=new ArrayList<Tile>();\t\t\n\t\tfor(Tile t:this.coloredTilesList) {\n\t\t\tif(tiles.contains(t)) {\n\n\t\t\t\tcoloredTilesToRemove.add(t);\n\t\t\t}\n\n\t\t}\n\n\t\tthis.coloredTilesList.removeAll(coloredTilesToRemove);\n\t\tthis.coloredTilesList.addAll(this.orangeTiles);\n\t\tthis.orangeTiles=null;\n\t\tthis.orangeTiles=new ArrayList<Tile>();\n\t}", "private void resetLights() {\n\n List<Integer> colors = DataHolder.getInstance().getColors();\n int iter = 0;\n for (int color: colors) {\n if (color == 2) {\n colors.set(iter, 0);\n }\n iter++;\n }\n DataHolder.getInstance().setColors(colors);\n }", "public void searchLights() {\n\t\n\t\t// try to limit searching\n\t\tif(ports.contains(motors)) ports.remove(motors);\n\t\tif(state.get(State.values.serialport) != null) \n\t\t\tports.remove(state.get(State.values.serialport));\n\t\t\t\n\t\tUtil.debug(\"discovery for lights starting on ports: \" + ports.size(), this);\n\t\t\n\t\tfor (int i = ports.size() - 1; i >= 0; i--) {\n\t\t\tif (state.get(State.values.lightport)!=null) { break; } // stop if find it\n\t\t\t//if (connect(ports.get(i), BAUD_RATES[0])) {\t\n\t\t\tif (connect(ports.get(i), 57600)) {\n\t\t\t\tUtil.delay(TIMEOUT*2);\n\t\t\t\tif (serialPort != null) { close(); }\n\t\t\t}\n\t\t}\n\t}", "public TrafficLight(int id, int numberOfLights) {\n this.id = id;\n this.lightAmount = numberOfLights;\n }", "public abstract void update(float time);", "public ColorChange(IShape shape, Color initialColor, Color targetColor, int startTime,\n int endTime) {\n this.shape = shape;\n this.initialColor = initialColor;\n this.targetColor = targetColor;\n this.startTime = startTime;\n this.endTime = endTime;\n }", "void updateActiveTime(int T);", "public LightBulb(int red, int green,int blue){\r\n _switchedOn=false;\r\n\t\tif ((red < 0)||(red > 255)||(green < 0)||(green > 255)||(blue < 0)\r\n\t\t\t\t||(blue > 255)){\r\n\t\t\t_color = new RGBColor();\r\n\t\t}\r\n\t\telse {\r\n\t\t\t_color = new RGBColor(red, green, blue);\r\n\t\t}\r\n\t\r\n }", "public void renderLights()\r\n\t{\r\n\t\tlightHandler.render();\r\n\t}", "public void update(float deltaTime){\n\t\tIterator<LocationCircle> locationCircleIter = locationCircles.iterator();\n\t\twhile (locationCircleIter.hasNext()){\n\t\t\tLocationCircle currentLocationCircle = locationCircleIter.next();\n\t\t\tcurrentLocationCircle.update(deltaTime);\n\t\t\tif (currentLocationCircle.isDead()){\n\t\t\t\tlocationCircleIter.remove();\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "public abstract void interactionStarts(long ms);", "public LimeLight() {\n m_tableName = \"limelight\";\n m_table = NetworkTableInstance.getDefault().getTable(m_tableName);\n _hearBeat.startPeriodic(_hearBeatPeriod);\n }", "private void greenWestTurnLeft(int intersection, double time) {\n int index = getIntersectionIndex(intersection);\n isGreenWestTurnLeft[index] = true;\n LinkedList<Vehicle> vehQueue = westVehs.get(index);\n if (!vehQueue.isEmpty()) {\n Vehicle firstVeh = vehQueue.getLast();\n ProcessEvents.getEventQueue().add(new Event(time, EventType.Departure, intersection,\n Direction.W, firstVeh));\n }\n }", "public SpaceProbe gradientDescend(SpaceObject source, SpaceObject goal, double yearsTime){\n double swarmspeed = 10E7;\n Boolean stop = false;\n SpaceProbe localBestProbe = new SpaceProbe(source.getPosition().clone().addConstant(source.getRadius()), source.getVelocity().clone(),5000);\n SpaceProbe globalBestProbe = localBestProbe.clone();\n\n while (!stop){\n System.out.println(swarmspeed);\n ArrayList<SpaceProbe> probesList = new ArrayList<>();\n probesList.addAll(createSwarm(localBestProbe, swarmspeed));\n solarSystem = solarSystem.reset();\n solarSystem.objectList.addAll(probesList);\n\n\n for (int i = 0; i < (int) (yearsTime * 365 * 86400 / 60); i++) {\n solarSystem.updateSolarSystem(60);\n for (SpaceProbe p : probesList) {\n p.calcMinDist(goal);\n }\n }\n localBestProbe = bestProbe(probesList);\n System.out.println(localBestProbe);\n if (localBestProbe.getMinDist() < goal.getRadius()){\n stop = true;\n globalBestProbe = localBestProbe.clone();\n return globalBestProbe;\n }\n if (localBestProbe.getMinDist() < globalBestProbe.getMinDist()){\n globalBestProbe = localBestProbe.clone();\n }\n swarmspeed *= 0.7;\n if (swarmspeed < 1){\n return globalBestProbe;\n }\n Vector3D bestVelocity = globalBestProbe.getVelocity().clone();\n localBestProbe.reset();\n localBestProbe.setVelocity(bestVelocity.clone());\n }\n return globalBestProbe;\n }", "private static void determineColor(Scene scene, RayIntersection ri, short[] rgb, Point3D eye) {\r\n\t\tfinal double PRECISION = 1e-3;\r\n\r\n\t\t// ambient component\r\n\t\tfor (int i = 0; i < 3; i++) {\r\n\t\t\trgb[i] = AMBIENT_COMPONENT;\r\n\t\t}\r\n\r\n\t\t// we add to final result contribution from all lights, if light\r\n\t\t// actually lights the object\r\n\t\tfor (LightSource ls : scene.getLights()) {\r\n\t\t\tRay ray = Ray.fromPoints(ls.getPoint(), ri.getPoint());\r\n\t\t\tRayIntersection closest = findClosestIntersection(scene, ray);\r\n\t\t\tdouble dist = ls.getPoint().sub(ri.getPoint()).norm();\r\n\r\n\t\t\t// if closest exists, skip this light (it's ray is intercepted by\r\n\t\t\t// other intersection)\r\n\t\t\tif (closest != null && closest.getDistance() + PRECISION < dist) {\r\n\t\t\t\tcontinue;\r\n\t\t\t} else {\r\n\t\t\t\t\r\n\t\t\t\t// diffusion component\r\n\t\t\t\tdouble scalarProduct = Math.max(0,\r\n\t\t\t\t\t\tri.getNormal().scalarProduct(ls.getPoint().sub(ri.getPoint()).normalize()));\r\n\t\t\t\trgb[0] += ls.getR() * ri.getKdr() * scalarProduct;\r\n\t\t\t\trgb[1] += ls.getG() * ri.getKdg() * scalarProduct;\r\n\t\t\t\trgb[2] += ls.getB() * ri.getKdb() * scalarProduct;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// reflection component\r\n\t\t\t\tPoint3D n = ri.getNormal();\r\n\t\t\t\tPoint3D v = eye.sub(ri.getPoint()).normalize();\r\n\t\t\t\tPoint3D l = ri.getPoint().sub(ls.getPoint());\r\n\t\t\t\tPoint3D r = l.sub(n.scalarMultiply(2 * n.scalarProduct(l))).normalize();\r\n\t\t\t\tscalarProduct = Math.max(0, v.scalarProduct(r));\r\n\r\n\t\t\t\trgb[0] += ls.getR() * ri.getKrr() * Math.pow(scalarProduct, ri.getKrn());\r\n\t\t\t\trgb[1] += ls.getG() * ri.getKrg() * Math.pow(scalarProduct, ri.getKrn());\r\n\t\t\t\trgb[2] += ls.getB() * ri.getKrb() * Math.pow(scalarProduct, ri.getKrn());\r\n\t\t\t\t \r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "public void timeChanged( int newTime );", "public void setIntakeLights(){\n \tintakeLights.set(true);\n }", "public Light(double x, double y, double d, double t, double s) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.d = d;\n\t\tthis.t= t;\n\t\tthis.s = s;\n\t\tif(t > d)\n\t\t\tthrow new IllegalArgumentException(\"t can not be > d\");\n\t}", "public void compileStates(int timeinterval) {\r\n\t\tif(timeinterval == -1) {\r\n\t\t\t//Add initial State\r\n\t\t\treachableStates.add(initialState);\r\n\t\t\tthis.numReachableState = 1;\r\n\t\t\t\r\n\t\t}else{\t\t\t\t\r\n\t\tState s;\r\n\t\tint index = 0;\r\n\t\treachableStates.clear();\r\n\t\tfor(int i = 0; i < totalWorkloadLevel; i++) {\r\n\t\t\tfor(int j = 0; j < totalGreenEnergyLevel; j++) {\r\n\t\t\t\tfor(int k = 0; k < totalBatteryLevel; k++) {\r\n\t\t\t\t\ts = grid[timeinterval][i][j][k];\r\n\t\t\t\t\tif(s.getProbability() != 0) {\r\n\t\t\t\t\t\t//If probability of state is not 0, put this state into the reachable list. \r\n\t\t\t\t\t\ts.index = index;\r\n\t\t\t\t\t\tindex++;\r\n\t\t\t\t\t\treachableStates.add(s);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.numReachableState = index;\r\n\t\t}\r\n\t}", "private void setBoard() {\r\n Timer timer = new Timer();\r\n for (int i = 0; i < rectangles.size(); i++) {\r\n if (i < numTargets) {\r\n rectangles.get(i).setFill(Color.DARKBLUE);\r\n int finalI = i;\r\n rectangles.get(i).setOnMouseClicked(new EventHandler<>() {\r\n @Override\r\n public void handle(MouseEvent event) {\r\n rectangles.get(finalI).removeEventHandler(MouseEvent.MOUSE_CLICKED, this);\r\n rectangles.get(finalI).setFill(Color.DARKBLUE);\r\n for (int i = 0; i < numTargets; i++) {\r\n if (rectangles.get(i).getFill() == Color.DARKBLUE) numClicked++;\r\n }\r\n if (numClicked == numTargets) {\r\n level++;\r\n levelText.setValue(level);\r\n for (int j = 0; j < numTargets; j++) rectangles.get(j).setFill(Color.BLUE);\r\n numTargets++;\r\n numClicked = 0;\r\n if (upgradeCounter == upgradeBound) {\r\n upgradeCounter = 0;\r\n upgradeBound++;\r\n gridSize++;\r\n increaseGridSize();\r\n createRectangles();\r\n addRectanglesToGrid(grid, rectangles);\r\n rectangleSize -= 10;\r\n resizeRectangle();\r\n } else upgradeCounter++;\r\n\r\n Collections.shuffle(rectangles);\r\n TimerTask t = new TimerTask() {\r\n @Override\r\n public void run() {\r\n setBoard();\r\n }\r\n };\r\n timer.schedule(t, 1000L);\r\n }\r\n numClicked = 0;\r\n rectangles.get(finalI).removeEventHandler(MouseEvent.MOUSE_CLICKED, this);\r\n }\r\n });\r\n }\r\n else {\r\n rectangles.get(i).setFill(Color.BLUE);\r\n int finalI1 = i;\r\n rectangles.get(i).setOnMouseClicked(new EventHandler<MouseEvent>() {\r\n @Override\r\n public void handle(MouseEvent event) {\r\n rectangles.get(finalI1).removeEventHandler(MouseEvent.MOUSE_CLICKED, this);\r\n numClicked = 0;\r\n numLives--;\r\n livesText.setValue(numLives);\r\n Collections.shuffle(rectangles);\r\n setBoard();\r\n rectangles.get(finalI1).removeEventHandler(MouseEvent.MOUSE_CLICKED, this);\r\n }\r\n });\r\n }\r\n }\r\n\r\n TimerTask task = new TimerTask() {\r\n @Override\r\n public void run() {\r\n for (int i = 0; i < numTargets; i++)\r\n rectangles.get(i).setFill(Color.BLUE);\r\n }\r\n };\r\n timer.schedule(task, 2000L);\r\n }", "protected void doMoreLight() {\r\n\t\talpha = Math.min(1f, alpha + 0.05f);;\r\n\t\tsetAlphaOnTiles();\r\n\t\trepaint();\r\n\t}", "public void update(long timeElapsed, UpdateListener ful)\n\t{\n\t\tbyte x = (byte) (int) Math.floor(getX());\n\t\tbyte y = (byte) (int) Math.floor(getY());\n\t\t\n\t\tCell currentlyOn = ful.getCell(x, y);\n\t\t\n\t\tbyte dX = 0;\n\t\tbyte dY = 0;\n\t\t\n\t\tswitch(getState())\n\t\t{\n\t\t\tcase PlayerState.RUNNING_N:\n\t\t\tcase PlayerState.RUNNING_N2:\n\t\t\t\tdY = -1;\n\t\t\tbreak;\n\t\t\tcase PlayerState.RUNNING_E:\n\t\t\tcase PlayerState.RUNNING_E2:\n\t\t\t\tdX = +1;\n\t\t\tbreak;\n\t\t\tcase PlayerState.RUNNING_S:\n\t\t\tcase PlayerState.RUNNING_S2:\n\t\t\t\tdY = +1;\n\t\t\tbreak;\n\t\t\tcase PlayerState.RUNNING_W:\n\t\t\tcase PlayerState.RUNNING_W2:\n\t\t\t\tdX = -1;\n\t\t\tbreak;\n\t\t\tcase PlayerState.IDLE:\n\t\t\tcase PlayerState.IDLE2:\n\n\t\t\t\tbreak;\n\t\t\tcase PlayerState.PLACING_BOMB:\n\n\t\t\t\tcurrentlyOn.handleWalkOn(this, ful);\n\t\t\t\tdidChange = true;\n\t\t\t\treturn;\n\t\t\tdefault:\n\t\t\t\treturn;\n\t\t}\n\t\t\n\t\tif((getState() | 0x1) != 11)\n\t\t{\n\t\t\tfinal float isle_width = 0.1f;\n\t\t\tfinal float proximity = 0.5f - isle_width;\n\n\t\t\tCell nextCellA = ful.getCell((byte) Math.floor(getX() + dX * proximity + dY * isle_width), (byte) Math.floor(getY() + dY * proximity + dX * isle_width));\n\t\t\tCell nextCellB = ful.getCell((byte) Math.floor(getX() + dX * proximity - dY * isle_width), (byte) Math.floor(getY() + dY * proximity - dX * isle_width));\n\n\t\t\tif(nextCellA.canWalkOn() && nextCellB.canWalkOn())\n\t\t\t{\n\t\t\t\tfloat movedist = getSpeed() * timeElapsed / 1000.0F;\n\t\t\t\t\n\t\t\t\tif(movedist > 0.5F)\n\t\t\t\t{\n\t\t\t\t\tmovedist = 0.5F;\n\t\t\t\t}\n\t\t\t\tif(dX == 0)\n\t\t\t\t{\n\t\t\t\t\tsetY(getY() + dY * movedist);\n\t\t\t\t\t\n\t\t\t\t\tdidChange = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsetX(getX() + dX * movedist);\n\t\t\t\t\t\n\t\t\t\t\tdidChange = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tanimationTimer += timeElapsed;\n\t\tif(animationTimer > GameConsts.ANIMATION_TIME)\n\t\t{\n\t\t\tsetState((byte) (getState() ^ 1)); // Hampeln\n\t\t\tanimationTimer = 0;\n\t\t\tdidChange = true;\n\t\t}\n\t\t\n\t\tcurrentlyOn.handleWalkOn(this, ful); // die in fire, pick up Specials\n\t}", "public void timePassed(double dt) {\r\n this.moveOneStep(dt);\r\n }", "private int light(int x, int y, int currentX, int currentY, double r)\n\t{\n\t\tif(currentX < 0 || currentX >= this.width || currentY < 0 || currentY >= this.height)\n\t\t\treturn 0;\n\t\t\n\t\tif(tiles[currentX][currentY].getLit())\n\t\t\treturn 0;\n\t\t\n\t\tif(tiles[currentX][currentY].isOpaque()) {\n\t\t\ttiles[currentX][currentY].setLit(true);\n\t\t\ttiles[currentX][currentY].setSeen(true);\n\t\t\treturn 1;\n\t\t}\n\t\t\n\t\tdouble distance = Math.sqrt( Math.pow(currentX - x, 2) + Math.pow(currentY - y, 2) );\n\t\t\n\t\tif(distance > r)\n\t\t\treturn 0;\n\t\t\n\t\t//Done with all base cases\n\t\t\n\t\ttiles[currentX][currentY].setLit(true);\n\t\ttiles[currentX][currentY].setSeen(true);\n\t\treturn 1 + light(x,y, currentX + 1, currentY, r) + light(x,y, currentX - 1, currentY, r) + light(x,y, currentX, currentY + 1, r) + light(x,y, currentX + 1, currentY - 1, r);\n\t\t\n\t\t\n//\t\tint result = 0;\n\n\t\t// ***** <YOUR CODE GOES HERE> *****\n//\t\treturn result;\n\t}", "void updateValue( float time ) {\n\tboolean newVal = in1 | in2;\n\tif (newVal != value) {\n\t value = newVal;\n\t Simulator.schedule(\n\t new Simulator.Event( time + (delay * 0.95f)\n\t\t+ PRNG.randomFloat( delay * 0.1f ) ) {\n\t\t void trigger() {\n\t\t\toutputChangeEvent( this.time );\n\t\t }\n\t\t}\n\t );\n\t}\n }", "protected static void tracer(Scene scene, Ray ray, short[] rgb) {\n\t\trgb[0] = 0;\n\t\trgb[1] = 0;\n\t\trgb[2] = 0;\n\t\tRayIntersection closest = findClosestIntersection(scene, ray);\n\t\tif (closest == null) {\n\t\t\treturn;\n\t\t}\n\t\tList<LightSource> lights = scene.getLights();\n\t\t\n\t\trgb[0] = 15;\n\t\trgb[1] = 15;\n\t\trgb[2] = 15;\n\t\tPoint3D normal = closest.getNormal();\n\t\tfor (LightSource light : lights) {\n\t\t\tRay lightRay = Ray.fromPoints(light.getPoint(), closest.getPoint());\n\t\t\tRayIntersection lightClosest = findClosestIntersection(scene, lightRay);\n\n\t\t\tif(lightClosest == null) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\tif ( lightClosest.getPoint().sub(light.getPoint()).norm() + 0.001 < \n\t\t\t\t\tclosest.getPoint().sub(light.getPoint()).norm()) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\tPoint3D r = lightRay.direction.sub(normal.scalarMultiply(2*(lightRay.direction.scalarProduct(normal))));\n\t\t\t\n\t\t\trgb[0] += light.getR()*(closest.getKdr()*(Math.max(lightRay.direction.scalarProduct(normal),0)) + closest.getKrr() *\n\t\t\t\t\tMath.pow(ray.direction.scalarProduct(r),closest.getKrn()));\n\t\t\trgb[1] += light.getG()*(closest.getKdg()*(Math.max(lightRay.direction.scalarProduct(normal),0)) + closest.getKrg() *\n\t\t\t\t\tMath.pow(ray.direction.scalarProduct(r),closest.getKrn()));\n\t\t\trgb[2] += light.getB()*(closest.getKdb()*(Math.max(lightRay.direction.scalarProduct(normal),0)) + closest.getKrb() *\n\t\t\t\t\tMath.pow(ray.direction.scalarProduct(r),closest.getKrn()));\n\t\t}\n\t}", "void updateValue( float time ) {\n\tboolean newVal = in1 & in2;\n\tif (newVal != value) {\n\t value = newVal;\n\t Simulator.schedule(\n\t new Simulator.Event(\n\t\ttime + (delay * 0.95f)\n\t\t+ PRNG.randomFloat( delay * 0.1f ) ) {\n\t\t void trigger() {\n\t\t\toutputChangeEvent( this.time );\n\t\t }\n\t\t}\n\t );\n\t}\n }", "public static void worldTimeStep() {\r\n \t\r\n \t//remake the hash map based on the x and y coordinates of the critters\r\n \tremakeMap(population);\r\n \t\r\n \t//Iterate through the grid positions in the population HashMap\r\n \tIterator<String> populationIter = population.keySet().iterator();\r\n \twhile (populationIter.hasNext()) { \r\n String pos = populationIter.next();\r\n ArrayList<Critter> critterList = population.get(pos);\r\n \r\n //Iterate through the critters ArrayList \r\n ListIterator<Critter> currCritter = critterList.listIterator();\r\n while(currCritter.hasNext()) {\r\n \tCritter thisCritter = currCritter.next();\r\n \tthisCritter.hasMoved = false;\r\n \tthisCritter.doTimeStep();\r\n \tif(thisCritter.hasMoved || thisCritter.getEnergy() <= 0) {\r\n \t\tcurrCritter.remove();\r\n \t} else {\r\n \t\tcurrCritter.set(thisCritter);\r\n \t}\r\n }\r\n population.replace(pos, critterList);\r\n }\r\n \t\r\n \tfixPopulation();\r\n \tmergePopulationMoved(populationMoved);\r\n \t\r\n \tdoEncounters();\r\n \t\r\n \tfixPopulation();\r\n \tmergePopulationMoved(populationMoved); //Stage 1 Complete\r\n \r\n \t//deduct resting energy cost from all critters in the hash map\r\n \t//could do a FOR EACH loop instead of iterator -- fixed\r\n \tpopulationIter = population.keySet().iterator();\r\n \twhile(populationIter.hasNext()) {\r\n \t\tString pos = populationIter.next();\r\n ArrayList<Critter> critterList = population.get(pos);\r\n \r\n //Iterate through the Critters attached to the keys in the Hash Map\r\n ListIterator<Critter> currCritter = critterList.listIterator();\r\n while(currCritter.hasNext()) {\r\n \tCritter thisCritter = currCritter.next();\r\n \t//deduct the rest energy cost from each critter\r\n \tthisCritter.energy = thisCritter.energy - Params.REST_ENERGY_COST;\r\n \t//remove all critters that have died after reducing the rest energy cost\r\n \tif(thisCritter.getEnergy() <= 0) {\r\n \t\tcurrCritter.remove();\r\n \t} else {\r\n \t\tcurrCritter.set(thisCritter);\r\n \t}\r\n }\r\n population.replace(pos, critterList);\r\n \t}\r\n \t\r\n \tmergePopulationMoved(babies);\r\n \t\r\n \t\r\n \t//add the clovers in each refresh of the world \r\n \ttry {\r\n \t\tfor(int j = 0; j < Params.REFRESH_CLOVER_COUNT; j++) {\r\n \t\t\tcreateCritter(\"Clover\");\r\n \t\t}\r\n \t} catch(InvalidCritterException p) {\r\n \t\tp.printStackTrace();\r\n \t}\r\n }", "public LightCollection(int noOfLights, String[] listOfColours) {\r\n \tlightsArray = new ArrayList<Light>();\r\n this.listOfColours = listOfColours;\r\n for (int i = 0; i < noOfLights; i++) {\r\n \tlightsArray.add(getColour(i));\r\n }\r\n }", "public void compute_TimerEvents()\r\n {\r\n int num;\r\n\r\n // Avant le fade-in : que les evenements START OF GAME\r\n // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n if ((rhPtr.rhGameFlags & CRun.GAMEFLAGS_FIRSTLOOPFADEIN) != 0)\r\n {\r\n num = listPointers[rhEvents[-COI.OBJ_GAME] + 1]; // -NUM_START\r\n if (num != 0)\r\n {\r\n listPointers[rhEvents[-COI.OBJ_GAME] + 1] = -1;\r\n computeEventList(num, null);\r\n rh4CheckDoneInstart = true;\r\n }\r\n return;\r\n }\r\n\r\n // Les evenements timer\r\n // ~~~~~~~~~~~~~~~~~~~~\r\n num = listPointers[rhEvents[-COI.OBJ_TIMER] + 3]; // -NUM_TIMER\r\n if (num != 0)\r\n {\r\n computeEventList(num, null);\r\n }\r\n\r\n // Les evenements start of game\r\n // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n num = listPointers[rhEvents[-COI.OBJ_GAME] + 1]; // -NUM_START\r\n int num2, count;\r\n CEventGroup evgPtr, evgGroup;\r\n CEvent evtPtr;\r\n if (num != 0)\r\n {\r\n if (rh4CheckDoneInstart)\r\n {\r\n // Marque DONEBEFOREFADEIN les actions d���ja effectuees : elle ne seront pas r���effectu���es...\r\n evgGroup = null;\r\n num2 = num;\r\n do\r\n {\r\n evgPtr = eventPointersGroup[num2];\r\n if (evgPtr != evgGroup)\r\n {\r\n evgGroup = evgPtr;\r\n\r\n // Stoppe les actions deja effectuees\r\n for (count = evgPtr.evgNCond; count < evgPtr.evgNCond + evgPtr.evgNAct; count++)\r\n {\r\n evtPtr = evgPtr.evgEvents[count];\r\n if ((evtPtr.evtFlags & CEvent.EVFLAGS_NOTDONEINSTART) == 0)\t\t// Une action BAD?\r\n {\r\n evtPtr.evtFlags |= CEvent.EVFLAGS_DONEBEFOREFADEIN;\r\n }\r\n }\r\n }\r\n num2++;\r\n } while (eventPointersGroup[num2] != null);\r\n }\r\n computeEventList(num, null);\r\n listPointers[rhEvents[-COI.OBJ_GAME] + 1] = 0;\t\t// Une seule fois\r\n if (rh4CheckDoneInstart)\r\n {\r\n // Enleve les flags\t\r\n evgGroup = null;\r\n num2 = num;\r\n do\r\n {\r\n evgPtr = eventPointersGroup[num2];\r\n if (evgPtr != evgGroup)\r\n {\r\n evgGroup = evgPtr;\r\n // Enleve le flag\r\n for (count = evgPtr.evgNCond; count < evgPtr.evgNCond + evgPtr.evgNAct; count++)\r\n {\r\n evtPtr = evgPtr.evgEvents[count];\r\n evtPtr.evtFlags &= ~CEvent.EVFLAGS_DONEBEFOREFADEIN;\r\n }\r\n }\r\n num2++;\r\n } while (eventPointersGroup[num2] != null);\r\n rh4CheckDoneInstart = false;\r\n }\r\n }\r\n\r\n // Les evenements timer inferieur\r\n // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n num = listPointers[rhEvents[-COI.OBJ_TIMER] + 2]; // -NUM_TIMERINF\r\n if (num != 0)\r\n {\r\n computeEventList(num, null);\r\n }\r\n\r\n // Les evenements timer superieur\r\n // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n num = listPointers[rhEvents[-COI.OBJ_TIMER] + 1]; // -NUM_TIMERSUP\r\n if (num != 0)\r\n {\r\n computeEventList(num, null);\r\n }\r\n }", "private void startPeriodicColorTransmit() {\n mMeshHandler.postDelayed(transmitCallback, TRANSMIT_PERIOD_MS);\n }", "public void timePassed(double dt) {\r\n moveOneStep(dt);\r\n }", "public void lightAttack(HashSet<String> heldKeyList,\n HashSet<String> tappedKeys) {\n if (this.activeAttackState) {\n return;\n }\n\n if (heldKeyList.contains(this.dropKey) && this.dir == -1) {\n this.weapon.attack(this, \"lightDLeft\", this.dir);\n } else if (heldKeyList.contains(this.dropKey) && this.dir == 1) {\n this.weapon.attack(this, \"lightDRight\", this.dir);\n } else if (this.xVel < 0 && this.state.equals(\"onGround\")) {\n this.weapon.attack(this, \"lightLeft\", this.dir);\n } else if (this.xVel > 0 && this.state.equals(\"onGround\")) {\n this.weapon.attack(this, \"lightRight\", this.dir);\n } else if (this.xVel == 0 && this.dir == -1\n && this.state.equals(\"onGround\")) {\n this.weapon.attack(this, \"lightNLeft\", this.dir);\n } else if (this.xVel == 0 && this.dir == 1\n && this.state.equals(\"onGround\")) {\n this.weapon.attack(this, \"lightNRight\", this.dir);\n } else if (this.state.equals(\"inAir\")\n && tappedKeys.contains(this.jumpKey)\n && !this.lightRecovery) {\n this.weapon.attack(this, \"lightJump\", this.dir);\n this.lightRecovery = true;\n } else if (this.state.equals(\"inAir\") \n && this.xVel == 0 && this.dir == -1) {\n this.weapon.attack(this, \"lightNLair\", this.dir);\n } else if (this.state.equals(\"inAir\") \n && this.xVel == 0 && this.dir == 1) {\n this.weapon.attack(this, \"lightNRair\", this.dir);\n } else if (this.state.equals(\"inAir\") \n && this.xVel < 0) {\n this.weapon.attack(this, \"lightSLair\", this.dir);\n } else if (this.state.equals(\"inAir\") \n && this.xVel > 0) {\n this.weapon.attack(this, \"lightSRair\", this.dir);\n }\n }", "public static void main(String[] args) {\n\r\n\t\tLane north = new Lane(\"North\");\r\n\t\tLane south = new Lane(\"South\");\r\n\t\tLane east = new Lane(\"East\");\r\n\t\tLane west = new Lane(\"West\");\r\n\t\t\r\n\t\tLane[] lanes = {north, south, east, west};\r\n\t\t\r\n\t\tThread t1 = new Thread(north);\r\n\t\tThread t2 = new Thread(south);\r\n\t\tThread t3 = new Thread(east);\r\n\t\tThread t4 = new Thread(west);\r\n\t\t\r\n\t\tt1.start();\r\n\t\tt2.start();\r\n\t\tt3.start();\r\n\t\tt4.start();\r\n\t\ttry {\r\n\t\t\tThread.sleep(3000);\r\n\t\t} catch (InterruptedException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\tfor (int i = 0; i < 3; ++i) {\r\n\r\n\t\t\tLane longestWait = getLongestWaitLane(lanes);\r\n\t\t\tif (longestWait != null && longestWait.getFront() != null) {\r\n\t\t\t\tCar temp = longestWait.remove();\r\n\t\t\t\tSystem.out.println(\"Let \" + temp.getCarID() + \" through after \" + temp.getWaitTime() + \"\\n\");\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep(500);\r\n\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tnorth.setGenerate(false);\r\n\t\tsouth.setGenerate(false);\r\n\t\teast.setGenerate(false);\r\n\t\twest.setGenerate(false);\r\n\t\ttry {\r\n\t\t\tt1.join();\r\n\t\t\tt2.join();\r\n\t\t\tt3.join();\r\n\t\t\tt4.join();\r\n\t\t}\r\n\t\tcatch (InterruptedException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t}\r\n\t\tSystem.out.println(\"STOPPED\");\r\n\t\t\r\n\t\twhile (getLongestWaitLane(lanes) != null) {\r\n\t\t\tLane longestWait = getLongestWaitLane(lanes);\r\n\t\t\tif (longestWait != null && longestWait.getFront() != null) {\r\n\t\t\t\tCar temp = longestWait.remove();\r\n\t\t\t\tSystem.out.println(\"Let \" + temp.getCarID() + \" through after \" + temp.getWaitTime() + \"\\n\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public static void updateTime(Basic b, int timePassed, int clock) {\n\t\t\n\t\tWorkFrame_Sim.b = b;\n\t\tStack<Object> stack = b.getCurrentWorkFrame();\n\t\t\n\t\tif (stack.size() <= 0) { //this may happen if agent/obj has no active wf\n\t\t\treturn;\n\t\t}\n\t\tif (!(stack.peek() instanceof ActivityInstance))\n\t\t\tthrow new RuntimeException(\"Top of the stack should hold an \" +\n\t\t\t\t\t\"activity or nothing! This is neither! WF_Sim.updateTime\");\n\t\tActivityInstance ai = (ActivityInstance) stack.peek();\n\t\tif (!(ai.getActivity() instanceof CompositeActivity)) {\n\t\t\t\n\t\t\tint oldTime = ai.getDuration();\n\t\t\tif (oldTime == ai.getStartDuration()) {\n\t\t\t\tActivity_Sim.performActivity(ai.getActivity(), b, \"start\", clock-timePassed);\n\t\t\t}\n\t\t\tint newTime = oldTime - timePassed;\n\t\t\tif (newTime < 0)\n\t\t\t\tthrow new RuntimeException(\"you got the wrong min time! WF_Sim\");\n\t\t\telse if (newTime == 0) {\n\t\t\t\t//perform activities at the end\n\t\t\t\tActivity_Sim.performActivity(ai.getActivity(), b, \"end\", clock); \n\t\t\t\tstack.pop(); //done with this activity\n\t\t\t\t((WorkFrame) stack.peek()).incIndex();\n\t\t\t\tstack = concludesAfterActivity(b, stack);\n\t\t\t\tb.setCurrentWorkFrame(stack);\n\t\t\t}\n\t\t\telse {\n\t\t\t\t\n\t\t\t\tai.setDuration(newTime);\n\t\t\t}\n\t\t}\n\t}" ]
[ "0.5635591", "0.54417664", "0.53809375", "0.50810677", "0.50707203", "0.5058489", "0.49736598", "0.49482784", "0.4888992", "0.4853933", "0.4797921", "0.47493777", "0.47112536", "0.4704981", "0.47007114", "0.46878016", "0.46636194", "0.46359718", "0.46316528", "0.46091357", "0.45691976", "0.45546514", "0.45503822", "0.4476523", "0.4476054", "0.44480333", "0.4441401", "0.44377908", "0.44376335", "0.4402069", "0.4357125", "0.43424618", "0.43418702", "0.43336064", "0.43293488", "0.4315631", "0.43025607", "0.42988986", "0.42954946", "0.4292284", "0.42904213", "0.42840078", "0.427894", "0.4274737", "0.42655435", "0.42404282", "0.42350143", "0.42338404", "0.42329565", "0.42212683", "0.42203423", "0.42197418", "0.42159608", "0.42124695", "0.42020336", "0.41891885", "0.41875806", "0.4180449", "0.4155955", "0.41486716", "0.41398454", "0.4123584", "0.41194594", "0.41182688", "0.4115266", "0.41118005", "0.41116238", "0.41089067", "0.41039103", "0.4094872", "0.40839657", "0.40839273", "0.408344", "0.40767556", "0.40754113", "0.40749884", "0.4072952", "0.40595788", "0.40532023", "0.40499005", "0.4044975", "0.40445104", "0.40442345", "0.40440091", "0.40416238", "0.40413144", "0.40397787", "0.4029729", "0.40295973", "0.4023893", "0.40217683", "0.40195733", "0.40178442", "0.40173393", "0.40151158", "0.4013759", "0.4010964", "0.4010872", "0.39975345", "0.3995066" ]
0.68240297
0
Returns the string representation of this set of IntersectionLights. The format to return is "duration:list,of,intersection,ids" where 'duration' is our current duration and 'list,of,intersection,ids' is a commaseparated list of the IDs of all intersections that have an incoming route to this set of traffic lights, in order given to IntersectionLights' constructor. For example, for a set of traffic lights with inbound routes from three intersections A, C and B in that order, and a duration of 8 seconds, return the string "8:A,C,B". Overrides: toString in class Object
@Override public String toString() { String intersectionName = ""; for (Route demo : connections) { intersectionName += demo.getFrom() + ","; } return duration + ":" + intersectionName.substring(0, intersectionName.length() - 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString(){\n\t\tString str = \"<Route: \";\n\t\tfor(int i=0; i<visits.size(); i++){\n\t\t\tVisit v = visits.get(i);\n\t\t\tstr += \"\\t\"+i+\": \"+ v +\"\\t\"+ \"At time: \"+arrivalTimes.get(i)+\"->\"+departureTimes.get(i);\n\t\t\tif(locked.get(i)) str += \" locked\";\n\t\t\tstr += \"\\n\";\n\t\t}\n\t\tstr += \"\\t\"+visits.get(0);\n\t\treturn str+\">\";\n\t}", "@Override\n\tpublic String toString()\n\t{\n\t\tString s = this.name + \" --> [\";\n\t\tfor (int i = 0; i < this.interferences.size(); i++)\n\t\t\ts += this.interferences.get(i).getName() + \", \";\n\t\tif (this.interferences.size() > 0)\n\t\t\ts = s.substring(0, s.length() - 2);\n\t\ts += \"]\";\n\t\tif (this.requiredRegister != -1)\n\t\t\ts += \" Required reg: \" + this.requiredRegister;\n\t\treturn s;\n\t}", "public String getStringRepresentation() {\n StringJoiner joiner = new StringJoiner(STRING_FORMAT_DELIMITER);\n\n joiner.add(this.getCaller())\n .add(this.getCallee())\n .add(SIMPLE_DATE_FORMAT.format(startTime))\n .add(SIMPLE_DATE_FORMAT.format(endTime));\n\n return joiner.toString();\n }", "@Override\n\tpublic String toString() {\n\t\treturn this.timerID + \"|\" + this.delay + \"|\" + this.flags + \"|\" + this.message;\n\t}", "@Override\n public String toString() {\n return \"FLIGHT'S ID: \" + Id + \"\\nFROM: \" + From + \"\\tTO: \" + To + \"\\nAIRCRAFT TYPE: \"\n + Type + \", MILITARY: \" + (Mil ? \"yes\" : \"no\") + \"\\nSPEED: \" + Spd\n + \", ALTITUDE: \" + Alt;\n }", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n int startIndex = 0;\n while (startIndex < total - laneSize - 1) {\n startIndex = printOddLane(sb, startIndex);\n startIndex = printEvenLane(sb, startIndex + laneSize);\n }\n\n return sb.toString();\n }", "public String toString(){\r\n String strout = \"\";\r\n strout = String.format(\"%02d:%02d\", this.getMinutes(), this.getSeconds());\r\n return strout;\r\n }", "public String toString()\n {\n String s = \"\";\n for (int i=0; i<list.length; i++)\n s += i + \":\\t\" + list[i] + \"\\n\";\n return s;\n }", "public String toString() {\n\t\t// FILL IN CODE\n\t\treturn \"(\" + origin + \",\" + dest + \",\" + date + \",\" + time + \")\"; // don't forget to change it\n\t}", "@Override\n public String toString() {\n StringBuilder s = new StringBuilder(\"{\");\n for (Long v : this)\n s.append(v).append(\", \");\n if (s.length()>1) s.setLength(s.length()-2);\n return s.append(\"}\").toString();\n }", "public String toString() {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t // 4\n\t\tString hours = String.format(\"%02d\", this.hours);\n\t\tString minutes = String.format(\"%02d\", this.minutes);\n\t\tString seconds = String.format(\"%05.2f\", this.seconds);\n\n\t\tString time = hours + \":\" + minutes + \":\" + seconds;\n\t\treturn time;\n\t}", "public String toString() {\n\t\treturn (new StringBuilder().append(\"Turn: \")\n\t\t\t.append(turnNumber)\n\t\t\t.append(\"\\n\")\n\t\t\t.append(towerSet.toString())\n\t\t\t.append('\\n')).toString();\n\t}", "public String toString() {\n\t\treturn hours + \"h\" + minutes + \"m\";\n\t}", "public String toString()\n {\n return id() + location().toString() + direction().toString();\n }", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getInstanceId() != null)\n sb.append(\"InstanceId: \").append(getInstanceId()).append(\",\");\n if (getName() != null)\n sb.append(\"Name: \").append(getName()).append(\",\");\n if (getDescription() != null)\n sb.append(\"Description: \").append(getDescription()).append(\",\");\n if (getOutboundCallerConfig() != null)\n sb.append(\"OutboundCallerConfig: \").append(getOutboundCallerConfig()).append(\",\");\n if (getHoursOfOperationId() != null)\n sb.append(\"HoursOfOperationId: \").append(getHoursOfOperationId()).append(\",\");\n if (getMaxContacts() != null)\n sb.append(\"MaxContacts: \").append(getMaxContacts()).append(\",\");\n if (getQuickConnectIds() != null)\n sb.append(\"QuickConnectIds: \").append(getQuickConnectIds()).append(\",\");\n if (getTags() != null)\n sb.append(\"Tags: \").append(getTags());\n sb.append(\"}\");\n return sb.toString();\n }", "@Override\r\n public String toString() \r\n {\n return \"[\" + getStart() + \", \" + getEnd() + \"]\";\r\n }", "public String toString() {\n\t\treturn \"Road from \" + getLeave() + \" to \" + getArrive() + \" with toll \" + getToll();\n\t}", "@Override\n public String toString() {\n return this.START_TIME.toString() + \" \" + this.TYPE + this.NUMBER + \": \" + viewListOfStops() +\n \" COST: \"\n + this.deducted + \" \" ;\n }", "public String toString(){\n String s = \"id: \" + Byte.toString(id) + \" \";\n s+= \"name: \"+name+ \" \";\n s+= \"hp: \" + Byte.toString(hp) + \" \";\n s+= \"xPos: \" + Short.toString(xPos)+\" \";\n s+= \"yPos: \" + Short.toString(yPos)+\"\\n\";\n for (Pair<Byte,Short> pair : weapons){\n s+= \"weaponId: \" + Byte.toString(pair.getKey()) + \" \" + \"ammo: \" + Short.toString(pair.getValue())+'\\n';\n }\n s+= \"Bullets fired:\"+'\\n';\n for(Bullet b : bulletsFired){\n s+= b.toString()+'\\n';\n }\n s+= \"Weapons tracked:\"+'\\n';\n for(Byte b : weaponEntryTracker){\n s+= Byte.toString(b)+'\\n';\n }\n s+= \"initial y: \" +Short.toString(initial_y)+'\\n';\n s+= \"current weapon: \" + Byte.toString(currentWeapon.getKey()) + \" ammo: \" + Short.toString(currentWeapon.getValue())+'\\n';\n s+= \"shooting direction: \" +Short.toString(shootingDirection)+'\\n';\n return s;\n }", "@Override\n public String toString() {\n final Map<String, Object> augmentedToStringFields = Reflect.getStringInstanceVarEntries(this);\n augmentToStringFields(augmentedToStringFields);\n return Reflect.joinStringMap(augmentedToStringFields, this);\n }", "public String toString() {\r\n final StringBuffer stringBuffer = new StringBuffer();\r\n stringBuffer.append( \"amount of wall rubbles = \" );\r\n stringBuffer.append( amountOfWallRubbles );\r\n stringBuffer.append( \"%, \" );\r\n stringBuffer.append( \"amount of blood = \" );\r\n stringBuffer.append( amountOfBlood );\r\n stringBuffer.append( \"%, \" );\r\n if ( isKillLimit ) {\r\n stringBuffer.append( \"kill limit = \" );\r\n stringBuffer.append( killLimit );\r\n stringBuffer.append( \", \" );\r\n }\r\n if ( isTimeLimit ) {\r\n stringBuffer.append( \"time limit = \" );\r\n stringBuffer.append( timeLimit );\r\n stringBuffer.append( \" minute\" );\r\n if ( timeLimit > 1 )\r\n stringBuffer.append( 's' );\r\n stringBuffer.append( \", \" );\r\n }\r\n stringBuffer.append( \"period time = \" );\r\n stringBuffer.append( periodTime );\r\n stringBuffer.append( \" ms\" );\r\n return stringBuffer.toString();\r\n }", "public String toString() {\n return \"(\" + From + \",\" + To + \")\";\n }", "public String toString() {\n\t\treturn \"SList[start=\"+this.start+\"]\";\n\t}", "public String toString() {\n\t\tString newString = \"{ \" + first + \" to \" + last + \" by \" + step + \" }\";\n\t\treturn newString;\n\t}", "@Override\n public final String toString() {\n \t\n \treturn String.format(\"[%1$s [%2$s\\t%3$s\\t%4$s]%1$s [%5$s\\t%6$s\\t%7$s]%1$s [%8$s\\t%9$s\\t%10$s] ]\", System.getProperty(\"line.separator\"), this.m00, this.m01, this.m02,\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t this.m10, this.m11, this.m12,\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t this.m20, this.m21, this.m22);\n }", "@Override\n\tpublic String toString() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\treturn builder.append(title)\n\t\t\t.append(\"(\")\n\t\t\t.append(year)\n\t\t\t.append(\", \")\n\t\t\t.append(duration)\n\t\t\t.append(\" mn)#\")\n\t\t\t.append(id)\n\t\t\t.toString(); // finalize String result\n\t}", "public String toString(){\n\n\t\tString str = \"(numStrings=\"+ getNumStrings() +\n\t\t\t\t\t\",\\nLength=\"+ getGuitarLength() +\n\t\t\t\t\t\",\\nmanufacturer=\"+ getGuitarManufacturer() +\n\t\t\t\t\t\",\\ncolor=\"+ getGuitarColorString() + \")\";\n\t\treturn str;\n\t}", "public String toString(){\r\n\t\tString superString = super.toString();\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\t//Add the object to the string\r\n\t\tbuilder.append(\". \");\r\n\t\tif (this.error != null) {\r\n\t\t\tbuilder.append(error.toString());\r\n\t\t\tbuilder.append(\". \");\r\n\t\t}\r\n\t\tbuilder.append(\"Object: \");\r\n\t\tbuilder.append(object.toString());\r\n\t\tif (this.recordRoute)\r\n\t\t\tbuilder.append(\", [RECORD_ROUTE]\");\r\n\t\tif (this.reRouting) \r\n\t\t\tbuilder.append(\", [RE-ROUTING]\");\r\n\t\t//Add the masks to the string\r\n\t\tif (this.mask != null) {\r\n\t\t\tbuilder.append(\", label set: \");\r\n\t\t\tbuilder.append(mask.toString());\r\n\t\t}\r\n\t\treturn superString.concat(builder.toString());\r\n\t}", "public String toString() {\r\n\r\n\t\tStringBuilder buffer = new StringBuilder();\r\n\r\n\t\tbuffer.append(\"id=[\").append(id).append(\"] \");\r\n\r\n\t\treturn buffer.toString();\r\n\t}", "public String toString() {\n StringBuilder s = new StringBuilder();\n String NEWLINE = System.getProperty(\"line.separator\");\n s.append(vertices + \" \" + NEWLINE);\n for (int v = 0; v < vertices; v++) {\n s.append(String.format(\"%d: \", v));\n for (Map.Entry<Integer, Integer> e : adjacent(v).entrySet()) {\n s.append(String.format(\"%d (%d) \", e.getKey(), e.getValue()));\n }\n s.append(NEWLINE);\n }\n return s.toString();\n }", "public String toString() {\n return\n getLatitude(\"\") + \"|\" +\n getLongitude(\"\") + \"|\" +\n getDepth(\"\") + \"|\" +\n getTemperatureMin(\"\") + \"|\" +\n getTemperatureMax(\"\") + \"|\" +\n getSalinityMin(\"\") + \"|\" +\n getSalinityMax(\"\") + \"|\" +\n getOxygenMin(\"\") + \"|\" +\n getOxygenMax(\"\") + \"|\" +\n getNitrateMin(\"\") + \"|\" +\n getNitrateMax(\"\") + \"|\" +\n getPhosphateMin(\"\") + \"|\" +\n getPhosphateMax(\"\") + \"|\" +\n getSilicateMin(\"\") + \"|\" +\n getSilicateMax(\"\") + \"|\" +\n getChlorophyllMin(\"\") + \"|\" +\n getChlorophyllMax(\"\") + \"|\";\n }", "public String toString() {\n String res = String.format(\"(%2d,%2d):\", n, H.length);\n for (int i = 0; i < n; ++i)\n res += String.format(\" %3d\", H[i]);\n if (n != 0) res += \";\"; else res += \" \";\n if (n < H.length) {\n res += String.format(\"%3d\", H[n]);\n for (int i = n+1; i < H.length; ++i)\n res += String.format(\" %3d\", H[i]);\n }\n return res;\n }", "public String toString() {\n\t\treturn \"[\"+this.getClass().getName()+\":\"+\n\t\t\tgetId()+\"]\";\n\t}", "@Override\n public String toString() {\n String leftAlignFormat = \"| %-10s | %-40s |%n\";\n String line = String.format(\"+------------+------------------------------------------+%n\");\n return line + String.format(leftAlignFormat,\"A.ID\", appointmentID)\n + line + String.format(leftAlignFormat,\"P.ID\", patientID)\n + line + String.format(leftAlignFormat,\"Title\", title)\n + line + String.format(leftAlignFormat,\"Date\", date)\n + line + String.format(leftAlignFormat,\"Start\", startTime)\n + line + String.format(leftAlignFormat,\"End\", endTime)\n + line;\n }", "public String toString(){\n String out = \"\";\n for(Flight currentFlight : flights){\n out += currentFlight.toString() + \"\\n\";\n }\n for(Availability currentAvailability : availabilities){\n out += currentAvailability.toString() + \"\\n\";\n }\n for(Price currentPrice : prices){\n out += currentPrice.toString() + \"\\n\";\n }\n out += flightSponsored.toString() + \"\\n\";\n return out;\n }", "@Override public String toString() {\n String toReturn = \"\";\n for (Rotor rotor : rotors)\n toReturn = rotor.getPositionString() + (toReturn.isEmpty() ? \"\" : \" \") + toReturn;\n return toReturn;\n }", "public String toString() {\n String memory = super.toString();\n return memory + \"(\" + locations + \", \" + vehicles + \")\";\n }", "public String toString() {\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(\"[\");\n\t\tfor(int i = 0; i < size(); i++) {\n\t\t\tif( i != size()-1)\n\t\t\t\tsb.append(get(i) + \" , \");\n\t\t\telse\n\t\t\t\tsb.append(get(i));\n\t\t}\n\t\tsb.append(\"]\");\n\t\tsb.append(\"\\n\");\n\t\t\n\t\treturn sb.toString();\n\t}", "public String toString() {\n\t\tString s = \"(A street: the periode to pass this street is \" + mTravelingTime + \" minutes: \";\n\t\ts += \"The maximum amount of cars that can enter this street is \" + mCapacity + \": \";\n\t\ts += \"The current amount of cars on the street is \" + mVehicles.size();\n\t\ts += \")\";\n\t\treturn s;\n\t}", "public String toString() {\n\t\tString str = word + \":\";\n\t\tfor (int i = 0; i < list.size() - 1; i++)\n\t\t\tstr += list.get(i) + \",\";\n\t\tif (list.size() != 0)\n\t\t\tstr += list.get(list.size() - 1);\n\t\treturn str;\n\t}", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getSnapshotIdentifier() != null)\n sb.append(\"SnapshotIdentifier: \").append(getSnapshotIdentifier()).append(\",\");\n if (getClusterIdentifier() != null)\n sb.append(\"ClusterIdentifier: \").append(getClusterIdentifier()).append(\",\");\n if (getManualSnapshotRetentionPeriod() != null)\n sb.append(\"ManualSnapshotRetentionPeriod: \").append(getManualSnapshotRetentionPeriod()).append(\",\");\n if (getTags() != null)\n sb.append(\"Tags: \").append(getTags());\n sb.append(\"}\");\n return sb.toString();\n }", "public String toString()\n {\n return getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(this)) + \"[uniqueID=\" + getID()\n + \", serviceDescription=\" + data.serviceDescription + \", updateTime=\" + data.updateTime + \", lsData\"\n + ((lsData == null) ? \"=null\" : \"[language=\" + lsData.language + \"]\") + \"]\";\n }", "public String toString() {\n\n format();\n \n if (string == null) {\n switch (statementList.size()) {\n case 0:\n string = \"\";\n break;\n case 1:\n string = statementList.get(0);\n break;\n default:\n int len = statementList.size() * 2;\n for (int i = 0; i < statementList.size(); i++) {\n len += statementList.get(i).length();\n }\n StringBuilder sb = new StringBuilder(len);\n sb.append(statementList.get(0));\n for (int i = 1; i < statementList.size(); i++) {\n sb.append(\"; \");\n sb.append(statementList.get(i));\n }\n string = sb.toString();\n }\n }\n \n return string;\n }", "public String toString() {\n if (size == 0) {\n return \"{}\";\n }\n String str = \"{\";\n for (int i = 0; i < size - 1; i++) {\n str = str + set[i] + \", \";\n } str = str + set[size - 1] + \"}\";\n return str;\n }", "public String toString()\r\n {\n String str = \"lrr[\" + geneId + \", \" + exons.size() + \" ex]\\n\";\r\n // str += \"Exon Starts: \" + ArrayUtils.toString(exonStarts) + \"\\n\";\r\n // str += \"Exon Ends: \" + ArrayUtils.toString(exonEnds) + \"\\n\";\r\n return str;\r\n }", "public String toString() {\n return Arrays.toString(id);\n }", "public String toString () {\n\t\tString s =\"\";\n\t\tString finalStr =\"\";\n\n\t\t// for all the chords in this verse\n\t\tfor (int j=0; j<chords.size(); j++){\n\t\t\t\n\t\t\t// print each element of the chord \n\t\t\tfor (int i=0; i<chords.get(j).length; i++){\n\t\t\t\ts+=chords.get(j)[i]+ \"|\";\n\t\t\t}\n\t\t\tfinalStr+=s+ \"\\n \";\n\t\t\ts =\"\";\n\t\t}\n\t\treturn finalStr;\n\t}", "public String toString() {\n\t\tString s = new String(\"\");\n\t\tfor(int i=0; i<numeros.size(); i++) {\n\t\t\ts += numeros.get(i) + \" \";\n\t\t}\n\t\ts += \"| \";\n\t\tfor(int i=0; i<n_chances.size(); i++) {\n\t\t\ts += n_chances.get(i) + \" \";\n\t\t}\n\t\ts += \"\\n\";\n\t\treturn s;\n\t}", "public String toString() {\r\n//\t\treturn String.format(\"| %-18s | %-3d | %-12s | %-6s | \",\r\n//\t\t\t\tname, age, organ, bloodtype.getBloodType());\r\n\t\treturn String.format(\"%5d | %-18s | %-3d | %-12s | %-6s | \",\r\n\t\t\t\tpatientID, name, age, organ, bloodtype.getBloodType());\r\n\t}", "public String toString() {\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tsb.append(\"<div>\");\r\n\t\tsb.append(\"Names: \").append(this.getNames().toString()).append(\",<br/>\");\r\n\t\tsb.append(\"Addresses: \").append(this.getAddresses().toString()).append(\",<br/>\");\r\n\t\tsb.append(\"Contacts: \").append(this.getContacts().toString()).append (\",<br/>\");\r\n\t\tsb.append(\"Identifiers: \").append(this.getIdentifiers().toString()).append(\",<br/>\");\r\n\t\tsb.append(\"</div>\");\r\n\t\treturn sb.toString();\r\n\t}", "@Override\n\tpublic String toString() {\n\t\tString string = \"\";\n\t\tfor (int i = list.size() - 1; i >= 0; i--) {\n\t\t\tstring += list.get(i) + \" \";\n\t\t}\n\t\treturn string;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"VehicleID : \" + vehicleID + \"|vehicleType : \" + vehicleType + \"|vehicleName : \" + vehicleName\n\t\t\t\t+ \"|weight : \" + weight + \"|color : \" + color + \"|limitSpeed : \" + limitSpeed + \"|isControlled \"\n\t\t\t\t+ isControlled;\n\t}", "@Override\n\tpublic String toString() {\n\t\tString str_a, str_b, str_c, str_d;\n\t\tstr_a = (a==null)?\"\":a.toString();\n\t\tstr_b = (b==null)?\"\":b.toString();\n\t\tstr_c = (c==null)?\"\":c.toString();\n\t\tstr_d = (d==null)?\"\":d.toString();\n\t\t\n\t\treturn String.format(\"%d(%s)(%s)(%s)(%s)\", this.color, str_a, str_b, str_c, str_d);\n\t}", "public String toString() {\r\n\t\treturn String.format(\"\\t[Flight No. %d]\\n\\tClass\\t\\t\\t: \"+\r\n\t\t\"%s\\n\\tOrigin\\t\\t\\t: %s\\n\\tDestination\\t\\t: %s\" + \r\n\t\t\"\\n\\tDate\\t\\t\\t: %s\\n\\tDeparture/Arrival Time : %s\\n\\t\"+\r\n\t\t\"Price\\t\\t\\t: %.2f RM\\n\\tChild Perc.\\t\\t: %d %%\\n\\t\"+\r\n\t\t\"Movie\\t\\t\\t: %s\\n\\t\"+\r\n\t\t\"---------------------------------------------\" \r\n\t\t, getFlightNo(), getType(), getOrigin(), getDestination(), \r\n\t\tgetFormattedDate(), getDeparr(), getPrice(), getChildPerc(), \r\n\t\tshowMovie());\r\n\t}", "public String toString() {\n StringBuilder s = new StringBuilder();\n s.append(\"Trip{\\n\");\n for (int i =0; i< flights.size(); i++) {\n s.append(flights.get(i).toString());\n s.append(\"SeatClass=\").append(seatClass.get(i).toString());\n s.append(\"\\n\");\n if (i<layovers.size()) {\n s.append(layovers.get(i).toString());\n s.append(\"\\n\");\n }\n }\n s.append(\"TravelTime=\").append(getTravelTime()).append(\", \");\n s.append(\"Price=\").append(getPrice()).append(\",\");\n s.append(\"Departure=\").append(getDepartureTime()).append(\", \");\n s.append(\"Arrival=\").append(getArrivalTime()).append(\", \");\n s.append(\"}\");\n return s.toString();\n }", "public String toString() {\n\t\tif (label1 == null) return \"(\" + end + \")\";\n\t\tif (label2 == null) return \"(\" + label1 + \",\" + end + \")\";\n\t\treturn \"(\" + label1 + \",\" + label2 + \",\" + end + \")\";\n\t}", "public String toString() {\n String[] collect = new String[this.array.length];\n for (int i = 0; i < this.array.length; i++) {\n collect[i] = String.valueOf(this.array[i]);\n }\n return \"[\" + String.join(\";\", collect) + \"]\";\n }", "public String toString() {\n\t\tString s = \"\";\n\t\t// Loop through all the vertices and add their neighbors to a string\n\t\tfor (int i = 0; i < this.vertices.size(); i++) {\n\t\t\ts += this.vertices.get(i).toString() + \": \" + this.vertices.get(i).getNeighbors() + \"\\n\\n\";\n\t\t}\n\t\ts += \"Number of Total Edges: \" + this.actualTotalEdges;\n\t\treturn s;\n\t}", "@Override\r\n\tpublic String toString() {\r\n\t\tString camp = \"\";\r\n\t\ttry {\r\n\t\t\tif (campLeased != null) camp = \" Camp \" + campLeased.getCampName() + \" Leased\";\r\n\t\t} catch (Exception ex) {\r\n\t\t\t// swallow exceptions such as LazyInitialization Exception\r\n\t\t}\r\n\t\tString company = \"\";\r\n\t\ttry {\r\n\t\t\tif (companyLeasing != null) company = \" by \" + companyLeasing.getCompanyName();\r\n\t\t} catch (Exception ex) {\r\n\t\t\t// swallow exceptions such as LazyInitialization Exception\r\n\t\t}\r\n\t\tString id = \"Camp Lease: ID=\" + this.getId();\r\n\t\tString years = \" (\" + beginYear + \" - \" + endYear + \")\";\r\n\t\treturn id + camp + company + years;\r\n\t}", "public String toString() { return stringify(this, true); }", "public String toString()\n {\n String retour;\n\n retour = \"idAdherent : \" + idAdherent+ \"\\n\";\n retour += \"idCours : \" + idCours + \"\\n\";\n\n return retour;\n }", "public String toString() {\n\t\t// retrun all the attributes as a string but appending with \", \"\n\t\tString str = teamName + \", \" + noOfWins + \", \" + noOfLosses + \", \" + noOfDraws;\n\t\treturn str;\n\t}", "@Override\r\n public String toString ()\r\n {\r\n if (sets != null) {\r\n StringBuilder sb = new StringBuilder();\r\n\r\n for (Collection<Section> set : sets) {\r\n // Separator needed?\r\n if (sb.length() > 0) {\r\n sb.append(\" \");\r\n }\r\n\r\n sb.append(Sections.toString(set));\r\n }\r\n\r\n return sb.toString();\r\n }\r\n\r\n return \"\";\r\n }", "public String toString () {\n\t\tString resumen = \"\";\n\t\tfor (int i = 0; i < this.size(); i++) {\n\t\t\tresumen = resumen + this.get(i).toString();\n\t\t}\n\t\treturn resumen;\n\t}", "public String toString() {\n return \"segment : \" + this.point1.toString() + \"-\" +\n this.point2.toString();\n }", "public String toString() {\n StringBuffer sb = new StringBuffer();\n HashSet visited = new HashSet();\n IdentityHashCodeWrapper ap = IdentityHashCodeWrapper.create(this);\n visited.add(ap);\n toString(sb, visited);\n return sb.toString();\n }", "public String toString() {\n\t\treturn \"LINE:(\"+startPoint.getX()+\"-\"+startPoint.getY() + \")->(\" + endPoint.getX()+\"-\"+endPoint.getY()+\")->\"+getColor().toString();\n\t}", "public String toString() {\r\n\t\treturn getIntervalAsString();\r\n\t}", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getStartDateTime() != null)\n sb.append(\"StartDateTime: \").append(getStartDateTime()).append(\",\");\n if (getLastModifiedDateTime() != null)\n sb.append(\"LastModifiedDateTime: \").append(getLastModifiedDateTime()).append(\",\");\n if (getEndDateTime() != null)\n sb.append(\"EndDateTime: \").append(getEndDateTime()).append(\",\");\n if (getIdleSinceDateTime() != null)\n sb.append(\"IdleSinceDateTime: \").append(getIdleSinceDateTime()).append(\",\");\n if (getState() != null)\n sb.append(\"State: \").append(getState()).append(\",\");\n if (getStateChangeReason() != null)\n sb.append(\"StateChangeReason: \").append(getStateChangeReason());\n sb.append(\"}\");\n return sb.toString();\n }", "public String toString()\n { \n \treturn (\"Door of ID: \" + id + \" connects to Room ID: \" + room.getName() + \", Locked: \" + isLocked +\n \t\t\t\", Unlocking key: \" + keyID);\n }", "@Override\n\tpublic String toString()\n\t\t{\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.append(\"[\");\n\t\tstringBuilder.append(a);\n\t\tstringBuilder.append(\",\");\n\t\tstringBuilder.append(b);\n\t\tstringBuilder.append(\"]\");\n\t\treturn stringBuilder.toString();\n\t\t}", "@Override\r\n public String toString ()\r\n {\r\n StringBuilder sb = new StringBuilder();\r\n sb.append(\"{Chord\");\r\n\r\n try {\r\n sb.append(\"#\").append(id);\r\n\r\n if (voice != null) {\r\n sb.append(\" voice#\").append(voice.getId());\r\n }\r\n\r\n // Staff ?\r\n if (!getNotes().isEmpty()) {\r\n Note note = (Note) getNotes().get(0);\r\n\r\n if (note != null) {\r\n sb.append(\" staff#\").append(note.getStaff().getId());\r\n }\r\n }\r\n\r\n if (startTime != null) {\r\n sb.append(\" start=\").append(startTime);\r\n }\r\n\r\n sb.append(\" dur=\");\r\n\r\n if (isWholeDuration()) {\r\n sb.append(\"W\");\r\n } else {\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur != null) {\r\n sb.append(chordDur);\r\n } else {\r\n sb.append(\"none\");\r\n }\r\n }\r\n\r\n if (isAllRests()) {\r\n sb.append(\" rest\");\r\n }\r\n\r\n if (stem != null) {\r\n sb.append(\" stem#\").append(stem.getId());\r\n }\r\n\r\n if (tupletFactor != null) {\r\n sb.append(\" tupletFactor=\").append(tupletFactor);\r\n }\r\n\r\n if (dotsNumber != 0) {\r\n sb.append(\" dots=\").append(dotsNumber);\r\n }\r\n\r\n if (flagsNumber != 0) {\r\n sb.append(\" flags=\").append(flagsNumber);\r\n }\r\n } catch (NullPointerException e) {\r\n sb.append(\" INVALID\");\r\n }\r\n\r\n sb.append(\"}\");\r\n\r\n return sb.toString();\r\n }", "public String toString() {\n return satelliteList.toString();\n }", "public final String durationToString(final double duration) {\n String output = \"(\";\n if ( duration < this.MINUTE ) {\n output = output + duration + \" secs)\";\n } else if ( (this.MINUTE <= duration) && (duration < this.HOUR) ) {\n output = output + (duration / this.MINUTE) + \" mins)\";\n } else if ( this.HOUR <= duration ) {\n output = output + (duration / this.HOUR) + \" hrs)\";\n }\n\n return output;\n }", "public String toString()\n {\n return ll.toString();\n }", "@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n builder.append(super.toString());\n builder.append(\",end=\" + end.toString());\n\n return builder.toString();\n }", "public static String timesToString(Collection<Long> startTimes) {\n\t\tif (startTimes == null || startTimes.size() == 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\tCompacter starttimesCompressor = new Compacter(startTimes.size());\n\t\tfor (Long l : startTimes) {\n\t\t\tstarttimesCompressor.appendData(l.toString());\n\t\t}\n\t\treturn starttimesCompressor.compact();\n\t}", "public String toString() {\n final StringBuffer sb = new StringBuffer();\n sb.append(\"\\n [ Id: \" + id + \" ]\");\n sb.append(\"\\n [ ClassName: \" + className + \" ]\");\n sb.append(\"\\n [ MethodName : \" + methodName + \" ]\");\n if (bextraInfo) {\n for (int i = 0; i < extraInfo.length; i++) {\n sb.append(\n \"\\n [ Parameter \" + i + \" : \" + extraInfo[i]\n + \" ]\");\n }\n }\n sb.append(\"\\n [ Calendar: \" + cal + \" ]\");\n sb.append(\"\\n [ TimeMillis: \" + timeMillis + \" ] \");\n sb.append(\"\\n \");\n return sb.toString();\n }", "public String toString() {\n\t\tif(this.start != null && this.end != null){\n\t\t\tString s1 = (\"\\n\\nEdge: \" + this.edgeId + \"\\nReliable: \" + this.isReliable\n\t\t\t\t+ \"\\nMessage Flow Type: \" + this.msgFlowType\n\t\t\t\t+ \"\\nDelay type: \"\n\t\t\t\t+ this.delayType + \"\\nNode 1: \" + this.start.getNodeId()\n\t\t\t\t+ \"\\nNode 2: \" + this.end.getNodeId());\n\t\t\treturn s1;\n\t\t\t\n\t\t}else{\t\t\n\t\t\tString s2 = (\"\\n\\nEdge: \" + this.edgeId + \"\\nReliable: \" + this.isReliable\n\t\t\t\t+ \"\\nMessage Flow Type: \" + this.msgFlowType\n\t\t\t\t+ \"\\nNum Message Entered: \" + \"\\nDelay type: \"\n\t\t\t\t+ this.delayType);\n\t\t\treturn s2;\n\t\t}\t\t\n\t}", "public String toString() { \r\n\t\tString str = \"&markers=color:\" + color + \"%7Clabel:\" + label + \"%7C\" + latitude + \",\" + longitude;\r\n\t\t\r\n\t\treturn str;\r\n\t\t\r\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"\\nMatchID: \"+gameType+\"00\"+matchNum+\"\\n\"\n\t\t\t\t+\"Referee: \"+staff+\"\\n\"\n\t\t\t\t+\"Participator 1: \"+part1 +\" result: \"+result1+\"s\\n\"\n\t\t\t\t+\"Participator 2: \"+part2 +\" result: \"+result2+\"s\\n\"\n\t\t\t\t+\"Participator 3: \"+part3 +\" result: \"+result3+\"s\\n\"\n\t\t\t\t+\"Participator 4: \"+part4 +\" result: \"+result4+\"s\\n\"\n\t\t\t\t+\"Participator 5: \"+part5 +\" result: \"+result5+\"s\\n\"\n\t\t\t\t+\"Participator 6: \"+part6 +\" result: \"+result6+\"s\\n\"\n\t\t\t\t+\"Participator 7: \"+part7 +\" result: \"+result7+\"s\\n\"\n\t\t\t\t+\"Participator 8: \"+part8 +\" result: \"+result8+\"s\\n\\n\";\n\t}", "public String toString(){\r\n\t\tString theString= \"\";\r\n\t\t\r\n\t\t//loop through and add values to the string\r\n\t\tfor (int i = 0; i < this.data.length; i++)\r\n\t\t{\r\n\t\t\ttheString = theString + this.data[i];\r\n\t\t\tif (i != this.data.length - 1)\r\n\t\t\t{\r\n\t\t\t\ttheString = theString + \", \";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn \"[\" + theString + \"]\";\r\n\t}", "public String toString() {\n\t\treturn getClass().getName() + \"[nLattine=\" + nLattine + \", nGettoni=\" + nGettoni +\"]\";\n\t}", "public String toString() {\n\treturn triangles.toString(); \n }", "public String toString() {\n return String.format(\"%d: %02d: %02d %s\",\n ((hour == 0 || hour == 12) ? 12 :hour % 12 ),\n minutes, seconds, (hour < 12 ? \"AM\" : \"PM\"));\n\n }", "@Override\r\n\tpublic String toString() {\n\t\treturn \"id:\" + id + \", title:\" + title + \", picPath:\" + picPath\r\n\t\t\t\t+ \",picFileId:\" + picFileId + \",createrId:\" + createrId + \",createrName:\"\r\n\t\t\t\t+ createrName + \",createrPic:\" + createrPic + \",startTime :\" + startTime\r\n\t\t\t\t+ \",endTime:\" + endTime + \",province:\" + province + \",city:\" + city\r\n\t\t\t\t+ \",address:\" + address + \",fee:\" + fee + \",peopleNumber:\" + peopleNumber\r\n\t\t\t\t+ \",applyNumber:\" + applyNumber + \",activityDesc:\" + activityDesc\r\n\t\t\t\t+ \",activityLabelList:\" + activityLabelList.toString() + \",applyLabelList:\"\r\n\t\t\t\t+ applyLabelList.toString() + \",status:\" + status + \",isAttender:\"\r\n\t\t\t\t+ isAttender + \",坐标:\" + \"(\" + positionX + \",\" + positionY\r\n\t\t\t\t+ \"), isOpen:\" + isOpen;\r\n\t}", "public String toString() {\n String s = \"\";\n for (Vertex v : mVertices.values()) {\n s += v + \": \";\n for (Vertex w : mAdjList.get(v)) {\n s += w + \" \";\n }\n s += \"\\n\";\n }\n return s;\n }", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getSourceIdentifier() != null) sb.append(\"SourceIdentifier: \" + getSourceIdentifier() + \",\");\n if (getSourceType() != null) sb.append(\"SourceType: \" + getSourceType() + \",\");\n if (getStartTime() != null) sb.append(\"StartTime: \" + getStartTime() + \",\");\n if (getEndTime() != null) sb.append(\"EndTime: \" + getEndTime() + \",\");\n if (getDuration() != null) sb.append(\"Duration: \" + getDuration() + \",\");\n if (getEventCategories() != null) sb.append(\"EventCategories: \" + getEventCategories() + \",\");\n if (getMaxRecords() != null) sb.append(\"MaxRecords: \" + getMaxRecords() + \",\");\n if (getMarker() != null) sb.append(\"Marker: \" + getMarker() );\n sb.append(\"}\");\n return sb.toString();\n }", "public String toString() {\n\t\treturn new String(dateToString() + \" \"\n\t\t\t\t+ timeToString());\n }", "public String serialize() {\n return x + \", \" + y + \", \" + z;\n }", "public String toString() {\n \treturn (\"From: \" + vertex1.minToString() + \" To: \"\n \t\t\t+ vertex2.minToString()\n \t\t\t+ \" Distance: \" + distance());\n }", "@Override\n\tpublic String toString() {\n\t\tString travelListString = \"\";\n\t\tif (this.travelList.size() > 0)\n\t\t{\n\t\t\ttravelListString = this.travelList.get(0).getDestinationName() + \" : \" + this.travelList.get(0).getDestinationDescription();\n\t\t}\n\t\tfor (int index = 1; index < this.travelList.size(); index ++) {\n\t\t\ttravelListString = travelListString + \"\\n\" + this.travelList.get(index).getDestinationName() + \" : \" + this.travelList.get(index).getDestinationDescription();\n\t\t}\n\t\treturn travelListString;\n\t}", "@Override\r\n public String toString() {\r\n String output = \"[ \";\r\n for (int i = 0; i < count; i++) {\r\n output += list[i] + \", \";\r\n }\r\n if (count > 0) {\r\n output = output.substring(0, output.length() - 2);\r\n } else {\r\n output = output.substring(0, output.length() - 1);\r\n }\r\n output += \" ]\";\r\n return output;\r\n }", "@Override\r\n\tpublic String toString() {\r\n\t\treturn getName() + \" (\"+getDuration()+\"s)\";\r\n\t}", "@Override\n\tpublic String toString()\n\t{\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tfor (int i = 0; i < 2 * size + 1; i++)\n\t\t{\n\t\t\tstringBuilder.append(\"-\");\n\t\t}\n\t\tstringBuilder.append(\"\\n|\");\n\t\tfor (int i = 0; i < state.size(); i++)\n\t\t{\n\t\t\tstringBuilder.append(state.get(i)).append(\"|\");\n\t\t\tif (i % size == size - 1 && i < state.size() - 1)\n\t\t\t{\n\t\t\t\tstringBuilder.append(\"\\n|\");\n\t\t\t}\n\t\t}\n\t\tstringBuilder.append(\"\\n\");\n\t\tfor (int i = 0; i < 2 * size + 1; i++)\n\t\t{\n\t\t\tstringBuilder.append(\"-\");\n\t\t}\n\t\treturn stringBuilder.toString();\n\t}", "public String toString()\n {\n DataConversionUtility dcu = DataConversionUtility.getInstance();\n StringBuilder sb = new StringBuilder();\n sb.append(\" \");\n sb.append(this.timestamp);\n sb.append(\": \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.latitude, 6));\n sb.append(\" / \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.longitude, 6));\n sb.append(\" / elev.: \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.elevation, 1));\n sb.append(\" / speed: \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.speed, 2));\n sb.append(\" [\");\n sb.append(dcu.roundUpToNDecimalPlaces(this.course, 2));\n sb.append(\"] / wind speed: \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.windSpeed, 2));\n sb.append(\" - \");\n sb.append(dcu.roundUpToNDecimalPlaces(this.maxWindSpeed, 2));\n sb.append(\" [\");\n sb.append(dcu.roundUpToNDecimalPlaces(this.windDirection, 2));\n sb.append(\"]\\n\");\n return sb.toString();\n }", "@Override\n public final String toString() {\n return asString(0, 4);\n }", "public String toString()\n {\n String str = \"\";\n switch (align)\n {\n case LEFT :\n str = \",align=left\";\n break;\n case CENTER :\n str = \",align=center\";\n break;\n case RIGHT :\n str = \",align=right\";\n break;\n }\n return getClass().getName() + \"[hgap=\" + hgap + \",vgap=\" + vgap + str + \"]\";\n }", "public String toString()\n {\n String ret = \"\";\n String s = adjMaps.toString();\n String[] parts = s.split(\"},\");\n for(int i=0; i< parts.length; i++){\n ret += parts[i] + \"}\\n\";\n }\n return ret;\n }", "public String toString() {\n return this.one+\":\"+this.two+\":\"+this.three;\n }" ]
[ "0.5547934", "0.55268663", "0.5503696", "0.54834026", "0.5370556", "0.5346164", "0.53377366", "0.5334334", "0.5314559", "0.5313853", "0.5309575", "0.5297174", "0.52879417", "0.52869964", "0.52854604", "0.5264267", "0.52466315", "0.5237727", "0.5237305", "0.523109", "0.52271503", "0.52246016", "0.52231765", "0.5206561", "0.52022064", "0.51981467", "0.51949555", "0.5182172", "0.51809424", "0.51735115", "0.5168532", "0.5165834", "0.51651543", "0.51575077", "0.51567733", "0.5146638", "0.51427335", "0.5137409", "0.5124817", "0.51218605", "0.51198095", "0.5102122", "0.5101404", "0.508371", "0.5073996", "0.50738335", "0.50711536", "0.50664145", "0.5065098", "0.50590414", "0.5055896", "0.50461006", "0.5042549", "0.50420254", "0.5038651", "0.5037439", "0.5036433", "0.5034707", "0.5029247", "0.5027067", "0.50265175", "0.5019881", "0.5014767", "0.50142676", "0.50105155", "0.50061417", "0.50057054", "0.50032467", "0.5000754", "0.4999517", "0.49973053", "0.49966764", "0.49964097", "0.49951893", "0.4994046", "0.49914005", "0.49882063", "0.49842468", "0.49836287", "0.49828687", "0.49763605", "0.49745288", "0.49705994", "0.49682987", "0.4967825", "0.49659908", "0.49580047", "0.4957178", "0.49564195", "0.4954673", "0.49514598", "0.49490604", "0.49438044", "0.49425688", "0.49409443", "0.4940935", "0.49397287", "0.4939121", "0.49387988", "0.493622" ]
0.69322693
0
finds a project by its id and converts it to be shown
Project findProjectByIdAndConvert(String projectId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Project getById(Long id);", "Project findProjectById(String projectId);", "public Project findById(Integer id) {\n Session session = SessionManager.getSessionFactory().openSession();\n //The find method returns the object with the provided id\n Project project = session.find(Project.class, id);\n session.close();\n return project;\n }", "@Override\n\tpublic Project findProjectById(int id) {\n\t\ttry {\n\t\t\tProject project = super.findDomainObjectById(id, outJoins);\n\t\t\tif (project != null) {\n\t\t\t\tproject = this.readProjectDetail(project);\n\t\t\t}\n\t\t\treturn project;\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectById MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectById Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "public Project getProjectById(String id) {\n\t\tSQLiteQueryBuilder q = new SQLiteQueryBuilder();\n\t\tq.setTables(Constants.TABLE_PROJECTS);\n\n\t\tCursor cursor = q.query(database, null, Constants.COLUMN_ID + \" = ?\", new String[] { id }, null, null, null);\n\t\tcursor.moveToFirst();\n\n\t\tif (cursor.getCount() > 0)\n\t\t\treturn new Project(cursor);\n\t\telse\n\t\t\treturn null;\n\t}", "ProjectsDTO findOne(String id);", "Project findProjectById(Long projectId);", "void getAllProjectList(int id);", "public Project getProjectDetails(String id) {\n\t\tProject pro;\n\t\tObject name = null;\n\t\tPreparedStatement st = null;\n\t\tResultSet res = null;\n\t\tpro = null;\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tcon = DBUtility.getConnection();\n\t\t\t\tString sql = \"select * from project_master where project_id='\"\n\t\t\t\t\t\t+ id + \"'\";\n\t\t\t\tst = con.prepareStatement(sql);\n\t\t\t\tres = st.executeQuery(sql);\n\t\t\t\tif (res.next()) {\n\t\t\t\t\tpro = new Project();\n\t\t\t\t\tpro.setPro_name(res.getString(\"project_name\"));\n\t\t\t\t\tpro.setSite_addr(res.getString(\"project_location\"));\n\t\t\t\t\tpro.setC_name(res.getString(\"client_name\"));\n\t\t\t\t\tpro.setDate(res.getString(\"project_date\"));\n\t\t\t\t\tpro.setSite_details(res.getString(\"project_details\"));\n\t\t\t\t\tpro.setSite_no_floors(res.getString(\"project_no_floor\"));\n\t\t\t\t\tpro.setSite_no_units(res.getString(\"project_no_unit\"));\n\t\t\t\t\tpro.setGar_name(res.getString(\"gar_name\"));\n\t\t\t\t\tpro.setGar_rel(res.getString(\"gar_rel\"));\n\t\t\t\t\tpro.setMunicipality(res.getString(\"municipality\"));\n\t\t\t\t\tpro.setWord_no(res.getString(\"word_no\"));\n\t\t\t\t\tpro.setPro_typ(res.getString(\"project_type\"));\n\t\t\t\t\tpro.setContact1(res.getString(\"Contact1\"));\n\t\t\t\t\tpro.setContact2(res.getString(\"Contact2\"));\n\t\t\t\t\tpro.setEmail1(res.getString(\"Email1\"));\n\t\t\t\t\tpro.setEmail2(res.getString(\"Email2\"));\n\t\t\t\t}\n\t\t\t} catch (SQLException s) {\n\t\t\t\ts.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t\treturn null;\n\t\t\t} catch (NamingException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t}\n\t\t} finally {\n\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t}\n\t\treturn pro;\n\t}", "@Override\n\tpublic Project getProjectById(int id) {\n\t\treturn projectDao.getProjectById(id);\n\t}", "TrackerProjects getTrackerProjects(final Integer id);", "@Override\n\tpublic Project getProjectById(int id) {\n\t\treturn null;\n\t}", "TrackerProjects loadTrackerProjects(final Integer id);", "@Transactional(readOnly = true) \n public TaskProject findOne(Long id) {\n log.debug(\"Request to get TaskProject : {}\", id);\n TaskProject taskProject = taskProjectRepository.findOne(id);\n return taskProject;\n }", "ProjectDTO findProjectById(Long id);", "public Project getProject(Long projectId);", "@Override\n\tpublic List<ProjectInfo> findProject(ProjectInfo project) {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findProject\",project);\n\t}", "public Project findByPrimaryKey(int id) throws ProjectDaoException {\n\t\tProject ret[] = findByDynamicSelect(SQL_SELECT + \" WHERE ID = ?\", new Object[] { new Integer(id) });\n\t\treturn ret.length == 0 ? null : ret[0];\n\t}", "@Override\n\tpublic ProjectDTO getPartialForProjectPageForId( int id ) throws SQLException {\n\t\t\n\t\tProjectDTO result = null;\n\t\t\n\t\tfinal String querySQL = \n\t\t\t\t\"SELECT title, abstract, project_locked, public_access_level \"\n\t\t\t\t+ \" FROM project_tbl \"\n\t\t\t\t+ \" WHERE id = ?\"\n\t\t\t\t+ \" AND marked_for_deletion != \" + Database_OneTrueZeroFalse_Constants.DATABASE_FIELD_TRUE;\n\t\t\n\t\ttry ( Connection dbConnection = super.getDBConnection();\n\t\t\t PreparedStatement preparedStatement = dbConnection.prepareStatement( querySQL ) ) {\n\t\t\t\n\t\t\tpreparedStatement.setInt( 1, id );\n\t\t\t\n\t\t\ttry ( ResultSet rs = preparedStatement.executeQuery() ) {\n\t\t\t\tif ( rs.next() ) {\n\t\t\t\t\tresult = new ProjectDTO();\n\t\t\t\t\tresult.setId( id );\n\t\t\t\t\tresult.setTitle( rs.getString( \"title\" ) );\n\t\t\t\t\tresult.setAbstractText( rs.getString( \"abstract\" ) );\n\t\t\t\t\t{\n\t\t\t\t\t\tint fieldIntValue = rs.getInt( \"project_locked\" );\n\t\t\t\t\t\tif ( fieldIntValue == Database_OneTrueZeroFalse_Constants.DATABASE_FIELD_TRUE ) {\n\t\t\t\t\t\t\tresult.setProjectLocked( true );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tint publicAccessLevel = rs.getInt( \"public_access_level\" );\n\t\t\t\t\tif ( ! rs.wasNull() ) {\n\t\t\t\t\t\tresult.setPublicAccessLevel( publicAccessLevel );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( RuntimeException e ) {\n\t\t\tString msg = \"SQL: \" + querySQL;\n\t\t\tlog.error( msg, e );\n\t\t\tthrow e;\n\t\t} catch ( SQLException e ) {\n\t\t\tString msg = \"SQL: \" + querySQL;\n\t\t\tlog.error( msg, e );\n\t\t\tthrow e;\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "private static void search_by_id() {\r\n\t\ttry (// Creates a connection and statement object\r\n\t\t\t\tConnection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/PoisedPMS\",\"poisedpms\",\"poisedpms\");\r\n\t\t\t\t\r\n\t\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\t\t\r\n\t\t\t){\r\n\t\t\tScanner input = new Scanner(System.in);\r\n\t\t\r\n\t\t\tSystem.out.println(\"Project id: \");\r\n\t\t\tString project_id_str = input.nextLine();\r\n\t\t\r\n\t\t\tString strSelectProject = String.format(\"SELECT * FROM projects INNER JOIN project_statuses ON \"\r\n\t\t\t\t\t+ \"projects.project_id = project_statuses.project_id;\");\r\n\t\t\tResultSet project_rset = stmt.executeQuery(strSelectProject);\r\n\t\t\t\r\n\t\t\tfetch_all_project_info(stmt, project_id_str, project_rset);\r\n\t\t/**\r\n\t\t * @exception If entered project id cannot be found in the projects table then an SQLException is thrown\r\n\t\t */\t\r\n\t\t} catch ( SQLException ex ) {\r\n\t\t\tex . printStackTrace ();\r\n\t\t}\r\n\t\t\r\n\t}", "Project selectByPrimaryKey(Long id);", "java.lang.String getProjectId();", "public void Found_project_from_DATABASE(int id){\n print_pro();\n// return project;\n }", "public Project findProjectById(String projectId) {\n\t\tProject project = null;\r\n\t\tString query = \"SELECT FROM TA_PROJECTS WHERE PROJECT_ID='\" + projectId + \"'\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t}\r\n\t\treturn project;\r\n\t}", "@Override\n public ProjectproductDTO findOne(String id) {\n log.debug(\"Request to get Projectproduct : {}\", id);\n Projectproduct projectproduct = projectproductRepository.findOne(UUID.fromString(id));\n ProjectproductDTO projectproductDTO = projectproductMapper.projectproductToProjectproductDTO(projectproduct);\n return projectproductDTO;\n }", "public ProjectIdea getProjectIdea(int id){\n //String sql = \"SELECT * FROM project_idea WHERE idea_id = ?\";\n try{\n ProjectIdea result = super.queryForId(id);\n return result;\n } catch(SQLException e){\n System.out.println(e.getMessage());\n }\n return null;\n }", "public Project getProjectDetail(String idOrKey) throws IOException {\n\t\tif (client == null)\n\t\t\tthrow new IllegalStateException(\"HTTP Client not Initailized\");\n\t\t\n\t\tclient.setResourceName(Constants.JIRA_RESOURCE_PROJECT + \"/\" + idOrKey);\n\t\tClientResponse response = client.get();\n\t\t\t\t\t\n\t\tString content = response.getEntity(String.class);\t\n\t\t\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tmapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, true);\n\t\t\n\t\tTypeReference<Project> ref = new TypeReference<Project>(){};\n\t\tProject prj = mapper.readValue(content, ref);\n\t\t\n\t\treturn prj;\n\t}", "@GetMapping(\"/my_projects/{id}\")\n public ResponseEntity<ProjectDtoExtendedForUser> getMyProjectById(@PathVariable long id){\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n String currentUserName = authentication.getName();\n User currentUser = userService.findByEmail(currentUserName).orElseThrow(\n () -> {throw new MyNotFoundException(\"User not found\");}\n );\n\n ProjectDtoExtendedForUser projectDtoExtendedForUser = new ProjectDtoExtendedForUser();\n\n Project project = projectService.findById(id).get();\n\n UsersOnProjects usersOnProjects = usersOnProjectsService.findByUsersOnProjectsPK(new UsersOnProjectsPK(currentUser, project));\n\n projectDtoExtendedForUser.setId(project.getId());\n projectDtoExtendedForUser.setName(project.getName());\n projectDtoExtendedForUser.setCompany_name(project.getCompany().getName());\n projectDtoExtendedForUser.setCEO_username(project.getCompany().getCEO().getUsername());\n projectDtoExtendedForUser.setCEO_email(project.getCompany().getCEO().getEmail());\n projectDtoExtendedForUser.setStart_date(project.getStart_date());\n projectDtoExtendedForUser.setStatus(project.getStatus());\n projectDtoExtendedForUser.setPosition(usersOnProjects.getPosition().getName());\n projectDtoExtendedForUser.setBase_salary(usersOnProjects.getBase_salary());\n projectDtoExtendedForUser.setRate(usersOnProjects.getRate());\n projectDtoExtendedForUser.setWeek_work_time(usersOnProjects.getWeek_work_time());\n\n return ResponseEntity.ok(projectDtoExtendedForUser);\n }", "@RequestMapping(value = \"/hrProjectInfos/{id}\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<HrProjectInfo> getHrProjectInfo(@PathVariable Long id) {\n log.debug(\"REST request to get HrProjectInfo : {}\", id);\n HrProjectInfo hrProjectInfo = hrProjectInfoRepository.findOne(id);\n return Optional.ofNullable(hrProjectInfo)\n .map(result -> new ResponseEntity<>(\n result,\n HttpStatus.OK))\n .orElse(new ResponseEntity<>(HttpStatus.NOT_FOUND));\n }", "public Project getTasks(String projectId) {\n try {\n\n String selectProject = \"select * from PROJECTS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(selectProject);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n if (rs.next()) {\n String startdate = rs.getString(\"STARTDATE\");\n String invoicesent = rs.getString(\"INVOICESENT\");\n String hours = rs.getString(\"HOURS\");\n String client = \"\";\n String duedate = rs.getString(\"DUEDATE\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(client, description, projectId,\n duedate, startdate, hours, duedate, duedate,\n invoicesent, invoicesent);\n rs.close();\n ps.close();\n return p;\n } else {\n return null;\n }\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "public Projects findByProjectID(int proj_id){\n\t\tString sql = \"select * from projects where proj_id = \"+proj_id;\n\t\treturn getJdbcTemplate().queryForObject(sql, new BeanPropertyRowMapper<Projects>(Projects.class));\n\t}", "@Override\n\tpublic List<Project> getProjectsByUserId(int id) {\n\t\treturn projectDao.getProjectsByUserId(id);\n\t}", "public ArrayList<Project> selectProject(String projectId) {\n\n try {\n ArrayList<Project> tasks = new ArrayList<Project>();\n\n String query = \"SELECT * FROM TASKS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(query);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n\n while (rs.next()) {\n String hours = rs.getString(\"HOURS\");\n String hoursadded = rs.getString(\"HOURS_ADDED\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(description, hours, hoursadded,\n projectId);\n tasks.add(p);\n }\n rs.close();\n ps.close();\n return tasks;\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "public static Project getProject() {\n if (ProjectList.size() == 0) {\n System.out.print(\"No Projects were found.\");\n return null;\n }\n\n System.out.print(\"\\nPlease enter the project number: \");\n int projNum = input.nextInt();\n input.nextLine();\n\n for (Project proj : ProjectList) {\n if (proj.projNum == projNum) {\n return proj;\n }\n }\n\n System.out.print(\"\\nProject was not found. Please try again.\");\n return getProject();\n }", "public void testRetrieveProjectsById() throws RetrievalException {\r\n System.out.println(\"Demo 4: Retrieves the projects by id.\");\r\n\r\n // Retrieve a known project\r\n ExternalProject project = defaultDBProjectRetrieval.retrieveProject(2);\r\n System.out.println(project.getId());\r\n\r\n // Outputs its info.\r\n System.out.println(project.getComponentId());\r\n System.out.println(project.getForumId());\r\n System.out.println(project.getName());\r\n System.out.println(project.getVersion());\r\n System.out.println(project.getVersionId());\r\n System.out.println(project.getDescription());\r\n System.out.println(project.getComments());\r\n System.out.println(project.getShortDescription());\r\n System.out.println(project.getFunctionalDescription());\r\n String[] technologies = project.getTechnologies(); // should not be null\r\n for (int t = 0; t < technologies.length; t++) {\r\n System.out.println(\"Uses technology: \" + technologies[t]);\r\n }\r\n\r\n // Not found ĘC should be null which is acceptable\r\n ExternalProject shouldBeNull = defaultDBProjectRetrieval.retrieveProject(Long.MAX_VALUE);\r\n System.out.println(shouldBeNull);\r\n\r\n // Should only have a maximum of 1 entry.\r\n ExternalProject[] projects = defaultDBProjectRetrieval.retrieveProjects(new long[] {1, 100});\r\n System.out.println(projects.length);\r\n System.out.println(projects[0].getName());\r\n\r\n System.out.println();\r\n }", "public ProjectCart getSingleProjectCart(Integer id) {\n\n /*\n * Use the ConnectionFactory to retrieve an open\n * Hibernate Session.\n *\n */\n Session session = ConnectionFactory.getInstance().getSession();\n List results = null;\n try {\n\n results = session.find(\"from ProjectCart as projectCart where projectCart.projectCartId = ?\",\n new Object[]{id},\n new Type[]{Hibernate.INTEGER});\n\n\n\n } /*\n * If the object is not found, i.e., no Item exists with the\n * requested id, we want the method to return null rather\n * than throwing an Exception.\n *\n */ catch (ObjectNotFoundException onfe) {\n return null;\n } catch (HibernateException e) {\n /*\n * All Hibernate Exceptions are transformed into an unchecked\n * RuntimeException. This will have the effect of causing the\n * user's request to return an error.\n *\n */\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n } /*\n * Regardless of whether the above processing resulted in an Exception\n * or proceeded normally, we want to close the Hibernate session. When\n * closing the session, we must allow for the possibility of a Hibernate\n * Exception.\n *\n */ finally {\n if (session != null) {\n try {\n session.close();\n } catch (HibernateException e) {\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n }\n\n }\n }\n if (results.isEmpty()) {\n return null;\n } else {\n return (ProjectCart) results.get(0);\n }\n\n }", "@GetMapping(value = \"/getProjectDetails/mongodb/{theId}\")\n\tpublic List<ProjectDescStake> getProjectByIdMongo(@PathVariable (value =\"theId\") Long theId)\n\t{\n\t\treturn this.integrationClient.findProjectByIdMongo(theId);\n\t}", "@Override\n @Transactional(readOnly = true)\n public Optional<ProjectTypeId> findOne(Long id) {\n log.debug(\"Request to get ProjectTypeId : {}\", id);\n return projectTypeIdRepository.findById(id);\n }", "@GET\n\t@Path(\"getParticularProject/{projectId}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getParticularProject(\n\t\t\t@PathParam(\"projectId\") Integer projectId) throws Exception {\n\n\t\tProjectTO projectTO = null;\n\n\t\ttry {\n\t\t\tHashMap<String, Object> queryMap = new HashMap<String, Object>();\n\t\t\tqueryMap.put(\"projectId\", projectId);\n\n\t\t\tProjectMaster project = (ProjectMaster) GenericDaoSingleton\n\t\t\t\t\t.getGenericDao().findUniqueByQuery(\n\t\t\t\t\t\t\tConstantQueries.GET_PARTICULAR_PROJECT_BY_ID,\n\t\t\t\t\t\t\tqueryMap);\n\n\t\t\tif (project == null) {\n\t\t\t\tSystem.out.println(\"Project not found\");\n\t\t\t\tprojectTO = null;\n\t\t\t\treturn Response.status(Response.Status.NOT_FOUND)\n\t\t\t\t\t\t.entity(projectTO).build();\n\t\t\t}\n\n\t\t\tprojectTO = new ProjectTO();\n\t\t\t// projectMaster = (Object[]) projectList.get(i);\n\t\t\tprojectTO.setProject_id(project.getProject_id());\n\t\t\tprojectTO.setProject_name(project.getProject_name());\n\t\t\tprojectTO.setProject_status(project.getProject_status());\n\t\t\tprojectTO.setProject_creation_date(project\n\t\t\t\t\t.getProject_creation_date());\n\t\t\tprojectTO.setAccount_id(project.getAccountMaster().getAccount_id());\n\n\t\t\treturn Response.status(Response.Status.OK).entity(projectTO)\n\t\t\t\t\t.build();\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t\tprojectTO = null;\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Error while getting Projects in Project Config service\");\n\t\t\treturn Response.status(Response.Status.INTERNAL_SERVER_ERROR)\n\t\t\t\t\t.entity(projectTO).build();\n\t\t}\n\n\t}", "Project getByPrjNumber(Integer num);", "public Proyecto proyectoPorId(int id) {\n\t\t\tRestTemplate plantilla = new RestTemplate();\n\t\t\tProyecto proyecto =plantilla.getForObject(\"http://localhost:5000/proyectos/\" + id, Proyecto.class);\n\t\t\treturn proyecto;\n\t\t}", "Optional<ProjectCodeDTO> findOne(Long id);", "public Project getProjectByName(String name);", "public Project[] findWhereIdEquals(int id) throws ProjectDaoException {\n\t\treturn findByDynamicSelect(SQL_SELECT + \" WHERE ID = ? ORDER BY ID\", new Object[] { new Integer(id) });\n\t}", "private Project getProject(ActivityDTO dto) {\n\t\treturn projectDAO.findById(dto.getProjectId()).get();\n//\t\treturn projectDAO.getOne(dto.getProjectId());\n\t}", "@Override\n\tpublic TeamInfo findById(String id) {\n\t\treturn repository.findOne(id);\n\t}", "@RequestMapping(value = \"/{id}\", method=RequestMethod.GET)\n public ResponseEntity<?> findById(@PathVariable final Integer id) {\n Team team = this.teamService.findById(id);\n return ResponseEntity.ok().body(team);\n }", "public ProjectFiles selectByPrimaryKey(Long id) {\r\n ProjectFiles key = new ProjectFiles();\r\n key.setId(id);\r\n ProjectFiles record = (ProjectFiles) getSqlMapClientTemplate().queryForObject(\"project_files.ibatorgenerated_selectByPrimaryKey\", key);\r\n return record;\r\n }", "public static Project Create(String id)\n\t{\n\t\t// Need to use an ancestor query to do this inside a transaction.\n\t\t// But the ancestor of project is project.\n\t\t// So we just create a normal key with only the type and id\n\t\tproject = ofy().load().key(Key.create(Project.class, id)).now();\n\n\t\treturn project;\n\t}", "@RequestMapping(value= {\"/projects/{projectId}\"}, method= RequestMethod.GET)\r\n\tpublic String project(Model model, @PathVariable Long projectId) {\r\n\t\tProject project = projectService.getProject(projectId);\r\n\t\tif(project==null) { return \"redirect:/projects\"; }\r\n\t\t\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\t\r\n\t\tList<User> members = userService.getMembers(project);\r\n\t\tList<Credentials> credentialsMembers = this.credentialsService.getCredentialsByUsers(members);\r\n\t\t\r\n\t\tif(!project.getOwner().equals(loggedUser) && !members.contains(loggedUser)) {\r\n\t\t\treturn \"redirect:/projects\";\r\n\t\t}\r\n\t\t\r\n\t\tmodel.addAttribute(\"credentialsService\", this.credentialsService);\r\n\t\tmodel.addAttribute(\"credentialsMembers\", credentialsMembers);\r\n\t\tmodel.addAttribute(\"ownerCredentials\", this.credentialsService.getCredentialsByUserId(project.getOwner().getId()));\r\n\t\tmodel.addAttribute(\"loggedCredentials\", sessionData.getLoggedCredentials());\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"project\", project);\r\n\t\t\r\n\t\treturn \"project\";\r\n\t}", "@GetMapping(\"/showme/{name}\")\n\t@ResponseBody\n\tpublic Optional<Project> retrieveProjectsByName(@PathVariable(\"name\") String name){\n\t\tOptional<Project> t = projectrepository.findProjectByName(name);\n\t\treturn t;\n\t}", "public String getProjectId() {\r\n return projectId;\r\n }", "public Integer getProjectID() { return projectID; }", "public String getProjectId() {\n return projectId;\n }", "void getAllProjectList(int id, UserType userType);", "@GetMapping(\"/byName\")\r\n\tpublic List<Project> getProject(Principal principal) {\r\n\t\treturn persistenceService.getProject(AppBuilderUtil.getLoggedInUserId());\r\n\t}", "@RequestMapping(value = \"/projectreleasesprints/{id}\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Projectreleasesprint> getProjectreleasesprint(@PathVariable Long id) {\n log.debug(\"REST request to get Projectreleasesprint : {}\", id);\n Projectreleasesprint projectreleasesprint = projectreleasesprintRepository.findOne(id);\n return Optional.ofNullable(projectreleasesprint)\n .map(result -> new ResponseEntity<>(\n result,\n HttpStatus.OK))\n .orElse(new ResponseEntity<>(HttpStatus.NOT_FOUND));\n }", "@Override\n //@Transactional(readOnly = true)\n public ProjectTransactionRecordDTO findOne(Long id) {\n log.debug(\"Request to get ProjectTransactionRecord : {}\", id);\n ProjectTransactionRecord projectTransactionRecord = projectTransactionRecordRepository.findOne(id);\n return projectTransactionRecordMapper.toDto(projectTransactionRecord);\n }", "private Project getProject(ModelInfo<Project> info) {\n return data.get(info);\n }", "public Object findByPK(Object object) throws DAOException {\r\n\t\tString sqlStmt = DAOConstants.PROJ_FIND_BYPK;\r\n\t\tProjectInfo projectReturn = null;\r\n\r\n\t\tif (!(object instanceof String))\r\n\t\t\tthrow new DAOException (\"invalid.object.projdao\",\r\n\t\t\t\t\tnull, DAOException.ERROR, true);\r\n\t\t\t\t\t\r\n\t\tString pk = (String) object;\t\t\t\t\r\n\t\tConnection conn = null;\r\n\r\n\t\t\ttry{\r\n\t\t\t\tlog.debug(\"finding pk ProjectInfo entry\");\r\n\t\t\t\tconn = dbAccess.getConnection();\r\n\t\t\t\tPreparedStatement stmt = conn.prepareStatement(sqlStmt);\r\n\t\t\t\tstmt.setString(1, pk);\r\n\t\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\t\t\r\n\t\t\t\tif (rs.next()) {\r\n\t\t\t\t\tprojectReturn = ProjectAssembler.getInfo(rs);\r\n\t\t\t\t}\r\n\t\t\t\tstmt.close();\r\n\t\t\t\trs.close();\r\n\t\t\t\tlog.debug(\"found by pk ProjectInfo entry\");\r\n\t\t\t} catch (DBAccessException e) {\r\n\t\t\t\tthrow new DAOException(e.getMessageKey(), e, DAOException.ERROR,\r\n\t\t\t\t\t\ttrue);\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tthrow new DAOException(\"sql.findpk.exception.projdao\", e,\r\n\t\t\t\t\t\tDAOException.ERROR, true);\r\n\t\t\t}\r\n\r\n\t\t\tcatch (Exception ex) {\r\n\t\t\t\tSystem.err.println(\"error3: \" + ex.getMessage());\r\n\t\t\t} finally {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tdbAccess.closeConnection(conn);\r\n\t\t\t\t} catch (DBAccessException e1) {\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\treturn projectReturn;\t\r\n\t}", "@GetMapping(\"/project-attachemnts/{id}\")\n @Timed\n public ResponseEntity<ProjectAttachemntDTO> getProjectAttachemnt(@PathVariable String id) {\n log.debug(\"REST request to get ProjectAttachemnt : {}\", id);\n ProjectAttachemntDTO projectAttachemntDTO = projectAttachemntService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(projectAttachemntDTO));\n }", "@Override\r\n\tpublic List<Project> findProject() {\n\t\treturn iSearchSaleRecordDao.findProject();\r\n\t}", "public static Project Construct(String id)\n\t{\n\t\treturn new Project(id);\n\t}", "public void setProjectID(Integer projectID) { this.projectID = projectID; }", "public Project getProjectById(int projectId) throws InexistentProjectException, SQLException {\n return getMandatoryProject(projectId);\n }", "@Override\r\n\tpublic List<Project> findProject(int provinceId) {\n\t\treturn iImportSalesRecordDao.findProject(provinceId);\r\n\t}", "@Query(\"SELECT * FROM Project WHERE id = :projectId\")\n LiveData<Project> getProject(long projectId);", "public Integer getProjectId() {\n return projectId;\n }", "public List<String> getWorkingProject(String id, String string) {\n\t\tList<String> list = new ArrayList<String>();\n\t\tString query=null;\n\t\tjdbc JDBC=new jdbc();\n\t\t\n\t\tif(string.equals(\"projects\"))\n\t\t query=\"select P_id from Team where emp_id1=\"+id+\" OR emp_id2=\"+id+\" OR emp_id2=\"+id;\n\t\telse if(string.equals(\"startdate\"))\n\t\t query=\"select startDate from Team where emp_id1=\"+id+\" OR emp_id2=\"+id+\" OR emp_id2=\"+id;\n\t\telse if(string.equals(\"duedate\"))\n\t\t query=\"select DueDate from Team where emp_id1=\"+id+\" OR emp_id2=\"+id+\" OR emp_id2=\"+id;\n\t\telse if(string.equals(\"supervisor\"))\n\t\t query=\"select emp_id from Team where emp_id1=\"+id+\" OR emp_id2=\"+id+\" OR emp_id2=\"+id;\n\t\ttry {\n\t\t\tSystem.out.println(query);\n\t\t\tResultSet rs=JDBC.stat.executeQuery(query);\n\t\t\twhile (rs.next())\n\t\t\t{\n\t\t\t\tlist.add(rs.getString(1));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn list;\n\t}", "public void setProjectId(Integer projectId) {\n this.projectId = projectId;\n }", "public String getProjectId() {\n return getProperty(Property.PROJECT_ID);\n }", "public Project getProjectRelatedByProjectId() throws TorqueException\n {\n if (aProjectRelatedByProjectId == null && (this.projectId != 0))\n {\n aProjectRelatedByProjectId = ProjectPeer.retrieveByPK(SimpleKey.keyFor(this.projectId));\n \n /* The following can be used instead of the line above to\n guarantee the related object contains a reference\n to this object, but this level of coupling\n may be undesirable in many circumstances.\n As it can lead to a db query with many results that may\n never be used.\n Project obj = ProjectPeer.retrieveByPK(this.projectId);\n obj.addNewslettersRelatedByProjectId(this);\n */\n }\n return aProjectRelatedByProjectId;\n }", "public void setProjectID(int value) {\n this.projectID = value;\n }", "@Override\r\n\tpublic Project updateProjectById(Project projectId) {\n\t\treturn projectDAO.updateProjectById(projectId);\r\n\t}", "public java.lang.Object getProjectID() {\n return projectID;\n }", "public DevStudio findOne(Long id) {\n return getDevStudioRepository().findOne(id);\n }", "public Project findByPrimaryKey(ProjectPk pk) throws ProjectDaoException {\n\t\treturn findByPrimaryKey(pk.getId());\n\t}", "public int getProjectID() {\n return projectID;\n }", "public void setProject(int projId) {\n projectId = projId;\n titleTextView.setText(Project.projects[projectId].getTitle());\n summaryTextView.setText(Project.projects[projectId].getSummary());\n favCheckBox.setChecked(Project.projects[projectId].isFavorite());\n Log.d(\"favorite setproject \",favCheckBox.isChecked()+\" \" + Project.projects[projectId].isFavorite());\n\n }", "public GitLabProject getProject(Serializable projectId) throws IOException {\n String tailUrl = String.format(\"/projects/%s\", gitLabAPI.sanitize(projectId));\n return gitLabAPI.retrieve().to(tailUrl, GitLabProject.class);\n }", "@Nonnull\n public String getProjectId() {\n return projectId;\n }", "@Override\r\n\tpublic List<Project> selectProjectList(String id,int cPage,int numPerpage) {\n\t\treturn dao.selectProjectList(session,id,cPage,numPerpage);\r\n\t}", "public void setProjectID(java.lang.Object projectID) {\n this.projectID = projectID;\n }", "public List<Project> findProjectByEmpId(String employeeId) {\n\t\tProject project;\r\n\t\tList<Project> projectList = new ArrayList<Project>();\r\n\t\tString query = \"SELECT P.`PROJECT_ID`,PROJECT_NAME,MANAGER_ID FROM TA_PROJECTS P JOIN TA_EMPLOYEE_PROJECT E ON E.`PROJECT_ID` = P.`PROJECT_ID`\"\r\n\t\t\t\t+ \" WHERE EMPLOYEE_ID='\" + employeeId + \"'\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t\tprojectList.add(project);\r\n\t\t}\r\n\t\treturn projectList;\r\n\t}", "private static Project findProject(String name) {\r\n \t\tfor (Project project : ProjectPlugin.getPlugin().getProjectRegistry().getProjects()) {\r\n \t\t\tif (project.getName().equals(name)) {\r\n \t\t\t\treturn project;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn null;\r\n \t}", "public Integer getProjectId() {\n return projectId;\n }", "public Integer getProjectId() {\n return projectId;\n }", "public int getProjectId()\r\n\t{\r\n\t\treturn projectId;\r\n\t}", "@GetMapping(\"/projects/{projectName:\" + Constants.ENTITY_ID_REGEX + \"}\")\n @Timed\n public ResponseEntity<ProjectDTO> getProject(@PathVariable String projectName)\n throws NotAuthorizedException {\n checkPermission(token, PROJECT_READ);\n log.debug(\"REST request to get Project : {}\", projectName);\n ProjectDTO projectDto = projectService.findOneByName(projectName);\n checkPermissionOnOrganizationAndProject(token, PROJECT_READ,\n projectDto.getOrganization().getName(), projectDto.getProjectName());\n return ResponseEntity.ok(projectDto);\n }", "public void setProjectId(long projectId) {\r\n this.projectId = projectId;\r\n }", "public long getProjectId() {\r\n return projectId;\r\n }", "public String getProjectId() {\n\t\treturn projectId;\n\t}", "public Builder setProjectId(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n projectId_ = value;\n bitField0_ |= 0x00000008;\n onChanged();\n return this;\n }", "@GetMapping(value = \"/getProjectDetails/{sqlId}\")\n\tpublic List<Project> getProjectByIdSQL(@PathVariable Long sqlId)\n\t{\n\t\treturn this.integrationClient.findProjectByIdSQL(sqlId);\n\t}", "ProjGroup selectByPrimaryKey(Long id);", "@GetMapping(\"/byProjectName/{projectName}\")\r\n\tpublic Project getProjectDetails(@PathVariable String projectName) {\r\n\t\treturn persistenceService.getProjectDetails(projectName);\r\n\t}", "public Subtask getSubtask(String task_name, int project_id) {\n try {\n Connection con = DBManager.getConnection();\n String SQL = \"SELECT subtask_id, task_name FROM subtask where task_name = ? AND project_id = ?;\";\n PreparedStatement ps = con.prepareStatement(SQL);\n ps.setString(1, task_name);\n ps.setInt(2, project_id);\n\n ResultSet rs = ps.executeQuery();\n if (rs.next()) {\n int id = rs.getInt(\"subtask_id\");\n Subtask subtask = new Subtask(id, task_name, project_id);\n return subtask;\n }\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n return null;\n }", "@Override\n\tpublic List<ProjectInfo> findAllProject() {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findAllProject\");\n\t}", "@GetMapping(\"/{email:.+}/{projectId}\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic Project getProjectByEmailAndId(@PathVariable(\"email\") String email,\n\t\t\t@PathVariable(\"projectId\") Long projectId) {\n\t\tStakeholder user = userService.findStakeholderByEmail(email);\n\t\tList<Project> projects = userService.getStakeholderProjects(user);\n\t\tfor (Project project : projects) {\n\t\t\tif (project.getProjectId() == projectId) {\n\t\t\t\treturn project;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "UserOperateProject selectByPrimaryKey(String userOperateProjectId);" ]
[ "0.7390189", "0.72120965", "0.7087121", "0.6978133", "0.69464236", "0.6934802", "0.682532", "0.6788877", "0.6744151", "0.6739416", "0.67323256", "0.6729181", "0.669957", "0.66973346", "0.6694768", "0.6651318", "0.6590329", "0.65872216", "0.6583449", "0.6566146", "0.656103", "0.6537955", "0.65282285", "0.6468186", "0.6352267", "0.6325853", "0.62425977", "0.6239825", "0.62328655", "0.62295866", "0.6223693", "0.62203616", "0.61660606", "0.61360675", "0.6043513", "0.601547", "0.59866333", "0.5970012", "0.59684896", "0.59132034", "0.58985335", "0.5867677", "0.5842119", "0.5829791", "0.58111084", "0.58090264", "0.57965004", "0.579353", "0.5779195", "0.5758232", "0.5755406", "0.5753802", "0.57436144", "0.5727431", "0.5718873", "0.57186234", "0.5718396", "0.5715822", "0.57047486", "0.5697994", "0.5686898", "0.5685058", "0.5659511", "0.5659306", "0.56567615", "0.56560624", "0.5646808", "0.5644496", "0.56224984", "0.56048995", "0.5588421", "0.5585675", "0.55844843", "0.5574693", "0.5574276", "0.5569843", "0.55628383", "0.55603325", "0.5554377", "0.5551994", "0.55425626", "0.55110496", "0.55029166", "0.54985696", "0.54742295", "0.5469999", "0.5469999", "0.5469726", "0.5466828", "0.54608846", "0.5453399", "0.54521567", "0.54418707", "0.54396605", "0.54307705", "0.5425428", "0.54239285", "0.54195577", "0.5418006", "0.5417605" ]
0.721714
1
Find all projects of an account
List<Project> findProjectsOfAccount(String username);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Project> getAllProjects();", "@Override\n\tpublic List<ProjectInfo> findAllProject() {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findAllProject\");\n\t}", "public List<Project> findAllProject() {\n\t\tProject project;\r\n\t\tList<Project> projectList = new ArrayList<Project>();\r\n\t\tString query = \"SELECT * FROM TA_PROJECTS\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t\tprojectList.add(project);\r\n\t\t}\r\n\t\treturn projectList;\r\n\t}", "public List<Project> findAllProject() {\n\treturn projectmapper.findProject(null);\n}", "public List<ProjectType> invokeQueryProjects() throws TsResponseException {\n checkSignedIn();\n\n final List<ProjectType> projects = new ArrayList<>();\n\n int currentPage = 1; // Tableau starts counting at 1\n BigInteger totalReturned = BigInteger.ZERO;\n BigInteger totalAvailable;\n\n // Loop over pages\n do {\n // Query the projects page\n final String url = getUriBuilder().path(QUERY_PROJECTS) //\n .queryParam(\"pageNumber\", currentPage) //\n .queryParam(\"pageSize\", PROJECTS_PAGE_SIZE) //\n .build(m_siteId).toString();\n final TsResponse response = get(url);\n\n // Get the projects from the response\n projects.addAll(response.getProjects().getProject());\n\n // Next page\n currentPage++;\n // NOTE: total available is the number of datasources available\n totalAvailable = response.getPagination().getTotalAvailable();\n totalReturned = totalReturned.add(response.getPagination().getPageSize());\n } while (totalReturned.compareTo(totalAvailable) < 0);\n\n return projects;\n }", "@Transactional(readOnly = true)\n public List<ProjectDTO> getProjectsAssignedToUser(String login) {\n User userByLogin = userRepository.findOneWithRolesByLogin(login).get();\n List<Project> projectsOfUser = new ArrayList<>();\n for (Role role : userByLogin.getRoles()) {\n // get all projects for admin\n if (AuthoritiesConstants.SYS_ADMIN.equals(role.getAuthority().getName())) {\n return projectMapper.projectsToProjectDTOs(projectRepository.findAll());\n }\n // get unique project from roles\n if (!projectsOfUser.contains(role.getProject())) {\n projectsOfUser.add(role.getProject());\n }\n }\n return projectMapper.projectsToProjectDTOs(projectsOfUser);\n }", "@GetMapping(\"/getAll\")\r\n\tpublic List<Project> getAllProjects() {\r\n\t\treturn persistenceService.getAllProjects();\r\n\t}", "@Override\r\n\tpublic List<Project> findProject() {\n\t\treturn iSearchSaleRecordDao.findProject();\r\n\t}", "void getAllProjectList(int id);", "List<Project> selectAll();", "@GetMapping(\"/byName\")\r\n\tpublic List<Project> getProject(Principal principal) {\r\n\t\treturn persistenceService.getProject(AppBuilderUtil.getLoggedInUserId());\r\n\t}", "public void querySubProjects() {\r\n\t\t// Create a task\r\n\t\tProject master = new Project();\r\n\t\tmaster.setName(\"INFRASTRUCTURE\");\r\n\t\tmaster.setDisplayName(\"Infrastructure\");\r\n\t\tmaster.setDescription(\"Project to setup the new infrastructure\");\r\n\t\tmaster = (Project) aggregateService.create(master, new Settings());\t\r\n\r\n\t\t// Create 2 dependents\r\n\t\tProject A = new Project();\r\n\t\tA.setName(\"SETUP_NETWORK\");\r\n\t\tA.setDisplayName(\"Setup network\");\r\n\t\tA.setDescription(\"Project to lay the network cables and connect to routers\");\r\n\t\tA = (Project) aggregateService.create(A, new Settings());\r\n\r\n\t\tProject B = new Project();\r\n\t\tB.setName(\"SETUP_TELEPHONE\");\r\n\t\tB.setDisplayName(\"Setup telephone\");\r\n\t\tB.setDescription(\"Setup the telephone at each employee desk\");\r\n\t\tB = (Project) aggregateService.create(B, new Settings());\r\n\r\n\t\tMap<String, Project> subProjects = new HashMap<String, Project>();\r\n\t\tsubProjects.put(A.getName(), A);\r\n\t\tsubProjects.put(B.getName(), B);\r\n\t\tmaster.setSubProjects(subProjects);\r\n\t\tmaster = (Project) aggregateService.read(master, getSettings());\t\t\r\n\r\n\t\t// query the task object\r\n\t\tSettings settings = new Settings();\r\n\t\tsettings.setView(aggregateService.getView(\"SUBPROJECTS\"));\t\t\r\n\t\tList<?> toList = aggregateService.query(master, settings);\r\n\r\n\t\tassert(toList.size() == 1);\t\t\r\n\r\n\t\tObject obj = toList.get(0);\r\n\t\tassert(Project.class.isAssignableFrom(obj.getClass()));\r\n\r\n\t\tProject root = (Project) obj;\r\n\t\tassert(root.getSubProjects() != null && root.getSubProjects().size() == 2);\r\n\t\tassert(root.getSubProjects().get(\"SETUP_NETWORK\").getName().equals(\"SETUP_NETWORK\"));\r\n\t\tassert(root.getSubProjects().get(\"SETUP_TELEPHONE\").getName().equals(\"SETUP_TELEPHONE\"));\t\t\r\n\t}", "void getAllProjectList(int id, UserType userType);", "@Override\n\tpublic List<ProjectInfo> findProject(ProjectInfo project) {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findProject\",project);\n\t}", "public List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> searchProjects(\n Map<String, String> filters, List<String> accessibleIds, int limit, int offset, Object orderByIdentifier,\n ResultOrderType resultOrderType) throws RegistryException {\n\n List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> result = new ArrayList<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource>();\n EntityManager em = null;\n try {\n String query = \"SELECT DISTINCT p from Project p WHERE \";\n\n // FIXME There is a performance bottleneck for using IN clause. Try using temporary tables ?\n if(accessibleIds != null){\n query += \" p.projectId IN (\";\n for(String id : accessibleIds)\n query += (\"'\" + id + \"'\" + \",\");\n query = query.substring(0, query.length()-1) + \") AND \";\n }\n\n if (filters != null && filters.size() != 0) {\n for (String field : filters.keySet()) {\n String filterVal = filters.get(field);\n if (field.equals(ProjectConstants.USERNAME)) {\n query += \"p.\" + field + \"= '\" + filterVal + \"' AND \";\n } else if (field.equals(ProjectConstants.GATEWAY_ID)) {\n query += \"p.\" + field + \"= '\" + filterVal + \"' AND \";\n } else {\n if (filterVal.contains(\"*\")) {\n filterVal = filterVal.replaceAll(\"\\\\*\", \"\");\n }\n query += \"p.\" + field + \" LIKE '%\" + filterVal + \"%' AND \";\n }\n }\n }\n query = query.substring(0, query.length() - 5);\n\n //ordering\n if (orderByIdentifier != null && resultOrderType != null\n && orderByIdentifier.equals(Constants.FieldConstants.ProjectConstants.CREATION_TIME)) {\n String order = (resultOrderType == ResultOrderType.ASC) ? \"ASC\" : \"DESC\";\n query += \" ORDER BY p.\" + ProjectConstants.CREATION_TIME + \" \" + order;\n }\n\n em = ExpCatResourceUtils.getEntityManager();\n em.getTransaction().begin();\n Query q;\n\n //pagination\n if (offset >= 0 && limit >= 0) {\n q = em.createQuery(query).setFirstResult(offset).setMaxResults(limit);\n } else {\n q = em.createQuery(query);\n }\n\n List resultList = q.getResultList();\n for (Object o : resultList) {\n Project project = (Project) o;\n org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource projectResource =\n (ProjectResource) Utils.getResource(ResourceType.PROJECT, project);\n result.add(projectResource);\n }\n em.getTransaction().commit();\n em.close();\n } catch (Exception e) {\n logger.error(e.getMessage(), e);\n throw new RegistryException(e);\n } finally {\n if (em != null && em.isOpen()) {\n if (em.getTransaction().isActive()) {\n em.getTransaction().rollback();\n }\n em.close();\n }\n }\n return result;\n }", "@GetMapping(\"/my_projects\")\n public ResponseEntity<List<ProjectDto>> getMyProjects(){\n\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n String currentUserName = authentication.getName();\n User currentUser = userService.findByEmail(currentUserName).orElseThrow(\n () -> {throw new MyNotFoundException(\"User not found\");}\n );\n\n List<String> projects = Arrays.asList(currentUser.getProjects().split(\"#\"));\n\n List<ProjectDto> projectDtos = new ArrayList<>();\n for(String project : projects){\n if (projectService.findByName(project).isPresent()){\n Project temp = projectService.findByName(project).get();\n projectDtos.add(new ProjectDto(temp.getId(), temp.getName(), new CompanyDto(temp.getCompany()), temp.getStart_date(), temp.getStatus()));\n }\n }\n return ResponseEntity.ok(projectDtos);\n }", "@ApiMethod(\n name = \"getProjects\",\n path = \"getProjects\",\n httpMethod = HttpMethod.POST\n )\n public List<Project> getProjects(){\n \tQuery<Project> query = ofy().load().type(Project.class);\n \treturn query.list();\n }", "public abstract Collection<RepositoryUser> getProjectMembers(KenaiProject kp) throws IOException;", "List<ProjectCollectionMember> getMyProjects(String userId,\n int startFrom,\n int pageSize) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException;", "@Override\r\n\tpublic List<Project> viewAllProjects(String authToken) throws ManualException{\r\n\t\tfinal\tSession session=sessionFactory.openSession();\r\n\t\tList<Project> projectList =null;\r\n\r\n\t\t/* check for authToken of admin */\r\n\t\tsession.beginTransaction();\r\n\t\ttry{\r\n\t\t\tAuthTable authtable=session.get(AuthTable.class, authToken);\r\n\t\r\n\t\t\tUser user = authtable.getUser();\r\n\t\t\tif(user.getUsertype().equals(\"Admin\")){\r\n\t\t\t\tString hql=\"from project\";\r\n\t\t\t\tQuery q=session.createQuery(hql);\r\n\t\t\t\tprojectList=(List)q.list();\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tprojectList=null;\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tsession.getTransaction().commit();\r\n\t\t\tsession.close();\r\n\t\t\treturn projectList;\r\n\t\t}\r\n\t}", "public Project[] findAll() throws ProjectDaoException {\n\t\treturn findByDynamicSelect(SQL_SELECT + \" ORDER BY ID\", null);\n\t}", "public abstract List<ProjectBean> getProjectList();", "@GET\n\t@Path(\"allProjectsNamesAndIDInPortfolioAndAccount/{portfolioId}/{accountId}\")\n\t@Produces(MediaType.APPLICATION_JSON)\t\n\tpublic List<AllocatedProjects> getAllocatedProjectsForAccount(@PathParam(\"portfolioId\") Integer portfolioId,@PathParam(\"accountId\") Integer accountId) throws Exception{\n\t\t\n\t\t/*List<ProjectMaster>allocatedProjectsList=dashboardDao.getAllocatedProjectsForUser(user_id);\n\t\t\n\t\tList<AllocatedProjects>allocatedProjectNamesList=new ArrayList<AllocatedProjects>();\n\n\t\tAllocatedProjects allocatedProjects;\n\t\t\n\t\tfor(int i=0;i<allocatedProjectsList.size();i++){\n\t\t\tallocatedProjects=new AllocatedProjects();\n\t\t\tString projectName=allocatedProjectsList.get(i).getProject_name();\n\t\t\tallocatedProjects.setProjectName(projectName);\n\t\t\tallocatedProjectNamesList.add(allocatedProjects);\n\t\t\tprojectName=null;\n\t\t}\n\t\t\n\t\treturn allocatedProjectNamesList;*/\n\t\tList<AllocatedProjects>allocatedProjectNamesList=new ArrayList<AllocatedProjects>();\n\t\t\n\t\tObject projectDetails[];\n\n\t\tAllocatedProjects allocatedProjects;\n\t\tHashMap<String,Object> queryMap=new HashMap<String,Object >();\n\t\tqueryMap.put(\"portfolioId\",portfolioId);\n\t\tqueryMap.put(\"accountId\",accountId);\n\t\t\n\t\t//List<ProjectMaster>allocatedProjectsList = new ArrayList<ProjectMaster>();\n\t\tList<Object>projectList=GenericDaoSingleton.getGenericDao().findByQuery(ConstantQueries.GET_ALLOCATED_PROJECTS_FOR_PORTFOLIO_AND_ACCOUNT,queryMap);\n\t\t\n\t\tfor(int i=0;i<projectList.size();i++){\n\t\t\tallocatedProjects=new AllocatedProjects();\n\t\t\tprojectDetails=(Object[]) projectList.get(i);\n\t\t\tallocatedProjects.setProjectName(projectDetails[1].toString());\n\t\t\tallocatedProjects.setProject_id(Integer.parseInt(projectDetails[0].toString()));\n\t\t\tallocatedProjectNamesList.add(allocatedProjects);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\treturn allocatedProjectNamesList;\n\t\t\n\t}", "@GET\n\t@Path(\"allProjectDetailsInPortfolioAndAccount/{portfolioId}/{accountId}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response fetchAllProjectsInPort(@PathParam(\"portfolioId\") Integer portfolioId,@PathParam(\"accountId\") Integer accountId) throws Exception{\n\t\t\n\n\t\tlogger.info(\"Fetching projects for particular portfolio\"+portfolioId+\" and account\"+accountId);\n\n\t\t\n\t\tList<ProjectTO> projectMasterList = new ArrayList<ProjectTO>();\n\t\tObject projectMaster[];\n\t\tProjectTO projectTO = null;\n\t\t\n\n\t\ttry {\n\n\t\t\t\n\t\t\tHashMap<String, Object> queryMap = new HashMap<String, Object>();\n\t\t\tqueryMap.put(\"portfolioId\",portfolioId);\n\t\t\tqueryMap.put(\"accountId\",accountId);\n\t\t\t\n\t\t\tList<Object> projectList = GenericDaoSingleton.getGenericDao()\n\t\t\t\t\t.findByQuery(ConstantQueries.GET_ALLOCATED_PROJECTS_FOR_PORTFOLIO_AND_ACCOUNT, queryMap);\n\n\t\t\n\t\t\t\n\t\t\tif (projectList == null || projectList.size() == 0\n\t\t\t\t\t|| projectList.isEmpty() == true) {\n\t\t\t\tSystem.out.println(\"Projects not found\");\n\t\t\t\tprojectTO = null;\n\t\t\t\tlogger.error(\"Projets not found for particular portfolio and account\");\n\n\t\t\t\treturn Response.status(Response.Status.NOT_FOUND)\n\t\t\t\t\t\t.entity(projectTO).build();\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < projectList.size(); i++) {\n\t\t\t\tprojectTO = new ProjectTO();\n\t\t\t\tprojectMaster = (Object[]) projectList.get(i);\n\t\t\t\tprojectTO.setProject_id(Integer.parseInt(projectMaster[0].toString()));\n\t\t\t\tprojectTO.setProject_name(projectMaster[1].toString());\n\t\t\t\tprojectTO.setProject_status(projectMaster[2].toString());\n\t\t\t\tprojectTO.setProject_creation_date((Date) projectMaster[3]);\n\t\t\t\tprojectTO.setAccount_id(Integer.parseInt(projectMaster[4].toString()));\n\n\t\t\t\tprojectMasterList.add(projectTO);\n\t\t\t}\n\n\t\t\tlogger.error(\"Projects fetched successfully\");\n\n\t\t\treturn Response.status(Response.Status.OK).entity(projectMasterList)\n\t\t\t\t\t.build();\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t\tprojectTO = null;\n\t\t\tlogger.error(\"Error while getting Projects in Project Config service\");\n\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Error while getting Projects in Project Config service\");\n\t\t\treturn Response.status(Response.Status.INTERNAL_SERVER_ERROR)\n\t\t\t\t\t.entity(projectTO).build();\n\t\t}\n\n\t}", "public ArrayList<Project> allProjects() {\n ArrayList<Project> projects = new ArrayList<>();\n for (Role role : this.roles) {\n if (role instanceof Member) {\n projects.add(((Member) role).getProject());\n } else if (role instanceof Leader) {\n projects.add(((Member) role).getProject());\n }\n }\n return projects;\n }", "@GetMapping(\"\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic List<Project> getProjects()\n\t{\n\t\treturn projectService.findAll();\n\t}", "public List<Project> getAllProject(boolean isDeleted) throws EmployeeManagementException;", "@GetMapping(value = \"/projects\", produces = \"application/json\")\n public ResponseEntity<?> listAllProjects()\n {\n List<Project> projectList = projectService.findAllProjects();\n\n return new ResponseEntity<>(projectList, HttpStatus.OK);\n }", "Set<String> findProjectCategoriesOfAccount(String username);", "private Collection<EclipseProject> allProjects() {\n Collection<EclipseProject> all = new HashSet<EclipseProject>(selectedProjects);\n all.addAll(requiredProjects);\n return all;\n }", "public static MapList getCurrentUserProjects(Context context, String[] args) throws MatrixException {\n MapList projectList = new MapList();\n try {\n // rp3 : This needs to be tested to make sure the result creates no issue and returns the same set\n projectList = (MapList) JPO.invoke(context, \"emxProjectSpace\", null, \"getAllProjects\", args, MapList.class);\n\n // rp3 : Replace this code with the JPO invoke from the program central API.\n /*\n * com.matrixone.apps.common.Person person = (com.matrixone.apps.common.Person) DomainObject.newInstance(context, DomainConstants.TYPE_PERSON); com.matrixone.apps.program.ProjectSpace\n * project = (com.matrixone.apps.program.ProjectSpace) DomainObject.newInstance(context, DomainConstants.TYPE_PROJECT_SPACE,DomainConstants.PROGRAM);\n * \n * String ctxPersonId = person.getPerson(context).getId(); person.setId(ctxPersonId);\n * \n * //System.out.println(\"the project id is \" + ctxPersonId);\n * \n * StringList busSelects = new StringList(11); busSelects.add(project.SELECT_ID); busSelects.add(project.SELECT_TYPE); busSelects.add(project.SELECT_NAME);\n * busSelects.add(project.SELECT_CURRENT);\n * \n * //projectList = project.getUserProjects(context,person,null,null,null,null); // expand to get project members Pattern typePattern = new Pattern(DomainConstants.TYPE_PROJECT_SPACE);\n * typePattern.addPattern(DomainConstants.TYPE_PROJECT_CONCEPT);\n * \n * projectList = (person.getRelatedObjects( context, // context DomainConstants.RELATIONSHIP_MEMBER, // relationship pattern typePattern.getPattern(), // type filter. busSelects, //\n * business selectables null, // relationship selectables true, // expand to direction false, // expand from direction (short) 1, // level null, // object where clause null)); //\n * relationship where clause\n */\n\n // System.out.println(\"the project list is \" + projectList);\n } catch (Exception ex) {\n throw (new MatrixException(\"emxMsoiPMCUtil:getCurrentUserProjects : \" + ex.toString()));\n }\n return projectList;\n }", "List<ProjectDTO> findLimitProjects(int pageNumber);", "@GetMapping(\"/projects\")\n @Timed\n public ResponseEntity<?> getAllProjects(\n @PageableDefault(size = Integer.MAX_VALUE) Pageable pageable,\n @RequestParam(name = \"minimized\", required = false, defaultValue = \"false\") Boolean\n minimized) throws NotAuthorizedException {\n log.debug(\"REST request to get Projects\");\n checkPermission(token, PROJECT_READ);\n Page<?> page = projectService.findAll(minimized, pageable);\n HttpHeaders headers = PaginationUtil\n .generatePaginationHttpHeaders(page, \"/api/projects\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "public List getAvailableProjects (){\n\t\tList retValue = new ArrayList ();\n\t\tthis.setProcessing (true);\n\t\ttry {\n\t\t\tfor (Iterator it = getPersistenceManager().getExtent(Project.class, true).iterator();it.hasNext ();){\n\t\t\t\tretValue.add (it.next());\n\t\t\t}\n\t\t} finally {\n\t\t\tthis.setProcessing (false);\n\t\t}\n\t\treturn retValue;\n\t}", "@Override\n\tpublic List<Project> getProjectsByUserId(int id) {\n\t\treturn projectDao.getProjectsByUserId(id);\n\t}", "public List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> getProjects(int limit, int offset, Object orderByIdentifier,\n ResultOrderType resultOrderType) throws RegistryException {\n List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> result = new ArrayList<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource>();\n List<ExperimentCatResource> list = get(ResourceType.PROJECT, limit, offset, orderByIdentifier, resultOrderType);\n for (ExperimentCatResource resource : list) {\n result.add((org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource) resource);\n }\n return result;\n }", "@RequestMapping(value = \"/project\", method = RequestMethod.GET)\n\tpublic Response getProjects() {\n\t\tResponse response = new Response();\n\t\ttry {\n\t\t\tList<Project> projects = projectService.getAllProjects();\n\t\t\tif (!projects.isEmpty()) {\n\t\t\t\tresponse.setCode(CustomResponse.SUCCESS.getCode());\n\t\t\t\tresponse.setMessage(CustomResponse.SUCCESS.getMessage());\n\t\t\t\tresponse.setData(transformProjectToPojectDto(projects));\n\t\t\t} else {\n\t\t\t\tresponse.setCode(CustomResponse.ERROR.getCode());\n\t\t\t\tresponse.setMessage(CustomResponse.ERROR.getMessage());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tresponse.setCode(CustomResponse.ERROR.getCode());\n\t\t\tresponse.setMessage(CustomResponse.ERROR.getMessage());\n\t\t\tlogger.error(\"get all project Failed \", e);\n\t\t}\n\t\treturn response;\n\t}", "public List<String[]> getAllProject() {\n String url = Host.getSonar() + \"api/projects/index\";\n String json = null;\n try {\n Object[] response = HttpUtils.sendGet(url, Authentication.getBasicAuth(\"sonar\"));\n if (Integer.parseInt(response[0].toString()) == 200) {\n json = response[1].toString();\n }\n } catch (Exception e) {\n logger.error(\"Get sonar project list: GET request error.\", e);\n }\n if (json == null) {\n logger.warn(\"Get sonar project list: response empty.\");\n return null;\n }\n List<Map<String, Object>> projects = JSONArray.fromObject(json);\n if (projects.size() == 0) {\n logger.warn(\"Get sonar project list: empty list.\");\n return null;\n }\n List<String[]> result = new ArrayList<>();\n for (Map<String, Object> oneProject : projects) {\n result.add(new String[]{oneProject.get(\"nm\").toString(), oneProject.get(\"k\").toString()});\n }\n return result;\n }", "public abstract KenaiProject[] getDashboardProjects(boolean onlyOpened);", "public List<AbstractProject> getProjectList() {\n\t\tList<AbstractProject> projectList = new ArrayList<AbstractProject>();\n\t\tConnection conn = getConnection();\n\t\tPreparedStatement stmtSelect = null;\n\t\tResultSet rs = null;\n\t\ttry {\n\t\t\tStringBuilder sbSelect = new StringBuilder(SELECT)\n\t\t\t\t.append(projectIdColumnName).append(COMMA)\n\t\t\t\t.append(projectNameColumnName)\n\t\t\t\t.append(FROM).append(projectTableName);\n\n\t\t\tstmtSelect = conn.prepareStatement(sbSelect.toString());\n\t\t\trs = stmtSelect.executeQuery();\n\t\t\t\n\t\t\twhile (rs.next()) { \n\t\t\t\tAbstractProject project = (AbstractProject) ATElementFactory.createITreeComponent(projectType);\n\t\t\t\tproject.setId(rs.getInt(1));\n\t\t\t\tproject.setName(rs.getString(2));\n\t\t\t\tproject.setDescription(rs.getString(3));\n\t\t\t\tprojectList.add(project);\n\t\t\t}\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\tthrow new DAOException(e);\n\t\t\t\n\t\t} finally {\n\t\t\tDbUtils.closeQuietly(conn);\n\t\t\tDbUtils.closeQuietly(stmtSelect);\n\t\t\tDbUtils.closeQuietly(rs);\n\t\t}\n\t\t\n\t\treturn projectList;\n\t}", "List <ProjectAssignment> findAssignmentsByProject (int projectId);", "public List<Project> findByPage(Map<String, Object> map) {\n\tString key=map.get(\"currpage\").toString()+map.get(\"rows\").toString()+\"prlist\";\n\tList<Object> olist=redistemplateutil.lGet(key, 0, -1);\n\tList<Project> list=new ArrayList<Project>();\n\tif(null!=olist &&olist.size()>0) {\n\t\tlist=(List<Project>) olist.get(0);\n\t\treturn list;\n\t}else{\n\t\n\tList<Project> ulist= projectmapper.findByPage(map);\n\tredistemplateutil.lSet(key, ulist,3);\n\treturn ulist;\n\t}\n}", "private void loadProjects() {\n\t\tprojectsList.clear();\n\t\t\n\t\tArrayList<Job> projects = jdbc.getProjects();\n\t\tfor (Job j : projects) {\n\t\t\tprojectsList.addElement(j.jobname);\n\t\t}\n\t}", "public List<GitLabProject> getProjectAlls(Boolean archived, String orderBy, String sort, String search, Boolean ciEnabledFirst) throws IOException {\n return getProjects(\"/all\", archived, orderBy, sort, search, ciEnabledFirst);\n }", "public List<Project> getSpecifiedProjects(List<Integer> projectIdList) \n \t\tthrows EmployeeManagementException;", "@GetMapping(\"/alluser/{i}\")\n\t@ResponseBody\n\tpublic \tList<Project> retrieveAllProjectsIdUser(@PathVariable(\"i\")int i){\n\t\tList<Project> p = (List<Project>) projectservice.retrieveAllProjectsIdUser(i);\n\t\treturn p;\n\t}", "@Override\n public List<ProjectDTO> findProjectListByUserName(String username) {\n\n List<ProjectEntity> projectEntityList = projectRepository.findByAssignedManager(userMapper.convertToUserEntity(userService.findByUserName(username)));\n\n projectEntityList.forEach(each->{\n each.setCompleteTaskCounts(taskService.totalCompletedTasks(each.getProjectCode()));\n each.setUnfinishedTaskCounts(taskService.totalNonCompleteTasks(each.getProjectCode()));\n });\n\n return projectEntityList.stream().map(projectMapper::convertToProjectDto).collect(Collectors.toList());\n }", "public List<ProjectEntity> getProjectByName() {\n\t\treturn null;\n\t}", "private void fetchProjects(Folder folder) {\n\n logger.atInfo().log(\"Fetching projects from \" + folder.getDisplayName());\n\n Set<Project> projectSet = new HashSet<Project>();\n ListProjectsPagedResponse projectsResponse = projectsClient.listProjects(folder.getName());\n Iterable<Project> iterableProjects = projectsResponse.iterateAll();\n Iterator<Project> projects = iterableProjects.iterator();\n\n while (projects.hasNext()) {\n Project project = projects.next();\n projectSet.add(project);\n }\n folderProjectMap.put(folder, projectSet);\n }", "List<Project> getProjectsWithChanges(List<Project> projects);", "public List<String> getTestLinkProjects() {\r\n\t\tlogger.info(\"Getting TestLink projects...\");\r\n\t\tList<TestLinkMetricMeasurement> measurements = getAllTestLinkMetricObjects();\r\n\t\tList<String> projects = new ArrayList<>();\r\n\t\tfor (TestLinkMetricMeasurement testLinkMetricMeasurement : measurements) {\r\n\t\t\tString project = testLinkMetricMeasurement.getName();\r\n\t\t\tif (!projects.contains(project)) {\r\n\t\t\t\tprojects.add(project);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn projects;\r\n\t}", "@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic List<Projects> getProjectsForUser(int userId) {\n\t\tQuery q = sessionFactory.getCurrentSession().createQuery(\"Select up.projects from UserProjects up where up.users.userId=\"+userId);\n\t\tList<Projects> projects = q.list();\n\t\t\n\t\treturn projects;\n\t}", "public ProjectsList getProjects() {\n return projects.clone();\n }", "@Override\r\n\tpublic List<Project> selectProjectList(String id,int cPage,int numPerpage) {\n\t\treturn dao.selectProjectList(session,id,cPage,numPerpage);\r\n\t}", "@Query(\"select upm from UserProjectMapping upm join fetch upm.user where upm.project = ?1\")\n List<UserProjectMapping> findAllByProject(Project project);", "@Override\n public List<ProjectproductDTO> findAll() {\n log.debug(\"Request to get all Projectproducts\");\n List<ProjectproductDTO> result = projectproductRepository.findAll().stream()\n .map(projectproductMapper::projectproductToProjectproductDTO)\n .collect(Collectors.toCollection(LinkedList::new));\n\n return result;\n }", "@GetMapping(value = \"/getProjectDetails/ongoing\")\n\tpublic List<Project> getOngoingProjects()\n\t{\n\t\treturn integrationClient.getOngoingProjects();\n\t}", "Page<ProjectsDTO> findAll(Pageable pageable);", "public List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> getProjects() throws RegistryException {\n return getProjects(-1, -1, null, null);\n }", "public Project getProject(Long projectId);", "Collection<Account> getAll();", "List<Account> findAll();", "List<Account> findAll();", "void projectsFound( String key ) {\n developer.projects = new ArrayList<>();\n }", "public List<TaskMaster> retrieveAllTaskOfProject(Long projectId);", "public List<GitLabProject> getProjectOwneds(Boolean archived, String orderBy, String sort, String search, Boolean ciEnabledFirst) throws IOException {\n return getProjects(\"/owned\", archived, orderBy, sort, search, ciEnabledFirst);\n }", "@Override\n\tpublic List<Project> findProjectsByOwnerAccountId(int ownerAccountId,\n\t\t\tSet<String> currentPhases, boolean headerOnly) {\n\t\tif (ownerAccountId <= 0)\n\t\t\treturn null;\n\t\ttry {\n\t\t\tList<Project> projects = super.findDomainObjectsByOwnerAccountId(ownerAccountId, outJoins,\n\t\t\t\t\tcurrentPhases, null);\n\t\t\treturn getQueryDetail(projects, headerOnly);\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByOwnerAccountId MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByOwnerAccountId Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "Project findProjectById(String projectId);", "public List<Project> getListOfAuthorizedProjects(\n String username,\n AccessLevel accessLevel,\n Session session ) throws Exception {\n\n String queryStr = AUTHORIZED_FOR_USER_SQL_QUERY;\n\n if ( accessLevel == AccessLevel.View ) {\n queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, VIEW_PROJECT_GROUP_FIELD );\n }\n else {\n queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, EDIT_PROJECT_GROUP_FIELD );\n }\n\n NativeQuery query = session.createNativeQuery( queryStr );\n String queryUsername = username == null ? UNLOGGED_IN_USER : username;\n query.setParameter( USERNAME_PARAM, queryUsername );\n query.addEntity(\"P\", Project.class);\n List<Project> rtnVal = query.list();\n return rtnVal;\n }", "List<EclipseProject> getProjects() {\n return getFlattenedProjects(selectedProjects);\n }", "@Override\n\tpublic List<String> viewAllProjects(String userId) {\n\t\treturn fileDao.getUserAllProjectsName(userId);\n\t}", "public static List<Project> getProjects() throws Exception {\n Multimap<String, File> mapOfAllFiles = null;\n mapOfAllFiles = createMapOfFiles(getProjectsPath());\n mapOfAllFiles = removeEntriesWithoutProjectFile(mapOfAllFiles);\n return convertMapToProjects(mapOfAllFiles);\n }", "public static IProject[] getAllRubyProjects() {\r\n \t\tArrayList<IProject> rubyProjects = new ArrayList<IProject>();\r\n \t\tIWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();\r\n \t\t\r\n \t\tfor (Project aweProject : ProjectPlugin.getPlugin().getProjectRegistry().getProjects()) {\r\n \t\t\tfor (RubyProject rubyProject : aweProject.getElements(RubyProject.class)) {\r\n \t\t\t\tIProject resourceProject = root.getProject(rubyProject.getName());\r\n \t\t\t\ttry {\t\t\t\t\t\r\n \t\t\t\t\tresourceProject.setPersistentProperty(AWE_PROJECT_NAME, aweProject.getName());\r\n \t\t\t\t}\r\n \t\t\t\tcatch (CoreException e) {\r\n \t\t\t\t\tProjectPlugin.log(null, e);\r\n \t\t\t\t}\r\n \t\t\t\tfinally {\t\t\t\r\n \t\t\t\t\trubyProjects.add(resourceProject);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\treturn rubyProjects.toArray(new IProject[]{});\r\n \t}", "@GetMapping(value=\"/getProjectDetails/completed\")\n\tpublic List<Project> getAllProjectDetails()\n\t{\n\t\treturn integrationClient.getProjectDetiails();\n\t}", "public IProject [] getProjects(){\n\t\treturn projects;\n\t}", "@GET\n @Path(\"/listUserProjects\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response getUserProjects(@QueryParam(\"access_token\") String accessToken) {\n String username;\n\n // if accessToken != null, then OAuth client is accessing on behalf of a user\n if (accessToken != null) {\n provider p = new provider();\n username = p.validateToken(accessToken);\n p.close();\n } else {\n HttpSession session = request.getSession();\n username = (String) session.getAttribute(\"user\");\n }\n\n if (username == null) {\n throw new UnauthorizedRequestException(\"authorization_error\");\n }\n\n projectMinter p = new projectMinter();\n String response = p.listUsersProjects(username);\n p.close();\n return Response.ok(response).build();\n }", "com.appscode.api.auth.v1beta1.Project getProject();", "@GetMapping(\"/{email:.+}\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic List<Project> getProjectsByEmail(@PathVariable(\"email\") String email) {\n\t\tStakeholder user = userService.findStakeholderByEmail(email);\n\t\tList<Project> projects = userService.getStakeholderProjects(user);\n\t\treturn projects;\n\t}", "@GetMapping(\"/showme/{name}\")\n\t@ResponseBody\n\tpublic Optional<Project> retrieveProjectsByName(@PathVariable(\"name\") String name){\n\t\tOptional<Project> t = projectrepository.findProjectByName(name);\n\t\treturn t;\n\t}", "void allprojects(Action<? super ProjectPluginDependenciesSpec> configuration);", "@GET\n @Path(\"/admin/list\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response getUserAdminProjects() {\n HttpSession session = request.getSession();\n\n if (session.getAttribute(\"projectAdmin\") == null) {\n throw new ForbiddenRequestException(\"You must be the project's admin.\");\n }\n String username = session.getAttribute(\"user\").toString();\n\n projectMinter project= new projectMinter();\n String response = project.listUserAdminProjects(username);\n project.close();\n\n return Response.ok(response).build();\n }", "@Override\n\tpublic List<Project> findProjectsByName(int ownerAccountId,\n\t\t\tString name, Set<String> currentPhases, boolean headerOnly) {\n\t\ttry {\n\t\t\tList<Project> projects = super.findDomainObjectsByStringColumnVal(ownerAccountId, outJoins,\n\t\t\t\t\t\"o.Name\", name, true, currentPhases, null);\n\t\t\treturn getQueryDetail(projects, headerOnly);\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByName MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByName Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "@GetMapping(\"/project\")\n public Object doGet(){\n return service.getAllProjects();\n }", "public ArrayList<Project> selectProject(String projectId) {\n\n try {\n ArrayList<Project> tasks = new ArrayList<Project>();\n\n String query = \"SELECT * FROM TASKS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(query);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n\n while (rs.next()) {\n String hours = rs.getString(\"HOURS\");\n String hoursadded = rs.getString(\"HOURS_ADDED\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(description, hours, hoursadded,\n projectId);\n tasks.add(p);\n }\n rs.close();\n ps.close();\n return tasks;\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "@Override\n\tpublic List<Project> findProjectsByProjectCode(int ownerAccountId,\n\t\t\tString projectCode, Set<String> currentPhases, boolean headerOnly) {\n\t\ttry {\n\t\t\tList<Project> projects = super.findDomainObjectsByStringColumnVal(ownerAccountId, outJoins,\n\t\t\t\t\t\"o.ProjectCode\", projectCode, true, currentPhases, null);\n\t\t\treturn getQueryDetail(projects, headerOnly);\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByProjectCode MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByProjectCode Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "@RequestMapping(value={\"/projects\"}, method= RequestMethod.GET)\r\n\tpublic String myOwnedProjects(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tList<Project> projectsList= this.projectService.retrieveProjectsOwnedBy(loggedUser);\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectsList\", projectsList);\r\n\t\treturn \"projects\";\r\n\t\t\r\n\t}", "@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/projects\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<ProjectList, Project> listProject();", "public Project getTasks(String projectId) {\n try {\n\n String selectProject = \"select * from PROJECTS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(selectProject);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n if (rs.next()) {\n String startdate = rs.getString(\"STARTDATE\");\n String invoicesent = rs.getString(\"INVOICESENT\");\n String hours = rs.getString(\"HOURS\");\n String client = \"\";\n String duedate = rs.getString(\"DUEDATE\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(client, description, projectId,\n duedate, startdate, hours, duedate, duedate,\n invoicesent, invoicesent);\n rs.close();\n ps.close();\n return p;\n } else {\n return null;\n }\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "@Test\n\tpublic void getProjects() {\n\t\tList<Project> projects = new ArrayList<Project>();\n\t\tprojects.add(project);\n\t\twhen(repository.findAll()).thenReturn(projects);\n\t\tassertEquals(controller.getAllProjects(), projects);\n\t}", "public ArrayList<Project> getProjects(){\n return this.projects;\n }", "@Transactional(readOnly = true) \n public Page<TaskProject> findAll(Pageable pageable) {\n log.debug(\"Request to get all TaskProjects\");\n Page<TaskProject> result = taskProjectRepository.findAll(pageable);\n return result;\n }", "public static List<Member> getProjectMembers(String projectId) {\n try {\n String url = BASE_URL + \"projects/\" + projectId + \"/members\";\n return extractMembers(sendAuthenticated(new HttpGet(url)));\n } catch (Exception e) {\n e.printStackTrace();\n }\n return new ArrayList<>();\n }", "@Override\n\tpublic void getAllProjects(Model model) {\n\t\tmodel.addAttribute(\"projects\", pm.getAllProjects());\n\t}", "Project findProjectById(Long projectId);", "TrackerProjects getTrackerProjects(final Integer id);", "public List<GitLabProject> getProjects(Boolean archived, String orderBy, String sort, String search, Boolean ciEnabledFirst) throws IOException {\n return getProjects(null, archived, orderBy, sort, search, ciEnabledFirst);\n }", "public static List getProjectsUsingConfig(ICheckConfiguration checkConfig)\n throws CheckstylePluginException\n {\n \n List result = new ArrayList();\n \n IWorkspace workspace = ResourcesPlugin.getWorkspace();\n IProject[] projects = workspace.getRoot().getProjects();\n for (int i = 0; (i < projects.length); i++)\n {\n if (ProjectConfigurationFactory.getConfiguration(projects[i])\n .isConfigInUse(checkConfig))\n {\n result.add(projects[i]);\n }\n }\n \n return result;\n }", "@Override\n\tpublic List<Project> findProjectsByCustomerAccountId(int ownerAccountId,\n\t\t\tint customerAccountId, Set<String> currentPhases, boolean headerOnly) {\n\t\ttry {\n\t\t\tList<Project> projects = super.<Integer>findDomainObjectsByGenericTypeColumnVal(ownerAccountId, outJoins,\n\t\t\t\t\t\"o.CustomerAccountId\", customerAccountId, currentPhases, null);\n\t\t\treturn getQueryDetail(projects, headerOnly);\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByCustomerAccountId MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectsByCustomerAccountId Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "@Query(value = \"SELECT * FROM questions_aides_project WHERE token_project=?1 \", nativeQuery = true)\n List<QuestionAidesProjectModel> findByProject(String tokenProject);", "public List<Issue> getUserProjectActiveIssue(User user, Project project);" ]
[ "0.76084965", "0.7464551", "0.7295146", "0.71684664", "0.71267605", "0.6993173", "0.6928868", "0.6869236", "0.67640394", "0.67255753", "0.66967416", "0.6672548", "0.66517985", "0.66332805", "0.66245586", "0.66244817", "0.66063046", "0.6592131", "0.64627796", "0.6457172", "0.6456395", "0.6444941", "0.6427221", "0.6418979", "0.64125746", "0.63971186", "0.63781464", "0.63687223", "0.63358563", "0.6301669", "0.62951696", "0.62902576", "0.6277292", "0.6222918", "0.61929125", "0.618177", "0.6176225", "0.61733764", "0.6164574", "0.6155049", "0.61371326", "0.6117051", "0.61155635", "0.61083364", "0.6102187", "0.6093158", "0.60901076", "0.6079174", "0.6044369", "0.60395294", "0.6038881", "0.6030887", "0.6018458", "0.60183734", "0.60128486", "0.598527", "0.5954193", "0.59109765", "0.5900321", "0.58855003", "0.58830875", "0.58788866", "0.58788866", "0.58777165", "0.58687794", "0.586766", "0.58667076", "0.58628315", "0.58504933", "0.58477867", "0.5837925", "0.58347636", "0.5832177", "0.58306265", "0.58180124", "0.58170414", "0.5812908", "0.5810119", "0.58000374", "0.5795386", "0.5791441", "0.57615584", "0.5752293", "0.5751558", "0.57394075", "0.5733928", "0.5732802", "0.5731486", "0.57284117", "0.5728342", "0.5723443", "0.57181126", "0.57150626", "0.5713963", "0.57055", "0.56828773", "0.5679886", "0.5667876", "0.5660974", "0.5635176" ]
0.8095603
0
Finds all project categories of an account
Set<String> findProjectCategoriesOfAccount(String username);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Project> findProjectsOfAccount(String username);", "public List<Cvcategory> findAllCvcategories();", "public List<Project> getAllProjects();", "public List<Categorie> getAllCategories();", "@Transactional(readOnly = true)\n public List<ProjectDTO> getProjectsAssignedToUser(String login) {\n User userByLogin = userRepository.findOneWithRolesByLogin(login).get();\n List<Project> projectsOfUser = new ArrayList<>();\n for (Role role : userByLogin.getRoles()) {\n // get all projects for admin\n if (AuthoritiesConstants.SYS_ADMIN.equals(role.getAuthority().getName())) {\n return projectMapper.projectsToProjectDTOs(projectRepository.findAll());\n }\n // get unique project from roles\n if (!projectsOfUser.contains(role.getProject())) {\n projectsOfUser.add(role.getProject());\n }\n }\n return projectMapper.projectsToProjectDTOs(projectsOfUser);\n }", "List<Category> getAllCategories();", "public List<Category> getCategories() {\n CategoryRecords cr = company.getCategoryRecords();\n List<Category> catList = cr.getCategories();\n return catList;\n }", "public void getCategorory(){\n\t\tDynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(AssetCategory.class, \"category\", PortalClassLoaderUtil.getClassLoader());\n\t\ttry {\n\t\t\tList<AssetCategory> assetCategories = AssetCategoryLocalServiceUtil.dynamicQuery(dynamicQuery);\n\t\t\tfor(AssetCategory category : assetCategories){\n\t\t\t\tlog.info(category.getName());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t}", "public List<Category> findCategories(User user) {\n return categoryDAO.findCategories(user);\n }", "public static List<Category> findAll() {\n List<Category> categories = categoryFinder.findList();\n if(categories.isEmpty()){\n categories = new ArrayList<>();\n }\n return categories;\n }", "public @NotNull Set<Category> findAllCategories() throws BazaarException;", "@Override\n\tpublic List<ProjectInfo> findAllProject() {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findAllProject\");\n\t}", "List<Categorie> findAll();", "public List<String> findAllCategories() {\r\n\t\tList<String> result = new ArrayList<>();\r\n\r\n\t\t// 1) get a Connection from the DataSource\r\n\t\tConnection con = DB.gInstance().getConnection();\r\n\r\n\t\ttry {\r\n\r\n\t\t\t// 2) create a PreparedStatement from a SQL string\r\n\t\t\tPreparedStatement ps = con.prepareStatement(GET_CATEGORIES_SQL);\r\n\r\n\t\t\t// 3) execute the SQL\r\n\t\t\tResultSet resultSet = ps.executeQuery();\r\n\t\t\twhile (resultSet.next()) {\r\n\r\n\t\t\t\tString cat = resultSet.getString(1);\r\n\t\t\t\tresult.add(cat);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException se) {\r\n\t\t\tse.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tDB.gInstance().returnConnection(con);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "public List<CategoriaEntity> findAll() {\n LOGGER.log(Level.INFO, \"Consultando todas las categorias\");\n // Se crea un query para buscar todas las categorias en la base de datos.\n TypedQuery query = em.createQuery(\"select u from CategoriaEntity u\", CategoriaEntity.class);\n // Note que en el query se hace uso del método getResultList() que obtiene una lista de categorias.\n return query.getResultList();\n }", "public List<Project> findAllProject() {\n\t\tProject project;\r\n\t\tList<Project> projectList = new ArrayList<Project>();\r\n\t\tString query = \"SELECT * FROM TA_PROJECTS\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t\tprojectList.add(project);\r\n\t\t}\r\n\t\treturn projectList;\r\n\t}", "public static List<Category> getAllCategory() {\n\n List<Category> categoryList = new ArrayList<>();\n try {\n categoryList = Category.listAll(Category.class);\n } catch (Exception e) {\n\n }\n return categoryList;\n\n }", "public List<Category> getAllCategories() {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tQuery query = (Query) session.createQuery(\"from Category\");\r\n\t\tList<Category> categories = query.list();\r\n\r\n\t\treturn categories;\r\n\t}", "public static List<Categorias> obtenerCategorias(){\n List<Categorias> categorias = new ArrayList<>();\n \n Categorias c = new Categorias();\n \n c.conectar();\n \n c.crearQuery(\"select * from categoria_libro\");\n \n ResultSet informacion = c.getResultSet();\n \n try {\n while (informacion.next())\n categorias.add(new Categorias(informacion));\n } catch (Exception error) {}\n \n c.desconectar();\n \n return categorias;\n }", "public ArrayList<Categories> getAllCategories() {\n\t\t\n\t\tCategories cg;\n\t\tArrayList<Categories> list=new ArrayList<Categories>();\n\t\t\n\t\ttry {\n\t\t\t String query=\"select * from categories;\";\n\t\t\tPreparedStatement pstm=con.prepareStatement(query);\n\t\t\tResultSet set= pstm.executeQuery();\n\t\t\t\n\t\t\twhile(set.next()) {\n\t\t\t\tint cid=set.getInt(1);\n\t\t\t\tString cname=set.getString(2);\n\t\t\t\tString cdes=set.getString(3);\n\t\t\t\t\n\t\t\t\tcg=new Categories(cid, cname, cdes);\n\t\t\t\tlist.add(cg);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn list;\n\t}", "public List<ProductCatagory> getAllCategory() throws BusinessException;", "public List<Category> getAllCategories() {\n\t dbUtil = new DBUtil();\n\t StringBuffer sbQuery = dbUtil.getQueryBuffer();\n\t ArrayList<String> args = dbUtil.getArgs();\n\t ResultSet rs = null;\n\t List<Category> listCategory = null;\n\t \n\t /*** Get the details of a particular Category ***/\n\t /*** QUERY ***/\n\t sbQuery.setLength(0);\n\t sbQuery.append(\" SELECT \");\n\t sbQuery.append(\" id, \");\n\t sbQuery.append(\" name, \");\n\t sbQuery.append(\" userid \");\n\t sbQuery.append(\" FROM lookup.category \");\n\t \n\t /*** Prepare parameters for query ***/\n\t args.clear();\n\t \n\t \n\t /*** Pass the appropriate arguments to DBUtil class ***/\n\t rs = dbUtil.executeSelect(sbQuery.toString(), args);\n\t \n\t /*** Convert the result set into a User object ***/\n\t if(rs!=null)\n\t listCategory = TransformUtil.convertToListCategory(rs);\n\t \n\t dbUtil.closeConnection();\n\t dbUtil = null;\n\t \n\t return listCategory;\n\t}", "public List<Category> getAllCategories() {\n\t\t\tSession session = sessionFactory.getCurrentSession();\n\t\t\tQuery q = session.createQuery(\"from Category\");\n\t\t\tList<Category> catlist = q.list();\n\t\t\t\n\t\t\treturn catlist;\n\t\t}", "@GetMapping(\"/showmecat/{cat}\")\n\t@ResponseBody\n\tpublic \tList<Project> retrieveAllProjectsCat(@PathVariable(\"cat\")String cat){\n\t\tList<Project> p = (List<Project>) projectservice.retrieveAllProjectsCat(cat);\n\t\treturn p;\n\t}", "public List<Project> findAllProject() {\n\treturn projectmapper.findProject(null);\n}", "public List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> getProjects(int limit, int offset, Object orderByIdentifier,\n ResultOrderType resultOrderType) throws RegistryException {\n List<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource> result = new ArrayList<org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource>();\n List<ExperimentCatResource> list = get(ResourceType.PROJECT, limit, offset, orderByIdentifier, resultOrderType);\n for (ExperimentCatResource resource : list) {\n result.add((org.apache.airavata.registry.core.experiment.catalog.resources.ProjectResource) resource);\n }\n return result;\n }", "public List<Categoria> listarCategorias(){\n //este metodo devuelve una lista.\n return categoriaRepo.findAll(); \n\n }", "List<Category> getAllCategories() throws DataBaseException;", "List<ProductCategory> getAll();", "List getCategoriesOfType(String typeConstant);", "@Override\n\tpublic List<Category> findAllCategory() {\n\t\treturn categoryRepository.findAllCategory();\n\t}", "public java.util.List<es.davinciti.liferay.model.LineaGastoCategoria> findAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "List<Category> findAll();", "public List<Category> findAll();", "@Override\n\tpublic Iterable<Category> findAllCategory() {\n\t\treturn categoryRepository.findAll();\n\t}", "void getAllProjectList(int id, UserType userType);", "List<Project> selectAll();", "public Collection<Categoria> listar() {\n\t\tQuery q = manager.createQuery(\"SELECT p FROM Categoria p\");\n\t\treturn (Collection<Categoria>) q.getResultList();\n\t}", "public List<ProjectType> invokeQueryProjects() throws TsResponseException {\n checkSignedIn();\n\n final List<ProjectType> projects = new ArrayList<>();\n\n int currentPage = 1; // Tableau starts counting at 1\n BigInteger totalReturned = BigInteger.ZERO;\n BigInteger totalAvailable;\n\n // Loop over pages\n do {\n // Query the projects page\n final String url = getUriBuilder().path(QUERY_PROJECTS) //\n .queryParam(\"pageNumber\", currentPage) //\n .queryParam(\"pageSize\", PROJECTS_PAGE_SIZE) //\n .build(m_siteId).toString();\n final TsResponse response = get(url);\n\n // Get the projects from the response\n projects.addAll(response.getProjects().getProject());\n\n // Next page\n currentPage++;\n // NOTE: total available is the number of datasources available\n totalAvailable = response.getPagination().getTotalAvailable();\n totalReturned = totalReturned.add(response.getPagination().getPageSize());\n } while (totalReturned.compareTo(totalAvailable) < 0);\n\n return projects;\n }", "public List<String> getCategories();", "public ArrayList<Project> allProjects() {\n ArrayList<Project> projects = new ArrayList<>();\n for (Role role : this.roles) {\n if (role instanceof Member) {\n projects.add(((Member) role).getProject());\n } else if (role instanceof Leader) {\n projects.add(((Member) role).getProject());\n }\n }\n return projects;\n }", "public List<DocCategory> getAllDocCategories() {\n return docCategoryRepository.findAll();\n }", "@Override\n\tpublic List<Category> getAllCategories() {\n\t\tQuery query = sessionFactory.getCurrentSession().createQuery(\"FROM \"+Category.class.getName());\n\t\treturn (List<Category>)query.list();\t\t\n\t}", "public static void consultarListaCategorias(Activity activity) {\n ConexionSQLite conectar = new ConexionSQLite(activity, BASE_DATOS, null, 1);\n SQLiteDatabase db = conectar.getReadableDatabase();\n CategoriaVo categoria = null;\n listaCategorias = new ArrayList<CategoriaVo>();\n Cursor cursor = db.rawQuery(\"SELECT * FROM \"+TABLA_CATEGORIAS, null);\n\n while (cursor.moveToNext()) {\n categoria = new CategoriaVo();\n categoria.setId(cursor.getInt(0));\n categoria.setCategoria(cursor.getString(1));\n categoria.setDescripcion(cursor.getString(2));\n\n listaCategorias.add(categoria);\n }\n db.close();\n }", "List<ProjectCollectionMember> getMyProjects(String userId,\n int startFrom,\n int pageSize) throws InvalidParameterException,\n PropertyServerException,\n UserNotAuthorizedException;", "public List<CategoriaVO> mostrarCategorias() {\n\t\tJDBCTemplate mysql = MysqlConnection.getConnection();\n\t\ttry {\n\t\t\tmysql.connect();\n\t\t\tCategoriaDAO OwlDAO = new CategoriaDAO();\n\t\t\tList<CategoriaVO> resultado = new ArrayList();\n\t\t\tresultado = OwlDAO.obtenerCategorias(mysql);\n\t\t\treturn resultado;\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace(System.err);\n\t\t\treturn null;\n\n\t\t} finally {\n\t\t\tmysql.disconnect();\n\t\t}\n\t}", "@Override\r\n\tpublic List<Categorie> getAllCategorie() {\n\t\treturn cateDao.getAllCategorie();\r\n\t}", "List<Category> getAllCategories() throws DaoException;", "public static ArrayList<String> getCategories() {\n String query;\n ArrayList<String> categories = new ArrayList<String>();\n\n try {\n Connection con = Database.createDBconnection();\n Statement stmt = con.createStatement();\n query = \"SELECT category FROM category;\";\n ResultSet rs = stmt.executeQuery(query);\n\n while(rs.next()) {\n categories.add(rs.getString(\"category\"));\n }\n\n Database.closeDBconnection(con);\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n return categories;\n }", "List<Category> lisCat() {\n return dao.getAll(Category.class);\n }", "public List<CategoryDTO> getCategories(String bbbChannel, String siteId, List<String> relatedCategories) ;", "public List<Category> findAll() {\n\t\treturn categoryMapper.selectAll();\n\t}", "@Override\n\tpublic List<Category> getAllCategory() {\n\t\treturn category.selectAllCategory();\n\t}", "public List<String> getTestLinkProjects() {\r\n\t\tlogger.info(\"Getting TestLink projects...\");\r\n\t\tList<TestLinkMetricMeasurement> measurements = getAllTestLinkMetricObjects();\r\n\t\tList<String> projects = new ArrayList<>();\r\n\t\tfor (TestLinkMetricMeasurement testLinkMetricMeasurement : measurements) {\r\n\t\t\tString project = testLinkMetricMeasurement.getName();\r\n\t\t\tif (!projects.contains(project)) {\r\n\t\t\t\tprojects.add(project);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn projects;\r\n\t}", "private Collection<IInstallableUnit>queryCategories(final IProgressMonitor monitor, IProvisioningAgent agent)\r\n\t{\t\t\r\n\t\tCollection<IInstallableUnit>iuSet = new LinkedList<IInstallableUnit>();\r\n\t\tIQueryable<IInstallableUnit> queryable = ((IProfileRegistry) agent\r\n\t\t\t\t.getService(IProfileRegistry.SERVICE_NAME))\r\n\t\t\t\t.getProfile(PROFILE_ID);\r\n\r\n\t\tif (queryable != null)\r\n\t\t{\r\n\t\t\t// Kategorien abfragen\r\n\t\t\tIQueryResult<IInstallableUnit> resultCategory = queryable.query(\r\n\t\t\t\t\tQueryUtil.createIUCategoryQuery(), monitor);\r\n\t\t\t\r\n\t\t\tIterator<IInstallableUnit> itMembers = resultCategory.iterator();\r\n\t\t\twhile (itMembers.hasNext())\r\n\t\t\t{\r\n\t\t\t\tIInstallableUnit uiMember = itMembers.next();\r\n\t\t\t\tiuSet.add(uiMember);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn iuSet;\r\n\t}", "Set<Category> getShopCategories(Shop shop);", "public List<CategoriaUsuario> findall(){\n return categoriaUsuarioRepository.findAll();\n }", "public final List<String> getCategories() {\n return new ArrayList<>(questionGeneratorStrategyFactory.createPracticeQuestionStrategy().generateQuestions().keySet());\n }", "public static List<Category> getCategories(Context context) {\r\n DbManager dbManager = new DbManager(context);\r\n SQLiteDatabase db = dbManager.getReadableDatabase();\r\n\r\n Cursor cursor = db.query(\r\n CategoryTable.TABLE_NAME,\r\n new String[]{CategoryTable._ID, CategoryTable.COLUMN_NAME_CATEGORY_NAME},\r\n CategoryTable.COLUMN_NAME_IS_DELETED + \" = 0\",\r\n null,\r\n null,\r\n null,\r\n CategoryTable.COLUMN_NAME_CATEGORY_NAME + \" ASC\"\r\n );\r\n\r\n List<Category> categories = new ArrayList<>();\r\n while(cursor.moveToNext()) {\r\n Category category = new Category();\r\n category._id = cursor.getInt(cursor.getColumnIndexOrThrow(CategoryTable._ID));\r\n category.category = cursor.getString(cursor.getColumnIndexOrThrow(CategoryTable.COLUMN_NAME_CATEGORY_NAME));\r\n categories.add(category);\r\n }\r\n cursor.close();\r\n db.close();\r\n\r\n return categories;\r\n }", "@GetMapping\n\t public List<Categories> touslescategories() {\n\t\treturn catsociete.findAll();}", "@Override\n\tpublic List<Category> findcategory() {\n\t\t\n\t\tConnection conn=null;\n\t\tPreparedStatement pst=null;\n\t\tResultSet rs=null;\n\t\t\n\t\tList<Category> list=new ArrayList<Category>();\n\t\ttry {\n\t\t\tconn=DBUtils.getConnection();\n\t\t\tpst=conn.prepareStatement(\"select id,parent_id,name,status,sort_order,create_time,update_time from category\");\n\t\t\t\n\t\t\trs=pst.executeQuery();\n\t\t\t\n\t\t\twhile (rs.next()) {\n\t\t\t\tCategory category=new Category(rs.getInt(\"id\"),rs.getInt(\"parent_id\"),rs.getString(\"name\"),rs.getInt(\"status\"),rs.getInt(\"sort_order\"),rs.getDate(\"create_time\"),rs.getDate(\"update_time\"));\n\t\t\t\tlist.add(category);\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\tDBUtils.Close(conn, pst, rs);\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t\t\n\t\t\n\n\t}", "@GetMapping(\"/getAll\")\r\n\tpublic List<Project> getAllProjects() {\r\n\t\treturn persistenceService.getAllProjects();\r\n\t}", "@Override\r\n\tpublic List<Category> getAllCategory() {\n\t\tString hql = \"from Category\";\r\n\t\treturn (List<Category>) getHibernateTemplate().find(hql);\r\n\t}", "List<CabinClassModel> findCabinClasses();", "@Override\n\tpublic List<Category> findAll(int start, int end) {\n\t\treturn findAll(start, end, null);\n\t}", "@Transactional\r\n\tpublic List<CmVocabularyCategory> getCmVocabularyCategorys() {\r\n\t\treturn dao.findAllWithOrder(CmVocabularyCategory.class, \"modifyTimestamp\", false);\r\n\t}", "public List<Category> getCategories() {\n this.catr = m_oCompany.getCategoryRecords();\n return catr.getCategories();\n }", "public ArrayList<Categoria> listarCategorias();", "@Override\n\tpublic List<AnimalCategory> findCategory() {\n\t\tList<AnimalCategory> list = animaldao.findCategory();\n\t\treturn list;\n\t}", "@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n public List<Category> getCategoryFindAll() {\n return em.createNamedQuery(\"Category.findAll\", Category.class).getResultList();\n }", "@Override\n\tpublic List<Category> getAllCategory() {\n\t\treturn dao.getAllCategory();\n\t}", "List<ConfigCategory> getCategoryOfTypeAndDisplayName(String typeConstant, String catDisplayName);", "@Override\n public List<Category> getAll()\n {\n \n ResultSet rs = DataService.getData(\"SELECT * FROM Categories\");\n \n List<Category> categories = new ArrayList<Category>();\n \n try\n {\n while (rs.next())\n {\n categories.add(convertResultSetToCategory(rs));\n }\n }\n catch (SQLException e)\n {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n \n return categories;\n }", "public List<ZCategory> SelectAll() {\r\n\t\tList<ZCategory> Categories = new ArrayList<>();\r\n\t\tString lines[];\r\n\t\tlines = fm.getArray();\r\n\t\tfor (String string : lines) {\r\n\t\t\tCategories.add(stringToCategory(string));\r\n\t\t}\r\n\t\treturn Categories;\r\n\t}", "@Override\r\n\tpublic List<Project> findProject() {\n\t\treturn iSearchSaleRecordDao.findProject();\r\n\t}", "public List<Categoria> findAll(EntityManager entityManager) {\n Query query = entityManager.createNamedQuery(\"Categoria.findAll\");\r\n categoriaList = query.getResultList();\r\n return categoriaList;\r\n }", "private void listadoCategorias() {\r\n sessionProyecto.getCategorias().clear();\r\n sessionProyecto.setCategorias(itemService.buscarPorCatalogo(CatalogoEnum.CATALOGOPROYECTO.getTipo()));\r\n }", "public List<Category> findAll() {\n\t\treturn categoryDao.getAll();\n\t}", "public List<Project> getListOfAuthorizedProjects(\n String username,\n AccessLevel accessLevel,\n Session session ) throws Exception {\n\n String queryStr = AUTHORIZED_FOR_USER_SQL_QUERY;\n\n if ( accessLevel == AccessLevel.View ) {\n queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, VIEW_PROJECT_GROUP_FIELD );\n }\n else {\n queryStr = queryStr.replace( PROJ_GRP_SUBST_STR, EDIT_PROJECT_GROUP_FIELD );\n }\n\n NativeQuery query = session.createNativeQuery( queryStr );\n String queryUsername = username == null ? UNLOGGED_IN_USER : username;\n query.setParameter( USERNAME_PARAM, queryUsername );\n query.addEntity(\"P\", Project.class);\n List<Project> rtnVal = query.list();\n return rtnVal;\n }", "@Override\r\n\tpublic List<Category> getAllCategory() {\n\t\treturn categoryDao.getAll();\r\n\t}", "public @NotNull Set<Category> findCategories(@NotNull @Size(min = 1, max = 255) final String name)\r\n\t\t\tthrows BazaarException;", "public List<Category> queryExistingCategory(){\n\t\tArrayList<Category> cs = new ArrayList<Category>(); \n\t\tCursor c = queryTheCursorCategory(); \n\t\twhile(c.moveToNext()){\n\t\t\tCategory category = new Category();\n\t\t\tcategory._id = c.getInt(c.getColumnIndex(\"_id\"));\n\t\t\tcategory.title = c.getString(c.getColumnIndex(DBEntryContract.CategoryEntry.COLUMN_NAME_TITLE));\n\t\t\tcategory.numberOfEntries = this.queryLocationEntryNumberByCategory(category._id);\n\t\t\tcs.add(category);\n\t\t}\n\t\t// close the cursor\n\t\tc.close();\n\t\treturn cs;\n\t\t\n\t}", "public abstract Collection<RepositoryUser> getProjectMembers(KenaiProject kp) throws IOException;", "@Override\r\n\tpublic List<Category> findAll() {\n\t\treturn(List<Category>) em.createNamedQuery(\"findAllCategories\").getResultList();\r\n\t}", "@Override\r\n\tpublic List<Category> list() {\n\t\treturn categories;\r\n\t}", "public Set<String> getAllBooksCategories() {\n List<Book> books = bookRepository.findAll();\n Set<String> categories = new HashSet<>();\n for (Book book : books) {\n if (book.getCategories() != null) {\n categories.addAll(Arrays.asList(book.getCategories()));\n }\n }\n return categories;\n }", "void getAllProjectList(int id);", "@Test\n\tpublic void query_for_request_categories_selects_name() {\n\t\tEnvironmentContext cx = null;\n\t\ttry {\n\t\t\tcx = new EnvironmentContext();\n\t\t} catch (Exception e) {\n\t\t\tfail(e.getMessage());\n\t\t}\n\t\t// And a new repository with that connection\n\t\tBuildProjectRepository repository = new BuildProjectRepositoryApiClient(cx);\n\t\t// And a reference to the BuildProject asset type\n\t\tIAssetType assetType = cx.getMetaModel().getAssetType(\"BuildProject\");\n\t\t// And a reference to the name attribute\n\t\tIAttributeDefinition nameAttribute = assetType.getAttributeDefinition(\"Name\");\n\t\t// When I build the query for build projects\n\t\tQuery query = repository.buildQueryForAllBuildProjects();\n\t\t// Then the query selects the name attribute\n\t\tassertTrue(query.getSelection().contains(nameAttribute));\n\t}", "public List<String> getAllCategories(String[] err) {\n GetCategoriesJSONResponse getCategoriesJSONResponse = null;\n try {\n getCategoriesJSONResponse = apiInterface.getAllCategories().execute().body();\n if (getCategoriesJSONResponse != null && getCategoriesJSONResponse.getStatus() == -1) {\n err[0] = getCategoriesJSONResponse.getMessage();\n }\n } catch (Exception e) {\n Log.e(TAG, \"Ex: \", e);\n }\n\n return getCategoriesJSONResponse != null ? getCategoriesJSONResponse.getCategories() : null;\n }", "String getAllPortfolio();", "public List<CatCurso> consultarCatCurso()throws NSJPNegocioException;", "public Flowable<List<Category>> getCategories() {\n return findAllData(Category.class);\n }", "public ArrayList<Category> getCategories() {\n ArrayList<Category> categories = new ArrayList<>();\n Cursor cursor = database.rawQuery(\"SELECT * FROM tbl_categories\", null);\n cursor.moveToFirst();\n while (!cursor.isAfterLast()) {\n Category category = new Category();\n category.setCategory_id(cursor.getInt(cursor.getColumnIndex(\"category_id\")));\n category.setCategory_name(cursor.getString(cursor.getColumnIndex(\"category_name\")));\n\n\n categories.add(category);\n cursor.moveToNext();\n }\n cursor.close();\n return categories;\n }", "public List<Category> getCategoriesDetails(){\r\n\t\tList<Category> res = new ArrayList<Category>();\r\n\t\tString req = \"select c.label, sum(f.amount) as total, sum(f.amount)/tmp.totmonth as percent, c.color \"\r\n\t\t\t\t\t+ \"from fee f, category c, (select sum(amount) as totmonth \"\r\n\t\t\t\t\t+ \"from fee \"\r\n\t\t\t\t\t+ \"where strftime('%m%Y', date) = strftime('%m%Y', date('now'))) as tmp \"\r\n\t\t\t\t\t+ \"where c.id = f.categoryid \"\r\n\t\t\t\t\t+ \"and strftime('%m%Y', f.date) = strftime('%m%Y', date('now')) \"\r\n\t\t\t\t\t+ \"group by c.id \"\r\n\t\t\t\t\t+ \"order by total desc;\";\r\n\t\t\r\n\t\tCursor cursor = database.rawQuery(req, null);\t\t\t\t\r\n\t\tif (cursor.moveToFirst()) {\r\n\t\t\tdo {\r\n\t\t\t\tCategory cat = new Category();\r\n\t\t\t\tcat.setLabel(cursor.getString(0));\r\n\t\t\t\tcat.setTotal(cursor.getString(1));\r\n\t\t\t\tcat.setPercent(cursor.getString(2));\r\n\t\t\t\tcat.setColor(cursor.getString(3));\r\n\t\t\t\tres.add(cat);\r\n\t\t\t} while (cursor.moveToNext());\r\n\t\t}\r\n\t\tif (cursor != null && !cursor.isClosed()) {\r\n\t\t\tcursor.close();\r\n\t\t}\r\n\t\t\r\n\t\treturn res;\r\n\t}", "public List<String[]> getAllProject() {\n String url = Host.getSonar() + \"api/projects/index\";\n String json = null;\n try {\n Object[] response = HttpUtils.sendGet(url, Authentication.getBasicAuth(\"sonar\"));\n if (Integer.parseInt(response[0].toString()) == 200) {\n json = response[1].toString();\n }\n } catch (Exception e) {\n logger.error(\"Get sonar project list: GET request error.\", e);\n }\n if (json == null) {\n logger.warn(\"Get sonar project list: response empty.\");\n return null;\n }\n List<Map<String, Object>> projects = JSONArray.fromObject(json);\n if (projects.size() == 0) {\n logger.warn(\"Get sonar project list: empty list.\");\n return null;\n }\n List<String[]> result = new ArrayList<>();\n for (Map<String, Object> oneProject : projects) {\n result.add(new String[]{oneProject.get(\"nm\").toString(), oneProject.get(\"k\").toString()});\n }\n return result;\n }", "public static ArrayList<AdminCategory> fetchCategoryList() {\r\n\r\n\t\tArrayList<AdminCategory> categoryList = new ArrayList<AdminCategory>();\r\n\r\n\t\tsqlQuery = \"SELECT categoryName, status, B.level,\" +\r\n\t\t\t\t\"(SELECT categoryName FROM flipkart_category A WHERE A.categoryID=C.parentID) AS parentCategory, \" +\r\n\t\t\t\t\"B.categoryID \" +\r\n\t\t\t\t\"FROM flipkart_category B, flipkart_path C \" +\r\n\t\t\t\t\"WHERE B.categoryID=C.categoryID ORDER BY B.level;\";\r\n\r\n\t\ttry{\r\n\t\t\tconn=DbConnection.getConnection();\r\n\t\t\tps=conn.prepareStatement(sqlQuery);\r\n\t\t\trs=ps.executeQuery();\r\n\r\n\t\t\twhile(rs.next()){\r\n\t\t\t\tAdminCategory category = new AdminCategory();\r\n\t\t\t\tcategory.setCategoryName(rs.getString(1));\r\n\t\t\t\tcategory.setStatus(rs.getInt(2));\r\n\t\t\t\tcategory.setLevel(rs.getInt(3));\r\n\t\t\t\tcategory.setParentCategory(rs.getString(4));\r\n\t\t\t\tcategory.setCategoryID(rs.getInt(5));\r\n\t\t\t\tcategoryList.add(category);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn categoryList;\r\n\t}", "public List<Cvchannel> findAllCvchannels();", "public static List<String> getAllCategoryName() {\n List<String> list = new ArrayList<>();\n List<Category> catList=getAllCategory();\n if(catList!=null && catList.size()>0) {\n for (Category category : catList)\n {\n list.add(category.getCategoryName());\n }\n }\n\n return list;\n\n }", "private void fetchProjects(Folder folder) {\n\n logger.atInfo().log(\"Fetching projects from \" + folder.getDisplayName());\n\n Set<Project> projectSet = new HashSet<Project>();\n ListProjectsPagedResponse projectsResponse = projectsClient.listProjects(folder.getName());\n Iterable<Project> iterableProjects = projectsResponse.iterateAll();\n Iterator<Project> projects = iterableProjects.iterator();\n\n while (projects.hasNext()) {\n Project project = projects.next();\n projectSet.add(project);\n }\n folderProjectMap.put(folder, projectSet);\n }", "@GetMapping(\"/categoriesfu\")\n public synchronized List<Category> getAllCategories() {\n log.debug(\"REST request to get a page of Categories\");\n //fu\n final String user =SecurityUtils.getCurrentUserLogin().get();\n final UserToRestaurant userToRestaurant=userToRestaurantRepository.findOneByUserLogin(user);\n final Restaurant restaurant=userToRestaurant.getRestaurant();\n return categoryRepository.findAllByRestaurant(restaurant);\n }" ]
[ "0.6375852", "0.629413", "0.61481285", "0.6078704", "0.60652447", "0.5981344", "0.5954112", "0.5937277", "0.589934", "0.5896591", "0.5827604", "0.5811441", "0.58038557", "0.5789627", "0.57536626", "0.571935", "0.5689969", "0.56858665", "0.56726265", "0.566474", "0.5656552", "0.56412977", "0.56322646", "0.5631489", "0.56288743", "0.5610241", "0.56036323", "0.55949926", "0.55930406", "0.55882716", "0.55838656", "0.5582788", "0.5567618", "0.55532146", "0.5527764", "0.551873", "0.55116653", "0.5492098", "0.548481", "0.5477332", "0.5472144", "0.545593", "0.5446415", "0.54429895", "0.54257554", "0.5421743", "0.541002", "0.54075634", "0.5380936", "0.5374046", "0.53544956", "0.5354395", "0.53505546", "0.5345091", "0.5336201", "0.5312538", "0.5312036", "0.53096056", "0.5304778", "0.52807575", "0.5271966", "0.52684295", "0.52540684", "0.52504444", "0.5245557", "0.5243441", "0.52360487", "0.52352846", "0.5232038", "0.52246094", "0.5221787", "0.52091676", "0.52088434", "0.5202602", "0.5198565", "0.5190532", "0.5178296", "0.5178144", "0.5162027", "0.5155557", "0.515256", "0.5151592", "0.5149342", "0.5148263", "0.51477426", "0.51272994", "0.5120606", "0.5118657", "0.5111203", "0.51109976", "0.5110324", "0.5104501", "0.5099369", "0.5096835", "0.50953573", "0.5093197", "0.5083683", "0.5082584", "0.50814533", "0.50811136" ]
0.80274177
0
finds a project by its id
Project findProjectById(String projectId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Project findById(Integer id) {\n Session session = SessionManager.getSessionFactory().openSession();\n //The find method returns the object with the provided id\n Project project = session.find(Project.class, id);\n session.close();\n return project;\n }", "Project getById(Long id);", "public Project findByPrimaryKey(int id) throws ProjectDaoException {\n\t\tProject ret[] = findByDynamicSelect(SQL_SELECT + \" WHERE ID = ?\", new Object[] { new Integer(id) });\n\t\treturn ret.length == 0 ? null : ret[0];\n\t}", "Project findProjectById(Long projectId);", "public Project getProjectById(String id) {\n\t\tSQLiteQueryBuilder q = new SQLiteQueryBuilder();\n\t\tq.setTables(Constants.TABLE_PROJECTS);\n\n\t\tCursor cursor = q.query(database, null, Constants.COLUMN_ID + \" = ?\", new String[] { id }, null, null, null);\n\t\tcursor.moveToFirst();\n\n\t\tif (cursor.getCount() > 0)\n\t\t\treturn new Project(cursor);\n\t\telse\n\t\t\treturn null;\n\t}", "@Transactional(readOnly = true) \n public TaskProject findOne(Long id) {\n log.debug(\"Request to get TaskProject : {}\", id);\n TaskProject taskProject = taskProjectRepository.findOne(id);\n return taskProject;\n }", "ProjectsDTO findOne(String id);", "@Override\n\tpublic Project findProjectById(int id) {\n\t\ttry {\n\t\t\tProject project = super.findDomainObjectById(id, outJoins);\n\t\t\tif (project != null) {\n\t\t\t\tproject = this.readProjectDetail(project);\n\t\t\t}\n\t\t\treturn project;\n\t\t}\n\t\tcatch (MustOverrideException e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectById MustOverrideException: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tSystem.out.println(\"JdbcProjectDao.findProjectById Exception: \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "private static void search_by_id() {\r\n\t\ttry (// Creates a connection and statement object\r\n\t\t\t\tConnection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/PoisedPMS\",\"poisedpms\",\"poisedpms\");\r\n\t\t\t\t\r\n\t\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\t\t\r\n\t\t\t){\r\n\t\t\tScanner input = new Scanner(System.in);\r\n\t\t\r\n\t\t\tSystem.out.println(\"Project id: \");\r\n\t\t\tString project_id_str = input.nextLine();\r\n\t\t\r\n\t\t\tString strSelectProject = String.format(\"SELECT * FROM projects INNER JOIN project_statuses ON \"\r\n\t\t\t\t\t+ \"projects.project_id = project_statuses.project_id;\");\r\n\t\t\tResultSet project_rset = stmt.executeQuery(strSelectProject);\r\n\t\t\t\r\n\t\t\tfetch_all_project_info(stmt, project_id_str, project_rset);\r\n\t\t/**\r\n\t\t * @exception If entered project id cannot be found in the projects table then an SQLException is thrown\r\n\t\t */\t\r\n\t\t} catch ( SQLException ex ) {\r\n\t\t\tex . printStackTrace ();\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic Project getProjectById(int id) {\n\t\treturn projectDao.getProjectById(id);\n\t}", "Project selectByPrimaryKey(Long id);", "TrackerProjects getTrackerProjects(final Integer id);", "public Project findProjectById(String projectId) {\n\t\tProject project = null;\r\n\t\tString query = \"SELECT FROM TA_PROJECTS WHERE PROJECT_ID='\" + projectId + \"'\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t}\r\n\t\treturn project;\r\n\t}", "ProjectDTO findProjectById(Long id);", "TrackerProjects loadTrackerProjects(final Integer id);", "public Project getProject(Long projectId);", "@Override\n\tpublic Project getProjectById(int id) {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<ProjectInfo> findProject(ProjectInfo project) {\n\t\treturn sqlSession.selectList(\"cn.sep.samp2.project.findProject\",project);\n\t}", "public Project[] findWhereIdEquals(int id) throws ProjectDaoException {\n\t\treturn findByDynamicSelect(SQL_SELECT + \" WHERE ID = ? ORDER BY ID\", new Object[] { new Integer(id) });\n\t}", "public ProjectCart getSingleProjectCart(Integer id) {\n\n /*\n * Use the ConnectionFactory to retrieve an open\n * Hibernate Session.\n *\n */\n Session session = ConnectionFactory.getInstance().getSession();\n List results = null;\n try {\n\n results = session.find(\"from ProjectCart as projectCart where projectCart.projectCartId = ?\",\n new Object[]{id},\n new Type[]{Hibernate.INTEGER});\n\n\n\n } /*\n * If the object is not found, i.e., no Item exists with the\n * requested id, we want the method to return null rather\n * than throwing an Exception.\n *\n */ catch (ObjectNotFoundException onfe) {\n return null;\n } catch (HibernateException e) {\n /*\n * All Hibernate Exceptions are transformed into an unchecked\n * RuntimeException. This will have the effect of causing the\n * user's request to return an error.\n *\n */\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n } /*\n * Regardless of whether the above processing resulted in an Exception\n * or proceeded normally, we want to close the Hibernate session. When\n * closing the session, we must allow for the possibility of a Hibernate\n * Exception.\n *\n */ finally {\n if (session != null) {\n try {\n session.close();\n } catch (HibernateException e) {\n System.err.println(\"Hibernate Exception\" + e.getMessage());\n throw new RuntimeException(e);\n }\n\n }\n }\n if (results.isEmpty()) {\n return null;\n } else {\n return (ProjectCart) results.get(0);\n }\n\n }", "void getAllProjectList(int id);", "public Project getProjectDetails(String id) {\n\t\tProject pro;\n\t\tObject name = null;\n\t\tPreparedStatement st = null;\n\t\tResultSet res = null;\n\t\tpro = null;\n\t\ttry {\n\t\t\ttry {\n\t\t\t\tcon = DBUtility.getConnection();\n\t\t\t\tString sql = \"select * from project_master where project_id='\"\n\t\t\t\t\t\t+ id + \"'\";\n\t\t\t\tst = con.prepareStatement(sql);\n\t\t\t\tres = st.executeQuery(sql);\n\t\t\t\tif (res.next()) {\n\t\t\t\t\tpro = new Project();\n\t\t\t\t\tpro.setPro_name(res.getString(\"project_name\"));\n\t\t\t\t\tpro.setSite_addr(res.getString(\"project_location\"));\n\t\t\t\t\tpro.setC_name(res.getString(\"client_name\"));\n\t\t\t\t\tpro.setDate(res.getString(\"project_date\"));\n\t\t\t\t\tpro.setSite_details(res.getString(\"project_details\"));\n\t\t\t\t\tpro.setSite_no_floors(res.getString(\"project_no_floor\"));\n\t\t\t\t\tpro.setSite_no_units(res.getString(\"project_no_unit\"));\n\t\t\t\t\tpro.setGar_name(res.getString(\"gar_name\"));\n\t\t\t\t\tpro.setGar_rel(res.getString(\"gar_rel\"));\n\t\t\t\t\tpro.setMunicipality(res.getString(\"municipality\"));\n\t\t\t\t\tpro.setWord_no(res.getString(\"word_no\"));\n\t\t\t\t\tpro.setPro_typ(res.getString(\"project_type\"));\n\t\t\t\t\tpro.setContact1(res.getString(\"Contact1\"));\n\t\t\t\t\tpro.setContact2(res.getString(\"Contact2\"));\n\t\t\t\t\tpro.setEmail1(res.getString(\"Email1\"));\n\t\t\t\t\tpro.setEmail2(res.getString(\"Email2\"));\n\t\t\t\t}\n\t\t\t} catch (SQLException s) {\n\t\t\t\ts.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t\treturn null;\n\t\t\t} catch (NamingException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t\t}\n\t\t} finally {\n\t\t\tDBUtility.closeConnection(con, st, res);\n\t\t}\n\t\treturn pro;\n\t}", "@Override\n @Transactional(readOnly = true)\n public Optional<ProjectTypeId> findOne(Long id) {\n log.debug(\"Request to get ProjectTypeId : {}\", id);\n return projectTypeIdRepository.findById(id);\n }", "public void Found_project_from_DATABASE(int id){\n print_pro();\n// return project;\n }", "public Projects findByProjectID(int proj_id){\n\t\tString sql = \"select * from projects where proj_id = \"+proj_id;\n\t\treturn getJdbcTemplate().queryForObject(sql, new BeanPropertyRowMapper<Projects>(Projects.class));\n\t}", "public void testRetrieveProjectsById() throws RetrievalException {\r\n System.out.println(\"Demo 4: Retrieves the projects by id.\");\r\n\r\n // Retrieve a known project\r\n ExternalProject project = defaultDBProjectRetrieval.retrieveProject(2);\r\n System.out.println(project.getId());\r\n\r\n // Outputs its info.\r\n System.out.println(project.getComponentId());\r\n System.out.println(project.getForumId());\r\n System.out.println(project.getName());\r\n System.out.println(project.getVersion());\r\n System.out.println(project.getVersionId());\r\n System.out.println(project.getDescription());\r\n System.out.println(project.getComments());\r\n System.out.println(project.getShortDescription());\r\n System.out.println(project.getFunctionalDescription());\r\n String[] technologies = project.getTechnologies(); // should not be null\r\n for (int t = 0; t < technologies.length; t++) {\r\n System.out.println(\"Uses technology: \" + technologies[t]);\r\n }\r\n\r\n // Not found ĘC should be null which is acceptable\r\n ExternalProject shouldBeNull = defaultDBProjectRetrieval.retrieveProject(Long.MAX_VALUE);\r\n System.out.println(shouldBeNull);\r\n\r\n // Should only have a maximum of 1 entry.\r\n ExternalProject[] projects = defaultDBProjectRetrieval.retrieveProjects(new long[] {1, 100});\r\n System.out.println(projects.length);\r\n System.out.println(projects[0].getName());\r\n\r\n System.out.println();\r\n }", "@Override\n public ProjectproductDTO findOne(String id) {\n log.debug(\"Request to get Projectproduct : {}\", id);\n Projectproduct projectproduct = projectproductRepository.findOne(UUID.fromString(id));\n ProjectproductDTO projectproductDTO = projectproductMapper.projectproductToProjectproductDTO(projectproduct);\n return projectproductDTO;\n }", "@Override\n\tpublic List<Project> getProjectsByUserId(int id) {\n\t\treturn projectDao.getProjectsByUserId(id);\n\t}", "public ProjectIdea getProjectIdea(int id){\n //String sql = \"SELECT * FROM project_idea WHERE idea_id = ?\";\n try{\n ProjectIdea result = super.queryForId(id);\n return result;\n } catch(SQLException e){\n System.out.println(e.getMessage());\n }\n return null;\n }", "java.lang.String getProjectId();", "@Override\n\tpublic ProjectDTO getPartialForProjectPageForId( int id ) throws SQLException {\n\t\t\n\t\tProjectDTO result = null;\n\t\t\n\t\tfinal String querySQL = \n\t\t\t\t\"SELECT title, abstract, project_locked, public_access_level \"\n\t\t\t\t+ \" FROM project_tbl \"\n\t\t\t\t+ \" WHERE id = ?\"\n\t\t\t\t+ \" AND marked_for_deletion != \" + Database_OneTrueZeroFalse_Constants.DATABASE_FIELD_TRUE;\n\t\t\n\t\ttry ( Connection dbConnection = super.getDBConnection();\n\t\t\t PreparedStatement preparedStatement = dbConnection.prepareStatement( querySQL ) ) {\n\t\t\t\n\t\t\tpreparedStatement.setInt( 1, id );\n\t\t\t\n\t\t\ttry ( ResultSet rs = preparedStatement.executeQuery() ) {\n\t\t\t\tif ( rs.next() ) {\n\t\t\t\t\tresult = new ProjectDTO();\n\t\t\t\t\tresult.setId( id );\n\t\t\t\t\tresult.setTitle( rs.getString( \"title\" ) );\n\t\t\t\t\tresult.setAbstractText( rs.getString( \"abstract\" ) );\n\t\t\t\t\t{\n\t\t\t\t\t\tint fieldIntValue = rs.getInt( \"project_locked\" );\n\t\t\t\t\t\tif ( fieldIntValue == Database_OneTrueZeroFalse_Constants.DATABASE_FIELD_TRUE ) {\n\t\t\t\t\t\t\tresult.setProjectLocked( true );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tint publicAccessLevel = rs.getInt( \"public_access_level\" );\n\t\t\t\t\tif ( ! rs.wasNull() ) {\n\t\t\t\t\t\tresult.setPublicAccessLevel( publicAccessLevel );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( RuntimeException e ) {\n\t\t\tString msg = \"SQL: \" + querySQL;\n\t\t\tlog.error( msg, e );\n\t\t\tthrow e;\n\t\t} catch ( SQLException e ) {\n\t\t\tString msg = \"SQL: \" + querySQL;\n\t\t\tlog.error( msg, e );\n\t\t\tthrow e;\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public Project getTasks(String projectId) {\n try {\n\n String selectProject = \"select * from PROJECTS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(selectProject);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n if (rs.next()) {\n String startdate = rs.getString(\"STARTDATE\");\n String invoicesent = rs.getString(\"INVOICESENT\");\n String hours = rs.getString(\"HOURS\");\n String client = \"\";\n String duedate = rs.getString(\"DUEDATE\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(client, description, projectId,\n duedate, startdate, hours, duedate, duedate,\n invoicesent, invoicesent);\n rs.close();\n ps.close();\n return p;\n } else {\n return null;\n }\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "public static Project getProject() {\n if (ProjectList.size() == 0) {\n System.out.print(\"No Projects were found.\");\n return null;\n }\n\n System.out.print(\"\\nPlease enter the project number: \");\n int projNum = input.nextInt();\n input.nextLine();\n\n for (Project proj : ProjectList) {\n if (proj.projNum == projNum) {\n return proj;\n }\n }\n\n System.out.print(\"\\nProject was not found. Please try again.\");\n return getProject();\n }", "@GetMapping(\"/{email:.+}/{projectId}\")\n\t@CrossOrigin(origins = \"http://localhost:3000\")\n\tpublic Project getProjectByEmailAndId(@PathVariable(\"email\") String email,\n\t\t\t@PathVariable(\"projectId\") Long projectId) {\n\t\tStakeholder user = userService.findStakeholderByEmail(email);\n\t\tList<Project> projects = userService.getStakeholderProjects(user);\n\t\tfor (Project project : projects) {\n\t\t\tif (project.getProjectId() == projectId) {\n\t\t\t\treturn project;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n\tpublic TeamInfo findById(String id) {\n\t\treturn repository.findOne(id);\n\t}", "private static Person findPersonById(int id) {\n Person personReturn = null;\n\n for (Person person : persons) {\n if (id == person.getId()) {\n personReturn = person;\n }\n }\n\n return personReturn;\n }", "public Project getProjectById(int projectId) throws InexistentProjectException, SQLException {\n return getMandatoryProject(projectId);\n }", "public Pessoa find(Long id){\n\t\treturn db.findOne(id);\n\t}", "public CyPoj findById(Integer id) {\n\t\treturn d.findById(id);\r\n\t}", "public Paciente get( Long id ) {\r\n\t\t\tlogger.debug(\"Retrieving codigo with id: \" + id);\r\n\t\t\t\r\n\t\t\t/*for (Paciente paciente:codigos) {\r\n\t\t\t\tif (paciente.getId().longValue() == id.longValue()) {\r\n\t\t\t\t\tlogger.debug(\"Found record\");\r\n\t\t\t\t\treturn paciente;\r\n\t\t\t\t}\r\n\t\t\t}*/\r\n\t\t\t\r\n\t\t\tlogger.debug(\"No records found\");\r\n\t\t\treturn null;\r\n\t\t}", "public ArrayList<Project> selectProject(String projectId) {\n\n try {\n ArrayList<Project> tasks = new ArrayList<Project>();\n\n String query = \"SELECT * FROM TASKS where PROJECT_ID = ?\";\n connection = ConnectionManager.getConnection();\n PreparedStatement ps = connection.prepareStatement(query);\n ps.setString(1, projectId);\n ResultSet rs = ps.executeQuery();\n\n while (rs.next()) {\n String hours = rs.getString(\"HOURS\");\n String hoursadded = rs.getString(\"HOURS_ADDED\");\n String description = rs.getString(\"DESCRIPTION\");\n Project p = new Project(description, hours, hoursadded,\n projectId);\n tasks.add(p);\n }\n rs.close();\n ps.close();\n return tasks;\n } catch (SQLException sqle) {\n sqle.printStackTrace(); // for debugging\n return null;\n }\n }", "Optional<ProjectCodeDTO> findOne(Long id);", "public T findById(int id) {\n\t\tConnection connection = null;\n\t\tPreparedStatement st = null;\n\t\tResultSet rs = null;\n\t\tString query = createSelectQuery(\"id\");\n\t\ttry {\n\t\t\tconnection = ConnectionFactory.createCon();\n\t\t\tst = connection.prepareStatement(query);\n\t\t\tst.setInt(1, id);\n\t\t\trs = st.executeQuery();\n\t\t\t\n\t\t\treturn createObjects(rs).get(0);\n\t\t}catch(SQLException e) {\n\t\t\tLOGGER.fine(type.getName() + \"DAO:findBy\" + e.getMessage());\n\t\t}\n\t\treturn null;\n\t}", "public Project findByPrimaryKey(ProjectPk pk) throws ProjectDaoException {\n\t\treturn findByPrimaryKey(pk.getId());\n\t}", "public Project getProjectDetail(String idOrKey) throws IOException {\n\t\tif (client == null)\n\t\t\tthrow new IllegalStateException(\"HTTP Client not Initailized\");\n\t\t\n\t\tclient.setResourceName(Constants.JIRA_RESOURCE_PROJECT + \"/\" + idOrKey);\n\t\tClientResponse response = client.get();\n\t\t\t\t\t\n\t\tString content = response.getEntity(String.class);\t\n\t\t\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tmapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, true);\n\t\t\n\t\tTypeReference<Project> ref = new TypeReference<Project>(){};\n\t\tProject prj = mapper.readValue(content, ref);\n\t\t\n\t\treturn prj;\n\t}", "@Override\n //@Transactional(readOnly = true)\n public ProjectTransactionRecordDTO findOne(Long id) {\n log.debug(\"Request to get ProjectTransactionRecord : {}\", id);\n ProjectTransactionRecord projectTransactionRecord = projectTransactionRecordRepository.findOne(id);\n return projectTransactionRecordMapper.toDto(projectTransactionRecord);\n }", "public T findById(int id)\n {\n Connection connection = null;\n PreparedStatement statement = null;\n ResultSet resultSet = null;\n String query = createSelectQuery(\"id\");\n try\n {\n connection = ConnectionFactory.getConnection();\n statement = connection.prepareStatement(query);\n statement.setInt(1,id);\n resultSet = statement.executeQuery();\n\n return createObjects(resultSet).get(0);\n }catch (SQLException e)\n {\n LOGGER.log(Level.WARNING,type.getName() + \"DAO:findById\"+ e.getMessage());\n }finally {\n ConnectionFactory.close(resultSet);\n ConnectionFactory.close(statement);\n ConnectionFactory.close(connection);\n }\n return null;\n }", "public static Project Create(String id)\n\t{\n\t\t// Need to use an ancestor query to do this inside a transaction.\n\t\t// But the ancestor of project is project.\n\t\t// So we just create a normal key with only the type and id\n\t\tproject = ofy().load().key(Key.create(Project.class, id)).now();\n\n\t\treturn project;\n\t}", "public Object findByPK(Object object) throws DAOException {\r\n\t\tString sqlStmt = DAOConstants.PROJ_FIND_BYPK;\r\n\t\tProjectInfo projectReturn = null;\r\n\r\n\t\tif (!(object instanceof String))\r\n\t\t\tthrow new DAOException (\"invalid.object.projdao\",\r\n\t\t\t\t\tnull, DAOException.ERROR, true);\r\n\t\t\t\t\t\r\n\t\tString pk = (String) object;\t\t\t\t\r\n\t\tConnection conn = null;\r\n\r\n\t\t\ttry{\r\n\t\t\t\tlog.debug(\"finding pk ProjectInfo entry\");\r\n\t\t\t\tconn = dbAccess.getConnection();\r\n\t\t\t\tPreparedStatement stmt = conn.prepareStatement(sqlStmt);\r\n\t\t\t\tstmt.setString(1, pk);\r\n\t\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\t\t\r\n\t\t\t\tif (rs.next()) {\r\n\t\t\t\t\tprojectReturn = ProjectAssembler.getInfo(rs);\r\n\t\t\t\t}\r\n\t\t\t\tstmt.close();\r\n\t\t\t\trs.close();\r\n\t\t\t\tlog.debug(\"found by pk ProjectInfo entry\");\r\n\t\t\t} catch (DBAccessException e) {\r\n\t\t\t\tthrow new DAOException(e.getMessageKey(), e, DAOException.ERROR,\r\n\t\t\t\t\t\ttrue);\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tthrow new DAOException(\"sql.findpk.exception.projdao\", e,\r\n\t\t\t\t\t\tDAOException.ERROR, true);\r\n\t\t\t}\r\n\r\n\t\t\tcatch (Exception ex) {\r\n\t\t\t\tSystem.err.println(\"error3: \" + ex.getMessage());\r\n\t\t\t} finally {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tdbAccess.closeConnection(conn);\r\n\t\t\t\t} catch (DBAccessException e1) {\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\treturn projectReturn;\t\r\n\t}", "public Proyecto proyectoPorId(int id) {\n\t\t\tRestTemplate plantilla = new RestTemplate();\n\t\t\tProyecto proyecto =plantilla.getForObject(\"http://localhost:5000/proyectos/\" + id, Proyecto.class);\n\t\t\treturn proyecto;\n\t\t}", "@Override\n\tpublic Carpo findCar(String id) {\n\t\treturn inList.find(id);\n\t}", "public PlayerGame find(Long id) {\n return playerGames.stream()\n .filter(p -> p.getId().equals(id))\n .findFirst()\n .orElse(null);\n }", "Project findProjectByIdAndConvert(String projectId);", "public Voto find(int id ) { \n\t\treturn em.find(Voto.class, id);\n\t}", "private static Project findProject(String name) {\r\n \t\tfor (Project project : ProjectPlugin.getPlugin().getProjectRegistry().getProjects()) {\r\n \t\t\tif (project.getName().equals(name)) {\r\n \t\t\t\treturn project;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn null;\r\n \t}", "@Override\r\n\tpublic Person findbyid(int id) {\n\t\tQuery query=em.createQuery(\"Select p from Person p where p.id= \"+id);\r\n\t\tPerson p=(Person) query.getSingleResult();\r\n\t\treturn p;\r\n\t\r\n\t}", "public static Carta getById(int id) {\r\n\r\n\t\tCarta c = new Carta();\r\n\t\tString sql = SQL_JOIN + \" WHERE id = ?; \";\r\n\r\n\t\ttry (Connection con = ConnectionHelper.getConnection(); PreparedStatement pst = con.prepareStatement(sql)) {\r\n\r\n\t\t\tpst.setInt(1, id);\r\n\t\t\ttry (ResultSet rs = pst.executeQuery()) {\r\n\r\n\t\t\t\twhile (rs.next()) { // hemos encontrado Participante por su ID\r\n\r\n\t\t\t\t\tc = mapper(rs);\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn c;\r\n\t}", "public ProjectFiles selectByPrimaryKey(Long id) {\r\n ProjectFiles key = new ProjectFiles();\r\n key.setId(id);\r\n ProjectFiles record = (ProjectFiles) getSqlMapClientTemplate().queryForObject(\"project_files.ibatorgenerated_selectByPrimaryKey\", key);\r\n return record;\r\n }", "public T find(int id) {\n\t \treturn getEntityManager().find(getEntityClass(), id);\n\t }", "@GetMapping(value = \"/getProjectDetails/mongodb/{theId}\")\n\tpublic List<ProjectDescStake> getProjectByIdMongo(@PathVariable (value =\"theId\") Long theId)\n\t{\n\t\treturn this.integrationClient.findProjectByIdMongo(theId);\n\t}", "@RequestMapping(value = \"/{id}\", method=RequestMethod.GET)\n public ResponseEntity<?> findById(@PathVariable final Integer id) {\n Team team = this.teamService.findById(id);\n return ResponseEntity.ok().body(team);\n }", "public List<Project> findProjectByEmpId(String employeeId) {\n\t\tProject project;\r\n\t\tList<Project> projectList = new ArrayList<Project>();\r\n\t\tString query = \"SELECT P.`PROJECT_ID`,PROJECT_NAME,MANAGER_ID FROM TA_PROJECTS P JOIN TA_EMPLOYEE_PROJECT E ON E.`PROJECT_ID` = P.`PROJECT_ID`\"\r\n\t\t\t\t+ \" WHERE EMPLOYEE_ID='\" + employeeId + \"'\";\r\n\t\tSqlRowSet srs = jdbcTemplate.queryForRowSet(query);\r\n\t\twhile(srs.next()){\r\n\t\t\tproject = new Project();\r\n\t\t\tproject.setProjectID(srs.getString(1));\r\n\t\t\tproject.setProjectName(srs.getString(2));\r\n\t\t\tproject.setManagerID(srs.getString(3));\r\n\t\t\tprojectList.add(project);\r\n\t\t}\r\n\t\treturn projectList;\r\n\t}", "@GET(\"projects/session/{session_id}\")\n Call<ResponseBody> getAllProjects(@Path(\"session_id\") int id);", "@Override\r\n\tpublic List<Project> findProject(int provinceId) {\n\t\treturn iImportSalesRecordDao.findProject(provinceId);\r\n\t}", "public Curso find(Long id) {\n\t\tfor (Curso curso : cursos) {\n\t\t\tif(curso.getId() == id) {\n\t\t\t\treturn curso;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@RequestMapping(value = \"/hrProjectInfos/{id}\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<HrProjectInfo> getHrProjectInfo(@PathVariable Long id) {\n log.debug(\"REST request to get HrProjectInfo : {}\", id);\n HrProjectInfo hrProjectInfo = hrProjectInfoRepository.findOne(id);\n return Optional.ofNullable(hrProjectInfo)\n .map(result -> new ResponseEntity<>(\n result,\n HttpStatus.OK))\n .orElse(new ResponseEntity<>(HttpStatus.NOT_FOUND));\n }", "public Playlist findById(String id) {\n\n if (id == null || id.equalsIgnoreCase(\"\")) {\n return null;\n }\n\n String sql = \"SELECT * FROM Playlists WHERE ID=?\";\n Playlist playlist = null;\n Connection connection = DatabaseConnection.getDatabaseConnection();\n\n try {\n ///Use PreparedStatement to insert \"id\" for \"?\" in sql string.\n PreparedStatement pStatement = connection.prepareStatement(sql);\n pStatement.setString(1, id);\n\n ResultSet resultSet = pStatement.executeQuery();\n if (resultSet.next()) {\n playlist = processRow(resultSet);\n }\n } catch (SQLException ex) {\n System.out.println(\"PlaylistDAO - findById Exception: \" + ex);\n }\n DatabaseConnection.closeConnection(connection);\n return playlist;\n }", "@Override\n public Complex findById(final Integer id) throws PersistentException {\n ComplexDao complexDao = transaction.createDao(ComplexDao.class);\n Complex complex = complexDao.read(id);\n if (complex != null) {\n findExercises(complex);\n }\n return complex;\n }", "public Project getProjectByName(String name);", "public person findbyid(int id){\n\t\t\treturn j.queryForObject(\"select * from person where id=? \", new Object[] {id},new BeanPropertyRowMapper<person>(person.class));\r\n\t\t\r\n\t}", "public static Patient find(int id) {\n\tPatient patient = null;\n\tfor (Patient a : patients) {\n\t if (a.getId() == id) {\n\t\tpatient = a;\n\t\tbreak;\n\t }\n\t}\t\n\t\n\treturn patient;\n }", "public Project getProject(String name){\n\t\tfor ( Project p : m_Projects){\n\t\t\tif(p.getName().equals(name)) return p;\n\t\t}\n\t\treturn null;\n\t}", "public HexModel searchByID(String id) {\n\t\tfor (int y = 0; y < grid[0].length; y++) {\r\n\t\t\tfor (int x = 0; x < grid[y].length; x++) {\r\n\t\t\t\tif (grid[y][x] != null && grid[y][x].getId().equals(id))\r\n\t\t\t\t\treturn grid[y][x];\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn null;\r\n\t}", "public Personne find(int id) {\n\t\tPersonne p= null;\n\t\ttry {\n\t\t\t\tString req = \"SELECT id,nom, prenom, evaluation FROM PERSONNE_1 WHERE ID=?\";\n\t\t\t\tPreparedStatement ps= connect.prepareStatement(req);\n\t\t\t\tps.setInt(1, id);\n\t\t\t\tResultSet rs = ps.executeQuery();\n\t\t\t\tp =new Personne (id, rs.getString(1),rs.getString(2));\n\t\t\t}catch (SQLException e) {e.printStackTrace();}\n\t\t\t\t\n\t\treturn p;\n\t\t\n\t}", "Project getByPrjNumber(Integer num);", "@Override\r\n\tpublic Personne find(int id) {\n\t\treturn null;\r\n\t}", "private Project getProject(ActivityDTO dto) {\n\t\treturn projectDAO.findById(dto.getProjectId()).get();\n//\t\treturn projectDAO.getOne(dto.getProjectId());\n\t}", "private Group findById(int id){\n assert(inputGroupList.size() > 0);\n for(Group group : inputGroupList){\n if(group.getNumber() == id)\n return group;\n }\n return null;\n }", "protected CompaniesContactsEntity findById(int id) {\n log.info(\"CompaniesContact => method : findById()\");\n\n FacesMessage msg;\n\n if (id == 0) {\n log.error(\"CompaniesContact ID is null\");\n msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, JsfUtils.returnMessage(getLocale(), \"note.notExist\"), null);\n FacesContext.getCurrentInstance().addMessage(null, msg);\n throw new EntityNotFoundException(\n \"L ID de la note est incorrect\",\n ErrorCodes.COMPANY_NOT_FOUND\n );\n }\n\n EntityManager em = EMF.getEM();\n Optional<CompaniesContactsEntity> optionalCompaniesContactsEntity;\n try {\n optionalCompaniesContactsEntity = companiesContactsDao.findById(em, id);\n } finally {\n em.clear();\n em.close();\n }\n return optionalCompaniesContactsEntity.orElseThrow(() ->\n new EntityNotFoundException(\n \"Aucune Note avec l ID \" + id + \" n a ete trouvee dans la BDD\",\n ErrorCodes.CONTACT_NOT_FOUND\n ));\n }", "@Query(\"SELECT * FROM Project WHERE id = :projectId\")\n LiveData<Project> getProject(long projectId);", "ProjGroup selectByPrimaryKey(Long id);", "UserOperateProject selectByPrimaryKey(String userOperateProjectId);", "Organization selectByPrimaryKey(Integer id);", "public static Project Construct(String id)\n\t{\n\t\treturn new Project(id);\n\t}", "@Override\r\n\tpublic void find(Integer id) {\n\r\n\t}", "@Override\n public ICart ById(String id) throws ServiceUnavailableException {\n if(cartRepository==null)\n throw new ServiceUnavailableException(\"Missing persitance repository!\");\n \n Optional<CartDTO> ret = cartRepository.findById(id);\n if(ret.isPresent())\n return ret.get();\n return null;\n }", "public ConsejoEntity find(Long id)\r\n {\r\n return em.find(ConsejoEntity.class, id);\r\n }", "public static Team findById(int id) throws DALException {\n\n\t\t\tConnection cnx = null;\n\t\t\tPreparedStatement pstmt = null;\n\t\t\tResultSet rs = null;\n\t\t\tTeam team = new Team();\n\n\t\t\ttry {\n\t\t\t\t// Connection DB\n\t\t\t\tcnx = DBConnection.connect();\n\t\t\t\tpstmt = cnx.prepareStatement(SEARCH_ID_TEAM);\n\t\t\t\tpstmt.setInt(1, id);\n\t\t\t\trs = pstmt.executeQuery();\n\n\t\t\t\tif (rs.next()) {\n\n\t\t\t\t\tteam.setIdTeam(rs.getInt(\"idTeams\"));\n\t\t\t\t\tteam.setName(rs.getString(\"name\"));\n\t\t\t\t\t\n\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tthrow new DALException(\"Problem - search teams By Id - TeamDAO - Request :\"+ pstmt+ \" Team: \" + team + e.getMessage());\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (rs != null)\n\t\t\t\t\t\trs.close();\n\t\t\t\t\tif (pstmt != null)\n\t\t\t\t\t\tpstmt.close();\n\t\t\t\t\tif (cnx != null)\n\t\t\t\t\t\tcnx.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tthrow new DALException(\"Problem - Closing connection - \" + e.getMessage());\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\treturn team;\n\n\t\t}", "public Project getProject(int projectId) throws EmployeeManagementException;", "public Project getProjectRelatedByProjectId() throws TorqueException\n {\n if (aProjectRelatedByProjectId == null && (this.projectId != 0))\n {\n aProjectRelatedByProjectId = ProjectPeer.retrieveByPK(SimpleKey.keyFor(this.projectId));\n \n /* The following can be used instead of the line above to\n guarantee the related object contains a reference\n to this object, but this level of coupling\n may be undesirable in many circumstances.\n As it can lead to a db query with many results that may\n never be used.\n Project obj = ProjectPeer.retrieveByPK(this.projectId);\n obj.addNewslettersRelatedByProjectId(this);\n */\n }\n return aProjectRelatedByProjectId;\n }", "T findById(ID id) ;", "@GET\n\t@Path(\"getParticularProject/{projectId}\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getParticularProject(\n\t\t\t@PathParam(\"projectId\") Integer projectId) throws Exception {\n\n\t\tProjectTO projectTO = null;\n\n\t\ttry {\n\t\t\tHashMap<String, Object> queryMap = new HashMap<String, Object>();\n\t\t\tqueryMap.put(\"projectId\", projectId);\n\n\t\t\tProjectMaster project = (ProjectMaster) GenericDaoSingleton\n\t\t\t\t\t.getGenericDao().findUniqueByQuery(\n\t\t\t\t\t\t\tConstantQueries.GET_PARTICULAR_PROJECT_BY_ID,\n\t\t\t\t\t\t\tqueryMap);\n\n\t\t\tif (project == null) {\n\t\t\t\tSystem.out.println(\"Project not found\");\n\t\t\t\tprojectTO = null;\n\t\t\t\treturn Response.status(Response.Status.NOT_FOUND)\n\t\t\t\t\t\t.entity(projectTO).build();\n\t\t\t}\n\n\t\t\tprojectTO = new ProjectTO();\n\t\t\t// projectMaster = (Object[]) projectList.get(i);\n\t\t\tprojectTO.setProject_id(project.getProject_id());\n\t\t\tprojectTO.setProject_name(project.getProject_name());\n\t\t\tprojectTO.setProject_status(project.getProject_status());\n\t\t\tprojectTO.setProject_creation_date(project\n\t\t\t\t\t.getProject_creation_date());\n\t\t\tprojectTO.setAccount_id(project.getAccountMaster().getAccount_id());\n\n\t\t\treturn Response.status(Response.Status.OK).entity(projectTO)\n\t\t\t\t\t.build();\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t\tprojectTO = null;\n\t\t\tSystem.out\n\t\t\t\t\t.println(\"Error while getting Projects in Project Config service\");\n\t\t\treturn Response.status(Response.Status.INTERNAL_SERVER_ERROR)\n\t\t\t\t\t.entity(projectTO).build();\n\t\t}\n\n\t}", "@GetMapping(\"/my_projects/{id}\")\n public ResponseEntity<ProjectDtoExtendedForUser> getMyProjectById(@PathVariable long id){\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n String currentUserName = authentication.getName();\n User currentUser = userService.findByEmail(currentUserName).orElseThrow(\n () -> {throw new MyNotFoundException(\"User not found\");}\n );\n\n ProjectDtoExtendedForUser projectDtoExtendedForUser = new ProjectDtoExtendedForUser();\n\n Project project = projectService.findById(id).get();\n\n UsersOnProjects usersOnProjects = usersOnProjectsService.findByUsersOnProjectsPK(new UsersOnProjectsPK(currentUser, project));\n\n projectDtoExtendedForUser.setId(project.getId());\n projectDtoExtendedForUser.setName(project.getName());\n projectDtoExtendedForUser.setCompany_name(project.getCompany().getName());\n projectDtoExtendedForUser.setCEO_username(project.getCompany().getCEO().getUsername());\n projectDtoExtendedForUser.setCEO_email(project.getCompany().getCEO().getEmail());\n projectDtoExtendedForUser.setStart_date(project.getStart_date());\n projectDtoExtendedForUser.setStatus(project.getStatus());\n projectDtoExtendedForUser.setPosition(usersOnProjects.getPosition().getName());\n projectDtoExtendedForUser.setBase_salary(usersOnProjects.getBase_salary());\n projectDtoExtendedForUser.setRate(usersOnProjects.getRate());\n projectDtoExtendedForUser.setWeek_work_time(usersOnProjects.getWeek_work_time());\n\n return ResponseEntity.ok(projectDtoExtendedForUser);\n }", "public Key<Project> getKey(){ return Key.create(Project.class, id); }", "@Override\r\n\tpublic List<Project> findProject() {\n\t\treturn iSearchSaleRecordDao.findProject();\r\n\t}", "public Client find(int id) throws DataAccessLayerException {\n try {\n Subject.doAs(LoginController.getLoginContext().getSubject(), new MyPrivilegedAction(\"CLIENT\", Permission.READ));\n return (Client) super.find(Client.class, id);\n } catch (AccessControlException e) {\n e.printStackTrace();\n }\n return null;\n }", "@Override\n public Optional<Container> findOne(String id) {\n log.debug(\"Request to get Container : {}\", id);\n return containerRepository.findById(id);\n }", "@Override\n\tpublic PI findById(Long id) throws NotFoundException {\n\t\treturn null;\n\t}", "void getProjectByID(Integer projectID, AsyncCallback<Project> callback);", "public final E find(final K id) {\n return getJpaTemplate().find(getEntityClass(), id);\n }" ]
[ "0.8200786", "0.789806", "0.7512912", "0.74994636", "0.7447135", "0.74449885", "0.7401277", "0.7390366", "0.7365842", "0.7223551", "0.71809125", "0.7106798", "0.70904946", "0.70804024", "0.70802075", "0.6994488", "0.6920436", "0.68966335", "0.6867271", "0.68539035", "0.6805485", "0.6790704", "0.66635334", "0.66553736", "0.6604398", "0.6604043", "0.6576541", "0.6575627", "0.6513933", "0.6499842", "0.6451171", "0.64083195", "0.63951975", "0.6355766", "0.6325036", "0.63223577", "0.6314434", "0.6277763", "0.6276078", "0.6266415", "0.6265278", "0.62516356", "0.6250892", "0.62154603", "0.6200563", "0.61818826", "0.61414826", "0.6137957", "0.6137734", "0.6134493", "0.6132674", "0.6111263", "0.6105611", "0.60871434", "0.6085955", "0.6080376", "0.60783726", "0.60778826", "0.6064138", "0.6063771", "0.60562336", "0.60534203", "0.60449576", "0.6032291", "0.6027664", "0.60216975", "0.59995306", "0.5995655", "0.59862715", "0.59757364", "0.5962539", "0.59536284", "0.59435415", "0.5940786", "0.5939965", "0.5930288", "0.59300995", "0.5924445", "0.591055", "0.59050906", "0.5902651", "0.5901177", "0.59009415", "0.5897745", "0.58867306", "0.58773553", "0.58409864", "0.58401024", "0.58329374", "0.5826457", "0.58240914", "0.5821341", "0.5820157", "0.5812299", "0.58039135", "0.5803448", "0.5803002", "0.5801335", "0.579762", "0.57922745" ]
0.77861094
2
To solve this problem without a loop first idea comes to me to use Stream in Java 8 API but I think that it is also a subtype of loop and I am lazy to switch environment version to 8. So, instead of using loop, we always can replace it with Recurtion!
public static int getSumOfDigitsinInt(int val) { // if we have just on digit, stop it if (val < 10) { return val; } else { //we find the last digit in the int value, if 123, the last is 3 int theLastDigit = val % 10; //we find another part of int, to divide it, until we don't come to 1 digit int beforeTheLastDigit = val / 10; return theLastDigit + getSumOfDigitsinInt(beforeTheLastDigit); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Stream<?> all(Iterator<Object> i) {\n requireNonNull(i);\n final Iterable<Object> it = () -> i;\n return StreamSupport.stream(it.spliterator(), false);\n }", "@Test\n public void streamApiTest(){\n Collection<Integer> myCollection=initializeIntCollection(3,5);\n\n long sumOfOddValues3times=myCollection.stream().\n filter(o -> o % 2 ==1). // for all odd numbers\n mapToInt(o -> o*3). // multiply their value on 3\n sum(); // and return their sum (reduce operation)\n Assert.assertEquals((3+5+7)*3, sumOfOddValues3times);\n\n Optional<Integer> sumOfModulesOn3= myCollection.stream().\n filter( o -> o % 3 ==0).\n reduce((sum, o) -> sum = sum + o);\n Assert.assertEquals(new Integer(3+6), sumOfModulesOn3.get());\n\n\n\n Collection<Integer> evenCollection=new ArrayList<>();\n myCollection.\n stream().\n filter(o -> o % 2 == 0).\n forEach((i) -> evenCollection.add(i));\n }", "@Test\n public void intermediateAndTerminalOperations() throws Exception {\n System.out.println(\n MockData.getCars()\n // Here we go to \"abstraction\" of strams\n .stream()\n // This is an intermediate op because we stay in the abstraction\n .filter(car -> {\n System.out.println(\"filter car \" + car);\n return car.getPrice() < 10000;\n })\n // This is intermediate too, we still working with streams \"abstraction\"\n .map(car -> {\n System.out.println(\"mapping car \" + car);\n return car.getPrice();\n })\n // same as before, still intermediate, still in streams abstraction\n .map(price -> {\n System.out.println(\"mapping price \" + price);\n return price + (price * .14);\n })\n // ok, this is a terminal operation and give you back the \"concrete type\" result of the operations\n .collect(Collectors.toList())\n );\n\n // Q: If you comment this line, no result is printed, you got only stram reference, why?\n // A: STREAMS are LAZY initialized\n\n // Q: What's the order of execution in the above code?\n // A: See the console print to understand order of execution:\n // The mappings are executed as soon as the first car passes the filter\n // so to get some results, stream don't need to filter ALL the list before\n\n }", "public void streamIterate(){\n Stream.iterate(new int[]{0, 1},t -> new int[]{t[1], t[0]+t[1]})\n .limit(20)\n .forEach(t -> System.out.println(\"(\" + t[0] + \",\" + t[1] +\")\"));\n /*\n In Java 9, the iterate method was enhanced with support for a predicate.\n For example, you can generate numbers starting at 0 but stop the iteration once the number is greater than 100:\n * */\n IntStream.iterate(0, n -> n < 100, n -> n + 4)\n .forEach(System.out::println);\n }", "public void testConsumer ()\n {\n\n List<String> list = new ArrayList<>();\n list.add(\"ccc\");\n list.add(\"bbb\");\n list.add(\"ddd\");\n list.add(\"DDDD\");\n list.add(\"ccc\");\n list.add(\"aaa\");\n list.add(\"eee\");\n\n// Collections.sort(list);\n// Collections.sort(list, (s, s2) -> s.toLowerCase().compareTo(s2.toLowerCase()));\n\n// list.sort((s, s2) -> s.compareTo(s2));\n// list.sort((s, s2) -> s.toLowerCase().compareTo(s2.toLowerCase()));\n\n// list.forEach(s -> System.out.println(s));\n// list.forEach(s -> System.out.println(s));\n\n\n// Predicate<String> predicate2 = s -> s.length()>3;\n// System.out.println(\"predicate2.test(\\\"DDDD\\\") = \" + predicate2.test(\"DDDD\"));\n\n// Stream<String> stringStream = list.stream();\n// stringStream.forEach(s -> System.out.println(s));\n// stringStream.forEach(s -> System.out.println(s));//会报错\n\n// list.stream().forEach(s -> System.out.println(s));\n// list.stream().forEach(s -> System.out.println(s));\n\n //并行流是无序的\n// list.parallelStream().forEach(s -> System.out.println(s));\n// list.parallelStream().forEach(s -> System.out.println(s));\n\n// list.stream().skip(3).forEach(s -> System.out.println(s));\n// list.stream().distinct().forEach(s -> System.out.println(s));\n// System.out.println(\"list.stream().count() = \" + list.stream().count());\n// list.stream().limit(2).forEach(s -> System.out.println(s));\n\n// list.stream().filter(s -> s.length()<4).forEach(s -> System.out.println(s));\n\n// BiFunction<Integer, String, Person> bf = Person::new;\n// BiFunction<Integer, String, Person> bf = (n, s) -> new Person(s);\n\n// Person aaa = bf.apply();\n\n// System.out.println(\"aaa = \" + bf.apply(0, \"aaa\"));\n \n }", "public static void findFirstMultipleOfSixViaStreams(List<Integer> numbers){\n\n int abc = 9;\n numbers.stream().filter(x -> {\n System.out.println(\"x = \" + x);\n return x % 6 == 0;\n }).map(x -> x + abc).findFirst();\n// Optional<Integer> firstSixMultiple = numbers.stream()\n// .filter(x -> {\n// System.out.println(\"x = \" + x);\n// return x % 6 == 0;\n// })\n// .findFirst();\n\n// int ans = firstSixMultiple.orElse(-1);\n\n// System.out.println(ans);\n }", "public void rc(){\n List<Integer> numbers = new ArrayList<>();\n var result = List.of(1,2,3,4,5,6,7,8,9,10);\n result\n .parallelStream()\n .forEach(number->addToList(numbers,number));\n print.accept(numbers);\n }", "public static void main(String args[] ) throws Exception {\n \n Scanner s = new Scanner(System.in);\n List<String> inputList = new ArrayList<String>(); \n int limit = Integer.parseInt(s.nextLine());\n while (s.hasNextLine()) {\n \n String scanValue = s.nextLine();\n inputList.add(scanValue); \n } \n\n List<Integer> intList = getAllValuesArr(inputList);\n \n intList.stream().forEach(i -> {\n\n IntStream.range(1, i+1).forEach(num -> { \n printRangeNumbers(num); \n });\n });\n \n\n\n }", "public static void main(String []args) {\n\t\tList<String> numbers = Arrays.asList(\"1\", \"2\", \"3\", \"4\", \"5\", \"6\",\"7\",\"8\",\"9\");\r\n\t\t//Generate numbers from 1 to 9\r\n\t\tSystem.out.println(IntStream.range(1,10).mapToObj(String::valueOf).collect(Collectors.toList()));\r\n//\t\tSystem.out.println(\"Original list \" + numbers);\r\n\t\t\r\n\t\tList<Integer> even = numbers.stream()\r\n\t\t\t\t//gets the integer value from the string\r\n//\t\t\t\t.map(s ->Integer.valueOf(s))\r\n\t\t\t\t.map(Integer::valueOf) // Another way to do the top line(line 18)\r\n\t\t\t\t//checking if it is even\r\n\t\t\t\t.filter(number -> number % 2 ==1)// Odd numbers\r\n//\t\t\t\t.filter(number -> number % 2 ==0)// Even numbers\r\n\t\t\t\t//Collects results in to list call even.\r\n\t\t\t\t.collect(Collectors.toList());\r\n\t\t\r\n\t\tSystem.out.println(even);\r\n\r\n\t\tList<String> strings = Arrays.asList(\"abc\", \"\", \"bc\", \"efg\", \"abcd\", \"\", \"jkl\", \"\", \"\");\r\n\t\tSystem.out.println(strings);\r\n\t\t\r\n\t\tList<String> filtered = strings.stream()\r\n\t\t\t\t// checking each item and we check it is empty\r\n\t\t\t\t.filter(s-> !s.isEmpty())\r\n//\t\t\t\t.filter(s-> s.isEmpty())\r\n\t\t\t\t// add the remaining element to the list\r\n\t\t\t\t.collect(Collectors.toList());\r\n\t\tSystem.out.println(filtered);\r\n\t\t\r\n\t\t// Known as a method reference \r\n//\t\tforEach(System.out::println)\r\n\t\t \r\n\t}", "@Override\n\tpublic void run() {\n\t\tresult =\n\t\t\tStream.iterate(new int[]{0, 1}, s -> new int[]{s[1], s[0] + s[1]})\n\t\t\t\t.limit(limit)\n\t\t\t\t.map(n -> n[0])\n\t\t\t\t.collect(toList());\n\n\t}", "public static void main(String[] args) {\n\t\n\t\tm(\"Iterate\", () -> {\t\t\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tSupplier<IntStream>[] sArr = (Supplier<IntStream>[])new Supplier[] {\n\t\t\t\t() -> IntStream.iterate(2, i -> 2 * i),\n\t\t\t\t() -> IntStream.iterate(10, i -> i - 1),\n\t\t\t\t() -> IntStream.iterate(10, i -> i),\n\t\t\t\t() -> IntStream.iterate(10, i -> 2),\n\t\t\t\t() -> IntStream.iterate(42, IntUnaryOperator.identity()),\n\t\t\t\t() -> IntStream.iterate(42, IntUnaryOperator.identity().andThen(IntUnaryOperator.identity())),\n\t\t\t};\n\t\t\tStream.of(sArr).forEach(supplier -> supplier.get().limit(10).forEach(System.out::println));\n\t\t});\n\t\t\n\t\t\n\t\t//Various IntStream generations. generate produces elements without input => it uses an IntSupplier.\n\t\t\n\t\tSystem.out.println(\"---------------------------------------------\");\n\t\t\n\t\tm(\"Generate\", () -> {\t\t\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tSupplier<IntStream>[] sArr = (Supplier<IntStream>[])new Supplier[] {\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt()),\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt()).filter(n -> n >= 0),\n\t\t\t\t() -> IntStream.generate(() -> 10),\n\t\t\t\t() -> IntStream.generate(() -> new Random().nextInt() % 20).filter(n -> n >= 0)\n\t\t\t};\n\t\t\tStream.of(sArr).forEach(supplier -> {supplier.get().limit(10).forEach(System.out::println); System.out.println(\"--------------------------------\");});\n\t\t});\n\t\t\n\t\t\n\t\t//Iterate and generate for DoubleStream, LongStream and Stream<T>\n\t\t\n\t\t\n\t\tm(\"DoubleStream iterate and generate\", () -> {\t\t\n\t\t\tDoubleStream.iterate(1, d -> d + d / 2).limit(20).forEach(System.out::println); //Uses DoubleUnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tDoubleStream.generate(() -> new Random().nextDouble()).limit(5).forEach(System.out::println); //Uses DoubleSupplier\n\t\t});\n\t\t\n\t\tm(\"LongStream iterate and generate\", () -> {\t\t\n\t\t\tLongStream.iterate(2, n -> n * n).limit(4).forEach(System.out::println); //Uses LongUnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tDoubleStream.generate(() -> new Random().nextLong()).limit(5).forEach(System.out::println); //Uses LongSupplier\n\t\t});\n\t\t\n\t\tm(\"Stream iterate and generate\", () -> {\t\t\n\t\t\tStream.<List<Object>>iterate(new ArrayList<Object>(), l -> {l.add(1); return l;}).limit(4).forEach(System.out::println); //Uses UnaryOperator\n\t\t\tSystem.out.println(\"-------------------------\");\n\t\t\tStream.<List<Object>>generate(() -> new ArrayList<Object>()).limit(4).forEach(System.out::println); //Uses Supplier\n\t\t});\n\t\t\n\t\tm(\"noneMatch\", () -> {\t\t\n\t\t\tStream<String> stream = Stream.<String>iterate(\"-\", s -> s + s);\n\t\t\tPredicate<String> predicate = s -> s.length() > 3;\n\t\t\tSystem.out.println(stream.noneMatch(predicate)); //Note: this is not infinite. None match will fail as soon as one element is found\n\t\t});\n\t\t\n\t\tm(\"allMatch\", () -> {\t\t\n\t\t\tStream<String> stream = Stream.<String>iterate(\"-\", s -> s + s);\n\t\t\tPredicate<String> predicate = s -> s.length() > 0;\n\t\t\tPredicate<String> predicate2 = s -> s.length() > 3;\n\t\t\t//System.out.println(stream.allMatch(predicate)); //Note: This is infinite and will fail with OOM error\n\t\t\tSystem.out.println(stream.allMatch(predicate2)); //Note how this will return as the first element does not match so false can be returned\n\t\t});\n\t\t\n\t}", "public static void main(String[] args){\n List<String> list = Arrays.asList(\"a\",\"2\",\"3\",\"4\",\"5\");\n //List l1 = Lists.newArrayList();\n //list.stream().map(a->\"map\"+a).forEach(System.out::println);\n Stream lines = list.stream();\n lines.flatMap(line->Arrays.stream(line.toString().split(\"\"))).distinct().count();\n\n\n }", "@Test\r\n\tvoid mapMethod() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream();\r\n\t\tStream<Integer> streamInteger = transactionBeanStream.peek(System.out::println).map(TransactionBean::getId);\r\n\t\tList<Integer> afterStreamList = streamInteger.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong value\", 1, afterStreamList.get(0).intValue());\r\n\t\tassertSame(\"wrong value\", 2, afterStreamList.get(1).intValue());\r\n\t\tassertSame(\"wrong value\", 3, afterStreamList.get(2).intValue());\r\n\t}", "private static void functionStream() {\n\t\tStream.iterate(0, n -> n + 2).limit(10).forEach(System.out::println);\n\t\tStream.generate(Math::random).limit(4).forEach(System.out::println);\n\n\t}", "private static void backPressureFix() {\n\t\tFlowable.range(1, 1000000)\n\t\t//below map will run in sequential\n\t\t//since sequential it has to complete whole task then only it can allow consumer to start\n\t\t\t.map(item -> {\n\t\t\t\tSystem.out.println(\"Produced item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t\treturn item;\n\t\t\t})\n\t\t\t.observeOn(Schedulers.io())\n\t\t\t//.subscribeOn(Schedulers.io())//with this whole pipelein runs in seprate thread paralleley\n\t\t\t//below will run in concurrent\n\t\t\t.subscribe(item ->{\n\t\t\t\t//mimcing slowness\n\t\t\t\tThreadUtil.sleep(300);\n\t\t\t\tSystem.out.println(\"Consumed item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t})\n\t\t\t\n\t\t\t;\n\t\t\n\t\t//since running in async we need to sleep\n\t\tThreadUtil.sleep(10000000);\n\t\t\t\n\t}", "@Test\n public void intermediateOperations() {\n Stream<Book> books = TestData.getBooks().stream();\n // filter\n Stream<Book> booksWithMultipleAuthors = books.filter(book -> book.hasMultipleAuthors());\n // map\n Stream<String> namesStream = booksWithMultipleAuthors.map(book -> book.getName());\n \n Set<String> expected = \n Sets.newHashSet(\"Design Patterns: Elements of Reusable Object-Oriented Software\",\n \"Structure and Interpretation of Computer Programs\");\n assertEquals(expected, namesStream.collect(Collectors.toSet()));\n }", "public static void main(String[] args) {\n\t\tStream<Integer> numStream = numbers.stream();\n\t\t\n\t\t// numStream.forEach(System.out::println); // here stream is closed\n\t\t// numStream.forEach(System.out::println); // this line with throw java.lang.IllegalStateException: stream has already been operated upon or closed\n\t\t\n\t\t// Flux has the similary concepts cannot use the same flux steam multiple times.\n\t\t// Flux<Integer> fluxStream = Flux.fromStream(numStream);\n\t\t\n//\t\tfluxStream.subscribe(\n//\t\t\t\tLamdaUtil.onNext(),\n//\t\t\t\tLamdaUtil.onError(),\n//\t\t\t\tLamdaUtil.onComplete()\n//\t\t\t\t);\n\t\t\n//\t\tfluxStream.subscribe(\n//\t\t\t\tLamdaUtil.onNext(),\n//\t\t\t\tLamdaUtil.onError(),\n//\t\t\t\tLamdaUtil.onComplete()\n//\t\t\t\t);// this line with throw ERROR :stream has already been operated upon or closed\n\t\t\n\t\t// to reuse the same data several times we need to use supplier with every time new stream\n\t\t\n\t\tFlux<Integer> numSupplierStream = Flux.fromStream(() -> numbers.stream());\n\t\tnumSupplierStream.subscribe(\n\t\t\t\tLamdaUtil.onNext(),\n\t\t\t\tLamdaUtil.onError(),\n\t\t\t\tLamdaUtil.onComplete()\n\t\t\t\t);\n\t\tnumSupplierStream.subscribe(\n\t\t\t\tLamdaUtil.onNext(),\n\t\t\t\tLamdaUtil.onError(),\n\t\t\t\tLamdaUtil.onComplete()\n\t\t\t\t);\n\t\t\n\t}", "public static void main(String args[]) \r\n {\n List<Integer> number = Arrays.asList(2,3,4,5); \r\n \r\n // demonstration of map method \r\n List<Integer> square = number.stream().map(x -> x*x). \r\n collect(Collectors.toList()); \r\n System.out.println(\"Square od number using map()\"+square); \r\n \r\n // create a list of String \r\n List<String> names = \r\n Arrays.asList(\"Reflection\",\"Collection\",\"Stream\"); \r\n \r\n // demonstration of filter method \r\n List<String> result = names.stream().filter(s->s.startsWith(\"S\")). \r\n collect(Collectors.toList()); \r\n System.out.println(result); \r\n \r\n // demonstration of sorted method \r\n List<String> show = \r\n names.stream().sorted().collect(Collectors.toList()); \r\n System.out.println(show); \r\n \r\n // create a list of integers \r\n List<Integer> numbers = Arrays.asList(2,3,4,5,2); \r\n \r\n // collect method returns a set \r\n Set<Integer> squareSet = \r\n numbers.stream().map(x->x*x).collect(Collectors.toSet()); \r\n System.out.println(squareSet); \r\n \r\n // demonstration of forEach method \r\n number.stream().map(x->x*x).forEach(y->System.out.println(y)); \r\n \r\n // demonstration of reduce method \r\n int even = \r\n number.stream().filter(x->x%2==0).reduce(0,(ans,i)-> ans+i); \r\n \r\n System.out.println(even); \r\n \r\n // Create a String with no repeated keys \r\n Stream<String[]> \r\n str = Stream \r\n .of(new String[][] { { \"GFG\", \"GeeksForGeeks\" }, \r\n { \"g\", \"geeks\" }, \r\n { \"G\", \"Geeks\" } }); \r\n\r\n // Convert the String to Map \r\n // using toMap() method \r\n Map<String, String> \r\n map = str.collect( \r\n Collectors.toMap(p -> p[0], p -> p[1])); \r\n\r\n // Print the returned Map \r\n System.out.println(\"Map:\" + map); \r\n }", "private static void iterator() {\n\t\t\r\n\t}", "public static void main(String[] args) {\r\n\t\t\r\n\t\tSystem.out.println(\"-------1. Stream filter() example---------\");\r\n\t\t//We can use filter() method to test stream elements for a condition and generate filtered list.\r\n\t\t\r\n\t\tList<Integer> myList = new ArrayList<>();\r\n\t\tfor(int i=0; i<100; i++) myList.add(i);\r\n\t\tStream<Integer> sequentialStream = myList.stream();\r\n\r\n\t\tStream<Integer> highNums = sequentialStream.filter(p -> p > 90); //filter numbers greater than 90\r\n\t\tSystem.out.print(\"High Nums greater than 90=\");\r\n\t\thighNums.forEach(p -> System.out.print(p+\" \"));\r\n\t\t//prints \"High Nums greater than 90=91 92 93 94 95 96 97 98 99 \"\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"-------2. Stream map() example---------\");\r\n\t\t//We can use map() to apply functions to an stream\r\n\t\tStream<String> names = Stream.of(\"aBc\", \"d\", \"ef\");\r\n\t\tSystem.out.println(names.map(s -> {\r\n\t\t\t\treturn s.toUpperCase();\r\n\t\t\t}).collect(Collectors.toList()));\r\n\t\t//prints [ABC, D, EF]\r\n\t\t\r\n\t\tSystem.out.println(\"-------3. Stream sorted() example---------\");\r\n\t\t//We can use sorted() to sort the stream elements by passing Comparator argument.\r\n\t\tStream<String> names2 = Stream.of(\"aBc\", \"d\", \"ef\", \"123456\");\r\n\t\tList<String> reverseSorted = names2.sorted(Comparator.reverseOrder()).collect(Collectors.toList());\r\n\t\tSystem.out.println(reverseSorted); // [ef, d, aBc, 123456]\r\n\r\n\t\tStream<String> names3 = Stream.of(\"aBc\", \"d\", \"ef\", \"123456\");\r\n\t\tList<String> naturalSorted = names3.sorted().collect(Collectors.toList());\r\n\t\tSystem.out.println(naturalSorted); //[123456, aBc, d, ef]\r\n\t\t\r\n\t\tSystem.out.println(\"-------4. Stream flatMap() example---------\");\r\n\t\t//We can use flatMap() to create a stream from the stream of list.\r\n\t\tStream<List<String>> namesOriginalList = Stream.of(\r\n\t\t\t\tArrays.asList(\"Pankaj\"), \r\n\t\t\t\tArrays.asList(\"David\", \"Lisa\"),\r\n\t\t\t\tArrays.asList(\"Amit\"));\r\n\t\t\t//flat the stream from List<String> to String stream\r\n\t\t\tStream<String> flatStream = namesOriginalList\r\n\t\t\t\t.flatMap(strList -> strList.stream());\r\n\r\n\t\t\tflatStream.forEach(System.out::println);\r\n\r\n\t}", "@Test\n public void streamsExample() {\n List<Integer> list = asList(1, 2, 3, 4, 5);\n \n list.stream().forEach(out::println);\n \n out.println();\n \n list.stream().parallel().forEachOrdered(out::println);\n \n \n }", "private static Stream<Path> listRecur(Path p) {\n if (Files.isDirectory(p)) {\n try {\n return Files.list(p).flatMap(DirectoryClassPath::listRecur);\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n } else {\n return Stream.of(p);\n }\n }", "public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados por pipeline entre ellos y sin espacios\n // opcion 1(mejor) con operador ternario\n String cadena = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador.equals(\"\")?lenguaje:acumulador + \"|\" + lenguaje);\n\n System.out.println(cadena);\n\n //Opcion 2 Con regex\n String cadenaRegex = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador + \"|\" + lenguaje)\n .replaceFirst(\"\\\\|\",\"\") // Quitamos la primera pipeline\n .replaceAll(\"\\\\s\",\"\"); // Quitamos todos los espacios\n\n System.out.println(cadenaRegex);\n }", "public static void main(String[] args) {\n List<Integer> numbers = Arrays.asList(1, 9, -9, -32234, 8932489);\n\n //vytvorim si dalsi list integerov a priradim mu .stream Array List numbers\n List<Integer> squeredNumbers = numbers.stream()\n // .filter ako for loop, prejde arrayom numbers ak je cislo vacsie ako tri\n // podmienka pokracuje\n .filter(i -> i > 3)\n // .map zobere hodnotu i ( je to cislo z mapy) a vynasoby ju rovnakou hodnotou\n .map(i -> i * i)\n // .cllect(Collectors.toList();\n .collect(Collectors.toList());\n // vytlacime stream funkciu\n System.out.println(squeredNumbers);\n }", "public void printItemsUsingLambdaCollectorsJDK8(List<Item> items){\n\t\tIO.print(\"\\nPrint average of all items price using JDK8 stream, method reference, collector!\");\r\n\t\t// average requires total sum and no of items as well.\r\n\t\t// collect returns ONLY one value throughout the stream. So we need some kind of placer where we will keep storing sum, count during stream.\r\n\t\tAverager avg = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t// alternate of item -> item.getPrice()\r\n\t\t\t.collect(Averager::new, Averager::accept, Averager::mergeIntermediateAverage); \r\n\t\t\t//accept takes one double value from stream and call merge.. method, which combines previous averger`s sum, count.\r\n\t\t\t// All Averager`s methods have no return type except for average which is not used in stream processing.\r\n\t\tIO.print(\"Average of price: \" + String.format(\"%.4f\", avg.average()));\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of items price using JDK8 stream, collector, suming!\");\r\n\t\tdouble total = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.summingDouble(Item::getPrice)); // no need for map as well.\r\n\t\tIO.print(\"Total price: \" + String.format(\"%.4f\", total)); // same result\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector toList!\");\r\n\t\tList<Double> prices = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t// alternate of item -> item.getPrice()\r\n\t\t\t.collect(Collectors.toList()); \r\n\t\t\t// collects stream of elements i.e. price, and creates a List of price.\r\n\t\tIO.print(\"List of prices: \" + prices); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector toCollection!\");\r\n\t\tprices = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice) \r\n\t\t\t.collect(Collectors.toCollection(ArrayList::new)); // same as toList: Here, we can get prices in any list form; TreeSet, HashSet, ArrayList.\r\n\t\tIO.print(\"List of prices: \" + prices);\r\n\t\t\r\n\t\tIO.print(\"\\nPrint total of all items price using JDK8 stream, collector joining!\");\r\n\t\tString priceString = items\r\n\t\t\t.stream()\r\n\t\t\t.map(Item::getPrice)\r\n\t\t\t.map(Object::toString) //basically, double.toString() as upper map converts stream of Item into stream of Double\r\n\t\t\t.collect(Collectors.joining(\", \")); // same as toList.\r\n\t\tIO.print(\"List of prices: [\" + priceString + \"]\"); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, List<Item>> byType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType));\r\n\t\tIO.print(\"Items by Type: \" + byType ); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, Double> sumByType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType, Collectors.summingDouble(Item::getPrice)));\r\n\t\tIO.print(\"Total prices by Type: \" + sumByType); \r\n\t\t\r\n\t\tIO.print(\"\\nPrint items based on type using JDK8 stream, collector grouping!\");\r\n\t\tMap<ITEM_TYPE, Optional<Item>> largetstByType = items\r\n\t\t\t.stream()\r\n\t\t\t.collect(Collectors.groupingBy(Item::getType, Collectors.maxBy(Comparator.comparing(Item::getPrice) )));\r\n\t\tIO.print(\"Total prices by Type: \" + largetstByType); \r\n\t}", "public static void main(String[] args) {\n\t\tStream<Integer> intStream = Stream.of(1, 2, 3, 4);\n\t\t// intStream.forEach(System.out::println);\n\n\t\t/*\n\t\t * Approach 2 of declaring a stream objects with range of elements from 1-10\n\t\t * where last range element is not considered while printing or for any //\n\t\t * operation like sum, average, etc.\n\t\t * \n\t\t * We have IntStream, DoubleStream, etc to handle primitive values inside\n\t\t * streams...\n\t\t */\n\n\t\tIntStream.range(1, 10).forEach(e -> System.out.println(\"IntStream values from 1-10 range: \" + e)); // This will\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// print\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// numbers\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// from 1-9\n\n\t\t// Sometimes,we really want to create Streams dynamically instead of sequential\n\t\t// int values as above. We can use iterate method to to that.\n\t\tIntStream.iterate(1, e -> e * 2).limit(10).forEach(System.out::println);// Priting square numbers\n\n\t\tIntStream.iterate(2, e -> e + 2).limit(10).peek(System.out::println);// Printing even numbers\n\n\t\t/*\n\t\t * Convert these primitive streams to List For that we need to do a boxing\n\t\t * operation on top of stream\n\t\t */\n\n\t\tSystem.out.println(\"Converting IntStream to List...\");\n\t\tIntStream.range(1, 10).limit(5).boxed().collect(Collectors.toList()).forEach(System.out::println);\n\n\t\t/*\n\t\t * Lets explore some concepts on Strings...How stream works on strings and its\n\t\t * related operations\n\t\t */\n\n\t\t// Stream courseStream = Stream.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\tList<String> courses2 = List.of(\"Spring\", \"API\", \"AWS\", \"Java\", \"JavaFP\");\n\t\t// If we want to join these values\n\n\t\tSystem.out.println(courses.stream().collect(Collectors.joining()));\n\n\t\t/*\n\t\t * Lets say, if i want tp split each string in stream seprated by comma..\n\t\t */\n\t\tSystem.out.println(\"String opeartaion within Streams....\");\n\t\t// The below one prints all stream Objects that executed on top of split\n\t\t// function. So, we need to flatMap it to extract the actual result\n\t\tSystem.out.println(courses.stream().map(course -> course.toString().split(\",\")).collect(Collectors.toList()));\n\t\tSystem.out.println(\n\t\t\t\tcourses.stream().map(course -> course.split(\"\")).flatMap(Arrays::stream).collect(Collectors.toList()));\n\n\t\tSystem.out.println(\"Tuples strings : \"\n\t\t\t\t+ courses.stream().flatMap(course -> courses2.stream().map(course2 -> List.of(course, course2)))\n\t\t\t\t\t\t.collect(Collectors.toList()));\n\n\t\t/**\n\t\t * Higher Order Functions... Higher Order function is a function that returns a\n\t\t * function... In simpler terms, a method that returns a Predicate which\n\t\t * contains logic. So, here we are using method logic as a normal data and\n\t\t * returning it from an another method..\n\t\t */\n\n\t\tList<Courses> courseList = List.of(new Courses(1, \"Java\", 5000, 5), new Courses(2, \"AWS\", 4000, 4));\n\t\t// If we want to get courses whcih has number of students greater than 4000,\n\t\t// then we need to write a predicate for that first\n\t\tint numberOfStudentsThreshhold = 4000;\n\t\tPredicate<Courses> numberOfStudentsPredicate = numberOfStudentsPredecateMethod(numberOfStudentsThreshhold);\n\n\t\tSystem.out.println(\"Courses that has score>4000 : \"\n\t\t\t\t+ courseList.stream().filter(numberOfStudentsPredicate).collect(Collectors.toList()));\n\n\t}", "private static void ejercicio1() {\n List<Integer> numeros = Arrays.asList(1, 2, 3, 4, 5);\n numeros.stream().map(numero -> Main.calculaCubo(numero)).forEach(numero -> System.out.print(numero + \" \"));\n System.out.println();\n numeros.stream().map(Main::calculaCubo).forEach(numero -> System.out.print(numero + \" \"));\n }", "@Test\r\n void multiLevelFilter() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream().filter(t -> t.getType() == Transaction.GROCERY).filter(t -> \"r3\".equals(t.getValue()));\r\n\t\tList<TransactionBean> afterStreamList = transactionBeanStream.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(0).getType());\r\n\t\tassertSame(\"wrong value\", \"r3\", afterStreamList.get(0).getValue());\r\n }", "@Test\n public void lab5() {\n StudentService ss = new StudentService();\n Utils.fillStudents(ss);\n\n List<Student> students = ss.getAllStudents();\n\n //List<Long> listOfAges = students.stream()\n Set<Long> listOfAges = students.stream()\n .filter(s -> s.getStatus() == Student.Status.HIBERNATING)\n .map(s -> s.getDob().until(LocalDate.now(), ChronoUnit.YEARS))\n .collect(toSet());\n\n\n }", "public static void main(final String[] args)\n {\n final Supplier<ArrayList<String>> proveedor = ArrayList::new;\n\n // Aqui tenemos el acumulador, el que añadira cada elemento del stream al proveedor definido\n // arriba\n // BiConsumer<ArrayList<String>, String> acumulador = (list, str) -> list.add(str);\n final BiConsumer<ArrayList<String>, String> acumulador = ArrayList::add;\n\n // Aquí tenemos el combinador, ya que por ejemplo al usar parallelStream, cada hijo generara\n // su propio proveedor, y al final deberan combinarse\n final BiConsumer<ArrayList<String>, ArrayList<String>> combinador = ArrayList::addAll;\n\n final List<Empleado> empleados = Empleado.empleados();\n final List<String> listNom = empleados.stream()\n .map(Empleado::getNombre)\n .collect(ArrayList::new, ArrayList::add, ArrayList::addAll);\n System.out.println(listNom);\n\n // Usando Collectors\n final List<String> listNom2 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toList());\n System.out.println(listNom2);\n\n final Set<String> listNom3 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toSet());\n System.out.println(listNom3);\n\n final Collection<String> listNom4 = empleados.stream()\n .map(Empleado::getNombre)\n .collect(Collectors.toCollection(TreeSet::new));\n System.out.println(listNom4);\n\n // Ahora con mapas\n final Map<Long, String> map = empleados.stream()\n .collect(Collectors.toMap(Empleado::getId, Empleado::getNombre));\n System.out.println(map);\n\n final Map<Genero, String> map2 = empleados.stream()\n .collect(Collectors.toMap(Empleado::getGenero, Empleado::getNombre,\n (nom1,\n nom2) -> String.join(\", \", nom1, nom2)));\n System.out.println(map2);\n }", "private void usingPrimitiveStream() {\n IntStream.range(1, 4).forEach(System.out::println);\n DoubleStream.of(2.3, 4.3).forEach(System.out::println);\n LongStream.range(1, 4).forEach(System.out::println);\n }", "@Override\n\tdefault EagerFutureStream<U> cycle(){\n\t\tthrow new UnsupportedOperationException(\"cycle not supported for EagerFutureStreams\");\n\t}", "@Test\r\n void limitMethod() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream().limit(2);\r\n\t\tList<TransactionBean> afterStreamList = transactionBeanStream.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong type\", 2, afterStreamList.size());\r\n }", "@Test\n public void t2() {\n List<StableCommit> stableCommitList = getStableCommits().stream().filter(commit ->\n commit.getFilePath().equals(\"src/java/org/apache/commons/lang/builder/HashCodeBuilder.java\") && commit.getLevel() == 1).collect(Collectors.toList());\n // it has been through 9 different refactorings\n List<RefactoringCommit> refactoringCommitList = getRefactoringCommits().stream().filter(commit ->\n commit.getFilePath().equals(\"src/java/org/apache/commons/lang/builder/HashCodeBuilder.java\")).collect(Collectors.toList());\n\n Assert.assertEquals(4, stableCommitList.size());\n Assert.assertEquals(8, refactoringCommitList.size());\n\n Assert.assertEquals(\"5c40090fecdacd9366bba7e3e29d94f213cf2633\", stableCommitList.get(0).getCommit());\n\n // then, it was refactored two times (in commit 5c40090fecdacd9366bba7e3e29d94f213cf2633)\n Assert.assertEquals(\"5c40090fecdacd9366bba7e3e29d94f213cf2633\", refactoringCommitList.get(0).getCommit());\n Assert.assertEquals(\"5c40090fecdacd9366bba7e3e29d94f213cf2633\", refactoringCommitList.get(1).getCommit());\n\n // It appears 3 times\n Assert.assertEquals(\"379d1bcac32d75e6c7f32661b2203f930f9989df\", stableCommitList.get(1).getCommit());\n Assert.assertEquals(\"d3c425d6f1281d9387f5b80836ce855bc168453d\", stableCommitList.get(2).getCommit());\n Assert.assertEquals(\"3ed99652c84339375f1e6b99bd9c7f71d565e023\", stableCommitList.get(3).getCommit());\n }", "private static void testStreamFormList() {\n\n Integer[] ids = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};\n\n/*\n Stream.of(ids)\n .map(StreamsOverviewMain::findById)\n .filter(Objects::nonNull)\n .collect(Collectors.toList())\n .forEach(System.out::println);\n*/\n/*\n Random r = new Random();\n Integer integer = Stream.of(ids)\n .filter(i -> i % 2 == 0)\n .filter(i -> i % 3 == 0)\n .filter(i -> i % 5 == 0)\n .findFirst()\n// .orElse(0);\n .orElseGet(()->r.nextInt());\n System.out.println(integer);\n*/\n Stream.of(ids)\n .filter(i -> i % 2 == 0)\n .filter(i -> i % 3 == 0)\n .skip(2)\n .limit(1)\n .forEach(System.out::println);\n\n/*\n Optional<Employee2> first = Stream.of(ids)\n .map(StreamsOverviewMain::findById)\n .filter(Objects::nonNull)\n .findFirst();\n System.out.println(first);\n*/\n/*\n OptionalDouble average = Stream.of(ids)\n .map(StreamsOverviewMain::findById)\n .filter(Objects::nonNull)\n .mapToInt(Employee2::getSalary)\n .average();\n System.out.println(average);\n*/\n\n List<List<Employee2>> departments = new ArrayList<>();\n departments.add(employeeList);\n departments.add(secondList);\n\n/*\n departments.stream().flatMap(l -> l.stream()\n .map(e -> e.getFirstName())).forEach(System.out::println);\n*/\n\n/*\n Stream.of(ids).map(e -> String.format(\"%,3d\", e)).forEach(System.out::print);\n System.out.println();\n Stream.of(ids)\n// .peek(e -> e = e * 2)\n .map(e -> String.format(\"%,3d\", e * 2))\n .forEach(System.out::print);\n System.out.println();\n*/\n/*\n Consumer<Integer> c = e -> e = e * 2;\n Stream.of(ids).forEach(c);\n System.out.println(c);\n*/\n }", "private void mapToObjUsingStream() {\n IntStream.range(1, 4)\n .mapToObj(i -> \"a\" + i)\n .forEach(System.out::println);\n }", "@SuppressWarnings(\"unchecked\")\n private static <T> Stream<T> all(Class<T> type, Iterator<Object> i) {\n requireNonNull(type);\n requireNonNull(i);\n \n return all(i).filter(o -> type.isAssignableFrom(o.getClass()))\n .map(o -> (T) o);\n }", "@Test\n public void test1(){\n\n// List<String> list= new ArrayList<String>();\n// list.add(\"张三\");\n// list.add(\"李四\");\n// list.add(\"王五\");\n// list.add(\"马六\");\n// System.out.println(list.get(0));\n//\n// list.forEach(li-> System.out.println(li+\"干什么\"));\n//// Runnable no=() -> System.out.println(\"hello\");\n//\n// Complex complex=new Complex(2,3);\n//\n// Complex c=new Complex(5,3);\n// Complex cc=c.plus(complex);\n// System.out.println(cc.toString()+\"11111111111111111111\");\n List<String> data = new ArrayList<>();\n data.add(\"张三\");\n data.add(\"李四\");\n data.add(\"王三\");\n data.add(\"马六\");\n data.parallelStream().forEach(x-> System.out.println(x));\n System.out.println(\"--------------------\");\n data.stream().forEach(System.out::println);\n System.out.println(\"+++++++++++++++++\");\n List<String> kk=data.stream().sorted().limit(2).collect(Collectors.toList());\n kk.forEach(System.out::println);\n List<String> ll=data.stream()\n .filter(x -> x.length() == 2)\n .map(x -> x.replace(\"三\",\"五\"))\n .sorted()\n .filter(x -> x.contains(\"五\")).collect(Collectors.toList());\n ll.forEach(string-> System.out.println(string));\n for (String string:ll) {\n System.out.println(string);\n }\n ll.stream().sorted().forEach(s -> System.out.println(s));\n// .forEach(System.out::println);\n Thread thread=new Thread(()->{ System.out.println(1); });\n thread.start();\n\n LocalDateTime currentTime=LocalDateTime.now();\n\n System.out.println(\"当前时间\"+currentTime);\n LocalDate localDate=currentTime.toLocalDate();\n System.out.println(\"当前日期\"+localDate);\n\n Thread tt=new Thread(()-> System.out.println(\"111\"));\n }", "private void exercise2() {\n List<String> list = asList(\n \"The\", \"Quick\", \"BROWN\", \"Fox\", \"Jumped\", \"Over\", \"The\", \"LAZY\", \"DOG\");\n\n final List<String> lowerOddLengthList = list.stream()\n .filter((string) -> string.length() % 2 != 0)\n .map(String::toLowerCase)\n .peek(System.out::println)\n .collect(toList());\n }", "public static void main(String[] args) {\n\t\tSystem.out.println(\"Create Stream of Object\\n\");\n\t\tStream<String> stream= Stream.of(\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\");\n\t stream.forEach(System.out::println);\n\t \n // Create Stream from Objects from Collection\n\t\tSystem.out.println(\" \\n\\nCreate Stream Object from collection\\n\");\n\t Collection<String> collection=Arrays.asList(\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\");\n\t Stream<String> stream2=collection.stream();\n\t stream2.forEach(System.out::println);\n\t \n\t //Create Stream Object from Collection\n\t System.out.println(\"\\n\\nCreate Stream Object from List\");\n\t List<String> list= Arrays.asList(\"Modou\",\"Fatou\",\"Saliou\",\"Samba\");\n\t Stream<String> stream3=list.stream();\n\t stream3.forEach(System.out::println);\n\t \n\t //Create Stream Object from Set\n\t System.out.println(\"\\n Create Stream from Set\");\n\t Set<String> set= new HashSet<>(list);\n\t Stream<String> stream4= set.stream();\n\t stream4.forEach(System.out::println);\n\t \n\t //Create Stream Object from Arrays\n\t System.out.println(\"\\nCreate Stream Object from Arrays\");\n\t ArrayList<String> array= new ArrayList<>(list);\n\t Stream<String> stream5= array.stream();\n\t stream5.forEach(System.out::println);\n\t \n\t //Create Stream from Array of String\n\t System.out.println(\"\\n Create Stream from Array of String\");\n\t String[] strArray= {\"Saliou\",\"Fatimatou\",\"Mahdiyou\",\"Kolon\"};\n\t Stream<String> stream6=Arrays.stream(strArray);\n\t stream6.forEach(System.out::println);\n\t \n\t \n\t}", "public static void main(String[] args) {\n\n\n List<Integer> source = buildIntRange();\n\n if(CollectionUtils.isNotEmpty(source)){\n\n }\n // 传统方式的遍历\n long start = System.currentTimeMillis();\n for (int i = 0; i < source.size(); i++) {\n try {\n TimeUnit.MILLISECONDS.sleep(1);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"传统方式 : \" + (System.currentTimeMillis() - start) + \"ms\");\n\n // 单管道stream\n start = System.currentTimeMillis();\n source.stream().forEach(r -> {\n try {\n TimeUnit.MILLISECONDS.sleep(1);\n } catch (Exception e) {\n e.printStackTrace();\n }\n });\n System.out.println(\"stream : \" + (System.currentTimeMillis() - start) + \"ms\");\n\n // 多管道parallelStream\n start = System.currentTimeMillis();\n source.parallelStream().forEach(r -> {\n try {\n TimeUnit.MILLISECONDS.sleep(1);\n } catch (Exception e) {\n e.printStackTrace();\n }\n });\n System.out.println(\"parallelStream : \" + (System.currentTimeMillis() - start) + \"ms\");\n }", "public static void main(String[] args) {\n\tDouble totalSalaryExpense = employeeList.stream().map(emp -> emp.getSalary()).reduce(0.00, (a, b) -> a + b);\n\tSystem.out.println(\"Total salary expense: \" + totalSalaryExpense);\n\n\t// Example 2: Using Stream.reduce() method for finding employee with\n\t// maximum salary\n\tOptional<Employee> maxSalaryEmp = employeeList.stream()\n\t\t.reduce((Employee a, Employee b) -> a.getSalary() < b.getSalary() ? b : a);\n\n\tif (maxSalaryEmp.isPresent()) {\n\t System.out.println(\"Employee with max salary: \" + maxSalaryEmp.get());\n\t}\n\n\t// Java 8 code showing Stream.map() method usage\n\tList<String> mappedList = employeeList.stream().map(emp -> emp.getName()).collect(Collectors.toList());\n\tSystem.out.println(\"\\nEmployee Names\");\n\tmappedList.forEach(System.out::println);\n\n\t// Definition & usage of flatMap() method\n\tList<String> nameCharList = employeeList.stream().map(emp -> emp.getName().split(\"\"))\n\t\t.flatMap(array -> Arrays.stream(array)).map(str -> str.toUpperCase()).filter(str -> !(str.equals(\" \")))\n\t\t.collect(Collectors.toList());\n\tnameCharList.forEach(str -> System.out.print(str));\n\n\tStream<String[]> splittedNames = employeeList.stream().map(emp -> emp.getName().split(\"\"));\n\t// splittedNames.forEach(System.out::println);\n\tStream<String> characterStream = splittedNames.flatMap(array -> Arrays.stream(array));\n\tSystem.out.println();\n\t// characterStream.forEach(System.out::print);\n\tStream<String> characterStreamWOSpace = characterStream.filter(str -> !str.equalsIgnoreCase(\" \"));\n\t// characterStreamWOSpace.forEach(System.out::print);\n\n\tList<String> listOfUpperChars = characterStreamWOSpace.map(str -> str.toUpperCase())\n\t\t.collect(Collectors.toList());\n\tlistOfUpperChars.forEach(System.out::print);\n\n }", "public static void main(String[] args) {\n System.out.println(IntStream.rangeClosed(1, 70).filter(t->t%7==0).sum());\n\n\t\t\n\t\t//2.yol\n\t\tSystem.out.println(IntStream.iterate(7, t->t+7).limit(10).sum());\n\t\t\n\t}", "@CompileStatic\npublic interface Stream<T> {\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param mapper mapper returning iterable of values to be flattened into output\n * @return the remapped stream\n */\n default <X> Stream<X> flatMap(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Iterable<X>> mapper) {\n\n return flatMap(null, mapper);\n }\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param name name of the operation\n * @param mapper mapper returning iterable of values to be flattened into output\n * @return the remapped stream\n */\n <X> Stream<X> flatMap(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Iterable<X>> mapper);\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param mapper the mapping closure\n * @return remapped stream\n */\n default <X> Stream<X> map(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<X> mapper) {\n\n return map(null, mapper);\n }\n\n /**\n * Remap the stream.\n *\n * @param <X> type parameter\n * @param name stable name of the mapping operator\n * @param mapper the mapping closure\n * @return remapped stream\n */\n <X> Stream<X> map(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<X> mapper);\n\n /**\n * Filter stream based on predicate\n *\n * @param predicate the predicate to filter on\n * @return filtered stream\n */\n default Stream<T> filter(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Boolean> predicate) {\n\n return filter(null, predicate);\n }\n\n /**\n * Filter stream based on predicate\n *\n * @param name name of the filter operator\n * @param predicate the predicate to filter on\n * @return filtered stream\n */\n Stream<T> filter(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Boolean> predicate);\n\n /**\n * Assign event time to elements.\n *\n * @param assigner assigner of event time\n * @return stream with elements assigned event time\n */\n default Stream<T> assignEventTime(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> assigner) {\n\n return assignEventTime(null, assigner);\n }\n\n /**\n * Assign event time to elements.\n *\n * @param name name of the assign event time operator\n * @param assigner assigner of event time\n * @return stream with elements assigned event time\n */\n Stream<T> assignEventTime(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> assigner);\n\n /**\n * Add window to each element in the stream.\n *\n * @return stream of pairs with window\n */\n default Stream<Pair<Object, T>> withWindow() {\n return withWindow(null);\n }\n\n /**\n * Add window to each element in the stream.\n *\n * @param name stable name of the mapping operator\n * @return stream of pairs with window\n */\n Stream<Pair<Object, T>> withWindow(@Nullable String name);\n\n /**\n * Add timestamp to each element in the stream.\n *\n * @return stream of pairs with timestamp\n */\n default Stream<Pair<T, Long>> withTimestamp() {\n return withTimestamp(null);\n }\n\n /**\n * Add timestamp to each element in the stream.\n *\n * @param name stable name of mapping operator\n * @return stream of pairs with timestamp\n */\n Stream<Pair<T, Long>> withTimestamp(@Nullable String name);\n\n /** Print all elements to console. */\n void print();\n\n /**\n * Collect stream as list. Note that this will result on OOME if this is unbounded stream.\n *\n * @return the stream collected as list.\n */\n List<T> collect();\n\n /**\n * Test if this is bounded stream.\n *\n * @return {@code true} if this is bounded stream, {@code false} otherwise\n */\n boolean isBounded();\n\n /**\n * Process this stream as it was unbounded stream.\n *\n * <p>This is a no-op if {@link #isBounded} returns {@code false}, otherwise it turns the stream\n * into being processed as unbounded, although being bounded.\n *\n * <p>This is an optional operation and might be ignored if not supported by underlying\n * implementation.\n *\n * @return Stream viewed as unbounded stream, if supported\n */\n default Stream<T> asUnbounded() {\n return this;\n }\n\n /**\n * Convert elements to {@link StreamElement}s.\n *\n * @param <V> type of value\n * @param repoProvider provider of {@link Repository}\n * @param entity the entity of elements\n * @param keyExtractor extractor of keys\n * @param attributeExtractor extractor of attributes\n * @param valueExtractor extractor of values\n * @param timeExtractor extractor of time\n * @return stream with {@link StreamElement}s inside\n */\n <V> Stream<StreamElement> asStreamElements(\n RepositoryProvider repoProvider,\n EntityDescriptor entity,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<CharSequence> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\")\n Closure<CharSequence> attributeExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> timeExtractor);\n\n /**\n * Persist this stream to replication.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param replicationName name of replication to persist stream to\n * @param target target of the replication\n */\n void persistIntoTargetReplica(\n RepositoryProvider repoProvider, String replicationName, String target);\n\n /**\n * Persist this stream to specific family.\n *\n * <p>Note that the type of the stream has to be already {@link StreamElement StreamElements} to\n * be persisted to the specified family. The family has to accept given {@link\n * AttributeDescriptor} of the {@link StreamElement}.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param targetFamilyname name of target family to persist the stream into\n */\n default void persistIntoTargetFamily(RepositoryProvider repoProvider, String targetFamilyname) {\n persistIntoTargetFamily(repoProvider, targetFamilyname, 10);\n }\n\n /**\n * Persist this stream to specific family.\n *\n * <p>Note that the type of the stream has to be already {@link StreamElement StreamElements} to\n * be persisted to the specified family. The family has to accept given {@link\n * AttributeDescriptor} of the {@link StreamElement}.\n *\n * @param repoProvider provider of {@link Repository}.\n * @param targetFamilyname name of target family to persist the stream into\n * @param parallelism parallelism to use when target family is bulk attribute family\n */\n void persistIntoTargetFamily(\n RepositoryProvider repoProvider, String targetFamilyname, int parallelism);\n\n /**\n * Persist this stream as attribute of entity\n *\n * @param <V> type of value extracted\n * @param repoProvider provider of repository\n * @param entity the entity to store the stream to\n * @param keyExtractor extractor of key for elements\n * @param attributeExtractor extractor for attribute for elements\n * @param valueExtractor extractor of values for elements\n * @param timeExtractor extractor of event time\n */\n <V> void persist(\n RepositoryProvider repoProvider,\n EntityDescriptor entity,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<CharSequence> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\")\n Closure<CharSequence> attributeExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<Long> timeExtractor);\n\n /**\n * Directly write this stream to repository. Note that the stream has to contain {@link\n * StreamElement}s (e.g. created by {@link #asStreamElements}.\n *\n * @param repoProvider provider of repository\n */\n void write(RepositoryProvider repoProvider);\n\n /**\n * Create time windowed stream.\n *\n * @param millis duration of tumbling window\n * @return time windowed stream\n */\n WindowedStream<T> timeWindow(long millis);\n\n /**\n * Create sliding time windowed stream.\n *\n * @param millis duration of the window\n * @param slide duration of the slide\n * @return sliding time windowed stream\n */\n WindowedStream<T> timeSlidingWindow(long millis, long slide);\n\n /**\n * Create session windowed stream.\n *\n * @param <K> type of key\n * @param keyExtractor extractor of key\n * @param gapDuration duration of the gap between elements per key\n * @return session windowed stream\n */\n <K> WindowedStream<Pair<K, T>> sessionWindow(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n long gapDuration);\n\n /**\n * Create calendar-based windowed stream.\n *\n * @param window the resolution of the calendar window (\"days\", \"weeks\", \"months\", \"years\")\n * @param count number of days, weeks, months, years\n * @param timeZone time zone of the calculation\n * @return calendar windowed stream\n */\n WindowedStream<T> calendarWindow(String window, int count, TimeZone timeZone);\n\n /**\n * Group all elements into single window.\n *\n * @return globally windowed stream.\n */\n WindowedStream<T> windowAll();\n\n /**\n * Merge two streams together.\n *\n * @param other the other stream(s)\n * @return merged stream\n */\n default Stream<T> union(Stream<T> other) {\n return union(Arrays.asList(other));\n }\n\n /**\n * Merge two streams together.\n *\n * @param name name of the union operator\n * @param other the other stream(s)\n * @return merged stream\n */\n default Stream<T> union(@Nullable String name, Stream<T> other) {\n return union(name, Arrays.asList(other));\n }\n\n /**\n * Merge multiple streams together.\n *\n * @param streams other streams\n * @return merged stream\n */\n default Stream<T> union(List<Stream<T>> streams) {\n return union(null, streams);\n }\n\n /**\n * Merge multiple streams together.\n *\n * @param name name of the union operator\n * @param streams other streams\n * @return merged stream\n */\n Stream<T> union(@Nullable String name, List<Stream<T>> streams);\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param stateUpdate update (accumulation) function for the state the output is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n null, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate);\n }\n\n /**\n * Transform this stream using stateful processing without time-sorting.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param stateUpdate update (accumulation) function for the state the output is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKeyUnsorted(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKeyUnsorted(\n null, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate);\n }\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n name, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate, true);\n }\n\n /**\n * Transform this stream using stateful processing without time-sorting.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @return the statefully reduced stream\n */\n default <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKeyUnsorted(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate) {\n\n return reduceValueStateByKey(\n name, keyExtractor, valueExtractor, initialState, outputFn, stateUpdate, false);\n }\n\n /**\n * Transform this stream using stateful processing.\n *\n * @param <K> type of key\n * @param <S> type of value state\n * @param <V> type of intermediate value\n * @param <O> type of output value\n * @param name optional name of the stateful operation\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialState closure providing initial state value for key\n * @param stateUpdate update (accumulation) function for the state\n * @param outputFn function for outputting values (when function returns {@code null} the output\n * is discarded\n * @param sorted {@code true} if the input to the state update function should be time-sorted\n * @return the statefully reduced stream\n */\n <K, S, V, O> Stream<Pair<K, O>> reduceValueStateByKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<S> initialState,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<O> outputFn,\n @ClosureParams(value = FromString.class, options = \"S, V\") Closure<S> stateUpdate,\n boolean sorted);\n\n /**\n * Transform this stream to another stream by applying combining transform in global window\n * emitting results after each element added. That means that the following holds: * the new\n * stream will have exactly the same number of elements as the original stream minus late elements\n * dropped * streaming semantics need to define allowed lateness, which will incur real time\n * processing delay * batch semantics use sort per key\n *\n * @param <K> key type\n * @param <V> value type\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialValue closure providing initial value of state for key\n * @param combiner combiner of values to final value\n * @return the integrated stream\n */\n default <K, V> Stream<Pair<K, V>> integratePerKey(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<V> initialValue,\n @ClosureParams(value = FromString.class, options = \"V,V\") Closure<V> combiner) {\n\n return integratePerKey(null, keyExtractor, valueExtractor, initialValue, combiner);\n }\n\n /**\n * Transform this stream to another stream by applying combining transform in global window\n * emitting results after each element added. That means that the following holds: * the new\n * stream will have exactly the same number of elements as the original stream minus late elements\n * dropped * streaming semantics need to define allowed lateness, which will incur real time\n * processing delay * batch semantics use sort per key\n *\n * @param <K> key type\n * @param <V> value type\n * @param name optional name of the transform\n * @param keyExtractor extractor of key\n * @param valueExtractor extractor of value\n * @param initialValue closure providing initial value of state for key\n * @param combiner combiner of values to final value\n * @return the integrated stream\n */\n <K, V> Stream<Pair<K, V>> integratePerKey(\n @Nullable String name,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<V> initialValue,\n @ClosureParams(value = FromString.class, options = \"V,V\") Closure<V> combiner);\n\n /** Reshuffle the stream via random key. */\n default Stream<T> reshuffle() {\n return reshuffle(null);\n }\n\n /**\n * Reshuffle the stream via random key.\n *\n * @param name name of the transform\n */\n @SuppressWarnings(\"unchecked\")\n Stream<T> reshuffle(@Nullable String name);\n}", "@Test\n public void testGetNextCulturalObjectByStreamMethod() {\n Multimap<Long, CulturalObject> multimap = ArrayListMultimap.create();\n IntStream.range(0, NUMBER_OF_EXECUTIONS).parallel().forEach(i -> {{\n CulturalObject co = cardService.getNextCulturalObject(null);\n if (co != null) {\n multimap.put(co.getId(), co);\n }\n }});\n\n double[] sizes = multimap.keySet().stream().mapToDouble(aLong -> (double) multimap.get(aLong).size()).toArray();\n StandardDeviation std = new StandardDeviation();\n assertThat(std.evaluate(sizes), is(closeTo(0.0, 0.5)));\n\n }", "public static void main(String...args){\n\t\tIntStream.rangeClosed(2, 5).forEach(x -> System.out.println(x));\n\t\tSystem.out.println(IntStream.rangeClosed(2, 5).forEach(x -> System.out.println(x)));\n\t}", "private void collectUsingStream() {\n List<Person> persons =\n Arrays.asList(\n new Person(\"Max\", 18),\n new Person(\"Vicky\", 23),\n new Person(\"Ron\", 23),\n new Person(\"Harry\", 12));\n\n List<Person> filtered = persons\n .stream()\n .filter(p -> p.name.startsWith(\"H\"))\n .collect(Collectors.toList());\n\n System.out.println(\"collectUsingStream Filtered: \" + filtered);\n }", "public RunIterator iterator() {\n // Replace the following line with your solution.\n return new RunIterator(runs.getFirst());\n // You'll want to construct a new RunIterator, but first you'll need to\n // write a constructor in the RunIterator class.\n \n \n }", "@Test\n public void test1() {\n final Car car = Car.create(Car::new);\n final List<Car> cars = Collections.singletonList(car);\n final Car police = Car.create(Car::new);\n cars.forEach(police::follow);\n cars.forEach(c -> police.follow(c)); // 等价于写成lambda表达式的形式\n }", "@Test\r\n void filterMethod() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream().filter(t -> t.getType() == Transaction.GROCERY);\r\n\t\tList<TransactionBean> afterStreamList = transactionBeanStream.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(0).getType());\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(1).getType());\r\n }", "public static void main(String[] args) {\n ArrayList<Double> myList = new ArrayList<>();\n\n myList.add(7.0);\n myList.add(18.0);\n myList.add(10.0);\n myList.add(24.0);\n myList.add(17.0);\n myList.add(5.0);\n\n double productOfSqrRoots = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b),\n (a, b) -> a * b\n );\n\n System.out.println(\"Product of square roots: \" + productOfSqrRoots);\n\n\n // This won't work. !! VERY HARD TO UNDERSTAND !!\n // In this version of reduce(), ACCUMULATOR and COMBINER function are one and the same.\n // This results in an error because when TWO PARTIAL RESULTS ARE COMBINED, THEIR SQUARE\n // ROOTS ARE MULTIPLIED TOGETHER RATHER THAN THE PARTIAL RESULTS, themselves.\n double productOfSqrRoots2 = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b)\n );\n\n System.out.println(productOfSqrRoots2);\n }", "@Test\n public void flatMapExample() {\n final Book book1 = new Book(\"Java EE 7 Essentials\", 2013, Arrays.asList(\"Arun Gupta\"));\n final Book book2 = new Book(\"Algorithms\", 2011, Arrays.asList(\"Robert Sedgewick\", \"Kevin Wayne\"));\n final Book book3 = new Book(\"Clean code\", 2014, Arrays.asList(\"Robert Martin\"));\n final List<String> expectedAuthors =\n Arrays.asList(\"Arun Gupta\", \"Robert Sedgewick\", \"Kevin Wayne\", \"Robert Martin\");\n\n final List<Book> javaBooks = Stream.of(book1, book2, book3).collect(Collectors.toList());\n\n final List<String> actualAuthors = javaBooks.stream()\n .flatMap(book -> book.getAuthors().stream())\n .distinct()\n .collect(Collectors.toList());\n\n Assert.assertEquals(actualAuthors.size(), expectedAuthors.size());\n actualAuthors.forEach(book -> Assert.assertTrue(expectedAuthors.contains(book)));\n }", "default Stream<E> parallelStream() {\n return StreamSupport.stream(spliterator(), true);\n }", "public static void calculateSumViaStreams(List<Integer> numbers){\n int sum = numbers.stream()\n .filter(x -> x % 2 == 0)\n .map(y -> y * y)\n .reduce(0, (x, y) -> x + y);\n\n System.out.println(sum);\n }", "protected List<QueryIterator> nextStage(List<Binding> bindingsCouldBeParent) {\n\n\t\tList<QueryIterator> allIterators = new ArrayList<QueryIterator>();\n\t\tString filterType = (String) getExecContext().getContext().get(\n\t\t\t\tConstants.FILTER_TYPE);\n\t\t// creating filter Ops.\n\t\tList<Op> filterOps = QCFilter.substitute(opService,\n\t\t\t\tbindingsCouldBeParent, filterType);\n\t\tfor (int i = 0; i < filterOps.size(); i++) {\n\t\t\t// creating numeric binding list using numeric op\n\t\t\tList<Binding> bindingList = ServiceBound\n\t\t\t\t\t.exec((OpService) filterOps.get(i), getExecContext()\n\t\t\t\t\t\t\t.getContext());\n\n\t\t\t// logger.debug(\"Binding pairs is beginning to be generated...\");\n\t\t\t// long before = System.currentTimeMillis();\n\t\t\t// find binding pairs\n\t\t\tList<BindingPair> bindingPairs = generateBindingPairs(bindingList,\n\t\t\t\t\tbindingsCouldBeParent, opService.getService(),\n\t\t\t\t\t((OpService) filterOps.get(i)).getService());\n\t\t\t// long after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat.format(\n\t\t\t// \"Binding pairs has been generated in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// logger.debug(\"Binding pairs is beginning to be intersected...\");\n\t\t\t// before = System.currentTimeMillis();\n\t\t\t// intersect bindings and their parents contained in binding pairs\n\t\t\tbindingPairs = intersectBindingPairs(bindingPairs);\n\t\t\t// after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat\n\t\t\t// .format(\"Binding pairs has been intersected in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// logger.debug(\"Query iterators is beginning to be generated...\");\n\t\t\t// before = System.currentTimeMillis();\n\t\t\t// make query iterators using binding pairs\n\t\t\tList<QueryIterator> queryIterators = generateQueryIterators(bindingPairs);\n\t\t\t// after = System.currentTimeMillis();\n\t\t\t// logger.debug(MessageFormat\n\t\t\t// .format(\"Query iterators has been generated in \\\"{0}\\\" miliseconds\",\n\t\t\t// after - before));\n\n\t\t\t// reverse iterators\n\t\t\tCollections.reverse(queryIterators);\n\t\t\tallIterators.addAll(queryIterators);\n\t\t}\n\t\treturn allIterators;\n\t}", "@Test\n public void terminalOperations() {\n // count\n assertEquals(4, TestData.getBooks().stream().count());\n // findFirst\n Optional<Book> gangOfFour = TestData.getBooks().stream()\n .filter(book -> book.name.equals(\"Design Patterns: Elements of Reusable Object-Oriented Software\"))\n .findFirst();\n assertTrue(gangOfFour.isPresent());\n assertEquals(4, gangOfFour.get().authors.size());\n }", "public static void main(String[] args) {\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\tlist.add(1);\n\t\tlist.add(2);\n\t\tlist.add(3);\n\t\tlist.add(7);\n\t\t\n\t\tIterator<Integer> it = list.iterator();\n\t\t\n\t\twhile(it.hasNext()) {\n\t\t\tint element = it.next();\n\t\t\tSystem.out.println(\"element \"+element);\n\t\t\tif(element == 1) {\n\t\t\t\tit.remove();\n\t\t\t\tit.next();\n\t\t\t\tit.remove();\n\t\t\t\t//it.forEachRemaining(Filter::add);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t//System.out.println(\"list \"+list);\n\t\t\n\t\t//forEach\n\t//\tlist.forEach(System.out::println);\n\t\t//list.forEach(Filter::filter);\n\t//\tlist.forEach(new Filter());\n\t}", "public static void flatMap() {\n List<String> data = Utils.getData();\n Observable.fromIterable(data)\n .flatMap((item) -> Observable.just(item + \" flat mapped\").repeat(2)\n ).subscribe(new MyObserver<>());\n }", "public static void main(String[] args) {\n CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();\n CopyOnWriteArraySet<String> set = new CopyOnWriteArraySet<>();\n\n for (int i = 0; i < 30; i++) {\n new Thread(()->{\n set.add(UUID.randomUUID().toString());\n System.out.println(set);\n },String.valueOf(i)).start();\n }\n\n /**\n * 1.故障现象\n * java.util.ConcurrentModificationException\n * 2.导致原因\n * 并发争抢修改导致\n * 3.解决方案\n * List<String> list = new Vector<>();\n * List<String> list = Collections.synchronizedList(new ArrayList<>());\n * CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();\n * 4.优化建议\n * CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();\n */\n }", "@Test(groups= {\"Regression\"})\n\tpublic static void javaStream() throws IOException {\n\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Program Files\\\\Selenium\\\\Drivers\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tProperties prop = new Properties();\n\t\tFileInputStream fis = new FileInputStream(\"C:\\\\Users\\\\Somas\\\\My WorkSpace\\\\Recap\\\\src\\\\data.properties\");\n\t\tprop.load(fis);\n\t\t\n\t\tdriver.get(prop.getProperty(\"url\"));\n\t\tString[] required = {\"Cheese\", \"Rice\", \"Wheat\"};\n\t\tString filter = \"Rice\";\n\t\tList<String> reqList = Arrays.asList(required);\n\t\treqList = reqList.stream().sorted().collect(Collectors.toList());\n\t\t\n\t\tdriver.findElement(By.xpath(\"//tr/th[1]\")).click();\n\t\t\n\t\treqList.forEach(item-> {\n\t\t\t\n\t\t\tList<WebElement> reqVeg = new ArrayList<WebElement>();\n\t\t\tdo {\n\t\t\t\tList<WebElement> vege = driver.findElements(By.xpath(\"//tr/td[1]\"));\n\t\t\t\treqVeg = vege.stream().filter(s -> s.getText().equalsIgnoreCase(item)).collect(Collectors.toList());\n\t\t\t\tif (reqVeg.size() < 1) {\t\t\t\n\t\t\t\t\tdriver.findElement(By.xpath(\"//a[@aria-label='Next']\")).click();\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t} while (reqVeg.size() < 1);\n\t\t\treqVeg.stream().map(s -> getPrice(s)).forEach(s -> System.out.println(\"The Price of \" + item + \" is \" + s));\n\t\t\tdriver.findElement(By.xpath(\"//a[@aria-label='First']\")).click();\n\t\t\ttry {\n\t\t\t\tThread.sleep(2000);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\t\t\t\n\t\t});\n\t\t\n\t\t\n\t\tdriver.findElement(By.id(\"search-field\")).sendKeys(filter);\n\t\tList<WebElement> vege = driver.findElements(By.xpath(\"//tr/td[1]\"));\n\t\tList<WebElement> filterList = vege.stream().filter(s-> s.getText().contains(filter)).collect(Collectors.toList());\n\n\t\tif (vege.size()==filterList.size())\n\t\t{\n\t\t\tSystem.out.println(\"Filter is working Fine\");\n\t\t}else\n\t\t\tSystem.out.println(\"Filter is NOT working\");\n\t\t\n\t\tFileOutputStream fos = new FileOutputStream(\"C:\\\\Users\\\\Somas\\\\My WorkSpace\\\\Recap\\\\src\\\\data.properties\");\n\t\tprop.store(fos, null);\n\t\tprop.setProperty(\"browser\", \"Chrome\");\n\t\t\n\t\tdriver.quit();\n\t}", "private void verifyNumbersPrimeWitStream(){\n\t\tList<Integer> primeList = IntStream.range(2, Integer.MAX_VALUE)\n\t\t\t\t.filter(n -> isPrime(n))\n\t\t\t\t.limit(primes.length)\n\t\t\t\t.boxed()\n\t\t\t\t.collect(Collectors.toList());\n\t\tprimes = primeList.stream().mapToInt(i->i).toArray();\n\t}", "public static void main(String[] args) {\n\t\tList<Integer> numberList = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);\r\n\t\t\t\t\r\n\t\t//Stampa il doppio di ogni numero\r\n\t\tSystem.out.println(\"Stampa il doppio di ogni numero\");\r\n\t\tnumberList.forEach((i)-> System.out.print(numberList.get(i-1)*2+ \" \"));\r\n\t\t\r\n\t\t//Recupera lo stream a partire dalla lista\r\n\t\tStream<Integer> streamInt = numberList.stream();\r\n\t\tSystem.out.println(\"\");\r\n\t\t//Stampa il quadrato di ogni numero\r\n\t\tSystem.out.println(\"Stampa il quadrato di ogni numero\");\r\n\t\tstreamInt.forEach((p)->System.out.print(p*p +\" \"));\r\n\t\t\r\n\t\t//Stampa i numeri Dispari\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.println(\"Stampa i numeri Dispari\");\t\t\r\n\t\tnumberList.stream().filter(n -> n % 2 != 0).forEach(System.out::print); \t\t\r\n\t\tSystem.out.println(\"\");\r\n\t\tnumberList.stream().filter(n -> n % 2 != 0).forEach((n)->System.out.print(n));\r\n\t\t\r\n\t\tSystem.out.println();\r\n\t\tList<String> stringList = Arrays.asList(\"a1\", \"c6\", \"a2\", \"b1\", \"c2\", \"c1\", \"c5\", \"c3\");\r\n\t\tstringList.stream().filter(s -> s.startsWith(\"c\")).map(String::toUpperCase).sorted().forEach(System.out::println);\r\n\t\t\t\t\r\n\t\t//Stampa le donne della mia famiglia\r\n\t\tMyFamily myFamily = new MyFamily();\r\n\t\tSystem.out.println(\"Stampa le donne della mia famiglia\");\r\n\t\tmyFamily.getMyFamily().stream().filter((p)->p.isFemale()).forEach((p)->System.out.println(p));\r\n\t\t\r\n\t\t//Stampa gli uomini della mia famiglia\r\n\t\tSystem.out.println(\"Stampa gli uomini della mia famiglia\");\r\n\t\tmyFamily.getMyFamily().stream().filter((p)->!p.isFemale()).forEach((p)->System.out.println(p));\r\n\t\t\r\n\t\t//Calcola la somma dell'eta dei maschi della mia famiglia\r\n\t\tInteger anniMaschi = myFamily.getMyFamily().stream().filter((p)->!p.isFemale()).map((p)->p.getEta()).reduce(0, Integer::sum);\r\n\t\t\r\n\t\t//These reduction operations can run safely in parallel with almost no modification:\r\n\t\tInteger anniMaschi2 = myFamily.getMyFamily().stream().parallel().filter((p)->!p.isFemale()).map((p)->p.getEta()).reduce(0, Integer::sum);\t\t\r\n\t\tSystem.out.println(\"Anni Totali dei maschi...\" + anniMaschi);\r\n\t\tSystem.out.println(\"Anni Totali dei maschi...\" + anniMaschi2);\r\n\r\n\t\t\r\n\t}", "@Test\n public void shouldDownloadAllUrls() throws Exception {\n //given\n Flowable<URL> urls = Urls.all();\n\n\n/* final Flowable<String> htmls2 = urls\n .flatMap(url -> UrlDownloader.download(url)\n .subscribeOn(Schedulers.io())); //ojo al subscribeon\n\n\n Flowable<Pair<String, String>> gel = urls.map(s -> {\n final String[] html = {\"\"};\n final String[] gelote = new String[1];\n\n UrlDownloader.download(s).subscribe(value -> {\n gelote[0] = value;\n });\n String result = gelote[0];\n return Pair.of(s.toURI().toString(), gelote[0]);\n });\n\n //\n Flowable<String> htmls =\n urls.flatMap(url -> UrlDownloader.download(url).subscribeOn(Schedulers.io()));\n\n Flowable<Pair<URL, Flowable<String>>> broken = urls.map(url -> Pair.of(url, UrlDownloader.download(url)));\n\n urls.flatMap(url -> {\n final Flowable<String> html = UrlDownloader.download(url);\n Flowable<Pair<URL,String>> var =html.map(htmlstr->Pair.of(url,htmlstr));\n return var;\n });\n\n */\n Flowable<Pair<URI, String>> pairs = urls.flatMap(url -> UrlDownloader.download(url)\n .subscribeOn(Schedulers.io())\n .map(htmlstr -> Pair.of(toUri(url), htmlstr)));\n\n\n //no confundir toMap con map\n //Maybe: 0..1 values\n //Single 1 value\n //Completable 0 values\n //Flowable 0...infinity\n //single es un stream que solo tiene un valor\n Single<Map<URI, String>> var = pairs.toMap((Pair<URI, String> pair) -> pair.getLeft(), (Pair<URI, String> pair) -> pair.getRight());\n Map<URI, String> bodies2 = var.blockingGet();\n Map<URI, String> bodies = pairs.toMap(Pair::getLeft, Pair::getRight).blockingGet();\n TimeUnit.SECONDS.sleep(20);\n\n //when\n //WARNING: URL key in HashMap is a bad idea here\n\n //No mutar el mapa del suscribe , en vez de eso, use toMap()\n //con confundir con el operador map()\n //blocking*\n\n\n /*Map<URI, String> bodies = new HashMap<>();*/\n\n/*\n gel.toMap(s.getLeft());\n gel.subscribe(System.out::println);\n*/\n\n //then\n assertThat(bodies).hasSize(996);\n assertThat(bodies).containsEntry(new URI(\"http://www.twitter.com\"), \"<html>www.twitter.com</html>\");\n assertThat(bodies).containsEntry(new URI(\"http://www.aol.com\"), \"<html>www.aol.com</html>\");\n assertThat(bodies).containsEntry(new URI(\"http://www.mozilla.org\"), \"<html>www.mozilla.org</html>\");\n }", "@Test\n public void example() {\n Func1<Integer, Observable<Integer>> db1 = param -> Observable.range(1, param);\n\n // ws-kald som funktion der returner en Observable\n Func1<Integer, Observable<Integer>> ws1 = param -> Observable.just(param);\n\n // ws-kald som funktion der returner en Observable\n Func1<Integer, Observable<Integer>> ws2 = param -> Observable.just(param);\n\n // ws-kald som funktion der returner en Observable\n Func1<List<Integer>, Observable<Object>> ws3 = param -> Observable.empty();\n\n db1.call(5)\n .flatMap(row -> {\n if (row % 2 == 0) {\n // ws2 kaldes kun, hvis ws1 ikke var tom\n return Observable.concat(ws1.call(row), ws2.call(row)).first();\n } else {\n // ws1 og ws2 udføres parallelt\n return Observable.zip(ws1.call(10), ws2.call(20), (e1, e2) -> e1 + e2);\n }\n })\n .onErrorResumeNext(err -> {\n log.error(\"error - resume next \", err);\n return Observable.empty();\n })\n .doOnNext(n -> log.info(\"element {}\", n))\n // samle/batche 2 elementer i en liste (men højst vente 1 sekund)\n .buffer(2, 1, TimeUnit.SECONDS)\n // output sendes til en ws3\n .flatMap(ws3)\n // subscribe starter kæden\n .subscribe();\n }", "protected class_496 method_1607() {\n if (this.field_934.field_183 != this.field_938) {\n throw new ConcurrentModificationException();\n } else {\n class_496 var1 = this.field_937;\n if (var1 == null) {\n throw new NoSuchElementException(\"No next() entry in the iteration\");\n } else {\n class_496[] var2 = this.field_934.field_181;\n int var3 = this.field_935;\n\n class_496 var4;\n for(var4 = var1.field_903; var4 == null && var3 > 0; var4 = var2[var3]) {\n --var3;\n }\n\n this.field_937 = var4;\n this.field_935 = var3;\n this.field_936 = var1;\n return var1;\n }\n }\n }", "protected abstract List<List<SearchResults>> processStream();", "private void collectorOperationInStream() {\n List<Person> persons =\n Arrays.asList(\n new Person(\"Max\", 18),\n new Person(\"Vicky\", 23),\n new Person(\"Ron\", 23),\n new Person(\"Harry\", 12));\n\n Map<Integer, List<Person>> personsByAge = persons\n .stream()\n .collect(Collectors.groupingBy(p -> p.age));\n\n personsByAge.forEach((age, p) -> System.out.format(\"age %s: %s\\n\", age, p));\n\n Double averageAge = persons\n .stream()\n .collect(Collectors.averagingInt(p -> p.age));\n\n System.out.println(\"Average-Age: \" + averageAge);\n\n IntSummaryStatistics ageSummary = persons.stream()\n .collect(Collectors.summarizingInt(p -> p.age));\n\n System.out.println(\"Summarizing Age: \" + ageSummary);\n\n String phrase = persons\n .stream()\n .filter(p -> p.age >= 18)\n .map(p -> p.name)\n .collect(Collectors.joining(\" and \", \"In Germany \", \" are of legal age.\"));\n\n System.out.println(\"Collectors Joining: \" + phrase);\n\n Map<Integer, String> map = persons\n .stream()\n .collect(Collectors.toMap(\n p -> p.age,\n p -> p.name,\n (name1, name2) -> name1 + \";\" + name2));\n\n System.out.println(\"Collectors Mapping: \" + map);\n\n\n Collector<Person, StringJoiner, String> personNameCollector =\n Collector.of(\n () -> new StringJoiner(\" | \"), // supplier\n (j, p) -> j.add(p.name.toUpperCase()), // accumulator\n StringJoiner::merge, // combiner\n StringJoiner::toString); // finisher\n\n String names = persons\n .stream()\n .collect(personNameCollector);\n\n System.out.println(\"Collectors Collect: \" + names);\n\n\n List<Integer> IntegerRange = IntStream.range(51, 54).boxed().collect(Collectors.toList());\n List<Integer> IntegerRange1 = IntStream.range(51, 54).mapToObj(i-> i).collect(Collectors.toList());\n System.out.println(\"InStream to List : \"+IntegerRange);\n System.out.println(\"InStream to List : \"+IntegerRange1);\n }", "public static void main(String[] args) {\n BiFunction<String, Integer, Usuario> factory = Usuario::new;\n Usuario user1 = factory.apply(\"Henrique Schumaker\", 50);\n Usuario user2 = factory.apply(\"Humberto Schumaker\", 120);\n Usuario user3 = factory.apply(\"Hugo Schumaker\", 190);\n Usuario user4 = factory.apply(\"Hudson Schumaker\", 10);\n Usuario user5 = factory.apply(\"Gabriel Schumaker\", 90);\n Usuario user6 = factory.apply(\"Nikolas Schumaker\", 290);\n Usuario user7 = factory.apply(\"Elisabeth Schumaker\", 195);\n Usuario user8 = factory.apply(\"Eliza Schumaker\", 1000);\n Usuario user9 = factory.apply(\"Marcos Schumaker\", 100);\n Usuario user10 = factory.apply(\"Wilson Schumaker\", 1300);\n \n List<Usuario> usuarios = Arrays.asList(user1, user2, user3, user4, user5,\n user6, user7, user8, user9, user10);\n \n //filtra usuarios com + de 100 pontos\n usuarios.stream().filter(u -> u.getPontos() >100);\n \n //imprime todos\n usuarios.forEach(System.out::println);\n \n /*\n Por que na saída apareceu todos, sendo que eles não tem mais de 100 pontos? \n Ele não aplicou o ltro na lista de usuários! Isso porque o método filter, assim como os \n demais métodos da interface Stream, não alteram os elementos do stream original! É muito \n importante saber que o Stream não tem efeito colateral sobre a coleção que o originou.\n */\n }", "private Stream<String> processLines(Stream<String> lines) {\n System.out.println(\"processlines\" + Thread.currentThread().getName());\n Pattern pattern = Pattern.compile(\"<a href=\\\"([^\\\\/]*\\\\/)\\\".*\");\n\n return lines\n .map(s -> pattern.matcher(s))\n .filter(m -> m.matches())\n .map(m -> m.group(1))\n .filter(s -> !\"../\".equals(s));\n }", "Foreach createForeach();", "public static void main(String[] args) {\n\t\tList<List<String>> activityList = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(activityList);\n\n\t\t// Flat Map Demo\n\t\tList<String> activityList1 = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.flatMap(List::stream).collect(Collectors.toList());\n\t\tSystem.out.println(activityList1);\n\n\t\t// Distinct element form stream\n\t\tList<String> distictActivityList = Student.getListOfStudents().stream().map(Student::getActivities)\n\t\t\t\t.flatMap(List::stream).distinct().collect(Collectors.toList());\n\t\tSystem.out.println(distictActivityList);\n\n\t\t// Count number of elements after manipulation\n\t\tlong activityCount = Student.getListOfStudents().stream().map(Student::getActivities).flatMap(List::stream)\n\t\t\t\t.distinct().count();\n\t\tSystem.out.println(\"Activity Count : \" + activityCount);\n\n\t\t// Comparator Traditional\n\t\tList<String> studentNameList = Student.getListOfStudents().stream().map(Student::getStudentName)\n\t\t\t\t.sorted((i1, i2) -> i1.compareTo(i2)).collect(Collectors.toList());\n\t\tSystem.out.println(studentNameList);\n\n\t\t// Comparator Using Stream\n\t\tList<String> studentNamecomparator = Student.getListOfStudents().stream()\n\t\t\t\t.sorted(Comparator.comparing(Student::getStudentName)).map(Student::getStudentName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(studentNamecomparator);\n\n\t\t// Comparator Using Stream\n\t\tList<String> studentNamecomparatorReverseOrder = Student.getListOfStudents().stream()\n\t\t\t\t.sorted(Comparator.comparing(Student::getStudentName).reversed()).map(Student::getStudentName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tSystem.out.println(studentNamecomparatorReverseOrder);\n\n\t}", "public static <T> List<T> reduceToSingleList1(Stream<List<T>> stream) {\n List<T> list = stream.flatMap(x -> x.stream())\n .collect(Collectors.toList());\n //.collect(Collectors.toCollection(ArrayList<T>::new));\n return list;\n }", "@Test\n public void collectAndReduce() {\n List<Book> collectedWithReduce = TestData.getBooks().stream()\n .reduce(new ArrayList<Book>(),\n (list, book) -> {\n // Separate list created to avoid mutating elements in the list\n // -> works also with parallel streams\n ArrayList<Book> result = new ArrayList<Book>(list);\n result.add(book);\n return result;\n }, (list1, list2) -> {\n ArrayList<Book> result = new ArrayList<Book>(list1);\n result.addAll(list2);\n return result;\n });\n assertEquals(4, collectedWithReduce.size());\n\n // Collect to list \"manually\" with collect\n // R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator,\n // BiConsumer<R, R> combiner)\n List<Book> books = TestData.getBooks().stream()\n .collect(ArrayList::new, ArrayList::add, ArrayList::addAll);\n assertEquals(4, books.size());\n\n // And the typical way using utilities from java.util.stream.Collectors\n assertEquals(4,\n TestData.getBooks().stream().collect(Collectors.toList()).size());\n }", "private static void backPressureChallenge() {\n\t\tObservable.range(1, 1000000)\n\t\t//below map will run in sequential\n\t\t//since sequential it has to complete whole task then only it can allow consumer to start\n\t\t\t.map(item -> {\n\t\t\t\tSystem.out.println(\"Produced item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t\treturn item;\n\t\t\t})\n\t\t\t.observeOn(Schedulers.io())\n\t\t\t//.subscribeOn(Schedulers.io())//with this whole pipelein runs in seprate thread paralleley\n\t\t\t//below will run in concurrent\n\t\t\t.subscribe(item ->{\n\t\t\t\t//mimcing slowness\n\t\t\t\tThreadUtil.sleep(300);\n\t\t\t\tSystem.out.println(\"Consumed item \"+item +\" using thread \"+Thread.currentThread().getName());\n\t\t\t})\n\t\t\t\n\t\t\t;\n\t\t\n\t\t//since running in async we need to sleep\n\t\tThreadUtil.sleep(10000000);\n\t}", "private int[] removeDuplicatesWithStream() {\n\t return Arrays.stream(randomIntegers).distinct().toArray();\n\t}", "@Test\r\n void convertStreamBean2ListMethod() {\r\n\t\tStream<TransactionBean> transactionBeanStream = transactions.stream();\r\n\t\tList<TransactionBean> afterStreamList = transactionBeanStream.peek(System.out::println).collect(Collectors.toCollection(ArrayList::new));\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(0).getType());\r\n\t\tassertSame(\"wrong type\", Transaction.Test, afterStreamList.get(1).getType());\r\n\t\tassertSame(\"wrong type\", Transaction.GROCERY, afterStreamList.get(2).getType());\r\n }", "public Iterable<V> iterateToLatest(AbstractSemanticVersion oldVersion) {\n Iterator<V> listIterator = versions.iterator();\n\n //forward to oldVerison\n while (listIterator.hasNext()) {\n if (listIterator.next().compareTo(oldVersion) == 0) {\n break;\n }\n }\n return () -> listIterator;\n }", "public static void main(String[] args) {\n String[] words = {\"Hello\", \"World\"};\n List<String> uniqueChars = Arrays.stream(words)\n .map(word -> word.split(\"\"))\n .flatMap(Arrays::stream)\n .distinct()\n .collect(toList());\n\n System.out.println(uniqueChars);\n\n // Compute the squares of all numbers in a list\n List<Integer> squares = Stream.of(1, 2, 3, 4, 5)\n .map(n -> n * n)\n .collect(toList());\n\n System.out.println(squares);\n\n // Given two lists of numbers, return all pairs of numbers, keeping only those whose sum is\n // divisible by 3\n List<Integer> numbers1 = Arrays.asList(1, 2, 3);\n List<Integer> numbers2 = Arrays.asList(3, 4);\n\n List<String> pairs = numbers1.stream()\n .flatMap(i -> numbers2.stream()\n .filter(j -> (i + j) % 3 == 0)\n .map(j -> new int[] {i, j}))\n .map(Arrays::toString)\n .collect(toList());\n\n System.out.println(pairs);\n\n // Print a message only if a list of numbers contains an even number\n if (Stream.of(1, 2, 3, 5, 7).anyMatch(n -> n % 2 == 0)) {\n System.out.println(\"This list contains an even number\");\n } else {\n System.out.println(\"This list contains no even numbers\");\n }\n\n // Print a message only if a list of numbers contains all odd number\n if (Stream.of(1, 3, 5, 7).allMatch(n -> n % 2 == 1)) {\n System.out.println(\"This list contains all odd numbers\");\n } else {\n System.out.println(\"This list contains an even number\");\n }\n\n if (Stream.of(1, 3, 5, 7).noneMatch(n -> n % 2 == 0)) {\n System.out.println(\"This list contains all odd numbers\");\n } else {\n System.out.println(\"This list contains an even number\");\n }\n\n // Find any even number in a list of numbers\n // (findAny can return different results than findFirst with a parallel stream)\n Stream.of(1, 2, 3, 4, 5, 6, 7)\n .parallel()\n .filter(n -> n % 2 == 0)\n .findAny()\n .ifPresent(System.out::println);\n\n\n // Find the first even number in a list of numbers\n Stream.of(1, 2, 3, 4, 5, 6, 7)\n .parallel()\n .filter(n -> n % 2 == 0)\n .findFirst()\n .ifPresent(System.out::println);\n\n // REDUCE!!!!!\n // Using reduce to combine elements of a stream into a single value with having to mutate\n // external state in a non-threadsafe way\n\n // The non-functional way (not thread-safe; uses mutable accumulator anti-pattern)\n int sum = 0;\n for (int n : Arrays.asList(1, 2, 3, 4, 5)) {\n sum += n;\n }\n System.out.println(\"SUM: \" + sum);\n\n // The functional way (thread-safe)\n sum = Arrays.asList(1, 2, 3, 4, 5).stream()\n .parallel()\n .reduce(0, Integer::sum); // Integer::sum has type sig of (n1, n2) -> n1 + n2\n\n System.out.println(\"SUM: \" + sum);\n\n // Better yet from a readability perspective would be:\n sum = IntStream.of(1, 2, 3, 4, 5)\n .parallel()\n .sum();\n\n System.out.println(\"SUM: \" + sum);\n\n // Count number of objects in stream (threadsafe)\n // NOTE: You could also just use Arrays.asList(1, 2).stream().count()\n long count = Arrays.asList(1, 2, 3, 4, 5).stream()\n .parallel()\n .map(i -> 1L) // convert each number in the stream to a 1\n .reduce(0L, Long::sum); // Long::sum has type sig of (n1, n2) -> n1 + n2\n\n System.out.println(\"COUNT: \" + count);\n\n // Better yet from a readability perspective would be:\n count = IntStream.of(1, 2, 3, 4, 5)\n .parallel()\n .count();\n\n System.out.println(\"COUNT: \" + count);\n\n // Generate 7 Attributes using 4d6 and drop lowest (discard if less than 8), and keep only the\n // top 6; if at least one attribute is not 15 or greater, reroll them all.\n\n List<Integer> attributes;\n do {\n attributes = IntStream.range(0, 7)\n .map(i -> {\n int roll;\n do {\n roll = IntStream.range(0, 4)\n .map(j -> Die.D6.roll())\n .sorted()\n .skip(1)\n .sum();\n } while (roll < 8);\n return roll;\n })\n .sorted()\n .skip(1)\n .boxed()\n // Use collectingAndThen to perform a final transformation on the result\n .collect(collectingAndThen(toList(), Collections::unmodifiableList));\n\n } while (attributes.stream()\n .mapToInt(attr -> attr)\n .max().getAsInt() < 15);\n\n System.out.println(attributes.stream()\n .map(String::valueOf)\n .collect(joining(\", \", \"Attributes: \", \"\")));\n\n // Stream.iterate(T seed, UnaryOperator<T> f) --> generate unbounded stream\n // Generate first 20 numbers of Fibonacci series using Stream.iterate\n // Generate an unbounded stream of fibonacci tuples -> (0, 1), (1, 2), (2, 3), (3, 5)\n // then map each tuple to a single number by extracting the first element\n String series = Stream\n .iterate(new int[] {0, 1}, fibTuple -> new int[] {fibTuple[1], fibTuple[0] + fibTuple[1]})\n .parallel()\n .limit(20)\n .map(fibTuple -> fibTuple[0])\n .map(String::valueOf)\n .collect(Collectors.joining(\", \", \"(\", \")\"));\n\n System.out.println(\"Fibonacci: \" + series);\n\n // Stream.generate(Supplier<T> s) --> roll 4d6 drop lowest\n int roll = IntStream.generate(Die.D6::roll)\n .parallel()\n .limit(4)\n .sorted()\n .skip(1)\n .sum();\n System.out.println(\"Roll: \" + roll);\n\n\n }", "public static void main(String[] args) {\n MyLinkedList<Integer> list = new MyLinkedList<>();\n IntStream.rangeClosed(1, 10).forEach(i -> list.add(i));\n\n\n // for (int i = 0; i < list.size(); i++) {\n // System.out.println(list.get(i));\n // }\n\n list.add(4, 100);\n\n list.add(0, 200);\n list.add(0, 300);\n list.add(0, 400);\n list.add(0, 500);\n\n for (int i = 0; i < list.size(); i++) {\n System.out.println(list.get(i));\n }\n\n list.remove(0);\n list.remove(0);\n list.remove(2);\n\n list.remove();\n list.remove();\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i) + \" \");\n }\n System.out.println();\n }", "private void exercise1() {\n final List<String> list = asList(\n \"The\", \"Quick\", \"BROWN\", \"Fox\", \"Jumped\", \"Over\", \"The\", \"LAZY\", \"DOG\");\n\n final List<String> lowerList = list.stream()\n .map(String::toLowerCase)\n .peek(System.out::println)\n .collect(toList());\n }", "private int factorialUsingStreams(int n) {\r\n return IntStream.rangeClosed(1, n).reduce(1, (int x, int y) -> x * y);\r\n }", "public static void main(String[] args) \r\n{\n\tList<Integer> numbers = Arrays.asList(3, 2, 2, 3, 7, 3, 5);\r\n\r\n\t//get list of unique squares\r\n\tList<Integer> squaresList = numbers.stream().map( i -> i*i).distinct().collect(Collectors.toList());\r\n\tSystem.out.println(squaresList);\r\n//\tList<String>strings = Arrays.asList(\"abc\", \"\", \"bc\", \"efg\", \"abcd\",\"\", \"jkl\");\r\n//\r\n//\t//get count of empty string\r\n////\tlong count = strings.stream().filter(string -> string.isEmpty()).count();\r\n////\tSystem.out.println(count);\r\n//\tList<String>strings1 = Arrays.asList(\"abc\", \"\", \"bc\", \"efg\", \"abcd\",\"\", \"jkl\");\r\n//\tList<String> filtered = strings1.stream().filter(string -> !string.isEmpty()).collect(Collectors.toList());\r\n//\r\n//\tSystem.out.println(\"Filtered List: \" + filtered);\r\n//\tString mergedString = strings1.stream().filter(string -> !string.isEmpty()).collect(Collectors.joining());\r\n//\tSystem.out.println(\"Merged String: \" + mergedString);\r\n//}\r\n}", "private static void groupImperative() {\n\n Map<Currency, List<FinancialTransaction>> transactionsByCurrency = new EnumMap<>(Currency.class);\n for (FinancialTransaction transaction : transactions) {\n Currency currency = transaction.getCurrency();\n transactionsByCurrency.computeIfAbsent(currency, k -> new ArrayList<>()).add(transaction);\n }\n log.info(\"{}\", transactionsByCurrency);\n // Java 7.\n log.info(\"Handling a Map<Currency, List<FinancialTransaction>> via a for-loop (Java 7).\");\n for (Map.Entry<Currency, List<FinancialTransaction>> entry : transactionsByCurrency.entrySet()) {\n log.info(\"****************************************************\");\n log.info(\"Currency: {}\", entry.getKey());\n // Ooops: Java 8 :-) So in this way I can do everything with one of the values, being a List<String>.\n entry.getValue().stream()\n .forEach(financialTransaction -> log.info(\"Name: {}\", financialTransaction));\n }\n }", "@Override\n protected void runOneIteration() throws Exception {\n }", "public static void main(String[] args) throws Exception{\n\t\tCollection<Integer> values = new ArrayList<>();\r\n\t\tvalues.add(3);\r\n\t\tvalues.add(77);\r\n\t\tvalues.add(5);\r\n\t\t//to fetch the values we have tow ways 1. Iterator 2.enhacned for loop\r\n\t\t/*Iterator i = values.iterator();\r\n\t\twhile(i.hasNext()){\r\n\t\t\tSystem.out.println(i.next());\r\n\t\t}\r\n\t\t*/\r\n\t\t//or for each\r\n\t\tvalues.forEach(i->System.out.println(i));\r\n\r\n\r\n\r\n\r\n\t}", "@Test\n public void test8() throws Throwable {\n\t\tfr.inria.diversify.sosie.logger.LogWriter.writeTestStart(1354,\"org.apache.commons.collections4.IteratorUtilsEvoSuiteTest.test8\");\n Integer[] integerArray0 = new Integer[9];\n ResettableListIterator<Integer> resettableListIterator0 = IteratorUtils.arrayListIterator(integerArray0);\n assertEquals(true, resettableListIterator0.hasNext());\n }", "@Test\n public void loopTest() {\n Object[] resultActual = new Object[] {this.work1, this.work2, this.work3, this.work4};\n Object[] resultExpected = new Object[4];\n int index = 0;\n while (this.it.hasNext()) {\n resultExpected[index++] = this.it.next();\n }\n assertThat(resultActual, is(resultExpected));\n }", "public static void main(String[] args) {\n Stream<String> streamOfArray = Stream.of(\"A\", \"B\", \"C\");\r\n streamOfArray.forEach(System.out::println);\r\n System.out.println(\"------\");\r\n \r\n // CREATING STREAM FROM EXISTING ARRAY :\r\n String[] arr = new String[] { \"A\", \"B\", \"C\" };\r\n Stream<String> streamOfArrayFull = Arrays.stream(arr);\r\n streamOfArrayFull.forEach(System.out::println);\r\n \r\n System.out.println(\"-----\");\r\n // CREATING STREAM FROM A PART OF AN ARRAY :\r\n Stream<String> streamOfArrayPart = Arrays.stream(arr, 1, 2);\r\n streamOfArrayPart.forEach(System.out::println);\r\n\t}", "public void flatMap() {\r\n\t\tList<Integer> list = Arrays.asList(1, 2, 3, 7, 8, 9, 10);\r\n\t\tList<Integer> list2 = Arrays.asList(4, 5, 6);\r\n\t\tObservable.just(list, list2).flatMap(x -> Observable.from(x)).map(x -> x * 10).subscribe(integerSubscribe());\r\n\t}", "public abstract Stream<E> streamBlockwise();", "public static void runExercise6() {//distinct() - will remove duplicates\n // List <?> stAges = students.stream().map(student -> student.getAge()).sorted().collect(Collectors.toList());\n // System.out.println(\"\" + stAges);\n // students.stream().map(student -> student.getAge()).sorted().forEach(age -> {\n // System.out.println(age);\n // students.stream().filter(stud -> age == stud.getAge()).forEach(st -> System.out.println(age + \" \" + st.getName()));\n \n // });\n students.stream().map(student -> student.getAge()).sorted().distinct().forEach(age -> {\n students.stream().filter(stud -> stud.getAge() == age).forEach(name -> System.out.println(name.getName()));\n });\n \n \n }", "public static void main(String[] args) {\n\n\t\t\n\t\tSet list = new HashSet();\n\t\tlist.add(\"1\");\n\t\tlist.add(\"2\");\n\t\tlist.add(\"3\");\n\t\tlist.add(\"1\");\n\t\tlist.forEach(System.out::print); // 123\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n//\t\tStream<String> stream = Arrays.stream(new String[] {\"a\",\"b\",\"c\"});\n//\t\tString output = stream.filter(s->{ \n//\t\t\tif(s.compareTo(\"abc\") > 0)\n//\t\t\t\treturn true;\n//\t\t})\n//\t\t.peek(System.out::print)\n//\t\t.collect(Collectorsjoining()); //Compilation Fail Here\n//\t\tSystem.out.println(output);\n\t\t\n\t\t\n\t\tVector obj = new Vector(4,2);\n\t\tobj.addElement(new Integer(3));\n\t\tobj.addElement(new Integer(2));\n\t\tobj.addElement(new Integer(5));\n\t\tSystem.out.println(obj.capacity());\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n//\t\tSet _set = new HashSet();\n\t\tSet _set = new TreeSet();\n\t\t_set.add(new Integer(2));\n\t\t_set.add(new Integer(1));\n\t\tSystem.out.println(_set); // [1,2] TreeSet will Guaranteed Sorting\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t\t\n\t\tSet<Integer> ss = new HashSet<Integer>();\n\t\tInteger i1 = 45;\n\t\tInteger i2 = 46;\n\t\tss.add(i1);\n\t\tss.add(i1);\n\t\tss.add(i2);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\tss.remove(i1);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\ti2=47;\n\t\tss.remove(i2);\n\t\tSystem.out.print(ss.size() + \" \");\n\t\t\n\t\tSystem.out.println(\"---------------------------\");\n\t}", "@SuppressWarnings(\"unchecked\")\n private Collection<Node> visitSequence(Object... rawNodes) {\n List<Collection<Node>> nodes = new ArrayList<>();\n for (Object node : rawNodes) {\n if (node == null) {\n nodes.add(Collections.<Node>emptySet());\n } else if (node instanceof Node) {\n nodes.add(Collections.<Node>singleton((Node) node));\n } else {\n nodes.add((Collection<Node>)node);\n }\n }\n\n Collection<Node> fst = nodes.get(nodes.size() - 1);\n for (int i = nodes.size() - 2; i >= 0; --i) {\n for (Node node : reverse(nodes.get(i))) {\n Node ffst = visitWithSuccessors(node, fst);\n if (ffst != null) fst = Collections.<Node>singleton(ffst);\n }\n }\n return fst;\n }", "public Stream<Integer> streamAllValuesOfby() {\n return rawStreamAllValuesOfby(emptyArray());\n }", "public static void main(String[] args) {\n Vector<String> list = new Vector<>();\n list.add(\"tom\");\n list.add(\"ricky\");\n list.add(\"bob\");\n foreach(list);\n enumeration(list);\n iterator(list);\n System.out.println(testFunction(\"abc\",s ->s.toUpperCase()));\n String[] strings = testSupplier(3,( ) -> {\n String[] ss = new String[3];\n for (int i = 0;i < ss.length;i++){\n ss[i] = ((int)(Math.random() * 100) + \"\");\n }return ss;\n });\n for (String s : strings){\n System.out.println(s);\n }\n }", "public static void main(String[] args) {\n IntStream myIntStream = IntStream.range(1, 20);\n List<Integer> sortedReverse = myIntStream.boxed().sorted((a, b) -> b - a).collect(Collectors.toList());\n System.out.println(sortedReverse);\n Collections.sort(sortedReverse, Comparator.comparing(a-> a.intValue()));\n Collections.sort(sortedReverse, Integer::compareTo);\n\n String[] stringArray = { \"Barbara\", \"James\", \"Mary\",\n \"John\", \"Patricia\", \"Robert\", \"Michael\", \"Linda\" };\n\n\n Arrays.sort(stringArray, String::compareToIgnoreCase);\n\n System.out.println(IntStream.range(1, 5).sum());\n System.out.println(IntStream.range(1, 5).reduce(100,(a,b)-> a+b));\n\n // Local Date and Time\n LocalDateTime timePoint = LocalDateTime.now( ); // The current date and time\n LocalDate myLocalDate = LocalDate.now().plusDays(10);\n\n List<String> myList = List.of(stringArray);\n long count = myList.parallelStream()\n .peek(a-> System.out.println(\"Processing \"+a + \" \"+a.length()))\n .map(a-> a.toUpperCase())\n .peek(a-> System.out.println(\"Upper Case: \"+a))\n .map(a-> a.length())\n .filter(a-> a>5)\n .count();\n\n System.out.println(\"Name length greater than 5 is: \"+ count);\n\n }", "public static void main(String[] args) {\n\t\tList<Integer> numbers = List.of(10,1, 2, 3, 3, 4, 4, 5, 6, 7, 8, 9);\n\t\tList<String> courses = List.of(\"Spring\", \"Spring Boot\", \"API\" , \"Microservices\",\"AWS\", \"PCF\",\"Azure\", \"Docker\", \"Kubernetes\");\n\n//01 distinct numbers in stream\t\t\n\t\tnumbers.stream().distinct()\n\t\t .forEach(System.out::println);\n\t\t System.out.println(\"---------------------------------------\");\n\n//02 sorted\n\t\tnumbers.stream().sorted()\n .forEach(System.out::println);\n\t\t System.out.println(\"---------------------------------------\");\n\t\t\n//03 sort Strings-- by default is natural order\t\t\n\t\tcourses.stream().sorted()\n .forEach(System.out::println);\n\t\t System.out.println(\"---------------------------------------\");\n\n//04 sort Strings- user Comparator--- sort(Comparator)\n\t/*Comparators can be passed to a sort method (such as Collections.\n\t * sort or Arrays.sort) to allow precise control over the sort order. \n\t */\t\n\t \tcourses.stream().sorted(Comparator.naturalOrder())\n\t .forEach(System.out::println);\n\t \t System.out.println(\"---------------------------------------\");\n\t \t\n//05 Comparator calss -Sort string reverse order \n\t \tcourses.stream().sorted(Comparator.reverseOrder())\n .forEach(System.out::println);\n\t \t System.out.println(\"---------------------------------------\");\n\t \t\n//06 Comparator(lambda)-Sort String- based on string length\n\t \t//05 Sort string reverse order \n\t \tcourses.stream().sorted(Comparator.comparing(x->x.length())).forEach(System.out::println);\n\t \t System.out.println(\"---------------------------------------\");\n\n//07 sort string - based on last char\t \t\n\t\tcourses.stream().\n\t\tsorted((str1, str2) -> \n\t\tCharacter.compare(str1.charAt(str1.length() - 1),str2.charAt(str2.length() - 1)))\n . forEach(System.out::println);\n\t\t System.out.println(\"---------------------------------------\");\n\t\n//08 sort Book list based on year of release\n\t\tBook book=new Book();\n\t\t Book.bookList.stream()\n\t\t\t\t .sorted(Comparator.comparingLong(Book::getReleaseYear)).forEach(System.out::println);\n\t\t \n\t\t // .sorted((o1, o2) -> (o1 - o2.getSalary())).collect(Collectors.toList());\n\t\t //.out.println(bookSortedList1);\n\t\t System.out.println(\"---------------------------------------\");\n\t\t \n\t\t \n //08 sort Book list based on year of release\n\t\t \n\t\t Book.bookList.stream()\n\t\t\t\t .sorted((o1, o2) -> (o1.getReleaseYear() - o2.getReleaseYear())).forEach(System.out::println); \n\n\t\t \n//Reversed order\n\t\t\t Comparator<Book> comparator_reversed_order = Comparator.comparingLong(Book::getReleaseYear).reversed();\n\t\t\tBook.bookList.stream()\n\t\t\t\t\t .sorted(comparator_reversed_order).forEach(System.out::println); \n//\t\tBook book=new Book();\n\t\t\t Book.bookList.stream()\n\t\t\t\t .sorted(Comparator.comparingLong(Book::getReleaseYear)).forEach(System.out::println);\n\t\n//\tIf this Comparator considers two elements equal, i.e. compare(a, b) == 0, other is used to determine the order. \n//comparator1.thenComparing(comparator2)\n\t\t\t \n\t}", "default EagerFutureStream<U> doOnEach(final Function<U, U> fn) {\n\t\treturn (EagerFutureStream) FutureStream.super.doOnEach(fn);\n\t}", "public IntStream parallelStream() {\n\treturn StreamSupport.intStream(spliterator(), true);\n }", "private void streamWithSimpleForEach() {\n List<String> myList = Arrays.asList(\"a1\", \"a2\", \"b1\", \"c2\", \"c1\");\n\n myList.stream()\n .filter(s -> s.startsWith(\"c\")).map(String::toUpperCase)\n .sorted()\n .forEach(System.out::println);\n }", "public void runOneIteration() {\n // Update user latent vectors\n\n //IntStream.range(0,userCount).peek(i->update_user(i)).forEach(j->{});\n\n for (int u = 0; u < userCount; u ++) {\n update_user(u);\n }\n\n // Update item latent vectors\n for (int i = 0; i < itemCount; i ++) {\n update_item(i);\n }\n }" ]
[ "0.5849304", "0.56762105", "0.5462653", "0.53202146", "0.53010595", "0.5299101", "0.5255665", "0.5216695", "0.51905334", "0.5186407", "0.51787055", "0.51520747", "0.5150641", "0.51087105", "0.50883406", "0.5085601", "0.507664", "0.50708747", "0.5069025", "0.50550735", "0.5050513", "0.50135905", "0.50123733", "0.50099933", "0.5002716", "0.49969673", "0.49922", "0.4988318", "0.4986602", "0.49555266", "0.49424353", "0.49351087", "0.4931868", "0.49270847", "0.49194053", "0.49182975", "0.48893186", "0.48877114", "0.4887088", "0.48682168", "0.4861645", "0.48403507", "0.48068815", "0.47933185", "0.47848904", "0.47779095", "0.47770044", "0.477366", "0.47512013", "0.47508523", "0.475063", "0.47484976", "0.47483066", "0.47480273", "0.4731601", "0.4730857", "0.4720745", "0.47166052", "0.47057098", "0.47006792", "0.46950996", "0.46792594", "0.4671121", "0.4667046", "0.46587753", "0.46472564", "0.46377093", "0.46370664", "0.46301258", "0.46251205", "0.46234497", "0.46217752", "0.4619409", "0.46172872", "0.46089897", "0.4602154", "0.46006012", "0.45994768", "0.45994666", "0.45806074", "0.45799693", "0.45753282", "0.45726302", "0.45614585", "0.45600754", "0.4554169", "0.45498568", "0.454354", "0.45431232", "0.45399553", "0.45365337", "0.45348436", "0.45310146", "0.45281738", "0.45269817", "0.4526428", "0.45217875", "0.4514913", "0.45131865", "0.45085195", "0.4506339" ]
0.0
-1
TODO Autogenerated method stub
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.getWriter().append("Served at: ").append(request.getContextPath()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
run your code here
@Override public void run() { welcome(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n // The run method should be overridden by the subordinate class. Please\n // see the example applications provided for more details.\n }", "void run();", "void run();", "void run();", "void run();", "public static void run() {\n }", "public static void run(){}", "public void run() {\n\t\t\t\t\n\t\t\t}", "public void run() {\n }", "public void run() {\n\n }", "boolean run();", "public void run() {\n\t\t\r\n\t}", "public void run() {\n\t\t\r\n\t}", "public void run()\n\t\t{\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t\n\t}", "public void run() {\n\n\t}", "public void run() {\n\n\t}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "public static void main(String [] args){\n SmartPhone sm = new SmartPhone();\n sm.run();\n // System.out.println(sm.run());\n }", "public void run() {\n }", "protected void run() {\r\n\t\t//\r\n\t}", "public static void main(String[] args) {\n\t\trun();\n\t\t//runTest();\n\n\t}", "public void run();", "public void run();", "public void run();", "public void run();", "public void run();", "@Override\r\n\tpublic void run(String... args) throws Exception {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t// write your code here\n }", "@Override\n\tpublic void run(String... args) {\n\t}", "default void run() {\n\t\tSystem.out.println(\"run\");\r\n\t}", "public static void main(String[] args) {\r\n\r\n run();\r\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "public void run(String... args) throws Exception {\n\t\t\t\t\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\tSystem.out.println(\"hi deepali\");\n\t\t\n\t}", "public void run(){\n\t}", "@Override\r\n\tabstract public void run();", "public void intialRun() {\n }", "public void runProgram() {\n\n\t\tSystem.out.println(\"\\n Time to start the machine... \\n\");\n\n\t\tpress.pressOlive(myOlives);\n\n\t\tSystem.out.println(\"Total amount of oil \" + press.getTotalOil());\n\t}", "public void run(String... args) throws Exception {\n\t\t\n\t}", "public static void main(String[] args) {\n \n \n \n\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "public static void main(String[]args) {\n\t\n\t\t\n\n}", "@Override\r\n\tpublic void run() {\n\t\tSystem.out.println(\"i am runing\");\r\n\t}", "public static void main(String[] args) {\n \n \n \n \n }", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "public static void main(String[] args) {\n Run();\n }", "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}", "public static void main(String[] args) throws Exception {\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t}", "public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}", "public void run() {\n }", "public void run() {\n }", "public void run() {\n }", "public static void main(String[] args) {\n\t\t\n\t\t\t\n\n\t}", "public void run() {\n }", "public static void main(String[] args) {\n \r\n\t}", "public void run() {\n\t\t\t\t\t\t}", "public void run()\r\n\t{\r\n\t\t\r\n\t}", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "public static void main() {\n \n }", "public void _run() {\n String[] args = (String[])tEnv.getObjRelation(\"ARGS\");\n\n log.println(\"Running with arguments:\");\n for (int i=0; i< args.length; i++)\n log.println(\"#\" + i + \": \" + args[i]);\n\n oObj.run(args);\n\n tRes.tested(\"run()\", true);\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t \t\n\t \t\n\t }", "public static void main(String[] args) {\n // TODO code application logic here\n // some testing? or actually we can't run it standalone??\n }", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String... args) {\n doMain().run();\n }", "public static void main(String[] args){\n\t\t\n\t\t\n \t}", "public abstract void run() ;", "public static void main(String[] args) {\r\n// Use for unit testing\r\n }", "public void run() {\n }", "@Override\n\t\tpublic void run() {\n\n\t\t}", "public static void main(String[] args) {\t\n\t\t\n\t}", "public static void main(String[] args) {\n // PUT YOUR TEST CODE HERE\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\n experiment();\n }", "@Override\n public void run(String... args) throws Exception {\n run();\n }", "public abstract void run();", "public abstract void run();", "public abstract void run();", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\n\t}", "public static void main(String[] args){\n\t\t\r\n\t}", "public void runProgram()\n\t{\n\t\tintro();\n\t\tfindLength();\n\t\tguessLetter();\n\t\tguessName();\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\r\n\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}" ]
[ "0.69217724", "0.6828046", "0.6828046", "0.6828046", "0.6828046", "0.6804079", "0.676466", "0.6728249", "0.6694506", "0.66911227", "0.6680654", "0.66577697", "0.66577697", "0.6626904", "0.66032785", "0.66032785", "0.66032785", "0.6597371", "0.6549879", "0.6549879", "0.65483963", "0.6535591", "0.65285736", "0.651817", "0.65147877", "0.65140855", "0.65140855", "0.65140855", "0.65140855", "0.65140855", "0.6499231", "0.6494823", "0.64828205", "0.64729816", "0.6466148", "0.646386", "0.646386", "0.646155", "0.64611006", "0.64547986", "0.64534104", "0.6438868", "0.64346176", "0.6425704", "0.642254", "0.64171326", "0.64122325", "0.64122325", "0.64107406", "0.64063627", "0.63952565", "0.6393432", "0.63825196", "0.637501", "0.6373393", "0.6372201", "0.63689905", "0.63684976", "0.63684976", "0.63684976", "0.6364013", "0.63624936", "0.63599545", "0.63549495", "0.6350886", "0.63398236", "0.6338651", "0.63374406", "0.6329427", "0.6329427", "0.6315188", "0.6315155", "0.6311176", "0.6311176", "0.6311176", "0.6308922", "0.6308922", "0.6308922", "0.6308922", "0.63046646", "0.6300937", "0.62959903", "0.6290457", "0.62841994", "0.6281398", "0.6280585", "0.6275579", "0.62730247", "0.62730247", "0.62730247", "0.62730247", "0.6271669", "0.6270429", "0.6261134", "0.6261134", "0.6261134", "0.6260886", "0.6257788", "0.62573457", "0.62542474", "0.62475455" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface paramDialogInterface, int paramInt) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
run your code here
@Override public void run() { finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n // The run method should be overridden by the subordinate class. Please\n // see the example applications provided for more details.\n }", "void run();", "void run();", "void run();", "void run();", "public static void run() {\n }", "public static void run(){}", "public void run() {\n\t\t\t\t\n\t\t\t}", "public void run() {\n }", "public void run() {\n\n }", "boolean run();", "public void run() {\n\t\t\r\n\t}", "public void run() {\n\t\t\r\n\t}", "public void run()\n\t\t{\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t}", "public void run() {\n\t\t\n\t}", "public void run() {\n\n\t}", "public void run() {\n\n\t}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "public static void main(String [] args){\n SmartPhone sm = new SmartPhone();\n sm.run();\n // System.out.println(sm.run());\n }", "public void run() {\n }", "protected void run() {\r\n\t\t//\r\n\t}", "public static void main(String[] args) {\n\t\trun();\n\t\t//runTest();\n\n\t}", "public void run();", "public void run();", "public void run();", "public void run();", "public void run();", "@Override\r\n\tpublic void run(String... args) throws Exception {\n\t\t\r\n\t}", "public static void main(String[] args) {\n\t// write your code here\n }", "@Override\n\tpublic void run(String... args) {\n\t}", "default void run() {\n\t\tSystem.out.println(\"run\");\r\n\t}", "public static void main(String[] args) {\r\n\r\n run();\r\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "public void run(String... args) throws Exception {\n\t\t\t\t\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "@Override\n\tpublic void run() {\n\t\tSystem.out.println(\"hi deepali\");\n\t\t\n\t}", "public void run(){\n\t}", "@Override\r\n\tabstract public void run();", "public void intialRun() {\n }", "public void runProgram() {\n\n\t\tSystem.out.println(\"\\n Time to start the machine... \\n\");\n\n\t\tpress.pressOlive(myOlives);\n\n\t\tSystem.out.println(\"Total amount of oil \" + press.getTotalOil());\n\t}", "public void run(String... args) throws Exception {\n\t\t\n\t}", "public static void main(String[] args) {\n \n \n \n\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "public static void main(String[]args) {\n\t\n\t\t\n\n}", "@Override\r\n\tpublic void run() {\n\t\tSystem.out.println(\"i am runing\");\r\n\t}", "public static void main(String[] args) {\n \n \n \n \n }", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "public static void main(String[] args) {\n Run();\n }", "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}", "public static void main(String[] args) throws Exception {\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t}", "public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}", "public void run() {\n }", "public void run() {\n }", "public void run() {\n }", "public static void main(String[] args) {\n\t\t\n\t\t\t\n\n\t}", "public void run() {\n }", "public static void main(String[] args) {\n \r\n\t}", "public void run() {\n\t\t\t\t\t\t}", "public void run()\r\n\t{\r\n\t\t\r\n\t}", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "public static void main() {\n \n }", "public void _run() {\n String[] args = (String[])tEnv.getObjRelation(\"ARGS\");\n\n log.println(\"Running with arguments:\");\n for (int i=0; i< args.length; i++)\n log.println(\"#\" + i + \": \" + args[i]);\n\n oObj.run(args);\n\n tRes.tested(\"run()\", true);\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t \t\n\t \t\n\t }", "public static void main(String[] args) {\n // TODO code application logic here\n // some testing? or actually we can't run it standalone??\n }", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "@Override\n\tpublic void run(String... args) throws Exception {\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "public static void main(String... args) {\n doMain().run();\n }", "public static void main(String[] args){\n\t\t\n\t\t\n \t}", "public abstract void run() ;", "public static void main(String[] args) {\r\n// Use for unit testing\r\n }", "public void run() {\n }", "@Override\n\t\tpublic void run() {\n\n\t\t}", "public static void main(String[] args) {\t\n\t\t\n\t}", "public static void main(String[] args) {\n // PUT YOUR TEST CODE HERE\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n\n experiment();\n }", "@Override\n public void run(String... args) throws Exception {\n run();\n }", "public abstract void run();", "public abstract void run();", "public abstract void run();", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\n\t}", "public static void main(String[] args){\n\t\t\r\n\t}", "public void runProgram()\n\t{\n\t\tintro();\n\t\tfindLength();\n\t\tguessLetter();\n\t\tguessName();\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\r\n\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}" ]
[ "0.69217724", "0.6828046", "0.6828046", "0.6828046", "0.6828046", "0.6804079", "0.676466", "0.6728249", "0.6694506", "0.66911227", "0.6680654", "0.66577697", "0.66577697", "0.6626904", "0.66032785", "0.66032785", "0.66032785", "0.6597371", "0.6549879", "0.6549879", "0.65483963", "0.6535591", "0.65285736", "0.651817", "0.65147877", "0.65140855", "0.65140855", "0.65140855", "0.65140855", "0.65140855", "0.6499231", "0.6494823", "0.64828205", "0.64729816", "0.6466148", "0.646386", "0.646386", "0.646155", "0.64611006", "0.64547986", "0.64534104", "0.6438868", "0.64346176", "0.6425704", "0.642254", "0.64171326", "0.64122325", "0.64122325", "0.64107406", "0.64063627", "0.63952565", "0.6393432", "0.63825196", "0.637501", "0.6373393", "0.6372201", "0.63689905", "0.63684976", "0.63684976", "0.63684976", "0.6364013", "0.63624936", "0.63599545", "0.63549495", "0.6350886", "0.63398236", "0.6338651", "0.63374406", "0.6329427", "0.6329427", "0.6315188", "0.6315155", "0.6311176", "0.6311176", "0.6311176", "0.6308922", "0.6308922", "0.6308922", "0.6308922", "0.63046646", "0.6300937", "0.62959903", "0.6290457", "0.62841994", "0.6281398", "0.6280585", "0.6275579", "0.62730247", "0.62730247", "0.62730247", "0.62730247", "0.6271669", "0.6270429", "0.6261134", "0.6261134", "0.6261134", "0.6260886", "0.6257788", "0.62573457", "0.62542474", "0.62475455" ]
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}", "public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}", "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}", "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}", "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}", "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }" ]
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.68621665", "0.68621665", "0.68621665", "0.68515885", "0.68467957", "0.68194443", "0.6817494", "0.6813087", "0.6813087", "0.6812847", "0.6805774", "0.6801204", "0.6797914", "0.6791314", "0.6789091", "0.67883503", "0.6783642", "0.6759701", "0.6757412", "0.67478645", "0.6744127", "0.6744127", "0.67411774", "0.6740183", "0.6726017", "0.6723245", "0.67226785", "0.67226785", "0.67208904", "0.67113477", "0.67079866", "0.6704564", "0.6699229", "0.66989094", "0.6696622", "0.66952467", "0.66865396", "0.6683476", "0.6683476", "0.6682188", "0.6681209", "0.6678941", "0.66772443", "0.6667702", "0.66673946", "0.666246", "0.6657578", "0.6657578", "0.6657578", "0.6656586", "0.66544783", "0.66544783", "0.66544783", "0.66524047", "0.6651954", "0.6650132", "0.66487855", "0.6647077", "0.66467404", "0.6646615", "0.66464466", "0.66449624", "0.6644209", "0.6643461", "0.6643005", "0.66421187", "0.6638628", "0.6634786", "0.6633529", "0.6632049", "0.6632049", "0.6632049", "0.66315657", "0.6628954", "0.66281766", "0.6627182", "0.6626297", "0.6624309", "0.6619582", "0.6618876", "0.6618876" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface paramDialogInterface, int paramInt) { Intent myIntent = new Intent( Settings.ACTION_LOCATION_SOURCE_SETTINGS); context.startActivity(myIntent); //get gps }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface paramDialogInterface, int paramInt) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface paramDialogInterface, int paramInt) { Intent myIntent = new Intent( Settings.ACTION_WIFI_SETTINGS); context.startActivity(myIntent); //get gps }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface paramDialogInterface, int paramInt) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
All location settings are satisfied. The client can initialize location requests here. ...
@SuppressLint("MissingPermission") @Override public void onSuccess(LocationSettingsResponse locationSettingsResponse) { Toast.makeText(getBaseContext(), "All Location Settings are satisfied herer The client can initialize", Toast.LENGTH_SHORT).show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void SetupLocationRequest()\n {\n mLocationRequest = LocationRequest.create()\n .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY)\n .setInterval(30 * 1000) // 30 seconds, in milliseconds\n .setFastestInterval(1 * 1000); // 1 second, in milliseconds\n }", "private void initLocation() {\n BaiduLocationHolder.OPTION.setLocationMode(LocationClientOption.LocationMode.Hight_Accuracy);\n //可选,默认高精度,设置定位模式,高精度,低功耗,仅设备\n\n BaiduLocationHolder.OPTION.setCoorType(\"bd09ll\");\n //可选,默认gcj02,设置返回的定位结果坐标系\n\n int span = 1000;\n BaiduLocationHolder.OPTION.setScanSpan(span);\n //可选,默认0,即仅定位一次,设置发起定位请求的间隔需要大于等于1000ms才是有效的\n\n BaiduLocationHolder.OPTION.setIsNeedAddress(true);\n //可选,设置是否需要地址信息,默认不需要\n\n BaiduLocationHolder.OPTION.setOpenGps(true);\n //可选,默认false,设置是否使用gps\n\n BaiduLocationHolder.OPTION.setLocationNotify(true);\n //可选,默认false,设置是否当GPS有效时按照1S/1次频率输出GPS结果\n\n BaiduLocationHolder.OPTION.setIsNeedLocationDescribe(true);\n //可选,默认false,设置是否需要位置语义化结果,可以在BDLocation.getLocationDescribe里得到,结果类似于“在北京天安门附近”\n\n BaiduLocationHolder.OPTION.setIsNeedLocationPoiList(true);\n //可选,默认false,设置是否需要POI结果,可以在BDLocation.getPoiList里得到\n\n BaiduLocationHolder.OPTION.setIgnoreKillProcess(false);\n //可选,默认true,定位SDK内部是一个SERVICE,并放到了独立进程,设置是否在stop的时候杀死这个进程,默认不杀死\n\n BaiduLocationHolder.OPTION.SetIgnoreCacheException(false);\n //可选,默认false,设置是否收集CRASH信息,默认收集\n\n BaiduLocationHolder.OPTION.setEnableSimulateGps(false);\n //可选,默认false,设置是否需要过滤GPS仿真结果,默认需要\n\n// BaiduLocationHolder.OPTION.setWifiValidTime(5*60*1000);\n //可选,7.2版本新增能力,如果您设置了这个接口,首次启动定位时,会先判断当前WiFi是否超出有效期,超出有效期的话,会先重新扫描WiFi,然后再定位\n\n BaiduLocationHolder.CLIENT.setLocOption(BaiduLocationHolder.OPTION);\n }", "private void setLocationRequest() {\n locationRequest = new LocationRequest();\n locationRequest.setInterval(10000); // how often we ask provider for location\n locationRequest.setFastestInterval(5000); // 'steal' location from other app\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); // can pick balanced power accuracy\n }", "public void settingRequest() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(10000); // 10 seconds, in milliseconds\n mLocationRequest.setFastestInterval(1000); // 1 second, in milliseconds\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()\n .addLocationRequest(mLocationRequest);\n\n PendingResult<LocationSettingsResult> result =\n LocationServices.SettingsApi.checkLocationSettings(mGoogleApiClient,\n builder.build());\n\n result.setResultCallback(new ResultCallback<LocationSettingsResult>() {\n\n @Override\n public void onResult(@NonNull LocationSettingsResult result) {\n status = result.getStatus();\n final LocationSettingsStates state = result.getLocationSettingsStates();\n switch (status.getStatusCode()) {\n case LocationSettingsStatusCodes.SUCCESS:\n // All location settings are satisfied. The client can\n // initialize location requests here.\n getLocation();\n break;\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n // Location settings are not satisfied, but this can be fixed\n // by showing the user a dialog.\n try {\n // Show the dialog by calling startResolutionForResult(),\n // and check the result in onActivityResult().\n status.startResolutionForResult(UserCurrentLocation.this, 1000);\n } catch (IntentSender.SendIntentException e) {\n // Ignore the error.\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n // Location settings are not satisfied. However, we have no way\n // to fix the settings so we won't show the dialog.\n break;\n }\n }\n\n });\n }", "private void initializeLocation() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n Constants.PERMISSION_FINE_LOCATION);\n } else {\n createLocationRequest();\n }\n } else {\n createLocationRequest();\n }\n }", "@Override\n protected void initLocation() {\n }", "@SuppressLint(\"MissingPermission\")\n private void requestLocationUpdate() {\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest).\n addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.e(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n mFusedLocationClient.requestLocationUpdates(mLocationBalancedRequest,\n mLocationCallback, Looper.myLooper());\n\n updateLocationUI();\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.e(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n Log.e(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n updateLocationUI();\n }\n });\n\n }", "public void getLocationInfo() {\n startLocationService();\n }", "private void setupLocation() {\n\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n // Permission is not granted.\n if (ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION) &&\n ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_COARSE_LOCATION)) {\n\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n LOCATION_PERMISSION_REQUEST);\n } else {\n // Request the permission\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n LOCATION_PERMISSION_REQUEST);\n }\n } else {\n // Permission has already been granted\n }\n }", "private void initLocationData() {\n\n // init google client and request for fused location provider\n fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(context);\n\n locationRequest = new LocationRequest()\n //.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY) // GPS quality location points\n .setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY) // optimized for battery\n .setInterval(20000) // at least once every 20 seconds\n .setFastestInterval(10000); // at most once every 10 seconds\n\n locationCallback = new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n\n Point userPoint;\n if (locationResult != null) {\n // update user location\n Location lastLocation = locationResult.getLastLocation();\n userPoint = new Point(lastLocation.getLatitude(), lastLocation.getLongitude());\n // cache location\n PreferencesCache.setLastLatitude(lastLocation.getLatitude());\n PreferencesCache.setLastLongitude(lastLocation.getLongitude());\n } else {\n // get cached data\n userPoint = new Point(PreferencesCache.getLastLatitude(), PreferencesCache.getLastLongitude());\n }\n\n navigator.updateUserLocation(userPoint);\n }\n };\n }", "private synchronized void initLocation() {\n if (locationManager == null) {\n LocationManager manager =\n (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);\n\n Criteria criteriaCoarse = new Criteria();\n /* \"Coarse\" accuracy means \"no need to use GPS\".\n * Typically a gShots phone would be located in a building,\n * and GPS may not be able to acquire a location.\n * We only care about the location to determine the country,\n * so we don't need a super accurate location, cell/wifi is good enough.\n */\n criteriaCoarse.setAccuracy(Criteria.ACCURACY_COARSE);\n criteriaCoarse.setPowerRequirement(Criteria.POWER_LOW);\n String providerName =\n manager.getBestProvider(criteriaCoarse, /*enabledOnly=*/true);\n \n \n List<String> providers = manager.getAllProviders();\n for (String providerNameIter : providers) {\n try {\n LocationProvider provider = manager.getProvider(providerNameIter);\n } catch (SecurityException se) {\n // Not allowed to use this provider\n Logger.w(\"Unable to use provider \" + providerNameIter);\n continue;\n }\n Logger.i(providerNameIter + \": \" +\n (manager.isProviderEnabled(providerNameIter) ? \"enabled\" : \"disabled\"));\n }\n\n /* Make sure the provider updates its location.\n * Without this, we may get a very old location, even a\n * device powercycle may not update it.\n * {@see android.location.LocationManager.getLastKnownLocation}.\n */\n manager.requestLocationUpdates(providerName,\n /*minTime=*/0,\n /*minDistance=*/0,\n new LoggingLocationListener(),\n Looper.getMainLooper());\n locationManager = manager;\n locationProviderName = providerName;\n }\n assert locationManager != null;\n assert locationProviderName != null;\n }", "@Override\n public void onConnected(Bundle connectionHint)\n {\n if (locationHasToBeUpdated)\n {\n createLocationRequest();\n locationHasToBeUpdated = false;\n }\n }", "private void startLocationUpdates() {\n settingsClient\n .checkLocationSettings(locationSettingsRequest)\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @SuppressLint(\"MissingPermission\")\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.i(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n fusedLocationClient.requestLocationUpdates(locationRequest, locationCallback, Looper.myLooper());\n\n onLocationChange();\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(UserLocation.this, REQUEST_CODE);\n } catch (IntentSender.SendIntentException sie) {\n Log.i(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n\n Toast.makeText(UserLocation.this, errorMessage, Toast.LENGTH_LONG).show();\n }\n\n onLocationChange();\n }\n });\n }", "protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n //mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettingsRequest object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Check whether location settings are satisfied\n // https://developers.google.com/android/reference/com/google/android/gms/location/SettingsClient\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n try{\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation(),false);\n }\n },\n Looper.myLooper());\n }\n catch(SecurityException e){\n e.printStackTrace();\n }\n\n }", "private void enableLocation(){\n if(PermissionsManager.areLocationPermissionsGranted(this))\n {\n initializeLocationEngine();\n initializeLocationLayer();\n\n\n }else{\n permissionsManager = new PermissionsManager(this);\n permissionsManager.requestLocationPermissions(this);\n }\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.i(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n if (ActivityCompat.checkSelfPermission(ChooseParty.this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(ChooseParty.this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(ChooseParty.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_PERMISSIONS_REQUEST_CODE);\n }\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n mLocationCallback, Looper.myLooper());\n\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(ChooseParty.this, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n Log.i(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n Toast.makeText(ChooseParty.this, errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n }\n });\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\n .addOnSuccessListener(getActivity(), locationSettingsResponse -> {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n mLocationCallback, Looper.myLooper());\n\n updateUI();\n })\n .addOnFailureListener(getActivity(), e -> {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n try {\n // Show the dialog and check the result in onActivityResult().\n ResolvableApiException resolvable = (ResolvableApiException) e;\n MapFragment.this.startIntentSenderForResult(resolvable.getResolution().getIntentSender(),\n REQUEST_CHECK_SETTINGS, null, 0,\n 0, 0, null);\n } catch (IntentSender.SendIntentException sie) {\n //...\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Toast.makeText(MapFragment.this.getActivity(), errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n\n MapFragment.this.updateUI();\n });\n }", "public void createLocationRequest(){\n locationRequest = new LocationRequest();\n locationRequest.setInterval(1000);\n locationRequest.setFastestInterval(500);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "private void StartLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettings object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Checks if location settings are OK\n SettingsClient settingsClient = LocationServices.getSettingsClient(context);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission\n (context, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n return;\n }else {\n getFusedLocationProviderClient(context).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n// getLastLocation();\n }\n },\n Looper.myLooper());\n }\n\n }", "@SuppressLint(\"MissingPermission\")\n private void configureLocation() {\n\n locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1000, 1, (android.location.LocationListener) locationListener);\n location = locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);\n Toast.makeText(getApplicationContext(), \"net acquired\", Toast.LENGTH_LONG).show();\n }", "protected void createLocationRequest() {\n System.out.println(\"In CREATE LOCATION REQUEST\");\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(60 * 1000);\n mLocationRequest.setFastestInterval(5 * 1000);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n //mLocationRequest.setSmallestDisplacement(Utils.DISPLACEMENT);\n }", "private void getLocation() {\n\n }", "private void getLocation() {\n NimbeesLocationManager.NimbeesLocationListener mNimbeesLocationListener = new NimbeesLocationManager.NimbeesLocationListener() {\n @Override\n public void onGetCurrentLocation(Location location) {\n mLocation = location;\n setUpMap();\n }\n\n @Override\n public void onError(NimbeesException e) {\n }\n };\n NimbeesClient.getLocationManager().obtainCurrentLocation(mNimbeesLocationListener);\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n startLocationUpdates();\n }", "private void startLocationUpdates() {\r\n // Begin by checking if the device has the necessary location settings.\r\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\r\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\r\n @Override\r\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\r\n Log.i(TAG, \"All location settings are satisfied.\");\r\n\r\n if(checkPermissions()){\r\n // Launch background service - Monitor location\r\n Log.i(TAG, \"trying to start location service..\");\r\n startService(new Intent(MainActivity.this, LocationService.class));\r\n\r\n // Launch background service - Geofence\r\n if(localUser.isGeofenceEnabled()){\r\n Log.i(TAG, \"trying to start geofence service..\");\r\n startService(new Intent(MainActivity.this, GeofenceService.class));\r\n }\r\n } else{\r\n requestPermissions();\r\n }\r\n\r\n\r\n\r\n }\r\n })\r\n .addOnFailureListener(this, new OnFailureListener() {\r\n @Override\r\n public void onFailure(@NonNull Exception e) {\r\n int statusCode = ((ApiException) e).getStatusCode();\r\n switch (statusCode) {\r\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\r\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\r\n \"location settings \");\r\n try {\r\n // Show the dialog by calling startResolutionForResult(), and check the\r\n // result in onActivityResult().\r\n ResolvableApiException rae = (ResolvableApiException) e;\r\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\r\n } catch (IntentSender.SendIntentException sie) {\r\n Log.i(TAG, \"PendingIntent unable to execute request.\");\r\n }\r\n break;\r\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\r\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\r\n \"fixed here. Fix in Settings.\";\r\n Log.e(TAG, errorMessage);\r\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\r\n mRequestingLocationUpdates = false;\r\n }\r\n\r\n }\r\n });\r\n }", "public void init() {\n mLocationManager = (LocationManager) this.activity.getSystemService(Context\n .LOCATION_SERVICE);\n // checking run time location access permissions only for API version >= 23 (Marshmallow)\n if (ActivityCompat.checkSelfPermission(this.activity, Manifest.permission\n .ACCESS_FINE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED) {\n // if permission is already granted request for permissions\n // ActivityCompat.requestPermissions(\n // this.activity, new String[]{Manifest.permission\n // .ACCESS_FINE_LOCATION},\n // MY_PERMISSIONS_REQUEST_ACCESS_LOCATION);\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,\n UPDATE_INTERVAL_IN_MILLISECONDS, MIN_DISTANCE, locationListener);\n mLocationManager.addGpsStatusListener(gpsStatusListener);\n mLocationManager.addNmeaListener(nmeaListener);\n }", "public void locate()\n\t{\n\t\tlocationClient = new LocationClient(Main.activity.getApplicationContext()); // 实例化LocationClient类\n\t\t\t\t\n\t\tlocationClient.registerLocationListener(myListener); // 注册监听函数\n\t\tthis.setLocationOption();\t//设置定位参数\n\t\tlocationClient.start(); // 开始定位\n\t\tlocationClient.requestLocation();\n\t}", "private void locationRequests(){\n mFusedClient = LocationServices.getFusedLocationProviderClient(this);\n mLocationCallback = new LocationCallback(){\n @Override\n public void onLocationResult(LocationResult locationResult){\n List<Location> locationList = locationResult.getLocations();\n if(locationList.size() > 0){\n Location location = locationList.get(locationList.size() - 1);\n Log.i(TAG, \"Location: \" + location.getLatitude() + \" \" + location.getLongitude());\n mLatitude = String.valueOf(location.getLatitude());\n mLongitude = String.valueOf(location.getLongitude());\n }\n }\n };\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MILLISECONDS);\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MILLISECONDS);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M){\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mFusedClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n } else {\n getLocation();\n }\n } else {\n mFusedClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }\n }", "private void requestLocationSettingGoogleApi() {\n if (mGoogleApiClient == null || !mGoogleApiClient.isConnected()) {\n finishForResult(Locset.ResultCode.GOOGLE_API_FAILURE);\n return;\n }\n\n final LocationSettingsRequest request = new LocationSettingsRequest.Builder()\n .setAlwaysShow(true)\n .addLocationRequest(LocationRequest.create().setPriority(mPriority))\n .build();\n\n final PendingResult<LocationSettingsResult> result = LocationServices.SettingsApi.checkLocationSettings(\n mGoogleApiClient,\n request);\n\n result.setResultCallback(new ResultCallback<LocationSettingsResult>() {\n @Override\n public void onResult(@NonNull LocationSettingsResult locationSettingsResult) {\n final Status status = locationSettingsResult.getStatus();\n switch (status.getStatusCode()) {\n case LocationSettingsStatusCodes.SUCCESS:\n // All location settings are satisfied. The client can initialize location\n // requests here.\n finishForResult(Locset.ResultCode.SUCCESS);\n return;\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n // Location settings are not satisfied. But could be fixed by showing the user\n // a dialog.\n try {\n // Show the dialog by calling startResolutionForResult(),\n // and check the result in onActivityResult().\n status.startResolutionForResult(\n LocsetActivity.this,\n // An arbitrary constant to disambiguate activity results.\n REQUEST_CODE_LOCATION_SETTING);\n return;\n } catch (IntentSender.SendIntentException e) {\n // failure\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n // Location settings are not satisfied. However, we have no way to fix the\n // settings so we won't show the dialog.\n break;\n }\n finishForResult(Locset.ResultCode.LOCATION_SETTING_FAILURE);\n }\n });\n }", "public void checkForLocationSettings() {\n try {\n LocationSettingsRequest settingsRequest = new LocationSettingsRequest.Builder()\n .addLocationRequest(mLocationRequest).build();\n SettingsClient settingsClient = LocationServices.getSettingsClient(context);\n\n Task<LocationSettingsResponse> task = settingsClient\n .checkLocationSettings(settingsRequest);\n task.addOnSuccessListener(context, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n //Setting is success...\n PrintLog.d(TAG, \"LocationSettingsStatusCodes ..............: \" + locationSettingsResponse.getLocationSettingsStates());\n // All location settings are satisfied. The client can initialize location requests here\n getLastLocation();\n }\n }).addOnFailureListener(context, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n PrintLog.d(TAG, \"dialogue open settings ..............: \");\n try {\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(context, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n sie.printStackTrace();\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n Toast.makeText(context, \"Setting change is not available.Try in another device.\", Toast.LENGTH_LONG).show();\n }\n\n }\n });\n\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "public void activate() {\n if (null == mLocationClient) {\n mLocationClient = new AMapLocationClient(mContext.getApplicationContext());\n }\n // 设置定位回调监听\n mLocationClient.setLocationListener(this);\n // 初始化定位参数\n mLocationOption = new AMapLocationClientOption();\n // 设置定位模式为高精度模式,Battery_Saving为低功耗模式,Device_Sensors是仅设备模式\n mLocationOption.setLocationMode(AMapLocationMode.Hight_Accuracy);\n // 设置是否返回地址信息(默认返回地址信息)\n mLocationOption.setNeedAddress(true);\n // 设置是否只定位一次,默认为false\n mLocationOption.setOnceLocation(true);// 只定位一次\n if(mLocationOption.isOnceLocationLatest()){\n mLocationOption.setOnceLocationLatest(true);\n //设置setOnceLocationLatest(boolean b)接口为true,启动定位时SDK会返回最近3s内精度最高的一次定位结果。\n //如果设置其为true,setOnceLocation(boolean b)接口也会被设置为true,反之不会。\n }\n // 设置是否强制刷新WIFI,默认为强制刷新\n mLocationOption.setWifiActiveScan(true);\n // 设置是否允许模拟位置,默认为false,不允许模拟位置\n mLocationOption.setMockEnable(false);\n // 给定位客户端对象设置定位参数\n mLocationClient.setLocationOption(mLocationOption);\n // 启动定位\n mLocationClient.startLocation();\n }", "private void enableLoc() {\r\n if (googleApiClient == null) {\r\n googleApiClient = new GoogleApiClient.Builder(this)\r\n .addApi(LocationServices.API)\r\n .addConnectionCallbacks(new GoogleApiClient.ConnectionCallbacks() {\r\n @Override\r\n public void onConnected(Bundle bundle) {\r\n\r\n }\r\n\r\n @Override\r\n public void onConnectionSuspended(int i) {\r\n googleApiClient.connect();\r\n }\r\n })\r\n .addOnConnectionFailedListener(new GoogleApiClient.OnConnectionFailedListener() {\r\n @Override\r\n public void onConnectionFailed(ConnectionResult connectionResult) {\r\n\r\n Log.d(\"Location error\", \"Location error \" + connectionResult.getErrorCode());\r\n }\r\n }).build();\r\n googleApiClient.connect();\r\n\r\n LocationRequest locationRequest = LocationRequest.create();\r\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\r\n locationRequest.setInterval(30 * 1000);\r\n locationRequest.setFastestInterval(5 * 1000);\r\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()\r\n .addLocationRequest(locationRequest);\r\n\r\n builder.setAlwaysShow(true);\r\n\r\n PendingResult<LocationSettingsResult> result =\r\n LocationServices.SettingsApi.checkLocationSettings(googleApiClient, builder.build());\r\n result.setResultCallback(new ResultCallback<LocationSettingsResult>() {\r\n @Override\r\n public void onResult(LocationSettingsResult result) {\r\n final Status status = result.getStatus();\r\n switch (status.getStatusCode()) {\r\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\r\n try {\r\n Show the dialog by calling startResolutionForResult(),\r\n and check the result in onActivityResult().\r\n status.startResolutionForResult(Newmaps.this, REQUEST_LOCATION);\r\n } catch (IntentSender.SendIntentException e) {\r\n // Ignore the error.\r\n }\r\n break;\r\n }\r\n }\r\n });\r\n }\r\n\r\n }", "private void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n mLocationRequest = LocationRequest.create();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "private void startLocationUpdates() {\n Log.d(LOG_TAG, \"startLocationUpdates() called\");\n fusedLocationClient.requestLocationUpdates(locationRequest, locationCallback, Looper.getMainLooper());\n }", "public LocationService() {\r\n\t\tSettings settings = Settings.getInstance();\r\n\t\tthis.location = settings.getLocation();\r\n\t\tthis.ebAddress = settings.getEbAddress();\r\n\t\tthis.ebPort = settings.getEbPort();\r\n\t\tloggedIn = false;\r\n\t\tobservers = new ArrayList<IObserver>();\r\n\t\tdbAdapter = InformationStorageFactory.getStorageAdapter();\r\n\t}", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "@Override\n public void onConnected(@Nullable Bundle bundle) {\n Log.i(TAG, \"Location Services Connected\");\n requestLocationUpdates();\n }", "@SuppressWarnings(\"MissingPermission\")\n private void initializeLocationLayer(){\n locationLayerPlugin = new LocationLayerPlugin(mapView,map,locationEngine);\n locationLayerPlugin.setLocationLayerEnabled(true);\n locationLayerPlugin.setCameraMode(CameraMode.TRACKING);\n locationLayerPlugin.setRenderMode(RenderMode.COMPASS);\n\n }", "public void requestLocation() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED\n && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.INTERNET}, 12);\n }\n return;\n }\n //this line updates location\n mMap.setMyLocationEnabled(true);\n providerClient.requestLocationUpdates(locationRequest, locationCallback, getMainLooper());\n }", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n FusedLocationProviderClient mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "protected void createLocationRequest() {\n\t\tmLocationRequest = new LocationRequest();\n\t\tmLocationRequest.setInterval(UPDATE_INTERVAL);\n\t\tmLocationRequest.setFastestInterval(FATEST_INTERVAL);\n\t\tmLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\t\tmLocationRequest.setSmallestDisplacement(DISPLACEMENT);\n\t}", "@SuppressLint(\"RestrictedApi\")\n protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n }\n },\n Looper.myLooper());\n }", "protected void startLocationUpdates()\n {\n try\n {\n if (googleApiClient.isConnected())\n {\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n isRequestingLocationUpdates = true;\n }\n }\n catch (SecurityException e)\n {\n Toast.makeText(getContext(), \"Unable to get your current location!\" +\n \" Please enable the location permission in Settings > Apps \" +\n \"> Bengaluru Buses.\", Toast.LENGTH_LONG).show();\n }\n }", "protected void startLocationUpdates() {\n mLocationRequest = LocationRequest.create()\n .setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY)\n .setInterval(1000000)\n .setFastestInterval(1000000);\n // Request location updates\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, new LocationListener() {\n @Override\n public void onLocationChanged(Location location) {\n mLastLocation = location;\n }\n });\n }\n\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n ((UnifiedAppApplication) getApplication()).mFusedLocationClient = LocationServices\n .getFusedLocationProviderClient(ProjectListActivity.this);\n ((UnifiedAppApplication) getApplication()).initializeLocation();\n ((UnifiedAppApplication) getApplication()).startLocationUpdates();\n }", "protected void createLocationRequest()\n {\n errorLinearLayout.setVisibility(View.GONE);\n swipeRefreshLayout.setRefreshing(true);\n final int REQUEST_CHECK_SETTINGS = 0x1;\n locationRequest = new LocationRequest();\n locationRequest.setInterval(5000);\n locationRequest.setFastestInterval(3000);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder().addLocationRequest(locationRequest);\n PendingResult<LocationSettingsResult> result = LocationServices.SettingsApi.checkLocationSettings(googleApiClient, builder.build());\n\n result.setResultCallback(new ResultCallback<LocationSettingsResult>()\n {\n @Override\n public void onResult(@NonNull LocationSettingsResult result)\n {\n final Status status = result.getStatus();\n switch (status.getStatusCode())\n {\n case LocationSettingsStatusCodes.SUCCESS:\n if (!isRequestingLocationUpdates)\n {\n int permissionCheck = ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION);\n if (permissionCheck == PackageManager.PERMISSION_GRANTED)\n {\n startLocationUpdates();\n }\n else\n {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, LOCATION_PERMISSION_REQUEST_CODE);\n }\n }\n break;\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n\n int permissionCheck = ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION);\n if (permissionCheck == PackageManager.PERMISSION_GRANTED)\n {\n if (locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER))\n {\n if (!isRequestingLocationUpdates)\n {\n startLocationUpdates();\n }\n }\n else\n {\n try\n {\n status.startResolutionForResult(getActivity(), REQUEST_CHECK_SETTINGS);\n }\n catch (IntentSender.SendIntentException e)\n {\n Toast.makeText(getActivity(), \"Failed to enable location services! Please try again later...\", Toast.LENGTH_SHORT).show();\n }\n }\n }\n else\n {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, LOCATION_PERMISSION_REQUEST_CODE);\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n Toast.makeText(getActivity(), \"Device doesn't have a GPS! Can't locate bus stops nearby...\", Toast.LENGTH_LONG).show();\n break;\n }\n }\n });\n }", "private void configMyLocation() {\n try {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n\n FusedLocationProviderClient locationProviderClient = LocationServices.getFusedLocationProviderClient(this);\n\n locationProviderClient.getLastLocation().addOnCompleteListener(new OnCompleteListener<Location>() {\n @Override\n public void onComplete(@NonNull Task<Location> task) {\n Location location = task.getResult();\n LatLng sd = new LatLng(location.getLatitude(), location.getLongitude());\n\n mMap.addMarker(new MarkerOptions().position(sd).title(\"you are here\").icon(BitmapDescriptorFactory.defaultMarker()));\n mMap.moveCamera(CameraUpdateFactory.newLatLng(sd));\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(sd, MAP_ZOOM));\n\n model.setLongitude(location.getLatitude());\n model.setLatitude(location.getLongitude());\n }\n });\n }catch (Exception ex){\n Constant.showMessage(\"Exception\", ex.getMessage(), this);\n }\n }", "private void requestLocationUpdates(){\n if(googleApiClient.isConnected()){\n try{\n setLocationRequest();\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n } catch (SecurityException ex) {\n Log.e(TAG, \"requestLocationUpdates: no permissions\", ex);\n }\n }\n }", "private void configLoc(){\n System.out.println(\"Configuring location\");\n\n // first check for permissions\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.INTERNET}\n , 10);\n }\n return;\n }\n locationManager.requestLocationUpdates(\"gps\",5000,0,locationListener);\n }", "private void getLocationPermission() {\n Log.wtf(TAG, \"getLocationPermission() has been instantiated\");\n\n Log.d(TAG, \"getLocationPermission: getting location permissions\");\n String[] permissions = {\n FINE_LOCATION,\n COARSE_LOCATION\n };\n\n if (ContextCompat.checkSelfPermission(getActivity(), FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n if (ContextCompat.checkSelfPermission(getActivity(), COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n Log.d(TAG, \"getLocationPermission: Permission granted\");\n initMap();\n\n } else {\n Log.d(TAG, \"getLocationPermission: requesting permission\");\n requestPermissions(permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n } else {\n Log.d(TAG, \"getLocationPermission: requesting permission\");\n requestPermissions(permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n }", "protected void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n\n // Sets the desired interval for active location updates. This interval is\n // inexact.\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MILLISECONDS);\n\n // Sets the fastest rate for active location updates. This interval is exact, and your\n // application will never receive updates faster than this value.\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MILLISECONDS);\n\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n Log.d(Constants.LOCATION_REQUEST, Constants.LOCATION_REQUEST);\n }", "private void initLocation() {\n\t\tlocationManager = (LocationManager) this\n\t\t\t\t.getSystemService(Context.LOCATION_SERVICE);\n\t\t// Define a listener that responds to location updates\n\t\tnetworkLocListener = new MyLocationListener();\n\t\tgpsLocListener = new MyLocationListener();\n\n\t\tlocationProvider2 = LocationManager.NETWORK_PROVIDER;\n\t\tlocationProvider1 = LocationManager.GPS_PROVIDER;\n\n\t\tgps_enabled = false;\n\t\tnetwork_enabled = false;\n\t\t// exceptions will be thrown if provider is not permitted.\n\n\t\t// try{gps_enabled=mlocManager.isProviderEnabled(LocationManager.GPS_PROVIDER);}catch(Exception\n\t\t// ex){}\n\t\tgps_enabled = locationManager\n\t\t\t\t.isProviderEnabled(LocationManager.GPS_PROVIDER);\n\t\t// try{network_enabled=mlocManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);}catch(Exception\n\t\t// ex){}\n\t\tnetwork_enabled = locationManager\n\t\t\t\t.isProviderEnabled(LocationManager.NETWORK_PROVIDER);\n\n\t\t// don't start listeners if no provider is enabled\n\t\tif (!gps_enabled && !network_enabled) {\n\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\"Either network or GPS not enabled, please check\",\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t/*\n\t\t\t * Intent gpsOptionsIntent = new\n\t\t\t * Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS\n\t\t\t * ); startActivity(gpsOptionsIntent);\n\t\t\t */\n\t\t}\n\n\t\t// Define a listener that responds to location updates\n\t\t// LocationListener locationListener = new LocationListener() {\n\t\t// @Override\n\t\t// public void onLocationChanged(Location location) {\n\t\t// // Called when a new location is found by the network location\n\t\t// // provider.\n\t\t// if (D)\n\t\t// Log.i(TAG, \"Updating current location\");\n\t\t// Toast.makeText(getApplicationContext(),\n\t\t// \"Updating current location\", Toast.LENGTH_LONG).show();\n\t\t// }\n\t\t//\n\t\t// public void onStatusChanged(String provider, int status,\n\t\t// Bundle extras) {\n\t\t// if (D)\n\t\t// Log.i(TAG, \"status changed\");\n\t\t// }\n\t\t//\n\t\t// public void onProviderEnabled(String provider) {\n\t\t// if (D)\n\t\t// Log.i(TAG, \"location enabled\");\n\t\t// }\n\t\t//\n\t\t// public void onProviderDisabled(String provider) {\n\t\t// if (D)\n\t\t// Log.i(TAG, \"Location disabled\");\n\t\t// }\n\t\t// };\n\n\t\tif (network_enabled) {\n\t\t\tlocationManager.requestLocationUpdates(\n\t\t\t\t\tLocationManager.NETWORK_PROVIDER, 1, 1, networkLocListener);\n\t\t}\n\t\tif (gps_enabled) {\n\t\t\tlocationManager.requestLocationUpdates(\n\t\t\t\t\tLocationManager.GPS_PROVIDER, 1, 1, gpsLocListener);\n\t\t}\n\t}", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n getCurrentLocation();\n }", "protected void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n int UPDATE_INTERVAL = 1000 * 60 * 5;\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n int FASTEST_INTERVAL = 5000;\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n int DISPLACEMENT = 20;\n mLocationRequest.setSmallestDisplacement(DISPLACEMENT); // 20 meters\n }", "LocationsClient getLocations();", "public void settingsCheck() {\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()\n .addLocationRequest(locationRequest);\n\n SettingsClient client = LocationServices.getSettingsClient(getContext());\n Task<LocationSettingsResponse> task = client.checkLocationSettings(builder.build());\n task.addOnSuccessListener(getActivity(), new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n // All location settings are satisfied. The client can initialize\n // location requests here.\n Log.d(\"TAG\", \"onSuccess: settingsCheck\");\n getCurrentLocation();\n }\n });\n\n task.addOnFailureListener(getActivity(), new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n if (e instanceof ResolvableApiException) {\n // Location settings are not satisfied, but this can be fixed\n // by showing the user a dialog.\n Log.d(\"TAG\", \"onFailure: settingsCheck\");\n try {\n // Show the dialog by calling startResolutionForResult(),\n // and check the result in onActivityResult().\n ResolvableApiException resolvable = (ResolvableApiException) e;\n resolvable.startResolutionForResult(getActivity(),\n REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sendEx) {\n // Ignore the error.\n }\n }\n }\n });\n }", "public LocationBuilder() {\n super(\"locations\");\n }", "protected void createLocationRequest() {\n mLocationRequest = new LocationRequest();\n //Sets the preferred interval for GPS location updates\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MS);\n //Sets the fastest interval for GPS location updates\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MS);\n //Sets priority of the GPS location to accuracy\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n }", "private void locationManager()\n\t{\n mMap.setMyLocationEnabled(true);\n\n // Getting LocationManager object from System Service LOCATION_SERVICE\n LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n // Creating a criteria object to retrieve provider\n Criteria criteria = new Criteria();\n\n // Getting the name of the best provider\n String provider = locationManager.getBestProvider(criteria, true);\n\n // Getting Current Location\n Location location = locationManager.getLastKnownLocation(provider);\n\n if(location!=null){\n onLocationChanged(location);\n }\n locationManager.requestLocationUpdates(provider, 20000, 0, this);\n\t\t\n\t}", "private void startLocationUpdates() {\r\n try {\r\n TimeUnit.SECONDS.sleep(3);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n mFusedLocationClient.requestLocationUpdates(getLocationRequest(), mLocationCallback, Looper.getMainLooper());\r\n mMap.setMyLocationEnabled(true);\r\n }", "private void createLocationCallback() {\n mLocationCallback = new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n super.onLocationResult(locationResult);\n\n mLastLocation = locationResult.getLastLocation();\n mRequestingLocationUpdate = false;\n\n startAddressLookupService();\n }\n };\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.d(\"TAG\", \"onSuccess: settingsCheck\");\n getCurrentLocation();\n }", "public void getLocation(){\n }", "public MyLocation() {}", "private void fineLocationPermissionGranted() {\n UtilityService.addGeofences(this);\n UtilityService.requestLocation(this);\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Toast.makeText(ATSLocationActivity.this, \"Location settings are satisfied\", Toast.LENGTH_SHORT).show();\n startLocationUpdates(locationRequest,locationCallback);\n }", "@Override\n public void onConnected(Bundle connectionHint) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest,\n this);\n }", "protected void buildLocationSettingsRequest() {\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n mLocationSettingsRequest = builder.build();\n\n }", "@Override\n public void onConnected(Bundle connectionHint) {\n mLocationRequest = LocationRequest.create();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(4000); // Update location every 4 second\n //Retrieve current location\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "private void getLocation() {\n LocationRequest mLocationRequestHighAccuracy = new LocationRequest();\n mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);\n mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);\n\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"getLocation: stopping the location service.\");\n stopSelf();\n return;\n }\n Log.d(TAG, \"getLocation: getting location information.\");\n mFusedLocationClient.requestLocationUpdates(mLocationRequestHighAccuracy, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n Log.d(TAG, \"onLocationResult: got location result.\");\n Location location = locationResult.getLastLocation();\n if (location != null) {\n GeoPoint geoPoint = new GeoPoint(location.getLatitude(), location.getLongitude());\n userInfoDoc.get().addOnCompleteListener(task -> {\n Boolean av = (Boolean) task.getResult().get(\"Availability\");\n saveUserLocation(geoPoint , av);\n });\n saveDistance(geoPoint);\n\n }\n }\n },\n Looper.myLooper()); // Looper.myLooper tells this to repeat forever until thread is destroyed\n }", "private static void setupLocations() {\n\t\tcatanWorld = Bukkit.createWorld(new WorldCreator(\"catan\"));\n\t\tspawnWorld = Bukkit.createWorld(new WorldCreator(\"world\"));\n\t\tgameLobby = new Location(catanWorld, -84, 239, -647);\n\t\tgameSpawn = new Location(catanWorld, -83, 192, -643);\n\t\thubSpawn = new Location(spawnWorld, 8, 20, 8);\n\t\twaitingRoom = new Location(catanWorld, -159, 160, -344);\n\t}", "private void startGettingLocation() {\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n //should check if location is enabled\n\n initializeGoogleApiClient();\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSION_ACCESS_LOCATION);\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "void requestLocClick() {\n isRequest = true;\n mHasLocationData = false;\n if (mLocationClient != null && mLocationClient.isStarted()) {\n mLocationClient.requestLocation();\n Toast.makeText(getActivity(), \"Locating...\", Toast.LENGTH_SHORT).show();\n } else {\n Log.d(TAG, \"Location Client is not started...\");\n }\n }", "@SuppressLint(\"MissingPermission\")\n @Override\n public void onConnected(@Nullable Bundle bundle) {\n LocationAvailability locationAvailability = LocationServices.FusedLocationApi.getLocationAvailability(googleApiClient);\n if (locationAvailability.isLocationAvailable()) {\n // Call Location Services\n// LocationRequest locationRequest = LocationRequest.create().apply\n// {\n// priority = LocationRequest.PRIORITY_HIGH_ACCURACY;\n// interval = 5000;\n// }\n LocationRequest locationRequest = new LocationRequest()\n .setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY)\n .setInterval(5000);\n// LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n// LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n } else {\n // Do something when Location Provider not available\n }\n }", "private void setUpMap() {\n mMap.setMyLocationEnabled(true);\n }", "private void updateLocationUI() {\n if (map == null) {\n return;\n }\n try {\n if (locationPermissionGranted) {\n map.setMyLocationEnabled(true);\n map.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n map.setMyLocationEnabled(false);\n map.getUiSettings().setMyLocationButtonEnabled(false);\n lastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUi() {\n if (mMap == null) {\n return;\n }\n try {\n if (mPermissionCheck.locationPermissionGranted()) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "public void setLocation(String location);", "public void startLocationUpdates() {\n if(checkCoarseLocationPermission()) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }\n }", "@SuppressLint(\"MissingPermission\")\r\n public void initLocation(){\r\n //LocationManager.NETWORK_PROVIDER Otra opcion\r\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 2, new LocationListener() {\r\n @Override\r\n public void onLocationChanged(@NonNull Location location) {\r\n LatLng pos = new LatLng(location.getLatitude(), location.getLongitude());\r\n myMarker.setPosition(pos);\r\n mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(pos, 16));\r\n }\r\n\r\n @Override\r\n public void onStatusChanged(String provider, int status, Bundle extras) {\r\n\r\n }\r\n\r\n @Override\r\n public void onProviderDisabled(@NonNull String provider) {\r\n\r\n }\r\n\r\n @Override\r\n public void onProviderEnabled(@NonNull String provider) {\r\n\r\n }\r\n });\r\n }", "@Override\n\tpublic void onConnected(Bundle arg0) {\n\t\t Toast.makeText(context, \"Connected\", Toast.LENGTH_SHORT).show();\n\t\t mLocationClient.requestLocationUpdates(mLocationRequest,this);\n\t}", "@Override\n\tprotected void onCreate(Bundle savedInstanceState){\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.activity_request);\n\n\t\t//Identity user's identity, used to communicate with the server\n\t\tLocationUtils.credential = GoogleAccountCredential.usingAudience(this,\n\t\t\t\t\"server:client_id:\" + LocationUtils.WEB_CLIENT_ID);\n\t\tstartActivityForResult(LocationUtils.credential.newChooseAccountIntent(), LocationUtils.REQUEST_ACCOUNT_PICKER);\n\t\t\n\t\t// Get handles to the UI view objects\n\t\tmLatLng = (TextView) findViewById(R.id.lat_lng);\n\t\tmAddress = (TextView) findViewById(R.id.address);\n\t\tmActivityIndicator = (ProgressBar) findViewById(R.id.address_progress);\n\t\tmConnectionState = (TextView) findViewById(R.id.text_connection_state);\n\t\tmConnectionStatus = (TextView) findViewById(R.id.text_connection_status);\n\n\t\tLocationUtils.mMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();\n\t\tLocationUtils.mMap.setMyLocationEnabled(true);\n\n\t\t// Create a new global location parameters object\n\t\tmLocationRequest = LocationRequest.create();\n\n\t\t/*\n\t\t * Set the update interval\n\t\t */\n\t\tmLocationRequest.setInterval(LocationUtils.UPDATE_INTERVAL_IN_MILLISECONDS);\n\n\t\t// Use high accuracy\n\t\tmLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n\t\t// Set the interval ceiling to one minute\n\t\tmLocationRequest.setFastestInterval(LocationUtils.FAST_INTERVAL_CEILING_IN_MILLISECONDS);\n\n\t\t// Note that location updates are off until the user turns them on\n\t\tmUpdatesRequested = true;\n\n\t\t// Open Shared Preferences\n\t\tmPrefs = getSharedPreferences(LocationUtils.SHARED_PREFERENCES, Context.MODE_PRIVATE);\n\n\t\t// Get an editor\n\t\tmEditor = mPrefs.edit();\n\n\t\t/*\n\t\t * Create a new location client, using the enclosing class to\n\t\t * handle callbacks.\n\t\t */\n\t\tmLocationClient = new LocationClient(this, this, this);\n\t}", "private void getLocation() {\n //if you don't have permission for location services yet, ask\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]\n {Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_LOCATION_PERMISSION);\n //have the app ask for location permission\n } else {\n fusedLocationClient.requestLocationUpdates\n (getLocationRequest(), mLocationCallback,\n null /* Looper */);\n //uses the type of request and the location callback to update the location\n /**fusedLocationClient.getLastLocation().addOnSuccessListener(\n new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n TextView error = findViewById(R.id.errorMsg);\n error.setVisibility(View.VISIBLE);\n\n if (location != null) {\n lastLocation = location;\n error.setText(\"location: \" + lastLocation.getLatitude());\n } else {\n error.setText(\"location not available\");\n }\n }\n });**/\n }\n }", "@Override\n public void onConnected(@Nullable Bundle bundle) {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(1000);\n mLocationRequest.setFastestInterval(1000);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "protected void startLocationUpdates() {\n\t\tcontected();\n\t\tLocationServices.FusedLocationApi.requestLocationUpdates(\n\t\t\t\tmGoogleApiClient, mLocationRequest, (LocationListener)context);\n\t}", "public void setLocation(String location){\n this.location = location;\n }", "public void setLocation(String location){\n this.location = location;\n }", "@SuppressWarnings(\"MissingPermission\")\n private void initializeLocationEngine(){\n locationEngine = new LocationEngineProvider(this).obtainBestLocationEngineAvailable();\n locationEngine.setPriority(LocationEnginePriority.BALANCED_POWER_ACCURACY);\n locationEngine.activate();\n\n Location lastLocation = locationEngine.getLastLocation();\n if(lastLocation != null){\n originLocation = lastLocation;\n setCameraPosition(lastLocation);\n } else{\n locationEngine.addLocationEngineListener(this);\n }\n }", "public void fetchLocation() throws LocationException {\n if (listener != null && hasSystemFeature() && isProviderEnabled() && isSecure()) {\n try {\n locationManager.requestLocationUpdates(provider, DeviceConstant.MIN_TIME_BW_UPDATES,\n DeviceConstant.MIN_DISTANCE_CHANGE_FOR_UPDATES, listener);\n return;\n } catch (SecurityException se) {\n Log.wtf(GeoLocationProvider.class.getSimpleName(), se);\n throw new LocationException(se);\n }\n } else {\n throw new LocationException(listener != null , hasSystemFeature(), isProviderEnabled(), isSecure());\n }\n\n }", "private void m6906b() {\n LocationClientOption locationClientOption = new LocationClientOption();\n locationClientOption.setOpenGps(true);\n locationClientOption.setPriority(1);\n locationClientOption.setCoorType(\"bd09ll\");\n locationClientOption.setScanSpan(5000);\n locationClientOption.setAddrType(\"all\");\n this.f5657z = new LocationClient(this);\n this.f5657z.registerLocationListener(this);\n this.f5657z.setLocOption(locationClientOption);\n this.f5657z.start();\n this.f5657z.requestLocation();\n }", "@Override\n public void onConnected(Bundle bundle) {\n Log.d(TAG, \"onConnected\");\n\n locationRequest = LocationRequest.create();\n locationRequest.setInterval(10000); // milliseconds\n locationRequest.setFastestInterval(10000); // the fastest rate in milliseconds at which your app can handle location updates\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n LocationServices.FusedLocationApi.requestLocationUpdates(\n googleApiClient, locationRequest, this);\n }", "@Override\n public void onConnected(@Nullable Bundle bundle) {\n startLocationUpdates();\n }", "private LocationContract() {}" ]
[ "0.74942124", "0.7485335", "0.7467695", "0.731641", "0.7194058", "0.7184494", "0.694001", "0.69103974", "0.690913", "0.68922406", "0.6883672", "0.6882379", "0.6871662", "0.68107706", "0.6794371", "0.67674536", "0.67588556", "0.67304087", "0.6729495", "0.6727172", "0.6714737", "0.671413", "0.6710628", "0.66894275", "0.66776574", "0.66664886", "0.6649668", "0.6641403", "0.6635128", "0.6634604", "0.66313106", "0.66211313", "0.66171926", "0.6612089", "0.6605292", "0.65982926", "0.65836835", "0.65836835", "0.6565302", "0.6559799", "0.6548627", "0.65434116", "0.6534747", "0.6534021", "0.6529786", "0.65109104", "0.6481257", "0.6465045", "0.6451837", "0.6450368", "0.6446803", "0.6446298", "0.64237326", "0.64182085", "0.6415018", "0.64091104", "0.63904816", "0.63841057", "0.6377986", "0.63575864", "0.63374394", "0.63359153", "0.6335347", "0.6332766", "0.6328008", "0.63237345", "0.63199085", "0.6319682", "0.62970954", "0.6296586", "0.62875897", "0.62860245", "0.6282194", "0.6271636", "0.6268733", "0.626848", "0.6267739", "0.6262976", "0.62626904", "0.62595195", "0.62567836", "0.62524736", "0.624628", "0.62341154", "0.6213022", "0.6211981", "0.6210427", "0.62079984", "0.6193539", "0.6193539", "0.6193539", "0.6192834", "0.61901504", "0.61901504", "0.6181522", "0.6173986", "0.61718285", "0.6169998", "0.61593336", "0.61534584" ]
0.64624923
48
Handles the Request Updates button and requests start of location updates.
public void requestLocationUpdates(View view) { Log.d(TAG, "requestLocationUpdates"); try { Log.i(TAG, "Starting location updates"); LocationRequestHelper.setRequesting(this, true); LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, getPendingIntent()); } catch (SecurityException e) { LocationRequestHelper.setRequesting(this, false); e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n // startLocationUpdates();\n }\n }", "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n startLocationUpdates();\n }\n }", "@SuppressLint(\"MissingPermission\")\n private void requestLocationUpdate() {\n }", "public void startUpdatesButtonHandler(View view) {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n setButtonsEnabledState();\n startLocationUpdates();\n }\n }", "@Override\n public void requestLocationUpdates() {\n handler = new Handler();\n handler.postDelayed(new LocationUpdateRunnable(), UPDATE_INTERVAL_MS);\n }", "private void startPeriodicUpdates() {\n\n\t\tmLocationClient.requestLocationUpdates(mLocationRequest, this);\n\t\tmConnectionState.setText(R.string.location_requested);\n\t}", "private void startLocationUpdates() {\n Log.d(LOG_TAG, \"startLocationUpdates() called\");\n fusedLocationClient.requestLocationUpdates(locationRequest, locationCallback, Looper.getMainLooper());\n }", "protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n //mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettingsRequest object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Check whether location settings are satisfied\n // https://developers.google.com/android/reference/com/google/android/gms/location/SettingsClient\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n try{\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation(),false);\n }\n },\n Looper.myLooper());\n }\n catch(SecurityException e){\n e.printStackTrace();\n }\n\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest).\n addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.e(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n mFusedLocationClient.requestLocationUpdates(mLocationBalancedRequest,\n mLocationCallback, Looper.myLooper());\n\n updateLocationUI();\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.e(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n Log.e(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n updateLocationUI();\n }\n });\n\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\n .addOnSuccessListener(getActivity(), locationSettingsResponse -> {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n mLocationCallback, Looper.myLooper());\n\n updateUI();\n })\n .addOnFailureListener(getActivity(), e -> {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n try {\n // Show the dialog and check the result in onActivityResult().\n ResolvableApiException resolvable = (ResolvableApiException) e;\n MapFragment.this.startIntentSenderForResult(resolvable.getResolution().getIntentSender(),\n REQUEST_CHECK_SETTINGS, null, 0,\n 0, 0, null);\n } catch (IntentSender.SendIntentException sie) {\n //...\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Toast.makeText(MapFragment.this.getActivity(), errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n\n MapFragment.this.updateUI();\n });\n }", "protected void startLocationUpdates()\n {\n try\n {\n if (googleApiClient.isConnected())\n {\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n isRequestingLocationUpdates = true;\n }\n }\n catch (SecurityException e)\n {\n Toast.makeText(getContext(), \"Unable to get your current location!\" +\n \" Please enable the location permission in Settings > Apps \" +\n \"> Bengaluru Buses.\", Toast.LENGTH_LONG).show();\n }\n }", "private void StartLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettings object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Checks if location settings are OK\n SettingsClient settingsClient = LocationServices.getSettingsClient(context);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission\n (context, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n return;\n }else {\n getFusedLocationProviderClient(context).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n// getLastLocation();\n }\n },\n Looper.myLooper());\n }\n\n }", "private void startLocationUpdates() {\r\n try {\r\n TimeUnit.SECONDS.sleep(3);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n mFusedLocationClient.requestLocationUpdates(getLocationRequest(), mLocationCallback, Looper.getMainLooper());\r\n mMap.setMyLocationEnabled(true);\r\n }", "public void startLocationUpdates() {\n startLocationUpdatesFromInside();\n showForegroundNotification();\n }", "private void startLocationUpdates() {\n settingsClient\n .checkLocationSettings(locationSettingsRequest)\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @SuppressLint(\"MissingPermission\")\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.i(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n fusedLocationClient.requestLocationUpdates(locationRequest, locationCallback, Looper.myLooper());\n\n onLocationChange();\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(UserLocation.this, REQUEST_CODE);\n } catch (IntentSender.SendIntentException sie) {\n Log.i(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n\n Toast.makeText(UserLocation.this, errorMessage, Toast.LENGTH_LONG).show();\n }\n\n onLocationChange();\n }\n });\n }", "protected void startLocationUpdates() {\n\t\tcontected();\n\t\tLocationServices.FusedLocationApi.requestLocationUpdates(\n\t\t\t\tmGoogleApiClient, mLocationRequest, (LocationListener)context);\n\t}", "public void startReceivingLocationUpdates() {\n Dexter.withActivity(this)\n .withPermission(Manifest.permission.ACCESS_FINE_LOCATION)\n .withListener(new PermissionListener() {\n @Override\n public void onPermissionGranted(PermissionGrantedResponse response) {\n mRequestingLocationUpdates = true;\n startLocationUpdates();\n }\n\n @Override\n public void onPermissionDenied(PermissionDeniedResponse response) {\n if (response.isPermanentlyDenied()) {\n // open device settings when the permission is\n // denied permanently\n openSettings();\n }\n }\n\n @Override\n public void onPermissionRationaleShouldBeShown(com.karumi.dexter.listener.PermissionRequest permission, PermissionToken token) {\n token.continuePermissionRequest();\n }\n\n }).check();\n }", "@SuppressLint(\"RestrictedApi\")\n protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n }\n },\n Looper.myLooper());\n }", "public void actionPerformed( ActionEvent event )\n {\n KalumetConsoleApplication.getApplication().getLogPane().addInfo(\n \"Software \" + name + \" location \" + locationName + \" update in progress ...\",\n parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add(\n \"Software \" + name + \" location \" + locationName + \" update requested.\" );\n // start the update thread\n final UpdateLocationThread updateThread = new UpdateLocationThread();\n updateThread.locationName = locationName;\n updateThread.start();\n // sync with the client\n KalumetConsoleApplication.getApplication().enqueueTask(\n KalumetConsoleApplication.getApplication().getTaskQueue(), new Runnable()\n {\n public void run()\n {\n if ( updateThread.ended )\n {\n if ( updateThread.failure )\n {\n KalumetConsoleApplication.getApplication().getLogPane().addError(\n updateThread.message, parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add( updateThread.message );\n }\n else\n {\n KalumetConsoleApplication.getApplication().getLogPane().addConfirm(\n \"Software \" + name + \" location \" + locationName + \" updated.\",\n parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add(\n \"Software \" + name + \" location \" + locationName + \" updated.\" );\n }\n }\n else\n {\n KalumetConsoleApplication.getApplication().enqueueTask(\n KalumetConsoleApplication.getApplication().getTaskQueue(), this );\n }\n }\n } );\n }", "private void requestLocationUpdates(){\n if(googleApiClient.isConnected()){\n try{\n setLocationRequest();\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n } catch (SecurityException ex) {\n Log.e(TAG, \"requestLocationUpdates: no permissions\", ex);\n }\n }\n }", "void requestLocClick() {\n isRequest = true;\n mHasLocationData = false;\n if (mLocationClient != null && mLocationClient.isStarted()) {\n mLocationClient.requestLocation();\n Toast.makeText(getActivity(), \"Locating...\", Toast.LENGTH_SHORT).show();\n } else {\n Log.d(TAG, \"Location Client is not started...\");\n }\n }", "public void update()\n {\n this.controller.updateAll();\n theLogger.info(\"Update request recieved from UI\");\n }", "private void updateLocationToServer() {\n\n if (Utility.isConnectingToInternet(getActivity())) {\n\n if (mGpsTracker.canGetLocation()) {\n\n if (Utility.ischeckvalidLocation(mGpsTracker)) {\n\n Animation fade1 = AnimationUtils.loadAnimation(getActivity(), R.anim.flip);\n btnRefreshLocation.startAnimation(fade1);\n Map<String, String> params = new HashMap<String, String>();\n if (!AppConstants.isGestLogin(getActivity())) {\n params.put(\"iduser\", SharedPref.getInstance().getStringVlue(getActivity(), userId));\n } else {\n params.put(\"iduser\", \"0\");\n }\n\n params.put(\"latitude\", \"\" + mGpsTracker.getLatitude());\n params.put(\"longitude\", \"\" + mGpsTracker.getLongitude());\n RequestHandler.getInstance().stringRequestVolley(getActivity(), AppConstants.getBaseUrl(SharedPref.getInstance().getBooleanValue(getActivity(), isStaging)) + updatelocation, params, this, 5);\n fade1.cancel();\n } else {\n mGpsTracker.showInvalidLocationAlert();\n }\n } else {\n showSettingsAlert(5);\n }\n } else {\n Utility.showInternetError(getActivity());\n }\n\n }", "protected void startLocationUpdates() {\n // The final argument to {@code requestLocationUpdates()} is a LocationListener\n // (http://developer.android.com/reference/com/google/android/gms/location/LocationListener.html).\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }", "protected void startLocationUpdates() {\n // The final argument to {@code requestLocationUpdates()} is a LocationListener\n // (http://developer.android.com/reference/com/google/android/gms/location/LocationListener.html).\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }", "protected void startLocationUpdates() {\n // The final argument to {@code requestLocationUpdates()} is a LocationListener\n // (http://developer.android.com/reference/com/google/android/gms/location/LocationListener.html).\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }", "private void startLocationUpdates() {\r\n // Begin by checking if the device has the necessary location settings.\r\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\r\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\r\n @Override\r\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\r\n Log.i(TAG, \"All location settings are satisfied.\");\r\n\r\n if(checkPermissions()){\r\n // Launch background service - Monitor location\r\n Log.i(TAG, \"trying to start location service..\");\r\n startService(new Intent(MainActivity.this, LocationService.class));\r\n\r\n // Launch background service - Geofence\r\n if(localUser.isGeofenceEnabled()){\r\n Log.i(TAG, \"trying to start geofence service..\");\r\n startService(new Intent(MainActivity.this, GeofenceService.class));\r\n }\r\n } else{\r\n requestPermissions();\r\n }\r\n\r\n\r\n\r\n }\r\n })\r\n .addOnFailureListener(this, new OnFailureListener() {\r\n @Override\r\n public void onFailure(@NonNull Exception e) {\r\n int statusCode = ((ApiException) e).getStatusCode();\r\n switch (statusCode) {\r\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\r\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\r\n \"location settings \");\r\n try {\r\n // Show the dialog by calling startResolutionForResult(), and check the\r\n // result in onActivityResult().\r\n ResolvableApiException rae = (ResolvableApiException) e;\r\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\r\n } catch (IntentSender.SendIntentException sie) {\r\n Log.i(TAG, \"PendingIntent unable to execute request.\");\r\n }\r\n break;\r\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\r\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\r\n \"fixed here. Fix in Settings.\";\r\n Log.e(TAG, errorMessage);\r\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\r\n mRequestingLocationUpdates = false;\r\n }\r\n\r\n }\r\n });\r\n }", "protected void startLocationUpdates() {\n mLocationRequest = LocationRequest.create()\n .setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY)\n .setInterval(1000000)\n .setFastestInterval(1000000);\n // Request location updates\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, new LocationListener() {\n @Override\n public void onLocationChanged(Location location) {\n mLastLocation = location;\n }\n });\n }\n\n }", "private void startLocationUpdate()\r\n {\r\n try \r\n {\r\n _locationProvider = LocationProvider.getInstance(null);\r\n \r\n if ( _locationProvider == null ) \r\n {\r\n // We would like to display a dialog box indicating that GPS isn't supported, but because\r\n // the event-dispatcher thread hasn't been started yet, modal screens cannot be pushed onto\r\n // the display stack. So delay this operation until the event-dispatcher thread is running\r\n // by asking it to invoke the following Runnable object as soon as it can.\r\n Runnable showGpsUnsupportedDialog = new Runnable() \r\n {\r\n public void run() \r\n {\r\n Dialog.alert(\"GPS is not supported on this platform, exiting...\");\r\n System.exit( 1 );\r\n }\r\n };\r\n invokeLater( showGpsUnsupportedDialog ); // ask event-dispatcher thread to display dialog ASAP\r\n } \r\n else \r\n {\r\n // only a single listener can be associated with a provider, and unsetting it involves the same\r\n // call but with null, therefore, no need to cache the listener instance\r\n _locationProvider.setLocationListener(new LocationListenerImpl(), _interval, 1, 1);\r\n }\r\n } catch (LocationException le) {\r\n System.err.println(\"Failed to instantiate the LocationProvider object, exiting...\");\r\n System.err.println(le); \r\n System.exit(0);\r\n } \r\n }", "public void updateLocation();", "public synchronized void startUpdates(){\n mStatusChecker.run();\n }", "private void locationRequests(){\n mFusedClient = LocationServices.getFusedLocationProviderClient(this);\n mLocationCallback = new LocationCallback(){\n @Override\n public void onLocationResult(LocationResult locationResult){\n List<Location> locationList = locationResult.getLocations();\n if(locationList.size() > 0){\n Location location = locationList.get(locationList.size() - 1);\n Log.i(TAG, \"Location: \" + location.getLatitude() + \" \" + location.getLongitude());\n mLatitude = String.valueOf(location.getLatitude());\n mLongitude = String.valueOf(location.getLongitude());\n }\n }\n };\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(UPDATE_INTERVAL_IN_MILLISECONDS);\n mLocationRequest.setFastestInterval(FASTEST_UPDATE_INTERVAL_IN_MILLISECONDS);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M){\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mFusedClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n } else {\n getLocation();\n }\n } else {\n mFusedClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }\n }", "protected void startLocationUpdates() {\n\n if (ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n /*if (shouldShowRequestPermissionRationale(\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n showExplanationDialog(new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n requestPermissions(\n new String[]{ Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n });\n } else {\n requestPermissions(\n new String[]{ Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }*/\n } else {\n if (mGoogleApiClient.isConnected()) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n mRequestingLocationUpdates = true;\n Fog.d(TAG, \"requestedLocationUpdates\");\n }\n }\n }", "public void stopUpdatesButtonHandler() {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "protected void startLocationUpdates() {\n try {\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "void update(Location location);", "public void startLocationUpdates() {\n if(checkCoarseLocationPermission()) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }\n }", "public abstract void updateLocations();", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.i(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n if (ActivityCompat.checkSelfPermission(ChooseParty.this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(ChooseParty.this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(ChooseParty.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_PERMISSIONS_REQUEST_CODE);\n }\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n mLocationCallback, Looper.myLooper());\n\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(ChooseParty.this, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n Log.i(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n Toast.makeText(ChooseParty.this, errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n }\n });\n }", "public void requestUpdate(){\n shouldUpdate = true;\n }", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n FusedLocationProviderClient mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "public void requestLocation() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED\n && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.INTERNET}, 12);\n }\n return;\n }\n //this line updates location\n mMap.setMyLocationEnabled(true);\n providerClient.requestLocationUpdates(locationRequest, locationCallback, getMainLooper());\n }", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n startLocationUpdates();\n }", "public boolean requestingLocationUpdates() {\n return prefs\n .getBoolean(KEY_REQUESTING_LOCATION_UPDATES, false);\n }", "public void receivedUpdateFromServer();", "@Override\n public void onClick(View v) {\n startLocationUpdates();\n startIntentService();\n //updateUI();\n mUpdateTimeText.setText(mLastUpdateTime);\n mLocationData.addLocation(new LocationRecord(mCurrentLocation.getLatitude(),\n mCurrentLocation.getLongitude(), mLastUpdateTime));\n Toast.makeText(MapsActivity.this, \"You have checked in!\", Toast.LENGTH_LONG).show();\n //mLocationData.addLocation(mCurrentLocation, mAddressOutput, mLastUpdateTime);\n }", "public void startLocationButtonClick() {\n Dexter.withActivity(this)\r\n .withPermission(Manifest.permission.ACCESS_FINE_LOCATION)\r\n .withListener(new PermissionListener() {\r\n @Override\r\n public void onPermissionGranted(PermissionGrantedResponse response) {\r\n mRequestingLocationUpdates = true;\r\n startLocationUpdates();\r\n }\r\n\r\n @Override\r\n public void onPermissionDenied(PermissionDeniedResponse response) {\r\n if (response.isPermanentlyDenied()) {\r\n // open device settings when the permission is\r\n // denied permanently\r\n openSettings();\r\n }\r\n }\r\n\r\n @Override\r\n public void onPermissionRationaleShouldBeShown(PermissionRequest permission, PermissionToken token) {\r\n token.continuePermissionRequest();\r\n }\r\n }).check();\r\n }", "@Override\n public void run() {\n mHandler.post(new Runnable() {\n\n @Override\n public void run() {\n // display toast\n locationupdate();\n }\n\n });\n }", "public void startLocationUpdate() {\n if (locationCallback != null) {\n try {\n locationCallback = new LocationCallback() {//khoi tao dinh nghia (extent)\n\n @Override\n public void onLocationResult(LocationResult locationResult) {\n super.onLocationResult(locationResult);\n Log.d(TAG, \"onLocationResult: \");\n if (locationResult != null) {\n Log.d(TAG, \"onLocationResult: loaction!==null\");\n myLocation = locationResult.getLastLocation();\n showMarker();//de show hinh len\n }\n }\n };\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, locationCallback, null);//dang ky voi he thong app lang nghe su thay doi cua location\n\n } catch (SecurityException e) {\n e.getMessage();\n\n }\n }\n }", "@Override\n public void run() {\n Location location = getNextLocation();\n for (LocationEngineListener listener : locationListeners) {\n listener.onLocationChanged(location);\n }\n\n // Schedule the next update\n handler.postDelayed(new LocationUpdateRunnable(), UPDATE_INTERVAL_MS);\n }", "private void updateUI() {\n if (mCurrentLocation != null) {\n mLatitudeTextView.setText(String.valueOf(mCurrentLocation.getLatitude()));\n mLongitudeTextView.setText(String.valueOf(mCurrentLocation.getLongitude()));\n mLastUpdateTimeTextView.setText(mLastUpdateTime);\n\n localLatitude = Double.parseDouble(mLatitudeTextView.getText().toString());\n localLongtitude = Double.parseDouble(mLongitudeTextView.getText().toString());\n double newDistance = Math.round(gps2m(previousLatitude, previousLongitude, localLatitude, localLongtitude) * 100) / 100.0;\n\n /*\n if (!mStartUpdatesButton.isEnabled()) {\n mMoveTextView.setText(String.valueOf(newDistance) + \" m\");\n totalDistance += newDistance;\n\n mTotalDistanceTextView.setText(String.valueOf(totalDistance) + \"m\");\n }\n previousLatitude = localLatitude != 0 ? localLatitude : previousLongitude;\n previousLongitude = localLongtitude != 0 ? localLongtitude : previousLatitude;\n\n\n if (!mStartUpdatesButton.isEnabled()) {\n double speed = Double.parseDouble(timeToSpeed());\n\n timeslots.add(System.currentTimeMillis());\n userspeeds.add((float) speed);\n float randomspeed = (float)Math.random()*6;\n compspeeds.add(randomspeed);\n mSpeedTextView.setText(String.valueOf(speed) + \"km/h\");\n\n //TODO: change weight\n double calValue = calorieCalculator(weight, timeSingleValue / 3600, speed);\n calValue = Math.round(calValue * 100) / 100;\n calValue = calValue < 0 ? 0 : calValue;\n calValue = calValue > 100 ? 100 : calValue;\n calValue = calValue / 1000;\n mCalTextView.setText(String.valueOf(calValue));\n compDistance += 5*randomspeed/3600*1000;\n int predictedCalories = (int) Math.round((calValue / timeSingleValue)) * 3600;\n mCalPredictTextView.setText(String.valueOf(predictedCalories));\n\n\n if (compDistance > totalDistance) {\n if (status == 0 || status == 1) {\n MediaPlayer mediaPlayer1 = MediaPlayer.create(getApplicationContext(), R.raw.tooslow);\n mediaPlayer1.start();\n status = 2;\n }\n } else {\n if (status == 0 || status == 2) {\n MediaPlayer mediaPlayer2 = MediaPlayer.create(getApplicationContext(), R.raw.toofast);\n mediaPlayer2.start();\n status = 1;\n }\n }\n }\n */\n if (!mStartUpdatesButton.isEnabled()) {\n mMoveTextView.setText(String.valueOf(newDistance) + \" m\");\n totalDistance += newDistance;\n double totalDistanceOutput = Math.round(totalDistance * 100) / 100.0;\n totalDistanceOutput = totalDistanceOutput < 0 ? 0 : totalDistanceOutput;\n mTotalDistanceTextView.setText(String.valueOf(totalDistanceOutput) + \"m\");\n }\n previousLatitude = localLatitude != 0 ? localLatitude : previousLongitude;\n previousLongitude = localLongtitude != 0 ? localLongtitude : previousLatitude;\n if (!mStartUpdatesButton.isEnabled()) {\n double speed = Double.parseDouble(timeToSpeed());\n timeslots.add(System.currentTimeMillis());\n userspeeds.add((float) speed);\n float randomspeed = (float) Math.random() * 2;\n compspeeds.add(randomspeed);\n mSpeedTextView.setText(String.valueOf(speed) + \" km/h\");\n double calValue = calorieCalculator(weight, timeSingleValue / 3600, speed);\n calValue = calValue < 0 ? 0 : calValue;\n calValue = calValue > 100 ? 100 : calValue;\n calValue = calValue / 1000.0 * 60;\n calValue = Math.round(calValue * 100) / 100.0;\n mCalTextView.setText(String.valueOf(calValue) + \" kCal/m\");\n compDistance += 5 * randomspeed / 3600 * 1000;\n double predictedCalories = (calValue / timeSingleValue) * 60;\n predictedCalories = (predictedCalories < 0 || predictedCalories > 100000) ? 0 : predictedCalories;\n mCalPredictTextView.setText(\"~ \" + String.valueOf(predictedCalories) + \" kCal\");\n\n if (compDistance > totalDistance) {\n if (status == 0 || status == 1) {\n MediaPlayer mediaPlayer1 = MediaPlayer.create(getApplicationContext(), R.raw.tooslow);\n mediaPlayer1.start();\n status = 2;\n }\n } else {\n if (status == 0 || status == 2) {\n MediaPlayer mediaPlayer2 = MediaPlayer.create(getApplicationContext(), R.raw.toofast);\n mediaPlayer2.start();\n status = 1;\n }\n }\n }\n }\n }", "private void updateButtonsState(boolean requestingLocationUpdates) {\n Log.d(TAG, \"updateButtonsState\");\n if (requestingLocationUpdates) {\n //mRequestUpdatesButton.setEnabled(false);\n //mRemoveUpdatesButton.setEnabled(true);\n } else {\n //mRequestUpdatesButton.setEnabled(true);\n //mRemoveUpdatesButton.setEnabled(false);\n }\n }", "public void getLocationInfo() {\n startLocationService();\n }", "private void updateUi() {\n final int numPoints = map.getPolyLinePoints(featureId).size();\n final MapPoint location = map.getGpsLocation();\n\n // Visibility state\n playButton.setVisibility(inputActive ? View.GONE : View.VISIBLE);\n pauseButton.setVisibility(inputActive ? View.VISIBLE : View.GONE);\n recordButton.setVisibility(inputActive && recordingEnabled && !recordingAutomatic ? View.VISIBLE : View.GONE);\n\n // Enabled state\n zoomButton.setEnabled(location != null);\n backspaceButton.setEnabled(numPoints > 0);\n clearButton.setEnabled(!inputActive && numPoints > 0);\n settingsView.findViewById(R.id.manual_mode).setEnabled(location != null);\n settingsView.findViewById(R.id.automatic_mode).setEnabled(location != null);\n\n if (intentReadOnly) {\n playButton.setEnabled(false);\n backspaceButton.setEnabled(false);\n clearButton.setEnabled(false);\n }\n // Settings dialog\n\n // GPS status\n boolean usingThreshold = isAccuracyThresholdActive();\n boolean acceptable = location != null && isLocationAcceptable(location);\n int seconds = INTERVAL_OPTIONS[intervalIndex];\n int minutes = seconds / 60;\n int meters = ACCURACY_THRESHOLD_OPTIONS[accuracyThresholdIndex];\n locationStatus.setText(\n location == null ? getString(org.odk.collect.strings.R.string.location_status_searching)\n : !usingThreshold ? getString(org.odk.collect.strings.R.string.location_status_accuracy, location.accuracy)\n : acceptable ? getString(org.odk.collect.strings.R.string.location_status_acceptable, location.accuracy)\n : getString(org.odk.collect.strings.R.string.location_status_unacceptable, location.accuracy)\n );\n locationStatus.setBackgroundColor(\n location == null ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : acceptable ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : getThemeAttributeValue(this, com.google.android.material.R.attr.colorError)\n );\n collectionStatus.setText(\n !inputActive ? getString(org.odk.collect.strings.R.string.collection_status_paused, numPoints)\n : !recordingEnabled ? getString(org.odk.collect.strings.R.string.collection_status_placement, numPoints)\n : !recordingAutomatic ? getString(org.odk.collect.strings.R.string.collection_status_manual, numPoints)\n : !usingThreshold ? (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes, numPoints, minutes) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds, numPoints, seconds)\n )\n : (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes_accuracy, numPoints, minutes, meters) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds_accuracy, numPoints, seconds, meters)\n )\n );\n }", "@Override\n\tpublic void onResume() {\n\t\tsuper.onResume();\n\n\t\t// If the app already has a setting for getting location updates, get it\n\t\tif (mPrefs.contains(LocationUtils.KEY_UPDATES_REQUESTED)) {\n\t\t\tmUpdatesRequested = mPrefs.getBoolean(LocationUtils.KEY_UPDATES_REQUESTED, false);\n\n\t\t\t// Otherwise, turn off location updates until requested\n\t\t} else {\n\t\t\tmEditor.putBoolean(LocationUtils.KEY_UPDATES_REQUESTED, false);\n\t\t\tmEditor.commit();\n\t\t}\n\n\t}", "private void updateLocationUi() {\n if (mMap == null) {\n return;\n }\n try {\n if (mPermissionCheck.locationPermissionGranted()) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "public void startLocationUpdates(){\n // High accuracy should use GPS to get the location\n locationRequest = new LocationRequest();\n locationRequest.setInterval(2000);\n locationRequest.setFastestInterval(1000);\n locationRequest.setSmallestDisplacement(1);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n if(ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n // The user has not given us access to get their location\n // May want to request those premissions here\n try {\n int gpsOff = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE);\n // If this returns zero then GPS is off\n if(gpsOff == 0){\n Intent turnOnGPS = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);\n startActivity(turnOnGPS);\n }\n }catch (Settings.SettingNotFoundException e){\n e.printStackTrace();\n }\n\n return;\n }\n\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n }", "private void updateFromProvider() {\n if(isUpdating.get()){\n isHaveUpdateRequest.set(true);\n return;\n }\n mUpdateExecutorService.execute(new UpdateThread());\n }", "private void startCurrentLocationUpdates() {\n LocationRequest locationRequest = LocationRequest.create();\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n locationRequest.setInterval(3000);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(MapsActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n return;\n }\n }\n //Untuk data internet\n String status = null;\n ConnectivityManager cm = (ConnectivityManager) MapsActivity.this.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n\n if (activeNetwork == null) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"Kamu Tidak Memiliki Koneksi Internet, Harap Nyalakan Data Seluler atau Wi-Fi\")\n .setTitle(\"Tidak Ada Koneksi\")\n .setCancelable(false)\n .setPositiveButton(\"Settings\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);\n }\n }\n )\n .setNegativeButton(\"Cancel\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n startCurrentLocationUpdates();\n }\n }\n );\n AlertDialog alert = builder.create();\n alert.show();\n }\n\n //untuk cek apakah gps on/off\n final LocationManager locationM = (LocationManager) getSystemService(Context.LOCATION_SERVICE);\n if (!locationM.isProviderEnabled(LocationManager.GPS_PROVIDER)) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"Harap Nyalakan GPS Terlebih Dahulu\")\n .setTitle(\"Tidak Dapat Menemukan Lokasi\")\n .setCancelable(false)\n .setPositiveButton(\"Settings\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n Intent openLocationSettings = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);\n MapsActivity.this.startActivity(openLocationSettings);\n }\n }\n )\n .setNegativeButton(\"Cancel\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n startCurrentLocationUpdates();\n }\n }\n );\n AlertDialog alert = builder.create();\n alert.show();\n }\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, mLocationCallback, Looper.myLooper());\n }", "public void run() {\n editLocationRequest(row);\n }", "public void update() {\n this.infoWindowManager.update();\n }", "private void setupUpdateButton() {\n\n /* Get the button */\n Button updateButton = this.getStatusUpdateButton();\n\n /* Setup listener */\n View.OnClickListener updateButtonClicked = new View.OnClickListener() {\n\n @Override\n public void onClick(View view) {\n statusUpdater.updateStatus();\n }\n };\n\n /* Set listener to button */\n updateButton.setOnClickListener(updateButtonClicked);\n }", "@Override\r\n public void onLocationChanged(Location location) {\n\r\n sendLocationUpdates(location);\r\n }", "private void updateLocationUI() {\n if (mCurrentLocation != null) {\n Log.e(\"UPDATE GEO\", \"LAT \" + mCurrentLocation.getLatitude() + \" LON \" +\n mCurrentLocation.getLongitude() + \" LAST UPDATE \" + mLastUpdateTime);\n }\n }", "private void follow_updates() {\n new Thread() {\n public void run() {\n while(true) {\n try {\n Thread.sleep(1000);\n GUI.setUps(upd_count);\n upd_count = 0;\n }\n catch(Exception e) {\n e.printStackTrace();\n }\n }\n }\n }.start();\n }", "private void enableRequestLocationUpdate() {\n mLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,\n 1000 * 10, 10, mLocationListener);\n mLocationManager.requestLocationUpdates(\n LocationManager.NETWORK_PROVIDER, 1000 * 10, 10,\n mLocationListener);\n }", "public void callUpdateLocation( AppCompatActivity activity, final Context context, String collName, int recordId, LatLng newLocation ){\r\n\r\n ServiceRequest serviceRequest = new ServiceRequest( ServiceRequest.CORE_SEVICE_NAME, \"updateLocation\", context );\r\n serviceRequest.putParameterValue( \"database_name\", \"update_location\" );\r\n serviceRequest.putParameterValue( \"dataset_name\", \"gis\" );\r\n serviceRequest.putParameterValue( \"collection_name\", collName );\r\n serviceRequest.putParameterValue( \"record_id\", String.valueOf( recordId ) );\r\n serviceRequest.putParameterValue( \"location_x\", String.valueOf( newLocation.longitude ) );\r\n serviceRequest.putParameterValue( \"location_y\", String.valueOf( newLocation.latitude ) );\r\n serviceRequest.putParameterValue( \"username\", LoginAuthentificationHandlerContext.getInstance().getUsername( ) );\r\n serviceRequest.putParameterValue( \"password\", LoginAuthentificationHandlerContext.getInstance( ).getPassword( ) );\r\n L.m( serviceRequest.getServiceRequest( ) );\r\n\r\n SmallWorldServiceTask task = new SmallWorldServiceTask(\r\n serviceRequest.getServiceRequest( ),\r\n activity,\r\n \"Updating new location...\",\r\n new SetOnTaskCompleteListener< List< HashMap< String, String > > >( ){\r\n @Override\r\n public void onTaskComplete( List< HashMap< String, String > > result ) {\r\n HashMap< String, String > response = result.get( 0 );\r\n if( response.containsKey( \"login_response\" )){\r\n L.t( context, response.get( \"login_response\" ) );\r\n }else if( response.containsKey( \"result_update\" ) ){\r\n String updated = response.get( \"result_update\" );\r\n if( updated != null ){\r\n if( updated.equals( \"true\" )){\r\n MapEngine.refreshMap( MobileGatewayMapActivity.masterActivity.getMap( ), MobileGatewayMapActivity.masterActivity.getMap( ).getCameraPosition( ), context );\r\n L.t( context, \"Updated location complete\" );\r\n }else{\r\n L.t( context, \"Updated location failed!!!! \" + updated );\r\n }\r\n }\r\n }\r\n\r\n }\r\n } );\r\n task.execute( );\r\n }", "private void updateLocationUI() {\n if (map == null) {\n return;\n }\n try {\n if (locationPermissionGranted) {\n map.setMyLocationEnabled(true);\n map.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n map.setMyLocationEnabled(false);\n map.getUiSettings().setMyLocationButtonEnabled(false);\n lastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "@Override\r\n public void onUpdateReturned(int updateStatus, UpdateResponse updateInfo) {\n switch (updateStatus) {\r\n case UpdateStatus.Yes: // has update\r\n UmengUpdateAgent.showUpdateDialog(mContext, updateInfo);\r\n break;\r\n case UpdateStatus.No: // has no update\r\n Toast.makeText(mContext, \"没有更新\", Toast.LENGTH_SHORT).show();\r\n break;\r\n case UpdateStatus.NoneWifi: // none wifi\r\n Toast.makeText(mContext, \"没有wifi连接, 只在wifi下更新\", Toast.LENGTH_SHORT).show();\r\n break;\r\n case UpdateStatus.Timeout: // time out\r\n Toast.makeText(mContext, \"请检查网络\", Toast.LENGTH_SHORT).show();\r\n break;\r\n }\r\n }", "@Override\n public void onConnected(@Nullable Bundle bundle) {\n Log.i(TAG, \"Location Services Connected\");\n requestLocationUpdates();\n }", "@Override\n public void onStart() {\n super.onStart();\n currentLocation.startLocationUpdates();\n }", "@Override\n\t\tpublic void onLocationChanged(Location args0) {\n\t\t\t mCurrentLocation = args0;\n\t mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n\t updateUI();\n\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t\tSharedPreferences sharedPreferences = getSharedPreferences(\"LOGIN\", 0);\n\t\t\tid = sharedPreferences.getString(\"id\", \"\");\n\t\t\tString path = null;\n\t\t\tif(loc_flag.equals(\"1\")){\n\t\t\t\t path = \"http://2naive.cn/\";\n\t\t\t}\n\t\t\tif(loc_flag.equals(\"2\")){\n\t\t\t\tpath = App.address + \"CUpdateLoc.php?id=\"+id+\"&setLong=\"+long_t+\"&setLat=\"+lat_t;\n\t\t\t}\n\t\t\tfinal Editor editor = sharedPreferences.edit();\n\t\t\tHttpUtils http = new HttpUtils(3000);//10s超时\n\t\t\thttp.configCurrentHttpCacheExpiry(300); // 设置缓存5秒,5秒内直接返回上次成功请求的结果。\n\t\t\twhile (flag) {\n\t\t\t\t http.send(HttpMethod.GET, path,new RequestCallBack<String>() {\n\t\t\t\t @Override \n\t\t\t\t public void onFailure(HttpException arg0, String arg1) { \n\t\t\t\t //联网失败\n\t\t\t\t\t // Toast.makeText(getBaseContext(), \"\"+lon+\"---\"+lat, Toast.LENGTH_LONG).show();\n\t\t\t\t\t editor.putString(\"conn\", \"0\");\n\t\t\t\t }\t \n\t\t\t\t @Override \n\t\t\t\t public void onSuccess(ResponseInfo<String> arg0) { \n\t\t\t\t\t //联网成功\n\t\t\t\t\t editor.putString(\"conn\", \"1\");\n\t\t\t\t }\n\t\t\t\t});\n\t\t\t\teditor.commit();\n\t\t\t\tMessage message = new Message();\n\t\t\t\tmessage.what = 2;\n\t\t\t\tupdateUI.sendMessage(message);\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(3*1000); //暂定延时3s\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tThread.interrupted();\n\t\t}", "@Override\n public void onConnected(@Nullable Bundle bundle) {\n startLocationUpdates();\n }", "@Override\n\tpublic void onUpdate(Context context, AppWidgetManager appWidgetManager,\n\tint[] appWidgetIds) {\n\t\t\n\n\t\t/**\n\t\t * Starting a service that defines the onupdate function\n\t\t */\n\t\t context.startService(new Intent(context, UpdateService.class)); \n\t}", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "protected void updateLocationUI() {\n if (mCurrentLocation != null) {\n //TrackDataCSVHelper myCSV2 = new TrackDataCSVHelper();\n //mDistanceFromWaypointText.setText(String.valueOf(myCSV2.getLon(track, this))); //<-- used this to test getting proper lat/lon\n //mDistanceFromWaypointText.setText(String.format(\"%s: %f\", \"Dist from WP\", mDistanceFromWaypoint));\n //mZoneStatusText.setText(\"IN THE ZONE? \" + mIsInZone);\n //mNumberUpdates.setText(String.valueOf(mNum));\n }\n }", "@Override\n\tpublic void onReceive(Context arg0, Intent arg1) {\n\t\tUtils.writeToLogFileWithTime(\"LocationUpdateReciver called\");\n\t\targ0.startService(new Intent(arg0,UpdateLocationService.class));\n\t}", "@Override\n\tpublic void onConnected(Bundle arg0) {\n\t\t Toast.makeText(context, \"Connected\", Toast.LENGTH_SHORT).show();\n\t\t mLocationClient.requestLocationUpdates(mLocationRequest,this);\n\t}", "public void onLocationChange() {\n\t\tupdateWeather();\n\t\tgetLoaderManager().restartLoader(FORECAST_LOADER_ID, null, this);\n\t}", "protected void startLocationUpdates() {\n try {\n// LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n\n /* mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(6000); // two minute interval\n mLocationRequest.setFastestInterval(6000);//120000\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);*/\n /*if (ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }*/\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n// LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, (LocationListener) this);\n LocationServices.getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, null);\n// requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener);\n// requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);\n\n } catch (Exception e) {\n // TODO: handle exception\n e.printStackTrace();\n }\n }", "@Override\n public void onSuccess(Void aVoid) {\n Log.i(\"MainActivity\", \"requestLocationUpdatesWithCallback onSuccess\");\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void locationManager()\n\t{\n mMap.setMyLocationEnabled(true);\n\n // Getting LocationManager object from System Service LOCATION_SERVICE\n LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n // Creating a criteria object to retrieve provider\n Criteria criteria = new Criteria();\n\n // Getting the name of the best provider\n String provider = locationManager.getBestProvider(criteria, true);\n\n // Getting Current Location\n Location location = locationManager.getLastKnownLocation(provider);\n\n if(location!=null){\n onLocationChanged(location);\n }\n locationManager.requestLocationUpdates(provider, 20000, 0, this);\n\t\t\n\t}", "void startUpdate();", "public void checkForUpdate();", "private void updateUI() {\n// if (mCurrentLocation != null) {\n// mLatitudeTextView.setText(String.valueOf(mCurrentLocation.getLatitude()));\n// mLongitudeTextView.setText(String.valueOf(mCurrentLocation.getLongitude()));\n// mLastUpdateTimeTextView.setText(mLastUpdateTime);\n// }\n }", "@Override\n public void onFailure(Exception e) {\n Log.e(\"MainActivity\", \"requestLocationUpdatesWithCallback onFailure:\" + e.getMessage());\n }", "public void updateManager();", "public void stopUpdatesButtonHandler(View view) {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "@Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Toast.makeText(ATSLocationActivity.this, \"Location settings are satisfied\", Toast.LENGTH_SHORT).show();\n startLocationUpdates(locationRequest,locationCallback);\n }", "private void updateWithNewLocation(Location location)\n {\n\n float fLatitude = (float)0.0;\n float fLongitude = (float)0.0;\n float fHepe=(float)10000.0;\n byte ucNapUsed = 0;\n byte ucWiperErrorCode = 0;\n\n if (Config.LOGD) Log.d(TAG,\"Network Location callback\");\n\n if( location != null)\n {\n //read params from location structure return by WPS\n fLatitude = (float)(location.getLatitude());\n fLongitude = (float)(location.getLongitude());\n fHepe = location.getAccuracy();\n\n if(bScanCompleted == true)\n {\n ucNapUsed= (byte)aResults.size();\n }\n else\n {\n ucNapUsed = 50;\n }\n\n }\n else\n {\n ucWiperErrorCode = 99;\n }\n startWiperReport();\n native_notify_wiper_position(fLatitude,fLongitude,fHepe,ucNapUsed,ucWiperErrorCode);\n endWiperReport();\n\n }" ]
[ "0.80437785", "0.7995198", "0.7225287", "0.72134125", "0.70976245", "0.7075143", "0.69000494", "0.68054664", "0.6793523", "0.67396784", "0.6735202", "0.671261", "0.6639935", "0.6634797", "0.6627006", "0.66035247", "0.65167314", "0.6511761", "0.64830995", "0.64763224", "0.6462809", "0.6411251", "0.6359112", "0.6328293", "0.6328293", "0.6328293", "0.63258076", "0.6324543", "0.6307158", "0.63066304", "0.6305659", "0.6295525", "0.6226399", "0.6213037", "0.6209377", "0.6209377", "0.6158371", "0.61251235", "0.61087024", "0.60963476", "0.6095751", "0.60918164", "0.60825217", "0.60727715", "0.60663867", "0.60663867", "0.60652107", "0.60636485", "0.6045882", "0.6031039", "0.6011756", "0.6009226", "0.600644", "0.59900105", "0.5981884", "0.597376", "0.59641397", "0.59600556", "0.5953138", "0.59488535", "0.5937764", "0.5936318", "0.59262735", "0.59150165", "0.59006095", "0.58955336", "0.5891885", "0.58747596", "0.5874148", "0.5874005", "0.58663", "0.58599865", "0.5840991", "0.58005434", "0.5794674", "0.5779629", "0.57790864", "0.5775286", "0.57736385", "0.5771653", "0.5769707", "0.5753473", "0.5753473", "0.5753473", "0.5752959", "0.5749835", "0.57484394", "0.57421094", "0.56999993", "0.56929034", "0.5689126", "0.5684633", "0.56761396", "0.5670819", "0.5663344", "0.5646616", "0.5630829", "0.5624517", "0.5619981", "0.5607009" ]
0.66959834
12
Handles the Remove Updates button, and requests removal of location updates.
public void removeLocationUpdates(View view) { Log.i(TAG, "Removing location updates"); LocationRequestHelper.setRequesting(this, false); LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, getPendingIntent()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stopUpdatesButtonHandler() {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "private void removeLocationUpdatesWithIntent() {\n mFusedLocationProviderClient.removeLocationUpdates(mLocationCallback)\n // Define callback for success in stopping requesting location updates.\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Toast.makeText(MainActivity.this, \"Location Request Successfully Stopped\",LENGTH_SHORT).show();\n }\n })\n // Define callback for failure in stopping requesting location updates.\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(Exception e) {\n Toast.makeText(MainActivity.this, \"Location Request Failed to Stop\",LENGTH_SHORT).show();\n }\n });\n }", "public void stopUpdatesButtonHandler(View view) {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "public void stopUpdatesButtonHandler(View view) {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n setButtonsEnabledState();\n stopLocationUpdates();\n }\n }", "private void stopLocationUpdates() {\n if (!mRequestingLocationUpdates) {\n Log.e(TAG, \"stopLocationUpdates: updates never requested, no-op.\");\n return;\n }\n\n // It is a good practice to remove location requests when the activity is in a paused or\n // stopped state. Doing so helps battery performance and is especially\n // recommended in applications that request frequent location updates.\n mFusedLocationClient.removeLocationUpdates(mLocationCallback).addOnCompleteListener(this, new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n SunshinePreferences.setRequestUpdates(MainActivity.this, false);\n mRequestingLocationUpdates = false;\n }\n });\n }", "@RequestMapping(value = \"/location-updates/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteLocationUpdate(@PathVariable String id) {\n log.debug(\"REST request to delete LocationUpdate : {}\", id);\n locationUpdateRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"locationUpdate\", id.toString())).build();\n }", "public void cleanupUpdate();", "private void stopPeriodicUpdates() {\n\t\tmLocationClient.removeLocationUpdates(this);\n\t\tmConnectionState.setText(R.string.location_updates_stopped);\n\t}", "public void removeUpdates(LocationListener listener){\n\t\tlocationListeners.remove(listener);\n\t\tif(locationListeners.size() == 0){\n\t\t\tlocyNavigatorThread.interrupt();\n\t\t\tlocyNavigator.stop();\n\t\t}\n\t}", "private void removeLocation() {\n try {\n this.location_view.setVisibility(View.GONE);\n this.current_location.setVisibility(View.GONE);\n this.drop_location.setVisibility(View.GONE);\n this.mPostModel.setLocationPost(\"\");\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n // startLocationUpdates();\n }\n }", "@Override protected void onStop() {\n\tsuper.onStop();\n\tm_locManager.removeUpdates(this);\n }", "public synchronized void stopUpdates(){\n mHandler.removeCallbacks(mStatusChecker);\n }", "public void shutdownForUpdate();", "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n startLocationUpdates();\n }\n }", "private void updateButtonsState(boolean requestingLocationUpdates) {\n Log.d(TAG, \"updateButtonsState\");\n if (requestingLocationUpdates) {\n //mRequestUpdatesButton.setEnabled(false);\n //mRemoveUpdatesButton.setEnabled(true);\n } else {\n //mRequestUpdatesButton.setEnabled(true);\n //mRemoveUpdatesButton.setEnabled(false);\n }\n }", "public void onStop(){mainActivity.locationManager.removeUpdates(mainActivity.locationListener);}", "public void removeUpdate(DocumentEvent e)\n {\n performFlags();\n }", "@Override\n\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\n\t}", "@Override\r\n\t\t\t\t\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\t\t\t\tcheckID();\r\n\t\t\t\t\t}", "public void processRemoveStation() {\n AppYesNoDialogSingleton dialog = AppYesNoDialogSingleton.getSingleton();\n \n // POP UP THE DIALOG\n dialog.show(\"Remove Station\", \"Are you sure you want to remove this station?\");\n \n // DO REMOVE LINE \n dataManager.removeStation(); \n }", "@SuppressLint(\"MissingPermission\")\n private void requestLocationUpdate() {\n }", "public void stopUpdates();", "public void removeGeofencesButtonHandler() {\n if (!mGoogleApiClient.isConnected()) {\n Toast.makeText(mActivity, getString(R.string.not_connected), Toast.LENGTH_SHORT).show();\n return;\n }\n try {\n // Remove geofences.\n LocationServices.GeofencingApi.removeGeofences(\n mGoogleApiClient,\n // This is the same pending intent that was used in addGeofences().\n getGeofencePendingIntent()\n ).setResultCallback(this); // Result processed in onResult().\n } catch (SecurityException securityException) {\n // Catch exception generated if the app does not use ACCESS_FINE_LOCATION permission.\n logSecurityException(securityException);\n }\n }", "protected void stopLocationUpdates()\n {\n if (googleApiClient != null && googleApiClient.isConnected())\n {\n LocationServices.FusedLocationApi.removeLocationUpdates(googleApiClient, this);\n isRequestingLocationUpdates = false;\n }\n }", "public void handleUpdateItemButtonAction(ActionEvent event) {\n //delete all panes on actionHolderPane and add the updateItemPane\n setAllChildrenInvisible();\n updateItemPane.setVisible(true);\n this.handleOnShowAnimation(actionHolderPane);\n }", "protected void stopLocationUpdates() {\n // It is a good practice to remove location requests when the activity is in a paused or\n // stopped state. Doing so helps battery performance and is especially\n // recommended in applications that request frequent location updates.\n\n // The final argument to {@code requestLocationUpdates()} is a LocationListener\n // (http://developer.android.com/reference/com/google/android/gms/location/LocationListener.html).\n LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this);\n }", "protected void stopLocationUpdates() {\n // It is a good practice to remove location requests when the activity is in a paused or\n // stopped state. Doing so helps battery performance and is especially\n // recommended in applications that request frequent location updates.\n\n // The final argument to {@code requestLocationUpdates()} is a LocationListener\n // (http://developer.android.com/reference/com/google/android/gms/location/LocationListener.html).\n LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this);\n }", "@Override\n\t\t\tpublic void onLocationChanged(Location location) {\n\t\t\t\tnew PostDogShitTask().execute(location);\n\t\t\t\tmLocationManager.removeUpdates(mLocationListener);\n\t\t\t}", "@Override\n public void removeUpdate(DocumentEvent e) {\n verifierSaisie();\n }", "@Override\n public void onPause() {\n lm.removeUpdates(locationListener);\n super.onPause();\n }", "private void updateWeatherView(String cityName){\n\t\t\t\n\t\t\tif (cityName.equals(\"--Remove?--\")){\n\t\t\t\t\tint count = 0;\n\t\t\t\t\tJFrame frame = new JFrame();\n\t\t\t\t\tString[] possibilities = new String[app.getMyLocations().length];\n\t\t\t\t\tfor (int i = 0; i < app.getMyLocations().length; i ++){\n\t\t\t\t\t\tlocation loc = app.getMyLocations()[i];\n\t\t\t\t\t\tif (!loc.getName().equals(\"Default\")){\n\t\t\t\t\t\t\tpossibilities[i] = loc.getName() + \", \" + loc.getCountryCode() + \" Lat: \" + loc.getLatitude()\n\t\t\t\t\t\t\t\t\t+ \" Long: \" + loc.getLongitude();\n\t\t\t\t\t\t\tcount ++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tString response = (String) JOptionPane.showInputDialog(frame, \"Pick a location to remove:\", \"Remove Location\", \n\t\t\t\t\t\t\tJOptionPane.QUESTION_MESSAGE, null, Arrays.copyOfRange(possibilities, 0, count), \"Titan\");\n\t\t\t\t\tif (response != null){\n\t\t\t\t\t\tString countryCode = response.substring(response.indexOf(',') + 2, response.indexOf(',') + 5);\n\t\t\t\t\t\tcityName = response.substring(0, response.indexOf(','));\n\t\t\t\t\t\tapp.removeLocation(cityName, countryCode);\n\t\t\t\t\t}\n\t\t\t\t\tlocBar.removeActionListener(Jcombo);\n\t\t\t\t\tpopulateMyLocationsBox();\n\t\t\t\t\t\t\n\t\t\t } else if (cityName.equals(\"--Empty--\")){\n\t\t\t\t\t\t//Do nothing\n\t\t\t} else {\n\t\t\t\t\tlocation update = new location();\n\t\t\t\t\tString countryCode = cityName.substring(cityName.indexOf(',') + 2, cityName.indexOf(',') + 4);\n\t\t\t\t\tcityName = cityName.substring(0, cityName.indexOf(','));\n\t\t\t\t\tfor (int i = 0; i < app.getMyLocations().length; i ++){\n\t\t\t\t\t\tString checkName = app.getMyLocations()[i].getName();\n\t\t\t\t\t\tString checkCode = app.getMyLocations()[i].getCountryCode();\n\t\t\t\t\t\tif (checkName.equals(cityName) && checkCode.equals(countryCode)){\n\t\t\t\t\t\t\tupdate = app.getMyLocations()[i];\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tapp.setVisibleLocation(update);\n\t\t\t\t\trefreshPanels();\n\t\t\t}\n\t\t}", "@Override\n\tpublic void removeUpdate(DocumentEvent e) {\n\t\tif(!listenChange) return;\n\t\tdisplaySelf = false;\n\t\tint offset = e.getOffset();\n\t\tfor (int i = 0; i < e.getLength(); ++i) {\n\t\t\tthis.processRemove(offset);\n\t\t}\n\t}", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "public void startUpdatesButtonHandler(View view) {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n setButtonsEnabledState();\n startLocationUpdates();\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "@Override\n public void onDestroy() {\n notificationManager.cancel(AbstractTrackerActivity.NOTIFICATION_ID);\n locationManager.removeUpdates(this);\n super.onDestroy();\n }", "@Override\n public void onLocationChanged(Location location) {\n mMap.clear();\n latLng = new LatLng(location.getLatitude(), location.getLongitude());\n CameraPosition cameraPosition = new CameraPosition.Builder()\n .target(latLng).zoom(18).build();\n mMap.moveCamera(CameraUpdateFactory\n .newCameraPosition(cameraPosition));\n double lat = location.getLatitude();\n double lng = location.getLongitude();\n\n sendRequestAPI(lat,lng, places);\n //mMap.addMarker(new MarkerOptions().position(sydney));\n //mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney));\n\n LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this);\n\n }", "private void disableRequestLocationUpdate() {\n if (mLocationManager != null) {\n mLocationManager.removeUpdates(mLocationListener);\n mLocationManager = null;\n }\n }", "private void updateLocationToServer() {\n\n if (Utility.isConnectingToInternet(getActivity())) {\n\n if (mGpsTracker.canGetLocation()) {\n\n if (Utility.ischeckvalidLocation(mGpsTracker)) {\n\n Animation fade1 = AnimationUtils.loadAnimation(getActivity(), R.anim.flip);\n btnRefreshLocation.startAnimation(fade1);\n Map<String, String> params = new HashMap<String, String>();\n if (!AppConstants.isGestLogin(getActivity())) {\n params.put(\"iduser\", SharedPref.getInstance().getStringVlue(getActivity(), userId));\n } else {\n params.put(\"iduser\", \"0\");\n }\n\n params.put(\"latitude\", \"\" + mGpsTracker.getLatitude());\n params.put(\"longitude\", \"\" + mGpsTracker.getLongitude());\n RequestHandler.getInstance().stringRequestVolley(getActivity(), AppConstants.getBaseUrl(SharedPref.getInstance().getBooleanValue(getActivity(), isStaging)) + updatelocation, params, this, 5);\n fade1.cancel();\n } else {\n mGpsTracker.showInvalidLocationAlert();\n }\n } else {\n showSettingsAlert(5);\n }\n } else {\n Utility.showInternetError(getActivity());\n }\n\n }", "public void shutdown() {\n locationManager.removeUpdates(this);\n Log.i(TAG, \"GPS provider closed.\");\n }", "public void removeLocationObserver(String location);", "private void deleteButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteButtonActionPerformed\n // TODO add your handling code here:\n final LocationsDialog frame = this;\n\n SwingUtilities.invokeLater(new Runnable()\n {\n public void run()\n {\n LocationsTableModel model = (LocationsTableModel) locationsTable.getModel();\n int row = locationsTable.getSelectedRow();\n if (row == -1){\n JOptionPane.showMessageDialog(frame,\n \"Please select a location from the table to delete \",\n \"No selection made\",\n JOptionPane.ERROR_MESSAGE);\n }\n else\n {\n Location location = editLocationRequest(row);\n // TODO add delete Location handling code here:\n String msg = \"Are sure to delete this Location?\";\n\n int n = JOptionPane.showConfirmDialog(\n null,\n msg,\n \"Confirm\",\n JOptionPane.YES_NO_OPTION);\n\n if (n == 1) {\n return;\n }\n\n try{\n WorkletContext context = WorkletContext.getInstance();\n if (!Helper.delete(location, \"Locations\", context)) {\n System.out.print(\"Delete failed!\");\n }\n else\n {\n System.out.print(\"Delete successful\");\n }\n\n }catch(Exception ex){\n\n }\n }\n refreshLocations();\n model.fireTableDataChanged();\n\n }\n\n });\n\n }", "@Override\n public void requestLocationUpdates() {\n handler = new Handler();\n handler.postDelayed(new LocationUpdateRunnable(), UPDATE_INTERVAL_MS);\n }", "@Override\n\tpublic void onStop(Context context) {\n\t\tmLocationManager.removeUpdates(listener);\n\t}", "public void removeLocationUpdates() {\n timer.schedule(new TimerTask() {\n @Override\n public void run() {\n if (insideOrganization != null) {\n\n organizationAccess = new OrganizationAccess();\n //Update the access' list when the user exits from organization.\n organizationAccess.setEntranceTimestamp(organizationAccessTime);\n organizationAccess.setAccessType(accessType);\n organizationAccess.setOrganizationId(insideOrganization.getOrgID());\n organizationAccess.setOrgName(insideOrganization.getName());\n organizationAccess.setExitTimestamp(OffsetDateTime.now());\n organizationAccess.setTimeStay(HomePageActivity.getCurrentTime());\n\n if (HomePageActivity.getSwitcherModeStatus()) {\n //Comunicates the server that user is outside the organization(authenticated).\n server.performOrganizationMovementServer(insideOrganization.getOrgAuthServerID(), insideOrganization.getOrgID(), userToken, -1, organizationMovement.getExitToken(),organizationAccess,prefsEditor,gson);\n } else {\n //Comunicates the server that user is outside the organization(anonymous).\n server.performOrganizationMovementServer(null, insideOrganization.getOrgID(),userToken, -1, organizationMovement.getExitToken(), organizationAccess,prefsEditor,gson);\n }\n\n flag = false;\n\n\n organizationMovement = null;\n String organizationMovementJson = gson.toJson(null);\n String insideOrganizationJson = gson.toJson(null);\n prefsEditor.putString(\"organizationMovement\",organizationMovementJson);\n prefsEditor.putString(\"insideOrganization\",insideOrganizationJson);\n prefsEditor.commit();\n }\n if (insidePlace != null) {\n\n placeAccess = new PlaceAccess();\n //Update the access' list when the user exits from organization and place.\n placeAccess.setEntranceTimestamp(placeAccessTime);\n placeAccess.setPlaceName(insidePlace.getName());\n placeAccess.setOrgId(orgID);\n placeAccess.setExitTimestamp(OffsetDateTime.now());\n\n if (HomePageActivity.getSwitcherModeStatus()) {\n //Comunicates the server that user is outside the place(authenticated).\n server.performPlaceMovementServer(placeMovement.getExitToken(), -1, insidePlace.getId(), insideOrganization.getOrgAuthServerID(), userToken, placeAccess,prefsEditor,gson);\n } else {\n //Comunicates the server that user is outside the place(anonymous).\n server.performPlaceMovementServer(placeMovement.getExitToken(), -1, insidePlace.getId(), null, userToken, placeAccess,prefsEditor,gson);\n }\n\n //Deletes the place's list of the organization.\n insidePlace = null;\n placeMovement = null;\n String placeMovementJson = gson.toJson(null);\n String insidePlacejson = gson.toJson(null);\n prefsEditor.putString(\"placeMovement\",placeMovementJson);\n prefsEditor.putString(\"insidePlace\",insidePlacejson);\n prefsEditor.commit();\n }\n\n }\n }, 2000);\n\n if (insideOrganization != null) {\n Toast.makeText(getApplicationContext(), \"Sei uscito dall'organizzazione: \" + insideOrganization.getName(), Toast.LENGTH_SHORT).show();\n\n }\n if (insidePlace != null) {\n Toast.makeText(getApplicationContext(), \"Sei uscito dal luogo: \" + insidePlace.getName(), Toast.LENGTH_SHORT).show();\n\n }\n\n HomePageActivity.setNameOrg(\"Nessuna organizzazione\");\n HomePageActivity.setNamePlace(\"Nessun luogo\");\n HomePageActivity.playPauseTimeService();\n HomePageActivity.resetTime();\n\n HomePageActivity.playPauseTimeServicePlace();\n HomePageActivity.resetTimePlace();\n\n timer.schedule(new TimerTask() {\n @Override\n public void run() {\n Intent intent = new Intent(ACTION_BROADCAST);\n intent.putExtra(EXTRA_LOCATION, mLocation);\n LocalBroadcastManager.getInstance(getApplicationContext()).sendBroadcast(intent);\n }\n },5000);\n //Reset of all parameters.\n Log.i(TAG, \"Removing location updates\");\n\n try {\n mFusedLocationClient.removeLocationUpdates(mLocationCallback);\n Utils.setRequestingLocationUpdates(this, false);\n if(!mPrefs.getBoolean(\"switchTrack\", false)) {\n stopSelf();\n }\n\n } catch (SecurityException unlikely) {\n Utils.setRequestingLocationUpdates(this, true);\n Log.e(TAG, \"Lost location permission. Could not remove updates. \" + unlikely);\n }\n }", "@Override\n\tprotected void onPause() {\n\t\tsuper.onPause();\n\t\tlocationManager.removeUpdates(this);\n\t}", "@Override\n\tprotected void onPause() {\n\t\tsuper.onPause();\n\t\tlocationManager.removeUpdates(this);\n\t}", "private void updateLocationUI() {\n if (map == null) {\n return;\n }\n try {\n if (locationPermissionGranted) {\n map.setMyLocationEnabled(true);\n map.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n map.setMyLocationEnabled(false);\n map.getUiSettings().setMyLocationButtonEnabled(false);\n lastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "public abstract void updateLocations();", "private void onUpdateSelected() {\r\n mUpdaterData.updateOrInstallAll_WithGUI(\r\n null /*selectedArchives*/,\r\n false /* includeObsoletes */,\r\n 0 /* flags */);\r\n }", "@Override\n\t\t\t\tpublic void removeUpdate(DocumentEvent e) {\n\t\t\t\t\tchange();\n\t\t\t\t}", "public void clickOnUpdateButton() {\r\n\t\tsafeJavaScriptClick(updateButton);\r\n\t}", "public void clickOnUpdateBtnGroupList() {\r\n\t\t\tsafeJavaScriptClick(manageVehiclesSideBar.replace(\"Manage Vehicles\", \"Update\"));\r\n\t\t}", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "private void checkForUpdates() {\n UpdateManager.register(this);\n }", "public void run() {\n main.removeUser(location);\n }", "public void removeSkyModelUpdateListener(SkyModelUpdateListener l) throws RemoteException {\n\t\tif (!listeners.contains(l))\n\t\t\treturn;\n\n\t\t// add to kill list\n\t\tslogger.create().info().level(2).msg(\"Received request to remove listener: \" + l).send();\n\t\tdeleteListeners.add(l);\n\t}", "@Override\r\n public void onUpdateReturned(int updateStatus, UpdateResponse updateInfo) {\n switch (updateStatus) {\r\n case UpdateStatus.Yes: // has update\r\n UmengUpdateAgent.showUpdateDialog(mContext, updateInfo);\r\n break;\r\n case UpdateStatus.No: // has no update\r\n Toast.makeText(mContext, \"没有更新\", Toast.LENGTH_SHORT).show();\r\n break;\r\n case UpdateStatus.NoneWifi: // none wifi\r\n Toast.makeText(mContext, \"没有wifi连接, 只在wifi下更新\", Toast.LENGTH_SHORT).show();\r\n break;\r\n case UpdateStatus.Timeout: // time out\r\n Toast.makeText(mContext, \"请检查网络\", Toast.LENGTH_SHORT).show();\r\n break;\r\n }\r\n }", "private void updateLocationUi() {\n if (mMap == null) {\n return;\n }\n try {\n if (mPermissionCheck.locationPermissionGranted()) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "@Test\n public void testRemoveLocation() throws Exception {\n EventData deltaEvent = prepareDeltaEvent(createdEvent);\n deltaEvent.setLocation(\"\");\n\n updateEventAsOrganizer(deltaEvent);\n\n /*\n * Check that location has been updated\n */\n AnalyzeResponse analyzeResponse = receiveUpdateAsAttendee(PartStat.ACCEPTED, CustomConsumers.ALL);\n AnalysisChange change = assertSingleChange(analyzeResponse);\n assertSingleDescription(change, \"The location of the appointment has been removed\");\n }", "public abstract void removeLocation(Location location);", "public void updateMenusRegardingGPSData() {\r\n\t\tthis.menuBar.updateAdditionalGPSMenuItems();\r\n\t\tthis.menuToolBar.updateGoogleEarthToolItem();\r\n\t}", "void update(Location location);", "private void rSButton6ActionPerformed(java.awt.event.ActionEvent evt) {\n home.removeAll();\n home.repaint();\n home.revalidate();\n \n home.add(updatepanel);\n home.repaint();\n home.revalidate();\n update1();\n }", "public void receivedUpdateFromServer();", "void stopListener()\n {\n\n locationManager.removeUpdates(RetriveLocation.this);\n isListening = false;\n }", "public synchronized void endUpdates() {\n checkState(_recentlyTouched != null, \"The beginUpdates method has not been called.\");\n Iterator<String> iter = _metrics.keySet().iterator();\n while (iter.hasNext()) {\n String metric = iter.next();\n if (!_recentlyTouched.contains(metric)) {\n _registry.remove(metric);\n iter.remove();\n }\n }\n _recentlyTouched = null;\n }", "public abstract void onRemoveAction();", "public void actionPerformed( ActionEvent event )\n {\n KalumetConsoleApplication.getApplication().getLogPane().addInfo(\n \"Software \" + name + \" location \" + locationName + \" update in progress ...\",\n parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add(\n \"Software \" + name + \" location \" + locationName + \" update requested.\" );\n // start the update thread\n final UpdateLocationThread updateThread = new UpdateLocationThread();\n updateThread.locationName = locationName;\n updateThread.start();\n // sync with the client\n KalumetConsoleApplication.getApplication().enqueueTask(\n KalumetConsoleApplication.getApplication().getTaskQueue(), new Runnable()\n {\n public void run()\n {\n if ( updateThread.ended )\n {\n if ( updateThread.failure )\n {\n KalumetConsoleApplication.getApplication().getLogPane().addError(\n updateThread.message, parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add( updateThread.message );\n }\n else\n {\n KalumetConsoleApplication.getApplication().getLogPane().addConfirm(\n \"Software \" + name + \" location \" + locationName + \" updated.\",\n parent.getEnvironmentWindow().getEnvironmentName() );\n parent.getEnvironmentWindow().getChangeEvents().add(\n \"Software \" + name + \" location \" + locationName + \" updated.\" );\n }\n }\n else\n {\n KalumetConsoleApplication.getApplication().enqueueTask(\n KalumetConsoleApplication.getApplication().getTaskQueue(), this );\n }\n }\n } );\n }", "@Override\n public void onPause(){\n super.onPause();\n locationManager.removeUpdates(this);\n }", "public void updateButtonVisibility() {\n mLocationBarMediator.updateButtonVisibility();\n }", "@Override\n\tpublic void remove(MainFrameUpdater mfu) {\n\t\t\n\t}", "private void removeRcmButtonHandler() {\n\t\tTitledBorder border = new TitledBorder(\" REMOVE RCM\");\n\t\tborder.setTitleFont(new Font(\"TimesNewRoman\", Font.BOLD, 12));\n\t\tdisplayPanel.setBorder(border);\n\t\t\n\t\tdisplayPanel.removeAll();\n\t\tdisplayPanel.add(new RemoveRcmPanel(rmos, rmosManager, statusManager));\n\t\tdisplayPanel.revalidate();\n\t\tdisplayPanel.repaint();\n\t}", "void actuallyRemove() {\n /*\n * // Set the TextViews View v = mListView.getChildAt(mRemovePosition -\n * mListView.getFirstVisiblePosition()); TextView nameView =\n * (TextView)(v.findViewById(R.id.sd_name));\n * nameView.setText(R.string.add_speed_dial);\n * nameView.setEnabled(false); TextView labelView =\n * (TextView)(v.findViewById(R.id.sd_label)); labelView.setText(\"\");\n * labelView.setVisibility(View.GONE); TextView numberView =\n * (TextView)(v.findViewById(R.id.sd_number)); numberView.setText(\"\");\n * numberView.setVisibility(View.GONE); ImageView removeView =\n * (ImageView)(v.findViewById(R.id.sd_remove));\n * removeView.setVisibility(View.GONE); ImageView photoView =\n * (ImageView)(v.findViewById(R.id.sd_photo));\n * photoView.setVisibility(View.GONE); // Pref\n */\n mPrefNumState[mRemovePosition + 1] = \"\";\n mPrefMarkState[mRemovePosition + 1] = -1;\n SharedPreferences.Editor editor = mPref.edit();\n editor.putString(String.valueOf(mRemovePosition + 1), mPrefNumState[mRemovePosition + 1]);\n editor.putInt(String.valueOf(offset(mRemovePosition + 1)),\n mPrefMarkState[mRemovePosition + 1]);\n editor.apply();\n startQuery();\n }", "public void stopOnClick() {\r\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\r\n // TODO: Consider calling\r\n // ActivityCompat#requestPermissions\r\n // here to request the missing permissions, and then overriding\r\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\r\n // int[] grantResults)\r\n // to handle the case where the user grants the permission. See the documentation\r\n // for ActivityCompat#requestPermissions for more details.\r\n return;\r\n }\r\n locationManager.removeUpdates(this);\r\n }", "protected void removeButtonActionPerformed() {\n\t\tFoodTruckManagementSystem ftms = FoodTruckManagementSystem.getInstance();\n\t\t// Initialize controller\n\t\tMenuController mc = new MenuControllerAdapter();\n\n\t\t// Get selected supply type\n\t\tSupply supply = null;\n\t\ttry {\n\t\t\tsupply = item.getSupply(supplyList.getSelectedIndex());\n\t\t} catch (NullPointerException | IndexOutOfBoundsException e) {\n\t\t}\n\t\t\n\t\t// Remove from item\n\t\ttry {\n\t\t\tmc.removeIngredient(item, supply);\n\t\t} catch (InvalidInputException e) {\n\t\t\terror = e.getMessage();\n\t\t}\n\t\t\n\t\trefreshData();\n\t\t\n\t}", "public void deleteLocation(String idUser, List<LocationDTO> loc);", "protected void updateLocationUI() {\n if (mCurrentLocation != null) {\n //TrackDataCSVHelper myCSV2 = new TrackDataCSVHelper();\n //mDistanceFromWaypointText.setText(String.valueOf(myCSV2.getLon(track, this))); //<-- used this to test getting proper lat/lon\n //mDistanceFromWaypointText.setText(String.format(\"%s: %f\", \"Dist from WP\", mDistanceFromWaypoint));\n //mZoneStatusText.setText(\"IN THE ZONE? \" + mIsInZone);\n //mNumberUpdates.setText(String.valueOf(mNum));\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n\n // Display the user selected map type\n mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);\n\n MapStyleOptions style = MapStyleOptions.loadRawResourceStyle(mContext, R.raw.map_style_night);\n mMap.setMapStyle(style);\n\n // Don't want to display the default location button because\n // we are already displaying using a FAB\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n\n mMap.setOnMyLocationClickListener(this);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "@Override\n public void onFailure(Exception e) {\n Log.e(\"MainActivity\", \"requestLocationUpdatesWithCallback onFailure:\" + e.getMessage());\n }", "public void updateLocation();", "private void updateUI() {\n if (mCurrentLocation != null) {\n mLatitudeTextView.setText(String.valueOf(mCurrentLocation.getLatitude()));\n mLongitudeTextView.setText(String.valueOf(mCurrentLocation.getLongitude()));\n mLastUpdateTimeTextView.setText(mLastUpdateTime);\n\n localLatitude = Double.parseDouble(mLatitudeTextView.getText().toString());\n localLongtitude = Double.parseDouble(mLongitudeTextView.getText().toString());\n double newDistance = Math.round(gps2m(previousLatitude, previousLongitude, localLatitude, localLongtitude) * 100) / 100.0;\n\n /*\n if (!mStartUpdatesButton.isEnabled()) {\n mMoveTextView.setText(String.valueOf(newDistance) + \" m\");\n totalDistance += newDistance;\n\n mTotalDistanceTextView.setText(String.valueOf(totalDistance) + \"m\");\n }\n previousLatitude = localLatitude != 0 ? localLatitude : previousLongitude;\n previousLongitude = localLongtitude != 0 ? localLongtitude : previousLatitude;\n\n\n if (!mStartUpdatesButton.isEnabled()) {\n double speed = Double.parseDouble(timeToSpeed());\n\n timeslots.add(System.currentTimeMillis());\n userspeeds.add((float) speed);\n float randomspeed = (float)Math.random()*6;\n compspeeds.add(randomspeed);\n mSpeedTextView.setText(String.valueOf(speed) + \"km/h\");\n\n //TODO: change weight\n double calValue = calorieCalculator(weight, timeSingleValue / 3600, speed);\n calValue = Math.round(calValue * 100) / 100;\n calValue = calValue < 0 ? 0 : calValue;\n calValue = calValue > 100 ? 100 : calValue;\n calValue = calValue / 1000;\n mCalTextView.setText(String.valueOf(calValue));\n compDistance += 5*randomspeed/3600*1000;\n int predictedCalories = (int) Math.round((calValue / timeSingleValue)) * 3600;\n mCalPredictTextView.setText(String.valueOf(predictedCalories));\n\n\n if (compDistance > totalDistance) {\n if (status == 0 || status == 1) {\n MediaPlayer mediaPlayer1 = MediaPlayer.create(getApplicationContext(), R.raw.tooslow);\n mediaPlayer1.start();\n status = 2;\n }\n } else {\n if (status == 0 || status == 2) {\n MediaPlayer mediaPlayer2 = MediaPlayer.create(getApplicationContext(), R.raw.toofast);\n mediaPlayer2.start();\n status = 1;\n }\n }\n }\n */\n if (!mStartUpdatesButton.isEnabled()) {\n mMoveTextView.setText(String.valueOf(newDistance) + \" m\");\n totalDistance += newDistance;\n double totalDistanceOutput = Math.round(totalDistance * 100) / 100.0;\n totalDistanceOutput = totalDistanceOutput < 0 ? 0 : totalDistanceOutput;\n mTotalDistanceTextView.setText(String.valueOf(totalDistanceOutput) + \"m\");\n }\n previousLatitude = localLatitude != 0 ? localLatitude : previousLongitude;\n previousLongitude = localLongtitude != 0 ? localLongtitude : previousLatitude;\n if (!mStartUpdatesButton.isEnabled()) {\n double speed = Double.parseDouble(timeToSpeed());\n timeslots.add(System.currentTimeMillis());\n userspeeds.add((float) speed);\n float randomspeed = (float) Math.random() * 2;\n compspeeds.add(randomspeed);\n mSpeedTextView.setText(String.valueOf(speed) + \" km/h\");\n double calValue = calorieCalculator(weight, timeSingleValue / 3600, speed);\n calValue = calValue < 0 ? 0 : calValue;\n calValue = calValue > 100 ? 100 : calValue;\n calValue = calValue / 1000.0 * 60;\n calValue = Math.round(calValue * 100) / 100.0;\n mCalTextView.setText(String.valueOf(calValue) + \" kCal/m\");\n compDistance += 5 * randomspeed / 3600 * 1000;\n double predictedCalories = (calValue / timeSingleValue) * 60;\n predictedCalories = (predictedCalories < 0 || predictedCalories > 100000) ? 0 : predictedCalories;\n mCalPredictTextView.setText(\"~ \" + String.valueOf(predictedCalories) + \" kCal\");\n\n if (compDistance > totalDistance) {\n if (status == 0 || status == 1) {\n MediaPlayer mediaPlayer1 = MediaPlayer.create(getApplicationContext(), R.raw.tooslow);\n mediaPlayer1.start();\n status = 2;\n }\n } else {\n if (status == 0 || status == 2) {\n MediaPlayer mediaPlayer2 = MediaPlayer.create(getApplicationContext(), R.raw.toofast);\n mediaPlayer2.start();\n status = 1;\n }\n }\n }\n }\n }", "@Override\n public void onDestroy(){\n super.onDestroy();\n Log.i(TAG, \"Location Service has been destroyed\");\n stopLocationUpdates();\n stopSelf();\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "void purgeContent(List<Md2Entity> updates);", "private void unregisterForGPS() {\n Log.d(NAMAZ_LOG_TAG, \"unregisterForGPS:\");\n ((LocationManager) getSystemService(Context.LOCATION_SERVICE))\n .removeUpdates(qiblaManager);\n\n }", "@Override\r\n public void removeUpdate(DocumentEvent e) {\n ActivoTimer();\r\n }", "@Override\n public void onStop() {\n super.onStop();\n if(locationEngine != null){\n locationEngine.removeLocationUpdates();\n }\n if(locationLayerPlugin != null){\n locationLayerPlugin.onStop();\n }\n\n mapView.onStop();\n }", "@Override\r\n public void deactivate() {\n locationManager.removeUpdates(this);\r\n mContext = null;\r\n locationManager = null;\r\n locationRequest = null;\r\n mChangedListener = null;\r\n }", "@Override\n public void onClick(View v) {\n locationManager.removeUpdates(SessionActivity.this);\n wakeLock.release();\n finish();\n }", "@Override\n protected void onPause() {\n super.onPause();\n providerClient.removeLocationUpdates(locationCallback);\n }", "private void updateUi() {\n final int numPoints = map.getPolyLinePoints(featureId).size();\n final MapPoint location = map.getGpsLocation();\n\n // Visibility state\n playButton.setVisibility(inputActive ? View.GONE : View.VISIBLE);\n pauseButton.setVisibility(inputActive ? View.VISIBLE : View.GONE);\n recordButton.setVisibility(inputActive && recordingEnabled && !recordingAutomatic ? View.VISIBLE : View.GONE);\n\n // Enabled state\n zoomButton.setEnabled(location != null);\n backspaceButton.setEnabled(numPoints > 0);\n clearButton.setEnabled(!inputActive && numPoints > 0);\n settingsView.findViewById(R.id.manual_mode).setEnabled(location != null);\n settingsView.findViewById(R.id.automatic_mode).setEnabled(location != null);\n\n if (intentReadOnly) {\n playButton.setEnabled(false);\n backspaceButton.setEnabled(false);\n clearButton.setEnabled(false);\n }\n // Settings dialog\n\n // GPS status\n boolean usingThreshold = isAccuracyThresholdActive();\n boolean acceptable = location != null && isLocationAcceptable(location);\n int seconds = INTERVAL_OPTIONS[intervalIndex];\n int minutes = seconds / 60;\n int meters = ACCURACY_THRESHOLD_OPTIONS[accuracyThresholdIndex];\n locationStatus.setText(\n location == null ? getString(org.odk.collect.strings.R.string.location_status_searching)\n : !usingThreshold ? getString(org.odk.collect.strings.R.string.location_status_accuracy, location.accuracy)\n : acceptable ? getString(org.odk.collect.strings.R.string.location_status_acceptable, location.accuracy)\n : getString(org.odk.collect.strings.R.string.location_status_unacceptable, location.accuracy)\n );\n locationStatus.setBackgroundColor(\n location == null ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : acceptable ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : getThemeAttributeValue(this, com.google.android.material.R.attr.colorError)\n );\n collectionStatus.setText(\n !inputActive ? getString(org.odk.collect.strings.R.string.collection_status_paused, numPoints)\n : !recordingEnabled ? getString(org.odk.collect.strings.R.string.collection_status_placement, numPoints)\n : !recordingAutomatic ? getString(org.odk.collect.strings.R.string.collection_status_manual, numPoints)\n : !usingThreshold ? (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes, numPoints, minutes) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds, numPoints, seconds)\n )\n : (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes_accuracy, numPoints, minutes, meters) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds_accuracy, numPoints, seconds, meters)\n )\n );\n }", "public void update()\n\t{\n\t\tgrid.draw();\n\t\tmonsterSpawner.update();\n\t\tjewelSpawner.update();\n\t\t\n\t\tint numOnCenter = 0;\n\t\tfor (Player player : players)\n\t\t\tif (player.getSprite().onCenterArea())\n\t\t\t\tnumOnCenter++;\n\t\tfor (Player player : players) {\n\t\t\tif (numOnCenter < 2 && player.getSprite().onCenterArea())\n\t\t\t\tplayer.addScore(Clock.getSeconds());\n\t\t\tplayer.update();\n\t\t}\n\t\tfor (Iterator<Projectile> iterator = projectiles.iterator(); iterator.hasNext();) {\n\t\t\tProjectile projectile = iterator.next();\n\t\t\tif (!projectile.exists())\n\t\t\t\titerator.remove();\n\t\t\telse\n\t\t\t\tprojectile.update();\n\t\t}\n\t\t\n\t\tui.update();\n\t\tfor (int i = traps.size() - 1; i >= 0; i--)\n\t\t{\n\t\t\tTrap trap = traps.get(i);\n\t\t\ttrap.update();\n\t\t\tif (!trap.exists())\n\t\t\t{\n\t\t\t\ttraps.remove(i);\n\t\t\t\tgrid.removeEntity(trap.getCurrentTile());\n\t\t\t}\n\t\t}\n\t}", "public void addUpdateBtn() {\n if (isInputValid()) {\n if ( action.equals(Constants.ADD) ) {\n addCustomer(createCustomerData());\n } else if ( action.equals(Constants.UPDATE) ){\n updateCustomer(createCustomerData());\n }\n cancel();\n }\n }", "public void updateManager();", "@Override\n public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {\n for (int appWidgetId : appWidgetIds) {\n\n startServiceToDisplayList(appWidgetId, context);\n\n handleRemoteViewClick(context);\n\n updateAppWidget(context, appWidgetManager, appWidgetId);\n }\n }" ]
[ "0.67908335", "0.66523945", "0.6131501", "0.6113677", "0.60736996", "0.60134697", "0.5995345", "0.5899558", "0.58894277", "0.5830847", "0.58167845", "0.5802714", "0.5787565", "0.5766662", "0.57123", "0.5687908", "0.56487864", "0.5591576", "0.5523533", "0.5501209", "0.5459397", "0.54337245", "0.5386491", "0.5384386", "0.537769", "0.5370574", "0.5369186", "0.5369186", "0.534119", "0.53100306", "0.53003544", "0.5297801", "0.5297614", "0.5295538", "0.523141", "0.52310914", "0.52310914", "0.52310914", "0.5224961", "0.52238953", "0.5218369", "0.52128863", "0.5207788", "0.51682985", "0.51651025", "0.5163862", "0.51611936", "0.5159634", "0.5152122", "0.5152122", "0.51499045", "0.513577", "0.5128066", "0.5127948", "0.51102144", "0.5097859", "0.5078429", "0.5078429", "0.5073608", "0.50694835", "0.50572807", "0.50570863", "0.50559264", "0.5047734", "0.5040664", "0.50405324", "0.5022592", "0.5018296", "0.50094336", "0.4987573", "0.4976806", "0.49745014", "0.49689385", "0.4967872", "0.49645737", "0.49590927", "0.49498883", "0.4947388", "0.49376076", "0.4930338", "0.49266854", "0.49231452", "0.49230465", "0.49174583", "0.49167994", "0.49064308", "0.48941734", "0.48909342", "0.48903206", "0.48822945", "0.48787493", "0.48783654", "0.48726022", "0.48723593", "0.48700637", "0.48590797", "0.48542044", "0.4845054", "0.48422697", "0.48287418" ]
0.6188122
2
Ensures that only one button is enabled at any time. The Start Updates button is enabled if the user is not requesting location updates. The Stop Updates button is enabled if the user is requesting location updates.
private void updateButtonsState(boolean requestingLocationUpdates) { Log.d(TAG, "updateButtonsState"); if (requestingLocationUpdates) { //mRequestUpdatesButton.setEnabled(false); //mRemoveUpdatesButton.setEnabled(true); } else { //mRequestUpdatesButton.setEnabled(true); //mRemoveUpdatesButton.setEnabled(false); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setButtonsEnabledState() {\n if (mRequestingLocationUpdates) {\n mStartUpdatesButton.setEnabled(false);\n mStopUpdatesButton.setEnabled(true);\n } else {\n mStartUpdatesButton.setEnabled(true);\n mStopUpdatesButton.setEnabled(false);\n }\n }", "private void setButtonsEnabledState() {\n if (mBroadcastingLocation) {\n mStartButton.setEnabled(false);\n mStopButton.setEnabled(true);\n } else {\n mStartButton.setEnabled(true);\n mStopButton.setEnabled(false);\n }\n }", "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n // startLocationUpdates();\n }\n }", "public void startUpdatesButtonHandler() {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n startLocationUpdates();\n }\n }", "protected void UpdateButtons()\n {\n btnIn.setEnabled(usr.getPostType() == Util.ATTENDANCE_DAY_OUT);\n btnOut.setEnabled(usr.getPostType()== Util.ATTENDANCE_DAY_IN\n || usr.getPostType()== Util.ATTENDANCE_BETWEEN);\n btnScan.setEnabled(usr.getPostType()== Util.ATTENDANCE_DAY_IN\n || usr.getPostType()== Util.ATTENDANCE_BETWEEN);\n\n }", "public void stopUpdatesButtonHandler() {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "public void updateButtons(){\n\t\tif (Player.getPlayer(this).questManager.atMaxNumQuests()) {\n\t\t\tcreateQuest.setEnabled(false);\n\t\t} else {\n\t\t\tcreateQuest.setEnabled(true);\n\t\t}\n\t\tif (selectedQuest != null){\n\t\t\tdeleteQuest.setEnabled(true);\n\t\t\tcompleteQuest.setEnabled(true);\n\t\t} else {\n\t\t\tdeleteQuest.setEnabled(false);\n\t\t\tcompleteQuest.setEnabled(false);\n\t\t}\n\t}", "public void startUpdatesButtonHandler(View view) {\n if (!mRequestingLocationUpdates) {\n mRequestingLocationUpdates = true;\n setButtonsEnabledState();\n startLocationUpdates();\n }\n }", "private void updateButtonsState() {\r\n ISelection sel = mTableViewerPackages.getSelection();\r\n boolean hasSelection = sel != null && !sel.isEmpty();\r\n\r\n mUpdateButton.setEnabled(mTablePackages.getItemCount() > 0);\r\n mDeleteButton.setEnabled(hasSelection);\r\n mRefreshButton.setEnabled(true);\r\n }", "private void updateLocationUi() {\n if (mMap == null) {\n return;\n }\n try {\n if (mPermissionCheck.locationPermissionGranted()) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void toggleButtonsEnabled() {\r\n final Button headsBtn = findViewById(R.id.b_heads);\r\n final Button tailsBtn = findViewById(R.id.b_tails);\r\n final Button startBtn = findViewById(R.id.b_startGame);\r\n\r\n headsBtn.setEnabled(false);\r\n tailsBtn.setEnabled(false);\r\n startBtn.setEnabled(true);\r\n }", "private void updateButtons() {\n\t\tif (selectedDownload != null) {\n\t\t\tint status = selectedDownload.getStatus();\n\t\t\tswitch (status) {\n\t\t\t\tcase Download.DOWNLOADING:\n\t\t\t\t\tpauseButton.setEnabled(true);\n\t\t\t\t\tresumeButton.setEnabled(false);\n\t\t\t\t\tcancelButton.setEnabled(true);\n\t\t\t\t\tclearButton.setEnabled(false);\n\t\t\t\t\tbreak;\n\t\t\t\tcase Download.PAUSED:\n\t\t\t\t\tpauseButton.setEnabled(false);\n\t\t\t\t\tresumeButton.setEnabled(true);\n\t\t\t\t\tcancelButton.setEnabled(true);\n\t\t\t\t\tclearButton.setEnabled(false);\n\t\t\t\t\tbreak;\n\t\t\t\tcase Download.ERROR:\n\t\t\t\t\tpauseButton.setEnabled(false);\n\t\t\t\t\tresumeButton.setEnabled(true);\n\t\t\t\t\tcancelButton.setEnabled(false);\n\t\t\t\t\tclearButton.setEnabled(true);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault: // COMPLETE or CANCELLED\n\t\t\t\t\tpauseButton.setEnabled(false);\n\t\t\t\t\tresumeButton.setEnabled(false);\n\t\t\t\t\tcancelButton.setEnabled(false);\n\t\t\t\t\tclearButton.setEnabled(true);\n\t\t\t}\n\t\t} else {\n\t\t\t// No download is selected in table.\n\t\t\tpauseButton.setEnabled(false);\n\t\t\tresumeButton.setEnabled(false);\n\t\t\tcancelButton.setEnabled(false);\n\t\t\tclearButton.setEnabled(false);\n\t\t}\n\t}", "private void updateUi() {\n final int numPoints = map.getPolyLinePoints(featureId).size();\n final MapPoint location = map.getGpsLocation();\n\n // Visibility state\n playButton.setVisibility(inputActive ? View.GONE : View.VISIBLE);\n pauseButton.setVisibility(inputActive ? View.VISIBLE : View.GONE);\n recordButton.setVisibility(inputActive && recordingEnabled && !recordingAutomatic ? View.VISIBLE : View.GONE);\n\n // Enabled state\n zoomButton.setEnabled(location != null);\n backspaceButton.setEnabled(numPoints > 0);\n clearButton.setEnabled(!inputActive && numPoints > 0);\n settingsView.findViewById(R.id.manual_mode).setEnabled(location != null);\n settingsView.findViewById(R.id.automatic_mode).setEnabled(location != null);\n\n if (intentReadOnly) {\n playButton.setEnabled(false);\n backspaceButton.setEnabled(false);\n clearButton.setEnabled(false);\n }\n // Settings dialog\n\n // GPS status\n boolean usingThreshold = isAccuracyThresholdActive();\n boolean acceptable = location != null && isLocationAcceptable(location);\n int seconds = INTERVAL_OPTIONS[intervalIndex];\n int minutes = seconds / 60;\n int meters = ACCURACY_THRESHOLD_OPTIONS[accuracyThresholdIndex];\n locationStatus.setText(\n location == null ? getString(org.odk.collect.strings.R.string.location_status_searching)\n : !usingThreshold ? getString(org.odk.collect.strings.R.string.location_status_accuracy, location.accuracy)\n : acceptable ? getString(org.odk.collect.strings.R.string.location_status_acceptable, location.accuracy)\n : getString(org.odk.collect.strings.R.string.location_status_unacceptable, location.accuracy)\n );\n locationStatus.setBackgroundColor(\n location == null ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : acceptable ? getThemeAttributeValue(this, com.google.android.material.R.attr.colorPrimary)\n : getThemeAttributeValue(this, com.google.android.material.R.attr.colorError)\n );\n collectionStatus.setText(\n !inputActive ? getString(org.odk.collect.strings.R.string.collection_status_paused, numPoints)\n : !recordingEnabled ? getString(org.odk.collect.strings.R.string.collection_status_placement, numPoints)\n : !recordingAutomatic ? getString(org.odk.collect.strings.R.string.collection_status_manual, numPoints)\n : !usingThreshold ? (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes, numPoints, minutes) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds, numPoints, seconds)\n )\n : (\n minutes > 0 ?\n getString(org.odk.collect.strings.R.string.collection_status_auto_minutes_accuracy, numPoints, minutes, meters) :\n getString(org.odk.collect.strings.R.string.collection_status_auto_seconds_accuracy, numPoints, seconds, meters)\n )\n );\n }", "private void updateButtons() {\n\t\t SwingUtilities.invokeLater(new Runnable() {\n\t\t public void run() { \n\t\t botones[rowId1][columnId1].toggleOnOff();\n\t\t\t botones[rowId1][columnId1].setEnabled(true);\n\t\t\t \n\t\t\t botones[rowId2][columnId2].toggleOnOff();\n\t\t\t botones[rowId2][columnId2].setEnabled(true);\n\t\t\t \n\t\t\t setEnabled(true);\n\t\t\t \n\t\t timerPush.stop();\n\t\t }\n\t\t });\n\t }", "public void enableAllButtons(){\n\t\tbtnConfirmOrNext.setEnabled(true);\n\t\tbtnStop.setEnabled(true);\n\t\tbtnListenAgain.setEnabled(true);\t\t\n\t}", "void configure_button(){\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.INTERNET}\n ,10);\n }\n return;\n }\n // this code won't execute IF permissions are not allowed, because in the line above there is return statement.\n locButton.setOnClickListener(new View.OnClickListener() {\n @SuppressLint(\"MissingPermission\")\n @Override\n public void onClick(View view) {\n //noinspection MissingPermission\n switcher = true;\n locManager.requestLocationUpdates(\"gps\", 5000, 0, locListener);\n }\n });\n }", "boolean updateEnabling();", "public void enableUpdate() {\n\t\tupdate = true;\n\t}", "private void setupUpdateButton() {\n\n /* Get the button */\n Button updateButton = this.getStatusUpdateButton();\n\n /* Setup listener */\n View.OnClickListener updateButtonClicked = new View.OnClickListener() {\n\n @Override\n public void onClick(View view) {\n statusUpdater.updateStatus();\n }\n };\n\n /* Set listener to button */\n updateButton.setOnClickListener(updateButtonClicked);\n }", "void configure_button() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.INTERNET,Manifest.permission.RECORD_AUDIO,Manifest.permission.WRITE_EXTERNAL_STORAGE}\n , 10);\n }\n return;\n }\n // this code won't execute IF permissions are not allowed, because in the line above there is return statement.\n b.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n locationManager.requestSingleUpdate(\"gps\", listener, looper);\n //locationManager.requestLocationUpdates(\"gps\", 5000, 0, listener);\n\n }\n });\n }", "public void updateButtonVisibility() {\n mLocationBarMediator.updateButtonVisibility();\n }", "void configure_button(){\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.INTERNET}\n ,10);\n }\n\n return;\n }\n // this code won't execute IF permissions are not allowed, because in the line above there is return statement.\n\n locationManager.requestLocationUpdates(\"gps\", 5000, 0, listener);\n\n }", "public void updateAllButtons(){\n updateStartButton();\n updateResetButton();\n }", "private void updateControls() {\n updateBadge();\n etExtUsrId.setEnabled(isPushRegistrationAvailable() && !isUserPersonalizedWithExternalUserId());\n btnPersonalize.setEnabled(!isUserPersonalizedWithExternalUserId());\n btnDepersonalize.setEnabled(isUserPersonalizedWithExternalUserId());\n btnToInbox.setEnabled(isUserPersonalizedWithExternalUserId());\n }", "@Override\n\t\t\tprotected void updateEnabled() {\n\t\t\t}", "private boolean toggleMyLocation() {\n\t\t\r\n\t\tswitch (getMylocationToggle()) {\r\n\t\tcase MYLOCATION_OFF:\r\n\t\t\ttoggleClick = true;\r\n\t\t\tbuttonGPSstart.setImageResource(R.drawable.mylocationenabled); \r\n\t\t\tstartService();\r\n\t\t\tsetMylocationToggle(MYLOCATION_ON);\r\n\t\t\treturn true;\r\n\t\tcase MYLOCATION_ON:\r\n\t\t\tbuttonGPSstart.setImageResource(R.drawable.mylocationdisabled); \r\n\t\t\tmyMapView.postInvalidate(); // this should clear up any residual overlays\r\n\t\t\tstopService();\r\n\t\t\tsetMylocationToggle(MYLOCATION_OFF);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\treturn false;\r\n\t}", "public void startLocationButtonClick() {\n Dexter.withActivity(this)\r\n .withPermission(Manifest.permission.ACCESS_FINE_LOCATION)\r\n .withListener(new PermissionListener() {\r\n @Override\r\n public void onPermissionGranted(PermissionGrantedResponse response) {\r\n mRequestingLocationUpdates = true;\r\n startLocationUpdates();\r\n }\r\n\r\n @Override\r\n public void onPermissionDenied(PermissionDeniedResponse response) {\r\n if (response.isPermanentlyDenied()) {\r\n // open device settings when the permission is\r\n // denied permanently\r\n openSettings();\r\n }\r\n }\r\n\r\n @Override\r\n public void onPermissionRationaleShouldBeShown(PermissionRequest permission, PermissionToken token) {\r\n token.continuePermissionRequest();\r\n }\r\n }).check();\r\n }", "public void UpdateCommandsUI(){\n Button B;\n try{\n for (int i = 0; i < f.getNumComp(); i++) {\n B = (Button) findViewById(300000 + i); //Buy Button\n if(dayOpen & (p.getMoney()>0)) {\n B.setEnabled(true);\n B.setTextColor(0xffffffff);\n } else if(dayOpen & (p.getLevel()>= 4)){\n B.setEnabled(true);\n B.setTextColor(0xffff0000);\n } else {\n B.setEnabled(false);\n B.setTextColor(0xff000000);\n }\n\n B = (Button) findViewById(400000 + i); //Sell Button\n if (dayOpen & (f.getSharesOwned(i) > 0)) {\n B.setEnabled(true);\n B.setTextColor(0xffffffff);\n } else if(p.getLevel()>=4 & !f.isShorted(i) & dayOpen){\n B.setEnabled(true);\n B.setTextColor(0xffff0000); //Red Color for short positions\n } else {\n B.setEnabled(false);\n B.setTextColor(0xff000000);\n }\n }\n } catch (Exception e){\n e.printStackTrace();\n }\n }", "public void updateDisabledButtons() {\n\t\t//at least 3 credits should be there for perform add max action\n\t\tif (obj.getCredit() < 3)\n\t\t\taddMax.setEnabled(false);\n\t\t//at least a credit should be there for perform add max action\n\t\tif (obj.getCredit() == 0)\n\t\t\taddOne.setEnabled(false);\n\t\tif (obj.getCredit() >= 3)\n\t\t\taddMax.setEnabled(true);\n\t\tif (obj.getCredit() > 0)\n\t\t\taddOne.setEnabled(true);\n\t}", "private void updateLocationUI() {\n if (map == null) {\n return;\n }\n try {\n if (locationPermissionGranted) {\n map.setMyLocationEnabled(true);\n map.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n map.setMyLocationEnabled(false);\n map.getUiSettings().setMyLocationButtonEnabled(false);\n lastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "public void stopUpdatesButtonHandler(View view) {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n setButtonsEnabledState();\n stopLocationUpdates();\n }\n }", "private void activateButtons(){\n limiteBoton.setEnabled(true);\n derivadaBoton.setEnabled(true);\n integralBoton.setEnabled(true);\n}", "protected void updateEnabled() {\n\t\tFieldGroup control = getUIControl();\n\t\tif (control != null) {\n\t\t\tCollection<? extends IRidget> ridgets = getRidgets();\n\t\t\tfor (IRidget ridget : ridgets) {\n\t\t\t\tridget.setEnabled(isEnabled());\n\t\t\t}\n\t\t\tcontrol.setEnabled(isEnabled());\n\t\t}\n\t}", "void enableBtn() {\n findViewById(R.id.button_play).setEnabled(true);\n findViewById(R.id.button_pause).setEnabled(true);\n findViewById(R.id.button_reset).setEnabled(true);\n }", "protected void enableButtons() {\n if (mPrevious_question.isPressed() || mNext_question.isPressed()) {\n mFalseButton.setEnabled(true);\n mTrueButton.setEnabled(true);\n }\n }", "private void setLocationUpdateFunction() {\n fabLocation.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n //create boolean isGPSEnabled equal to result returned from isProviderEnabled() method, sending locationManager.GPS_PROVIDER as paremeter\n boolean isGPSEnabled = locationManager.isProviderEnabled(locationManager.GPS_PROVIDER);\n //create boolean isNetworkEnabled equal to result returned from isProviderEnabled() method, sending locationManager.NETWORK_PROVIDER as paremeter\n boolean isNetworkEnabled = locationManager.isProviderEnabled(locationManager.NETWORK_PROVIDER);\n\n //if statement to determine if both booleans are false\n if (!isGPSEnabled && !isNetworkEnabled && ActivityCompat.checkSelfPermission(MainActivity.this, Manifest.permission_group.LOCATION) != PackageManager.PERMISSION_GRANTED) {\n //toast message to tell the user that network and location are not available/enabled\n Toast.makeText(MainActivity.this, \"Network and Location not Available\", Toast.LENGTH_LONG).show();\n return;\n } else {\n //create Criteria object critera\n Criteria criteria = new Criteria();\n\n //string provider equal to value returned from method\n String provider = locationManager.getBestProvider(criteria, true);\n\n fabLocation.setClickable(false);\n\n //call locationupdater\n locationManager.requestLocationUpdates(provider, 0, 0, locationListener);\n }\n }\n });\n }", "public boolean requestingLocationUpdates() {\n return prefs\n .getBoolean(KEY_REQUESTING_LOCATION_UPDATES, false);\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest).\n addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n Log.e(TAG, \"All location settings are satisfied.\");\n\n //noinspection MissingPermission\n mFusedLocationClient.requestLocationUpdates(mLocationBalancedRequest,\n mLocationCallback, Looper.myLooper());\n\n updateLocationUI();\n }\n })\n .addOnFailureListener(this, new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n Log.e(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\n \"location settings \");\n try {\n // Show the dialog by calling startResolutionForResult(), and check the\n // result in onActivityResult().\n ResolvableApiException rae = (ResolvableApiException) e;\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\n } catch (IntentSender.SendIntentException sie) {\n Log.e(TAG, \"PendingIntent unable to execute request.\");\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Log.e(TAG, errorMessage);\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n updateLocationUI();\n }\n });\n\n }", "public void enableUpdates(boolean state) {\n sEnableUpdate = state;\n }", "private void updateControlButtonStatus(boolean isNetworkConnected) {\n\t\tif (isNetworkConnected) {\r\n\t\t\t// if (mPlayShareButton.getVisibility() == View.VISIBLE) {\r\n\t\t\t// mPlayShareButton.requestFocus();\r\n\t\t\t//\r\n\t\t\t// } else {\r\n\t\t\t// mPlayerStartButton.requestFocus();\r\n\t\t\t// }\r\n\t\t\t// if (mVideoContrl != null && !mVideoContrl.isVOD()) {\r\n\t\t\t// mPlayerSaveButton.setEnabled(false);\r\n\t\t\t// mPlayerSaveButton.setFocusable(false);\r\n\t\t\t// }\r\n\t\t}\r\n\r\n\t\t// mPlayerPrevious.setEnabled(isNetworkConnected);\r\n\t\t// mPlayerPrevious.setFocusable(isNetworkConnected);\r\n\t\t// mPlayerNext.setEnabled(isNetworkConnected);\r\n\t\t// mPlayerNext.setFocusable(isNetworkConnected);\r\n\t\t// mMutiPlayerPrevious.setEnabled(isNetworkConnected);\r\n\t\t// mMutiPlayerPrevious.setFocusable(isNetworkConnected);\r\n\t\t// mMutiPlayerNext.setEnabled(isNetworkConnected);\r\n\t\t// mMutiPlayerNext.setFocusable(isNetworkConnected);\r\n\t\t// mPlayerSequenceButton.setEnabled(isNetworkConnected);\r\n\t\t// mPlayerSequenceButton.setFocusable(isNetworkConnected);\r\n\t\t// mPlayerVolumeButton.setEnabled(isNetworkConnected);\r\n\t\t// mPlayerVolumeButton.setFocusable(isNetworkConnected);\r\n\t}", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "@Override\n public boolean onMyLocationButtonClick() {\n LocationManager manager = (LocationManager) getContext().getSystemService(Context.LOCATION_SERVICE);\n if (!manager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {\n // If Location disable create a alert dialog\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getContext());\n alertDialogBuilder.setMessage(\"Location is disabled in your device. Would you like to enable it?\")\n // Have to respond to this message not cancelable\n .setCancelable(false)\n // If yes open setting page to enable location\n .setPositiveButton(\"Yes\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // intent calls the android activity of location settings\n Intent callGPSSettingIntent = new Intent(\n android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS);\n startActivity(callGPSSettingIntent);\n }\n });\n //if no close the dialog\n alertDialogBuilder.setNegativeButton(\"Maybe Later\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }\n });\n AlertDialog alert = alertDialogBuilder.create();\n alert.show();\n }\n\n return false;\n }", "private void enableButtons() {\n\t\tcapture.setEnabled(true);\r\n\t\tstop.setEnabled(true);\r\n\t\tselect.setEnabled(true);\r\n\t\tfilter.setEnabled(true);\r\n\t}", "private void checkButtonUnlock() {\r\n\t\tif (this.isAdressValid && this.isPortValid) {\r\n\t\t\tview.theButton.setDisable(false);\r\n\t\t}\r\n\r\n\t}", "@Override\n public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) {\n if (s.equals(Utils.KEY_REQUESTING_LOCATION_UPDATES)) {\n setButtonsState(sharedPreferences.getBoolean(Utils.KEY_REQUESTING_LOCATION_UPDATES,\n false));\n }\n }", "private void updateButtons() {\n\t\tif(buttonCount>1){\n\t\t\tremoveTableButton.setEnabled(true);\n\t\t}\n\t\telse{\n\t\t\tremoveTableButton.setEnabled(false);\n\t\t}\n\t\tif(buttonCount<tablesX.length){\n\t\t\taddTableButton.setEnabled(true);\n\t\t}\n\t\telse{\n\t\t\taddTableButton.setEnabled(false);\n\t\t}\n\t}", "public void enableQuitButton(){\n\t\tbtnStop.setVisible(true);\n\t}", "void setNotificationButtonState(Boolean isNotifyEnabled,Boolean isUpdateEnabled,Boolean isCancelEnabled) {\n button_notify.setEnabled(isNotifyEnabled);\n button_update.setEnabled(isUpdateEnabled);\n button_cancel.setEnabled(isCancelEnabled);\n }", "private void startLocationUpdates() {\r\n // Begin by checking if the device has the necessary location settings.\r\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\r\n .addOnSuccessListener(this, new OnSuccessListener<LocationSettingsResponse>() {\r\n @Override\r\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\r\n Log.i(TAG, \"All location settings are satisfied.\");\r\n\r\n if(checkPermissions()){\r\n // Launch background service - Monitor location\r\n Log.i(TAG, \"trying to start location service..\");\r\n startService(new Intent(MainActivity.this, LocationService.class));\r\n\r\n // Launch background service - Geofence\r\n if(localUser.isGeofenceEnabled()){\r\n Log.i(TAG, \"trying to start geofence service..\");\r\n startService(new Intent(MainActivity.this, GeofenceService.class));\r\n }\r\n } else{\r\n requestPermissions();\r\n }\r\n\r\n\r\n\r\n }\r\n })\r\n .addOnFailureListener(this, new OnFailureListener() {\r\n @Override\r\n public void onFailure(@NonNull Exception e) {\r\n int statusCode = ((ApiException) e).getStatusCode();\r\n switch (statusCode) {\r\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\r\n Log.i(TAG, \"Location settings are not satisfied. Attempting to upgrade \" +\r\n \"location settings \");\r\n try {\r\n // Show the dialog by calling startResolutionForResult(), and check the\r\n // result in onActivityResult().\r\n ResolvableApiException rae = (ResolvableApiException) e;\r\n rae.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTINGS);\r\n } catch (IntentSender.SendIntentException sie) {\r\n Log.i(TAG, \"PendingIntent unable to execute request.\");\r\n }\r\n break;\r\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\r\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\r\n \"fixed here. Fix in Settings.\";\r\n Log.e(TAG, errorMessage);\r\n Toast.makeText(MainActivity.this, errorMessage, Toast.LENGTH_LONG).show();\r\n mRequestingLocationUpdates = false;\r\n }\r\n\r\n }\r\n });\r\n }", "private void enableFieldBasedOnUpdateMethod() {\r\n if (updateMethod.getSelectedItem() == CompetitiveGroup.UpdateMethod.ALVAREZ_SQUIRE) {\r\n tfSynpaseDecayPercent.setEnabled(true);\r\n } else if (updateMethod.getSelectedItem() == CompetitiveGroup.UpdateMethod.RUMM_ZIPSER) {\r\n tfSynpaseDecayPercent.setEnabled(false);\r\n }\r\n }", "public boolean isEnabled_txt_Fuel_Rewards_Page_Button(){\r\n\t\tif(txt_Fuel_Rewards_Page_Button.isEnabled()) { return true; } else { return false;} \r\n\t}", "public void enableButtons() {\n //a loop to go through all buttons\n for (int i = 0; i < currentBoard.getSizeX(); i++) {\n Inputbuttons[i].setEnabled(true);\n }\n }", "private void buttonEnable(){\n\t\t\taddC1.setEnabled(true);\n\t\t\taddC2.setEnabled(true);\n\t\t\taddC3.setEnabled(true);\n\t\t\taddC4.setEnabled(true);\n\t\t\taddC5.setEnabled(true);\n\t\t\taddC6.setEnabled(true);\n\t\t\taddC7.setEnabled(true);\n\t\t}", "protected void updateButtonStates()\n\t{\n\t\tboolean isLastStep = isLastStep(currentStep);\n\t\tboolean isFirstStep = isFirstStep(currentStep);\n\t\t// Check whether current step data is valid or not\n\t\tboolean isValid = currentStep.onAdvance();\n\t\tthis.getCancelButton().setVisible(!isLastStep);\n\t\tthis.getCancelButton().setEnabled(!isLastStep);\n\t\t\n\t\tthis.getBackButton().setVisible(!isLastStep);\n\t\tthis.getBackButton().setEnabled(!isFirstStep && !isLastStep);\n\n\t\tthis.getNextButton().setVisible(!isLastStep);\n\t\tthis.getNextButton().setEnabled(!isLastStep && isValid);\n\n\t\tthis.getFinishButton().setEnabled(isLastStep);\n\t\tthis.getFinishButton().setVisible(isLastStep);\n\t}", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "private void disableButtons() {\n for (DeployCommand cmd : DeployCommand.values()){\n setButtonEnabled(cmd, false);\n }\n butDone.setEnabled(false);\n setLoadEnabled(false);\n setUnloadEnabled(false);\n setAssaultDropEnabled(false);\n }", "public boolean canUpdate();", "@Override\n \t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n \t\t\t\tif(arg1==true)\n \t\t\t\t\tmMap.setMyLocationEnabled(true);\n \t\t\t\telse\n \t\t\t\t\tmMap.setMyLocationEnabled(false);\n \t\t\t}", "@Override\n \t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n \t\t\t\tif(arg1==true)\n \t\t\t\t\tmMap.setMyLocationEnabled(true);\n \t\t\t\telse\n \t\t\t\t\tmMap.setMyLocationEnabled(false);\n \t\t\t}", "void configure_button(){\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.INTERNET}\n ,10);\n }\n return;\n }\n // this code won't execute IF permissions are not allowed, because in the line above there is return statement.\n btnAbout.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n //noinspection MissingPermission\n locationManager.requestLocationUpdates(\"gps\", 5000, 0, listener);\n }\n });\n btnAbout.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v){\n LayoutInflater li = LayoutInflater.from(context);\n\n final View promptsView = li.inflate(R.layout.about_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n alertDialogBuilder.setTitle(\"About RSI\");\n alertDialogBuilder.setView(promptsView);\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n final AlertDialog alertDialog = alertDialogBuilder.create();\n alertDialog.show();\n alertDialog.setCanceledOnTouchOutside(true);\n\n }\n });\n\n btnQ.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v){\n LayoutInflater li = LayoutInflater.from(context);\n\n final View promptsView = li.inflate(R.layout.color_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n alertDialogBuilder.setView(promptsView);\n\n\n alertDialogBuilder.setTitle(\"Question 1\");\n\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n int inputUnit = ((Spinner) promptsView.findViewById(R.id.color_chooser)).getSelectedItemPosition();\n colorChoice = ((Spinner) promptsView.findViewById(R.id.color_chooser)).getItemAtPosition(inputUnit).toString();\n\n if (colorChoice.equals(\"Red\")){\n LayoutInflater li2 = LayoutInflater.from(context);\n\n final View promptsView2 = li2.inflate(R.layout.shape_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n alertDialogBuilder.setView(promptsView2);\n alertDialogBuilder.setTitle(\"Question 2\");\n\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n int inputUnit = ((Spinner) promptsView2.findViewById(R.id.shape_chooser)).getSelectedItemPosition();\n shapeChoice = ((Spinner) promptsView2.findViewById(R.id.shape_chooser)).getItemAtPosition(inputUnit).toString();\n\n if (shapeChoice.equals(\"Triangle\")){\n LayoutInflater li = LayoutInflater.from(context);\n\n final View promptsView = li.inflate(R.layout.triangle_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n alertDialogBuilder.setView(promptsView);\n alertDialogBuilder.setTitle(\"Question 3\");\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n final AlertDialog alertDialog = alertDialogBuilder.create();\n\n final Spinner mSpinner = (Spinner) promptsView\n .findViewById(R.id.descTri_chooser);\n alertDialog.show();\n alertDialog.setCanceledOnTouchOutside(true);\n int shapeUnit = ((Spinner) promptsView.findViewById(R.id.descTri_chooser)).getSelectedItemPosition();\n descChoice = ((Spinner) promptsView.findViewById(R.id.descTri_chooser)).getItemAtPosition(shapeUnit).toString();\n\n }\n\n if (shapeChoice.equals(\"Ring/Circle\")){\n LayoutInflater li = LayoutInflater.from(context);\n\n final View promptsView = li.inflate(R.layout.ring_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n alertDialogBuilder.setView(promptsView);\n alertDialogBuilder.setTitle(\"Question 3\");\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n final AlertDialog alertDialog = alertDialogBuilder.create();\n\n final Spinner mSpinner = (Spinner) promptsView\n .findViewById(R.id.descRing_chooser);\n alertDialog.show();\n alertDialog.setCanceledOnTouchOutside(true);\n int shapeUnit = ((Spinner) promptsView.findViewById(R.id.descRing_chooser)).getSelectedItemPosition();\n descChoice = ((Spinner) promptsView.findViewById(R.id.descRing_chooser)).getItemAtPosition(shapeUnit).toString();\n }\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n\n final AlertDialog alertDialog2 = alertDialogBuilder.create();\n final Spinner mSpinner2 = (Spinner) promptsView2\n .findViewById(R.id.shape_chooser);\n alertDialog2.show();\n alertDialog2.setCanceledOnTouchOutside(true);\n\n }\n\n else if(colorChoice.equals(\"Grey\")){\n LayoutInflater li3 = LayoutInflater.from(context);\n\n final View promptsView3 = li3.inflate(R.layout.grey_layout, null);\n\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n alertDialogBuilder.setView(promptsView3);\n alertDialogBuilder.setTitle(\"Question 2\");\n\n alertDialogBuilder.setPositiveButton(\"Next\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n final AlertDialog alertDialog3 = alertDialogBuilder.create();\n\n final Spinner mSpinner3 = (Spinner) promptsView3\n .findViewById(R.id.options_chooser);\n alertDialog3.show();\n alertDialog3.setCanceledOnTouchOutside(true);\n\n }\n\n\n\n }\n });\n alertDialogBuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //Put actions for CANCEL button here, or leave in blank\n }\n });\n final AlertDialog alertDialog = alertDialogBuilder.create();\n final Spinner mSpinner = (Spinner) promptsView\n .findViewById(R.id.color_chooser);\n alertDialog.show();\n alertDialog.setCanceledOnTouchOutside(true);\n\n }\n\n });\n\n }", "@Override\n public void onClick(View v) {\n boolean isGPSEnabled = locationManager.isProviderEnabled(locationManager.GPS_PROVIDER);\n //create boolean isNetworkEnabled equal to result returned from isProviderEnabled() method, sending locationManager.NETWORK_PROVIDER as paremeter\n boolean isNetworkEnabled = locationManager.isProviderEnabled(locationManager.NETWORK_PROVIDER);\n\n //if statement to determine if both booleans are false\n if (!isGPSEnabled && !isNetworkEnabled && ActivityCompat.checkSelfPermission(MainActivity.this, Manifest.permission_group.LOCATION) != PackageManager.PERMISSION_GRANTED) {\n //toast message to tell the user that network and location are not available/enabled\n Toast.makeText(MainActivity.this, \"Network and Location not Available\", Toast.LENGTH_LONG).show();\n return;\n } else {\n //create Criteria object critera\n Criteria criteria = new Criteria();\n\n //string provider equal to value returned from method\n String provider = locationManager.getBestProvider(criteria, true);\n\n fabLocation.setClickable(false);\n\n //call locationupdater\n locationManager.requestLocationUpdates(provider, 0, 0, locationListener);\n }\n }", "public void updateStartButton(){\n if (getPrimHasRun() == true){\n startButton.setAlpha(0.5f);\n startButton.setClickable(false);\n } else {\n startButton.setAlpha(1f);\n startButton.setClickable(true);\n }\n }", "private void setAllButtonsEnabledStatus(boolean isEnabled) {\n Button identifyButton = (Button) findViewById(R.id.identify);\n identifyButton.setEnabled(isEnabled);\n\n }", "private void setButtonsEnable(boolean b){\n addButton.setEnabled(b);\n clearButton.setEnabled(b);\n peelOffButton.setEnabled(b);\n buttonControlPanel.setEnabled(b);\n progressCheckBox.setEnabled(b);\n }", "private void setBtnState(){\n recordBtn.setEnabled(!recording);\n stopBtn.setEnabled(recording);\n pauseBtn.setEnabled(playing & !paused);\n resumeBtn.setEnabled(paused);\n }", "private void setAllButtonsEnabledStatus(boolean isEnabled) {\n Button selectImageButton = (Button) findViewById(R.id.select_image);\n selectImageButton.setEnabled(isEnabled);\n\n Button detectButton = (Button) findViewById(R.id.detect);\n detectButton.setEnabled(isEnabled);\n\n //Button ViewLogButton = (Button) findViewById(R.id.view_log);\n //ViewLogButton.setEnabled(isEnabled);\n }", "private void enableRequestLocationUpdate() {\n mLocationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,\n 1000 * 10, 10, mLocationListener);\n mLocationManager.requestLocationUpdates(\n LocationManager.NETWORK_PROVIDER, 1000 * 10, 10,\n mLocationListener);\n }", "private void lockButton(){\n\t\tconversionPdf_Txt.setEnabled(false);\n\t\tavisJury.setEnabled(false);\n\t\tstatistique.setEnabled(false);\n\t\tbData.setEnabled(false);\n\t\tbDataTraining.setEnabled(false);\n\t\tbCompare.setEnabled(false);\n\t}", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n mMap.getUiSettings().setMyLocationButtonEnabled(true);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n }\n }", "public void enableEndOfProductionButton(){\n this.endOfproductionButton.setEnabled(true);\n }", "@Override\n public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {\n for (int appWidgetId : appWidgetIds) {\n Intent buttonIntent = new Intent(context, PassiveJammerService.class);\n buttonIntent.setAction(ACTION_WIDGET_PASSIVE);\n PendingIntent pendingButtonIntent = PendingIntent.getService(context, 0, buttonIntent, 0);\n\n // wrap the whole widget layout in a view to capture button and text touch\n RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.passive_control_widget);\n views.setOnClickPendingIntent(R.id.passive_control_button, pendingButtonIntent);\n\n appWidgetManager.updateAppWidget(appWidgetId, views);\n\n //TODO check and start the Passive service to account for Android 11\n // can't create widget on screen if service already running...\n Log.d(\"PS_WIDGET\", \"press the button and update!\");\n\n /*\n Intent mainIntent = new Intent(context, MainActivity.class);\n mainIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(mainIntent);\n */\n\n\n ActivityManager manager = (ActivityManager) context.getSystemService(ACTIVITY_SERVICE);\n assert manager != null;\n for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {\n if (PassiveJammerService.class.getName().equals(service.service.getClassName())) {\n Toast.makeText(context, \"service already running\", Toast.LENGTH_SHORT).show();\n Log.d(\"PS_WIDGET\", \"service running\");\n }\n else {\n // Sam4 said service NOT started when it was, still worked though\n Toast.makeText(context, \"service NOT started\", Toast.LENGTH_SHORT).show();\n Log.d(\"PS_WIDGET\", \"service NOT running\");\n }\n }\n }\n }", "void updateButtonLogin() {\n\t\tthis.mButtonLogin.setEnabled(this.mAuthUsername.getText().length() > 0\n\t\t\t\t&& this.mAuthPassword.getText().length() > 0);\n\t}", "private void CheckEnable()\n {\n btn_prev.setEnabled(true);\n btn_next.setEnabled(true);\n\n if(increment+1 == pageCount)\n {\n btn_next.setEnabled(false);\n }\n if(increment == 0)\n {\n btn_prev.setEnabled(false);\n }\n }", "private void setAllButtonsEnabledStatus(boolean isEnabled) {\n Button showBaby = (Button) findViewById(R.id.showBaby);\n Button share = (Button) findViewById(R.id.share);\n Button loadImg1 = (Button) findViewById(R.id.loadImg1);\n Button loadImg2 = (Button) findViewById(R.id.loadImg2);\n\n showBaby.setEnabled(isEnabled);\n share.setEnabled(isEnabled);\n loadImg1.setEnabled(isEnabled);\n loadImg2.setEnabled(isEnabled);\n }", "private void startLocationUpdates() {\n mSettingsClient.checkLocationSettings(mLocationSettingsRequest)\n .addOnSuccessListener(getActivity(), locationSettingsResponse -> {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n mLocationCallback, Looper.myLooper());\n\n updateUI();\n })\n .addOnFailureListener(getActivity(), e -> {\n int statusCode = ((ApiException) e).getStatusCode();\n switch (statusCode) {\n case LocationSettingsStatusCodes.RESOLUTION_REQUIRED:\n try {\n // Show the dialog and check the result in onActivityResult().\n ResolvableApiException resolvable = (ResolvableApiException) e;\n MapFragment.this.startIntentSenderForResult(resolvable.getResolution().getIntentSender(),\n REQUEST_CHECK_SETTINGS, null, 0,\n 0, 0, null);\n } catch (IntentSender.SendIntentException sie) {\n //...\n }\n break;\n case LocationSettingsStatusCodes.SETTINGS_CHANGE_UNAVAILABLE:\n String errorMessage = \"Location settings are inadequate, and cannot be \" +\n \"fixed here. Fix in Settings.\";\n Toast.makeText(MapFragment.this.getActivity(), errorMessage, Toast.LENGTH_LONG).show();\n mRequestingLocationUpdates = false;\n }\n\n MapFragment.this.updateUI();\n });\n }", "private void disableButtons()\r\n {\r\n }", "private void reEnableCopyButtons() {\n // re-enable the buttons the relevant buttons\n copyToASpaceButton.setEnabled(true);\n repositoryCheckButton.setEnabled(true);\n copyProgressBar.setValue(0);\n\n if (copyStopped) {\n if (ascopy != null) ascopy.saveURIMaps();\n copyStopped = false;\n copyProgressBar.setString(\"Cancelled Copy Process ...\");\n } else {\n copyProgressBar.setString(\"Done\");\n }\n }", "default boolean isNeedToBeUpdated()\n {\n return getUpdateState().isUpdated();\n }", "private void updateEnabledState() {\n updateEnabledState(spinner, spinner.isEnabled()); }", "private void enableButtons(){\n \n if (this.geselecteerdeStageplaats != null && this.geselecteerdeStageplaats.getBedrijfID() != null){\n this.jButtonSaveStageplaats.setEnabled(true);\n this.jButtonDeleteStageplaats.setEnabled(true);\n\n }\n else{\n this.jButtonSaveStageplaats.setEnabled(false);\n this.jButtonDeleteStageplaats.setEnabled(false);\n }\n if (this.jComboBoxGekendeBedrijven.getSelectedItem() != null){\n this.jButtonBedrijfSelecteren.setEnabled(true);\n }\n else {\n this.jButtonBedrijfSelecteren.setEnabled(false);\n }\n \n }", "public boolean isEnabled_click_Digital_coupons_button(){\r\n\t\tif(click_Digital_coupons_button.isEnabled()) { return true; } else { return false;} \r\n\t}", "public void stopUpdatesButtonHandler(View view) {\n if (mRequestingLocationUpdates) {\n mRequestingLocationUpdates = false;\n stopLocationUpdates();\n }\n }", "private void setShowButtonsEnabledStatus(boolean isEnabled) {\n Button showBaby = (Button) findViewById(R.id.showBaby);\n showBaby.setEnabled(isEnabled);\n }", "public void enableProductionButtons(){\n for(int i = 0; i < 3; i++){\n productionButtons[i].setText(\"Activate\");\n if (gui.getViewController().getGame().getProductionCard(i) != null){\n productionButtons[i].setEnabled(true);\n } else {\n productionButtons[i].setEnabled(false);\n }\n productionButtons[i].setToken(true);\n Gui.removeAllListeners(productionButtons[i]);\n productionButtons[i].addActionListener(new ActivateProductionListener(gui,productionButtons[i], i));\n }\n\n baseProductionPanel.enableButton();\n }", "public boolean usesUpdateLabel(){\n\t\treturn useUpdateLabel;\n\t}", "public void checkEnabled()\n {\n if(graph == null || graph.vertices.size() < 1)\n {\n removeJButton.setEnabled(false);\n removeJMenuItem.setEnabled(false);\n printJMenuItem.setEnabled(false);\n calculateJButton.setEnabled(false);\n findPathJMenuItem.setEnabled(false);\n bruteForceJRadioButton.setEnabled(true);\n bruteForceJRadioButtonMenuItem.setEnabled(true);\n }\n else if(graph.vertices.size() < 3)\n {\n removeJButton.setEnabled(true);\n removeJMenuItem.setEnabled(true);\n printJMenuItem.setEnabled(false);\n calculateJButton.setEnabled(false);\n findPathJMenuItem.setEnabled(false);\n bruteForceJRadioButton.setEnabled(true);\n bruteForceJRadioButtonMenuItem.setEnabled(true);\n }\n else if(graph.vertices.size() <= 5)\n {\n removeJButton.setEnabled(true);\n removeJMenuItem.setEnabled(true);\n printJMenuItem.setEnabled(true);\n calculateJButton.setEnabled(true);\n findPathJMenuItem.setEnabled(true);\n bruteForceJRadioButton.setEnabled(true);\n bruteForceJRadioButtonMenuItem.setEnabled(true);\n }\n else\n {\n if(bruteForceJRadioButton.isSelected())\n {\n nearestJRadioButton.setSelected(true);\n nearestNeighborJRadioButtonMenuItem.setSelected(true);\n methodJLabel.setText(\"Nearest Neighbor\");\n }\n printJMenuItem.setEnabled(true);\n removeJButton.setEnabled(true);\n removeJMenuItem.setEnabled(true);\n calculateJButton.setEnabled(true);\n findPathJMenuItem.setEnabled(true);\n bruteForceJRadioButton.setEnabled(false);\n bruteForceJRadioButtonMenuItem.setEnabled(false);\n }\n }", "private void setButtonDisabled() {\n final boolean areProjects = mainController.selectedOrganisationProperty().getValue().getProjects().size() > 0;\n final boolean areTeams = mainController.selectedOrganisationProperty().getValue().getTeams().size() > 0;\n //allocateTeamButton.setDisable(!(areProjects && areTeams));\n }", "private void refreshIdentifyButtonEnabledStatus() {\n if (detected && mPersonGroupId != null) {\n setIdentifyButtonEnabledStatus(true);\n } else {\n setIdentifyButtonEnabledStatus(false);\n }\n }", "@Override\n\t\tpublic void buttonStatusChange() {\n\t\t\t\n\t\t}", "protected void startLocationUpdates()\n {\n try\n {\n if (googleApiClient.isConnected())\n {\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n isRequestingLocationUpdates = true;\n }\n }\n catch (SecurityException e)\n {\n Toast.makeText(getContext(), \"Unable to get your current location!\" +\n \" Please enable the location permission in Settings > Apps \" +\n \"> Bengaluru Buses.\", Toast.LENGTH_LONG).show();\n }\n }", "public void requestUpdate(){\n shouldUpdate = true;\n }", "private void toggleGoToMapBtn() {\n boolean isShow = isValidLocationFound();\n NodeUtil.setNodeVisibility(this.gotoGeoMapBtn, isShow);\n }", "private void configureEnableButtons() {\r\n\t\ttglbtnBirthdays.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == tglbtnBirthdays) {\r\n\t\t\t\t\tif (tglbtnBirthdays.isSelected()) {\r\n\t\t\t\t\t\ttglbtnBirthdays.setText(\"Disable\");\r\n\t\t\t\t\t\ttheSender.setBirthdayTemplate(emailStorage.getTemplate(templateBirthday));\r\n\t\t\t\t\t\ttheSender.runBirthdaySetUp();\r\n\t\t\t\t\t\ttheSender.resumeSendingBirthdays();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!tglbtnBirthdays.isSelected()) {\r\n\t\t\t\t\t\ttglbtnBirthdays.setText(\"Enable\");\r\n\t\t\t\t\t\ttheSender.stopSendingBirthdays();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\ttglbtnAnniv.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == tglbtnAnniv) {\r\n\t\t\t\t\tif (tglbtnAnniv.isSelected()) {\r\n\t\t\t\t\t\ttglbtnAnniv.setText(\"Disable\");\r\n\t\t\t\t\t\ttheSender.setAnnivTemplate(emailStorage.getTemplate(templateAnniv));\r\n\t\t\t\t\t\ttheSender.runAnnivSetUp();\r\n\t\t\t\t\t\ttheSender.resumeSendingAnniv();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!tglbtnAnniv.isSelected()) {\r\n\t\t\t\t\t\ttglbtnAnniv.setText(\"Enable\");\r\n\t\t\t\t\t\ttheSender.stopSendingAnniv();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t}", "@Override\n protected void updateConnectButtonState() {\n boolean connected = getPlusClient().isConnected();\n\n mPlusSignInButton.setVisibility(connected ? View.GONE : View.VISIBLE);\n }", "private void updateLocationUI() {\n if (mMap == null) {\n return;\n }\n try {\n if (mLocationPermissionGranted) {\n mMap.setMyLocationEnabled(true);\n\n // Display the user selected map type\n mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);\n\n MapStyleOptions style = MapStyleOptions.loadRawResourceStyle(mContext, R.raw.map_style_night);\n mMap.setMapStyle(style);\n\n // Don't want to display the default location button because\n // we are already displaying using a FAB\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n\n mMap.setOnMyLocationClickListener(this);\n } else {\n mMap.setMyLocationEnabled(false);\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n mLastKnownLocation = null;\n getLocationPermission();\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "private void setEndingButtons() {\n Button btnFinishEnable = (Button) findViewById(R.id.btnFinish);\n btnFinishEnable.setEnabled(true);\n Button btnNextEnable = (Button) findViewById(R.id.btnNext);\n btnNextEnable.setEnabled(false);\n }", "public boolean isSendMsgEnableShutterButton() {\n return true;\n }" ]
[ "0.8052438", "0.71693933", "0.70550174", "0.6959505", "0.67961323", "0.653465", "0.6484527", "0.6437664", "0.63854444", "0.63837403", "0.63362694", "0.6262048", "0.62345165", "0.6230254", "0.6217619", "0.6193373", "0.61887485", "0.61312425", "0.6123395", "0.6111363", "0.60756576", "0.60727817", "0.60488164", "0.60257435", "0.60249573", "0.6023194", "0.6021883", "0.6004564", "0.6001961", "0.59819436", "0.59245914", "0.59245914", "0.59245914", "0.5901077", "0.5896634", "0.5887978", "0.5880194", "0.5872426", "0.58704054", "0.5861812", "0.584713", "0.5844458", "0.5828542", "0.5817437", "0.5815808", "0.5813487", "0.5789502", "0.57556325", "0.5736179", "0.57359105", "0.57250017", "0.5718859", "0.57127255", "0.5708983", "0.57026935", "0.57005674", "0.5698381", "0.5695525", "0.5692669", "0.5687409", "0.5686223", "0.5686223", "0.568431", "0.5682766", "0.56754196", "0.5669674", "0.566195", "0.56607497", "0.5654684", "0.5652149", "0.5643281", "0.5639096", "0.56290185", "0.5628008", "0.5619734", "0.5616121", "0.56120104", "0.56102955", "0.5580168", "0.55785596", "0.5576188", "0.55677485", "0.5560107", "0.5551636", "0.5550768", "0.55383706", "0.5525401", "0.55159855", "0.55134577", "0.55089194", "0.55087435", "0.5508197", "0.5501784", "0.55014277", "0.5498543", "0.54872006", "0.5485284", "0.5484174", "0.5469517", "0.5469392" ]
0.7393181
1
Toast.makeText(GeoFencingDemo.this, "permission denied", Toast.LENGTH_SHORT).show();
@Override public void onPermissionDenied() { Log.d(TAG, "onPermissionDenied() called"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void checkLocationPermission() {\n if(ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n if (ActivityCompat.shouldShowRequestPermissionRationale(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION)) {\n new AlertDialog.Builder(getActivity())\n .setTitle(\"give permission\")\n .setMessage(\"give permission message\")\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(getActivity(), new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 1);\n }\n })\n .create()\n .show();\n }\n else{\n ActivityCompat.requestPermissions(getActivity(), new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 1);\n }\n }\n\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION );\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(WeatherByGPS.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void requestPermission(){\r\n ActivityCompat.requestPermissions(activity,new String[]{Manifest.permission.ACCESS_FINE_LOCATION},1);\r\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(AdminMap.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void askPermission() {\n if (ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n Parameters.MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "public void checkpermission()\n {\n permissionUtils.check_permission(permissions,\"Need GPS permission for getting your location\",1);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(activity,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION );\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MapsActivity.this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MapsActivity.this,\n new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSION_REQ_LOC);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(OwnerMapActivity.this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(mapActivity.this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION );\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.ACCESS_COARSE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void requestLocationPermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n\n new AlertDialog.Builder(this)\n .setTitle(\"Permission needed\")\n .setMessage(\"Location Permission is needed to show your current location on the map\")\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n ActivityCompat.requestPermissions(ScavengerHunt.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 2);\n }\n })\n .setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n Toast.makeText(ScavengerHunt.this, \"Location Permission is needed to update the map\", Toast.LENGTH_SHORT).show();\n }\n })\n .create()\n .show();\n\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 2);\n }\n }", "private void getLocationPermission(){\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED){\n locationAccess = true;\n } else {\n locationAccess = false;\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, REQUEST_LOCATION_PERMISSION);\n }\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(ActivityLivetrackingRest.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "public void checkLocationPermission() {\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n 99);\n }\n\n }", "private void checkPermissions(){\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED\n && ActivityCompat.checkSelfPermission(this,Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n ActivityCompat.requestPermissions(this, new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.ACCESS_COARSE_LOCATION\n },PERMS_CALL_ID);\n\n }\n\n\n }", "@Override\n public void onPermissionGranted(PermissionGrantedResponse response) {\n\n final ProgressDialog progressDialog = new ProgressDialog(InfoActivity.this);\n progressDialog.setMessage(\"Getting your location...\");\n progressDialog.show();\n SmartLocation.with(InfoActivity.this).location().oneFix().start(new OnLocationUpdatedListener() {\n @Override\n public void onLocationUpdated(Location location) {\n latitudeStr = String.valueOf(location.getLatitude());\n longitudeStr = String.valueOf(location.getLongitude());\n progressDialog.dismiss();\n Toast.makeText(InfoActivity.this, location.getLatitude() + \" \" + location.getLongitude(), Toast.LENGTH_SHORT).show();\n }\n });\n }", "private void getLocation() {\n if(ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n if(ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION)){\n new AlertDialog.Builder(this)\n .setTitle(\"Location Permission Required\")\n .setMessage(\"This app needs permission to use your location\")\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n ActivityCompat.requestPermissions(RestaurantsActivity.this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_LOCATIONS);\n }\n })\n .create()\n .show();\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_LOCATIONS);\n }\n }\n }", "public void askPermission() {\n if (ContextCompat.checkSelfPermission(getActivity()\n , android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n reqestLocationPermission);\n }\n }", "private void locationPermission() {\n if(Build.VERSION.SDK_INT<23){\n locationPermission = true;\n startService(new Intent(this, LocationService.class));\n }else{\n if(checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED\n && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED){\n locationPermission = true;\n startService(new Intent(this, LocationService.class));\n return;\n }\n\n if(shouldShowRequestPermissionRationale(Manifest.permission.ACCESS_COARSE_LOCATION) && shouldShowRequestPermissionRationale(Manifest.permission.ACCESS_FINE_LOCATION)){\n Snackbar.make(drawer,\"Location access is required to show your friend and questions on map.\",Snackbar.LENGTH_INDEFINITE)\n .setAction(\"OK\", new View.OnClickListener() {\n @TargetApi(Build.VERSION_CODES.M)\n @Override\n public void onClick(View v) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.ACCESS_COARSE_LOCATION},LOCATION_PERMISSION_CODE);\n }\n })\n .show();\n }else{\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.ACCESS_COARSE_LOCATION},LOCATION_PERMISSION_CODE);\n }\n }\n }", "public void getLocationPermission() {\n if (!isPermissionGranted())\n // get the location permission from user\n // this will prompt user a dialog to give the location permission\n requestPermissionLauncher.launch(Manifest.permission.ACCESS_FINE_LOCATION);\n /*ActivityCompat.requestPermissions(activity,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);*/\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(SearchActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void requestPermission() {\n if (shouldShowRequestPermissionRationale(android.Manifest.permission.ACCESS_FINE_LOCATION)) {\n AlertDialog.Builder builder = new AlertDialog.Builder(getContext());\n builder.setMessage(this.getResources().getString(R.string.request_location_permission_message))\n .setPositiveButton(this.getResources().getString(R.string.OK), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION},\n REQUEST_LOCATION);\n }\n });\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n } else {\n ActivityCompat.requestPermissions((Activity) mContext,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION},\n REQUEST_LOCATION);\n }\n }", "@OnPermissionDenied(Manifest.permission.CAMERA)\n void onCameraDenied() {\n mToastor.getSingletonToast(R.string.deny_camera_please_open).show();\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(AddressBook_add.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void requestPermission() {\n boolean shouldProvideRationale = ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n if (shouldProvideRationale) {\n Log.i(TAG, \"requestPermission: \" + \"Displaying the permission rationale\");\n // provide a way so that user can grant permission\n\n showSnackbar(R.string.warning_txt, android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startLocationPermissionRequest();\n }\n });\n\n } else {\n startLocationPermissionRequest();\n }\n }", "public void showMissingPermissionsDialog(){\n android.app.AlertDialog.Builder alertDialog = new android.app.AlertDialog.Builder(this);\n\n // Setting Dialog Title\n alertDialog.setTitle(\"Enable Permissions\");\n\n // Setting Dialog Message\n alertDialog.setMessage(\"Application Needs location permissions\");\n\n // On pressing the Settings button.\n alertDialog.setPositiveButton(\"Settings\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog,int which) {\n launchAppPermissions();\n }\n });\n\n // On pressing the cancel button\n alertDialog.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n finish();\n }\n });\n\n // Showing Alert Message\n alertDialog.show();\n }", "public void askForPermissionsGrant(){\n int res =ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION);\n int res2 =ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION);\n if (res!= PackageManager.PERMISSION_GRANTED || res2!= PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"We need to access your location\")\n .setMessage(\"We want to track every breath you take\")\n .setPositiveButton(\"Ok\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.READ_CONTACTS},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n });\n builder.create().show();\n }\n else {\n // No explanation needed; request the permission\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n }\n } else {\n // Permission has already been granted\n publishLastLocation();\n }\n\n }", "private void checkLocationPermission() {\n\n if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n //location permission required\n ActivityCompat.requestPermissions(this, new String[]\n {Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_FINE_LOCATION);\n\n }else{\n //location already granted\n checkCoarseAddress();\n }\n }", "@Override\n public void onPermissionDenied(ArrayList<String> deniedPermissions) {\n Toast.makeText(HomeView.this, \"Permission Denied\\n\" + deniedPermissions.toString(), Toast.LENGTH_SHORT).show();\n }", "@Override\n public void onExplanationNeeded(List <String> permissionsToExplain) {\n Toast.makeText(this, \"You have to enable location on your device to use the map navigation\", Toast.LENGTH_LONG).show();\n }", "private void requestFineLocationPermission() {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_REQ);\n }", "private void requestPermissions() {\n String[] PERMISSIONS = {android.Manifest.permission.WRITE_EXTERNAL_STORAGE};\r\n ActivityCompat.requestPermissions(this, PERMISSIONS, 112);\r\n\r\n ActivityCompat.requestPermissions(this,\r\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION,}, 1000);\r\n\r\n // Check for GPS usage permission\r\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED\r\n && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED) {\r\n\r\n ActivityCompat.requestPermissions(this,\r\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION,}, 1000);\r\n\r\n }\r\n }", "public void checkLocationPermission() {\n try {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (checkPermission(Manifest.permission.ACCESS_FINE_LOCATION, getActivity(), getActivity())) {\n if (checkPermission(Manifest.permission.ACCESS_COARSE_LOCATION, getActivity(), getActivity())) {\n gpsTracker.getLocation();\n } else {\n requestPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION, PERMISSION_REQUEST_CODE_LOCATION, getActivity().getApplicationContext(),\n getActivity());\n }\n } else {\n requestPermission(android.Manifest.permission.ACCESS_FINE_LOCATION, PERMISSION_REQUEST_CODE_LOCATION, getActivity().getApplicationContext(),\n getActivity());\n }\n } else {\n gpsTracker.getLocation();\n }\n } catch (Exception e) {\n // logException(e, \"GpsMapManualFragment_checkLocationPermission()\");\n }\n\n\n }", "private void permissionsDenied() {\n Log.w(\"TAG\", \"permissionsDenied()\");\n }", "@Override\n public void onClick(View view) {\n String platform = checkPlatform();\n if (platform.equals(\"Marshmallow\")) {\n Log.d(TAG, \"Runtime permission required\");\n //Step 2. check the permission\n boolean permissionStatus = checkPermission();\n if (permissionStatus) {\n //Permission already granted\n Log.d(TAG, \"Permission already granted\");\n } else {\n //Permission not granted\n //Step 3. Explain permission i.e show an explanation\n Log.d(TAG, \"Explain permission\");\n explainPermission();\n //Step 4. Request Permissions\n Log.d(TAG, \"Request Permission\");\n requestPermission();\n }\n\n } else {\n Log.d(TAG, \"onClick: Runtime permission not required\");\n }\n\n\n }", "private void checkpermission() {\n permissionUtils = new PermissionUtils(context, this);\n permissions.add(Manifest.permission.ACCESS_FINE_LOCATION);\n permissions.add(Manifest.permission.ACCESS_COARSE_LOCATION);\n permissionUtils.check_permission(permissions, \"Need GPS permission for getting your location\", LOCATION_REQUEST_CODE);\n }", "private void requestPermissionAccessLocation() {\n int permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n Log.d(TAG, \"permissionCheck: \" + permissionCheck);\n\n if (permissionCheck == PackageManager.PERMISSION_GRANTED) {\n updateFragmentOnLocationSuccess();\n } else {\n ActivityCompat\n .requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_CODE_PERMISSION_LOCATION);\n }\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(activity.getApplicationContext(), android.Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(activity,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "@Override\n public void onClick(View view) {\n if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(IntroActivity.this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, REQCODELOCATION\n );\n } else {\n // caso contrario: obtener la ubicacion actual\n getCurrentLocation();\n }\n\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(getActivity().getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n locationPermissionGranted = true;\n\n } else {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(getActivity(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private boolean runtime_permissions() {\n if(Build.VERSION.SDK_INT >= 23 && ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n\n requestPermissions(new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION},100);\n\n return true;\n }\n return false;\n }", "private void permissionLocationRequest() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n int hasLocationPermission = checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION);\n if (hasLocationPermission != PackageManager.PERMISSION_GRANTED) {\n if (!shouldShowRequestPermissionRationale(Manifest.permission.ACCESS_FINE_LOCATION)) {\n showMessageOKCancel(\"You need to allow access to Location\",\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_CODE_ASK_PERMISSIONS);\n }\n });\n }\n }\n\n }\n }", "@TargetApi(Build.VERSION_CODES.M)\n private void checkBTPermissions() {\n if(Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP){\n int permissionCheck = this.checkSelfPermission(\"Manifest.permission.ACCESS_FINE_LOCATION\");\n permissionCheck += this.checkSelfPermission(\"Manifest.permission.ACCESS_COARSE_LOCATION\");\n if (permissionCheck != 0) {\n\n this.requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION}, 1001); //Any number\n }\n }else{\n Log.d(TAG, \"checkBTPermissions: No need to check permissions. SDK version < LOLLIPOP.\");\n }\n }", "public void permission_check() {\n //Usage Permission\n if (!isAccessGranted()) {\n new LovelyStandardDialog(MainActivity.this)\n .setTopColorRes(R.color.colorPrimaryDark)\n .setIcon(R.drawable.ic_perm_device_information_white_48dp)\n .setTitle(getString(R.string.permission_check_title))\n .setMessage(getString(R.string.permission_check_message))\n .setPositiveButton(android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = new Intent(android.provider.Settings.ACTION_USAGE_ACCESS_SETTINGS);\n startActivity(intent);\n }\n })\n .setNegativeButton(android.R.string.no, null)\n .show();\n }\n }", "@Override\n public void onClick(DialogInterface dialog, int which) {\n ActivityCompat.requestPermissions(Userhome.this,\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_COURSE_LOCATION);\n }", "public void onPermissionGranted() {\n\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void requestLocationPermission() {\n Log.d(MainActivity.TAG,\"Requesting location permission.\");\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (shouldShowRequestPermissionRationale(\n android.Manifest.permission.ACCESS_FINE_LOCATION)) {\n Toast.makeText(this, R.string.location_permission_request_rationale, Toast.LENGTH_SHORT).show();\n // Show an explanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n\n }\n requestPermissions(new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n MainActivity.MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void showRequestPermissionRationale() {\n final AlertDialog dialog = new AlertDialog.Builder(this)\n .setMessage(\"WiFiAugumentedReality requires camera permission\")\n .setPositiveButton(\"Ok\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(WiFiAugmentedRealityActivity.this,\n new String[]{CAMERA_PERMISSION}, CAMERA_PERMISSION_CODE);\n }\n })\n .create();\n dialog.show();\n }", "private void checkPermissions() {\n List<String> permissions = new ArrayList<>();\n String message = \"osmdroid permissions:\";\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n permissions.add(Manifest.permission.ACCESS_FINE_LOCATION);\n message += \"\\nLocation to show user location.\";\n }\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {\n permissions.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);\n message += \"\\nStorage access to store map tiles.\";\n }\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_PHONE_STATE) != PackageManager.PERMISSION_GRANTED) {\n permissions.add(Manifest.permission.READ_PHONE_STATE);\n message += \"\\n access to read phone state.\";\n //requestReadPhoneStatePermission();\n }\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.RECEIVE_SMS) != PackageManager.PERMISSION_GRANTED) {\n permissions.add(Manifest.permission.RECEIVE_SMS);\n message += \"\\n access to receive sms.\";\n //requestReadPhoneStatePermission();\n }\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.GET_ACCOUNTS) != PackageManager.PERMISSION_GRANTED) {\n permissions.add(Manifest.permission.GET_ACCOUNTS);\n message += \"\\n access to read sms.\";\n //requestReadPhoneStatePermission();\n }\n if (!permissions.isEmpty()) {\n // Toast.makeText(this, message, Toast.LENGTH_LONG).show();\n String[] params = permissions.toArray(new String[permissions.size()]);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(params, REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS);\n }\n } // else: We already have permissions, so handle as normal\n }", "private void askForLocationPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n //this code will be executed on devices running on DONUT (NOT ICS) or later\n askForPermission(Manifest.permission.ACCESS_FINE_LOCATION, Extra.LOCATION);\n }\n }", "public void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(getActivity().getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(getActivity(), new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void getLocationPermission() {\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n locationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void checkRunTimePermission() {\n\n if(checkPermission()){\n\n Toast.makeText(MainActivity.this, \"All Permissions Granted Successfully\", Toast.LENGTH_LONG).show();\n\n }\n else {\n\n requestPermission();\n }\n }", "private void requestPermissions() {\n ActivityCompat.requestPermissions(this, new String[]{\n Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_ID);\n }", "private void requestPermissions() {\n ActivityCompat.requestPermissions(this, new String[]{\n Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_ID);\n }", "private void checkPermission(){\n // vérification de l'autorisation d'accéder à la position GPS\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n// // l'autorisation n'est pas acceptée\n// if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n// Manifest.permission.ACCESS_FINE_LOCATION)) {\n// // l'autorisation a été refusée précédemment, on peut prévenir l'utilisateur ici\n// } else {\n // l'autorisation n'a jamais été réclamée, on la demande à l'utilisateur\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n FINE_LOCATION_REQUEST);\n\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n // }\n } else {\n // TODO : autorisation déjà acceptée, on peut faire une action ici\n initLocation();\n }\n }", "@Override\n public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {\n if (requestCode == RC_PERMISSION_ALL) {\n if (permissions.length > 0 && /*permissions[0].equals(android.Manifest.permission.READ_EXTERNAL_STORAGE) &&*/ grantResults[0] == PackageManager.PERMISSION_GRANTED) {\n recreate();\n } else if (grantResults.length > 0 &&/* permissions[0].equals(Manifest.permission.ACCESS_FINE_LOCATION) && */grantResults[0] == PackageManager.PERMISSION_GRANTED) {\n recreate();\n// mLocationPermissionGranted = true;\n } else if (/*grantResults.length > 0 &&*/ grantResults[0] == PackageManager.PERMISSION_DENIED) {\n Toast.makeText(this, \"Permissions denied the app will shut down shortly\", Toast.LENGTH_LONG).show();\n final Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n finish();\n }\n }, 2000);\n }\n }\n\n // donot allow the onmap raedy proceed unless the permissions are granted and gps is on\n//\n }", "private void getLocationPermission(){\n Log.d(TAG, \"getLocationPermission: getting location permission.\");\n String[] permissions = {Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION};\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n FINE_LOCATION)== PackageManager.PERMISSION_GRANTED){\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n COURSE_LOCATION)== PackageManager.PERMISSION_GRANTED){\n mLocationPermissionGaranted = true;\n getDeviceLocation();\n }else{\n ActivityCompat.requestPermissions(this, permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n }else{\n ActivityCompat.requestPermissions(this, permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n }", "private void callPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\n && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n requestPermissions(\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_ACCESS_FINE_LOCATION);\n\n } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\n && checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n\n requestPermissions(\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_ACCESS_COARSE_LOCATION);\n } else {\n isPermission = true;\n }\n }", "private void checkPermissions() {\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.WRITE_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.READ_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION)\n != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.CAMERA)\n != PackageManager.PERMISSION_GRANTED){\n\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.WRITE_EXTERNAL_STORAGE,\n Manifest.permission.READ_EXTERNAL_STORAGE,\n Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.CAMERA}, 56);\n }\n }", "private boolean isLocationAllowed() {\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\r\n\r\n //If permission is granted returning true\r\n if (result == PackageManager.PERMISSION_GRANTED)\r\n return true;\r\n\r\n //If permission is not granted returning false\r\n return false;\r\n }", "@OnShowRationale({Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_WIFI_STATE, Manifest.permission.CHANGE_WIFI_STATE})\n void showrequirepermission(final PermissionRequest request) {\n\n new AlertDialog.Builder(this)\n .setMessage(\"this app want to access Wifi\")\n .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n request.proceed();\n }\n })\n .setNegativeButton(\"Cancle\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n request.cancel();\n }\n })\n .show();\n\n }", "public void requestLocationPermision(){\n\n // Forma de actuar diferente si la versión del dispositivo en Marshmallow\n if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) {\n Log.d(TAG, \"Versión 23\");\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n //Si no tenemos permiso, lo pedimos\n\n if (ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION)) {\n // Show an expanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n Log.d(TAG, \"Show an expanation\");\n new AlertDialog.Builder(this)\n .setMessage(getString(R.string.show_explanation))\n .setPositiveButton(\"Ok\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[] {Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_CODE_ASK_PERMISSIONS);\n }\n }\n })\n .create()\n .show();\n\n } else{\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, REQUEST_CODE_ASK_PERMISSIONS);\n }\n } else{\n Log.d(TAG, \"Tenemos permiso\");\n\n String provider = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED);\n if (!provider.contains(\"gps\")) {\n //Si el GPS no esta activo, pedimos su iniciación\n AlertNoGps();\n }\n\n //Inicializacion de los providers\n for (String s : locationManager.getAllProviders()) {\n int minDistance = 2;\n int checkInterval = 2;\n locationManager.requestLocationUpdates(s, checkInterval,\n minDistance, this);\n Location actualLocation = locationManager.getLastKnownLocation(s);\n //Comprobamos si es una mejor localización\n if (actualLocation!=null){\n if (isBetterLocation(actualLocation)){\n Log.d(TAG, \"Mejor localización -> \" + s + \" - \"+ actualLocation);\n bestLocation = actualLocation;\n }\n }\n }\n\n mMap.setMyLocationEnabled(true);\n setLocation();\n }\n } else{\n //Comprobacion de permisos\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"Tenemos permiso\");\n\n String provider = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED);\n\n if (!provider.contains(\"gps\")) {\n //Si el GPS no esta activo, pedimos su iniciación\n AlertNoGps();\n }\n\n //Inicializacion de los providers\n for (String s : locationManager.getAllProviders()) {\n int minDistance = 2;\n int checkInterval = 2;\n locationManager.requestLocationUpdates(s, checkInterval,\n minDistance, this);\n Location actualLocation = locationManager.getLastKnownLocation(s);\n if (actualLocation!=null){\n if (isBetterLocation(actualLocation)){\n Log.d(TAG, \"Mejor localización -> \" + s + \" - \"+ actualLocation);\n bestLocation = actualLocation;\n }\n }\n }\n\n mMap.setMyLocationEnabled(true);\n setLocation();\n }\n }\n\n }", "private void askPermissionsAndShowMyLocation() {\n if (Build.VERSION.SDK_INT >= 23) {\n int accessCoarsePermission\n = ContextCompat.checkSelfPermission(activity, android.Manifest.permission.ACCESS_COARSE_LOCATION);\n int accessFinePermission\n = ContextCompat.checkSelfPermission(activity, android.Manifest.permission.ACCESS_FINE_LOCATION);\n\n\n if (accessCoarsePermission != PackageManager.PERMISSION_GRANTED\n || accessFinePermission != PackageManager.PERMISSION_GRANTED) {\n // The Permissions to ask user.\n String[] permissions = new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION,\n android.Manifest.permission.ACCESS_FINE_LOCATION};\n // Show a dialog asking the user to allow the above permissions.\n ActivityCompat.requestPermissions(activity, permissions,\n REQUEST_ID_ACCESS_COURSE_FINE_LOCATION);\n\n return;\n }\n }\n\n // Show current location on Map.\n this.showMyLocation();\n }", "@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == 100) {\n if (resultCode != RESULT_OK)\n Toast.makeText(getContext(), \"GPS est déactivé\", Toast.LENGTH_LONG).show();\n else {\n if (ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED ||\n ActivityCompat.checkSelfPermission(getActivity(), Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n setupmap();\n MapForm.setMyLocationEnabled(true);\n }\n }\n }\n }", "private void showPermissionsAlert() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Permissions required!\")\n .setMessage(\"Camera needs few permissions to work properly. Grant them in settings.\")\n .setPositiveButton(\"GOTO SETTINGS\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n CameraUtils.openSettings(ReceiveActivity.this);\n }\n })\n .setNegativeButton(\"CANCEL\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n\n }\n }).show();\n }", "private void callPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\r\n && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED) {\r\n\r\n requestPermissions(\r\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\r\n PERMISSIONS_ACCESS_FINE_LOCATION);\r\n\r\n } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\r\n && checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED){\r\n\r\n requestPermissions(\r\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\r\n PERMISSIONS_ACCESS_COARSE_LOCATION);\r\n } else {\r\n isPermission = true;\r\n }\r\n }", "private void getLocationPermission() {\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n //request location permission\n ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION\n }, LOCATION_REQUEST_CODE);\n }\n fetchLastLocation();\n }", "private void getLocationPermission() {\n Log.wtf(TAG, \"getLocationPermission() has been instantiated\");\n\n Log.d(TAG, \"getLocationPermission: getting location permissions\");\n String[] permissions = {\n FINE_LOCATION,\n COARSE_LOCATION\n };\n\n if (ContextCompat.checkSelfPermission(getActivity(), FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n if (ContextCompat.checkSelfPermission(getActivity(), COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n Log.d(TAG, \"getLocationPermission: Permission granted\");\n initMap();\n\n } else {\n Log.d(TAG, \"getLocationPermission: requesting permission\");\n requestPermissions(permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n } else {\n Log.d(TAG, \"getLocationPermission: requesting permission\");\n requestPermissions(permissions, LOCATION_PERMISSION_REQUEST_CODE);\n }\n }", "private boolean checkPermission() {\n int fineLocation = ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n if (fineLocation != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSION_REQUEST_CODE_FINE_LOCATION);\n }\n return false;\n } else {\n return true;\n }\n }", "private void enableMyLocation(){\n System.out.print(\"get here\");\n if(ContextCompat.checkSelfPermission(this.getContext(), Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n // Permission to access the location is missing.\n PermissionUtils.requestPermission(this.getActivity(),LOCATION_PERMISSION_REQUEST_CODE,\n Manifest.permission.ACCESS_FINE_LOCATION,true);\n }else if(googleMap!=null){\n // Access to the location has been granted to the app.\n googleMap.setMyLocationEnabled(true);\n }\n }", "private boolean checkPermission() {\n return (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED );\n }", "public static void checkLocationPermission() {\n globalContext.stopService(locationIntent);\n\n globalFragmentActivity.requestPermissions(\n new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.ACCESS_COARSE_LOCATION\n },\n MY_PERMISSIONS_REQUEST_LOCATION);\n }", "private void permissionsDenied() {\n Log.w(TAG, \"permissionsDenied()\");\n // TODO close app and warn user\n }", "@Override\n public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {\n super.onRequestPermissionsResult(requestCode, permissions, grantResults);\n if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {\n getCurrentLocation();\n } else {\n Toast.makeText(this, \"Permision Denied\", Toast.LENGTH_SHORT).show();\n }\n }", "private void askPermissionsAndShowMyLocation() {\n boolean isGPSEnabled = false;\n // flag for network status\n boolean isNetworkEnabled = false;\n // flag for GPS status\n boolean canGetLocation = false;\n LocationManager locationManager;\n\n locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n // getting GPS status\n isGPSEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);\n\n // getting network status\n isNetworkEnabled = locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);\n if (Build.VERSION.SDK_INT >= 23) {\n // flag for GPS status\n if (!isGPSEnabled && !isNetworkEnabled) {\n// no network provider is enabled\n final Intent data = new Intent();\n data.putExtra(\"latitude\", latitude);\n data.putExtra(\"longitude\", longitude);\n\n setResult(Activity.RESULT_CANCELED, data);\n finish();\n } else {\n// if (accessCoarsePermission != PackageManager.PERMISSION_GRANTED\n// || accessFinePermission != PackageManager.PERMISSION_GRANTED)\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // The Permissions to ask user.\n String[] permissions = new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION};\n // Show a dialog asking the user to allow the above permissions.\n ActivityCompat.requestPermissions(this, permissions,\n REQUEST_ID_ACCESS_COURSE_FINE_LOCATION);\n\n return;\n }\n this.showMyLocation();\n }\n\n } else {\n if (!isGPSEnabled && !isNetworkEnabled) {\n// no network provider is enabled\n final Intent data = new Intent();\n data.putExtra(\"latitude\", latitude);\n data.putExtra(\"longitude\", longitude);\n\n setResult(Activity.RESULT_CANCELED, data);\n finish();\n } else {\n this.showMyLocation();\n }\n\n\n }\n // Show current location on Map.\n }", "public void checkPermission() {\n Log.e(\"checkPermission\", \"checkPermission\");\n\n // Here, thisActivity is the current activity\n if (ContextCompat.checkSelfPermission(RegisterActivity.this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(RegisterActivity.this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n ActivityCompat.requestPermissions(RegisterActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_READ_CONTACTS);\n // Show an expanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n\n } else {\n\n // No explanation needed, we can request the permission.\n\n ActivityCompat.requestPermissions(RegisterActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_READ_CONTACTS);\n\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n }\n }\n\n\n }", "@Override\n public void onPermissionGranted() {\n }", "private void getLocationPermission() {\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(getActivity().getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private boolean checkPermission() {\n if (Build.VERSION.SDK_INT >= 23 &&\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n return false;\n } else {\n return true;// Permission has already been granted }\n }\n }", "public boolean checkPermissions() {\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n\n // Show an explanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n new AlertDialog.Builder(this)\n .setTitle(\"TITLE\")\n .setMessage(\"TEXT\")\n .setPositiveButton(\"OKAY\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n //Prompt the user once explanation has been shown\n ActivityCompat.requestPermissions(MapsActivity.this,\n new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSION_REQ_LOC);\n }\n })\n .create()\n .show();\n\n\n } else {\n // No explanation needed, we can request the permission.\n ActivityCompat.requestPermissions(this,\n new String[]{\n Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSION_REQ_LOC);\n }\n return false;\n } else {\n return true;\n }\n }", "void configure_button(){\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.INTERNET}\n ,10);\n }\n\n return;\n }\n // this code won't execute IF permissions are not allowed, because in the line above there is return statement.\n\n locationManager.requestLocationUpdates(\"gps\", 5000, 0, listener);\n\n }", "private void requestPermissions(){\n Intent intent = new Intent(this.getApplication(), MainActivity.class);\r\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n startActivity(intent);\r\n }", "private void getLocationPermission() {\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n mLocationPermissionGranted = false;\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "private void getLocationPermission() {\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n mLocationPermissionGranted = false;\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "@Override\n public boolean checkPermissions() {\n int permissionState = ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION);\n return permissionState == PackageManager.PERMISSION_GRANTED;\n }", "private void requestCameraPermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.CAMERA)) {\n // Provide an additional rationale to the user if the permission was not granted\n // and the user would benefit from additional context for the use of the permission.\n // Display a SnackBar with a button to request the missing permission.\n Snackbar.make(mLayoutMap, \"Location access is required to display restaurants near you.\",\n Snackbar.LENGTH_INDEFINITE).setAction(\"OK\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n // Request the permission\n ActivityCompat.requestPermissions(MapsActivity.this,\n new String[]{Manifest.permission.CAMERA},\n PERMISSION_REQUEST_CAMERA);\n }\n }).show();\n\n } else {\n Snackbar.make(mLayoutMap,\n \"Permission is not available. Requesting location permission.\",\n Snackbar.LENGTH_SHORT).show();\n // Request the permission. The result will be received in onRequestPermissionResult().\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CAMERA},\n PERMISSION_REQUEST_CAMERA);\n }\n }", "private void fineLocationPermissionGranted() {\n UtilityService.addGeofences(this);\n UtilityService.requestLocation(this);\n }", "private void getLocationPermission() {\n /*\n * Request location permission, so that we can get the location of the\n * device. The result of the permission request is handled by a callback,\n * onRequestPermissionsResult.\n */\n if (ContextCompat.checkSelfPermission(this.getApplicationContext(),\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n locationPermissionGranted = true;\n } else {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }" ]
[ "0.76204497", "0.76169586", "0.7578211", "0.7575545", "0.7571854", "0.75450766", "0.75305086", "0.7459609", "0.74573475", "0.74530786", "0.73989165", "0.7359245", "0.7352354", "0.7334625", "0.72901124", "0.7279255", "0.72715276", "0.7247353", "0.7245553", "0.7229531", "0.720098", "0.71800125", "0.71787244", "0.71674746", "0.716476", "0.7078664", "0.70555586", "0.7051262", "0.7023009", "0.70146066", "0.7001929", "0.69988567", "0.699665", "0.6987905", "0.6920746", "0.6912665", "0.68708396", "0.6844233", "0.6843486", "0.6841498", "0.6810179", "0.6801675", "0.67894256", "0.6778366", "0.6774471", "0.67417854", "0.6738739", "0.6735261", "0.67305726", "0.6727245", "0.6726475", "0.6712745", "0.6706437", "0.670557", "0.6684015", "0.6679529", "0.6679529", "0.6673206", "0.666677", "0.6662003", "0.6657229", "0.6646799", "0.6638995", "0.6628397", "0.662505", "0.662505", "0.6614112", "0.6612908", "0.6607405", "0.65969694", "0.65968734", "0.65966684", "0.65945464", "0.6587597", "0.65862083", "0.6582602", "0.65747416", "0.65738803", "0.6572724", "0.6567163", "0.65564114", "0.6533697", "0.6519935", "0.6510268", "0.6505881", "0.6502272", "0.64937526", "0.64933974", "0.648703", "0.64793617", "0.64706224", "0.6458487", "0.64518636", "0.64507157", "0.6450402", "0.6450402", "0.6450093", "0.64252716", "0.6408028", "0.63804847" ]
0.6835552
40